/* N3RA website v5 — "Erstes Licht"
   Paper, ink, and one light source. Colour is either light (the dawn gradient)
   or meaning (green = positive/live, red = shortfall). Nothing else is coloured. */

:root {
  /* paper */
  --paper: #F4F1EA;
  --paper-2: #ECE8DE;
  --paper-3: #E2DDD0;
  --card: #FBFAF6;
  /* ink */
  --ink: #12130F;
  --ink-2: #3A3B34;
  --ink-3: #6B6B62;
  --ink-4: #96958A;
  --line: rgba(18, 19, 15, .13);
  --line-2: rgba(18, 19, 15, .07);
  --line-strong: rgba(18, 19, 15, .85);
  /* night (dark stages) */
  --night: #0F100D;
  --night-2: #181915;
  --night-3: #23241F;
  --on-night: #F4F1EA;
  --on-night-2: #B9B6AB;
  --on-night-3: #85837A;
  --line-night: rgba(244, 241, 234, .14);
  --line-night-2: rgba(244, 241, 234, .07);
  /* meaning */
  --pos: #0B6E45;
  --pos-night: #56D8A0;
  --neg: #B4231F;
  --neg-night: #FF7B6B;
  --live: #17A567;
  /* light */
  --dawn-1: #FF5A2B;
  --dawn-2: #FF9550;
  --dawn-3: #FFC98A;
  --dawn-4: #FFE9C7;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-panel: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 0 0 1px rgba(18, 19, 15, .09),
    0 2px 4px rgba(18, 19, 15, .04), 0 24px 48px -18px rgba(18, 19, 15, .22), 0 60px 120px -40px rgba(60, 30, 10, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible { outline-color: var(--on-night); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.num { font-family: var(--sans); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; letter-spacing: -.01em; }
.pos { color: var(--pos); } .neg { color: var(--neg); }
.night .pos { color: var(--pos-night); } .night .neg { color: var(--neg-night); }

/* ---------- type ---------- */
.serif, h1, h2, .h3s {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0; letter-spacing: -.022em;
}
h1 { font-size: clamp(46px, 7.4vw, 108px); line-height: .96; letter-spacing: -.032em; font-weight: 380; }
h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.028em; font-weight: 380; text-wrap: balance; }
h1 i, h2 i, .serif i { font-style: italic; font-weight: 360; letter-spacing: -.03em; }
h2 .dim, h1 .dim { color: var(--ink-3); }
.night h2 .dim { color: var(--on-night-3); }
h3 { font-size: 19px; line-height: 1.3; font-weight: 550; letter-spacing: -.012em; }
.h3s { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.night .lede { color: var(--on-night-2); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); display: flex; align-items: center; gap: 10px;
}
.eyebrow b { font-weight: 500; color: var(--ink); }
.night .eyebrow { color: var(--on-night-3); } .night .eyebrow b { color: var(--on-night); }
.cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.night .cap { color: var(--on-night-3); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--live); opacity: 0; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15.5px; font-weight: 500; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn .arr { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(18, 19, 15, .55); }
.btn-line { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost-night { background: rgba(15, 16, 13, .38); box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .55); color: var(--on-night); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost-night:hover { background: var(--on-night); color: var(--ink); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15.5px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.tlink .arr { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.tlink:hover .arr { transform: translate(2px, -2px); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 234, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.stuck { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand svg, .brand img { height: 27px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: 18px; }
.nav-links a { font-size: 14.5px; color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(18, 19, 15, .06); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.lang { display: flex; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button { padding: 5px 9px; border-radius: 999px; color: var(--ink-3); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6.5vw, 92px) 0 0; }
.dateline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); margin-bottom: clamp(28px, 4vw, 52px); }
.dateline .cap { display: flex; align-items: center; gap: 9px; }
.dateline .cap:last-child { margin-left: auto; }
.dateline .cap b { color: var(--ink); font-weight: 500; }
.hero h1 { max-width: 13.5ch; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-top: clamp(26px, 3.4vw, 44px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.hero-proof li { font-size: 13.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 14px; height: 14px; color: var(--ink); flex: none; }

.stage { position: relative; margin-top: clamp(72px, 10vw, 150px); padding-bottom: clamp(56px, 8vw, 120px); }
.dawn { position: absolute; z-index: 0; left: 50%; top: -210px; width: min(1640px, 132vw); height: 720px; transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(26% 34% at 58% 44%, rgba(255, 232, 160, 1), rgba(255, 232, 160, 0) 74%),
    radial-gradient(50% 50% at 50% 52%, var(--dawn-1) 0%, #FF6230 20%, rgba(255, 128, 62, .95) 36%, rgba(255, 170, 100, .8) 52%, rgba(255, 208, 150, .55) 68%, rgba(255, 233, 199, .25) 82%, rgba(244, 241, 234, 0) 97%);
  filter: blur(26px); }
.stage::after { content: ""; position: absolute; z-index: 1; left: 50%; top: -230px; width: min(1640px, 132vw); height: 760px; transform: translateX(-50%); pointer-events: none; opacity: .38; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 30%, transparent 78%); mask-image: radial-gradient(50% 50% at 50% 50%, #000 30%, transparent 78%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .12 0 0 0 0 .04 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .08 0 0 0 0 .05 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- product panel ---------- */
.panel { position: relative; z-index: 2; background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-panel); overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 18px; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.panel-bar .pm { height: 22px; width: 22px; flex: none; }
.ptabs { display: flex; gap: 2px; overflow: hidden; }
.ptabs span { font-size: 13px; color: var(--ink-3); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.ptabs span.on { color: var(--ink); background: rgba(18, 19, 15, .07); font-weight: 500; }
.panel-bar .cap { margin-left: auto; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.panel-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.kcol { border-right: 1px solid var(--line); }
.k { padding: 18px 20px 17px; border-bottom: 1px solid var(--line); }
.k:last-child { border-bottom: 0; }
.k .cap { display: block; }
.k-v { font-family: var(--sans); font-weight: 500; font-size: 29px; letter-spacing: -.04em; line-height: 1.15; margin-top: 7px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-v small { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); margin-left: 5px; }
.k-d { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; display: flex; gap: 7px; align-items: baseline; }
.k-d .num { font-size: 12px; }
.ccol { padding: 18px 20px 14px; min-width: 0; display: flex; flex-direction: column; }
.c-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.c-head h3 { font-size: 15px; font-weight: 550; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 18px; height: 0; border-top: 2px solid var(--ink); display: inline-block; }
.legend i.dash { border-top-style: dashed; border-top-width: 1.5px; }
.legend i.cl { border-top: 1.5px solid var(--neg); }
.night .legend { color: var(--on-night-3); } .night .legend i { border-color: var(--on-night); } .night .legend i.cl { border-color: var(--neg-night); }
.chart { position: relative; flex: 1; min-height: 300px; margin-top: 8px; touch-action: pan-y; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart text { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; fill: var(--ink-3); }
.night .chart text { fill: var(--on-night-3); }
.chart .tip { position: absolute; top: 0; left: 0; pointer-events: none; background: var(--ink); color: var(--paper); border-radius: 8px; padding: 8px 11px; font-size: 12px; line-height: 1.35; white-space: nowrap; opacity: 0; transform: translate(-50%, -8px); transition: opacity .15s; z-index: 3; }
.chart .tip b { display: block; font-weight: 550; font-size: 14.5px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.night .chart .tip { background: var(--on-night); color: var(--ink); }
.chart.hov .tip { opacity: 1; }
.chart .wipe { transform-origin: 0 0; transition: transform 2s cubic-bezier(.3,.6,.2,1); }
.c-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }

/* ---------- logo band ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.band-in { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; }
.marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq-track { display: flex; align-items: center; gap: 58px; width: max-content; animation: marq 46s linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
.marq img { height: 22px; width: auto; filter: brightness(0); opacity: .62; }
.marq img.sq { height: 28px; } .marq img.tall { height: 30px; }
.marq span.bk { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 550; color: var(--ink); opacity: .7; white-space: nowrap; }
.marq span.bk img { height: 20px; opacity: 1; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 148px) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; margin-bottom: clamp(36px, 5vw, 72px); }
.sec-head .eyebrow { padding-top: 14px; border-top: 1px solid var(--line-strong); align-self: start; }
.night .sec-head .eyebrow { border-top-color: var(--on-night); }
.sec-head h2 { max-width: 21ch; }
.sec-head .lede { margin-top: 22px; }
.tint { background: var(--paper-2); }
.night { background: var(--night); color: var(--on-night); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* statement */
.statement { padding: clamp(72px, 10vw, 150px) 0 clamp(48px, 6vw, 90px); }
.statement p.big { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 380; font-size: clamp(30px, 4.5vw, 62px); line-height: 1.08; letter-spacing: -.028em; max-width: 21ch; text-wrap: balance; }
.statement p.big i { font-weight: 360; }
.statement p.big .dim { color: var(--ink-3); }
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); margin-top: clamp(48px, 7vw, 100px); }
.ledger li { padding: 22px 24px 6px 0; border-right: 1px solid var(--line); }
.ledger li + li { padding-left: 24px; }
.ledger li:last-child { border-right: 0; }
.ledger .fig { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 360; font-size: clamp(48px, 6vw, 86px); line-height: 1; letter-spacing: -.04em; display: flex; align-items: baseline; gap: 6px; }
.ledger .fig small { font-family: var(--sans); font-size: 16px; letter-spacing: 0; font-weight: 500; color: var(--ink-2); }
.ledger p { font-size: 15px; line-height: 1.45; color: var(--ink-2); margin-top: 14px; max-width: 24ch; }
.ledger .cap { display: block; margin-top: 12px; font-size: 10.5px; }

/* before / after */
.ba { position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--card); aspect-ratio: 16 / 8.2; user-select: none; -webkit-user-select: none; touch-action: pan-y; --pos: 54%; }
.ba-side { position: absolute; inset: 0; }
.ba-before { background: #E9E6DF; background-image: linear-gradient(rgba(18,19,15,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(18,19,15,.05) 1px, transparent 1px); background-size: 26px 26px; }
.ba-after { background: var(--card); clip-path: inset(0 0 0 var(--pos)); }
.ba-tag { position: absolute; top: 18px; z-index: 4; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.ba-tag.l { left: 18px; } .ba-tag.r { right: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 5; cursor: ew-resize; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -.5px; width: 1px; background: var(--ink); }
.ba-knob { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(18,19,15,.5); }
.ba-knob svg { width: 22px; height: 22px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 6; cursor: ew-resize; margin: 0; }
.sheet { position: absolute; background: #fff; box-shadow: 0 1px 0 rgba(18,19,15,.2), 0 12px 28px -14px rgba(18,19,15,.4); font-size: 11.5px; color: #33342e; }
.sheet .sh-t { background: #1F6B43; color: #fff; padding: 5px 9px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet.s2 .sh-t { background: #2B579A; } .sheet.s3 .sh-t { background: #7a2f2f; }
.sheet table { border-collapse: collapse; width: 100%; font-family: var(--mono); font-size: 10.5px; }
.sheet td, .sheet th { border: 1px solid #d9d9d4; padding: 3px 7px; text-align: right; white-space: nowrap; font-weight: 400; }
.sheet th { background: #f1f1ed; text-align: left; color: #77786f; }
.sheet td:first-child { text-align: left; }
.sheet .hl { background: #FFF2A8; } .sheet .err { color: #b4231f; }
.mail { position: absolute; background: #fff; border-radius: 6px; padding: 10px 13px; font-size: 12px; box-shadow: 0 14px 30px -14px rgba(18,19,15,.5), 0 0 0 1px rgba(18,19,15,.1); max-width: 300px; line-height: 1.35; }
.mail b { display: block; font-size: 11px; color: #77786f; font-weight: 500; margin-bottom: 2px; }
.sticky { position: absolute; background: #FFE98A; padding: 10px 12px; font-size: 12.5px; line-height: 1.3; box-shadow: 0 10px 18px -10px rgba(18,19,15,.5); transform: rotate(3deg); width: 138px; font-family: var(--serif); font-style: italic; }
.after-in { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto 1fr; padding: 64px 28px 24px; gap: 0; }
.after-in .a-k { padding: 0 20px 18px; border-right: 1px solid var(--line); }
.after-in .a-k:first-child { padding-left: 0; } .after-in .a-k:nth-child(3) { border-right: 0; }
.after-in .a-k .k-v { font-size: clamp(20px, 2.6vw, 34px); }
.after-in .a-chart { grid-column: 1 / -1; border-top: 1px solid var(--line); position: relative; min-height: 0; }
.after-in .a-chart svg { position: absolute; inset: 14px 0 0; width: 100%; height: calc(100% - 14px); }
.ba-note { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; flex-wrap: wrap; }

/* modules */
.mods { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.mod-list { border-top: 1px solid var(--line-strong); }
.mod { border-bottom: 1px solid var(--line); }
.mod-btn { width: 100%; display: grid; grid-template-columns: 44px 1fr 24px; align-items: baseline; text-align: left; padding: 22px 0; gap: 0; }
.mod-btn .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.mod-btn .t { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -.025em; color: var(--ink-3); transition: color .3s; }
.mod-btn .pl { width: 18px; height: 18px; position: relative; align-self: center; }
.mod-btn .pl::before, .mod-btn .pl::after { content: ""; position: absolute; left: 0; top: 8.5px; width: 18px; height: 1.25px; background: var(--ink-3); transition: transform .35s var(--ease), opacity .3s; }
.mod-btn .pl::after { transform: rotate(90deg); }
.mod.on .mod-btn .t, .mod-btn:hover .t { color: var(--ink); }
.mod.on .mod-btn .pl::after { transform: rotate(0); opacity: 0; }
.mod-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mod.on .mod-body { grid-template-rows: 1fr; }
.mod-body > div { overflow: hidden; }
.mod-body .inner { padding: 0 0 26px 44px; }
.mod-body p { color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.mod-body p strong { color: var(--ink); font-weight: 550; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips li { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); background: rgba(255,255,255,.35); }
.mod-vis { position: sticky; top: 96px; }
.vis { display: none; }
.vis.on { display: block; animation: visin .5s var(--ease); }
@keyframes visin { from { opacity: 0; transform: translateY(8px); } }
.vis .panel { box-shadow: 0 0 0 1px var(--line), 0 30px 60px -34px rgba(18,19,15,.35); }
.vis-pad { padding: 22px 24px 24px; }
.vis-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.vis-kpis > div { padding: 18px 20px; border-right: 1px solid var(--line); }
.vis-kpis > div:last-child { border-right: 0; }
.vis-kpis .k-v { font-size: 24px; }
.aging li { display: grid; grid-template-columns: 96px 1fr 84px; align-items: center; gap: 14px; padding: 9px 0; font-size: 13.5px; color: var(--ink-2); }
.aging .bar { height: 14px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.aging .bar i { display: block; height: 100%; background: var(--ink); border-radius: 3px; transform-origin: left; }
.aging li.od .bar i { background: var(--neg); }
.aging .num { text-align: right; font-size: 13px; }
.fc-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 220px; margin-top: 18px; }
.fc-bars div { display: flex; flex-direction: column-reverse; height: 100%; gap: 2px; }
.fc-bars i { display: block; border-radius: 2px; }
.fc-bars i.f { background: var(--ink); } .fc-bars i.r { background: repeating-linear-gradient(135deg, var(--ink) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1px var(--ink); }
.fc-bars i.p { border: 1px dashed var(--ink-3); }
.fc-x { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 8px; }
.fc-x span { font-family: var(--mono); font-size: 10px; color: var(--ink-3); text-align: center; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; }
.sw.f { background: var(--ink); } .sw.r { background: repeating-linear-gradient(135deg, var(--ink) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1px var(--ink); } .sw.p { border: 1px dashed var(--ink-3); }
.bridge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; height: 230px; margin-top: 10px; }
.bridge .b { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; position: relative; }
.bridge .b i { display: block; background: var(--ink); border-radius: 3px 3px 0 0; transition: height .5s var(--ease), margin .5s var(--ease); }
.bridge .b.minus i { background: repeating-linear-gradient(135deg, var(--neg) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1px var(--neg); border-radius: 3px; }
.bridge .b.eq i { background: var(--pos); }
.bridge .b .num { font-size: 15px; margin-bottom: 6px; white-space: nowrap; }
.bridge-x { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid var(--line-strong); padding-top: 9px; }
.bridge-x span { font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }
.slide-row { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.slide-row label { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.slide-row output { font-variant-numeric: tabular-nums; font-weight: 500; font-size: 15px; min-width: 52px; text-align: right; }
.stmt { width: 100%; border-collapse: collapse; font-size: 14px; }
.stmt th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; text-align: right; padding: 0 0 10px; border-bottom: 1px solid var(--line-strong); }
.stmt th:first-child, .stmt td:first-child { text-align: left; }
.stmt td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: right; }
.stmt td.num { font-size: 13.5px; }
.stmt tr.sum td { font-weight: 550; border-bottom: 1px solid var(--line-strong); }
.stmt tr.sub td:first-child { padding-left: 16px; color: var(--ink-2); }
.night .stmt th { color: var(--on-night-3); border-bottom-color: var(--on-night); }
.night .stmt td { border-bottom-color: var(--line-night); }
.night .stmt tr.sum td { border-bottom-color: var(--on-night); }

/* range */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; margin: 0; --fill: 50%; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--fill), var(--line) var(--fill)); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--fill), var(--line) var(--fill)); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--ink); margin-top: -10px; box-shadow: 0 3px 8px -2px rgba(18,19,15,.35); transition: transform .2s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 19px; height: 19px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--ink); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.night input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--on-night) var(--fill), var(--line-night) var(--fill)); }
.night input[type="range"]::-moz-range-track { background: linear-gradient(90deg, var(--on-night) var(--fill), var(--line-night) var(--fill)); }
.night input[type="range"]::-webkit-slider-thumb { background: var(--night); border-color: var(--on-night); }
.night input[type="range"]::-moz-range-thumb { background: var(--night); border-color: var(--on-night); }

/* switch */
.switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14.5px; line-height: 1.35; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .tr { flex: none; width: 36px; height: 21px; border-radius: 999px; box-shadow: inset 0 0 0 1.25px var(--ink-3); position: relative; transition: background .25s, box-shadow .25s; margin-top: 1px; }
.switch .tr::after { content: ""; position: absolute; top: 4px; left: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--ink-3); transition: transform .3s var(--ease), background .25s; }
.switch input:checked + .tr { background: var(--ink); box-shadow: inset 0 0 0 1.25px var(--ink); }
.switch input:checked + .tr::after { transform: translateX(15px); background: var(--paper); }
.switch input:focus-visible + .tr { outline: 2px solid var(--ink); outline-offset: 3px; }
.night .switch .tr { box-shadow: inset 0 0 0 1.25px var(--on-night-3); } .night .switch .tr::after { background: var(--on-night-3); }
.night .switch input:checked + .tr { background: var(--on-night); box-shadow: none; } .night .switch input:checked + .tr::after { background: var(--night); }
.night .switch input:focus-visible + .tr { outline-color: var(--on-night); }

/* ---------- liquidity (night) ---------- */
.liq { overflow: clip; }
.liq .horizon { position: absolute; left: 50%; bottom: -420px; width: 1700px; height: 720px; transform: translateX(-50%); pointer-events: none; opacity: .5;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 90, 43, .55), rgba(255, 149, 80, .22) 40%, rgba(15, 16, 13, 0) 70%); filter: blur(30px); }
.liq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border: 1px solid var(--line-night); border-radius: var(--r-l); overflow: hidden; background: var(--night-2); position: relative; z-index: 1; }
.liq-main { padding: 24px 26px 18px; min-width: 0; display: flex; flex-direction: column; }
.liq-main .chart { min-height: 400px; }
.liq-side { border-left: 1px solid var(--line-night); display: flex; flex-direction: column; }
.liq-kpis { display: grid; grid-template-columns: 1fr 1fr; }
.liq-kpis > div { padding: 18px 20px; border-bottom: 1px solid var(--line-night); }
.liq-kpis > div:nth-child(odd) { border-right: 1px solid var(--line-night); }
.liq-kpis .k-v { font-size: 21px; letter-spacing: -.035em; }
.liq-ctl { padding: 20px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.liq-ctl .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; }
.liq-ctl .row output { font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 500; }
.verdict { margin: 0 20px 20px; padding: 16px 16px 16px 18px; border-radius: var(--r-m); background: rgba(255, 123, 107, .1); box-shadow: inset 2px 0 0 var(--neg-night); font-size: 15px; line-height: 1.4; color: var(--on-night); transition: background .3s, box-shadow .3s; }
.verdict b { display: block; font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 400; font-size: 23px; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 5px; }
.verdict.ok { background: rgba(86, 216, 160, .1); box-shadow: inset 2px 0 0 var(--pos-night); }
.liq-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--on-night); position: relative; z-index: 1; }
.liq-points li { padding: 24px 28px 0 0; }
.liq-points li + li { padding-left: 28px; border-left: 1px solid var(--line-night); }
.liq-points .n { font-family: var(--mono); font-size: 12px; color: var(--on-night-3); }
.liq-points h3 { margin: 12px 0 10px; font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 400; font-size: 25px; line-height: 1.15; letter-spacing: -.02em; }
.liq-points p { color: var(--on-night-2); font-size: 15.5px; }
.liq-q { margin-top: clamp(56px, 7vw, 110px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; position: relative; z-index: 1; }
.liq-q blockquote { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-style: italic; font-weight: 360; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -.028em; max-width: 22ch; }
.liq-q p { color: var(--on-night-2); margin-top: 20px; max-width: 52ch; }

/* ---------- consolidation ---------- */
.cons { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.cons-pts { border-top: 1px solid var(--line-strong); }
.cons-pts li { display: grid; grid-template-columns: 28px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.cons-pts li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--ink); }
.cons-table { padding: 8px 26px 20px; }
.cons-table .stmt td { padding: 9px 0; }
.cons-table tr.tot td { border-bottom: 0; padding-top: 14px; font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-size: 22px; letter-spacing: -.02em; }
.cons-table tr.tot td.num { font-family: var(--sans); font-weight: 500; font-size: 24px; letter-spacing: -.04em; }
.cons-table tr.res td { color: var(--ink-3); font-size: 13px; border-bottom: 0; padding-top: 2px; }
.cons-table .ent i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--ink); margin-right: 10px; vertical-align: 1px; opacity: .85; }
.tfoot-note { display: flex; justify-content: space-between; gap: 12px; padding: 12px 26px; border-top: 1px solid var(--line); }

/* ---------- day ---------- */
.day { position: relative; overflow: hidden; color: var(--on-night); background: #0D0E14; }
.day-sky { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #141026 0%, #3B1B2E 9%, #9A3A22 20%, #E8793A 31%, #F2B872 43%, #E9D3A8 55%, #DDB98A 66%, #C0683A 78%, #55223A 89%, #14122B 100%); }
.day-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,14,20,.0) 0%, rgba(13,14,20,.38) 34%, rgba(13,14,20,.9) 62%, #0D0E14 82%); }
.day .grain { opacity: .55; mix-blend-mode: overlay; }
.day .wrap { position: relative; z-index: 2; }
.day h2 { text-shadow: 0 1px 30px rgba(13,14,20,.35); }
.day .eyebrow, .day .eyebrow b { color: var(--on-night); }
.day .sec-head .eyebrow { border-top-color: var(--on-night); }
.day h2 .dim { color: rgba(244,241,234,.72); }
.arc { position: relative; height: 120px; margin: 0 0 6px; }
.arc svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(244,241,234,.5); }
.scene { padding: 22px 24px 4px 0; }
.scene + .scene { padding-left: 24px; border-left: 1px solid var(--line-night); }
.scene time { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 340; font-size: clamp(40px, 4.4vw, 62px); letter-spacing: -.04em; line-height: 1; display: block; }
.scene h3 { margin: 16px 0 8px; font-size: 17.5px; }
.scene p { color: var(--on-night-2); font-size: 15px; }
.mini { margin-top: 20px; background: rgba(24, 25, 21, .72); border: 1px solid var(--line-night); border-radius: var(--r-m); padding: 14px 15px; backdrop-filter: blur(6px); }
.mini .cap { display: block; margin-bottom: 8px; font-size: 10.5px; }
.mini .k-v { font-size: 22px; margin: 0; }
.mini ul li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 5px 0; border-top: 1px solid var(--line-night-2); color: var(--on-night-2); }
.mini ul li:first-child { border-top: 0; padding-top: 0; }
.mini ul li .num { font-size: 12.5px; color: var(--on-night); }
.mini svg { width: 100%; height: 54px; margin-top: 4px; }
.day-foot { margin-top: 34px; color: var(--on-night-3); font-size: 13px; }

/* ---------- how ---------- */
.steps { border-top: 1px solid var(--line-strong); }
.step { display: grid; grid-template-columns: 220px minmax(0, 4fr) minmax(0, 6fr); gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.step h3 { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 380; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.03em; line-height: 1; }
.step p { color: var(--ink-2); max-width: 54ch; }

/* ---------- quotes ---------- */
.q-main { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
.q-main blockquote { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 370; font-size: clamp(28px, 3.7vw, 52px); line-height: 1.1; letter-spacing: -.028em; max-width: 24ch; text-wrap: balance; }
.q-who { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.q-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.q-who b { display: block; font-weight: 550; font-size: 15.5px; color: var(--ink); }
.q-who span { font-size: 14px; color: var(--ink-3); }
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-strong); }
.q-card { padding: 24px 28px 0 0; display: flex; flex-direction: column; }
.q-card + .q-card { padding-left: 28px; border-left: 1px solid var(--line); }
.q-card blockquote { font-size: 16.5px; line-height: 1.5; color: var(--ink); flex: 1; }
.q-card .q-who { margin-top: 22px; }
.q-card .ini { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 16px; box-shadow: inset 0 0 0 1px var(--line-strong); flex: none; }
.q-note { margin-top: 28px; font-size: 13px; color: var(--ink-3); max-width: 80ch; }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.trust li { padding: 24px 24px 0 0; }
.trust li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.trust svg { width: 26px; height: 26px; color: var(--ink); }
.trust h3 { margin: 26px 0 8px; }
.trust p { font-size: 15px; color: var(--ink-2); }

/* ---------- pricing ---------- */
.bill { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); margin-bottom: 28px; }
.bill button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background .25s, color .25s; }
.bill button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); border-radius: var(--r-l); overflow: hidden; background: var(--card); }
.tier { padding: 30px 28px 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); position: relative; }
.tier:last-child { border-right: 0; }
.tier.feat { background: var(--ink); color: var(--paper); }
.tier .cap { display: flex; justify-content: space-between; gap: 10px; }
.tier.feat .cap { color: var(--on-night-2); } .tier.feat .cap b { color: var(--dawn-3); font-weight: 500; }
.tier-name { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-size: 38px; letter-spacing: -.03em; line-height: 1; margin-top: 22px; }
.tier-for { color: var(--ink-3); margin-top: 8px; font-size: 15.5px; }
.tier.feat .tier-for { color: var(--on-night-2); }
.tier-price { margin-top: 30px; font-family: var(--sans); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 44px; letter-spacing: -.045em; line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.tier-price small { font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--ink-3); }
.tier.feat .tier-price small { color: var(--on-night-2); }
.tier-price .txt { font-weight: 400; font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; letter-spacing: -.03em; font-style: italic; }
.tier-unit { font-size: 13px; color: var(--ink-3); margin-top: 8px; min-height: 2.6em; }
.tier.feat .tier-unit { color: var(--on-night-2); }
.tier ul { margin: 22px 0 28px; border-top: 1px solid var(--line); flex: 1; }
.tier.feat ul { border-top-color: var(--line-night); }
.tier ul li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.tier.feat ul li { border-bottom-color: var(--line-night); color: var(--on-night-2); }
.tier .btn { width: 100%; }

.cfg { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--line-strong); border-radius: var(--r-l); overflow: hidden; background: var(--card); }
.cfg-in { padding: 30px 30px 32px; }
.cfg-in h3 { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 380; font-size: 34px; letter-spacing: -.03em; line-height: 1.05; }
.cfg-in > p { color: var(--ink-3); margin-top: 8px; font-size: 15.5px; }
.cfg-block { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.cfg-lr { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.cfg-label { font-size: 14.5px; font-weight: 550; }
.cfg-ent-val { font-family: var(--sans); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 36px; letter-spacing: -.045em; line-height: 1; }
.cfg-bands { display: grid; grid-template-columns: 3fr 6fr 15fr 1.6fr; gap: 3px; margin-top: 10px; }
.cfg-band { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0; padding: 7px 6px 0; border-top: 2px solid var(--line); color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: clip; transition: color .25s, border-color .25s; }
.cfg-band.on { border-top-color: var(--ink); color: var(--ink); }
.cfg-nudge { font-size: 13.5px; color: var(--pos); margin-top: 14px; }
.cfg-in .switch { margin-top: 16px; }
.cfg-sys { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 8px; margin-top: 14px; }
.sysc { text-align: left; padding: 11px 12px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s, color .2s; display: flex; flex-direction: column; gap: 3px; min-height: 58px; }
.sysc b { font-size: 14px; font-weight: 550; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.sysc b::after { content: ""; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--ink-4); flex: none; transition: background .2s, box-shadow .2s; }
.sysc .sysc-tag { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0; }
.sysc:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.sysc.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.sysc.on b::after { background: var(--paper); box-shadow: inset 0 0 0 4px var(--ink), 0 0 0 1.25px var(--paper); }
.sysc.on .sysc-tag { color: var(--on-night-2); } .sysc.on .sysc-tag.mint { color: var(--pos-night); }
.sysc.lock { cursor: default; background: var(--paper-2); box-shadow: none; }
.sysc.lock b::after { display: none; }
.cfg-out { background: var(--ink); color: var(--paper); padding: 30px; display: flex; flex-direction: column; }
.cfg-out .cap { color: var(--on-night-3); }
.cfg-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.cfg-price { font-family: var(--sans); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(44px, 5vw, 64px); letter-spacing: -.05em; line-height: 1; }
.cfg-price.txt { font-weight: 400; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.1; }
.cfg-per { color: var(--on-night-2); font-size: 15px; }
.cfg-badge { align-self: flex-start; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(86,216,160,.14); color: var(--pos-night); }
.cfg-err { color: var(--neg-night); font-size: 14px; margin-top: 12px; }
.cfg-break { margin-top: 22px; border-top: 1px solid var(--line-night); }
.cfg-break li { padding: 11px 0; border-bottom: 1px solid var(--line-night); font-size: 14px; color: var(--on-night-2); line-height: 1.4; }
.cfg-break li.b-ent { color: var(--on-night); }
.cfg-break li.b-lf.on { color: var(--pos-night); }
.cfg-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 26px; }
.cfg-meta dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-3); }
.cfg-meta dd { font-size: 18px; margin-top: 5px; }
.cfg-meta dd.num { font-size: 17px; }
.cfg-out .btn { margin-top: auto; }
.cfg-legal { font-size: 12px; color: var(--on-night-3); margin-top: 14px; line-height: 1.45; }
.cfg-out.dimmed .cfg-break, .cfg-out.dimmed .cfg-meta { opacity: .4; }

.pr-more { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); margin-top: clamp(48px, 6vw, 88px); }
.pr-more h3 { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 380; font-size: 30px; letter-spacing: -.028em; line-height: 1.08; }
.pr-more .sub { color: var(--ink-2); font-size: 15.5px; margin: 10px 0 22px; max-width: 44ch; }
.pr-more .note { font-size: 13px; color: var(--ink-3); margin-top: 16px; max-width: 52ch; }
.stmt td.c, .stmt th.c { text-align: center; }
.stmt .yes { display: inline-block; width: 15px; height: 15px; color: var(--ink); vertical-align: -2px; }
.stmt td small { font-size: 12.5px; color: var(--ink-3); }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 20px; align-items: center; padding: 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 18px; height: 18px; position: relative; justify-self: end; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 8.5px; width: 18px; height: 1.25px; background: var(--ink); transition: transform .35s var(--ease), opacity .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); opacity: 0; }
.faq details p { color: var(--ink-2); padding: 0 44px 24px 0; max-width: 72ch; font-size: 16px; }
.faq-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 100px); }
.faq-grid .eyebrow { padding-top: 14px; border-top: 1px solid var(--line-strong); align-self: start; }

