/* Carry the landing page's light blue and white palette into setup. */
.onboarding {
  background: #f5f8ff;
  color: #172b4d;
}
.onboarding .console {
  background: #e8f1ff;
  color: #315b94;
}
.onboarding .console span { color: #57749b; }
.onboarding header { background: #f5f8ff; }
/* The top strip and header stay on screen while scrolling (sticky). Same colour as the page, so text
   scrolls under them instead of showing through, and focused fields / new steps clear them. */
html:has(body.onboarding) { scroll-padding-top: 96px; }
.onboarding .onboarding-step { scroll-margin-top: 96px; }
.onboarding .brand { color: #005cfd; }
.onboarding .new-link, .onboarding .login-path, .onboarding .start-pick .text-button {
  color: #2355a4;
}
.onboarding .pixel-rule {
  background: repeating-linear-gradient(90deg, #8eb7f5 0 6px, transparent 6px 10px);
}
.onboarding .kicker { color: #3866a8; }
.onboarding h1 { color: #102a52; }
.onboarding .onboarding-lede { color: #435c7d; }
.onboarding .privacy-note { color: #607895; }
.onboarding .replace-banner { border-color: #c8daf3; }
.onboarding .replace-banner p { color: #435c7d; }
.onboarding .ghost-link { border-color: #3d76cf; color: #2355a4; }
.onboarding .start-pick .sync-status { color: #435c7d; }
.onboarding .path-choice { box-shadow: 0 12px 30px rgba(31,76,143,.12), inset 0 1px 0 #fff; }
.onboarding .path-choice:focus-visible { outline-color: #005cfd; }
.onboarding .start-split .start-panel {
  background: #fff;
  border-color: #d2e2f8;
  box-shadow: 0 18px 42px rgba(31,76,143,.1);
}
.onboarding .start-split .start-panel .kicker,
.onboarding .start-split .start-panel h1 { color: #102a52; }
.onboarding .start-split .start-panel .onboarding-lede { color: #435c7d; }
.onboarding :is(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #70adff;
  outline-offset: 3px;
}

/* Brand book typography: Inter for all reading and UI text. */
.onboarding { --mono: 'Inter', sans-serif; --pixel: 'Inter', sans-serif; font-family: 'Inter', sans-serif; font-size: 16px; }
.onboarding h1 { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -.04em; line-height: 1.04; }
.onboarding .onboarding-lede, .onboarding .replace-banner p,
.onboarding .path-choice small, .onboarding .start-form :is(input, textarea, select),
.onboarding .ready-card b, .onboarding .ready-facts dd,
.onboarding .invent-msg p, .onboarding .invent-card b,
.onboarding .annual-checkout p { font-family: 'Inter', sans-serif; font-style: normal; }
.onboarding :is(button, .new-link, .login-path, .ghost-link) { font-family: 'Inter', sans-serif; font-weight: 600; }
.onboarding :where(*) { font-family: 'Inter', sans-serif !important; }

.onboarding .login-create { margin: 22px 0 0; color: #56607a; font-size: 14px; line-height: 1.5; }
.onboarding .login-create a { color: #1f6fd1; font-weight: 600; text-underline-offset: 3px; }

.onboarding .start-form label.marketing-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 14px; line-height: 1.5; letter-spacing: 0; cursor: pointer; }
.onboarding .start-form .marketing-consent input[type="checkbox"] { flex: none; width: 18px; height: 18px; min-width: 18px; margin: 2px 0 0; padding: 0; accent-color: #1f6fd1; box-shadow: none; }
.onboarding .marketing-consent + .field-hint { margin-left: 28px; line-height: 1.5; }
.onboarding .marketing-consent + .field-hint a { color: #1f6fd1; }
/* Phones: 16px text fields, so iPhone does not zoom in when typing. */
@media(max-width:700px){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),textarea,select{font-size:16px}}
/* Log in: "Forgot your password? Reset it" under the buttons */
.onboarding .forgot-password{display:inline-block;margin-top:12px;padding:6px 0;font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* Phones: shorter card pictures so both choices fit, full-width main buttons, finger-sized back links
   and Suggest buttons, and 16px text in every field (iPhone zooms in on anything smaller). */
@media(max-width:700px){
  body.onboarding .onboarding-step :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),textarea,select){font-size:16px}
  .onboarding .path-art-wrap{height:108px;min-height:108px}
  .onboarding .path-art-wrap .path-art{height:92px}
  .onboarding .path-choice.has-art{grid-template-rows:108px auto auto auto}
  .onboarding .path-choice.has-art > em{margin:12px 0 6px}
  .onboarding .form-actions{flex-direction:column;align-items:stretch;gap:10px}
  .onboarding .form-actions :is(.primary,.secondary){width:100%;min-height:50px;justify-content:center}
  .onboarding .form-actions .text-button{align-self:center}
  .onboarding .text-button{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;font-size:13px}
  .onboarding .forgot-password{min-height:44px;margin-top:4px}
  .onboarding .suggest-btn{min-height:32px;padding:6px 12px;font-size:11px}
  .onboarding .start-form [data-suggest="all"]{width:100%;min-height:48px}
  .onboarding #backLink{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-size:13px}
  .onboarding .legal-note a{display:inline-block;padding:8px 2px}
  .onboarding .login-path{display:inline-flex;align-items:center;min-height:44px}
}
