/* SafeStep Academy — site styles.
   Layout concept: a navy "home" band carries each page's opening claim; below it, calm white
   pages with one idea per section, and the stepping-stone motif marking real sequences only. */
:root {
  --navy: #004177;        /* brand navy, from the logo */
  --navy-deep: #00305a;
  --lime: #8cc63f;        /* brand lime: buttons and the top stone */
  --lime-ink: #3f6b12;    /* lime dark enough for text on light */
  --sky: #9fc9e8;         /* brand sky: small labels on navy */
  --bg: #f5f8fb;          /* page, a cool off-white biased to the navy */
  --surface: #ffffff;
  --surface-2: #eaf1f7;
  --ink: #0c2236;
  --muted: #4b6276;
  --line: #d3dfe9;
  --band: #004177;        /* navy band; stays navy in both themes */
  --band-ink: #ffffff;
  --band-muted: #c4dbee;
  --focus: #f2a900;
  --link: #004177;
  --btn-ghost: #004177;
  --ok: #2f7d32; --warn: #a86a00; --bad: #b3261e;
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Lexend", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 14px;
  --wrap: 1160px;
  --shadow: 0 1px 2px rgba(0, 48, 90, .06), 0 8px 24px rgba(0, 48, 90, .07);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #061525; --surface: #0b2135; --surface-2: #10304c; --ink: #e8f0f7; --muted: #a3b9cb;
    --line: #1d3d5b; --band: #002b4f; --band-muted: #a9c8e2; --lime-ink: #a8dc63;
    --ok: #7ccf7f; --warn: #f0b552; --bad: #ff8a80; --link: #9fc9e8; --btn-ghost: #e8f0f7;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #061525; --surface: #0b2135; --surface-2: #10304c; --ink: #e8f0f7; --muted: #a3b9cb;
  --line: #1d3d5b; --band: #002b4f; --band-muted: #a9c8e2; --lime-ink: #a8dc63;
  --ok: #7ccf7f; --warn: #f0b552; --bad: #ff8a80; --link: #9fc9e8; --btn-ghost: #e8f0f7;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.03rem/1.65 var(--body);
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: #0c2236; padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.eyebrow { font: 600 .8rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--lime-ink); }
.band .eyebrow { color: var(--lime); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.band .lede { color: var(--band-muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.stack { display: grid; gap: 1rem; }
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section-head { display: grid; gap: .75rem; margin-bottom: 2rem; max-width: 70ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink) !important; margin-right: auto; }
.brand svg { width: 34px; height: 35px; flex: none; }
.brand-word { font: 700 1.3rem/1 var(--display); letter-spacing: -.01em; }
.brand-word b { color: var(--lime-ink); font-weight: 700; }
.brand-sub { display: block; font: 600 .62rem/1 var(--display); letter-spacing: .32em; color: var(--muted); margin-top: .28rem; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; color: var(--ink) !important; font-weight: 700; font-size: .97rem; padding: .5rem .7rem; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); }
.nav a.btn-primary { color: #0c2236 !important; background: var(--lime); }
.nav a.btn-primary:hover { background: #9fd453; }
.nav .btn { margin-left: .4rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: .45rem .7rem; font: 700 .95rem var(--body); cursor: pointer; }
.theme-btn { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; display: grid; place-items: center; }
.theme-btn svg { width: 18px; height: 18px; }
@media (max-width: 920px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
         background: var(--surface); border-bottom: 1px solid var(--line); padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .6rem; }
  .nav .btn { margin: .5rem 0 0; text-align: center; }
}

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  padding: .9rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--lime); color: #0c2236 !important; }
.btn-primary:hover { background: #9fd453; transform: translateY(-1px); }
.btn-ghost { border-color: currentColor; color: var(--btn-ghost) !important; background: transparent; }
.band .btn-ghost { color: #fff !important; }
.btn-small { padding: .6rem 1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- navy band (hero) */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band::after { /* the stepping stones, drawn faint in the corner */
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 520px; height: 360px; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.07) 98%, transparent) 0 250px / 230px 70px no-repeat,
    radial-gradient(closest-side, rgba(255,255,255,.07) 98%, transparent) 130px 150px / 230px 70px no-repeat,
    radial-gradient(closest-side, rgba(140,198,63,.22) 98%, transparent) 260px 50px / 230px 70px no-repeat;
  transform: rotate(-8deg);
}
.hero { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; position: relative; z-index: 1; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: 0; list-style: none; color: var(--band-muted); font-weight: 700; }
.hero-points li::before { content: ""; display: inline-block; width: 14px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: .5rem; vertical-align: middle; transform: rotate(-8deg); }
.page-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 4.25rem); }
.page-hero .wrap { display: grid; gap: 1rem; position: relative; z-index: 1; }

/* the clock card: real timescales, the detail only this subject has */
.clock {
  background: #fff; color: #0c2236; border-radius: 18px; padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 20px 50px rgba(0, 20, 40, .35); transform: rotate(1.5deg); min-width: 0;
}
.clock h2 { font-size: 1.05rem; color: #004177; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.clock h2 span { font: 500 .72rem var(--mono); color: #4b6276; letter-spacing: .04em; }
.clock ol { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .1rem; }
.clock li { display: grid; grid-template-columns: 7.2rem 1fr; gap: .9rem; align-items: baseline; padding: .55rem 0; border-top: 1px dashed #c9d8e5; }
.clock .t { font: 600 1rem/1.2 var(--mono); color: #004177; }
.clock .w { font-size: .95rem; line-height: 1.35; }
.clock .w small { display: block; color: #4b6276; font: 500 .75rem var(--mono); margin-top: .15rem; }
.clock .foot { margin-top: .9rem; font-weight: 700; font-size: .95rem; }
.clock .foot a { color: #3f6b12 !important; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .clock { transform: none; } }

/* ---------- chips and filters */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; list-style: none; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px;
  padding: .55rem 1rem; font: 700 .93rem var(--body); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- course cards */
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem;
  display: grid; gap: .75rem; align-content: start; min-width: 0;
}
.course .meta { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.code { font: 600 .78rem var(--mono); letter-spacing: .04em; color: var(--lime-ink); white-space: nowrap; }
.length { font-size: .85rem; color: var(--muted); text-align: right; }
.course h3 a { color: var(--ink) !important; text-decoration: none; }
.course h3 a:hover { text-decoration: underline; }
.course .who { font-size: .9rem; color: var(--muted); }
.course ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .2rem; font-size: .95rem; }
.course .tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-size: .78rem; font-weight: 700; border-radius: 6px; padding: .2rem .5rem; background: var(--surface-2); color: var(--ink); }
.course .ask { margin-top: .25rem; font-weight: 700; }
.course[hidden] { display: none !important; }

/* ---------- pathway finder */
.finder { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; align-items: start; }
.finder-roles { display: grid; gap: .5rem; }
.role-btn {
  text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px;
  padding: .9rem 1rem; font: 700 1rem var(--body); cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.role-btn[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 4px 0 0 var(--lime); background: var(--surface-2); }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; min-width: 0; }
.path-note { color: var(--muted); margin: .25rem 0 1.2rem; }
.stones { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; counter-reset: s; }
.stones li { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; align-items: center; }
.stones li::before {
  counter-increment: s; content: counter(s); width: 54px; height: 22px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 700 .75rem/22px var(--mono); text-align: center; transform: rotate(-8deg);
}
.stones li:last-child::before { background: var(--lime); color: #0c2236; }
.stones b { display: block; }
.stones span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .finder { grid-template-columns: 1fr; } }

/* ---------- feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: .25rem; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230c2236' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: st; }
.steps3 .card::before { counter-increment: st; content: "Step " counter(st); font: 600 .78rem var(--mono); color: var(--lime-ink); letter-spacing: .04em; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }
.kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.kit .card svg { width: 28px; height: 28px; color: var(--link); }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .kit { grid-template-columns: 1fr; } }
.stat { border-left: 4px solid var(--lime); padding-left: 1rem; }
.stat b { display: block; font: 700 2rem/1.1 var(--display); color: var(--ink); }
.source { font-size: .82rem; color: var(--muted); }

/* manager 12-week path */
.weeks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.weeks li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; display: grid; gap: .4rem; align-content: start; }
.weeks .when { font: 600 .8rem var(--mono); color: var(--lime-ink); }
@media (max-width: 860px) { .weeks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .weeks { grid-template-columns: 1fr; } }

/* ---------- pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.price { display: grid; gap: .9rem; align-content: start; }
.price .amount { font: 700 2rem/1 var(--display); }
.price .amount small { font: 400 .9rem var(--body); color: var(--muted); }
.price.lead { border: 2px solid var(--navy); position: relative; }
.price.lead::before { content: "Start here"; position: absolute; top: -12px; left: 1.2rem; background: var(--lime); color: #0c2236; font: 700 .75rem var(--body); padding: .2rem .6rem; border-radius: 999px; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* ---------- readiness check */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; counter-reset: q; }
.check-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; display: grid; gap: .7rem; }
.check-item legend { padding: 0; font-weight: 700; }
.check-item legend::before { counter-increment: q; content: counter(q) ". "; font-family: var(--mono); color: var(--lime-ink); }
.check-item fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .6rem; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-weight: 700; font-size: .92rem; cursor: pointer; background: var(--surface); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.result { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); }
.meter { height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .3s ease; }
.band-pill { display: inline-block; font-weight: 700; font-size: .85rem; padding: .25rem .7rem; border-radius: 999px; background: var(--surface-2); }
.band-pill.ok { color: var(--ok); } .band-pill.warn { color: var(--warn); } .band-pill.bad { color: var(--bad); }
.check-layout { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .check-layout { grid-template-columns: 1fr; } .result { position: static; } }