/* ---------- insights ---------- */
.news { border-top: 1px solid var(--line-strong); }
.nrow { display: grid; grid-template-columns: 220px minmax(0, 1fr) 190px; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; width: 100%; text-align: left; transition: background .3s; }
.nrow .meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.nrow .meta b { color: var(--ink); font-weight: 500; }
.nrow h3 { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 380; font-size: clamp(24px, 2.8vw, 38px); letter-spacing: -.028em; line-height: 1.06; max-width: 24ch; transition: transform .4s var(--ease); }
.nrow p { color: var(--ink-2); margin-top: 10px; max-width: 58ch; font-size: 16px; }
.nrow .go { justify-self: end; align-self: center; display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.nrow .go i { width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); display: grid; place-items: center; transition: background .25s, color .25s; }
.nrow .go svg { width: 15px; height: 15px; }
.nrow:hover h3 { transform: translateX(8px); }
.nrow:hover .go i { background: var(--ink); color: var(--paper); }
dialog.art { border: 0; padding: 0; background: var(--card); color: var(--ink); border-radius: var(--r-l); width: min(760px, calc(100vw - 28px)); max-height: min(86vh, 900px); box-shadow: 0 40px 120px -20px rgba(0,0,0,.6); }
dialog.art::backdrop { background: rgba(15,16,13,.62); backdrop-filter: blur(5px); }
.art-in { padding: clamp(26px, 5vw, 56px); }
.art-in .cap { display: flex; gap: 16px; }
.art-in h3 { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 380; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; line-height: 1.04; margin: 18px 0 26px; }
.art-in p { color: var(--ink-2); margin-bottom: 1.05em; font-size: 17.5px; line-height: 1.6; }
.art-in p:first-of-type::first-letter { font-family: var(--serif); font-size: 3.5em; float: left; line-height: .82; padding: .07em .1em 0 0; color: var(--ink); }
.art-x { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; z-index: 2; }
.art-x svg { width: 14px; height: 14px; }

