@font-face {
  font-family: 'Display';
  src: url('/fonts/display.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Body';
  src: url('/fonts/body.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --sun: #FFC93C;
  --sun-deep: #F5B316;
  --ink: #1F2A44;
  --ink-soft: #3A4768;
  --coral: #FF6B5B;
  --mint: #2EC4A6;
  --sky: #3EA8FF;
  --paper: #FFFFFF;
  --display: 'Display', 'Arial Rounded MT Bold', 'Trebuchet MS', Arial, sans-serif;
  --body: 'Body', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 16px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ink);
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- hero ---------- */
.hero { background: var(--sun); padding: 22px 0 64px; overflow: hidden; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 46px; height: 46px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-block; padding: 10px 12px; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 999px; }
.nav-links a:hover { background: rgba(31,42,68,.1); }
.nav-links li:not(:last-child) { display: none; }
.nav-links .nav-cta { background: var(--ink); color: #fff; padding: 10px 18px; }
.nav-links .nav-cta:hover { background: #0f1830; }
@media (min-width: 760px) { .nav-links li:not(:last-child) { display: block; } .nav-links { gap: 4px; } }
.hero-grid { display: grid; gap: 44px; margin-top: 44px; align-items: center; }
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 11.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}
.lead { font-size: clamp(19px, 3.6vw, 23px); max-width: 30em; margin: 0 0 26px; }
.cta {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: 20px;
  background: var(--ink); color: #fff; padding: 16px 28px; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.cta:hover { transform: translateY(-2px); background: #0f1830; }
.hero-note { margin: 18px 0 0; font-size: 16px; color: var(--ink-soft); font-weight: 600; }

/* example listings */
.stack { display: grid; gap: 14px; max-width: 460px; }
.stack-label { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.job {
  background: var(--paper); border-radius: 22px; padding: 18px 20px 16px;
  border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
}
.job h2 { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.15; margin: 0 0 2px; letter-spacing: -0.01em; }
.job .where { margin: 0 0 12px; font-size: 15px; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: 14.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #EEF1F8; white-space: nowrap; }
.tags .under18 { background: var(--mint); color: #05382e; }
.tags .under18::before { content: '\2713\00a0'; }
.tags .pay { background: var(--sun); }
.tags .exp-no { background: #FFE0DC; }
.job:nth-child(3) { margin-left: 22px; }
.job:nth-child(4) { margin-left: 44px; }

@media (min-width: 900px) {
  .hero { padding-bottom: 88px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .stack { justify-self: end; }
  .job:nth-child(2) { transform: rotate(-1.6deg); }
  .job:nth-child(3) { transform: rotate(1.2deg); margin-left: 40px; }
  .job:nth-child(4) { transform: rotate(-0.8deg); margin-left: 14px; }
}

/* ---------- sign-up ---------- */
.join { background: var(--ink); color: #fff; padding: 72px 0 80px; }
.join-grid { display: grid; gap: 40px; }
.join h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 7vw, 54px); line-height: 1; letter-spacing: -0.03em; margin: 0 0 14px; }
.join p { margin: 0 0 14px; max-width: 28em; color: #D8DEEE; }
.perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: baseline; color: #fff; }
.perks li::before { content: ''; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); transform: translateY(1px); }

form#signup { background: var(--paper); color: var(--ink); border-radius: 28px; padding: 28px 24px 26px; }
label { display: block; font-weight: 800; margin: 18px 0 6px; font-size: 17px; }
form#signup > label:first-child { margin-top: 0; }
.hint { font-weight: 500; color: var(--ink-soft); font-size: 15px; }
input[type=email], input[type=text], input[type=tel], select {
  width: 100%; font: inherit; font-size: 18px; padding: 13px 14px; min-height: 54px;
  border: 2.5px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink);
}
input:focus, select:focus { border-color: var(--sky); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 14px; font-weight: 500; font-size: 15.5px; }
.consent input { width: 26px; height: 26px; flex: none; margin-top: 1px; accent-color: var(--ink); }
.cf-turnstile { margin: 6px 0 4px; min-height: 0; }
button.go {
  width: 100%; min-height: 58px; margin-top: 12px; font-family: var(--display); font-size: 21px; font-weight: 800;
  background: var(--sun); color: var(--ink); border: 3px solid var(--ink); border-radius: 16px; cursor: pointer;
  box-shadow: 0 5px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
button.go:hover { background: #ffd666; }
button.go:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
button.go[disabled] { opacity: .65; cursor: wait; }
.status { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-weight: 700; display: none; }
.status.ok { display: block; background: #D9F7EF; border: 2px solid var(--mint); }
.status.err { display: block; background: #FFE3DF; border: 2px solid var(--coral); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 900px) {
  .join-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
  form#signup { padding: 34px 32px 30px; }
}

/* ---------- how it works ---------- */
.how { background: var(--paper); padding: 72px 0 24px; }
.how h2, .safe h2, .faq h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 6vw, 46px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 30px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: step; position: relative; padding-left: 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.steps strong { display: block; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 4px; }
.steps span { color: var(--ink-soft); max-width: 34em; display: block; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- promises ---------- */
.rules { background: #FFF4CC; padding: 72px 0; }
.rules h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 6vw, 46px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 34px; max-width: 14em; }
.rule-list { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.rule-list li { border-left: 8px solid var(--sun); padding-left: 20px; }
.rule-list li:nth-child(2) { border-color: var(--mint); }
.rule-list li:nth-child(3) { border-color: var(--coral); }
.rule-list strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 4.6vw, 32px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 4px; }
.rule-list span { color: var(--ink-soft); max-width: 34em; display: block; }
@media (min-width: 900px) {
  .rule-list { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}

/* ---------- safety, employers, faq ---------- */
.safe { background: var(--paper); padding: 72px 0 32px; }
.safe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.safe-list li { max-width: 38em; color: var(--ink-soft); padding-left: 22px; position: relative; }
.safe-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.safe-list strong { color: var(--ink); }
@media (min-width: 900px) { .safe-list { grid-template-columns: repeat(3, 1fr); gap: 36px; } .safe-list li { max-width: none; } }

.employers { background: var(--ink); color: #fff; padding: 72px 0; margin-top: 40px; }
.employers h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 6vw, 46px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 14px; }
.employers p { margin: 0 0 12px; color: #D8DEEE; max-width: 36em; }
.employers-grid { display: grid; gap: 28px; align-items: start; }
.employers-note { font-size: 15px; border-left: 4px solid var(--sun); padding-left: 16px; }
@media (min-width: 900px) { .employers-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }

.faq { background: var(--paper); padding: 72px 0 80px; }
.faq .wrap { max-width: 820px; }
.faq details { border-top: 2px solid rgba(31,42,68,.14); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 2px solid rgba(31,42,68,.14); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 21px; padding: 16px 40px 16px 0; list-style: none; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 600; transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 36em; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #C9D1E6; padding: 36px 0 48px; font-size: 15px; }
footer p { margin: 0 0 10px; max-width: 46em; }
footer a { color: #fff; }

/* ---------- small pages (confirmed, unsubscribed, privacy) ---------- */
.page { background: var(--sun); min-height: 100vh; padding: 22px 0 64px; }
.page .card { background: var(--paper); border: 3px solid var(--ink); border-radius: 28px; padding: 30px 26px; box-shadow: 0 7px 0 var(--ink); margin-top: 36px; max-width: 720px; }
.page h1 { font-size: clamp(38px, 9vw, 64px); margin-bottom: 14px; }
.page h1.sm { font-size: clamp(32px, 7vw, 44px); }
.page h2 { font-family: var(--display); font-size: 24px; margin: 28px 0 6px; letter-spacing: -0.01em; }
.page p, .page li { max-width: 40em; }
.page .cta { margin-top: 8px; }
.draft { background: #FFF3C4; border: 2px solid var(--ink); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* employer page */
.page form label:first-child { margin-top: 0; }
.page .consent { margin: 18px 0 6px; }
