/* Anubion public site, "Above the clouds" (approved prototype v12, 18 Nov 2026).
   A fixed WebGL sky (js/site.js) sits behind each page. Pages are stacks of .chapter sections; some pin with
   position:sticky and are driven by scroll progress. A left rail lists the chapters of the current page.
   Fonts: /fonts/site-fonts.css (self-hosted). No third-party requests. */
:root {
  color-scheme: light;
  --ink: #082636;
  --body: #334155;
  --muted: #557286;
  --line: #d1e0e8;
  --teal: #0891b2;
  --teal-deep: #0e7490;
  --cyan: #22d3ee;
  --cyan-soft: #83e3f2;
  --mist: #f4f8fb;
  --paper: #ffffff;
  --panel: #f7fbfd;
  --fail: #dc2626;
  --fail-soft: #fee2e2;
  --pass: #059669;
  --pass-soft: #d1fae5;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --sv-realised: #059669;
  --night-text: #e6f6fb;
  --night-muted: #9cc3d3;
  --night-line: rgba(131, 227, 242, .2);
  --night-panel: rgba(4, 22, 32, .62);
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
html { background: var(--mist); }
body { background: var(--mist); color: var(--body); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
* { box-sizing: border-box; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--font-mono); }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: linear-gradient(180deg, #8fc4dd, #d6eaf3); }
main { position: relative; z-index: 1; }
[hidden] { display: none !important; }

/* ---------- Tech layer: a blueprint grid over the sky (the scan line and contours live in the shader), crop marks on the hero shot, a HUD readout ---------- */
.grid { position: fixed; inset: 0; z-index: 0; pointer-events: none; --g: 48px; --gc: rgba(8, 72, 100, .085); --gd: rgba(8, 72, 100, .2);
  background-image: radial-gradient(circle, var(--gd) 1px, transparent 1.5px), linear-gradient(var(--gc) 1px, transparent 1px), linear-gradient(90deg, var(--gc) 1px, transparent 1px);
  background-size: var(--g) var(--g), calc(var(--g) * 4) calc(var(--g) * 4), calc(var(--g) * 4) calc(var(--g) * 4);
  background-position: calc(var(--g) / -2) calc(var(--g) / -2 + var(--gy, 0px)), 0 var(--gy, 0px), 0 var(--gy, 0px);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 35%, transparent 100%); }
body.is-night .grid { --gc: rgba(131, 227, 242, .06); --gd: rgba(131, 227, 242, .2); }
.hero-shot::after { content: ""; position: absolute; inset: -14px; pointer-events: none; z-index: 2; --c: var(--teal); --l: 18px; opacity: .75;
  background: linear-gradient(var(--c), var(--c)) left top / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1px var(--l) no-repeat; }
.fig { position: absolute; left: 4px; bottom: -24px; font: 500 10px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); white-space: nowrap; }
.hero-shot .fig { top: -36px; bottom: auto; left: auto; right: 0; }
.hud { position: fixed; right: max(28px, env(safe-area-inset-right, 0px)); bottom: 22px; z-index: 8; display: flex; gap: 22px; font: 500 10px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); pointer-events: none; transition: color .6s; }
.hud span { display: flex; align-items: center; gap: 8px; }
.hud span::before { content: ""; width: 5px; height: 5px; background: currentColor; opacity: .55; }
.hud .live::before { background: var(--teal); opacity: 1; border-radius: 50%; }
.hud.on-night .live::before { background: var(--cyan); }
.hud.on-night { color: var(--night-muted); }
.hero h1 b::after { content: ""; display: inline-block; width: .07em; height: .78em; margin-left: .1em; vertical-align: -.04em; background: var(--teal); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Top bar ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: transparent; }
.topbar { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 9; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); color: var(--ink); transition: color .6s ease; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.on-night.topbar { color: var(--night-text); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: #102a3a; border: 1px solid #819eaf; display: grid; place-items: center; flex: none; }
.brand-mark img { width: 30px; height: 30px; }
.brand-word { font-family: var(--font-display); font-weight: 600; letter-spacing: .32em; font-size: 13px; text-transform: uppercase; }
.navlinks { display: flex; gap: 26px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.navlinks a { text-decoration: none; opacity: .6; padding-block: 6px; border-bottom: 1px solid transparent; transition: opacity .3s, border-color .3s; }
.navlinks a:hover, .navlinks a.active { opacity: 1; border-color: currentColor; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.signin { font-size: 13px; text-decoration: none; opacity: .75; }
.signin:hover { opacity: 1; }
.cta-pill { font: 600 13px/1 var(--font-body); padding: 12px 18px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .3s, color .3s; }
.on-night .cta-pill { background: var(--cyan); color: var(--ink); }
.menu-btn { display: none; background: transparent; border: 1px solid currentColor; border-radius: 999px; padding: 9px 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--teal); z-index: 11; }

/* ---------- Left chapter rail ---------- */
.rail { position: fixed; left: max(10px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); z-index: 8; display: flex; flex-direction: column; gap: 2px; color: var(--ink); padding: 10px 14px 10px 12px; border-radius: 14px; border: 1px solid transparent; transition: color .6s, background .3s, border-color .3s; }
.rail:hover, .rail:focus-within { background: rgba(255,255,255,.82); border-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(8,38,54,.12); }
.rail.on-night:hover, .rail.on-night:focus-within { background: rgba(4,22,32,.85); border-color: var(--night-line); }
.rail.on-night { color: var(--night-text); }
.rail-item { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 7px 0; min-height: 26px; cursor: pointer; text-align: left; }
.rail-tick { position: relative; width: 14px; height: 1px; background: currentColor; opacity: .35; transition: width .35s ease, opacity .35s, height .2s; flex: none; }
.rail-tick i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--teal); }
.rail.on-night .rail-tick i { background: var(--cyan); }
.rail-item.active .rail-tick { width: 34px; opacity: 1; height: 2px; background: color-mix(in srgb, currentColor 30%, transparent); }
.rail-item:hover .rail-tick { opacity: .9; width: 22px; }
.rail-item.active:hover .rail-tick { width: 34px; }
.rail-lbl { font: 500 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: 0; max-width: 0; overflow: hidden; transform: translateX(-6px); transition: opacity .3s, transform .3s, max-width .3s; pointer-events: none; }
.rail-lbl b { font-family: var(--font-mono); font-weight: 500; opacity: .6; margin-right: 8px; letter-spacing: 0; }
.rail:hover .rail-lbl, .rail:focus-within .rail-lbl { opacity: .8; transform: none; max-width: 240px; }
.rail-item.active .rail-lbl { font-weight: 600; }
.rail-item:hover .rail-lbl { opacity: 1; }

