/* SIE Simplified - onboarding journey mockup - shared styles. UTF-8.
   Tokens are the locked brand set (01-brand/visual-identity/design-system.md).
   Four screens, so the only structural device is one hairline rule under the
   header that fills as the student moves. Nothing else decorates. */

:root {
  --ink: #13293D;
  --ink-soft: #33475A;
  --accent: #0E8A6D;
  --accent-deep: #0B6E57;
  --trap: #B3551D;
  --paper: #FFFFFF;
  --wash: #F2F6F5;
  --muted: #5A6B77;
  --line: rgba(19,41,61,0.14);
  --line-soft: rgba(19,41,61,0.09);
  --accent-tint: rgba(14,138,109,0.08);
  --trap-tint: rgba(179,85,29,0.08);
  --disp: "Archivo", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
}
.onboarding-shell {
  --ink: #13293D;
  --ink-soft: #33475A;
  --accent: #0E8A6D;
  --accent-deep: #0B6E57;
  --trap: #B3551D;
  --paper: #FFFFFF;
  --wash: #F2F6F5;
  --muted: #5A6B77;
  --line: rgba(19,41,61,0.14);
  --line-soft: rgba(19,41,61,0.09);
  --accent-tint: rgba(14,138,109,0.08);
  --trap-tint: rgba(179,85,29,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
body {
  background: var(--wash); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--disp); letter-spacing: -0.015em; line-height: 1.1; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* reference banner (mockup only) */
.refband { background: var(--ink); color: rgba(255,255,255,0.85); font-size: 12.5px; text-align: center; padding: 9px 16px; }
.refband b { color: #fff; font-weight: 700; letter-spacing: 0.06em; }

/* ============ header and the progress rule ============ */
.ohead { background: var(--paper); border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 20; }
.ohead .inner { max-width: 960px; margin: 0 auto; height: 62px; padding: 0 24px; display: flex; align-items: center; gap: 18px; }
.wm { font-family: var(--disp); font-size: 19px; white-space: nowrap; }
.wm b { font-weight: 700; color: var(--ink); }
.wm span { font-weight: 400; color: var(--accent); }
.ohead .step { margin-left: auto; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.rule { height: 2px; background: var(--line-soft); }
.rule i { display: block; height: 100%; background: var(--accent); transition: width .45s cubic-bezier(.4,0,.2,1); }

/* ============ the stage ============ */
main { flex: 1; display: flex; flex-direction: column; }
.stage { width: 100%; max-width: 560px; margin: 0 auto; padding: 58px 24px 72px; }
.stage.wide { max-width: 880px; }
.stage.widest { max-width: 1060px; }
.verification-state { display: flex; flex-direction: column; align-items: center; }
.verification-state .seal { margin: 0 auto 24px; }
.verification-state .helper { width: 100%; max-width: 42ch; }
.verification-state .panel { width: 100%; max-width: 420px; text-align: left; margin-top: 40px; }
.verification-state .panel .btn { margin-top: 28px; }
.verification-state .backrow { margin-top: 24px; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.stage h1 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.35rem); margin-top: 14px; }
.stage h1 em { font-style: normal; color: var(--accent); }
.helper { color: var(--muted); font-size: 15.5px; margin-top: 12px; }
.helper b { color: var(--ink); font-weight: 600; }

/* option rows */
.opts { display: grid; gap: 10px; margin-top: 30px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--paper); border: 1.5px solid #71808a; border-radius: 11px;
  padding: 16px 18px; transition: border-color .13s ease, background .13s ease, transform .13s ease;
}
.opt:hover { border-color: var(--ink); }
.opt:disabled { cursor: wait; }
.opt:active { transform: scale(0.995); }
.opt .mark {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #71808a;
  flex-shrink: 0; display: grid; place-items: center; color: transparent; transition: all .13s ease;
}
.opt .ot { flex: 1; min-width: 0; }
.opt .ot b { display: block; font-weight: 600; font-size: 16px; }
.opt .ot small { display: block; color: var(--ink-soft); font-size: 13.5px; margin-top: 2px; }
.opt.on { border-color: var(--accent-deep); background: #e2f3ed; }
.opt.on .mark { border-color: var(--accent); background: var(--accent); color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 30px; border: 1.5px solid transparent; border-radius: 9px; font-weight: 600; font-size: 15.5px; cursor: pointer; white-space: nowrap; transition: background .15s ease, border-color .15s ease; }
.btn-primary { background: var(--accent-deep); color: #fff; }
.btn-primary:hover { background: #084f3f; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #0C1C2B; }
.btn-ghost { border-color: var(--line); background: var(--paper); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.quiet { display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted); }
.quiet:hover { color: var(--ink); }
.backrow { margin-top: 32px; }

/* panels */
.panel { background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: 14px; padding: 26px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 20px; font-weight: 700; }
.plabel { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ============ screen 2: the four tools ============ */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.tool { background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: 13px; padding: 22px 24px; display: flex; flex-direction: column; }
.tool .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.tool h3 { font-size: 17.5px; font-weight: 700; margin-top: 15px; }
.tool .count { font-family: var(--disp); font-weight: 700; font-size: 13px; color: var(--accent); margin-top: 5px; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.tool p { font-size: 14px; color: var(--ink-soft); margin-top: 9px; }

.claims { display: grid; gap: 0; margin-top: 26px; background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: 13px; padding: 4px 24px; }
.stage.wide > .mt-20 { margin-top: 32px; }
.claim { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 17px 0; border-top: 1px solid var(--line-soft); }
.claim:first-child { border-top: none; }
.claim .k { color: var(--accent); padding-top: 3px; }
.claim b { display: block; font-weight: 600; font-size: 15.5px; }
.claim p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.claim.trapline .k { color: var(--trap); }

/* ============ forms ============ */
.field { margin-top: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input {
  width: 100%; height: 50px; padding: 0 15px; background: var(--paper);
  border: 1.5px solid #71808a; border-radius: 9px; font-size: 15.5px;
}
.field input::placeholder { color: #5a6b77; opacity: 1; }
.field input:focus { border-color: var(--accent); outline: none; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.orline { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; }
.orline::before, .orline::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.sso { display: grid; gap: 10px; margin-top: 36px; }
.legal { font-size: 12.5px; color: var(--muted); margin-top: 18px; line-height: 1.6; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ============ screen 4: checkout ============
   The subscription is the offer. It gets a full card; the one-time purchase
   gets a single quiet row underneath it. */
.heroplan {
  display: block; width: 100%; text-align: left;
  background: var(--accent-tint); border: 2px solid var(--accent); border-radius: 15px;
  padding: 26px 28px 24px; margin-top: 28px;
}
.heroplan .htop { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.heroplan h2 { font-size: 23px; font-weight: 700; }
.heroplan .badge { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 999px; padding: 5px 12px; }
.heroplan .pline { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.heroplan .pline b { font-family: var(--disp); font-weight: 700; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.heroplan .pline span { font-size: 15.5px; color: var(--ink-soft); }
.heroplan .pline span em { font-style: normal; font-weight: 700; color: var(--ink); }
.heroplan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-soft); }
.heroplan ul li { display: flex; gap: 10px; align-items: flex-start; }
.heroplan ul svg { flex-shrink: 0; color: var(--accent); margin-top: 4px; }

.altplan {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 11px;
  padding: 14px 18px; margin-top: 12px;
  transition: border-color .13s ease, background .13s ease;
}
.altplan:hover { border-color: var(--ink); }
.altplan .mark { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--line); flex-shrink: 0; display: grid; place-items: center; color: transparent; }
.altplan .at { flex: 1; min-width: 0; font-size: 14.5px; color: var(--muted); }
.altplan .at b { color: var(--ink); font-weight: 600; }
.altplan .aprice { font-family: var(--disp); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* selected states */
.heroplan.off { background: var(--paper); border-color: var(--line-soft); border-width: 1.5px; opacity: 0.62; }
.heroplan.off .badge { background: var(--muted); }
.altplan.on { border-color: var(--accent); background: var(--accent-tint); }
.altplan.on .mark { border-color: var(--accent); background: var(--accent); color: #fff; }
.stage > .altplan + .panel { margin-top: 22px; }
.stage > .panel > .mt-6 { margin-top: 22px; }

/* ============ screen 5: welcome ============ */
.welcome { text-align: center; padding-top: 74px; }
.welcome .seal { width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; }
.welcome .cards { display: grid; gap: 14px; margin-top: 38px; text-align: left; }
.welcome > .mt-8 { margin-top: 30px; }
.welcome .card { background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: 14px; padding: 22px 26px 24px; }
.welcome .card.hi { border-color: var(--accent); background: var(--accent-tint); }
.welcome .card.hi .plabel { color: var(--accent); }
.welcome .card > p { font-size: 15px; color: var(--ink-soft); margin-top: 10px; }
.welcome .card > p b { color: var(--ink); font-weight: 700; }

/* the first-week checklist: one row per thing to do */
.steps { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 0; }
.steps li {
  display: grid; grid-template-columns: 20px 1fr; gap: 13px; align-items: start;
  padding: 13px 0; border-top: 1px solid var(--line-soft); font-size: 15px; line-height: 1.45;
}
.steps li:first-child { border-top: none; }
.steps li svg { color: var(--accent); margin-top: 4px; }

.welcome .manage { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent); }
.welcome .manage:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

footer.foot { background: var(--ink); color: rgba(255,255,255,0.6); font-size: 12px; line-height: 1.7; padding: 26px 24px; text-align: center; }
footer.foot .in { max-width: 880px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .rule i { transition: none; }
}
@media (max-width: 640px) {
  .tools { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stage { padding: 38px 18px 56px; }
  .ohead .inner { padding: 0 18px; }
  .row2 { grid-template-columns: 1fr; }
}
