/* ==========================================================================
   Grey Sky Capital: Smart Foundation, find your setup (smart-foundation-setup.html)
   --------------------------------------------------------------------------
   Technical Summary
   - Styles the guided setup tool, a page with its own app shell: a fixed top
     bar (progress trail, Plain words), a fixed bottom bar (Back and the next
     step) and one screen per step. It does not use main.css or the site nav.
   - Parts, in order: shell and bars; screens and type; welcome; the
     risk-return explainer chart; the five paces and the pace card; the
     fine-tune steppers; fees and the hurdle choice; review and send; the "help me choose" quiz overlay with its road and
     walker.
   - Colour and type come only from tokens.css. Tints are color-mix() of a
     token. On paper, lime, yellow, flare and pink are fills that carry
     --ink-head text; accent text is --rust. Corners are square; only dots
     and circles are round.
   - Statutory footer (.sfoot): the regulatory links, statutory lines and
     disclaimer every page carries, in slate under the footnote, with room
     at the end so the fixed bottom bar never covers it.
   - Short screens (480px tall or less): both bars scroll with the page.
   - Motion is transitions and keyframes. All of it is off under
     prefers-reduced-motion, where every part shows in its end state.
   - [data-placeholder="true"] marks back-tested and illustrative figures and
     carries the SAMPLE tag while <body> has show-placeholders.
   ========================================================================== */

:root { --north: color-mix(in srgb, var(--lime) 16%, transparent); --south: color-mix(in srgb, var(--flare) 7%, transparent); --top: 76px; --bot: 92px; box-sizing: border-box; padding-top: env(safe-area-inset-top,0px); padding-bottom: env(safe-area-inset-bottom,0px); }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none!important; }
[tabindex="-1"]:focus { outline: none; }
html { scroll-padding-top: calc(var(--top) + env(safe-area-inset-top,0px)); }
body { margin: 0; background: var(--paper-100); color: var(--ink-head); font-family: var(--font-sans); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
button, input, select, textarea { font-family: var(--font-sans); color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
body.simple [data-std] { display: none!important; }
body:not(.simple) [data-simple] { display: none!important; }

/* ---------- top bar ---------- */
.topbar { position: fixed; left: 0; right: 0; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper-100) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--paper-300); padding-top: env(safe-area-inset-top,0px); }
.topin { max-width: 1360px; margin: 0 auto; height: var(--top); display: flex; align-items: center; gap: 20px; padding: 0 28px; }
.brand { text-decoration: none; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.brand b { color: var(--ink-head); font-weight: 700; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { display: block; width: 40px; height: auto; flex: none; }   /* the black Grey Sky cloud, as in every other page's nav */
.trailnav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0; min-width: 0; }
.tn { flex: none; display: flex; align-items: center; gap: 9px; border: 0; background: none; padding: 8px 6px; color: var(--ink-muted); font-size: 15px; font-weight: 600; white-space: nowrap; }
.tn .d svg { width: 13px; height: 13px; display: block; }
.tn .d { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--grey-500); display: grid; place-items: center; font-size: 13px; font-family: var(--font-mono); background: var(--paper-100); flex: none; }
.tn small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-muted); line-height: 1; margin-top: 2px; }
.tn.done { color: var(--ink-head); }
.tn.done .d { background: var(--ink-head); border-color: var(--ink-head); color: var(--paper-100); }
.tn.now { color: var(--ink-head); }
.tn.now .d { background: var(--lime); border-color: var(--ink-head); color: var(--ink-head); }
.tn:disabled { cursor: default; }
.tl { width: 28px; height: 2px; background: var(--paper-300); flex: none; }
.tl.done { background: var(--ink-head); }
.mobstep { display: none; font-size: 15px; font-weight: 700; color: var(--ink-head); flex: 1; text-align: center; }
#plain { border: 2px solid var(--ink-head); background: transparent; border-radius: 0; padding: 9px 16px; font-size: 15px; font-weight: 700; white-space: nowrap; }
#plain[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink-head); }
@media (max-width: 1100px) {
  .tn .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* hidden from view, still the button's name */
  .tl { width: 18px; }
}
@media (max-width: 760px) {
  .trailnav { display: none; }
  .mobstep { display: block; }
  .brand__txt { display: none; }   /* phones keep the logo, drop the words */
  .topin { padding: 0 16px; }
}