/* ---------- closing ---------- */
.close { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); padding: clamp(96px, 13vw, 200px) 0 clamp(110px, 15vw, 230px); }
.close .sun { position: absolute; left: 50%; bottom: -62%; width: min(1900px, 170vw); aspect-ratio: 1.5; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, #FFE2B0 0%, var(--dawn-3) 12%, var(--dawn-2) 26%, var(--dawn-1) 40%, rgba(180, 50, 25, .55) 54%, rgba(15,16,13,0) 70%); filter: blur(16px); }
.close .grain { mix-blend-mode: overlay; opacity: .6; }
.close .wrap { position: relative; z-index: 2; text-align: center; }
.close h2 { font-size: clamp(42px, 7vw, 100px); line-height: .98; max-width: 15ch; margin: 22px auto 0; letter-spacing: -.034em; }
.close .eyebrow { justify-content: center; color: var(--on-night-2); }
.close p { max-width: 46ch; margin: 26px auto 0; color: rgba(244,241,234,.86); font-size: 19px; }
.close .hero-cta { justify-content: center; margin-top: 36px; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-night); padding: 0 0 36px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .6fr)); gap: 32px; padding: 54px 0 60px; border-top: 1px solid var(--line-night); }
.foot-top p { color: var(--on-night-2); max-width: 30ch; margin-top: 18px; font-size: 15.5px; }
.foot .brand { color: var(--on-night); } .foot .brand svg { height: 34px; }
.foot h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-3); font-weight: 400; margin-bottom: 16px; }
.foot li { margin-bottom: 9px; }
.foot li a { text-decoration: none; color: var(--on-night); font-size: 15px; opacity: .88; }
.foot li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot-big { color: var(--on-night); opacity: .96; margin: 6px 0 30px; }
.foot-big svg { width: 100%; height: auto; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line-night); font-size: 13px; color: var(--on-night-3); }
.foot-bot p { max-width: 70ch; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .sec-head, .liq-q, .q-main, .faq-grid, .band-in { grid-template-columns: 1fr; gap: 20px; }
  .sec-head .eyebrow, .faq-grid .eyebrow { width: fit-content; padding-right: 40px; }
  .mods, .cons, .pr-more { grid-template-columns: 1fr; }
  .mod-vis { position: static; }
  .liq-grid { grid-template-columns: 1fr; }
  .liq-side { border-left: 0; border-top: 1px solid var(--line-night); }
  .step { grid-template-columns: 90px minmax(0, 1fr); }
  .step p { grid-column: 2; }
  .nrow { grid-template-columns: 150px minmax(0, 1fr) 60px; }
  .nrow .go span { display: none; }
  .tiers { grid-template-columns: 1fr; }
  .tier { border-right: 0; border-bottom: 1px solid var(--line); }
  .tier:last-child { border-bottom: 0; }
  .cfg { grid-template-columns: 1fr; }
  .panel-body { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); padding: 10px var(--gut) 22px; margin: 0; border-bottom: 1px solid var(--line); gap: 0; }
  .nav.open .nav-links a { font-family: var(--serif); font-size: 30px; letter-spacing: -.025em; padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); }
  .hero-row { grid-template-columns: 1fr; gap: 28px; }
  .ledger, .trust, .scenes { grid-template-columns: 1fr 1fr; }
  .ledger li:nth-child(2n) { border-right: 0; }
  .ledger li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ledger li:nth-child(odd) { padding-left: 0; }
  .trust li:nth-child(odd) { padding-left: 0; border-left: 0; } .trust li:nth-child(n+3) { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
  .scene:nth-child(odd) { padding-left: 0; border-left: 0; } .scene:nth-child(n+3) { margin-top: 32px; border-top: 1px solid var(--line-night); }
  .arc { display: none; }
  .day-sky { background: linear-gradient(180deg, #141026 0%, #9A3A22 12%, #E8793A 24%, #F2B872 40%, #DDB98A 58%, #C0683A 76%, #55223A 90%, #14122B 100%); }
  .day-sky::after { background: linear-gradient(90deg, rgba(13,14,20,.82), rgba(13,14,20,.7)); }
  .liq-points, .q-grid { grid-template-columns: 1fr; }
  .liq-points li + li, .q-card + .q-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-night); margin-top: 26px; }
  .q-card + .q-card { border-top-color: var(--line); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-right .btn { display: none; }
  .dateline .cap:nth-child(2) { display: none; }
  .panel-body { grid-template-columns: 1fr; }
  .kcol { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
  .k { padding: 14px 16px; } .k:nth-child(odd) { border-right: 1px solid var(--line); } .k:nth-child(n+3) { border-bottom: 0; }
  .k-v { font-size: 21px; }
  .ptabs span:not(.on) { display: none; }
  .chart { min-height: 250px; }
  .liq-main { padding: 18px 16px 14px; } .liq-main .chart { min-height: 300px; }
  .ba { aspect-ratio: 4 / 5; }
  .after-in { grid-template-columns: 1fr 1fr; padding: 60px 16px 16px; }
  .after-in .a-k:nth-child(3) { display: none; } .after-in .a-k:nth-child(2) { border-right: 0; }
  .mod-body .inner { padding-left: 0; }
  .mod-btn { grid-template-columns: 34px 1fr 24px; }
  .vis-kpis { grid-template-columns: 1fr 1fr; } .vis-kpis > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .vis-kpis > div:nth-child(2) { border-right: 0; }
  .aging li { grid-template-columns: 78px 1fr 70px; gap: 10px; }
  .cons-table { padding: 6px 16px 16px; overflow-x: auto; }
  .cons-table .hide-s { display: none; }
  .tfoot-note { padding: 12px 16px; flex-direction: column; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; } .step p { grid-column: 1; }
  .nrow { grid-template-columns: 1fr; gap: 12px; } .nrow .meta { flex-direction: row; gap: 14px; } .nrow .go { justify-self: start; }
  .cfg-in, .cfg-out { padding: 22px 18px; }
  .cfg-bands { grid-template-columns: 1fr 1fr 1fr .6fr; }
  .tier { padding: 26px 20px; }
  .faq summary { font-size: 16.5px; }
  .faq details p { padding-right: 0; }
  .foot-bot { flex-direction: column; }
}
@media (max-width: 520px) {
  .ledger, .trust, .scenes { grid-template-columns: 1fr; }
  .ledger li { border-right: 0; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .ledger li:first-child { border-top: 0; }
  .trust li { padding-left: 0 !important; border-left: 0 !important; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
  .trust li:first-child { margin-top: 0; border-top: 0; }
  .scene { padding-left: 0 !important; border-left: 0 !important; margin-top: 30px; border-top: 1px solid var(--line-night); }
  .scene:first-child { margin-top: 0; border-top: 0; }
  .hero-cta .btn { width: 100%; }
  .bridge { gap: 8px; } .bridge .b .num { font-size: 12.5px; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
  .marq-track { animation: none; }
}

/* ---------- late fixes ---------- */
.panel-bar .cap { min-width: 0; }
.panel-bar .cap > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.panel-bar .pt { font-size: 14px; font-weight: 550; white-space: nowrap; }
@media (max-width: 720px) {
  .panel-bar { gap: 12px; padding: 0 14px; }
  .panel-bar .cap { font-size: 10px; letter-spacing: .03em; }
  .day h2 { font-size: 36px; }
}
@media (max-width: 480px) { .panel-bar .pt + .cap { display: none; } }

/* =====================================================================
   v5.1 — cockpit tour, "one question / three answers", liquidity story
   ===================================================================== */
.nav { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero { padding-bottom: clamp(28px, 4vw, 56px); }

/* ---------- cockpit tour ---------- */
.tour { position: relative; }
.tour-pin { position: relative; padding: 28px 0 clamp(56px, 8vw, 110px); overflow: clip; }
.tour .dawn { top: 10px; }
.tour-in { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; }
.tour-cap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.tour-cap > .cap { padding-top: 14px; border-top: 1px solid var(--line-strong); }
.tour-lines { position: relative; min-height: 112px; }
.tl { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .6s var(--ease); pointer-events: none; }
.tl.on { opacity: 1; transform: none; pointer-events: auto; }
.tl h2 { font-size: clamp(28px, 3.5vw, 48px); line-height: 1.04; max-width: none; }
.tl p { color: var(--ink-2); margin-top: 10px; font-size: 17.5px; max-width: 60ch; }
.tour-frame { perspective: 1800px; }
#tour-panel { transform-origin: 50% 0; will-change: transform; }
.ptabs button { font-size: 13px; color: var(--ink-3); padding: 6px 11px; border-radius: 999px; white-space: nowrap; transition: background .3s, color .3s; }
.ptabs button:hover { color: var(--ink); }
.ptabs button.on { color: var(--ink); background: rgba(18, 19, 15, .08); font-weight: 500; }
.views { position: relative; height: 480px; }
.view { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.tour-static .view { transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease), visibility 0s .5s; }
.tour-static .view.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.no-js .view:first-child { opacity: 1; visibility: visible; }
.views .kcol { display: flex; flex-direction: column; }
.views .k { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 8px 20px; }
.views .k-v { font-size: 27px; margin-top: 5px; }
.v-over { display: grid; grid-template-columns: 290px minmax(0, 1fr); }
.v-liq { display: grid; grid-template-columns: minmax(0, 1fr) 240px; }
.v-liq .kcol.r { border-right: 0; border-left: 1px solid var(--line); }
.v-col { display: flex; flex-direction: column; }
.v-col .vis-pad { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 18px 24px 20px; }
.v-col .fc-bars { flex: 1; height: auto; min-height: 0; margin-top: 14px; }
.v-col .fc-bars > div { transform-origin: 50% 100%; }
.v-col .bridge { flex: 1; height: auto; min-height: 0; }
.v-col .bridge .b i { transform-origin: 50% 100%; }
.v-col .vis-kpis > div { padding: 14px 20px; }
.v-col .stmt td { padding: 13px 0; }
.k-v.sm { font-size: 18px; letter-spacing: -.02em; padding-top: 6px; }
.chart .wipe { transform: scaleX(var(--wipe, 0)); }
.chart.drawn { --wipe: 1; }
.chart.scrub .wipe, .chart.nowipe .wipe { transition: none; }
.chart.nowipe { --wipe: 1; }
.tour-static .chart.scrub { --wipe: 1; }
.tour-prog { display: flex; gap: 6px; justify-content: center; }
.tour-prog i { width: 26px; height: 2px; background: var(--line); transition: background .3s, width .45s var(--ease); }
.tour-prog i.on { background: var(--ink); width: 46px; }

.tour-pinned .tour { height: 430vh; }
.tour-pinned .tour-pin { position: sticky; top: 0; height: 100vh; padding: 84px 0 18px; display: flex; flex-direction: column; justify-content: center; }
.tour-pinned .dawn { top: 60px; }
.tour-pinned .views { height: min(480px, calc(100vh - 356px)); }
.tour-pinned .view { will-change: opacity, transform; }

/* ---------- one question, three answers ---------- */
.tri { border-top: 1px solid var(--line-strong); }
.tri-row, .tri-one { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 32px; align-items: baseline; }
.tri-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.tri .src { color: var(--ink-2); font-size: 17px; }
.tri .val { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 360; font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -.04em; position: relative; white-space: nowrap; transition: color .6s; }
.tri .val small { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; margin-left: 8px; color: inherit; opacity: .7; }
.tri-row .val::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: 2px; background: var(--neg); transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--ease); }
.tri-row { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.tri.go .tri-row { opacity: 1; transform: none; }
.tri.go .tri-row:nth-child(2) { transition-delay: .18s; }
.tri.go .tri-row:nth-child(3) { transition-delay: .36s; }
.tri.go .tri-row .val { color: var(--ink-4); transition-delay: 1.15s; }
.tri.go .tri-row .val::after { transform: scaleX(1); transition-delay: 1.05s; }
.tri.go .tri-row:nth-child(2) .val, .tri.go .tri-row:nth-child(2) .val::after { transition-delay: 1.3s; }
.tri.go .tri-row:nth-child(3) .val, .tri.go .tri-row:nth-child(3) .val::after { transition-delay: 1.55s; }
.tri-diff { padding: 16px 0 0; font-size: 15.5px; color: var(--ink-2); text-align: right; opacity: 0; transition: opacity .6s 1.9s; }
.tri-diff b { color: var(--neg); font-weight: 550; }
.tri.go .tri-diff { opacity: 1; }
.tri-one { margin-top: 26px; padding: 30px 34px; border-radius: var(--r-l); background: var(--ink); color: var(--paper); opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .8s var(--ease) 2.3s, transform .9s var(--ease) 2.3s; }
.tri.go .tri-one { opacity: 1; transform: none; }
.tri-one .cap { color: var(--on-night-2); }
.tri-one .cap b { color: var(--paper); }
.tri-one .src { color: var(--on-night-2); }
.tri-one .val { font-size: clamp(48px, 7.6vw, 112px); }
#problem .ledger { margin-top: clamp(56px, 8vw, 110px); }

/* ---------- modules grid ---------- */
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.mgrid > li { padding: 24px 26px 6px 0; display: flex; flex-direction: column; }
.mgrid > li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.mgrid .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.mgrid h3 { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 380; font-size: clamp(25px, 2.2vw, 31px); line-height: 1.08; letter-spacing: -.025em; margin: 44px 0 12px; }
.mgrid p { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.mgrid .chips { margin-top: 20px; }

/* ---------- liquidity story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); position: relative; z-index: 1; }
.story-steps { padding-bottom: 12vh; }
.st { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; }
.st:first-child { min-height: 56vh; }
.st.on { opacity: 1; }
.st .cap { margin-bottom: 18px; }
.st h3 { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 380; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.04; letter-spacing: -.028em; }
.st > p:not(.cap) { color: var(--on-night-2); margin-top: 16px; font-size: 18px; max-width: 36ch; }
.st .liq-ctl { padding: 0; margin-top: 28px; flex: none; max-width: 420px; }
.st .verdict { margin: 26px 0 0; max-width: 420px; }
.story-chart { position: sticky; top: 92px; align-self: start; height: min(660px, calc(100vh - 124px)); }
.sc-card { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line-night); border-radius: var(--r-l); background: var(--night-2); overflow: hidden; }
.sc-card .c-head { padding: 22px 24px 0; }
.sc-card .chart { margin: 8px 24px 6px; min-height: 0; }
.sc-card .liq-kpis { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-night); }
.sc-card .liq-kpis > div { border-bottom: 0; border-right: 1px solid var(--line-night); padding: 15px 18px 16px; }
.sc-card .liq-kpis > div:last-child { border-right: 0; }
.liq .liq-points { margin-top: clamp(24px, 4vw, 56px); }
.liq .liq-points h3 { margin-top: 0; }
.liq-more { margin-top: 44px; position: relative; z-index: 1; }

@media (max-width: 1080px) {
  .tour-cap { grid-template-columns: 1fr; gap: 14px; }
  .tour-cap > .cap { width: fit-content; padding-right: 40px; }
  .tour-lines { min-height: 150px; }
  .v-over { grid-template-columns: 240px minmax(0, 1fr); }
  .tri-row, .tri-one { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; }
  .tri-row .cap, .tri-one .cap { grid-column: 1 / -1; }
  .mgrid { grid-template-columns: 1fr 1fr; }
  .mgrid > li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .mgrid > li:nth-child(n+3) { margin-top: 30px; border-top: 1px solid var(--line); }
  .mgrid h3 { margin-top: 26px; }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-chart { order: -1; top: 68px; height: 54vh; min-height: 330px; z-index: 3; margin: 0 calc(var(--gut) * -1); }
  .sc-card { border-radius: 0; border-left: 0; border-right: 0; background: var(--night); box-shadow: 0 24px 30px -10px var(--night); }
  .sc-card .c-head { padding: 14px var(--gut) 0; }
  .sc-card .c-head .legend { display: none; }
  .sc-card .chart { margin: 4px var(--gut) 4px; }
  .sc-card .liq-kpis > div { padding: 10px 12px 12px; }
  .sc-card .liq-kpis .k-v { font-size: 16px; }
  .sc-card .liq-kpis .cap { font-size: 9.5px; }
  .st { min-height: 62vh; justify-content: flex-start; padding-top: 12vh; }
  .st:first-child { min-height: 46vh; }
  .st > p:not(.cap) { max-width: none; }
}
@media (max-width: 720px) {
  .views { height: 560px; }
  .v-over, .v-liq { display: flex; flex-direction: column; }
  .v-over .kcol { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line); flex: none; }
  .v-over .k { padding: 12px 14px; }
  .views .k-v { font-size: 21px; }
  .v-over .ccol, .v-liq .ccol { flex: 1; min-height: 0; padding: 14px 14px 10px; }
  .v-over .chart, .v-liq .chart { min-height: 0; }
  .v-over .legend, .v-liq .legend { display: none; }
  .v-liq .kcol.r { order: -1; display: grid; grid-template-columns: repeat(3, 1fr); border-left: 0; border-bottom: 1px solid var(--line); flex: none; }
  .v-liq .kcol.r .k { border-bottom: 0; border-right: 1px solid var(--line); padding: 12px; }
  .v-liq .kcol.r .k:last-child { border-right: 0; }
  .v-liq .k-d { display: none; }
  .v-col .vis-pad { padding: 14px 14px 16px; }
  .ptabs { overflow-x: auto; scrollbar-width: none; }
  .ptabs::-webkit-scrollbar { display: none; }
  .ptabs button { display: inline-block; }
  .tl h2 { font-size: 30px; }
  .tl p { font-size: 16px; }
  .tour-lines { min-height: 170px; }
  .tri-one { padding: 22px 20px; }
  .sc-card .liq-kpis { grid-template-columns: repeat(2, 1fr); }
  .sc-card .liq-kpis > div:nth-child(-n+2) { display: none; }
}
@media (max-width: 520px) {
  .mgrid { grid-template-columns: 1fr; }
  .mgrid > li { padding-left: 0 !important; border-left: 0 !important; margin-top: 26px; border-top: 1px solid var(--line); }
  .mgrid > li:first-child { margin-top: 0; border-top: 0; }
  .tri .src { font-size: 14.5px; }
}

/* =====================================================================
   v5.2 — self-playing 3D cockpit stage
   ===================================================================== */
.tour-pin { padding-bottom: clamp(90px, 11vw, 170px); }
.tour-frame { perspective: 2400px; perspective-origin: 50% 20%; padding-top: 34px; }
.rig { position: relative; width: 78%; margin: 0 auto 0 9%; transform-style: preserve-3d;
  transform: rotateX(calc(10deg + var(--ty, 0deg))) rotateY(calc(-15deg + var(--tx, 0deg))) rotateZ(1.2deg); will-change: transform; }
.rig.swing { animation: swing 1.15s cubic-bezier(.4, 0, .2, 1); }
@keyframes swing {
  0%, 100% { transform: rotateX(calc(10deg + var(--ty, 0deg))) rotateY(calc(-15deg + var(--tx, 0deg))) rotateZ(1.2deg); }
  42% { transform: rotateX(calc(14deg + var(--ty, 0deg))) rotateY(calc(-24deg + var(--tx, 0deg))) rotateZ(1.2deg) translateZ(-70px); }
}
#tour-panel { transform: translateZ(0); border-radius: 20px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 0 0 1px rgba(18,19,15,.1),
    1px 2px 0 #DDD8CB, 2px 4px 0 #D8D3C5, 3px 6px 0 #D3CDBF, 4px 8px 0 #CEC8B9, 5px 10px 0 #C9C2B3, 6px 12px 0 #C3BCAC,
    30px 60px 60px -18px rgba(60, 28, 8, .34), 70px 120px 130px -30px rgba(18, 19, 15, .34); }
.float { position: absolute; z-index: 5; --z: 110px; transform: translateZ(var(--z)); transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.18, 1.3, .3, 1), opacity .45s; }
.float.out, .phone.out { opacity: 0; transform: translateZ(calc(var(--z) + 300px)) translateY(-46px); transition: transform .4s cubic-bezier(.5, 0, .9, .4), opacity .3s; }
.float .fi { background: var(--card); border-radius: 16px; padding: 16px 20px 17px; min-width: 196px;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(18,19,15,.08), 1px 2px 0 #D8D3C5, 2px 4px 0 #CEC8B9, 26px 44px 44px -14px rgba(18,19,15,.42); }
.float b { display: block; font-weight: 500; font-size: 32px; letter-spacing: -.045em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.float small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 3px; white-space: nowrap; }
.float.pos b { color: var(--pos); }
.float.dark .fi { background: var(--ink); color: var(--paper); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 1px 2px 0 #000, 2px 4px 0 #000, 26px 44px 44px -14px rgba(18,19,15,.6); }
.float.dark .cap, .float.dark small { color: var(--on-night-2); }
.float.dark.neg b { color: var(--neg-night); }
.float.neg b { color: var(--neg); }
.f-a { left: -12%; top: 24%; --z: 130px; }
.f-b { right: 20%; top: -9%; --z: 80px; }
.fi { animation: bob 7s ease-in-out infinite; }
.f-b .fi { animation-delay: -2.6s; } .phone .fi { animation-delay: -4.4s; animation-duration: 8.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.phone { position: absolute; z-index: 6; right: -17%; bottom: -17%; width: 204px; --z: 190px; transform: translateZ(var(--z)) rotateY(9deg) rotateX(-3deg);
  transition: transform .9s cubic-bezier(.18, 1.25, .3, 1), opacity .45s; }
.phone .fi { border-radius: 34px; background: #0B0C09; padding: 7px; box-shadow: 0 0 0 1.5px #3A3B34, 2px 3px 0 #000, 4px 6px 0 #000, 40px 60px 60px -16px rgba(18,19,15,.6); }
.ph-in { position: relative; border-radius: 28px; background: linear-gradient(180deg, #1B1C17, #121310); color: var(--on-night); aspect-ratio: 9 / 18.2; padding: 40px 16px 14px; display: flex; flex-direction: column; overflow: hidden; }
.ph-in::before { content: ""; position: absolute; top: 9px; left: 50%; width: 62px; height: 17px; border-radius: 12px; background: #050504; transform: translateX(-50%); }
.ph-in img { height: 17px; width: auto; align-self: flex-start; margin-bottom: 26px; }
.ph-in .cap { color: var(--on-night-3); font-size: 9.5px; }
.ph-in b { font-weight: 500; font-size: 27px; letter-spacing: -.045em; margin-top: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph-in small { font-size: 11.5px; color: var(--on-night-2); margin-top: 2px; }
.ph-in svg { margin-top: auto; width: 100%; height: 34%; }
.phone.pos b { color: var(--pos-night); } .phone.neg b { color: var(--neg-night); }

/* tab doubles as the progress bar of the running scene */
.ptabs button { position: relative; overflow: hidden; }
.ptabs button.on::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 1.5px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.tour.playing .ptabs button.on::after { animation: tabfill var(--dur, 5.4s) linear forwards; }
@keyframes tabfill { to { transform: scaleX(1); } }

/* inside each view: things build up when the view comes on */
.chart.scrub .wipe { transition: none; }
.view.on .chart.scrub { --wipe: 1; }
.view.on .chart.scrub .wipe { transition: transform 1.7s cubic-bezier(.3, .6, .2, 1) .25s; }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.view.on #fc-bars > div { animation: growY .75s cubic-bezier(.2, 1.25, .3, 1) both; animation-delay: calc(var(--i) * 45ms + .3s); }
.view.on #bridge .b i { animation: growY .8s cubic-bezier(.2, 1.2, .3, 1) both; }
.view.on #bridge .b:nth-child(1) i { animation-delay: .3s; } .view.on #bridge .b:nth-child(2) i { animation-delay: .5s; }
.view.on #bridge .b:nth-child(3) i { animation-delay: .75s; } .view.on #bridge .b:nth-child(4) i { animation-delay: 1s; }
.view.on #bridge .b .num { animation: rise .5s both; } .view.on #bridge .b:nth-child(1) .num { animation-delay: .5s; }
.view.on #bridge .b:nth-child(2) .num { animation-delay: .7s; } .view.on #bridge .b:nth-child(3) .num { animation-delay: .95s; } .view.on #bridge .b:nth-child(4) .num { animation-delay: 1.2s; }
.view.on #tour-stmt tr { animation: rise .5s both; animation-delay: calc(var(--i, 0) * 90ms + .25s); }
.view.on .k, .view.on .vis-kpis > div { animation: rise .55s both; animation-delay: calc(var(--i, 0) * 90ms + .15s); }
.view.on .k:nth-child(2), .view.on .vis-kpis > div:nth-child(2) { --i: 1; } .view.on .k:nth-child(3), .view.on .vis-kpis > div:nth-child(3) { --i: 2; } .view.on .k:nth-child(4) { --i: 3; }
.tour-static .view { transform: translateY(18px) scale(.985); }

@media (max-width: 1080px) {
  .rig { width: 84%; margin-left: 6%; transform: rotateX(calc(7deg + var(--ty, 0deg))) rotateY(calc(-9deg + var(--tx, 0deg))) rotateZ(.6deg); }
  @keyframes swing { 0%, 100% { transform: rotateX(7deg) rotateY(-9deg) rotateZ(.6deg); } 42% { transform: rotateX(10deg) rotateY(-16deg) rotateZ(.6deg) translateZ(-40px); } }
  .phone { width: 160px; right: -11%; }
  .f-a { left: -7%; }
}
@media (max-width: 720px) {
  .tour-frame { perspective: 1400px; padding-top: 44px; }
  .rig { width: 100%; margin: 0; transform: rotateX(4deg) rotateY(-4deg); }
  @keyframes swing { 0%, 100% { transform: rotateX(4deg) rotateY(-4deg); } 42% { transform: rotateX(6deg) rotateY(-9deg) translateZ(-30px); } }
  .phone, .f-b { display: none; }
  .f-a { left: auto; right: 4%; top: -34px; --z: 60px; }
  .float .fi { padding: 11px 14px 12px; min-width: 0; } .float b { font-size: 22px; } .float small { display: none; }
  #tour-panel { box-shadow: 0 0 0 1px rgba(18,19,15,.1), 1px 2px 0 #DDD8CB, 2px 4px 0 #D3CDBF, 14px 30px 40px -14px rgba(18,19,15,.32); }
}
@media (prefers-reduced-motion: reduce) { .fi { animation: none; } }

.ptabs button { flex: none; }
.ptabs { scroll-behavior: smooth; }
@media (max-width: 720px) { #tour-stmt th:nth-child(3), #tour-stmt td:nth-child(3) { display: none; } #tour-stmt th { white-space: nowrap; } }


/* ============ v5.3 — photography: day tabs, light band, arch ============ */
.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: #1a1712; }
.arch img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* --- a day with N3RA: time tabs beside a large photo --- */
.dayx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%); gap: clamp(40px, 8vw, 132px); align-items: start; }
.dayx-list { border-top: 1px solid var(--on-night); }
.dx { border-bottom: 1px solid var(--line-night); }
.dx-head { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 44px auto minmax(0, 1fr) 20px; align-items: baseline; gap: 20px; width: 100%; padding: 26px 0; color: var(--on-night-3); transition: color .35s; }
.dx-head:hover, .dx.on .dx-head { color: var(--on-night); }
.dx-head:focus-visible { outline: 2px solid var(--on-night); outline-offset: 4px; }
.dx-n { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.dx-head time { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 340; font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -.04em; line-height: 1; font-feature-settings: "tnum"; }
.dx-t { font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.01em; }
.dx-ar { width: 14px; height: 14px; align-self: center; opacity: .45; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.dx.on .dx-ar { transform: rotate(90deg); opacity: 1; }
.dx-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2,.7,.2,1); }
.dx.on .dx-body { grid-template-rows: 1fr; }
.dx-in { overflow: hidden; min-height: 0; padding-left: 64px; opacity: 0; transition: opacity .4s; }
.dx.on .dx-in { opacity: 1; transition-delay: .15s; }
.dx-in > p { color: var(--on-night-2); max-width: 46ch; font-size: 16.5px; }
.dx-in .mini { max-width: 380px; margin: 20px 0 30px; background: rgba(244, 241, 234, .04); backdrop-filter: none; }
.dayx-photo { position: relative; position: sticky; top: 96px; }
.dayx-arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: #1a1712; }
.dayx-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s ease, transform 6.5s cubic-bezier(.2,.6,.2,1); }
.dayx-arch img.on { opacity: 1; transform: scale(1); }
.dayx-arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,13,0) 55%, rgba(15,16,13,.55) 100%); pointer-events: none; }
.dayx-big { position: absolute; left: -.42em; bottom: -.16em; font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 300; font-style: italic; font-size: clamp(88px, 12.5vw, 196px); line-height: 1; letter-spacing: -.05em; color: var(--on-night); font-feature-settings: "tnum"; pointer-events: none; text-shadow: 0 2px 40px rgba(15,16,13,.5); }
.dayx-big.sw { animation: dxsw .7s cubic-bezier(.2,.7,.2,1); }
@keyframes dxsw { from { opacity: 0; transform: translateY(.18em); } to { opacity: 1; transform: none; } }
.dayx-sec .day-foot { margin-top: clamp(48px, 6vw, 84px); }

/* --- full-bleed photo band --- */
.lightband { position: relative; height: clamp(400px, 46vw, 660px); overflow: hidden; background: var(--night); color: var(--on-night); display: flex; align-items: flex-end; }
.lightband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.lightband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,13,.08) 0%, rgba(15,16,13,0) 30%, rgba(15,16,13,.62) 74%, var(--night) 100%); }
.lightband .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(36px, 5vw, 76px); }
.lightband .cap { color: var(--dawn-3); display: block; margin-bottom: 16px; }
.lb-line { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 360; font-size: clamp(34px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -.035em; max-width: 16ch; }
.lb-line i { font-weight: 320; }
.lightband + .liq { padding-top: clamp(56px, 7vw, 104px); }

/* --- start: arch photo beside the steps --- */
.how-grid { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.how-photo { margin: 0; position: relative; position: sticky; top: 96px; }
.how-photo .arch { aspect-ratio: 3 / 4; }
.how-photo figcaption { position: absolute; right: -11%; bottom: -34px; display: flex; align-items: flex-end; gap: 14px; }
.how-big { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 300; font-style: italic; font-size: clamp(120px, 15vw, 230px); line-height: .8; letter-spacing: -.05em; color: var(--ink); }
.how-photo .cap { max-width: 17ch; line-height: 1.45; padding-bottom: 6px; color: var(--ink-2); }
.how-grid .step { grid-template-columns: 90px minmax(0, 1fr); gap: 10px 24px; }
.how-grid .step p { grid-column: 2; }

@media (max-width: 1000px) {
  .dayx { grid-template-columns: 1fr; gap: 44px; }
  .dayx-photo { order: -1; position: relative; top: 0; max-width: 460px; margin-left: 8%; }
  .dayx-big { left: -.2em; font-size: clamp(76px, 20vw, 130px); }
  .how-grid { grid-template-columns: 1fr; gap: 84px; }
  .how-photo { position: relative; top: 0; max-width: 380px; }
  .how-photo figcaption { right: -6%; }
}
@media (max-width: 640px) {
  .dx-head { grid-template-columns: 26px auto minmax(0, 1fr) 14px; gap: 12px; padding: 20px 0; }
  .dx-head time { font-size: 30px; }
  .dx-t { font-size: 15.5px; }
  .dx-in { padding-left: 0; }
  .dayx-photo { max-width: none; margin: 0 4% 0 12%; }
  .dayx-arch { aspect-ratio: 1 / 1.08; }
  .how-photo { margin: 0 14% 0 0; max-width: none; }
  .how-photo figcaption { right: -16%; bottom: -30px; }
  .how-big { font-size: 128px; }
  .how-grid .step { grid-template-columns: 1fr; } .how-grid .step p { grid-column: 1; }
  .lightband { height: 460px; }
  .lb-line { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .dayx-arch img { transition: opacity .2s; transform: none; }
  .dx-body, .dx-in { transition: none; }
  .dayx-big.sw { animation: none; }
}

/* v5.3 fix: numeral sits on the light part of the arch, caption below */
.how-photo figcaption { position: static; display: block; margin-top: 18px; }
.how-big { position: absolute; right: -.3em; top: 24%; }
.how-photo .cap { display: block; max-width: 30ch; padding: 0; }
@media (max-width: 1000px) { .how-grid { gap: 56px; } .how-photo figcaption { right: auto; } }
@media (max-width: 640px) { .how-big { right: -.42em; } }

/* ============ v5.4 — cockpit stage: flat panel rising over a dawn photograph ============ */
.tour .dawn { display: none; }
.tour-pin { padding-top: 0; }
.tour-pin::before { content: ""; position: absolute; inset: 0 0 clamp(150px, 19vw, 300px) 0; z-index: 0;
  background: linear-gradient(90deg, rgba(15,16,13,.62) 0%, rgba(15,16,13,.25) 46%, rgba(15,16,13,0) 70%), linear-gradient(180deg, rgba(15,16,13,.3) 0%, rgba(15,16,13,0) 30%), var(--night); }
.tour-in { padding-top: clamp(44px, 5.5vw, 84px); gap: 0; }
.tour-cap > .cap { color: var(--on-night-2); border-top-color: var(--on-night); }
.tour-cap > .cap b { color: var(--on-night); }
.tl h2 { color: var(--on-night); }
.tl p { color: rgba(244, 241, 234, .82); }
.tour-frame { perspective: none; padding-top: clamp(64px, 10vw, 168px); }
.rig, .rig.swing { width: 100%; margin: 0; transform: none; animation: none; }
.tour .float, .tour .phone { display: none; }
#tour-panel { transform: none; border-radius: 16px; background: var(--paper);
  box-shadow: 0 0 0 1px rgba(18,19,15,.14), 0 50px 90px -34px rgba(0,0,0,.7), 0 14px 34px -14px rgba(0,0,0,.4); }
@media (max-width: 640px) {
  .tour-pin::before { inset: 0 0 46% 0; background-position: 78% 100%; }
  .tour-frame { padding-top: 96px; }
  #tour-panel { border-radius: 12px; }
}


/* ============ v5.5 — stage: photograph beside a tidy cockpit ============ */
.tour-pin::before { content: none; }
.tour-in { padding-top: 28px; gap: clamp(28px, 3.5vw, 52px); }
.tour-cap > .cap { color: var(--ink-3); border-top-color: var(--line-strong); }
.tour-cap > .cap b { color: var(--ink); }
.tl h2 { color: var(--ink); } .tl p { color: var(--ink-2); }
.stage2 { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); align-items: start; }
.st-photo { grid-column: 1; grid-row: 1; position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: #1a1712; }
.st-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 6s cubic-bezier(.2,.6,.2,1); }
.st-photo img.on { opacity: 1; transform: none; }
.stage2 .tour-frame { grid-column: 1 / -1; grid-row: 1; margin: clamp(44px, 6vw, 92px) 0 0 28%; padding: 0; position: relative; z-index: 2; }
#tour-panel { border-radius: 10px; background: var(--paper); box-shadow: 0 0 0 1px rgba(18,19,15,.13), 0 34px 70px -34px rgba(18,19,15,.5), 0 8px 20px -10px rgba(18,19,15,.18); }
.panel-bar { height: 48px; }

.views { height: 540px; }
.pg { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 16px; padding: 15px 22px 13px; }
.pg .cap { font-size: 10.5px; }
.pg h4 { grid-column: 1 / -1; font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 400; font-size: 25px; letter-spacing: -.025em; line-height: 1.1; }
.v-over { grid-template-columns: minmax(0, 1fr) 236px; grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "p p" "k k" "c t"; }
.v-over .pg, .v-liq .pg { grid-area: p; }
.v-over .kcol, .v-liq .kcol.r { grid-area: k; display: grid; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v-over .kcol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v-liq .kcol.r { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.views .v-over .k, .views .v-liq .k { display: block; flex: none; padding: 13px 18px 14px; border-bottom: 0; border-right: 1px solid var(--line); min-width: 0; }
.views .v-over .k:last-child, .views .v-liq .k:last-child { border-right: 0; }
.views .v-over .k-v, .views .v-liq .k-v { font-size: 24px; margin-top: 6px; }
.v-over .k .cap, .v-liq .k .cap { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-over .k-d { margin-top: 7px; flex-wrap: wrap; gap: 4px 7px; font-size: 11.5px; line-height: 1.3; }
.v-over .k-d .num { border: 1px solid currentColor; border-radius: 999px; padding: 0 7px; font-size: 11px; line-height: 1.55; }
.v-over .ccol, .v-liq .ccol { grid-area: c; min-height: 0; padding: 14px 20px 12px; }
.v-over .chart, .v-liq .chart { min-height: 0; }
.v-over .legend { display: none; }
.v-liq { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "p" "k" "c"; }
.todo { grid-area: t; border-left: 1px solid var(--line); padding: 14px 18px; overflow: hidden; }
.todo h5 { font-size: 13px; font-weight: 550; margin-bottom: 10px; }
.todo li { display: grid; gap: 1px; padding: 9px 0 10px; border-top: 1px solid var(--line); }
.todo .sev { font-family: var(--mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; color: var(--ink-3); }
.todo .sev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.todo .sev.crit { color: var(--neg); } .todo .sev.warn { color: #9A5B00; } .todo .sev.good { color: var(--pos); }
.todo b { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.todo small { font-size: 11.5px; color: var(--ink-3); }
.v-col .vis-kpis, .pg + .vis-pad { border-top: 1px solid var(--line); }
.view.on .todo li { animation: rise .5s both; animation-delay: calc(var(--i, 0) * 90ms + .5s); }
.todo li:nth-child(2) { --i: 1; } .todo li:nth-child(3) { --i: 2; } .todo li:nth-child(4) { --i: 3; }

@media (max-width: 1100px) {
  .v-over { grid-template-columns: minmax(0, 1fr); grid-template-areas: "p" "k" "c"; }
  .todo { display: none; }
}
@media (max-width: 860px) {
  .stage2 { grid-template-columns: 1fr; }
  .st-photo { aspect-ratio: 4 / 3; margin-right: 22%; }
  .stage2 .tour-frame { margin: -64px 0 0 0; }
  .v-over, .v-liq { display: grid; }
  .v-over .kcol { grid-template-columns: 1fr 1fr; }
  .views .v-over .k:nth-child(2) { border-right: 0; } .views .v-over .k:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .v-liq .kcol.r { order: 0; }
  .pg { padding: 12px 14px 10px; } .pg-s { display: none; } .pg h4 { font-size: 21px; }
  .views { height: 560px; }
}
@media (prefers-reduced-motion: reduce) { .st-photo img { transition: opacity .2s; transform: none; } }
.views { height: 584px; }
.todo h5 { margin-top: 0; }
.view.on .todo li { animation-delay: calc(var(--i, 0) * 80ms + .3s); }
@media (max-width: 860px) { .views { height: 560px; } }

@media (max-width: 860px) {
  .stage2 { grid-template-columns: minmax(0, 1fr); }
  .stage2 .tour-frame { grid-column: 1; grid-row: 2; margin: -72px 0 0 0; min-width: 0; }
  .st-photo { margin-right: 18%; }
}

@media (prefers-reduced-motion: reduce) { .view.on .todo li { animation: none; } }

@media (max-width: 860px) { .views { height: 680px; } .v-over .c-foot { display: none; } }


/* ============ v5.6 — laptop scroll sequence ============ */
.st-photo { display: none; }
.stage2 { display: block; }
.stage2 .tour-frame { margin: 0; }
.lap { display: none; }
.lap-on .lap { display: block; position: relative; height: 430vh; background: #17120c; }
.lap-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--paper); }
.lap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lap-intro { position: absolute; left: 0; right: 0; top: 17vh; z-index: 3; text-align: center; color: var(--on-night); padding: 0 var(--gut); will-change: opacity, transform; pointer-events: none; }
.lap-intro .cap { color: rgba(244, 241, 234, .7); margin-bottom: 18px; }
.lap-intro h2 { font-size: clamp(34px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.035em; max-width: none; text-shadow: 0 2px 40px rgba(15, 12, 8, .5); }
.lap-hint { position: fixed; left: 50%; bottom: 0; display: none; }
.lap-intro .lap-hint { position: absolute; display: block; left: 50%; top: calc(83vh - 17vh - 70px); width: 1px; height: 56px; background: rgba(244, 241, 234, .25); overflow: hidden; }
.lap-hint i { position: absolute; left: 0; top: 0; width: 1px; height: 22px; background: var(--on-night); animation: laphint 1.8s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes laphint { from { transform: translateY(-24px); } to { transform: translateY(58px); } }
.lap-dash { position: absolute; inset: 0; z-index: 2; display: none; align-items: center; justify-content: center; padding-top: 68px; pointer-events: none; }
.lap-desk .lap-dash { display: flex; }
.lap-desk .lap-dash .tour-in { width: min(1240px, 94vw); max-width: none; padding: 0; margin: 0; gap: 14px; opacity: 0; will-change: transform, opacity; transform-origin: 50% 50%; }
.lap-desk .tour-pin { display: none; }
.lap-desk .tour-cap { grid-template-columns: 200px minmax(0, 1fr); align-items: center; }
.lap-desk .tour-cap > .cap { padding-top: 0; border-top: 0; }
.lap-desk .tour-lines { min-height: 38px; }
.lap-desk .tl h2 { font-size: clamp(22px, 2.1vw, 30px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lap-desk .tl p { display: none; }
.lap-desk .views { height: min(584px, calc(100vh - 250px)); min-height: 440px; }
.lap-on:not(.lap-desk) .tour-pin { padding-top: 36px; }

.lightband { display: none; }
.lightband + .liq { padding-top: clamp(72px, 10vw, 148px); }

/* v5.7 mobile pass */
@media (max-width: 520px) { .dateline .cap:last-child { display: none; } .dateline { flex-wrap: nowrap; white-space: nowrap; } }
@media (max-width: 640px) {
  h1 { font-size: clamp(31px, 9vw, 46px); }
  .hero h1 { max-width: none; }
  .hero h1 i { display: block; white-space: nowrap; }
  #tour-panel .panel-bar .cap { display: none; }
  .how-big { right: -.1em; }
  .cfg-band { font-size: 9.5px; letter-spacing: 0; white-space: nowrap; }
  [data-i18n="cmp.r3solo"], [data-i18n="cmp.r4group"], [data-i18n="cmp.r4ent"] { white-space: nowrap; font-size: 11px; }
  .lap-intro h2 { font-size: 34px; }
}


/* ============ v5.8 — overview shows revenue; cockpit fills the laptop screen ============ */
.rev { flex: 1; min-height: 120px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(4px, .9vw, 12px); margin-top: 16px; }
.rm { display: flex; flex-direction: column; min-height: 0; }
.rb { flex: 1; min-height: 0; display: flex; align-items: flex-end; gap: 3px; border-bottom: 1px solid var(--line-strong); }
.rb i { flex: 1; display: block; border-radius: 2px 2px 0 0; transform-origin: 50% 100%; }
.rb i.y, .sw.y { background: rgba(18, 19, 15, .17); }
.rb i.c { background: var(--ink); }
.rb i.part { background: repeating-linear-gradient(135deg, var(--ink) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1px var(--ink); }
.rb i.none { background: none; }
.rm span { font-family: var(--mono); font-size: 10px; color: var(--ink-3); text-align: center; margin-top: 7px; text-transform: uppercase; letter-spacing: .04em; overflow: hidden; }
.view.on .rb i { animation: growY .7s cubic-bezier(.2, 1.2, .3, 1) both; animation-delay: calc(var(--i) * 40ms + .25s); }
.v-over .legend { display: flex; }
.v-over .c-foot { display: flex; }
.lap-desk .lap-dash .tour-in { width: min(1240px, 94vw, calc((100vh - 104px) * 1.6)); }
.lap-desk .tour-cap { display: none; }
.lap-desk #tour-panel { aspect-ratio: 16 / 10; display: flex; flex-direction: column; }
.lap-desk .views { flex: 1; height: auto; min-height: 0; }
@media (max-width: 860px) { .v-over .legend { display: none; } .rm span { font-size: 8.5px; letter-spacing: 0; } .rb { gap: 1px; } }
@media (prefers-reduced-motion: reduce) { .view.on .rb i { animation: none; } }

.rb { padding: 0 9%; gap: 2px; }
.rev { margin-top: 22px; }

.lap-desk .lap-dash { padding-top: 0; }


/* ============ v5.9 — overview laid out like the real cockpit ============ */
.v-over { grid-template-areas: "p p" "k k" "l t"; grid-template-rows: auto auto minmax(0, 1fr); }
.kband { grid-area: k; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.bk { padding: 13px 18px 0; border-right: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; }
.bk:last-child { border-right: 0; }
.bk-h { display: flex; justify-content: space-between; gap: 8px; }
.bk-h .cap, .tl2 > .cap { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; min-width: 0; }
.bk-h .cap + .cap { color: var(--ink-3); flex: none; }
i.d { width: 5px; height: 5px; border-radius: 50%; background: var(--pos); flex: none; display: inline-block; } i.d.bad { background: var(--neg); }
.views .bk .k-v { font-size: clamp(24px, 2.5vw, 32px); margin-top: 7px; letter-spacing: -.045em; }
.bk .k-d { margin-top: 6px; font-size: 11.5px; gap: 6px; align-items: center; }
.bk .k-d .num, .tl2 .k-d .num { border: 1px solid currentColor; border-radius: 999px; padding: 0 7px; font-size: 10.5px; line-height: 1.55; }
.spark { display: block; width: calc(100% + 36px); margin: 9px -18px 0; height: 30px; }
.lowl { grid-area: l; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 12px 18px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tl2 { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px 11px; min-width: 0; }
.views .tl2 .k-v { font-size: 20px; margin-top: 5px; }
.tl2 .k-v small { font-size: 11px; }
.tl2 .k-d { font-size: 11px; margin-top: 2px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.revbox { flex: 1; min-height: 0; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px 9px; display: flex; flex-direction: column; }
.revbox .c-head h3 { font-family: var(--mono); font-size: 9.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.revbox .legend { display: flex; gap: 12px; font-size: 11px; align-items: center; } .revbox .legend .cap { font-size: 9.5px; }
.sw.o { box-shadow: inset 0 0 0 1px var(--ink-3); background: none; }
.rev { margin-top: 8px; gap: clamp(4px, .8vw, 12px); min-height: 60px; max-height: 150px; }
.rb { padding: 0; gap: 0; border-bottom: 1px solid var(--line-strong); position: relative; }
.rb i { border-radius: 0; }
.rb i.y { position: absolute; left: 0; right: 0; bottom: 0; background: none; box-shadow: inset 0 0 0 1px rgba(18, 19, 15, .28); }
.rb i.c { position: relative; margin: 0 12%; }
.rm span { margin-top: 5px; font-size: 9.5px; }
.todo { padding-top: 14px; }
.view.on .bk, .view.on .tl2 { animation: rise .5s both; animation-delay: calc(var(--i, 0) * 60ms + .12s); }
.bk:nth-child(2), .tl2:nth-child(2) { --i: 1; } .bk:nth-child(3), .tl2:nth-child(3) { --i: 2; } .bk:nth-child(4), .tl2:nth-child(4) { --i: 3; } .tl2:nth-child(5) { --i: 4; } .tl2:nth-child(6) { --i: 5; }
@media (max-width: 1100px) { .v-over { grid-template-areas: "p" "k" "l"; } }
@media (max-width: 860px) {
  .kband { grid-template-columns: 1fr 1fr; }
  .bk:nth-child(2) { border-right: 0; } .bk:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bk { padding: 11px 14px 0; } .views .bk .k-v { font-size: 23px; }
  .bk-h .cap + .cap { display: none; }
  .spark { width: calc(100% + 28px); margin: 6px -14px 0; height: 22px; }
  .lowl { padding: 12px 14px; gap: 10px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; } .tl2:nth-child(n+5) { display: none; }
  .views .tl2 .k-v { font-size: 18px; }
  .revbox .legend .cap { display: none; }
  .views { height: 760px; }
}
@media (prefers-reduced-motion: reduce) { .view.on .bk, .view.on .tl2 { animation: none; } }
.tiles { flex: 1; min-height: 0; grid-auto-rows: 1fr; }
.tl2 { display: flex; flex-direction: column; justify-content: center; }
.revbox { flex: none; }
.rev { height: clamp(90px, 15vh, 140px); max-height: none; flex: none; }
@media (max-width: 860px) { .tiles { flex: none; } .rev { height: 96px; } }

@media (max-width: 860px) { .views { height: 700px; } }
@media (min-width: 861px) and (max-height: 820px) { .lap-desk .tl2:nth-child(n+4) { display: none; } }
@media (min-width: 861px) and (max-height: 700px) { .lap-desk .tiles { display: none; } .lap-desk .rev { height: 110px; } .lap-desk .lowl { justify-content: center; } }


/* ============ v6.0 — module cards with live mockups; small screens get swipe rows, counters, a step rail ============ */
.mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mod { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.mv { position: relative; height: 300px; background: #E9E4D8; display: flex; align-items: center; justify-content: center; padding: 26px 38px; overflow: hidden; }
.mw { width: 100%; max-width: 430px; background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px rgba(18, 19, 15, .09), 0 24px 44px -26px rgba(18, 19, 15, .5); padding: 14px 16px 13px; min-width: 0; }
.mw-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mw-h .cap { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-h b { font-weight: 500; font-size: 19px; letter-spacing: -.035em; white-space: nowrap; line-height: 1; }
.mw-h b small, .mrow b small { font-size: 11px; font-weight: 400; color: var(--ink-3); margin-left: 3px; letter-spacing: 0; }
.mt { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.mt .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.mt h3 { font-family: var(--serif); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 380; font-size: clamp(25px, 2.2vw, 31px); line-height: 1.08; letter-spacing: -.025em; margin: 14px 0 10px; }
.mt p { color: var(--ink-2); font-size: 15.5px; flex: 1; max-width: 52ch; }

.chipf { position: absolute; z-index: 2; display: flex; align-items: center; gap: 7px; background: var(--card); border-radius: 10px; padding: 8px 11px; font-size: 12px; line-height: 1.2; white-space: nowrap; box-shadow: 0 0 0 1px rgba(18, 19, 15, .09), 0 16px 28px -14px rgba(18, 19, 15, .55); }
.chipf b { font-weight: 550; } .chipf span { color: var(--ink-3); }
.chipf.c1 { right: 14px; top: 18px; } .chipf.c2 { left: 14px; bottom: 18px; --cd: .8s; }
.chipf .ck { width: 13px; height: 13px; color: var(--pos); flex: none; }
i.d.warn { background: #9A5B00; }
.chipf.js { opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s, transform .35s var(--ease); }
.chipf.js.show { opacity: 1; transform: none; }

.mliq { position: relative; height: 132px; margin-top: 10px; }
.mliq svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.mliq .draw { position: absolute; inset: 0; }
.mliq path { fill: none; vector-effect: non-scaling-stroke; }
.mliq .gr { stroke: var(--line-2); } .mliq .zero { stroke: var(--line); } .mliq .cl { stroke: var(--neg); }
.mliq .ln { stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; } .mliq .ln.est { stroke-dasharray: 1.5 4.5; }
.mliq .low { position: absolute; left: 73.1%; top: 90.8%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--neg); }
.mliq .low::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--neg); opacity: 0; }
.mw-x { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; color: var(--ink-3); margin-top: 7px; text-transform: uppercase; letter-spacing: .04em; }

.mfc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; height: 138px; margin-top: 12px; border-bottom: 1px solid var(--line-strong); }
.mfc div { display: flex; flex-direction: column-reverse; height: 100%; }
.mfc i { display: block; transform-origin: 50% 100%; flex: none; }
.mfc i.f, .mw-l i.f { background: var(--ink); } .mfc i.r, .mw-l i.r { background: rgba(18, 19, 15, .32); }
.mfc i.p, .mw-l i.p { background: repeating-linear-gradient(135deg, rgba(18, 19, 15, .55) 0 1.5px, transparent 1.5px 4.5px); box-shadow: inset 0 0 0 1px rgba(18, 19, 15, .3); }
.mw-l { display: flex; gap: 14px; margin-top: 9px; font-size: 10.5px; color: var(--ink-3); }
.mw-l > span { display: flex; align-items: center; gap: 5px; } .mw-l i { width: 8px; height: 8px; display: block; }

.mrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.mrow:first-child { padding-top: 3px; }
.mrow b { font-weight: 500; color: var(--ink); font-size: 14px; white-space: nowrap; } .mrow b.neg { color: var(--neg); }
.mrow.sum { border-bottom: 0; padding: 13px 0 2px; } .mrow.sum span { color: var(--ink); font-weight: 500; } .mrow.sum b { font-size: 25px; letter-spacing: -.04em; line-height: 1; }
.mtrack { flex: 1; height: 2px; background: var(--line); position: relative; margin: 0 6px; min-width: 40px; }
.mtrack::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: var(--p, 50%); background: var(--ink); }
.mtrack i { position: absolute; left: var(--p, 50%); top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--ink); box-shadow: 0 3px 8px -2px rgba(18, 19, 15, .35); }

.frow, .fsub p { display: grid; grid-template-columns: minmax(0, 1fr) auto 56px; gap: 10px; align-items: center; }
.frow { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.mfin .mw-h { padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); }
.frow > span { display: flex; align-items: center; gap: 6px; } .frow svg { width: 9px; height: 9px; flex: none; color: var(--ink-3); transform: rotate(-90deg); } .frow.open svg { transform: none; }
.frow b { font-weight: 500; } .frow em { font-style: normal; font-size: 11px; text-align: right; color: var(--ink-3); } .frow em.pos { color: var(--pos); }
.frow.sum { border-bottom: 0; padding-bottom: 0; } .frow.sum > span, .frow.sum b { font-weight: 600; }
.fsub { display: grid; grid-template-rows: 1fr; } .fsub > div { overflow: hidden; min-height: 0; }
.fsub p { font-size: 11.5px; color: var(--ink-3); padding: 5px 0 5px 15px; border-bottom: 1px solid var(--line-2); } .fsub p b { font-weight: 400; color: var(--ink-2); }

.mods.arm .mod:not(.play) :is(.chipf, .low, .mfc i, .frow, .mrow) { opacity: 0; }
.mods.arm .mod:not(.play) .draw { clip-path: inset(-10px 100% -10px 0); }
.mods.arm .mod:not(.play) .fsub { grid-template-rows: 0fr; }
.mods.arm .mod:not(.play) .frow.open svg { transform: rotate(-90deg); }
.mod.play .draw { animation: mdraw 1.9s cubic-bezier(.5, 0, .2, 1) .15s both; }
.mod.play .low { animation: mpop .5s 1.6s both; }
.mod.play .low::after { animation: mring 2.2s 2.1s ease-out infinite; }
.mod.play .chipf:not(.js) { animation: mchip .6s cubic-bezier(.2, 1.2, .3, 1) var(--cd, 1.9s) both, mfloat 5s ease-in-out calc(var(--cd, 1.9s) + .7s) infinite alternate; }
.mod.play .mfc i { animation: growY .6s cubic-bezier(.2, 1.1, .3, 1) both; animation-delay: calc(var(--i) * 45ms + var(--s) * 240ms + .15s); }
.mod.play :is(.mrow, .frow) { animation: rise .5s both; animation-delay: calc(var(--i, 0) * 90ms + .1s); }
.mrow:nth-child(2), .frow:nth-of-type(4) { --i: 1; } .mrow:nth-child(3), .frow:nth-of-type(5) { --i: 2; } .mrow:nth-child(4) { --i: 3; }
.mod.play .fsub { animation: fopen .6s cubic-bezier(.3, 0, .2, 1) 1.3s both; }
.mod.play .frow.open svg { animation: fchev .4s 1.3s both; }
[data-mod="fin"] .chipf { --cd: 2.1s; } [data-mod="fc"] .chipf { --cd: 1.5s; }
@keyframes mdraw { from { clip-path: inset(-10px 100% -10px 0); } to { clip-path: inset(-10px 0 -10px 0); } }
@keyframes mpop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes mring { from { opacity: .7; transform: scale(.5); } to { opacity: 0; transform: scale(1.7); } }
@keyframes mchip { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes mfloat { from { transform: none; } to { transform: translateY(-4px); } }
@keyframes fopen { from { grid-template-rows: 0fr; } to { grid-template-rows: 1fr; } }
@keyframes fchev { from { transform: rotate(-90deg); } to { transform: none; } }

.sw-dots, .mbar, .sprog { display: none; }
@media (hover: none) { .btn:active { transform: scale(.97); } }

@media (max-width: 720px) {
  [data-swipe] { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 12px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); position: relative; overscroll-behavior-x: contain; }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > * { flex: 0 0 86%; scroll-snap-align: start; min-width: 0; }
  .sw-dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
  .sw-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--ink); opacity: .2; transition: opacity .3s, width .3s var(--ease); }
  .sw-dots i.on { opacity: 1; width: 20px; }

  .mv { height: 272px; padding: 22px 20px; }
  .mt { padding: 20px 20px 22px; } .mt h3 { margin-top: 10px; }
  .chipf { font-size: 11.5px; padding: 7px 10px; } .chipf.c1 { right: 8px; top: 12px; } .chipf.c2 { left: 8px; bottom: 12px; }
  .mliq { height: 118px; } .mfc { height: 124px; gap: 4px; }

  .q-grid[data-swipe] { border-top: 0; margin-top: 40px; }
  .q-grid[data-swipe] > .q-card { padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin: 0; }
  .tiers[data-swipe] { border: 0; background: none; border-radius: 0; }
  .tiers[data-swipe] > .tier { border: 1px solid var(--line-strong); border-radius: var(--r-l); }
  .tiers[data-swipe] > .tier:not(.feat) { background: var(--card); }

  .steps { position: relative; border-top: 0; padding-left: 26px; }
  .steps::before, .steps::after { content: ""; position: absolute; left: 4px; top: 8px; bottom: 0; width: 1px; background: var(--line); }
  .steps::after { background: var(--ink); transform-origin: 0 0; transform: scaleY(var(--sp, 1)); }
  .steps .step { position: relative; border-bottom: 0; padding: 0 0 36px; }
  .steps .step:last-child { padding-bottom: 0; }
  .step::before { content: ""; position: absolute; left: -26px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink-3); transition: background .3s, box-shadow .3s, transform .3s var(--ease); z-index: 1; }
  .step.on::before { background: var(--ink); box-shadow: 0 0 0 4px var(--paper); transform: scale(1.1); }
  .step h3 { transition: opacity .4s; } .step:not(.on) h3, .step:not(.on) p { opacity: .45; } .step p { transition: opacity .4s; }

  .sprog { display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
  .mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(244, 241, 234, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
  .mbar.on { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .mbar .btn { height: 46px; flex: 1; } .mbar .btn-line { flex: 0 0 auto; padding: 0 20px; }
}
@media (max-width: 520px) {
  .ledger { grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .ledger li, .ledger li + li { padding: 18px 0 22px !important; border-right: 0; border-top: 1px solid var(--line); }
  .ledger li:nth-child(-n+2) { border-top: 0; }
  .ledger .fig { font-size: 54px; } .ledger p { font-size: 14px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .step:not(.on) h3, .step:not(.on) p { opacity: 1; } }
@media (max-width: 720px) { .mfin .frow:nth-of-type(4) { display: none; } [data-mod="fin"] .chipf.c1 { top: 8px; } }

/* small screens: the laptop scene opens the page, the hero copy follows it */
.hero.after-lap { padding-top: 34px; background: var(--paper); }
.lap-intro .cap { line-height: 1.7; }
/* small screens: the big time shares the photo's grid cell, so it cannot slide down into the list */
@media (max-width: 1000px) {
  .dayx-photo { display: grid; }
  .dayx-arch, .dayx-big { grid-area: 1 / 1; }
  .dayx-big { position: relative; left: auto; bottom: auto; align-self: end; justify-self: start; margin: 0 0 -.1em -.2em; z-index: 1; }
}


/* ============ v6.1 — modules run as one horizontal row at every width; small screens show them in place of the cockpit ============ */
.mods[data-swipe="all"] { --edge: max(var(--gut), calc((var(--vw, 100vw) - var(--wrap)) / 2)); display: flex; align-items: stretch; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(var(--edge) * -1); padding-inline: var(--edge); scroll-padding-inline: var(--edge); }
.mods[data-swipe="all"]::-webkit-scrollbar { display: none; }
.mods[data-swipe="all"] > .mod { flex: 0 0 min(40%, 520px); scroll-snap-align: start; }
.sw-ctl { display: flex; align-items: center; margin-top: 26px; }
.sw-ctl.idle { display: none; }
.sw-ctl .sw-dots { display: flex; justify-content: flex-start; gap: 7px; margin: 0; }
.sw-ctl .sw-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--ink); opacity: .2; transition: opacity .3s, width .3s var(--ease); }
.sw-ctl .sw-dots i.on { opacity: 1; width: 20px; }
.sw-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-grid; place-items: center; color: var(--ink); transition: background .25s, color .25s, border-color .25s, opacity .25s; }
.sw-btn.next { margin-left: 8px; }
.sw-btn svg { width: 16px; height: 16px; }
.sw-btn.prev svg { transform: scaleX(-1); }
.sw-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sw-btn:disabled { opacity: .3; cursor: default; }
.sw-ctl .sw-btn.prev { margin-left: auto; }
@media (max-width: 1000px) { .mods[data-swipe="all"] > .mod { flex-basis: 62%; } }
@media (max-width: 720px) {
  .mods[data-swipe="all"] { gap: 12px; }
  .mods[data-swipe="all"] > .mod { flex-basis: 86%; }
  .sw-ctl { justify-content: center; margin-top: 18px; }
  .sw-ctl .sw-dots { justify-content: center; }
  .sw-btn { display: none; }
}
@media (max-width: 860px) {
  .tour-pin { display: none; }
  .tour + #module { padding-top: clamp(56px, 12vw, 84px); }
}

/* security: three cards in one row, stacked on small screens */
@media (min-width: 721px) {
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust li:nth-child(n+2) { padding-left: 24px; border-left: 1px solid var(--line); }
  .trust li:nth-child(n+3) { margin-top: 0; padding-top: 24px; border-top: 0; }
}
@media (max-width: 720px) {
  .trust { grid-template-columns: 1fr; }
  .trust li:nth-child(n) { padding-left: 0; border-left: 0; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
  .trust li:first-child { margin-top: 0; border-top: 0; }
}
