/* Direction C — "Signal". Poster colour fields, heavy wide Noto Sans, one instrument. */
:root {
  --navy: #002337;
  --navy-2: #0A3550;      /* one step up from navy, for tracks and rules on dark */
  --navy-3: #164A66;
  --teal: #05C3A5;
  --teal-ink: #028E78;
  --mint: #AAEBDC;
  --paper: #F2F6F4;       /* warm-neutral off-white */
  --white: #ffffff;
  --ink: #002337;
  --ink-2: #33505F;       /* secondary text on light: 8.6:1 on paper */
  --ink-3: #557080;       /* muted text on light: 5.2:1 on paper */
  --on-dark-2: #B4CCD6;   /* secondary text on navy: 9.5:1 */
  --gutter: clamp(32px, 4.4vw, 64px);
  /* type scale (1366 reference): 19 body / 21 option / 32-42 question / 60+ display */
  --t-opt: clamp(19px, 1.5vw, 21px);
  --t-opt-l: clamp(21px, 1.7vw, 24px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  font-optical-sizing: auto;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
:focus-visible { outline: 4px solid var(--teal); outline-offset: 4px; }

.num { font-variant-numeric: tabular-nums; }
.eyebrow {
  font-stretch: 75%;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.logo { display: block; width: 168px; }
.logo svg { display: block; width: 100%; height: auto; }

/* colour fields */
.f-navy { background: var(--navy); color: var(--white); }
.f-teal { background: var(--teal); color: var(--navy); }
.f-mint { background: var(--mint); color: var(--navy); }
.f-paper { background: var(--paper); color: var(--navy); }

/* ---------------- instrument ---------------- */
.ins { display: block; width: 100%; height: auto; overflow: visible; }
.ins-track { fill: none; stroke: var(--ins-track, rgba(0, 35, 55, .14)); stroke-linecap: round; }
.ins-fill {
  fill: none;
  stroke: var(--ins-fill, var(--navy));
  transition: stroke-dashoffset .62s var(--ease-out), stroke .3s;
}
.ins-tick { stroke: var(--ins-tick, var(--teal-ink)); stroke-linecap: butt; fill: none; }
.ins-tick-halo { stroke: var(--ins-tick-halo, var(--mint)); stroke-linecap: butt; fill: none; }
.ins-tick[d=""], .ins-tick-halo[d=""] { display: none; }
.ins-label-v { font-weight: 900; font-stretch: 100%; fill: var(--ins-value, currentColor); }
.ins-label {
  fill: var(--ins-label, var(--navy));
  font-stretch: 75%;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .02em;
}
.ins-center {
  fill: var(--ins-label, var(--navy));
  font-weight: 900;
  font-size: 96px;
  letter-spacing: -.03em;
}
.ins-ring.is-active .ins-track { stroke: var(--ins-active, rgba(255, 255, 255, .32)); animation: ringPulse 1.6s ease-in-out infinite; }
@keyframes ringPulse { 50% { stroke: var(--ins-active-2, rgba(255, 255, 255, .12)); } }

.ins--teal { --ins-track: rgba(0, 35, 55, .34); --ins-fill: var(--navy); --ins-label: var(--navy); }
.ins--navy { --ins-track: #3F6578; --ins-fill: var(--white); --ins-label: var(--white); --ins-active: var(--teal); --ins-active-2: #2B6A86; }
.ins--navy .ins-ring.is-active { --ins-fill: var(--teal); }
.ins--navy .ins-ring.is-active .ins-track { stroke-width: 5px; }
.ins--avg { --ins-track: var(--navy-2); --ins-fill: var(--mint); --ins-label: var(--white); }

/* ---------------- buttons ---------------- */
.press { transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out), background-color .2s; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 64px; padding: 0 30px;
  font-weight: 800; font-size: 22px; letter-spacing: -.005em;
  border-radius: 999px;
}
.btn-teal { background: var(--teal); color: var(--navy); box-shadow: 0 6px 0 var(--teal-ink); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 6px 0 #000F18; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.is-down { transform: translateY(5px); box-shadow: 0 1px 0 var(--teal-ink); }
.btn-navy.is-down { box-shadow: 0 1px 0 #000F18; }
.btn-ghost.is-down { transform: scale(.97); box-shadow: inset 0 0 0 2px currentColor; }
.btn svg { width: 28px; height: 28px; flex: none; }

/* =========================================================
   TOP
   ========================================================= */
.top-page { height: 100vh; height: 100dvh; overflow: hidden; }
.top-grid {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
}
.top-left {
  padding: var(--gutter);
  display: flex; flex-direction: column;
  position: relative;
}
.top-h1 {
  margin: auto 0 0;
  font-weight: 900;
  font-stretch: 100%;
  font-size: clamp(60px, 7vw, 100px);
  line-height: .92;
  letter-spacing: -.04em;
}
.top-h1 .ln { display: block; }
.top-h1 .hl { color: var(--teal); font-stretch: 72%; letter-spacing: -.025em; }
.motion .top-h1 .ln:nth-child(1) { animation-delay: .18s; }
.motion .top-h1 .ln:nth-child(2) { animation-delay: .26s; }
.motion .top-h1 .ln:nth-child(3) { animation-delay: .34s; }
.motion .top-h1 .ln:nth-child(4) { animation-delay: .42s; }
.motion .top-cta.rise { animation-delay: .55s; }
.motion .logo.rise { animation-delay: .1s; }
.top-cta { margin-top: clamp(36px, 5vh, 56px); display: flex; align-items: center; gap: 24px; }
.top-cta .btn { min-height: 96px; padding: 0 44px 0 48px; font-size: 30px; }
.top-cta .btn svg { width: 36px; height: 36px; }
.top-cta .btn .arrow { animation: nudge 2.4s var(--ease-out) infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: translateX(0); } 80% { transform: translateX(7px); } }
.top-fine { margin: auto 0 0; padding-top: 28px; font-size: 18px; color: var(--on-dark-2); }
.top-fine[hidden], .top-qr[hidden] { display: none; }
/* booth device: a small QR under the button, so the button stays the main way in */
.top-qr { margin: auto 0 0; padding-top: 20px; display: flex; align-items: center; gap: 18px; }
.top-qr .qr { width: 92px; height: 92px; padding: 7px; border-radius: 10px; }
@media (min-width: 901px) { .has-qr .top-h1 { font-size: clamp(56px, min(7vw, 9.6vh), 100px); } }   /* short screens: room for the QR */
.top-qr p { margin: 0; }
.top-qr b { display: block; font-weight: 800; font-size: 21px; line-height: 1.2; }
.top-qr span { display: block; margin-top: 3px; font-size: 16px; color: var(--on-dark-2); }
.motion .top-qr.rise { animation-delay: .7s; }

.top-right {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 36px 32px 30px;
  overflow: hidden;
}
.top-ins {
  width: min(100%, calc(100vh - 460px), 540px);
  aspect-ratio: 1;
  display: block;
  position: relative;
}
.top-ins .ins-center { font-size: 96px; }
/* attract caption: who (icon badge + short industry) and what the score means (band scale) */
.top-meta { width: min(100%, 540px); display: grid; gap: 20px; margin-top: clamp(14px, 2.2vh, 26px); }
/* who: "A real European bank" (large type) / "Revenue €10bn+ · name hidden" + lock (small). Height is reserved for a
   two-line first line, so the scale below never jumps between short and long nouns. */
.who { display: flex; align-items: center; gap: 18px; min-height: calc(2 * 1.02 * var(--who-fs) + 34px); --who-fs: clamp(30px, 2.75vw, 38px); transition: opacity .25s, transform .35s var(--ease-out); }
.who.is-off { opacity: 0; transform: translateY(8px); }
.who-t { min-width: 0; }
.who-1 { margin: 0; font-weight: 900; font-size: var(--who-fs); line-height: 1.02; letter-spacing: -.02em; font-stretch: 87.5%; text-wrap: balance; }
.who-2 { margin: 8px 0 0; display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; line-height: 1.1; color: var(--navy); opacity: .78; }
.who-2 .lock { width: 21px; height: 21px; flex: none; margin-top: -2px; }
.badge { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.badge .ico { width: 36px; height: 36px; }
.badge.is-large { background: var(--navy); color: var(--teal); }
.badge.is-mid { box-shadow: inset 0 0 0 4px var(--navy); color: var(--navy); }
.f-paper .badge.is-large, .f-mint .badge.is-large { color: var(--white); }
.f-navy .badge.is-large { background: var(--teal); color: var(--navy); }
.f-navy .badge.is-mid { box-shadow: inset 0 0 0 3px var(--teal); color: var(--white); }
.sz { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); margin: 0 6px 0 0; vertical-align: -1px; }
.sz.mid { background: transparent; box-shadow: inset 0 0 0 2.5px var(--navy); margin-left: 10px; }

/* band scale */
.bscale { position: relative; padding-bottom: 40px; }
.bs-track { position: relative; display: flex; gap: 4px; height: 14px; }
.bs-seg { display: block; border-radius: 2px; background: rgba(0, 35, 55, .22); transition: background-color .4s; }
.bs-seg.past { background: rgba(0, 35, 55, .5); }
.bs-seg.on { background: var(--navy); }
.bs-mark { position: absolute; top: -9px; width: 6px; height: 32px; margin-left: -3px; background: var(--navy); border-radius: 1px; box-shadow: 0 0 0 3px var(--teal); transition: left .9s var(--ease-out); }
.bs-name { position: absolute; top: 28px; white-space: nowrap; font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -.01em; transition: left .5s var(--ease-out), right .5s var(--ease-out); }
.bs-val { position: absolute; top: 34px; transform: translateX(-50%); display: flex; align-items: baseline; gap: 4px; white-space: nowrap; transition: left .9s var(--ease-out); }
.bs-val.is-l { transform: translateX(-12px); }
.bs-val.is-r { transform: translateX(calc(-100% + 12px)); }
.bs-val b { font-weight: 900; font-size: clamp(48px, 4.4vw, 60px); line-height: .9; letter-spacing: -.04em; }
.bs-val span { font-weight: 800; font-size: 22px; color: var(--on-dark-2); }
.f-navy .bs-seg { background: rgba(255, 255, 255, .16); }
.f-navy .bs-seg.past { background: rgba(255, 255, 255, .42); }
.f-navy .bs-seg.on { background: var(--teal); }
.f-navy .bs-mark { background: var(--white); box-shadow: 0 0 0 3px var(--navy); }

.facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
}
.facts-half { display: flex; align-items: center; gap: clamp(28px, 4.4vw, 64px); padding: 20px var(--gutter); min-width: 0; }
.facts-half + .facts-half { box-shadow: inset 2px 0 0 rgba(0, 35, 55, .1); padding-right: 24px; }
.fact { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.fact b { font-weight: 900; font-size: clamp(56px, 5.6vw, 80px); line-height: .9; letter-spacing: -.045em; }
.fact span { font-size: 22px; font-weight: 800; font-stretch: 87.5%; line-height: 1.12; letter-spacing: -.005em; }
.fact small { display: block; font-size: 18px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-top: 3px; }
@media (min-width: 901px) and (max-width: 1100px) {   /* 1024 wide: "6 industries" fits inside the strip */
  .facts-half { gap: 24px; }
  .facts-half + .facts-half { padding-left: 24px; }
  .fact { gap: 10px; }
  .fact b { font-size: 48px; }
  .fact span { font-size: 19px; }
  .fact small { font-size: 15px; }
}

/* =========================================================
   QUESTION
   ========================================================= */
.q-page { height: 100vh; height: 100dvh; overflow: hidden; }
.q-grid { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); }
.q-left {
  padding: 36px 20px 36px var(--gutter);
  display: flex; flex-direction: column;
  position: relative;
}
.q-left .logo { width: 150px; }
.q-ins-wrap { flex: 1; display: grid; place-items: center; min-height: 0; margin: 8px 0 0; }
.q-ins { width: min(100% + 12px, calc(100vh - 150px)); max-width: 620px; aspect-ratio: 1; margin-left: -12px; }
.q-ins .ins-center { font-size: 120px; fill: var(--teal) !important; }

.q-right { padding: 32px var(--gutter) 36px; display: flex; flex-direction: column; min-height: 0; }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.q-back {
  width: 60px; height: 60px; border-radius: 50%;
  display: inline-grid; place-items: center;
  box-shadow: inset 0 0 0 2px rgba(0, 35, 55, .22);
}
.q-back svg { width: 28px; height: 28px; }
.q-back.is-down { transform: scale(.94); }
.q-back[disabled] { opacity: .3; }
.q-step { font-size: 22px; font-weight: 700; color: var(--ink-3); display: inline-flex; align-items: baseline; gap: 4px; }
.q-step b { color: var(--navy); font-weight: 900; font-size: 34px; letter-spacing: -.03em; }
.q-step i { font-style: normal; font-weight: 400; font-size: 26px; color: rgba(0, 35, 55, .28); margin: 0 1px; }

.q-text {
  margin: clamp(22px, 3.4vh, 40px) 0 0;
  font-weight: 800;
  font-size: clamp(32px, 3.1vw, 42px);
  line-height: 1.12;
  letter-spacing: -.02em;
  max-width: 24em;
  text-wrap: pretty;
}
.q-hint { margin: 12px 0 0; font-size: 19px; color: var(--ink-2); max-width: 60ch; display: flex; align-items: baseline; gap: 12px; }
.q-hint::before { content: ""; flex: none; width: 22px; height: 3px; background: var(--teal); transform: translateY(-6px); }
.q-hint[hidden] { display: none; }

.opts { list-style: none; margin: clamp(18px, 2.6vh, 30px) 0 0; padding: 0; display: flex; flex-direction: column; gap: clamp(8px, 1.2vh, 12px); flex: 1; min-height: 0; }
.opts li { flex: 1 0 auto; min-height: 64px; display: flex; position: relative; }
.opt {
  flex: 1; min-width: 0;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px; align-items: center; column-gap: 20px;
  text-align: left;
  background: var(--white);
  border-radius: 14px;
  padding: 8px 20px 8px 10px;
  box-shadow: 0 0 0 1.5px rgba(0, 35, 55, .10), 0 5px 0 rgba(0, 35, 55, .13);
  transition: transform .11s var(--ease-out), box-shadow .16s var(--ease-out);
}
/* selection fills the row like a ring segment: a teal field sweeps in from the level tile */
.opt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--teal);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .34s var(--ease-out);
}
.opt.is-sel::before { transform: none; }
.opt.is-down { transform: translateY(4px); box-shadow: 0 0 0 1.5px rgba(0, 35, 55, .16), 0 1px 0 rgba(0, 35, 55, .16); }
.opt-lvl {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(0, 35, 55, .08);
  font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -.03em;
  transition: background-color .2s .08s, color .2s .08s, box-shadow .2s;
}
.opt-txt { font-size: var(--t-opt); line-height: 1.32; font-weight: 400; color: var(--ink-2); text-wrap: pretty; transition: color .2s .06s; }
.opt-txt .k { font-weight: 750; color: var(--ink); }
.opt-check { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(0, 35, 55, .16); display: grid; place-items: center; color: var(--teal); transition: background-color .2s .1s, box-shadow .2s; }
.opt-check svg { width: 24px; height: 24px; }
.opt-check .ck { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .3s .16s var(--ease-out); }
.opt.is-sel { box-shadow: 0 0 0 1.5px var(--teal-ink), 0 5px 0 var(--teal-ink); }
.opt.is-sel .opt-lvl { background: var(--navy); color: var(--teal); box-shadow: none; }
.opt.is-sel .opt-txt, .opt.is-sel .opt-txt .k { color: var(--navy); }
.opt.is-sel .opt-txt { font-weight: 500; }
.opt.is-sel .opt-txt .k { font-weight: 800; }
.opt.is-sel .opt-check { background: var(--navy); box-shadow: none; }
.opt.is-sel .opt-check .ck { stroke-dashoffset: 0; }

/* ?v=split fallback: short label answers; the separate 56px "+" only opens the full sentence */
.v-split .opt { grid-template-columns: 52px minmax(0, 1fr); padding-right: 92px; }
.v-split .opt-txt { color: var(--ink); }
.v-split .lab { display: block; font-size: var(--t-opt-l); font-weight: 650; line-height: 1.22; letter-spacing: -.005em; }
.v-split .full { display: none; margin-top: 6px; font-size: 18px; line-height: 1.34; color: var(--ink-2); }
.v-split .row.open .full { display: block; }
.motion .v-split .row.open .full { animation: fadeUp .25s var(--ease-out) both; }
.more { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; display: grid; place-items: center; z-index: 2; }
.more::before { content: ""; position: absolute; left: -6px; top: 4px; bottom: 4px; width: 1.5px; background: rgba(0, 35, 55, .12); }
.more .box { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(0, 35, 55, .2); transition: background-color .15s, color .15s; }
.more .box svg { width: 22px; height: 22px; }
.more .vbar { transition: transform .2s var(--ease-out); transform-origin: center; transform-box: fill-box; }
.row.open .more .vbar { transform: scaleY(0); }
.row.open .more .box { background: var(--navy); color: var(--white); box-shadow: none; }
.more.is-down .box { transform: scale(.94); }
.row.is-sel .more::before { background: rgba(0, 35, 55, .25); }
.row.is-sel .full { color: var(--navy); }

/* question change: old content slides out left, new content arrives from the right, staggered */
.opts.is-leaving .opt, .q-head.is-leaving { opacity: 0; transform: translateX(-24px); transition: opacity .2s, transform .24s var(--ease-out); }
.opts.is-leaving .more { opacity: 0; transition: opacity .15s; }
.q-head.is-entering { animation: optIn .42s var(--ease-out) both; }
.opts.is-entering .opt, .opts.is-entering .more { animation: optIn .42s var(--ease-out) both; }
.opts.is-entering li:nth-child(1) > * { animation-delay: .04s; }
.opts.is-entering li:nth-child(2) > * { animation-delay: .08s; }
.opts.is-entering li:nth-child(3) > * { animation-delay: .12s; }
.opts.is-entering li:nth-child(4) > * { animation-delay: .16s; }
.opts.is-entering li:nth-child(5) > * { animation-delay: .20s; }
@keyframes optIn { from { opacity: 0; transform: translateX(32px); } }
.opts.is-entering .more { animation-name: fadeIn; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

/* =========================================================
   SUMMARY
   ========================================================= */
.s-bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter); height: 84px;
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid var(--navy-2);
}
.s-bar .logo { width: 150px; }
.s-bar .sp { flex: 1; }
.s-bar .btn { min-height: 56px; font-size: 19px; padding: 0 24px; }