/* ---------- bottom bar ---------- */
.botbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: color-mix(in srgb, var(--paper-100) 96%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--paper-300); padding-bottom: env(safe-area-inset-bottom,0px); }
.botin { max-width: 1360px; margin: 0 auto; height: var(--bot); display: flex; align-items: center; gap: 16px; padding: 0 28px; }
.botmid { flex: 1; text-align: center; font-size: 15px; color: var(--ink-muted); }
.btn { height: 58px; border-radius: 0; padding: 0 30px; font-size: 18px; font-weight: 700; border: 2px solid var(--ink-head); background: var(--ink-head); color: var(--paper-100); display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; transition: transform .12s,opacity .12s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: .3; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink-head); }
.btn.lime { background: var(--lime); border-color: var(--lime); color: var(--ink-head); }
.btn.link { border: 0; background: none; color: var(--ink-muted); text-decoration: underline; padding: 0 12px; height: auto; font-weight: 600; }
@media (max-width: 760px) {
  :root { --bot: 118px; }
  .botin { height: auto; min-height: var(--bot); padding: 8px 14px 12px; gap: 10px; flex-wrap: wrap; align-content: center; }
  .botmid { display: none; }
  #bSec { order: -1; width: 100%; justify-content: center; height: 28px; font-size: 15.5px; }
  .btn { height: auto; min-height: 54px; padding: 8px 20px; font-size: 16.5px; white-space: normal; line-height: 1.2; text-align: center; }
  #bBack { width: 54px; padding: 0; flex: none; }
  #bBack .lbl { display: none; }
  #bPri { flex: 1; }
}

/* ---------- screens ---------- */
main { padding-top: calc(var(--top) + env(safe-area-inset-top,0px)); padding-bottom: calc(var(--bot) + env(safe-area-inset-bottom,0px)); }
.screen { display: none; min-height: calc(100vh - var(--top) - var(--bot)); max-width: 1360px; margin: 0 auto; padding: 44px 28px 64px; }
.screen.on { display: flex; flex-direction: column; animation: enter .45s cubic-bezier(.2,.8,.2,1); }
@keyframes enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .screen { padding: 32px 16px 40px; }
}
.kick { font-family: var(--font-mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); margin: 0 0 14px; }
.t1 { font-size: clamp(38px,4.6vw,66px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin: 0 0 18px; max-width: 26ch; }
.t2 { font-size: clamp(28px,2.8vw,40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 12px; }
.lede { font-size: clamp(18px,1.5vw,21px); line-height: 1.55; color: var(--ink-muted); margin: 0 0 28px; max-width: 62ch; }
.lede b { color: var(--ink-head); font-weight: 700; }
.panel { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: 0; padding: 32px; }
@media (max-width: 760px) {
  .panel { padding: 22px; border-radius: 0; }
}

/* ---------- welcome ---------- */
.wgrid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; flex: 1; }
@media (min-width: 1000px) {
  .wgrid { grid-template-columns: 1.15fr 1fr; gap: 72px; }
}
.wbig { font-size: clamp(44px,6vw,88px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin: 0 0 24px; }
.wbig em { font-style: normal; background: linear-gradient(transparent 62%,var(--lime) 62%,var(--lime) 92%,transparent 92%); }
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.route li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--paper-300); }
.route li:first-child { border-top: 0; }
.route .rn { width: 44px; height: 44px; border-radius: 50%; background: var(--ink-head); color: var(--paper-100); display: grid; place-items: center; font-family: var(--font-mono); font-size: 16px; }
.route .rn.opt { background: transparent; color: var(--ink-head); border: 2px dashed var(--grey-500); }
.route b { display: block; font-size: 20px; font-weight: 700; }
.route span { font-size: 16px; color: var(--ink-muted); }
.route i { font-style: normal; font-family: var(--font-mono); font-size: 14px; color: var(--ink-muted); white-space: nowrap; }

