/* JobLock waitlist – hand-written, no frameworks. Light + dark follow the visitor's device setting. */
:root {
  --bg: #eef2fb;
  --bg2: #e3eaf9;
  --card: #ffffff;
  --text: #16213e;
  --muted: #55627f;
  --line: #d9e0f1;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #e4ecff;
  --ok: #15803d;
  --bad: #b42318;
  --shadow: 0 1px 2px rgba(22, 33, 62, .06), 0 8px 24px rgba(22, 33, 62, .08);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1218;
    --bg2: #141a26;
    --card: #181c25;
    --text: #e8ebf2;
    --muted: #a3acc0;
    --line: #2a3040;
    --brand: #6d8dff;
    --brand-dark: #8aa3ff;
    --brand-soft: #1c2542;
    --ok: #4ade80;
    --bad: #ff8a80;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); color: var(--text); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* logo swaps with the theme */
.logo { height: 34px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: block; } }

header.top { padding: 20px 0 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill-link { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.pill-link:hover { border-color: var(--brand); color: var(--brand); }

/* hero */
.hero { padding: 44px 0 56px; background: radial-gradient(900px 380px at 50% -80px, var(--bg2), transparent 70%); }
.hero .wrap { display: grid; gap: 36px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }
h1 { font-size: clamp(34px, 8vw, 58px); line-height: 1.06; letter-spacing: -0.03em; margin: 16px 0 14px; font-weight: 800; }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(17px, 2.6vw, 20px); color: var(--muted); max-width: 34em; margin: 0 0 26px; }

form.join { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); max-width: 520px; }
form.join label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
form.join input[type=email] {
  flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; /* 16px stops iPhone zooming in */
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
form.join input[type=email]::placeholder { color: var(--muted); opacity: .8; }
button.cta {
  flex: 0 0 auto; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; border: 0; color: #fff;
  background: var(--brand); padding: 14px 22px; border-radius: 12px; min-height: 50px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 35%, transparent);
  transition: transform .08s ease, background .15s ease;
}
@media (prefers-color-scheme: dark) { button.cta { color: #0b1020; } }
button.cta:hover { background: var(--brand-dark); }
button.cta:active { transform: translateY(1px); }
button.cta[disabled] { opacity: .65; cursor: progress; }
.fine { font-size: 12.5px; color: var(--muted); margin: 10px 2px 0; }
.msg { margin: 10px 2px 0; font-size: 14px; font-weight: 600; min-height: 1.2em; }
.msg.bad { color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam trap, hidden from people */

/* little pipeline illustration */
.example { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.example h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.col { background: var(--bg); border-radius: 12px; padding: 8px; min-width: 0; }
.col b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px 2px; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 8px; margin-bottom: 6px; font-size: 12px; line-height: 1.25; }
.job i { display: block; height: 7px; border-radius: 4px; background: var(--line); margin-top: 6px; width: 70%; }
.job strong { display: block; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--text) 25%, transparent); width: 90%; }
.score { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--ok); }
.example p { font-size: 12.5px; color: var(--muted); margin: 8px 2px 0; }

/* sections */
section { padding: 56px 0; }
section h2.big { font-size: clamp(26px, 5vw, 36px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; font-weight: 800; }
section p.sub { color: var(--muted); font-size: 18px; margin: 0 0 28px; max-width: 36em; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step::before { counter-increment: s; content: counter(s); flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
@media (prefers-color-scheme: dark) { .step::before { color: #0b1020; } }
.step h3 { margin: 6px 0 2px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); }

.promise { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; }
.promise h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.promise ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); }
.promise li { margin: 4px 0; }
.promise li b { color: var(--text); }

.final { text-align: center; padding: 56px 0 64px; }
.final form.join { margin: 22px auto 0; text-align: left; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13.5px; color: var(--muted); }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* thank-you + privacy pages */
.simple { padding: 40px 0 64px; }
.simple .card { max-width: 640px; margin: 24px auto 0; padding: 28px; }
.simple h1 { font-size: clamp(28px, 6vw, 40px); margin-top: 0; }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 20px; margin: 28px 0 6px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.check { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; }

@media (min-width: 760px) {
  .hero { padding: 72px 0 80px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cols { gap: 10px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; }
  .promise { grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; padding: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.steps { margin-top: 22px; } .final .sub { margin: 0 auto; } .promise > div > p { color: var(--muted); margin: 8px 0 0; }
.step::before { flex: none; width: 38px; height: 38px; }