/* Phone: chapter pill + sheet */
.chap-pill { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 8; display: none; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.88); color: var(--ink); font-size: 13px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); max-width: calc(100% - 32px); }
.chap-pill .mono { font-size: 11px; color: var(--muted); }
.chap-pill.on-night { background: rgba(4, 22, 32, .8); color: var(--night-text); border-color: var(--night-line); }
.sheet { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; background: rgba(8, 38, 54, .35); }
.sheet-card { width: 100%; background: var(--paper); border-radius: 20px 20px 0 0; padding-block: 18px calc(22px + env(safe-area-inset-bottom, 0px)); padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); max-height: 80vh; overflow: auto; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet-head span { font: 600 11px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sheet-close { background: none; border: 0; font-size: 14px; color: var(--muted); cursor: pointer; padding: 8px; }
.sheet-list { list-style: none; margin: 0; padding: 0; display: grid; }
.sheet-list button, .sheet-list a { display: flex; gap: 12px; align-items: baseline; width: 100%; padding: 12px 4px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; text-decoration: none; color: var(--ink); font-size: 16px; }
.sheet-list .mono { font-size: 12px; color: var(--muted); }
.sheet-list .active { color: var(--teal-deep); font-weight: 600; }

/* ---------- Shared chapter type ---------- */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 861px) { .wrap { padding-left: max(88px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.eyebrow { font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); }
.eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; vertical-align: 1px; background: currentColor; }
.night .eyebrow { color: var(--cyan); }
.display { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .06em; line-height: 1.12; color: var(--ink); text-wrap: balance; margin: 0; }
.night .display { color: var(--night-text); }
h2.display { font-size: clamp(30px, 5vw, 72px); line-height: 1.04; }
.lede { font-size: clamp(16px, 1.4vw, 19px); max-width: 56ch; color: var(--body); margin: 0; }
.night .lede { color: var(--night-muted); }
.night { color: var(--night-text); }
.section { position: relative; padding-block: 18vh 14vh; }
.section-head { display: grid; gap: 18px; margin-bottom: 48px; }
.illus { font: 500 11px/1 var(--font-mono); letter-spacing: .06em; color: var(--muted); }
.night .illus { color: var(--night-muted); }
.btn { font: 600 15px/1 var(--font-body); padding: 15px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.btn.primary { background: var(--ink); color: #fff; }
.night .btn.primary { background: var(--cyan); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(8, 38, 54, .3); }
.night .btn.ghost { color: var(--night-text); border-color: rgba(230, 246, 251, .35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 120px 80px; }
.hero h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 7.2vw, 100px); line-height: 1.02; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); margin: 18px 0 26px; text-wrap: balance; max-width: 13ch; }
.night.hero h1 { color: var(--night-text); }
.hero h1 b { font-weight: 600; color: var(--teal-deep); }
.night.hero h1 b { color: var(--cyan); }
.hero .lede { color: #1d4357; }
.night.hero .lede { color: var(--night-muted); }
.hero-meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13px; color: #1d4357; }
.night .hero-meta { color: var(--night-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--teal); }
.scroll-hint { margin-top: 56px; display: flex; align-items: center; gap: 14px; font: 600 11px/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; opacity: .75; }
.scroll-hint i { width: 1px; height: 44px; background: currentColor; position: relative; overflow: hidden; opacity: .5; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: currentColor; animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { to { top: 110%; } }
.subhero { min-height: 78svh; }
.subhero h1 { font-size: clamp(36px, 6vw, 84px); max-width: 16ch; }

/* ---------- Pinned chapters ---------- */
.pin { position: relative; }
.pin-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.pin[data-pin="statement"] { height: 240vh; }
.pin[data-pin="console"] { height: 480vh; }
.pin[data-pin="journey"] { height: 440vh; }
.pin[data-pin="orben"] { height: 280vh; }
.pin[data-pin="finops"], .pin[data-pin="savings"] { height: 440vh; }

/* Statement */
.statement-text { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.2; color: var(--ink); margin: 22px 0 0; max-width: 21ch; text-wrap: balance; }
.statement-text .w { opacity: .26; }
.statement-text .w.hl { color: var(--teal-deep); font-weight: 400; }
.statement-follow { margin-top: 30px; color: #1d4357; }

/* Split chapter: steps on the left, stage on the right */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4.5vw, 64px); align-items: center; width: 100%; }
/* All steps share one grid cell, so the block is as tall as the longest step and the step nav always sits below the text. */
.steps { position: relative; display: grid; }
.step { grid-area: 1 / 1; position: relative; opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; pointer-events: none; }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step-num { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.diamond { position: relative; width: 44px; height: 44px; display: grid; place-items: center; font: 500 13px/1 var(--font-mono); color: var(--teal-deep); flex: none; }
.diamond::before { content: ""; position: absolute; width: 30px; height: 30px; border: 1px solid var(--teal); transform: rotate(45deg); }
.step h3 { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .07em; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; color: var(--ink); margin: 0 0 16px; text-wrap: balance; }
.step p { margin: 0; max-width: 42ch; font-size: 17px; color: var(--body); }
.step-ticks { position: absolute; bottom: -10px; left: 0; display: flex; gap: 8px; }
.step-ticks b { height: 2px; width: 34px; background: var(--ink); opacity: .15; transition: opacity .4s, background .4s; }
.step-ticks b.on { opacity: 1; background: var(--teal); }

/* ---------- Product console (portal mock) ---------- */
.app { position: relative; width: 100%; max-width: 700px; justify-self: end; border-radius: 16px; background: rgba(255,255,255,.94); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(8, 38, 54, .18); overflow: hidden; font-size: 12px; color: var(--body); }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #cfdde5; }
.crumb { font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.org-btn { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); font-weight: 500; color: var(--ink); white-space: nowrap; }
.org-btn i { width: 16px; height: 16px; border-radius: 5px; background: var(--teal); }
.app-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 380px; }
.app-nav { border-right: 1px solid var(--line); padding: 12px 8px; display: grid; align-content: start; gap: 2px; background: var(--panel); }
.app-nav span { padding: 7px 10px; border-radius: 7px; color: var(--muted); }
.app-nav span.on { background: #e3f2f7; color: var(--teal-deep); font-weight: 600; }
.app-main { padding: 14px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: start; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--paper); transition: opacity .45s, box-shadow .45s; }
.tile h4 { margin: 0 0 10px; font: 600 10px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.app[data-focus] .tile { opacity: .38; }
.app[data-focus="domains"] .t-domains, .app[data-focus="domains"] .t-score, .app[data-focus="trend"] .t-trend, .app[data-focus="trend"] .t-score, .app[data-focus="tasks"] .t-findings, .app[data-focus="tasks"] .t-score { opacity: 1; box-shadow: 0 0 0 2px var(--cyan), 0 12px 30px rgba(8, 145, 178, .18); }
.t-score { display: flex; gap: 14px; align-items: center; }
.ring { width: 84px; height: 84px; flex: none; }
.ring .trk { stroke: #e3eef3; }
.ring .val { stroke: var(--teal); stroke-linecap: round; }
.ring text { font: 600 22px var(--font-display); fill: var(--ink); }
.kpis { display: grid; gap: 6px; font-size: 12px; }
.kpis b { font: 600 15px/1.1 var(--font-display); color: var(--ink); display: block; }
.t-domains, .t-findings { grid-column: 1 / -1; }
.t-domains .bar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 30px; gap: 8px; align-items: center; margin-top: 7px; font-size: 11.5px; }
.bar u { display: block; height: 6px; border-radius: 3px; background: #e3eef3; text-decoration: none; overflow: hidden; }
.bar u i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-deep), var(--cyan)); border-radius: 3px; transform-origin: 0 50%; }
.bar .mono { font-size: 11px; text-align: right; color: var(--ink); }
.t-trend svg { width: 100%; height: 90px; display: block; }
.t-trend .area { fill: url(#trendFill); }
.t-trend .ln { fill: none; stroke: var(--teal); stroke-width: 2; vector-effect: non-scaling-stroke; }
.t-trend .gl { stroke: #e3eef3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.find { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid #eef4f7; }
.find:first-of-type { border-top: 0; }
.find span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { font: 600 9.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: 5px 7px; border-radius: 5px; white-space: nowrap; display: inline-block; }
.chip.fail { background: var(--fail-soft); color: #991b1b; }
.chip.pass { background: var(--pass-soft); color: #065f46; }
.chip.high { background: var(--warn-soft); color: var(--warn); }
.chip.muted { background: #e6eef2; color: var(--muted); }
.org-menu { position: absolute; right: 12px; top: 46px; width: 290px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px rgba(8, 38, 54, .2); padding: 8px; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s; pointer-events: none; }
.app[data-focus="orgs"] .org-menu { opacity: 1; transform: none; }
.org-menu h5 { margin: 4px 8px 8px; font: 600 10px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.org-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; }
.org-row.on { background: #e3f2f7; }
.org-row i { width: 22px; height: 22px; border-radius: 6px; }
.org-row small { display: block; color: var(--muted); font-size: 11px; }
.org-row b { color: var(--ink); font-weight: 600; }
.console { position: absolute; left: 12px; right: 12px; bottom: 12px; background: #04161f; color: #cfeef6; border-radius: 12px; padding: 14px 16px; font: 12px/1.75 var(--font-mono); box-shadow: 0 20px 50px rgba(4, 22, 32, .45); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; }
.app[data-focus="scan"] .console { opacity: 1; transform: none; }
.console .ln { opacity: 0; transition: opacity .25s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console .ln.on { opacity: 1; }
.console .k { color: var(--cyan); }
.console .ok { color: #6ee7b7; }
.console .bad { color: #fca5a5; }
.console .dim { color: #6f97a8; }
.app-label { position: absolute; right: 4px; bottom: -24px; }
.app-wrap { position: relative; width: 100%; justify-self: end; max-width: 700px; }

/* ---------- Journey stage ---------- */
.stage { position: relative; width: 100%; aspect-ratio: 52 / 44; max-width: 620px; justify-self: end; }
.stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage .link { stroke: var(--teal); stroke-width: 1.4; stroke-dasharray: 4 5; fill: none; opacity: .7; }
.stage .sub rect { fill: var(--paper); stroke: #b9d3df; stroke-width: 1; transition: fill .5s, stroke .5s; }
.stage .sub text { font: 500 11px var(--font-mono); fill: var(--muted); }
.stage .sub .dot { fill: #b9d3df; transition: fill .5s; }
.stage .tenant { fill: rgba(255,255,255,.5); stroke: #9fc1d0; stroke-width: 1; }
.stage .tenant-label { font: 500 10px var(--font-mono); fill: var(--muted); }
.stage .hub circle { fill: var(--ink); }
.stage .hub text { font: 600 11px var(--font-body); fill: var(--ink); letter-spacing: .14em; }
.stage .ring2 { fill: none; stroke: var(--fail); stroke-width: 1.5; opacity: 0; transform-origin: 342px 312px; }
.stage[data-step="2"] .ring2, .stage[data-step="3"] .ring2 { opacity: 1; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.stage[data-step="2"] .target rect, .stage[data-step="3"] .target rect { stroke: var(--fail); fill: var(--fail-soft); }
.stage[data-step="2"] .target .dot, .stage[data-step="3"] .target .dot { fill: var(--fail); }
.stage[data-step="4"] .target rect { stroke: var(--pass); fill: var(--pass-soft); }
.stage[data-step="4"] .target .dot { fill: var(--pass); }
.card { position: absolute; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(8, 38, 54, .12); padding: 14px 16px; font-size: 13px; line-height: 1.45; color: var(--body); opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; width: min(270px, 62%); }
.card.on { opacity: 1; transform: none; }
.card strong { display: block; color: var(--ink); font-weight: 600; margin-top: 8px; }
.card small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.card .chip { margin-right: 4px; }
.card-readonly { right: 0; top: 0; }
.card-fail { right: 0; top: 30%; }
.card-task { left: 0; bottom: 0; }
.card-owner { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.card-owner i { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 10px/24px var(--font-body); text-align: center; font-style: normal; }
.card-history { right: 0; bottom: 0; width: min(300px, 70%); }
.hist { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 8px 0 0; }
.hist dt { color: var(--muted); font: 11px var(--font-mono); }
.hist dd { margin: 0; font-size: 12px; color: var(--ink); }
.stage-label { position: absolute; left: 0; top: -26px; }

/* ---------- Orben chapter ---------- */
.orben-panel { border: 1px solid var(--night-line); border-radius: 22px; background: var(--night-panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 22px; display: grid; gap: 12px; }
.ask { justify-self: end; background: var(--cyan); color: var(--ink); font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 16px 16px 4px 16px; }
.rank { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); opacity: .18; transform: translateX(10px); transition: opacity .5s, transform .5s; }
.rank.on { opacity: 1; transform: none; }
.rank .n { font: 300 26px/1 var(--font-display); color: var(--cyan); text-align: center; }
.rank b { display: block; font-weight: 500; color: var(--night-text); font-size: 14px; }
.rank small { display: block; color: var(--night-muted); font-size: 12px; }
.sev { font: 600 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; }
.sev.hi { background: rgba(248, 113, 113, .18); color: #fecaca; }
.sev.md { background: rgba(251, 191, 36, .16); color: #fde68a; }
.sev.lo { background: rgba(148, 163, 184, .18); color: #cbd5e1; }
.answer { font-size: 14px; color: var(--night-muted); border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; margin: 0; opacity: .18; transition: opacity .5s; }
.answer.on { opacity: 1; }
.answer em { font-style: normal; color: var(--night-text); }
.orben-quote { font-family: var(--font-display); font-weight: 300; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.35; color: var(--night-text); margin: 24px 0 0; max-width: 26ch; }
.orben-quote b { font-weight: 600; color: var(--cyan); }

/* ---------- Peaks ---------- */
.peaks { position: relative; min-height: 120vh; padding-block: 20vh 0; overflow: hidden; }
.range { position: relative; width: 100%; aspect-ratio: 2 / 1; max-height: 78vh; margin-top: 6vh; overflow: hidden; }
.range svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.range { --fade: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, #000 62%, transparent 98%); -webkit-mask-image: var(--fade); mask-image: var(--fade); -webkit-mask-composite: source-in; mask-composite: intersect; }
.range path.row { fill: url(#tFill); stroke: url(#tStroke); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.pk { transition: opacity .6s ease; }
.pk-t { font: 500 12.5px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; fill: var(--night-text); }
.pk-s { font: 400 13px var(--font-body); fill: var(--night-muted); }
.pk-n { font: 500 11px var(--font-mono); letter-spacing: .1em; fill: var(--cyan); }
.pk-lead { stroke: var(--cyan); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; opacity: .7; }
.pk-dot { fill: #f4feff; }
.pk-ring { fill: none; stroke: var(--cyan); stroke-width: 1.2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: pkring 2.8s ease-out infinite; }
@keyframes pkring { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.pk-short { display: none; }
.credit-line { margin: 10px 0 0; font-size: 12px; color: var(--night-muted); opacity: .85; }

/* ---------- Releases ---------- */
.releases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.release { border: 1px solid var(--night-line); border-radius: 18px; padding: 22px; background: var(--night-panel); display: grid; gap: 10px; align-content: start; }
.release .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.release .meta .mono { font-size: 12px; color: var(--night-muted); }
.release .area { font: 600 11px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.release h3 { margin: 0; font: 500 21px/1.25 var(--font-display); color: var(--night-text); }
.release p { margin: 0; color: var(--night-muted); font-size: 14.5px; }
.release .more { background: none; border: 0; padding: 0; color: var(--cyan); font-weight: 600; font-size: 14px; cursor: pointer; text-align: left; }
.badge-new { font: 600 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: var(--cyan); color: var(--ink); margin-right: 6px; }

/* ---------- Matrix ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.cap { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 15px; line-height: 1; flex: none; font-style: normal; }
.cap.native { background: var(--teal); color: #fff; }
.cap.partial { background: #cfe8f0; color: var(--teal-deep); }
.cap.none { background: #eef3f6; color: #8aa3b1; }
.night .cap.partial { background: rgba(34, 211, 238, .18); color: var(--cyan); }
.night .cap.none { background: rgba(255,255,255,.07); color: #7f9fae; }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.9); }
.night .table-wrap { border-color: var(--night-line); background: var(--night-panel); }
table.mx { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
.mx th, .mx td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.night .mx th, .night .mx td { border-color: rgba(255,255,255,.07); }
.mx th { font: 600 11px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: rgba(244, 248, 251, .7); }
.night .mx th { background: rgba(255,255,255,.03); color: var(--night-muted); }
.mx tr:last-child td { border-bottom: 0; }
.mx td.c { text-align: center; width: 110px; }
table.mx.keep { min-width: 0; }
.mx.keep td.val { white-space: nowrap; font-family: var(--font-mono); font-size: 13px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 36px; }
.after-trial { margin: 28px 0 0; max-width: 70ch; font-size: 14.5px; color: var(--night-muted); }
.after-trial b { color: var(--night-text); font-weight: 600; }
.after-trial a { color: var(--cyan); margin-left: 4px; }
.who { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 40px; align-items: start; }
.who-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: 14px; overflow: hidden; }
.who-facts div { background: var(--night-panel); padding: 18px 20px; display: grid; gap: 4px; }
.who-facts b { font: 500 13px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-text); }
.who-facts span { font-size: 14px; color: var(--night-muted); }
.who-people { display: grid; gap: 12px; }
.mx td b { color: var(--ink); font-weight: 600; }
.night .mx td b { color: var(--night-text); }
.mx td small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.night .mx td small { color: var(--night-muted); }
.mx td.val { color: var(--teal-deep); }
.night .mx td.val { color: var(--cyan-soft); }
.mx tr.rowin { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.mx tr.rowin.on { opacity: 1; transform: none; }
.capcell { display: flex; gap: 10px; align-items: flex-start; }
.strengths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.strength { border-top: 2px solid var(--teal); padding-top: 16px; }
.strength b { display: block; font: 500 19px/1.25 var(--font-display); color: var(--ink); margin-bottom: 8px; }
.strength span { font-size: 14.5px; color: var(--body); }
.talk { margin-top: 48px; padding: 26px; border-radius: 18px; background: rgba(255,255,255,.85); border: 1px solid var(--line); display: grid; gap: 14px; }
.talk p { margin: 0; }
.talk .q { font: 300 clamp(19px, 2vw, 25px)/1.4 var(--font-display); color: var(--ink); }
.talk small { color: var(--muted); font-size: 13px; }

/* ---------- Map ---------- */
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.map { width: 100%; aspect-ratio: 520 / 380; position: relative; }
.map svg { width: 100%; height: 100%; display: block; overflow: visible; }
.map .grat { stroke: rgba(131, 227, 242, .14); stroke-width: 1; }
.map .grat-l { font: 10px var(--font-mono); fill: #5f8a9b; }
.map .arc { fill: none; stroke: var(--cyan); stroke-width: 1.4; stroke-dasharray: 3 6; animation: flow 1.6s linear infinite; }
.map .arc.slow { stroke: var(--night-muted); animation-duration: 2.6s; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.map .pin-c { fill: var(--cyan); }
.map .pin-r { fill: none; stroke: var(--cyan); stroke-width: 1; animation: pinr 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pinr { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.map .pin-name { font: 600 12px var(--font-body); fill: var(--night-text); letter-spacing: .08em; }
.map .pin-what { font: 11px var(--font-mono); fill: var(--night-muted); }
.regions { display: grid; gap: 4px; }
.region { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--night-line); }
.region i { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); margin-top: 6px; }
.region b { display: block; color: var(--night-text); font-weight: 600; }
.region span { color: var(--night-muted); font-size: 14.5px; }

/* ---------- Generic panes ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pane { border-radius: 18px; padding: 24px; background: rgba(255,255,255,.88); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.night .pane { background: var(--night-panel); border-color: var(--night-line); }
.pane h3 { margin: 0; font: 500 21px/1.25 var(--font-display); color: var(--ink); }
.night .pane h3 { color: var(--night-text); }
.pane p { margin: 0; font-size: 15px; }
.night .pane p, .night .pane li { color: var(--night-muted); }
.pane ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; }
.pane .link { font-size: 14px; color: var(--teal-deep); text-decoration: none; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.night .pane .link { color: var(--cyan); }
.pane .num { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.night .pane .num { color: var(--cyan-soft); }

/* Orben security explorer */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tab { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--night-line); background: transparent; color: var(--night-muted); cursor: pointer; font-size: 14px; }
.tab[aria-selected="true"] { background: var(--cyan); color: var(--ink); border-color: var(--cyan); font-weight: 600; }
.explorer { border: 1px solid var(--night-line); border-radius: 22px; background: var(--night-panel); padding: clamp(16px, 3vw, 32px); min-height: 360px; }
.flow { display: flex; align-items: stretch; overflow-x: auto; padding-bottom: 6px; }
.flow-col { display: grid; gap: 10px; align-content: center; min-width: 170px; flex: 1; }
.node { border: 1px solid var(--night-line); border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,.04); font-size: 13px; color: var(--night-text); }
.node small { display: block; color: var(--night-muted); font-size: 12px; margin-top: 2px; }
.node.core { background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .5); }
.node.ctrl { border-color: rgba(110, 231, 183, .45); background: rgba(110, 231, 183, .07); }
.node.opt { border-style: dashed; }
.node.deny { border-style: dashed; border-color: rgba(252, 165, 165, .55); color: #fecaca; background: rgba(252, 165, 165, .06); }
.node.head { background: none; border: 0; padding: 0 2px; font: 600 10.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--night-muted); }
.wire { position: relative; width: 46px; flex: none; align-self: center; height: 2px; background: rgba(131, 227, 242, .25); margin-inline: 6px; overflow: hidden; }
.wire::after { content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: var(--cyan); animation: pulse 1.6s linear infinite; }
.wire.deny { background: repeating-linear-gradient(90deg, rgba(252,165,165,.6) 0 4px, transparent 4px 8px); }
.wire.deny::after { display: none; }
@keyframes pulse { to { left: 100%; } }
.explorer-cap { margin: 18px 0 0; color: var(--night-muted); font-size: 14px; max-width: 70ch; }
details.acc { border-bottom: 1px solid var(--night-line); }
details.acc summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; font: 500 17px/1.3 var(--font-display); color: var(--night-text); }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--font-mono); color: var(--cyan); }
details.acc[open] summary::after { content: "–"; }
details.acc p { margin: 0 0 16px; color: var(--night-muted); font-size: 15px; max-width: 76ch; }
.acc-group h3 { font: 600 12px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin: 36px 0 4px; }
.acc-group h3:first-child { margin-top: 0; }

/* Agreements */
.doc { border-radius: 20px; padding: 28px; background: rgba(255,255,255,.9); border: 1px solid var(--line); display: grid; gap: 14px; justify-items: start; }
.doc .ver { font: 500 48px/1 var(--font-display); color: var(--ink); }
.doc .ver small { font: 500 12px var(--font-mono); color: var(--muted); margin-left: 6px; }
.doc h3 { margin: 0; font: 500 22px var(--font-display); color: var(--ink); }
.doc p { margin: 0; }

/* CTA + footer */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 70px; border-top: 1px solid var(--night-line); padding-top: 26px; }
.facts b { display: block; font: 300 26px/1.1 var(--font-display); color: var(--night-text); text-transform: uppercase; letter-spacing: .06em; }
.facts span { font-size: 14px; color: var(--night-muted); }
.proto-msg { margin-top: 14px; font-size: 14px; color: var(--teal-deep); min-height: 1.4em; }
.night .proto-msg { color: var(--cyan-soft); }
footer.foot { position: relative; z-index: 1; background: #04131c; color: var(--night-muted); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot :is(h2, h4) { margin: 0 0 12px; font: 600 11px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--night-text); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a, .foot button.lnk { color: var(--night-muted); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; text-align: left; }
.foot a:hover, .foot button.lnk:hover { color: var(--night-text); }
.foot .small { margin-top: 36px; font-size: 12px; opacity: .8; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- Hero product shot ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-grid h1 { font-size: clamp(40px, 6vw, 96px); line-height: .98; letter-spacing: .005em; max-width: 10ch; }
.hero-shot { position: relative; perspective: 1600px; will-change: transform; }
.app.shot { max-width: none; transform: rotateY(-9deg) rotateX(5deg); transform-origin: 60% 50%; box-shadow: 0 50px 120px rgba(8, 38, 54, .28), 0 0 0 1px rgba(255,255,255,.6); }
.shot-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
.shot-nav { border-right: 1px solid var(--line); padding: 10px 6px; display: grid; align-content: start; gap: 1px; background: var(--panel); font-size: 11px; }
.shot-nav span { padding: 6px 9px; border-radius: 6px; color: var(--muted); }
.shot-nav span.on { background: #e3f2f7; color: var(--teal-deep); font-weight: 600; }
.shot-main { padding: 12px; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot-main .tile { padding: 10px; }
.s-score { display: flex; gap: 10px; align-items: center; }
.s-score .ring { width: 58px; height: 58px; }
.s-score h4 { margin-bottom: 6px; white-space: nowrap; }
.up { white-space: nowrap; }
.up { font-size: 10.5px; color: var(--pass); }
.s-kpi .big { font-size: 17px; margin: 0 0 8px; }
.s-kpi .big.sv { color: var(--sv-realised); }
.s-kpi small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 6px; }
.s-find { grid-column: 1 / -1; }
.float { position: absolute; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(8, 38, 54, .2); font-size: 12px; color: var(--body); max-width: 270px; animation: bob 6s ease-in-out infinite; }
.float b { display: block; color: var(--ink); font-weight: 600; font-size: 12px; }
.f-orben { left: -34px; bottom: -26px; background: #04161f; color: #cfeef6; border-color: rgba(34, 211, 238, .4); }
.f-orben b { color: var(--cyan); }
.o-dot { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #a5f3fc, #0891b2 60%, #082636); flex: none; box-shadow: 0 0 18px rgba(34, 211, 238, .6); }
.f-task { right: -18px; top: 18%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.shot-label { position: absolute; right: 6px; bottom: -48px; }

/* ---------- Platform modules ---------- */
.plat { align-items: center; }
.mods-wrap { display: grid; gap: 14px; justify-items: center; }
.mods-hub { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
.mod { display: grid; gap: 4px; align-content: start; text-align: left; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.6); cursor: pointer; opacity: .35; transform: translateY(8px); transition: opacity .45s, transform .45s, box-shadow .3s, background .3s; }
.mod.on { opacity: 1; transform: none; background: rgba(255,255,255,.94); box-shadow: 0 14px 34px rgba(8, 38, 54, .1); }
.mod:hover { box-shadow: 0 0 0 2px var(--cyan), 0 14px 34px rgba(8, 145, 178, .16); }
.mod-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #e3f2f7; color: var(--teal-deep); margin-bottom: 6px; }
.mod-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mod b { color: var(--ink); font-size: 14px; font-weight: 600; }
.mod small { color: var(--muted); font-size: 12px; line-height: 1.35; }

/* ---------- Step navigation: click or scroll ---------- */
.stepnav { grid-area: 2 / 1; margin-top: 26px; display: flex; align-items: center; gap: 4px; }
.sn-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(8, 38, 54, .25); background: rgba(255,255,255,.7); color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 18px; line-height: 1; transition: background .2s, opacity .2s; }
.sn-arrow:hover:not(:disabled) { background: var(--ink); color: #fff; }
.sn-arrow:disabled { opacity: .3; cursor: default; }
.sn-seg { width: 40px; height: 28px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.sn-seg::before { content: ""; position: absolute; left: 3px; right: 3px; top: 13px; height: 2px; background: var(--ink); opacity: .18; transition: opacity .3s, background .3s, height .2s, top .2s; }
.sn-seg:hover::before { opacity: .55; height: 4px; top: 12px; }
.sn-seg.on::before { opacity: 1; background: var(--teal); }
.sn-seg.cur::before { height: 4px; top: 12px; }
.sn-count { margin-left: 10px; font-size: 12px; color: var(--muted); }
.sn-hint { margin-left: 10px; font-size: 11px; color: var(--muted); opacity: .8; }

/* ---------- FinOps + Savings mocks ---------- */
.app.fin .app-main, .app.sav .app-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.app.fin .t-show, .app.sav .t-res, .app.sav .t-task { grid-column: 1 / -1; }
.big { font: 600 24px/1.1 var(--font-display); color: var(--ink); margin: 2px 0 10px; }
.meter { position: relative; height: 8px; border-radius: 4px; background: #e3eef3; }
.meter i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--teal-deep), var(--cyan)); border-radius: 4px; }
.kv { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 12px; }
.kv .mono { color: var(--ink); }
.t-amort { padding-bottom: 26px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; }
.bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, #22d3ee, #0e7490); border-radius: 4px 4px 0 0; position: relative; }
.bars span.fc { background: repeating-linear-gradient(135deg, #8fdcec 0 4px, #d6f3f9 4px 8px); }
.bars em { position: absolute; bottom: -17px; left: 0; right: 0; text-align: center; font: 10px var(--font-mono); color: var(--muted); font-style: normal; }
.team, .cat { display: grid; grid-template-columns: 96px minmax(0, 1fr) 58px; gap: 8px; align-items: center; margin-top: 7px; font-size: 11.5px; }
.team i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.team u, .cat u { display: block; height: 8px; background: #eef4f7; border-radius: 4px; overflow: hidden; text-decoration: none; }
.team u b, .cat u b { display: block; height: 100%; }
.cat u b { background: linear-gradient(90deg, var(--sv-realised), #34d399); }
.team .mono, .cat .mono { text-align: right; color: var(--ink); }
.team.mkt { border-top: 1px dashed var(--line); padding-top: 7px; }
.striped { background: repeating-linear-gradient(135deg, #0891b2 0 3px, #8b5cf6 3px 6px) !important; }
.csv { margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.t-anom svg { width: 100%; height: 46px; display: block; margin-bottom: 4px; }
.t-anom .ln { fill: none; stroke: var(--teal); stroke-width: 2; vector-effect: non-scaling-stroke; }
.t-anom .find span:nth-child(2) { font-size: 11px; }
.dim { color: var(--muted); font-size: 10.5px; }
.rings { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; text-align: center; }
.rings svg { width: 40px; height: 40px; display: block; margin: 0 auto; transform: rotate(-90deg); }
.rings .trk { fill: none; stroke: #e3eef3; stroke-width: 5; }
.rings .v { fill: none; stroke: var(--teal); stroke-width: 5; stroke-linecap: round; }
.rings b { display: block; font: 600 12px var(--font-display); color: var(--ink); margin-top: 4px; }
.rings small { display: block; font-size: 10px; color: var(--muted); }
.credit { display: block; margin-top: 8px; font-size: 10px; color: var(--muted); }
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 11.5px; color: var(--muted); }
.res-grid b { display: block; font: 600 16px var(--font-display); color: var(--ink); margin-top: 2px; }
.res-grid small { display: block; font-size: 10.5px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.opts span { padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.opts span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.t-task strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 2px; }
.scope { margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.app.fin[data-focus="spend"] :is(.t-spend, .t-amort), .app.fin[data-focus="showback"] .t-show, .app.fin[data-focus="anomaly"] .t-anom, .app.fin[data-focus="kpis"] .t-kpi,
.app.sav[data-focus="checks"] .t-cats, .app.sav[data-focus="guide"] .t-guide, .app.sav[data-focus="reservations"] .t-res, .app.sav[data-focus="tasks"] .t-task { opacity: 1; box-shadow: 0 0 0 2px var(--cyan), 0 12px 30px rgba(8, 145, 178, .18); }

/* ---------- Phone ---------- */
/* Between phone and wide desktop the six nav links no longer fit beside the brand and buttons; the Menu button takes over. */
/* ---------- Word reveal: headings rise word by word from behind a mask (JS splits them; without JS they are plain text) ---------- */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.wi { display: inline-block; transform: translateY(112%); transition: transform 1.05s cubic-bezier(.16, .84, .24, 1) calc(var(--d, 0) * 60ms); }
.rv .wi { transform: none; }
.reveal { opacity: 0; translate: 0 32px; transition: opacity .9s ease calc(var(--d, 0) * 130ms), translate 1s cubic-bezier(.16, .84, .24, 1) calc(var(--d, 0) * 130ms); }
.reveal.rv { opacity: 1; translate: none; }

/* ---------- Hero scan: a beam passes over the overview once and each tile fills in as it is scanned ---------- */
.scanbeam { position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: 3; pointer-events: none; transform: translateY(-140px);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, .08) 60%, rgba(34, 211, 238, .26)); border-bottom: 2px solid var(--cyan); box-shadow: 0 8px 26px rgba(34, 211, 238, .5); }
.app.shot .tile > *, .app.shot .find { transition: opacity .45s ease; }
.app.shot.scanning .tile > :not(.find), .app.shot.scanning .find { opacity: 0; }
.app.shot.scanning .tile.lit > :not(.find), .app.shot.scanning .find.lit { opacity: 1; }
.app.shot.scanning .tile { background: linear-gradient(180deg, #f3f9fb, var(--paper)); }
.app.shot .tile.flash { animation: tflash 1.1s ease-out; }
@keyframes tflash { 0% { box-shadow: 0 0 0 2px var(--cyan), 0 0 34px rgba(34, 211, 238, .55); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }
.hero-shot .float { transition: opacity .7s ease, translate .7s cubic-bezier(.16, .84, .24, 1); }
.hero-shot.scanning .float { opacity: 0; translate: 0 16px; }
.hero-shot .fig { transition: color .4s; }
.hero-shot.scanning .fig { color: var(--teal); }

/* ---------- Big numbers in Start ---------- */
.facts em { display: block; font: 300 clamp(72px, 9vw, 136px)/.86 var(--font-display); font-style: normal; letter-spacing: -.03em; color: var(--cyan); margin-bottom: 16px; }

/* ---------- Frameworks flyover (desktop): the chapter pins, the terrain rises, then the camera visits each peak ---------- */
.pk.dim { opacity: .18 !important; }
.pk.on .pk-ring { stroke-width: 2.2; }
.pk.on .pk-t { fill: #ffffff; }
.pk.solo text { opacity: 0; }
.pk-read { display: none; }
.peaks.fly { height: 420vh; min-height: 0; padding: 0; overflow: visible; }
.peaks.fly .peaks-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.peaks.fly .peaks-head { position: relative; z-index: 2; padding-top: 17vh; will-change: opacity, transform; }
.peaks.fly .range { position: absolute; left: 0; right: 0; bottom: 0; height: 76vh; max-height: none; margin: 0; aspect-ratio: auto; }
.peaks.fly .pk-read { display: grid; justify-items: start; gap: 8px; position: absolute; left: 0; right: 0; bottom: calc(8vh + env(safe-area-inset-bottom, 0px)); z-index: 2; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; pointer-events: none; }
.peaks.fly .pk-read.on { opacity: 1; transform: none; }
.pk-read .pr-n { font: 500 11px/1 var(--font-mono); letter-spacing: .18em; color: var(--cyan); }
.pk-read b { font: 300 clamp(28px, 3.4vw, 48px)/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .05em; color: var(--night-text); }
.pk-read .pr-s { color: var(--night-muted); font-size: 15px; }
.pr-ticks { display: flex; gap: 6px; margin-top: 6px; }
.pr-ticks i { width: 28px; height: 2px; background: rgba(131, 227, 242, .25); transition: background .4s; }
.pr-ticks i.on { background: var(--cyan); }

/* ---------- Footer wordmark ---------- */
.wordmark { margin-top: 48px; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.wordmark svg { display: block; width: 100%; height: auto; }
.wordmark text { font: 600 170px var(--font-display); fill: url(#wmG); }
@media (max-width: 860px) { .facts em { font-size: 60px; margin-bottom: 6px; } .wordmark { margin-top: 32px; } }

@media (max-width: 1180px) {
  .navlinks { display: none; }
  .menu-btn { display: inline-block; }
}
@media (max-width: 860px) {
  .navlinks, .signin, .brand-word, .rail, .hud, .fig { display: none; }
  .grid { --g: 36px; }
  .menu-btn { display: inline-block; }
  .chap-pill { display: inline-flex; }
  .topbar { padding-block: 14px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .cta-pill { padding: 10px 14px; font-size: 12px; }
  .split, .map-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pin-stage { align-items: flex-start; padding-top: 82px; }
  .step h3 { font-size: 26px; margin-bottom: 8px; }
  .step p { font-size: 15px; }
  .step-num { margin-bottom: 8px; }
  .app-wrap { justify-self: stretch; }
  .app { font-size: 11px; }
  .app-label { display: none; }
  .app-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-nav, .t-findings, .crumb { display: none; }
  .app-bar { justify-content: space-between; }
  .app-main { grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 8px; }
  .t-trend svg { height: 56px; }
  .t-domains .bar { grid-template-columns: 96px minmax(0, 1fr) 26px; margin-top: 5px; }
  .ring { width: 60px; height: 60px; }
  .org-menu { left: 10px; right: 10px; width: auto; }
  .console { font-size: 10.5px; padding: 10px 12px; top: 52px; bottom: auto; }
  .app[data-focus] .t-trend, .app[data-focus] .t-domains { display: none; }
  .app[data-focus="domains"] .t-domains, .app[data-focus="trend"] .t-trend, .app[data-focus="orgs"] .t-trend, .app[data-focus="scan"] .t-trend, .app[data-focus="tasks"] .t-findings { display: block; }
  .app[data-focus] .tile { opacity: 1; }
  .stage { justify-self: stretch; max-width: none; aspect-ratio: 52 / 58; }
  .stage svg { height: 74%; }
  .stage-label { display: none; }
  .card, .card-history { left: 0; right: 0; top: auto; bottom: 0; width: 100%; padding: 10px 12px; font-size: 12px; }
  .stage[data-step="3"] .card-fail.on { opacity: 0; }
  h2.display { font-size: 26px; }
  .rank { padding: 9px 12px; }
  .rank small, .orben-quote, .orben-more { display: none; }
  .orben-panel { padding: 16px; gap: 10px; }
  .releases, .grid-3, .grid-2, .strengths, .facts { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero { padding-block: 100px 70px; }
  .section { padding-block: 14vh 10vh; }
  .flow-col { min-width: 150px; }
  .app.fin .app-main, .app.sav .app-main { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .app.shot { transform: none; }
  .shot-body { grid-template-columns: minmax(0, 1fr); }
  .shot-nav { display: none; }
  .shot-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .f-orben { left: 8px; bottom: -34px; max-width: 250px; }
  .f-task { display: none; }
  .shot-label { bottom: -72px; }
  .mods { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .mod { padding: 10px; }
  .mod small, .mods-hub { display: none; }
  .mod-ic { width: 28px; height: 28px; margin-bottom: 2px; }
  .plat .statement-follow { display: none; }
  .app.fin[data-focus] .tile, .app.sav[data-focus] .tile { display: none; }
  .app.fin[data-focus="spend"] :is(.t-spend, .t-amort), .app.fin[data-focus="showback"] .t-show, .app.fin[data-focus="anomaly"] .t-anom, .app.fin[data-focus="kpis"] .t-kpi,
  .app.sav[data-focus="checks"] .t-cats, .app.sav[data-focus="guide"] .t-guide, .app.sav[data-focus="reservations"] .t-res, .app.sav[data-focus="tasks"] .t-task { display: block; box-shadow: none; }
  .stepnav { margin-top: 14px; }
  .duo, .who { grid-template-columns: minmax(0, 1fr); }
  .who-facts { grid-template-columns: minmax(0, 1fr); }
  .mx.keep td.val { white-space: normal; width: 38%; }
  .mx.keep th, .mx.keep td { padding: 12px; }
  .range { margin-top: 2vh; }
  .peaks { min-height: 0; padding-block: 14vh 4vh; }
  .pk-long, .pk-s, .pk-n { display: none; }
  .pk-short { display: inline; }
  .pk-t { font-size: 36px; letter-spacing: .08em; }
  .sn-seg { width: 32px; }
  .sn-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .statement-text .w { opacity: 1 !important; }
  .mod { opacity: 1 !important; transform: none !important; }
  .float, .hero h1 b::after, .pk-ring, .app.shot .tile.flash { animation: none !important; }
  .scroll-hint i::after, .stage .ring2, .wire::after, .map .arc, .map .pin-r { animation: none !important; }
  .step, .card, .rank, .answer, .tile, .console .ln, .mx tr.rowin, .org-menu, .console { transition: none !important; }
}

/* =====================================================================================================
   Production additions: what the prototype did not need (real forms, consent, dialogs, the matrix API,
   the security pages' existing components) and the page shells for /security/, /security/orben/ and
   /legal/agreements/.
   ===================================================================================================== */
body { margin: 0; }
img { max-width: 100%; }
.brand-mark img { display: block; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
main [id] { scroll-margin-top: 80px; }

/* Pages whose chapters are all night start dark, so nothing flashes light before the sky draws. */
html.page-night, html.page-night body { background: #04131c; }
html.page-night #sky { background: linear-gradient(180deg, #020d14, #072331); }

/* Links inside running copy */
main .night :is(p, li, td, dd, span) > a:not(.btn) { color: var(--cyan-soft); text-underline-offset: 3px; }
main .night :is(p, li, td, dd, span) > a:not(.btn):hover { color: #fff; }
main :not(.night) > .wrap :is(p, li, td) > a:not(.btn) { color: var(--teal-deep); text-underline-offset: 3px; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost:hover { background: rgba(8, 38, 54, .06); }
.night .btn.ghost:hover { background: rgba(230, 246, 251, .08); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }
.nowrap { white-space: nowrap; }

/* ---------- Start: real request forms (evaluation while sign-up is paused, trial when it is open) ---------- */
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.steps-line { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; counter-reset: st; font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
.steps-line li { counter-increment: st; display: flex; gap: 8px; align-items: center; }
.steps-line li::before { content: counter(st, decimal-leading-zero); color: var(--cyan); }
.request-panel { background: var(--paper); color: var(--body); border-radius: 20px; padding: clamp(20px, 2.4vw, 30px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.request-panel h3 { margin: 0 0 6px; font: 500 22px/1.25 var(--font-display); color: var(--ink); }
.form-lead { margin: 0 0 18px; font-size: 14.5px; color: var(--body); }
.form-group { display: grid; gap: 6px; margin-bottom: 14px; }
.form-group label { font: 600 13px/1.3 var(--font-body); color: var(--ink); }
.form-group input, .form-group textarea { width: 100%; font: 400 15px/1.4 var(--font-body); padding: 11px 13px; border: 1px solid #8fa9b8; border-radius: 10px; background: #fff; color: var(--ink); }
.form-group textarea { min-height: 104px; resize: vertical; }
.form-group :is(input, textarea)::placeholder { color: #557286; opacity: 1; }
.form-group :is(input, textarea):focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form-group :is(input, textarea)[aria-invalid="true"] { border-color: var(--fail); }
.form-checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 13.5px; line-height: 1.5; color: var(--body); }
.form-checkbox input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal-deep); }
.form-checkbox a, .request-panel a, .sales-widget-panel a, .security-dialog a { color: var(--teal-deep); text-underline-offset: 3px; }
.form-submit { width: 100%; font: 600 15px/1 var(--font-body); padding: 15px 20px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.form-submit:hover:not(:disabled) { background: #0e3a50; }
.form-submit:disabled { opacity: .45; cursor: not-allowed; }
.form-trust { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.required-note { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.form-status { display: block; margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; background: #eef4f7; color: var(--ink); }
.form-status:empty { display: none; }
.form-status.error { background: var(--fail-soft); color: #991b1b; }
.form-status.success { background: var(--pass-soft); color: #065f46; }
.eval-done { padding: 8px 0; outline: none; }
.eval-done h3 { margin: 0 0 8px; }
.eval-done p { margin: 0; }
.start-grid .after-trial { margin-top: 30px; }

/* ---------- Contact sales (homepage): a button bottom right opens a panel with the real form ---------- */
.sales-widget { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 15; }
.sales-widget-fab { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(131, 227, 242, .45); background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 34px rgba(4, 22, 32, .35); }
.sales-widget-fab svg { width: 22px; height: 22px; }
.sales-widget-fab .icon-close, .sales-widget.is-open .sales-widget-fab .icon-chat { display: none; }
.sales-widget.is-open .sales-widget-fab .icon-close { display: block; }
.sales-widget-panel { position: absolute; right: 0; bottom: 66px; width: min(390px, calc(100vw - 32px)); max-height: calc(100svh - 110px); overflow: auto; background: var(--paper); color: var(--body); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px rgba(4, 22, 32, .35); visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility 0s linear .25s; }
.sales-widget.is-open .sales-widget-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.sales-widget-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 20px 0; }
.sales-widget-head h2 { margin: 0; font: 500 21px/1.2 var(--font-display); color: var(--ink); }
.sales-widget-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.sales-widget-close { flex: none; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 8px; border-radius: 8px; }
.sales-widget-close:hover { color: var(--ink); background: #eef4f7; }
.sales-widget-body { padding: 16px 20px 20px; }
body.has-sales-fab .hud { right: 100px; }

/* ---------- Security, Orben and legal pages: the same form in a modal dialog ---------- */
dialog.security-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--body); box-shadow: 0 40px 100px rgba(0, 0, 0, .45); }
dialog.security-dialog::backdrop { background: rgba(2, 12, 18, .66); }
body.dialog-open { overflow: hidden; }

/* ---------- Cookie consent (first-visit card, preferences button, modal) ---------- */
.cookie-notice { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 18; width: min(390px, calc(100vw - 32px)); background: var(--paper); color: var(--body); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 14px; box-shadow: 0 24px 60px rgba(4, 22, 32, .3); }
.cookie-notice h2 { margin: 0 28px 6px 0; font: 600 16px/1.3 var(--font-body); color: var(--ink); }
.cookie-notice p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; }
.cookie-notice a { color: var(--teal-deep); }
.cookie-notice-actions { display: flex; gap: 8px; }
.cookie-notice-btn { flex: 1; font: 600 14px/1 var(--font-body); padding: 12px 14px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.cookie-notice-btn:first-child { background: transparent; color: var(--ink); }
.cookie-notice-link { margin-top: 8px; background: none; border: 0; padding: 6px 0; font-size: 13px; color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-notice-close { position: absolute; top: 10px; right: 10px; background: none; border: 0; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.cookie-fab-wrap { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 14; display: none; }
.cookie-fab-wrap.is-visible { display: block; }
.cookie-fab { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; }
.cookie-fab svg { width: 20px; height: 20px; }
.cookie-fab-label { display: none; }
.cookie-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; }
.cookie-modal[hidden] { display: none; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 12, 18, .6); }
.cookie-modal-card { position: relative; width: min(540px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--paper); color: var(--body); border-radius: 18px; padding: 22px; box-shadow: 0 40px 100px rgba(0, 0, 0, .45); }
.cookie-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cookie-modal-head h2 { margin: 0; font: 500 21px/1.25 var(--font-display); color: var(--ink); }
.cookie-modal-close { background: none; border: 0; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 8px; }
.cookie-modal-intro { font-size: 14px; }
.cookie-modal-intro a { color: var(--teal-deep); }
.cookie-pref-block { border-top: 1px solid var(--line); padding: 14px 0; }
.cookie-pref-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); }
.cookie-always { font-size: 12px; font-weight: 600; color: var(--pass); }
.cookie-pref-desc { margin: 6px 0 0; font-size: 13.5px; }
.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.cookie-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cookie-toggle-slider { position: absolute; inset: 0; border-radius: 999px; background: #8fa9b8; transition: background .2s; }
.cookie-toggle-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--teal-deep); }
.cookie-toggle input:checked + .cookie-toggle-slider::after { transform: translateX(20px); }
.cookie-toggle input:focus-visible + .cookie-toggle-slider { outline: 2px solid var(--teal); outline-offset: 2px; }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cookie-modal-actions button { flex: 1 1 140px; font: 600 14px/1 var(--font-body); padding: 12px 14px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.cookie-modal-actions .cookie-btn-accept { background: var(--ink); color: #fff; }
body.cookie-modal-open { overflow: hidden; }

/* Cookies & privacy chapter */
.privacy-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.privacy-list h3 { margin: 0 0 8px; font: 500 18px/1.3 var(--font-display); color: var(--ink); }
.privacy-list p { margin: 0; font-size: 14.5px; }
.privacy-list li { border-top: 2px solid var(--teal); padding-top: 14px; }
.privacy-foot { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--muted); }
.privacy-foot a { color: var(--teal-deep); }
code { font-family: var(--font-mono); font-size: .92em; }

/* Footer additions */
.foot .lnk-cookie { color: var(--night-muted); }
.foot a:focus-visible, .foot button:focus-visible { outline-color: var(--cyan); }

/* ---------- Matrix page: rows come from /api/feature-matrix/content ---------- */
.matrix-state { padding: 22px; border-radius: 14px; border: 1px dashed var(--line); color: var(--muted); font-size: 14.5px; background: rgba(255, 255, 255, .7); }
.night .matrix-state { border-color: var(--night-line); background: var(--night-panel); color: var(--night-muted); }
.matrix-state.error { color: #991b1b; border-color: #fca5a5; background: #fff5f5; }
.legend-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.legend-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .85); }
.legend-card b { display: block; color: var(--ink); font-weight: 600; }
.legend-card span { font-size: 14px; color: var(--body); }
.compare-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.compare-cards div { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .85); }
.compare-cards b { display: block; font: 500 11px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 6px; }
.compare-cards p { margin: 0; color: var(--ink); }
.table-wrap:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.scroll-note { display: none; margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
.night .scroll-note { color: var(--night-muted); }
.strength b { font-weight: 500; }

/* ---------- Security hub: the Orben architecture card keeps its mini diagram ---------- */
.hub-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.orben-feature { display: grid; }
.orben-arch-card { display: grid; gap: 24px; align-content: space-between; padding: clamp(20px, 2.6vw, 30px); border-radius: 20px; border: 1px solid var(--night-line); background: var(--night-panel); color: var(--night-text); text-decoration: none; transition: border-color .3s, box-shadow .3s; }
.orben-arch-card:hover { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 24px 60px rgba(0, 0, 0, .3); }
.orben-arch-card h3 { margin: 10px 0 8px; font: 500 24px/1.2 var(--font-display); color: var(--night-text); }
.orben-arch-card p { margin: 0; color: var(--night-muted); }
.orben-arch-card .section-label, .hub-kicker { font: 500 11px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin: 0; }
.orben-arch-cta { display: inline-block; margin-top: 14px; color: var(--cyan); font-weight: 600; font-size: 14.5px; }
.hub-side { display: grid; gap: 12px; }
.hub-card { display: grid; gap: 6px; align-content: center; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--night-line); background: var(--night-panel); color: var(--night-text); text-decoration: none; transition: border-color .3s; }
.hub-card:hover { border-color: var(--cyan); }
.hub-kicker { display: flex; align-items: center; gap: 8px; }
.hub-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hub-card strong { font-weight: 600; color: var(--night-text); }
.hub-card em { font-style: normal; font-size: 14px; color: var(--cyan-soft); }
.orben-mini-arch { display: grid; grid-template-columns: auto 20px auto 20px auto 20px auto; grid-template-rows: auto auto; align-items: center; min-height: 190px; font-size: 14px; text-align: center; color: var(--night-text); }
.orben-mini-arch > span:not(.mini-conditional):not(.mini-orben) { padding: 10px 10px; border: 1px solid var(--night-line); border-radius: 10px; background: rgba(255, 255, 255, .04); }
.orben-mini-arch .route-arrow { width: 100%; height: 24px; fill: none; stroke: #83e3f2; stroke-width: 2; }
.orben-mini-arch .mini-orben { display: flex; flex-direction: column; align-items: center; padding: 14px 12px; background: #204e63; border: 1px solid #65d8ec; border-radius: 14px; gap: 8px; }
.orben-mini-arch .mini-orben img { border-radius: 50%; width: 52px; height: 52px; }
.orben-mini-arch .mini-orben strong { font: 600 18px/1 var(--font-display); }
.orben-mini-arch .mini-conditional { grid-column: 3 / 8; grid-row: 2; justify-self: center; align-self: start; font-size: 13.5px; color: #d1e0e8; }
.orben-mini-arch .conditional-route { width: 24px; height: 44px; display: block; margin: auto; stroke: #a8c0ce; stroke-width: 2; stroke-dasharray: 4 4; fill: none; }
.pane .pillar-note { font-size: 13.5px; color: var(--night-muted); }
.section-link { margin: 22px 0 0; }
.section-link a { color: var(--cyan); font-weight: 600; text-decoration: none; }
.mx td a { color: var(--cyan-soft); }

/* ---------- Orben security page: the existing explorer and disclosures, in the night chapters ---------- */
.orben-page { --marketing-body: var(--font-body); --marketing-display: var(--font-display); --text-secondary: #d1e0e8; }
.os-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; font-size: 13.5px; color: var(--night-muted); }
.os-crumb a { color: var(--cyan); text-decoration: none; }
.os-crumb a:hover { text-decoration: underline; }
.hero-details-link { align-self: center; color: var(--cyan); font-weight: 600; text-decoration: none; padding: 8px 4px; }
.hero-details-link:hover { color: #fff; }
.os-meta { flex-basis: 100%; margin: 8px 0 0; font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); }
.orben-page .section-label { margin: 0; font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.orben-page .section-label::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; vertical-align: 1px; background: currentColor; }
#architecture .explorer-heading h2, #technical > .wrap > h2 { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .06em; line-height: 1.04; font-size: clamp(30px, 4.4vw, 60px); color: var(--night-text); margin: 20px 0 0; text-wrap: balance; }
#architecture .architecture-canvas { border-radius: 18px; border: 1px solid var(--night-line); padding: 24px clamp(12px, 1.6vw, 22px) 12px; }
#architecture .explorer-tabs button:focus-visible, .tech-group summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
#technical .tech-group h3 { color: var(--night-text); }
#technical details p, #technical .os-details { color: var(--night-muted); }
#technical summary { color: var(--night-text); cursor: pointer; }
.os-table-wrap { overflow-x: auto; margin: 0 0 18px; border-radius: 14px; border: 1px solid var(--night-line); background: var(--night-panel); }
.os-table-wrap table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13.5px; }
.os-table-wrap th, .os-table-wrap td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, .07); color: var(--night-muted); }
.os-table-wrap th { font: 600 10.5px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--night-text); }
.os-table-wrap td:first-child { color: var(--night-text); font-weight: 600; }
.cta-footnote { margin: 18px 0 0; font-size: 14px; color: var(--night-muted); }
.cta-footnote a { color: var(--cyan-soft); }

/* ---------- Agreements page ---------- */
.doc .btn { margin-top: 6px; }

@media (max-width: 1180px) {
  .privacy-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .start-grid, .hub-grid, .legend-cards, .compare-cards { grid-template-columns: minmax(0, 1fr); }
  .privacy-list { grid-template-columns: minmax(0, 1fr); }
  .scroll-note { display: block; }
  body.has-sales-fab .chap-pill { max-width: calc(100% - 100px); }
  .cookie-fab-wrap { left: auto; right: max(26px, env(safe-area-inset-right, 0px)); bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .orben-mini-arch { grid-template-columns: auto 12px auto 12px auto 12px auto; font-size: 12px; min-height: 0; }
  .orben-mini-arch > span:not(.mini-conditional):not(.mini-orben) { padding: 8px 6px; }
  .orben-mini-arch .mini-orben { padding: 10px 6px; }
  .orben-mini-arch .mini-orben img { width: 40px; height: 40px; }
  .os-hero-actions { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sales-widget-panel, .cookie-toggle-slider, .cookie-toggle-slider::after { transition: none !important; }
}

/* Homepage details that changed from the prototype in production */
a.mod { color: inherit; text-decoration: none; }
a.more { text-decoration: none; }
.who-facts a { color: var(--cyan-soft); }
.doc h2.h3 { margin: 0; font: 500 22px var(--font-display); color: var(--ink); }
.orben-page .hero .lead { margin: 0; }
/* The explorer chapter starts close under the top bar so a whole diagram fits one desktop screen. */
#architecture.section { padding-top: 76px; }
#architecture .architecture-canvas { padding-top: 10px; }
#architecture .explorer-heading { margin-bottom: 16px; }
#architecture .explorer-heading h2 { font-size: clamp(28px, 3vw, 44px); margin-top: 12px; }
#architecture .explorer-tabs { margin-bottom: 18px; }

/* Narrow phones: the Orben mini diagram tightens instead of widening the page. */
.hub-grid > *, .orben-feature, .orben-arch-card { min-width: 0; }
@media (max-width: 420px) {
  .orben-mini-arch { grid-template-columns: auto 8px auto 8px auto 8px auto; font-size: 11px; }
  .orben-mini-arch > span:not(.mini-conditional):not(.mini-orben) { padding: 6px 4px; }
  .orben-mini-arch .mini-orben { padding: 8px 4px; }
  .orben-mini-arch .mini-orben img { width: 32px; height: 32px; }
  .orben-mini-arch .mini-orben strong { font-size: 14px; }
  .orben-mini-arch .mini-conditional { font-size: 11px; }
}
/* The product mocks stay labelled as illustrative on phones too. */
@media (max-width: 860px) {
  .app-wrap .app-label { display: block; position: static; margin: 0 0 6px; }
}

/* Accessible states: dimmed text uses a translucent colour rather than opacity (so its contrast is measurable and
   stays at AA), and every bordered control has a border that is visible against its surface (3:1). */
.navlinks a { opacity: 1; color: rgba(8, 38, 54, .74); }
.on-night .navlinks a { color: rgba(230, 246, 251, .76); }
.navlinks a:hover, .navlinks a.active { color: inherit; }
.signin { opacity: 1; color: rgba(8, 38, 54, .84); }
.on-night .signin { color: rgba(230, 246, 251, .86); }
.signin:hover { color: inherit; }
.foot .small { opacity: 1; color: #9cc3d3; }
.rail:hover .rail-lbl, .rail:focus-within .rail-lbl { opacity: 1; }
.rail-lbl { color: rgba(8, 38, 54, .8); }
.rail.on-night .rail-lbl { color: rgba(230, 246, 251, .82); }
.rail-item:hover .rail-lbl, .rail-item.active .rail-lbl { color: inherit; }
.rail-lbl b { opacity: 1; color: var(--muted); }
.rail.on-night .rail-lbl b { color: var(--night-muted); }
.btn.primary { border-color: var(--ink); }
.night .btn.primary { border-color: var(--cyan); }
.btn.ghost { border-color: rgba(8, 38, 54, .55); }
.night .btn.ghost { border-color: rgba(230, 246, 251, .6); }
#architecture .explorer-tabs button { border-color: rgba(131, 227, 242, .6); }
#architecture .explorer-tabs button[aria-selected="true"] { border-color: #65d8ec; }
.form-group input, .form-group textarea { border-color: #6f8b9b; }
.form-submit:disabled { opacity: 1; background: #5b7685; color: #fff; }
.btn[disabled] { opacity: 1; cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  .rail, .rail-lbl, .rail-tick, .navlinks a, .cta-pill, .topbar, .hud { transition: none !important; }
}

/* Savings: guided steps and Orben's script (round 2 copy, 18 Nov 2026). */
.howto { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 11.5px; color: var(--muted); }
.howto code { display: block; margin-top: 4px; padding: 6px 8px; border-radius: 6px; background: var(--ink); color: #e6f6fa; font: 400 10.5px/1.45 var(--font-mono); overflow-wrap: anywhere; }
.orben-script .chip { background: var(--ink); color: #fff; }
.orben-script { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11.5px; color: var(--ink); }

/* Who we are: the two founders with photo, short intro and LinkedIn; company facts below. */
.who-founders { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.who-founders .who-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.who-founders .who-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.person { display: grid; gap: 14px; align-content: start; align-items: start; padding: 24px; border: 1px solid var(--night-line); border-radius: 16px; background: var(--night-panel); }
.person-head { display: flex; align-items: center; gap: 16px; }
.person-head img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; filter: grayscale(1); border: 1px solid var(--cyan); flex: none; }
.person h3 { margin: 0; font: 600 18px/1.25 var(--font-display); color: var(--night-text); letter-spacing: 0; text-transform: none; }
.person-head span { display: block; margin-top: 4px; font: 500 12px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-soft); }
.person p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--night-muted); }
.person a { justify-self: start; display: inline-flex; align-items: center; min-height: 24px; font-size: 14px; color: var(--cyan-soft); }
@media (max-width: 1180px) { .who-founders .who-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .who-founders .who-people, .who-founders .who-facts { grid-template-columns: minmax(0, 1fr); } }

/* Your Azure data: retention lives in the DPA, not on the page. */
.keep-note { margin-top: 0; font-size: 15px; }
.keep-note + .keep-note { margin-top: 16px; }
.keep-note a { color: var(--cyan-soft); }

/* For partners: Command Center intro, the Growth chapter (Fig. 05) and the closing cards. */
.partners-intro { padding-block: 16vh 6vh; }
.cc-mods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.cc-mods .mod { cursor: default; position: relative; }
.cc-mods .mod.hot { cursor: pointer; text-decoration: none; box-shadow: 0 0 0 2px var(--cyan), 0 18px 40px rgba(8, 145, 178, .2); }
.cc-mods .mod.hot .mod-ic { background: var(--cyan); color: var(--ink); }
.hot-tag { margin-top: 6px; font-size: 10.5px; letter-spacing: .08em; color: var(--teal-deep); }

.pin[data-pin="growth"] { height: 440vh; }
@media (min-width: 861px) { .pin[data-pin="growth"] .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
#growth .app-wrap, .app.grow { max-width: 790px; }
.app.grow .app-main { grid-template-columns: minmax(0, .88fr) minmax(0, 1.22fr) minmax(0, 1.1fr); align-items: start; }
.app.grow .t-gkpi { grid-column: 1 / -1; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 10px; padding: 10px 12px; }
.gk { display: grid; gap: 3px; }
.gk small { font: 600 9.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gk b { font-size: 17px; font-weight: 500; color: var(--ink); }
.gk:first-child b { color: var(--teal-deep); }
.gcol { display: grid; gap: 12px; align-content: start; min-width: 0; }

.gtog { display: flex; padding: 2px; border-radius: 8px; background: #e6eef2; margin-bottom: 10px; }
.gtog span { flex: 1 1 auto; text-align: center; padding: 4px 4px; border-radius: 6px; font-size: 10px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.gtog span.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(8, 38, 54, .12); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; padding: 8px 0; border-top: 1px solid #eef4f7; align-items: center; }
.offer:first-of-type { border-top: 0; }
.offer > span:first-child { grid-column: 1 / -1; color: var(--ink); font-weight: 500; }
.offer em { font-style: normal; font-size: 10.5px; color: var(--muted); }
.offer > span:nth-child(2) { display: none; }
.offer u { height: 5px; border-radius: 3px; background: #e6eef2; overflow: hidden; text-decoration: none; }
.offer u b { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-deep), var(--cyan)); border-radius: 3px; }
.offer > span:last-child { font-size: 10.5px; color: var(--ink); }

.opp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; align-items: center; }
.opp b { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opp small { color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opp small em { font-style: normal; color: var(--teal-deep); font-weight: 600; }
.opp .mono { font-size: 11px; color: var(--ink); justify-self: end; }
.opp.sel { background: #e8f7fb; box-shadow: inset 2px 0 0 var(--teal); }
.stg { justify-self: end; font: 600 8.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px; border-radius: 5px; white-space: nowrap; }
.stg.sig { background: #e6eef2; color: var(--muted); }
.stg.pitch { background: #cff3fa; color: var(--teal-deep); }
.stg.prop { background: var(--warn-soft); color: var(--warn); }

.t-ev .find { grid-template-columns: auto minmax(0, 1fr) auto; }
.t-ev .find span:nth-child(2) { font-size: 11px; color: var(--ink); white-space: normal; line-height: 1.3; }
.ev-foot { margin-top: 6px; font-size: 10px; color: var(--muted); }
.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.track i { height: 5px; border-radius: 3px; background: #e6eef2; }
.track .done { background: #9fdfec; }
.track .cur { background: var(--teal); }
.trk-l { display: grid; grid-template-columns: repeat(3, 1fr); margin: 5px 0 8px; font-size: 9.5px; color: var(--muted); }
.trk-l > :nth-child(2) { text-align: center; color: var(--teal-deep); font-weight: 600; }
.trk-l > :last-child { text-align: right; }
.gkv { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #eef4f7; font-size: 11px; }
.gkv > span:first-child { color: var(--muted); white-space: nowrap; }
.gkv > span:last-child { color: var(--ink); text-align: right; }
.gown { display: inline-flex; align-items: center; gap: 6px; }
.gown i { width: 18px; height: 18px; border-radius: 50%; background: #8b5cf6; color: #fff; font: 600 8px/18px var(--font-body); font-style: normal; text-align: center; }
.gbtn { margin-top: 10px; text-align: center; padding: 8px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; font-size: 11.5px; }

.gbrief { position: absolute; top: 58px; right: 12px; width: min(330px, 56%); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: 0 24px 60px rgba(8, 38, 54, .28); display: grid; gap: 12px; align-content: start; opacity: 0; transform: translateX(18px); transition: opacity .45s, transform .45s; pointer-events: none; }
.gb-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gb-head b { color: var(--ink); font-size: 13px; }
.gb-sec small { display: block; margin-bottom: 6px; font: 600 9.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gb-sec ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.gb-sec li { display: grid; grid-template-columns: 28px 1fr; color: var(--ink); font-size: 11.5px; }
.gb-sec li .mono { color: var(--teal-deep); }
.gb-sec p { margin: 0; padding: 9px 11px; border-radius: 8px; background: #f0fafc; border-left: 2px solid var(--teal); color: var(--ink); font-size: 12px; line-height: 1.5; }
.gbrief sup { font: 600 8.5px/1 var(--font-mono); color: var(--teal-deep); margin-left: 3px; }
.gb-out { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 4px; border-top: 1px solid #eef4f7; }
.gb-out .dim { font-size: 10px; margin-left: auto; }

.app.grow[data-focus="signal"] :is(.t-opps, .t-ev),
.app.grow[data-focus="pipeline"] :is(.t-gkpi, .t-offers),
.app.grow[data-focus="pitch"] .t-pitch { opacity: 1; box-shadow: 0 0 0 2px var(--cyan), 0 12px 30px rgba(8, 145, 178, .18); }
/* Step 1 tells one story: Demo Retail's identity findings become a new opportunity; from step 2 it is in Pitch. */
.stg-sw { justify-self: end; display: inline-flex; }
.app.grow[data-focus="signal"] .stg-sw .pitch, .app.grow:not([data-focus="signal"]) .stg-sw .sig, .app.grow:not([data-focus="signal"]) .opp-new { display: none; }
.app.grow .app-main { grid-template-columns: minmax(0, .8fr) minmax(0, 1.32fr) minmax(0, 1.08fr); }
.opp { column-gap: 6px; }
.opp small { font-size: 10px; }
.opp.sel small { white-space: normal; }
.stg { letter-spacing: .04em; padding: 4px 5px; }
.app.grow[data-focus="brief"] .gbrief { opacity: 1; transform: none; }

.partners-end { padding-block: 10vh 14vh; }
.pe-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; }
.pe-card { display: grid; gap: 10px; align-content: start; padding: 26px 28px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.72); }
.pe-card h3 { margin: 0; font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; color: var(--ink); }
.pe-card p { margin: 0; color: var(--body); max-width: 44ch; }
.pe-cta { background: var(--ink); border-color: var(--ink); }
.pe-cta .eyebrow { color: var(--cyan); }
.pe-cta h3 { color: var(--night-text); }
.pe-cta p { color: var(--night-muted); }
.pe-cta .btn.primary { justify-self: start; margin-top: 8px; background: var(--cyan); color: var(--ink); }


@media (max-width: 1180px) {
  .cc-mods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .partners-intro { padding-block: 12vh 4vh; }
  .cc-mods { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .cc-mods .mod small { display: none; }
  .cc-mods .mod.hot { grid-column: 1 / -1; order: -1; }
  .app.grow .gk:nth-child(n+3) { display: none; }
  .app.grow .t-gkpi { padding: 8px 10px; }
  .offer { padding: 6px 0; }
  .cc-mods .mod.hot small { display: block; }
  .app.grow .app-main { grid-template-columns: minmax(0, 1fr); }
  .app.grow .t-gkpi { grid-template-columns: 1fr 1fr; }
  .app.grow[data-focus] .tile, .app.grow[data-focus] .gcol { display: none; }
  .app.grow[data-focus="signal"] :is(.t-opps, .gcol, .t-ev),
  .app.grow[data-focus="pipeline"] :is(.t-gkpi, .t-offers),
  .app.grow[data-focus="pitch"] :is(.gcol, .t-pitch) { display: block; opacity: 1; box-shadow: none; }
  .app.grow[data-focus="signal"] .t-pitch, .app.grow[data-focus="pitch"] .t-ev { display: none; }
  .app.grow[data-focus="pipeline"] .t-gkpi { display: grid; }
  .app.grow[data-focus="signal"] .opp:nth-child(n+5) { display: none; }
  .gbrief { position: static; width: auto; margin: 10px; display: none; transform: none; box-shadow: none; }
  .app.grow[data-focus="brief"] .gbrief { display: grid; }
  .pe-grid { grid-template-columns: minmax(0, 1fr); }
  .pe-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gbrief { transition: none; }
}
#growth .sn-count, #growth .sn-hint { white-space: nowrap; }

/* =====================================================================================================
   Site review fixes, 21 Nov 2026 (docs/website/2026-11-21-site-review.md, group A and the copy round).
   ===================================================================================================== */

/* A1: once the page has scrolled, the top bar gets a frosted surface, so nothing shows through the menu.
   With a surface it takes pointer events, so content under it is never clicked by mistake. */
.topbar { transition: color .6s ease, background-color .35s ease, box-shadow .35s ease, padding .35s ease; }
.topbar.scrolled { pointer-events: auto; padding-block: 14px; background: rgba(244, 248, 251, .82); box-shadow: 0 1px 0 rgba(8, 38, 54, .08), 0 10px 30px rgba(8, 38, 54, .06); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.topbar.scrolled.on-night { background: rgba(3, 18, 27, .76); box-shadow: 0 1px 0 var(--night-line), 0 10px 30px rgba(0, 0, 0, .22); }
@media (max-width: 860px) { .topbar.scrolled { padding-block: 10px; } }

/* A6: the HUD keeps its place bottom right (decided) on a quiet frosted surface, so whatever passes under it stays readable. */
.hud { bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(244, 248, 251, .76); border: 1px solid rgba(8, 38, 54, .08); -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1); transition: color .6s, background-color .6s, border-color .6s; }
.hud.on-night { background: rgba(3, 18, 27, .66); border-color: var(--night-line); }

/* A6: mock captions sit above the mock, out of the HUD's lane. In the hero the Fig. label is top right, the caption top left. */
@media (min-width: 861px) {
  .app-wrap { padding-top: 24px; }
  .app-wrap .fig { top: 2px; bottom: auto; left: 4px; }
  .app-wrap .app-label { top: 0; bottom: auto; right: 4px; }
  .hero-shot .shot-label { top: -38px; bottom: auto; left: 0; right: auto; }
}

/* A2: a pinned chapter fits the window. The stage leaves room for the top bar above and the HUD below; when a column
   is still taller than the room, js/site.js (fitStages) sets --fit on it and it is scaled down as a whole. */
@media (min-width: 861px) {
  .pin-stage { padding-top: 74px; padding-bottom: 50px; }
  .pin-stage .split > * { transform: scale(var(--fit, 1)); transform-origin: 0 50%; }
  .pin-stage .split > :last-child:not(:first-child) { transform-origin: 100% 50%; }
  /* The Orben headline is sized by window height as well as width. */
  #orben h2.display { font-size: clamp(30px, min(5vw, 7vh), 72px); }
}
/* Short windows (a 1366×768 laptop has about 620–650 px of page). */
@media (min-width: 861px) and (max-height: 860px) {
  .hero { padding-block: 92px 56px; }
  .hero-grid h1 { font-size: clamp(40px, min(6vw, 10.5vh), 96px); margin: 14px 0 18px; }
  .hero .btn-row { margin-top: 22px; }
  .hero-meta { margin-top: 22px; }
  .scroll-hint { margin-top: 24px; }
  .app.sav .t-res, .app.sav .t-task { grid-column: auto; }
  .app.sav .res-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .app.sav .res-grid > :first-child { grid-column: 1 / -1; }
  .app.fin .bars { height: 56px; }
  .app.fin .t-anom svg { height: 30px; }
  .app.fin .team { margin-top: 5px; }
}

/* A5: text that overflowed or was cut inside the mocks. */
.t-score { gap: 12px; }
.t-score .ring { width: 72px; height: 72px; }
.t-score .kpis span { white-space: nowrap; }
.t-trend h4 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .1em; }
.rings { grid-template-columns: repeat(5, auto); justify-content: space-between; column-gap: 4px; }
.rings svg { width: 36px; height: 36px; }
.rings small { white-space: nowrap; font-size: 9.5px; letter-spacing: -.01em; }
.t-anom .find { grid-template-columns: auto minmax(0, 1fr); row-gap: 1px; }
.t-anom .find span:nth-child(2) { white-space: normal; overflow: visible; }
.t-anom .find .dim { grid-column: 2; }
@media (max-width: 860px) {
  .s-score { gap: 8px; }
  .s-score .ring { width: 46px; height: 46px; }
  .s-score > div { min-width: 0; }
  .s-score h4 { white-space: normal; letter-spacing: .08em; line-height: 1.2; }
  .s-score .up { white-space: normal; }
}

/* A4: on phones the floating controls stay out of the way. The cookie button goes (the footer has "Cookie settings");
   the chapter pill and the chat button tuck away while the page scrolls down and come back on scroll up or near the top. */
@media (max-width: 860px) {
  .cookie-fab-wrap, .cookie-fab-wrap.is-visible { display: none !important; }
  .chap-pill, .sales-widget-fab { transition: transform .35s ease, opacity .35s ease; }
  body.ctl-tucked .chap-pill:not(:focus-visible), body.ctl-tucked .sales-widget:not(.is-open) .sales-widget-fab:not(:focus-visible) { transform: translateY(calc(100% + 28px + env(safe-area-inset-bottom, 0px))); opacity: 0; pointer-events: none; }
}

/* C1: a jump link for partners on the hero's eyebrow row. */
.hero-eyebrows { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.hero-partner { display: inline-flex; align-items: center; min-height: 24px; font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); text-decoration: underline; text-decoration-color: rgba(14, 116, 144, .45); text-underline-offset: 4px; }
.hero-partner:hover { text-decoration-color: currentColor; }

/* B4: What's new, five cards as three over two. */
.releases.r5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.releases.r5 > .release { grid-column: span 2; }
.releases.r5 > .release:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 860px) {
  .releases.r5 { grid-template-columns: minmax(0, 1fr); }
  .releases.r5 > .release, .releases.r5 > .release:nth-child(n+4) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .chap-pill, .sales-widget-fab { transition: none !important; }
}

/* =====================================================================================================
   Site review, round 2 (docs/website/2026-11-21-site-review.md: B2, B5–B8, C4–C6, D1–D7, and three leftovers
   from the 23 Nov prod check). Screens Daniel approved are only added to, never restyled.
   ===================================================================================================== */

/* B7: the plain "Many organisations, the right access for each" is a long heading; it is set a size smaller. */
.step h3.long { font-size: clamp(26px, 2.8vw, 40px); }

/* D7: six menu items; "FinOps & Savings" stays on one line. */
.navlinks a { white-space: nowrap; }

/* D1: every pinned stepped chapter is about a quarter shorter. Product has five steps (C5), so it keeps a little more. */
.pin[data-pin="console"] { height: 400vh; }
.pin[data-pin="journey"], .pin[data-pin="finops"], .pin[data-pin="savings"], .pin[data-pin="growth"] { height: 330vh; }

/* D1: in every other stepped chapter (How it works, Savings) the mock is on the left. The markup keeps the steps first,
   so phones still read text before mock; the scale origin follows the side each column is on (fitStages). */
@media (min-width: 861px) {
  .split.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split.flip > :first-child { order: 2; }
  .split.flip > :last-child { order: 1; justify-self: start; }
  .pin-stage .split.flip > :first-child { transform-origin: 100% 50%; }
  .pin-stage .split.flip > :last-child:not(:first-child) { transform-origin: 0 50%; }
}

/* D2: the tiles that are not in focus fade less, and the tile in focus grows a little. */
.app[data-focus] .tile { opacity: .64; transition: opacity .45s, box-shadow .45s, transform .45s cubic-bezier(.16, .84, .24, 1); }
.app[data-focus="domains"] :is(.t-domains, .t-score), .app[data-focus="tasks"] :is(.t-findings, .t-score), .app[data-focus="improve"] .t-findings,
.app.fin[data-focus="spend"] :is(.t-spend, .t-amort), .app.fin[data-focus="showback"] .t-show, .app.fin[data-focus="anomaly"] .t-anom, .app.fin[data-focus="kpis"] .t-kpi,
.app.sav[data-focus="checks"] .t-cats, .app.sav[data-focus="guide"] .t-guide, .app.sav[data-focus="reservations"] .t-res, .app.sav[data-focus="tasks"] .t-task,
.app.grow[data-focus="signal"] :is(.t-opps, .t-ev), .app.grow[data-focus="pipeline"] :is(.t-gkpi, .t-offers), .app.grow[data-focus="pitch"] .t-pitch {
  opacity: 1; position: relative; z-index: 2; transform: scale(1.03); box-shadow: 0 0 0 2px var(--cyan), 0 16px 36px rgba(8, 145, 178, .22); }
@media (max-width: 860px) { .app[data-focus] .tile { transform: none !important; } }

/* C5: Improvement Opportunities is step 3 of the Product chapter; the findings in focus become planned initiatives. */
.imp-menu { position: absolute; right: 12px; top: 46px; width: min(360px, 62%); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px rgba(8, 38, 54, .2); padding: 8px 10px; z-index: 3; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s; pointer-events: none; }
.app[data-focus="improve"] .imp-menu { opacity: 1; transform: none; }
.imp-menu h5 { margin: 4px 4px 6px; font: 600 10px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.imp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; align-items: center; padding: 8px 4px; border-top: 1px solid #eef4f7; }
.imp-row:first-of-type { border-top: 0; }
.imp-row b { display: block; color: var(--ink); font-weight: 600; }
.imp-row small { display: block; color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.imp-row .mono { font-size: 11px; color: var(--ink); white-space: nowrap; }
.imp-row u { grid-column: 1 / -1; display: block; height: 5px; border-radius: 3px; background: #e6eef2; overflow: hidden; text-decoration: none; }
.imp-row u i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-deep), var(--cyan)); }
@media (max-width: 860px) {
  .imp-menu { left: 10px; right: 10px; width: auto; top: 52px; }
  .app[data-focus="improve"] .t-trend, .app[data-focus="improve"] .t-domains { display: block; }
}
@media (prefers-reduced-motion: reduce) { .imp-menu, .app[data-focus] .tile { transition: none !important; } }

/* D3: How it works is drawn larger and heavier. The cards open in a band below the tenant, so they never cover a node. */
.stage .link { stroke-width: 2; opacity: .9; }
.stage .sub rect { stroke: #8fb6c8; stroke-width: 1.5; }
.stage .sub .dot { fill: #8fb6c8; }
.stage .sub text { font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.stage .tenant { fill: rgba(255, 255, 255, .74); stroke: #7fa9bb; stroke-width: 1.5; }
.stage .tenant-label { font-size: 11px; font-weight: 600; }
.stage .hub text { font-size: 12.5px; }
@media (max-width: 860px) {
  .stage { aspect-ratio: 52 / 62; }
  .stage svg { height: 62%; }
}
@media (min-width: 861px) {
  .pin[data-pin="journey"] .split.flip { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); }
  .sn-count, .sn-hint { white-space: nowrap; }
  .stage { max-width: 780px; aspect-ratio: 1 / .93; }
  .stage svg { inset: 0 0 auto 0; height: 70.4%; }
  .stage .card { top: 72%; bottom: auto; width: 48%; }
  .stage .card-readonly { left: 26%; right: auto; }
  .stage .card-fail, .stage .card-history { right: 0; left: auto; --cx: 29%; }
  .stage .card-task { left: 0; right: auto; }
  .stage .card::before { content: ""; position: absolute; top: -7px; left: var(--cx, 50%); width: 12px; height: 12px; background: var(--paper); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
  .stage .card-task::before { display: none; }
}

/* D4: Offers fills its column; the pipeline by stage sits at its foot. */
@media (min-width: 861px) { .app.grow .t-offers { align-self: stretch; display: flex; flex-direction: column; } }
.g-stages { margin-top: auto; padding-top: 10px; border-top: 1px solid #eef4f7; }
.g-stages > small { display: block; margin: 4px 0 8px; font: 600 9.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gs-bar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; }
.gs-bar i, .gs-l i { display: block; }
.g-stages .sig { background: #c4d5de; }
.g-stages .pitch { background: #5fcfe3; }
.g-stages .prop { background: #f0bd5e; }
.gs-l { display: grid; gap: 5px; margin-top: 9px; font-size: 10.5px; color: var(--muted); }
.gs-l span { display: flex; align-items: center; gap: 6px; }
.gs-l i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.gs-l b { margin-left: auto; color: var(--ink); font-weight: 500; }
/* On phones the Growth mock shows one tile at a time and is approved as it is, so the stage block stays a desktop addition. */
@media (max-width: 860px) { .g-stages { display: none; } }

/* C4: Command Center Overview, which customers need attention (Fig. 05). */
.cc-wrap { max-width: 980px; margin: 56px 0 0; }
.app.cc { max-width: none; }
.app.cc .app-main { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; }
.t-cck { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 10px 14px; }
.t-cck .need b { color: #b91c1c; }
.ccr { display: grid; grid-template-columns: minmax(0, 1fr) 112px 62px 56px 128px; gap: 10px; align-items: center; padding: 8px; margin: 0 -4px; border-top: 1px solid #eef4f7; font-size: 11.5px; }
.ccr.cch { border-top: 0; padding-top: 0; font: 600 9px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ccr.cch > :nth-child(n+3) { text-align: right; }
.ccr b { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccr > .mono { color: var(--ink); text-align: right; font-size: 11px; }
.ccr > .mono.dn { color: #b91c1c; }
.ccr > .mono.up { color: var(--pass); }
.ccr .chip { justify-self: end; }
.ccr.need { border-top-color: transparent; border-radius: 8px; background: #fff5f5; box-shadow: inset 2px 0 0 var(--fail); }
.ccr.need + .ccr { border-top-color: transparent; }
.ccs { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 8px; align-items: center; }
.ccs u { display: block; height: 6px; border-radius: 3px; background: #e3eef3; overflow: hidden; text-decoration: none; }
.ccs u i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-deep), var(--cyan)); }
.ccs .mono { font-size: 11px; color: var(--ink); text-align: right; }
.t-ccw { box-shadow: 0 0 0 2px var(--cyan), 0 12px 30px rgba(8, 145, 178, .18); }
.t-ccw .find { grid-template-columns: auto minmax(0, 1fr); row-gap: 2px; }
.t-ccw .find span:nth-child(2) { white-space: normal; line-height: 1.3; color: var(--ink); font-size: 11.5px; }
.t-ccw .find .dim { grid-column: 2; }
@media (max-width: 860px) {
  .cc-wrap { margin-top: 32px; }
  .app.cc .app-main { grid-template-columns: minmax(0, 1fr); }
  .t-cck { grid-template-columns: 1fr 1fr; padding: 8px 10px; }
  .ccr { grid-template-columns: minmax(0, 1fr) 64px 100px; gap: 8px; }
  .ccr .chip { font-size: 8.5px; letter-spacing: .06em; padding: 4px 5px; }
  .ccr > :nth-child(3), .ccr > :nth-child(4) { display: none; }
}

/* C6: one partner quote beside the call to action, once a partner has agreed to one. Until then the slot is hidden
   and the call to action is a single band. */
.pe-grid { grid-template-columns: minmax(0, 1fr); }
.pe-grid:has(> .pe-quote:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.pe-quote { margin: 0; }
.pe-quote blockquote { margin: 0; font: 300 clamp(19px, 2vw, 25px)/1.4 var(--font-display); color: var(--ink); }
.pe-quote figcaption { font-size: 13px; color: var(--muted); }
@media (min-width: 861px) {
  .pe-grid:not(:has(> .pe-quote:not([hidden]))) .pe-cta { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center; padding: 30px 34px; }
  .pe-grid:not(:has(> .pe-quote:not([hidden]))) .pe-cta > :not(.btn) { grid-column: 1; }
  .pe-grid:not(:has(> .pe-quote:not([hidden]))) .pe-cta > .btn { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}
@media (max-width: 860px) { .pe-grid:has(> .pe-quote:not([hidden])) { grid-template-columns: minmax(0, 1fr); } }

/* B8: the three numbers lead into the request form. */
.facts.facts-lead { margin: 0 0 64px; padding: 0 0 30px; border-top: 0; border-bottom: 1px solid var(--night-line); }
@media (max-width: 860px) {
  .facts.facts-lead { gap: 20px; margin-bottom: 40px; }
  .facts.facts-lead > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 12px; align-items: start; }
  .facts.facts-lead b { grid-row: 1 / span 2; font-size: 12.5px; letter-spacing: .04em; }
  .facts.facts-lead em { font-size: 52px; margin-bottom: 4px; }
}

/* Leftover from the prod check: the HUD steps out of the way whenever the request form card is in its lane. */
.hud { transition: color .6s, background-color .6s, border-color .6s, opacity .3s; }
.hud.hud-clear { opacity: 0; }

/* D5: the Frameworks lede and credit line read clearly over the terrain: a soft night fade sits behind the text. */
.peaks.fly .peaks-head::before { content: ""; position: absolute; z-index: -1; left: -40px; top: calc(17vh - 70px); bottom: -80px; width: min(860px, 82vw); pointer-events: none;
  background: radial-gradient(ellipse 62% 60% at 36% 50%, rgba(3, 20, 30, .92) 0%, rgba(3, 20, 30, .72) 48%, rgba(3, 20, 30, 0) 100%); }
.credit-line { font-size: 13px; opacity: 1; color: #b5d6e2; }

/* B6: Cookies & privacy, a page of its own. */
.cookies-page { min-height: 86svh; padding-top: 22vh; }
.cookies-page h1.display { font-size: clamp(32px, 5vw, 72px); line-height: 1.04; }

/* D6: Security page, tighter sections, and a small connection diagram beside "How we connect. What we read." */
body[data-page="security"] .section { padding-block: 11vh 6vh; }
body[data-page="security"] .section-head { margin-bottom: 36px; }
.conn { margin: 0 0 22px; padding: 16px 16px 14px; border-radius: 18px; border: 1px solid var(--night-line); background: var(--night-panel); }
.conn svg { display: block; width: 100%; height: auto; overflow: visible; }
.conn .cn-tenant { fill: rgba(255, 255, 255, .025); stroke: rgba(131, 227, 242, .32); stroke-width: 1.2; }
.conn .cn-row rect { fill: rgba(255, 255, 255, .045); stroke: rgba(131, 227, 242, .3); stroke-width: 1; }
.conn .cn-row rect.cn-sub { fill: rgba(131, 227, 242, .12); stroke: rgba(131, 227, 242, .45); }
.conn .cn-anu { fill: rgba(34, 211, 238, .1); stroke: rgba(34, 211, 238, .6); stroke-width: 1.2; }
.conn .cn-dot { fill: var(--cyan); }
.conn .cn-lbl { font: 500 10.5px var(--font-mono); letter-spacing: .16em; fill: var(--cyan); }
.conn .cn-t { font: 600 13px var(--font-body); fill: var(--night-text); }
.conn .cn-t.big { font: 600 16px var(--font-display); }
.conn .cn-s { font: 400 11px var(--font-body); fill: var(--night-muted); }
.conn .cn-k { font: 600 9.5px var(--font-mono); letter-spacing: .16em; fill: var(--cyan); }
.conn .cn-k.no { fill: #fca5a5; }
.conn .cn-read { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-dasharray: 4 5; animation: cnflow 1.6s linear infinite; }
.conn .cn-nowrite { fill: none; stroke: rgba(252, 165, 165, .7); stroke-width: 1.4; stroke-dasharray: 3 5; }
.conn .cn-x-bg { fill: #1a0f14; stroke: rgba(252, 165, 165, .8); stroke-width: 1.2; }
.conn .cn-x { stroke: #fca5a5; stroke-width: 1.8; stroke-linecap: round; }
@keyframes cnflow { to { stroke-dashoffset: -18; } }
.conn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.conn-chips span { font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); padding: 7px 10px; border-radius: 999px; border: 1px solid var(--night-line); }
@media (prefers-reduced-motion: reduce) { .conn .cn-read { animation: none; } }
@media (max-width: 860px) { body[data-page="security"] .section { padding-block: 9vh 5vh; } }

/* Leftover from the prod check: "Tasks in progress" touched its tile edge at 1366×620. The ring is a little smaller and the
   labels may wrap inside the tile instead of running to its edge. */
.t-score { gap: 10px; }
.t-score .ring { width: 62px; height: 62px; }
.t-score .kpis { min-width: 0; font-size: 11px; }
.t-score .kpis span { white-space: normal; line-height: 1.25; }