/* ---------- explainer ---------- */
.xgrid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; flex: 1; }
@media (min-width: 1000px) {
  .xgrid { grid-template-columns: 1.45fr 1fr; gap: 56px; }
}
.chartbox { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: 0; padding: 18px 14px 10px; }
svg.ch { width: 100%; height: auto; display: block; overflow: visible; }
.clab { font-family: var(--font-mono); font-size: 13px; fill: var(--ink-muted); letter-spacing: .05em; paint-order: stroke; stroke: var(--paper-100); stroke-width: 3px; stroke-linejoin: round; }
.cplab { font-family: var(--font-sans); font-size: 15.5px; font-weight: 700; fill: var(--ink-head); paint-order: stroke; stroke: var(--paper-100); stroke-width: 4px; stroke-linejoin: round; }
.xs { transition: opacity .55s ease; }
.xs:not(.vis) { opacity: 0; pointer-events: none; }
.xp { transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.3,1.5,.5,1),opacity .35s; }
.xp:not(.vis) { transform: scale(0); opacity: 0; }
.xdraw { transition: stroke-dashoffset 1.2s ease; }
.xghost { transition: transform 1.1s cubic-bezier(.2,.8,.2,1),opacity .5s; }
.xcount { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.xdots { display: flex; gap: 7px; }
.xdot { width: 30px; height: 7px; border-radius: 0; border: 1px solid var(--grey-500); background: var(--paper-300); padding: 0; }   /* the edge is 4:1 on paper */
.xdot.on { background: var(--ink-head); border-color: var(--ink-head); }
.xtxt { animation: enter .4s ease; }
.xtxt .lede { font-size: clamp(18px,1.6vw,22px); }

/* ---------- pace ---------- */
.seg5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin: 0 0 22px; }
.sg { border: 2px solid var(--grey-500); background: var(--paper-100); border-radius: 0; padding: 14px 12px 12px; text-align: left; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s,background .15s; }
.sg b { font-size: 17px; font-weight: 700; line-height: 1.15; }
.sg .rm { display: flex; gap: 3px; }
.sg .rm i { flex: 1; height: 5px; border-radius: 0; background: var(--paper-300); }
.sg .rm i.f { background: var(--rust); }
.sg[aria-pressed="true"] { border-color: var(--ink-head); background: var(--ink-head); color: var(--paper-100); }
.sg[aria-pressed="true"] .rm i { background: var(--slate-600); }
.sg[aria-pressed="true"] .rm i.f { background: var(--lime); }
@media (max-width: 760px) {
  .seg5 { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; }
  .sg { padding: 10px 6px; border-radius: 0; }
  .sg b { font-size: 12.5px; }
}
.pcard { display: grid; grid-template-columns: 1fr; gap: 36px; touch-action: pan-y; transition: opacity .25s,transform .25s; }
@media (min-width: 1000px) {
  .pcard { grid-template-columns: 1fr 1.05fr; gap: 48px; }
}
.pname { font-size: clamp(36px,3.8vw,54px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 0 0 8px; }
.ride { font-size: 19px; color: var(--ink-muted); font-style: italic; margin: 0 0 16px; }
.youif { font-size: 15px; color: var(--ink-muted); margin: 14px 0 10px; font-weight: 600; }
.people { display: grid; gap: 10px; margin-bottom: 24px; }
@media (min-width: 620px) {
  .people { grid-template-columns: 1fr 1fr; }
}
.person { background: var(--paper-200); border-radius: 0; padding: 16px 18px; }
.person small { display: block; font-size: 13px; color: var(--ink-muted); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.person p { margin: 0; font-size: 17.5px; line-height: 1.45; }
.tiles { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--paper-300); border: 1px solid var(--paper-300); border-radius: 0; overflow: hidden; }
@media (min-width: 620px) {
  .tiles.t3 { grid-template-columns: repeat(3,1fr); }
  .tiles.t4 { grid-template-columns: repeat(4,1fr); }
}
.tile { background: var(--paper-100); padding: 16px 18px 18px; }
.tile.wide { grid-column: span 2; }
.tile .k { font-size: 14.5px; color: var(--ink-muted); font-weight: 600; }
.tile .v { font-family: var(--font-mono); font-size: clamp(26px,2.4vw,34px); font-weight: 500; letter-spacing: -.02em; margin-top: 6px; line-height: 1.1; }
.tile .s { font-size: 14px; color: var(--ink-muted); margin-top: 6px; }
.tile.bad .v { color: var(--rust); }
.facts { list-style: none; margin: 20px 0 0; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--paper-300); font-size: 16.5px; }
.facts li span:first-child { color: var(--ink-muted); }
.facts li span:last-child { font-weight: 700; text-align: right; }
.ghead { font-size: 15px; color: var(--ink-muted); margin: 0 0 4px; font-weight: 600; }
.growth { font-size: 21px; margin: 0 0 10px; line-height: 1.35; }
.growth b { font-weight: 800; }
.chart { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--ink-muted); margin-top: 8px; }
.legend b { display: inline-block; width: 14px; height: 14px; border-radius: 0; vertical-align: -2px; margin-right: 7px; }
.ranges { margin-top: 26px; }
.ranges h4 { font-size: 16px; font-weight: 700; margin: 0 0 14px; }
.rb { margin-bottom: 16px; }
.rb-top { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; margin-bottom: 8px; }
.rb-top span:last-child { color: var(--ink-muted); }
.rb-track { position: relative; height: 16px; border-radius: 0; background: var(--paper-200); }
.rb-band { position: absolute; top: 0; bottom: 0; border-radius: 0; opacity: .55; transition: left .35s,width .35s; }
.rb-dot { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; transform: translate(-50%,-50%); border: 3px solid var(--paper-100); }
.rb-min { position: absolute; top: -5px; bottom: -5px; width: 3px; background: var(--ink-head); border-radius: 0; transition: left .35s; }
.rb-note { font-size: 14px; color: var(--ink-muted); margin: 6px 0 0; }
.delta { font-size: 17px; color: var(--ink-muted); margin: 20px 0 0; min-height: 26px; }
.side { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 900px) {
  .side { grid-template-columns: 1fr 1fr; }
}
.sidec { border: 2px solid var(--ink-head); background: var(--paper-100); border-radius: 0; padding: 24px 26px; text-align: left; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; transition: transform .15s,background .15s; }
.sidec:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--lime) 25%, var(--paper-100)); }
.sidec .ic { font-size: 32px; line-height: 1; }
.sidec b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.sidec span { font-size: 16px; color: var(--ink-muted); }
.sidec .ar { font-size: 26px; }
details.defs { margin-top: 28px; border-top: 1px solid var(--paper-300); padding-top: 16px; }
details.defs summary { cursor: pointer; font-size: 16.5px; font-weight: 700; list-style: none; }
details.defs summary::-webkit-details-marker { display: none; }
details.defs summary::after { content: ' +'; color: var(--ink-muted); }
details.defs[open] summary::after { content: ' −'; }
.defgrid { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 900px) {
  .defgrid { grid-template-columns: repeat(3,1fr); }
}
.defgrid div { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: 0; padding: 18px; }
.defgrid h4 { margin: 0 0 6px; font-size: 18px; }
.defgrid p { margin: 0; font-size: 16px; color: var(--ink-muted); }