.s-hero {
  height: calc(100vh - 84px); min-height: 640px; max-height: 1100px;
  display: grid;
  grid-template-columns: minmax(380px, .74fr) minmax(0, 1.26fr);
}
.s-hero > * { min-width: 0; }
.s-score { padding: clamp(28px, 4.4vh, 52px) var(--gutter) clamp(28px, 4.4vh, 48px); display: flex; flex-direction: column; }
/* v4: three blocks on the navy column, spaced evenly: headline (band name + index), comparisons, button */
.s-score { justify-content: space-between; }
.s-bandname { margin: 0 0 0 -.04em; overflow: hidden; overflow-wrap: normal; padding-bottom: .14em; margin-bottom: -.1em; font-weight: 900; font-stretch: 75%; font-size: clamp(96px, 9.4vw, 128px); line-height: .86; letter-spacing: -.045em; color: var(--teal); }
.s-bandname.is-long { font-size: clamp(72px, 6.6vw, 90px); }
.motion .s-bandname { animation: rise .7s .15s var(--ease-out) both; }
.s-band {
  margin-top: 24px; align-self: flex-start;
  background: var(--teal); color: var(--navy);
  font-weight: 900; font-size: clamp(30px, 2.9vw, 40px); letter-spacing: -.02em; line-height: 1.1;
  padding: 6px 22px 9px; border-radius: 10px;
}
.s-lead { margin: 0; padding-top: 0; font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
.s-lead b { font-weight: 900; color: var(--teal); font-size: 1.5em; letter-spacing: -.03em; }
.s-lead span { font-weight: 900; }
.s-vs { margin-top: 22px; display: grid; gap: 10px; }
.s-vs div { display: flex; align-items: baseline; gap: 14px; font-size: 19px; color: var(--on-dark-2); }
.nw { white-space: nowrap; } /* keeps "€1–10bn revenue" from splitting at the dash */
.s-vs b { font-weight: 900; font-size: clamp(32px, 2.9vw, 40px); color: var(--white); min-width: 3.2ch; letter-spacing: -.02em; }
.s-cta-btn { margin-top: 0; align-self: stretch; min-height: 80px; font-size: clamp(20px, 1.75vw, 24px); font-stretch: 75%; white-space: nowrap; padding: 0 24px; }

.s-lanes { padding: clamp(24px, 4vh, 44px) clamp(28px, 3.4vw, 52px) 20px; display: flex; flex-direction: column; min-height: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.sec-head h2, .s-prof-text h2 { margin: 0; font-weight: 900; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: -.03em; }
.chart-host { flex: 1; min-height: 0; position: relative; }
.chart-host > svg { position: absolute; left: 0; top: 0; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 18px; font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 9px; }
.lg-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); }
.lg-dot.mid { background: var(--paper); box-shadow: inset 0 0 0 3px var(--navy); }
.lg-you { width: 22px; height: 22px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 3px var(--navy); }
.lg-avg { width: 5px; height: 26px; background: var(--teal-ink); border-radius: 1px; }
.ins-avg { fill: none; stroke: var(--teal-ink); stroke-linecap: round; }
.ins-avg-end { fill: var(--teal-ink); }
.s-profile .lg-avg { width: 30px; height: 4px; border-radius: 2px; position: relative; }
.s-profile .lg-avg::after { content: ""; position: absolute; right: -4px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-ink); }
.lg-bar { width: 30px; height: 16px; border-radius: 2px; background: var(--navy); }
.lanes-svg { display: block; width: 100%; height: auto; overflow: visible; }
.lanes-svg text { font-family: inherit; }
.ln-band { fill: rgba(0, 35, 55, .045); }
.ln-band.alt { fill: rgba(0, 35, 55, 0); }
.ln-band.on { fill: rgba(5, 195, 165, .14); }
.ln-band-lbl { font-size: 17px; font-stretch: 75%; font-weight: 700; fill: var(--ink-3); }
.ln-band-lbl.on { fill: var(--navy); font-weight: 900; }
.ln-rule { stroke: rgba(0, 35, 55, .12); stroke-width: 1; }
.ln-lane-lbl { font-size: 18px; font-weight: 700; fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.ln-lane-lbl.is-you { fill: var(--navy); font-weight: 900; }
.ln-axis { font-size: 17px; fill: var(--ink-3); font-variant-numeric: tabular-nums; font-weight: 600; }
.ln-avg { stroke: var(--teal-ink); stroke-width: 4; stroke-linecap: butt; }
.ln-avg-n { font-size: 19px; font-weight: 800; fill: var(--navy); font-variant-numeric: tabular-nums; }
.ln-dot { fill: var(--navy); stroke: var(--paper); stroke-width: 2; }
.ln-dot.mid { fill: var(--paper); stroke: var(--navy); stroke-width: 3; }
.ln-hit { fill: transparent; cursor: pointer; }
.ln-you-line { stroke: var(--teal); stroke-width: 2; }
.ln-you { fill: var(--teal); stroke: var(--navy); stroke-width: 3; }
.ln-you-tag rect, .ln-you-tag path { fill: var(--navy); }
/* tie count marker: heavy arc = revenue €10bn+, hairline = €1–10bn, numeral = how many */
.ln-tok-bg { fill: var(--paper); }
.ln-tok-mid { fill: none; stroke: var(--navy); stroke-width: 2; }
.ln-tok-large { fill: none; stroke: var(--navy); stroke-width: 5; stroke-linecap: butt; }
.ln-tok-n { font-size: 15px; font-weight: 900; fill: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ln-tok.is-picked .ln-tok-bg { fill: var(--mint); }
.motion .ln-lane { animation: laneIn .6s var(--ease-out) both; animation-delay: calc(.35s + var(--i) * 70ms); }
@keyframes laneIn { from { opacity: 0; transform: translateX(-14px); } }
.motion .ln-you-g { animation: youIn .5s 1s var(--ease-spring) both; transform-box: fill-box; transform-origin: center; }
@keyframes youIn { from { opacity: 0; transform: scale(.4); } }
.motion .ln-you-line { animation: lineIn .6s .9s var(--ease-out) both; transform-box: fill-box; transform-origin: top; }
@keyframes lineIn { from { transform: scaleY(0); } }
.ln-you-tag text { fill: var(--white); font-weight: 800; font-size: 18px; }
.ln-dot.is-picked { stroke: var(--teal); stroke-width: 4; }
.lane-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 6px; font-size: 18px; color: var(--ink-2); }
.lane-tools .btn { min-height: 56px; font-size: 18px; padding: 0 22px; }
#tableWrap { overflow: auto; max-height: 40vh; }
.lane-table { margin-top: 12px; width: 100%; border-collapse: collapse; font-size: 18px; font-variant-numeric: tabular-nums; }
.lane-table th, .lane-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(0, 35, 55, .12); }
.lane-table th { font-stretch: 80%; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; color: var(--ink-3); }