/* ---------- forms */
.form { display: grid; gap: 1rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .field .label { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start; font-size: .95rem; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--navy); }
.radios { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.radios label { display: inline-flex; gap: .45rem; align-items: center; font-weight: 400; }
.radios input { accent-color: var(--navy); width: 18px; height: 18px; }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .9rem; color: var(--muted); }
.notice { background: var(--surface-2); border-radius: 10px; padding: .9rem 1rem; font-weight: 700; }

/* ---------- founder */
.founder { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: start; }
.monogram { width: 140px; height: 140px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 2.8rem var(--display); position: relative; }
.monogram::after { content: ""; position: absolute; width: 56px; height: 20px; border-radius: 50%; background: var(--lime); right: -6px; bottom: 18px; transform: rotate(-8deg); }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } }

/* ---------- FAQ */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.3rem/1 var(--mono); color: var(--lime-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1rem; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band + footer */
.cta { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.cta h2 { max-width: 22ch; }
.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-grid a { color: var(--ink) !important; text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.legal { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; color: var(--muted); font-size: .85rem; display: grid; gap: .4rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.prose { max-width: 72ch; display: grid; gap: 1rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.copy-row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.copy-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; padding: .35rem .7rem; font: 700 .85rem var(--body); cursor: pointer; }

/* ---------- motion */
.rise { animation: rise .6s ease both; }
.rise-2 { animation-delay: .08s; } .rise-3 { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================  v2: motion, structure, conversion */
/* Header gains a shadow once the page scrolls */
.site-head.scrolled { box-shadow: 0 6px 24px rgba(0, 48, 90, .08); }

/* Proof bar under the hero: what every course is mapped to */
.proofbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.proofbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; padding-block: 1rem; }
.proofbar .label { font: 600 .78rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.proofbar span.item { font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; }
.proofbar span.item::before { content: ""; width: 12px; height: 5px; border-radius: 50%; background: var(--lime); transform: rotate(-8deg); }

/* The journey: stepping stones that light up in order (a real sequence, so the order carries meaning) */
.journey { position: relative; z-index: 1; margin-top: clamp(2rem, 4vw, 3.5rem); }
.journey ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; }
.journey ol::before { content: ""; position: absolute; left: 6%; right: 6%; top: 15px; border-top: 2px dashed rgba(255, 255, 255, .28); }
.journey li { display: grid; justify-items: start; gap: .55rem; color: #fff; font-weight: 700; font-size: .95rem; position: relative; }
.journey .stone { width: 72px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .16); transform: rotate(-8deg); position: relative;
  animation: stone 6s ease-in-out infinite; }
.journey li:nth-child(2) .stone { animation-delay: 1.2s; }
.journey li:nth-child(3) .stone { animation-delay: 2.4s; }
.journey li:nth-child(4) .stone { background: var(--lime); animation-name: stone-goal; animation-delay: 3.6s; }
.journey li small { display: block; font-weight: 400; font-size: .84rem; color: var(--band-muted); }
@keyframes stone { 0%, 100% { background: rgba(255, 255, 255, .16); transform: rotate(-8deg) translateY(0); }
  12% { background: var(--lime); transform: rotate(-8deg) translateY(-6px); } 30% { background: rgba(140, 198, 63, .55); transform: rotate(-8deg) translateY(0); } }
@keyframes stone-goal { 0%, 100% { box-shadow: 0 0 0 0 rgba(140, 198, 63, 0); } 60% { box-shadow: 0 0 0 10px rgba(140, 198, 63, .2); } }
@media (max-width: 640px) { .journey ol { grid-template-columns: 1fr 1fr; row-gap: 1.4rem; } .journey ol::before { display: none; } }

/* The clock card ticks: one row highlighted at a time */
.clock li { transition: background-color .35s ease, padding .35s ease; border-radius: 8px; }
.clock li.on { background: #eef6e2; padding-inline: .5rem; }
.clock li.on .t { color: #3f6b12; }

/* Numbers that count up when they come into view */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.counter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: .3rem; align-content: start; }
.counter b { font: 700 clamp(2rem, 1.5rem + 2vw, 2.8rem)/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.counter span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .counters { grid-template-columns: 1fr 1fr; } }

/* Problem to fix cards */
.pain { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.pain .q { font: 600 1.08rem/1.35 var(--display); color: var(--ink); }
.pain .fix { border-top: 1px dashed var(--line); padding-top: .7rem; color: var(--muted); }
.pain .fix b { color: var(--ink); }
@media (max-width: 760px) { .pain { grid-template-columns: 1fr; } }

/* Honest comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 600 .85rem var(--display); letter-spacing: .04em; color: var(--muted); background: var(--surface-2); }
.compare thead th.us { color: var(--ink); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { font-weight: 700; color: var(--ok); }
.compare .meh { color: var(--muted); }

/* Hover lift on interactive cards */
.card.course, .art-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card.course:hover, .art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--navy) 35%, var(--line)); }

/* Scroll reveal: script adds .pre only to things below the fold, so nothing is hidden without JavaScript */
.pre { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: var(--band-muted); margin: 0; padding: 0; list-style: none; }
.crumbs a { color: #fff !important; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--lime); }

/* Course page */
.meta-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.meta-chips li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: 999px; padding: .35rem .85rem; font-size: .88rem; font-weight: 700; }
.glance { display: grid; gap: .9rem; }
.glance dl { margin: 0; display: grid; gap: .75rem; }
.glance dt { font: 600 .75rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: .15rem 0 0; }
.reglist { margin: 0; padding-left: 1.1rem; display: grid; gap: .25rem; }

/* Articles */
.art-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.art-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: .6rem; align-content: start; text-decoration: none; color: var(--ink) !important; }
.art-card h3 { font-size: 1.15rem; }
.art-card p { color: var(--muted); }
.art-card .more { color: var(--link); font-weight: 700; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.article .prose h2 { font-size: 1.45rem; margin-top: 1.2rem; }
.article .prose p, .article .prose li { font-size: 1.06rem; }
.article .side { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); display: grid; gap: 1rem; }
.inline-cta { background: var(--surface-2); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; gap: .6rem; }
.byline { color: var(--band-muted); font-size: .92rem; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .article .side { position: static; } }

/* Sticky call to action on phones */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .6rem max(12px, env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--surface) 94%, transparent); border-top: 1px solid var(--line);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .mobile-cta .btn { flex: 1; padding: .8rem .6rem; font-size: .95rem; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

@media print { .pre { opacity: 1 !important; transform: none !important; } .mobile-cta, .site-head { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .journey .stone { animation: none !important; }
  .pre { opacity: 1 !important; transform: none !important; }
}