/* ---------- fine-tune ---------- */
.lgrid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 1000px) {
  .lgrid { grid-template-columns: 1fr 1.2fr; gap: 44px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chip { border: 2px solid var(--grey-500); background: var(--paper-100); border-radius: 0; padding: 10px 16px; font-size: 15.5px; font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--ink-head); color: var(--paper-100); border-color: var(--ink-head); }
.lrow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 18px 0; border-top: 1px solid var(--paper-300); }
.lrow .nm { font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.lrow .nm small { display: block; font-weight: 500; font-size: 15px; color: var(--ink-muted); letter-spacing: 0; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 54px; height: 54px; border-radius: 0; border: 2px solid var(--ink-head); background: var(--paper-100); font-size: 26px; font-weight: 600; line-height: 1; }
.stepper button:disabled, .stepper button[aria-disabled="true"] { opacity: .22; cursor: not-allowed; }
.stepper output { min-width: 76px; text-align: center; font-family: var(--font-mono); font-size: 28px; font-weight: 500; }
.lshare { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 8px 0 6px; padding-top: 18px; border-top: 2px solid var(--ink-head); }
.lshare b { font-family: var(--font-mono); font-size: 40px; font-weight: 500; }
.lshare span { font-size: 17px; color: var(--ink-muted); font-weight: 600; }
.closest { font-size: 16.5px; color: var(--ink-muted); margin: 14px 0 0; }
.closest b { color: var(--ink-head); }
.verdict { border-radius: 0; padding: 18px 20px; font-size: 17.5px; line-height: 1.45; margin: 18px 0; }
.verdict.on { background: color-mix(in srgb, var(--lime) 25%, var(--paper-100)); color: var(--ink-head); }
.verdict.above { background: color-mix(in srgb, var(--lime) 45%, var(--paper-100)); color: var(--ink-head); }
.verdict.below { background: color-mix(in srgb, var(--flare) 20%, var(--paper-100)); color: var(--ember-ink); }
.verdict b { font-weight: 800; }
.verdict button { margin-top: 10px; border: 2px solid currentColor; background: transparent; border-radius: 0; padding: 9px 16px; font-size: 15.5px; font-weight: 800; }

/* ---------- fees ---------- */
.fgrid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) {
  .fgrid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.fopt { border: 2px solid var(--grey-500); background: var(--paper-100); border-radius: 0; padding: 30px; text-align: left; display: flex; flex-direction: column; gap: 12px; position: relative; transition: border-color .15s,transform .15s,box-shadow .15s; }
.fopt:hover { border-color: var(--ink-muted); transform: translateY(-2px); }
.fopt[aria-checked="true"] { border-color: var(--ink-head); box-shadow: 0 0 0 4px var(--lime); }
.fopt .tag { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.fopt .big { font-size: clamp(34px,3.6vw,48px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.fopt .sub { font-size: 17.5px; color: var(--ink-muted); line-height: 1.5; }
.fopt ul { margin: 4px 0 0; padding-left: 20px; font-size: 16.5px; line-height: 1.6; }
.fopt .tick { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--grey-500); display: grid; place-items: center; font-size: 18px; font-weight: 800; color: transparent; }
.fopt[aria-checked="true"] .tick { background: var(--lime); border-color: var(--ink-head); color: var(--ink-head); }
.ftable { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 17px; }
.ftable th, .ftable td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--paper-300); }
.ftable th { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.ftable td.n { font-family: var(--font-mono); font-size: 17px; }

/* ---------- submit ---------- */
.sgrid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 1000px) {
  .sgrid { grid-template-columns: 1.15fr 1fr; gap: 40px; }
}
.rev { background: var(--paper-100); color: var(--ink-head); border: 1px solid var(--paper-300); border-radius: 0; padding: 34px; }
.rev .rk { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.rev h2 { font-size: clamp(30px,3vw,42px); font-weight: 800; letter-spacing: -.035em; margin: 8px 0 12px; color: var(--ink-head); }
.rev .sum { font-size: 18px; line-height: 1.55; margin: 0 0 18px; color: var(--ink-body); }
.rsec { border-top: 2px solid var(--ink-head); padding-top: 16px; margin-top: 22px; }
.rsec .rh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rsec h3 { font-size: 20px; margin: 0; font-weight: 800; color: var(--ink-head); }
.rsec .edit { border: 0; background: none; color: var(--rust); font-weight: 700; font-size: 16px; text-decoration: underline; padding: 0; }
.rev table { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-size: 16.5px; }
.rev th, .rev td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--paper-300); color: var(--ink-head); }
.rev th { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.rev td.n { font-family: var(--font-mono); }
.rev .disc { font-size: 13px; line-height: 1.6; color: var(--ink-muted); margin-top: 18px; }
.form { display: grid; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--ink-muted); font-weight: 600; }
.form input, .form textarea { border: 2px solid var(--grey-500); background: var(--paper-100); border-radius: 0; padding: 15px 16px; font-size: 18px; color: var(--ink-head); }
.form input:focus, .form textarea:focus { border-color: var(--ink-head); }
.form textarea { min-height: 110px; resize: vertical; }
.form label .opt { font-weight: 500; font-size: 14px; color: var(--ink-muted); }
.form .captcha:not(:empty) { min-height: 78px; }   /* Google's reCAPTCHA box, drawn once the visitor starts on the form */
.form .chk { flex-direction: row; align-items: flex-start; gap: 12px; color: var(--ink-head); font-weight: 500; }
.form .chk input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink-head); }
.acts { display: flex; flex-wrap: wrap; gap: 10px; }
.msg { font-size: 16.5px; margin: 0; min-height: 24px; font-weight: 600; }
.msg.ok { color: var(--moss); }
.msg.err { color: var(--rust); }
.thanks { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 760px; }
.thanks .badge { width: 76px; height: 76px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 38px; font-weight: 800; color: var(--ink-head); margin-bottom: 22px; }
.foot { font-size: 13.5px; line-height: 1.65; color: var(--ink-muted); max-width: 1360px; margin: 0 auto; padding: 0 28px 40px; }