/* per question */
.s-profile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; padding: 48px var(--gutter); }
.s-prof-text { display: flex; flex-direction: column; gap: 26px; }
.legend-col { flex-direction: column; align-items: flex-start; gap: 12px; }
.s-call { margin: 12px 0 0; display: grid; gap: 22px; }
.s-call div { border-top: 2px solid var(--navy); padding-top: 12px; }
.s-call dt { font-size: 18px; font-weight: 700; font-stretch: 80%; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.s-call dd { margin: 4px 0 0; font-size: 32px; font-weight: 900; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.s-call dd b { font-size: 40px; color: var(--navy); }
.s-prof-ins { display: grid; place-items: center; }
.s-prof-ins svg { width: min(100%, 640px); }

/* end: booking + fine print */
.s-end { padding: 56px var(--gutter) 40px; display: grid; gap: 40px; }
.s-book { display: flex; gap: 32px; align-items: center; }
.qr { flex: none; width: 176px; height: 176px; background: var(--white); border-radius: 14px; padding: 12px; }
.qr svg { width: 100%; height: 100%; display: block; }
.s-book h3 { margin: 0 0 8px; font-weight: 900; font-size: clamp(36px, 3.4vw, 48px); line-height: 1; letter-spacing: -.03em; }
.s-book p { margin: 0; font-size: 21px; color: var(--on-dark-2); }
/* own device: "Email us" button, LinkedIn as a quieter link beside it */
.book-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.book-li { font-weight: 700; font-size: 18px; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.fineprint { margin: 0; padding-top: 20px; border-top: 1px solid var(--navy-3); font-size: 18px; color: var(--on-dark-2); max-width: 90ch; }

/* lead form sheet */
.sheet { position: fixed; inset: 0; z-index: 20; display: grid; place-items: end center; background: rgba(0, 20, 32, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet-card { width: min(880px, 100%); background: var(--paper); border-radius: 26px 26px 0 0; padding: 40px 48px 48px; transform: translateY(40px); transition: transform .35s var(--ease-out); }
.sheet.open .sheet-card { transform: none; }
.sheet h3 { margin: 0 0 6px; font-weight: 900; font-size: 36px; letter-spacing: -.02em; }
.sheet p { margin: 0 0 24px; color: var(--ink-2); }
.sheet-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sheet-fields label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 18px; }
.sheet-fields input { font: inherit; font-size: 20px; min-height: 60px; border-radius: 12px; border: 2px solid rgba(0, 35, 55, .2); padding: 0 16px; background: var(--white); color: var(--navy); }
.sheet-actions { display: flex; gap: 16px; margin-top: 28px; justify-content: flex-end; }

/* tighter iPad Air landscape */
@media (max-height: 860px) {
  .top-h1 { font-size: clamp(60px, 6.9vw, 88px); }
  .top-cta .btn { min-height: 84px; font-size: 27px; }
  .facts-half { padding-top: 14px; padding-bottom: 14px; }
  .fact b { font-size: 56px; }
  .top-right { padding: 24px 28px 20px; }
  .top-meta { gap: 14px; margin-top: 10px; }
  .top-ins { width: min(100%, calc(100vh - 360px), 540px); }
  .who { gap: 14px; }
  .q-left, .q-right { padding-top: 26px; padding-bottom: 26px; }
  .q-text { font-size: 32px; }
  .s-bandname { font-size: 92px; }
  .s-bandname.is-long { font-size: 66px; }
  .s-scale { padding-bottom: 58px; }
  .bs-val b { font-size: 46px; }
  .s-band { margin-top: 18px; font-size: 30px; }
  .s-lead { font-size: 27px; }
  .s-bar { height: 72px; }
  .s-hero { height: calc(100vh - 72px); }
  .s-cta-btn { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* instrument label states */
.ins--navy .ins-label { fill: var(--on-dark-2); }
.ins-label { transition: fill .25s, opacity .25s; }
.ins-label.is-dim { opacity: .62; }
.ins--navy .ins-label.is-active { fill: var(--teal); opacity: 1; }
.ins--navy .ins-center { fill: var(--white); }

/* question screen: the open quadrant is the progress map.
   answered = white + level, current = teal, still to come = dim */
.q-ins .ins-label { fill: var(--white); font-weight: 700; font-stretch: 78%; }
.q-ins .ins-label.is-dim { opacity: 1; }
.q-ins .ins-label.is-todo { fill: #6E8D9C; font-weight: 600; }
.q-ins .ins-label.is-active { fill: var(--teal); font-weight: 900; font-stretch: 85%; }
.q-ins .ins-label-v { fill: var(--teal); }

.ins--you { --ins-track: rgba(0, 35, 55, .4); --ins-fill: var(--navy); --ins-label: var(--navy); --ins-tick: var(--teal); --ins-tick-halo: var(--navy); }

html, body { overflow-x: hidden; }

.s-band.pop { animation: bandPop .5s .75s var(--ease-spring) both; }
@keyframes bandPop { from { transform: scale(.6); opacity: 0; } }

.top-ins.is-down { transform: scale(.97); }
.ins-ring.just-filled .ins-fill.is-on { animation: ringFlash .7s var(--ease-out); }
@keyframes ringFlash { 0% { stroke: var(--white); } 100% { stroke: var(--ins-fill); } }


/* =========================================================
   v3 — motion system
   ========================================================= */
/* screen exit: a navy field sweeps in from the right edge */
.wipe { position: fixed; inset: 0; z-index: 50; background: var(--navy); transform: translateX(101%); transition: transform .38s var(--ease-io); pointer-events: none; }
.wipe::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: var(--teal); }
.wipe.is-on { transform: none; }
/* screen entry: the page opens from that navy field */
.motion body::after { content: ""; position: fixed; inset: 0; z-index: 49; background: var(--navy); pointer-events: none; animation: wipeOut .5s .02s var(--ease-io) both; box-shadow: inset 14px 0 0 var(--teal); }
@keyframes wipeOut { to { transform: translateX(-101%); } }
.motion .rise { animation: rise .7s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.v-split .opts li.open { flex: 0 0 auto; }
.v-split .opts li.open .opt { padding-top: 14px; padding-bottom: 14px; }

/* summary v3: score meaning */
.s-scale { margin-top: clamp(26px, 3.6vh, 40px); width: 100%; padding-bottom: 70px; }
.s-scale .bs-track { height: 16px; }
.s-scale .bs-mark { height: 36px; top: -10px; width: 8px; margin-left: -4px; }
.s-scale .bs-name { top: 32px; font-size: clamp(30px, 2.8vw, 38px); font-weight: 900; letter-spacing: -.025em; color: var(--teal); }
.motion .s-scale .bs-mark { animation: markIn 1s .2s var(--ease-out) both; }
@keyframes markIn { from { left: 0; } }
.motion .s-scale .bs-val { animation: markIn 1s .2s var(--ease-out) both; }
.s-rank { display: flex; gap: 2px; height: 28px; margin-top: 18px; }
.s-rank i { flex: 1; border-radius: 1px; background: rgba(255, 255, 255, .16); }
.s-rank i.on { background: var(--teal); }
.s-rank i.tie { background: var(--white); }
.motion .s-rank i.on { animation: tickOn .3s var(--ease-out) both; animation-delay: calc(.25s + var(--k) * 16ms); }
@keyframes tickOn { from { background: rgba(255, 255, 255, .16); } }
.s-vs div { align-items: center; }
.vs-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; color: var(--teal); }
.vs-ico .ico { width: 28px; height: 28px; }
.vs-ico .badge { width: 40px; height: 40px; }
.vs-ico .badge .ico { width: 24px; height: 24px; }
.ln-ico { color: var(--ink-2); }
.ln-ico.is-you { color: var(--navy); }
.lg-ico { display: inline-grid; color: var(--teal-ink); margin-left: 4px; }
.lg-ico .ico { width: 22px; height: 22px; }
.tip-hint { font-size: 17px; font-weight: 600; color: var(--ink-3); }
.lane-table caption { caption-side: top; text-align: left; font-size: 16px; font-weight: 700; color: var(--ink-3); padding: 0 10px 4px; }
.tap-ico { width: 32px; height: 32px; display: block; color: var(--teal-ink); }
.motion .tap-ico circle:not(:first-child) { animation: tapPulse 2.4s var(--ease-out) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes tapPulse { 0% { transform: scale(.6); opacity: .8; } 70%, 100% { transform: scale(1.1); opacity: 0; } }
.s-book h3 { margin: 0; }


/* =========================================================
   v5 — the screens before Q1 (industry, revenue, before you start)
   Same frame as the question screen: the instrument waits on the navy field,
   the visitor's badge is built in its centre, the choice is made on paper.
   ========================================================= */
:root { --err: #B3261E; }  /* error ink: 6.0:1 on paper, 6.6:1 on white */
.q-ins { position: relative; }
.setup-page .q-ins .ins-label.is-todo { fill: #7F9CAA; }
/* centre badge: dashed = nothing chosen yet, open ring = industry only; then the revenue code */
.me { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; color: var(--white); transition: background-color .3s, box-shadow .3s, color .3s; }
.me .ico { width: 50%; height: 50%; }
.me.is-empty { box-shadow: inset 0 0 0 2px #3F6578; }
.me.is-empty::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #3F6578; }
.me.is-open { box-shadow: inset 0 0 0 2px var(--on-dark-2); }
.me.is-large { background: var(--teal); color: var(--navy); }
.me.is-mid { box-shadow: inset 0 0 0 6px var(--teal); }
.me.is-small { box-shadow: inset 0 0 0 2.5px var(--teal); }
.me.pop { animation: mePop .5s var(--ease-spring); }
@keyframes mePop { 0% { transform: translate(-50%, -50%) scale(.7); } }
/* about: the rings are armed — a slow sweep of light runs around the tracks */
.motion .q-ins.is-ready .ins-track { animation: arm 2.8s var(--ease-io) infinite; animation-delay: calc(var(--r, 0) * 90ms); }
@keyframes arm { 0%, 100% { stroke: #3F6578; } 40% { stroke: #7FB9C9; } }

.steps { display: inline-flex; gap: 6px; }
.steps i { width: 30px; height: 6px; border-radius: 3px; background: rgba(0, 35, 55, .16); }
.steps i.past { background: var(--navy); }
.steps i.on { background: var(--teal); width: 48px; }
a.q-back { color: var(--navy); }

.setup-h { font-size: clamp(36px, 3.2vw, 46px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.motion .setup-h.rise { animation-delay: .15s; }

/* tiles: 2 x 3 industry tiles + one wide row; revenue = three tall rows */
.tiles { flex: 1; min-height: 0; margin-top: clamp(20px, 3vh, 36px); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)) minmax(72px, auto); gap: clamp(10px, 1.4vh, 14px); }
.tiles .tile.is-wide { grid-column: 1 / -1; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 10px;
  min-height: 64px; padding: 18px 20px 18px 22px; text-align: left;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 0 0 1.5px rgba(0, 35, 55, .10), 0 5px 0 rgba(0, 35, 55, .13);
  transition: transform .11s var(--ease-out), box-shadow .16s var(--ease-out);
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .34s var(--ease-out); }
.tile.is-sel::before { transform: none; }
.tile.is-down { transform: translateY(4px); box-shadow: 0 0 0 1.5px rgba(0, 35, 55, .16), 0 1px 0 rgba(0, 35, 55, .16); }
.tile.is-sel { box-shadow: 0 0 0 1.5px var(--teal-ink), 0 5px 0 var(--teal-ink); }
.tile-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--navy); transition: background-color .2s .08s, color .2s .08s; }
.tile-ico .ico { width: 38px; height: 38px; }
.tile.is-sel .tile-ico { background: var(--navy); color: var(--teal); }
.tile-t { font-weight: 800; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.12; letter-spacing: -.015em; padding-right: 40px; text-wrap: balance; }
.tile .opt-check { position: absolute; right: 18px; top: 18px; }
.tile.is-sel .opt-check { background: var(--navy); box-shadow: none; }
.tile.is-sel .opt-check .ck { stroke-dashoffset: 0; }
.tile.is-wide { flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; padding-top: 8px; padding-bottom: 8px; }
.tile.is-wide .tile-ico { width: 48px; height: 48px; }
.tile.is-wide .opt-check { top: 50%; margin-top: -20px; }
.tiles .tile.is-wide { min-height: 76px; }
.motion .tiles .tile { animation: optIn .46s var(--ease-out) both; animation-delay: calc(.2s + var(--k) * 45ms); }

.tiles-size { grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.tile-row .tile-t small { display: block; margin-top: 6px; font-size: 19px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.tile-row { flex-direction: row; align-items: center; justify-content: flex-start; gap: clamp(22px, 2.4vw, 34px); padding-left: clamp(24px, 2.6vw, 36px); }
.tile-row .opt-check { top: 50%; margin-top: -20px; right: 24px; }
.tile-row .tile-t { font-weight: 600; font-size: clamp(24px, 2.1vw, 30px); color: var(--ink-2); }
.tile-row .tile-t b { font-weight: 900; font-size: clamp(46px, 4.4vw, 64px); letter-spacing: -.04em; color: var(--navy); margin-right: .1em; font-variant-numeric: tabular-nums; }
.tile-row.is-sel .tile-t { color: var(--navy); }
/* the revenue code, as in the chart: solid = €10bn+, ring = €1–10bn, thin ring = under €1bn (compared with €1–10bn) */
.rev-g { flex: none; width: clamp(56px, 5vw, 72px); aspect-ratio: 1; border-radius: 50%; }
.rev-large { background: var(--navy); }
.rev-mid { box-shadow: inset 0 0 0 8px var(--navy); }
.rev-small { box-shadow: inset 0 0 0 3px var(--navy); transform: scale(.72); }

/* before you start */
.notes { list-style: none; flex: 1; min-height: 0; margin: clamp(22px, 3.4vh, 40px) 0 0; padding: 0; display: grid; grid-auto-rows: minmax(0, 1fr); gap: 0; }
.notes li { display: flex; align-items: center; gap: 28px; border-top: 1.5px solid rgba(0, 35, 55, .12); }
.notes li:last-child { border-bottom: 1.5px solid rgba(0, 35, 55, .12); }
.note-ico { flex: none; width: 88px; height: 88px; border-radius: 50%; background: var(--navy); color: var(--teal); display: grid; place-items: center; }
.note-ico .ico { width: 46px; height: 46px; }
.notes p { margin: 0; display: grid; gap: 2px; }
.notes b { font-weight: 900; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -.025em; }
.notes p span { font-size: clamp(19px, 1.6vw, 22px); color: var(--ink-2); }
.motion .notes li { animation: optIn .46s var(--ease-out) both; animation-delay: calc(.25s + var(--k) * 80ms); }
.about-end { display: flex; align-items: flex-start; gap: 24px; padding-top: clamp(20px, 3vh, 32px); }
.about-go { min-height: 96px; min-width: 260px; padding: 0 40px 0 48px; font-size: 32px; }
.about-go svg { width: 36px; height: 36px; }
.about-go .arrow { animation: nudge 2.4s var(--ease-out) infinite; }
.how { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 96px; padding: 0 18px 0 26px; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(0, 35, 55, .16); font-weight: 800; font-size: 22px; white-space: nowrap; text-align: left; }
.how.is-down { transform: scale(.98); }
.how .box { flex: none; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(0, 35, 55, .2); transition: background-color .15s, color .15s; }
.how .box svg { width: 22px; height: 22px; }
.how .vbar { transition: transform .2s var(--ease-out); transform-origin: center; transform-box: fill-box; }
.how[aria-expanded="true"] .vbar { transform: scaleY(0); }
.how[aria-expanded="true"] .box { background: var(--navy); color: var(--white); box-shadow: none; }
.how-panel { margin: 18px 0 0; padding: 18px 24px 18px 50px; background: var(--white); border-radius: 16px; box-shadow: 0 0 0 1.5px rgba(0, 35, 55, .10); font-size: 19px; line-height: 1.35; color: var(--ink-2); }
.how-panel[hidden] { display: none; }
.how-panel li + li { margin-top: 6px; }
.how-panel li::marker { font-weight: 900; color: var(--teal-ink); }
.motion .how-panel { animation: fadeUp .25s var(--ease-out) both; }
/* with the panel open the three notes give up height */
.how-open .note-ico { width: 60px; height: 60px; }
.how-open .note-ico .ico { width: 32px; height: 32px; }
.how-open .notes b { font-size: clamp(26px, 2.2vw, 30px); }

@media (max-height: 860px) {
  .setup-h { font-size: 38px; }
  .tile { padding: 14px 18px; }
  .tile-ico { width: 52px; height: 52px; }
  .tile-ico .ico { width: 30px; height: 30px; }
  .note-ico { width: 72px; height: 72px; }
  .note-ico .ico { width: 38px; height: 38px; }
  .notes b { font-size: 28px; }
  .about-go, .how summary { min-height: 84px; }
}

/* =========================================================
   v5 — lead form. Normal page flow (scrolls), fields in the top half for the on-screen keyboard.
   ========================================================= */
.f-page { min-height: 100vh; min-height: 100dvh; }
.f-grid { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
.f-left { padding: 36px var(--gutter) 40px; display: flex; flex-direction: column; }
.f-left .logo { width: 150px; }
.f-unlock { margin-top: auto; margin-bottom: auto; padding-top: 40px; }
.f-ho { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 14px 18px 16px 14px; border-radius: 16px; background: var(--teal); color: var(--navy); }
.f-ho[hidden] { display: none; }
.f-ho .qr { flex: none; width: 104px; height: 104px; padding: 7px; }
.f-ho p { margin: 0; }
.f-ho b { display: block; font-weight: 900; font-size: 20px; line-height: 1.15; letter-spacing: -.01em; }
.f-ho span { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.f-big { margin: 0 0 22px; display: flex; align-items: baseline; gap: 12px; }
.f-big b { font-weight: 900; font-size: clamp(88px, 8.6vw, 120px); line-height: .85; letter-spacing: -.05em; color: var(--teal); }
.f-big span { font-weight: 800; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.02em; }
.f-redact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.f-redact li { display: grid; grid-template-columns: 26px minmax(0, 210px) 20px; align-items: center; gap: 14px; color: var(--on-dark-2); }
.f-redact .ico { width: 26px; height: 26px; }
.f-redact .lock { width: 20px; height: 20px; color: var(--teal); }
.f-redact .bars { display: grid; gap: 5px; }
.f-redact .bars i { display: block; height: 7px; border-radius: 4px; background: var(--navy-3); }
.f-redact .bars i:first-child { background: #3F6578; }
.motion .f-redact li { animation: optIn .5s var(--ease-out) both; animation-delay: calc(.2s + var(--k) * 60ms); }

.f-right { padding: 36px var(--gutter) 40px; }
.f-head { min-height: 60px; display: flex; align-items: center; }
.f-h { margin: 0; font-weight: 900; font-size: clamp(34px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.03em; }
.f-fields { margin-top: clamp(20px, 3vh, 32px); display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 6px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label { font-weight: 800; font-size: 18px; }
.fld input, .fld select {
  font: inherit; font-size: 21px; width: 100%; min-height: 60px; padding: 0 48px 0 16px;
  border-radius: 12px; border: 2px solid rgba(0, 35, 55, .22); background: var(--white); color: var(--navy);
  -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
.fld input:focus, .fld select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(5, 195, 165, .45); }
.sel { position: relative; display: block; }
.sel::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg); pointer-events: none; }
.fld select:invalid, .fld select.is-empty, .fld select option[value=""] { color: var(--ink-3); }
.fld select.is-empty option:not([value=""]) { color: var(--ink); }
.fld-msg { margin: 0; min-height: 24px; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--err); }
.fld.is-err input, .fld.is-err select { border-color: var(--err); background: #FFF6F5; }
.fld.is-err label { color: var(--err); }
.fld-msg:not(:empty)::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -1px; border-radius: 50%; background: var(--err); -webkit-mask: radial-gradient(circle, transparent 0 0) , linear-gradient(#000, #000); }
.fld.is-ok input, .fld.is-ok select { border-color: var(--teal-ink); }
.fld.is-ok .sel::before, .fld.is-ok:not(:has(.sel))::after { content: ""; }
.fld { position: relative; }
.fld-wide { grid-column: 1 / -1; }
.fld.is-ok:not(:has(.sel)) input { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23028E78' stroke-width='4' stroke-linecap='square'%3E%3Cpath d='M7 17l6 6L25 10'/%3E%3C/svg%3E") no-repeat right 14px center / 22px; }
.motion .fld.is-err input, .motion .fld.is-err select { animation: shake .32s var(--ease-out); }
@keyframes shake { 25% { transform: translateX(-5px); } 60% { transform: translateX(4px); } }

.f-checks { margin-top: 12px; display: grid; gap: 14px; }
.chk-row { display: grid; gap: 2px; }
.chk { display: flex; align-items: flex-start; gap: 16px; min-height: 56px; cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk-box { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 2px rgba(0, 35, 55, .3); color: var(--teal); transition: background-color .15s, box-shadow .15s; }
.chk-box svg { width: 24px; height: 24px; }
.chk-box .ck { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .25s var(--ease-out); }
.chk input:checked + .chk-box { background: var(--navy); box-shadow: none; }
.chk input:checked + .chk-box .ck { stroke-dashoffset: 0; }
.chk input:focus-visible + .chk-box { outline: 4px solid var(--teal); outline-offset: 3px; }
.chk-t { padding-top: 7px; font-size: 19px; line-height: 1.35; color: var(--ink); max-width: 52ch; }
.opt-l { color: var(--ink-3); }
.chk-row.is-err .chk-box { box-shadow: inset 0 0 0 2.5px var(--err); background: #FFF6F5; }
.chk-row .fld-msg { padding-left: 56px; }
.link { align-self: start; justify-self: start; margin-left: 56px; min-height: 48px; padding: 0 2px; font-weight: 800; font-size: 18px; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.f-legal { margin: 18px 0 0; max-width: 64ch; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.f-legal-a { font-weight: 800; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.f-actions { margin-top: 18px; display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.f-actions .btn { min-height: 72px; }
.f-actions .btn-teal { padding: 0 30px 0 36px; font-size: 24px; }
.f-sum { margin: 0 auto 0 0; font-weight: 800; font-size: 19px; color: var(--err); }
.sheet-body p { margin: 0 0 12px; }
.sheet-card .sheet-actions { margin-top: 20px; }
@media (max-height: 860px) {
  .f-left, .f-right { padding-top: 26px; }
  .f-fields { margin-top: 16px; }
  .fld input, .fld select { min-height: 56px; }
}

/* =========================================================
   v5 — named results
   ========================================================= */
.n-left { gap: 24px; }
.n-you { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--navy-3); }
.n-you .badge { width: 56px; height: 56px; }
.n-you .badge .ico { width: 30px; height: 30px; }
.n-you p { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.n-you p > span:first-child { font-size: 19px; font-weight: 700; color: var(--on-dark-2); }
.n-you b { font-weight: 900; font-stretch: 75%; font-size: clamp(36px, 3.3vw, 46px); line-height: 1; letter-spacing: -.03em; color: var(--teal); }
.n-you .num { font-weight: 900; font-size: 24px; }
.n-h { margin: 0 0 14px; font-weight: 900; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: -.03em; }
.n-sim { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.n-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 24px; align-items: center; gap: 16px; min-height: 92px; padding: 12px 16px 12px 14px; border-radius: 16px; background: var(--navy-2); box-shadow: inset 0 0 0 1px var(--navy-3); }
.n-row.is-down { transform: scale(.98); background: var(--navy-3); }
.n-row .badge { width: 56px; height: 56px; }
.n-row .badge .ico { width: 30px; height: 30px; }
.n-t { min-width: 0; display: grid; gap: 2px; }
.n-t b { font-weight: 900; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.05; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-t span { font-size: 18px; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-i { display: grid; justify-items: end; gap: 0; }
.n-i b { font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -.03em; }
.n-i span { font-size: 17px; font-weight: 700; font-stretch: 80%; color: var(--teal); white-space: nowrap; }
.n-row > .ico, .n-card .ico:last-child { width: 24px; height: 24px; color: var(--teal); }
.motion .n-sim li { animation: optIn .46s var(--ease-out) both; animation-delay: calc(.35s + var(--k) * 80ms); }
.n-hint { margin: 0; font-size: 18px; color: var(--on-dark-2); }
.n-simwrap { margin-bottom: auto; }
.n-left { justify-content: flex-start; }
.n-ev { min-height: 56px; font-size: 19px; padding: 0 20px 0 24px; flex: none; }
.n-ev svg { width: 22px; height: 22px; }
.n-ev[hidden] { display: none; }
.tip { min-width: 0; }
.tip strong { color: var(--navy); }
.ln-name { font-size: 17px; font-weight: 800; fill: var(--navy); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; font-stretch: 87.5%; }
.ln-name.is-you { fill: var(--navy); }
.ln-you-line.is-wide { stroke-dasharray: 4 4; }

.n-leaders { padding: 48px var(--gutter) 56px; }
.n-leaders h2 { margin: 0 0 24px; font-weight: 900; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: -.03em; }
.n-lead { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.n-card { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-height: 176px; padding: 20px 22px 18px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1.5px rgba(0, 35, 55, .08), 0 5px 0 rgba(0, 35, 55, .12); }
.n-card.is-down { transform: translateY(4px); box-shadow: 0 0 0 1.5px rgba(0, 35, 55, .12), 0 1px 0 rgba(0, 35, 55, .12); }
.n-sec { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--ink-2); }
.n-sec .ico { width: 24px; height: 24px; color: var(--navy); }
.n-name { font-weight: 900; font-size: clamp(28px, 2.5vw, 34px); line-height: 1.02; letter-spacing: -.025em; align-self: center; }
.n-score { display: flex; align-items: baseline; gap: 10px; }
.n-score b { font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -.03em; }
.n-score span { font-weight: 700; font-size: 18px; color: var(--ink-2); flex: 1; }
.n-score .ico { align-self: center; color: var(--teal-ink) !important; }
.n-card.is-you { background: var(--navy); color: var(--white); box-shadow: 0 5px 0 #000F18; }
.n-card.is-you .n-sec, .n-card.is-you .n-sec .ico { color: var(--teal); }
.n-card.is-you .n-score span { color: var(--on-dark-2); }
.n-card.is-you .n-score .ico { color: var(--teal) !important; }
.tell { color: var(--teal); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-height: 860px) {
  .n-left { gap: 16px; }
  .n-you { padding-bottom: 16px; }
  .n-row { min-height: 80px; }
}