/* ---------- quiz ---------- */
.quiz { position: fixed; inset: 0; background: var(--paper-100); z-index: 80; display: none; overflow-y: auto; padding: env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px); }
.quiz.show { display: block; }
.qbox { max-width: 900px; margin: 0 auto; padding: 24px 22px 48px; min-height: 100%; display: flex; flex-direction: column; }
.qtop { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 16px; color: var(--ink-muted); font-weight: 600; }
.qtop button { border: 0; background: none; font-size: 17px; padding: 8px 4px; color: var(--ink-muted); font-weight: 600; }
.qtop button:disabled { visibility: hidden; }
.trail { display: flex; align-items: center; margin: 18px 0 6px; padding: 0 4px; }
.trail .seg { flex: 1; height: 3px; background: var(--paper-300); border-radius: 0; }
.trail .seg.done { background: var(--ink-head); }
.trail .node { width: 14px; height: 14px; border-radius: 50%; background: var(--paper-100); border: 2px solid var(--grey-500); flex: none; transition: background .3s,border-color .3s,transform .3s; }
.trail .node.done { background: var(--ink-head); border-color: var(--ink-head); }
.trail .node.now { border-color: var(--ink-head); transform: scale(1.35); background: var(--lime); }
.trail .gap { width: 16px; flex: none; }
.trail .flag { flex: none; font-size: 20px; line-height: 1; margin-left: 6px; }
.trailtxt { font-size: 15.5px; color: var(--ink-muted); margin: 8px 0 30px; }
.qh { font-size: clamp(28px,4.4vw,40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin: 0 0 28px; }
.scene { position: relative; max-width: 720px; margin: 0 auto; width: 100%; }
.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; position: relative; z-index: 2; }
.sign { border: 2px solid var(--ink-head); background: var(--paper-100); border-radius: 0; padding: 18px; font-size: 19px; font-weight: 700; line-height: 1.3; text-align: center; min-height: 84px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s,transform .15s,opacity .3s; box-shadow: 0 4px 0 var(--ink-head); }
.sign:hover, .sign:focus-visible { background: var(--lime); color: var(--ink-head); transform: translateY(-2px); }
.sign.chosen { background: var(--lime); color: var(--ink-head); }
.sign.faded { opacity: .35; }
.sign .ar { font-size: 20px; flex: none; }
.road { display: block; width: 100%; height: auto; margin-top: -2px; }
.road .br { fill: var(--paper-200); transition: fill .2s,opacity .3s; }
.road.hl0 .br0, .road.hl1 .br1 { fill: color-mix(in srgb, var(--lime) 45%, var(--paper-100)); }
.road.go0 .br0, .road.go1 .br1 { fill: var(--lime); }
.road.go0 .br1, .road.go1 .br0 { opacity: .4; }
.road .trunk { fill: var(--paper-200); }
.walker .legL, .walker .legR, .walker .armL, .walker .armR { transform-box: fill-box; transform-origin: 50% 0%; }
.walker.walking .legL, .walker.walking .armR { animation: swing .42s ease-in-out infinite alternate; }
.walker.walking .legR, .walker.walking .armL { animation: swing .42s ease-in-out infinite alternate-reverse; }
.walker.walking .bob { animation: bob .21s ease-in-out infinite alternate; }
@keyframes swing {
  from { transform: rotate(-20deg); }
  to { transform: rotate(20deg); }
}
@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(-2px); }
}
.qhint { text-align: center; font-size: 15px; color: var(--ink-muted); margin: 16px 0 0; }
.fadeio { animation: enter .35s ease; }
.qres h2 { font-size: clamp(34px,5.4vw,50px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin: 4px 0 14px; }
.qres p { color: var(--ink-muted); font-size: 18px; margin: 0 0 16px; }
.qsec { font-size: 15px; color: var(--ink-muted); margin: 0 0 10px; font-weight: 600; }
.meter { margin: 18px 0; }
.meter .mt { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 8px; }
.meter .mt b { font-weight: 700; }
.segs { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; }
.segs i { height: 11px; border-radius: 0; background: var(--paper-300); }
.segs i.f { background: var(--ink-muted); }
.qnote { background: color-mix(in srgb, var(--lime) 25%, var(--paper-100)); border-radius: 0; padding: 14px 16px; font-size: 16.5px; color: var(--ink-head); margin: 0 0 12px; }
.qsub { font-size: 16px; color: var(--ink-muted); margin: 0 0 12px; }
.qbtns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 560px) {
  .sign { font-size: 16px; padding: 12px 10px; min-height: 76px; }
  .signs { gap: 8%; }
}
@media (prefers-reduced-motion: reduce) {
  .screen.on, .xtxt, .fadeio { animation: none; }
  .xs, .xp, .xdraw, .xghost, .rb-band, .rb-min, .pcard { transition: none!important; }
  .walker.walking * { animation: none!important; }
}

/* limits: at least / at most */
.arow { padding: 20px 0; border-top: 1px solid var(--paper-300); display: grid; gap: 14px; }
.anm { font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.anm small { display: block; font-weight: 500; font-size: 15px; color: var(--ink-muted); letter-spacing: 0; margin-top: 2px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plabel { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .08em; }
.plabel .stepper { gap: 6px; }
.plabel .stepper button { width: 50px; height: 50px; }
.plabel .stepper output { min-width: 70px; font-size: 25px; color: var(--ink-head); letter-spacing: 0; text-transform: none; }
.stepper output.capped { color: var(--rust); }
.feas { background: color-mix(in srgb, var(--flare) 20%, var(--paper-100)); color: var(--ember-ink); border-radius: 0; padding: 14px 16px; font-size: 16.5px; font-weight: 600; margin: 6px 0 0; }
.rb-cap { position: absolute; top: -5px; bottom: -5px; width: 3px; background: var(--rust); border-radius: 0; transition: left .35s; }
.capnote { background: color-mix(in srgb, var(--lime) 25%, var(--paper-100)); color: var(--ink-head); border-radius: 0; padding: 18px 20px; font-size: 17px; line-height: 1.45; margin: 18px 0; }
.futhead { display: grid; gap: 12px; margin-bottom: 6px; }
@media (min-width: 1000px) {
  .futhead { grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: end; }
}
.futnote { margin: 0; font-size: 17px; color: var(--ink-muted); line-height: 1.5; }
.futnote b { color: var(--ink-head); }
.futgrid { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 1000px) {
  .futgrid { grid-template-columns: 1fr 1fr; }
}
.futc { border: 2px solid var(--grey-500); border-radius: 0; padding: 20px 22px; display: grid; gap: 14px; transition: border-color .15s; }
.futc.on { border-color: var(--ink-head); }
.futtop { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.futtop b { display: block; font-size: 20px; font-weight: 800; }
.futtop span { font-size: 15.5px; color: var(--ink-muted); }
.tog { flex: none; display: flex; border: 2px solid var(--ink-head); border-radius: 0; }   /* no overflow: hidden, which clipped the focus ring */
.tog button { border: 0; background: transparent; padding: 9px 16px; font-size: 15px; font-weight: 700; }
.tog button[aria-pressed="true"] { background: var(--ink-head); color: var(--paper-100); }
.futc .pair { transition: opacity .2s; }
.futc:not(.on) .pair { opacity: .35; pointer-events: none; }
@media (max-width: 560px) {
  .pair { grid-template-columns: 1fr 1fr; gap: 10px; }
  .plabel .stepper button { width: 44px; height: 44px; }
  .plabel .stepper output { min-width: 54px; font-size: 21px; }
}

/* ---------- added for the site ---------- */
.skip { position: absolute; left: 16px; top: -80px; z-index: 90; background: var(--ink-head); color: var(--paper-100); padding: 10px 16px; font-size: 15px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lede a, .msg a { color: var(--rust); font-weight: 700; }
.brand:hover b { text-decoration: underline; }
.offer { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 0 0 22px; padding: 6px 12px; background: var(--pink); color: var(--ink-head); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.offer b { font-size: 15px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.fterms { font-size: 15.5px; line-height: 1.55; color: var(--ink-muted); margin: 18px 0 0; max-width: 90ch; }
.lgrid>*, .futgrid>*, .pair>*, .sgrid>*, .xgrid>*, .pcard>* { min-width: 0; }
@media (max-width: 560px) {
  .panel { padding: 16px; }
  .futc { padding: 16px; }
  .futtop { flex-direction: column; }
  .plabel .stepper { gap: 4px; }
  .plabel .stepper button { width: 40px; height: 40px; }
  .plabel .stepper output { min-width: 48px; font-size: 20px; }
}
.hgrid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
@media (min-width: 900px) {
  .hgrid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.hopt { display: flex; align-items: center; gap: 12px; text-align: left; border: 2px solid var(--grey-500); background: var(--paper-100); border-radius: 0; padding: 16px 20px; font-size: 18px; font-weight: 700; }
.hopt:hover { border-color: var(--ink-muted); }
.hopt .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--grey-500); display: grid; place-items: center; font-size: 14px; font-weight: 800; color: transparent; }
.hopt[aria-checked="true"] { border-color: var(--ink-head); box-shadow: 0 0 0 4px var(--lime); }
.hopt[aria-checked="true"] .tick { background: var(--lime); border-color: var(--ink-head); color: var(--ink-head); }
.lnote { font-size: 15.5px; line-height: 1.5; color: var(--ink-muted); margin: 0; padding: 14px 0 0; border-top: 1px solid var(--paper-300); }
.show-placeholders [data-placeholder="true"] { position: relative; }
.show-placeholders [data-placeholder="true"]::after { content: 'SAMPLE'; position: absolute; top: 0; right: 0; z-index: 3; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; line-height: 1.5; padding: 2px 6px; background: var(--flare); color: var(--ink-head); pointer-events: none; }


/* ---------------------------------------------------------------- Statutory footer */
.sfoot { background: var(--slate-900); color: var(--grey-300); padding: 40px 0 calc(var(--bot) + 32px + env(safe-area-inset-bottom,0px)); }
.sfoot__in { max-width: 1360px; margin: 0 auto; padding: 0 28px; }
.sfoot .t-legal { font-family: var(--font-mono); font-size: var(--legal-size); line-height: var(--legal-lh); color: var(--grey-400); }
.sfoot p { margin: 0; }
.sfoot a { color: var(--grey-100); text-underline-offset: 3px; }
.sfoot a:hover { color: var(--azure); }
.sfoot a:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; }
.sfoot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-bottom: 24px; border-bottom: 1px solid var(--slate-600); }
.sfoot__links a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--grey-300); }
.sfoot .footer__reg { display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid var(--slate-600); }
.sfoot .footer__statutory { display: grid; gap: 6px; padding-top: 20px; }
.sfoot .footer__disc { padding-top: 20px; max-width: 120ch; }
.sfoot .footer__disc strong { color: var(--grey-100); font-weight: 600; }
.sfoot .footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; }
.sfoot .footer__base a { text-decoration: none; }
@media (max-width: 760px) {
  .sfoot { padding-bottom: calc(var(--bot) + 72px + env(safe-area-inset-bottom,0px)); }   /* the bottom bar wraps to two rows on phones */
  .sfoot__in { padding: 0 16px; }
  .sfoot__links { gap: 10px 20px; }
}

/* ------------------------------ Depth (tokens.css, --lit-*) ------------------------------ */
.rb-track { border-radius: 8px; box-shadow: var(--lit-well); }
.rb-band { border-radius: 8px; background-image: var(--lit-bar); }
.rb-dot { background-image: var(--lit-bead); box-shadow: var(--lit-drop); }
.segs i { border-radius: 2px; box-shadow: var(--lit-well); }
.segs i.f { background-image: var(--lit-bar); box-shadow: var(--lit-drop); }

/* ------------------------------ Short screens ------------------------------
   480px tall or less (a phone on its side, or a zoomed window): the top and
   bottom bars scroll with the page, so they never cover the step. */
@media (max-height: 480px) {
  .topbar, .botbar { position: static; }
  html { scroll-padding-top: 0; }
  main { padding-top: 0; padding-bottom: 0; }
  .screen { min-height: 0; }
  .sfoot { padding-bottom: calc(32px + env(safe-area-inset-bottom,0px)); }
}

/* Read by screen readers, not shown: the one status line for part and pace changes */
.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; }
