/* site.css: layout and components (design system v4, Cold Chain Noir; see
   docs/superpowers/specs/2026-11-25-design-system-v4.md). Colours, fonts and
   sizes come from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  font-stretch: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* faint film grain so the black never looks flat */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 680; font-stretch: var(--head-stretch); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(46px, 6.6vw, 104px); line-height: 0.94; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -0.03em; }
h3 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.15; letter-spacing: -0.012em; font-weight: 640; }
p { margin: 0 0 1em; text-wrap: pretty; }
.mono, code { font-family: var(--font-mono); font-size: 0.92em; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--frost); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--frost); color: #05080D; }

/* ---------- layout ---------- */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: var(--section) 0; }
.section.alt, .surface-band { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2:last-child, .section-head p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.eyebrow { font: 500 1rem/1.4 var(--font-body); color: var(--frost); margin: 0 0 0.9em; }
.surface { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 101; background: var(--surface); padding: 8px 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background 0.3s, border-color 0.3s; }
.has-hero .site-header { position: fixed; left: 0; right: 0; }
.has-hero .site-header:not(.scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header:not(.scrolled) { --ink: #E8F1F8; --line: rgb(232 241 248 / 22%); --brand-ink: #8FCBFF; --surface: rgb(232 241 248 / 10%); --brand: #E8F1F8; --brand-text: #05080D; --brand-hover: #fff; }
.bar { display: flex; align-items: center; gap: 16px 40px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; flex: 0 1 auto; font: 680 1.3rem/1 var(--font-head); font-stretch: 112%; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; margin: 0; }
.brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand svg { flex: none; color: var(--ink); }
#site-nav { flex: 1; display: flex; align-items: center; gap: 12px; }
#site-nav ul { display: flex; gap: 4px 30px; list-style: none; margin: 0 auto 0 0; padding: 0; }
#site-nav ul a { display: block; padding: 10px 0; white-space: nowrap; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 500; opacity: 0.82; }
#site-nav ul a:hover { opacity: 1; color: var(--ink); }
#site-nav ul a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--frost); }
.theme-btn, .menu-btn {
  flex: none; min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); font: 500 1rem var(--font-body); cursor: pointer;
}
.menu-btn { display: none; margin-left: auto; padding: 0 18px; }

@media (max-width: 1080px) {
  .menu-btn { display: inline-block; }
  #site-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 16px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  #site-nav.open { display: flex; }
  #site-nav ul { flex-direction: column; gap: 0; margin: 0; }
  #site-nav ul a { padding: 12px 0; font-size: 1.15rem; }
  #site-nav .btn, #site-nav .btn-outline { justify-content: center; }
  #site-nav .theme-btn { align-self: flex-start; }
  .has-hero .site-header:has(#site-nav.open) { background: var(--bg); }
}

/* ---------- buttons ---------- */
.btn, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px;
  padding: 13px 22px; border-radius: var(--r-btn); font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn { background: var(--brand); color: var(--brand-text); border: 1px solid var(--brand); }
.btn:hover { background: var(--brand-hover); color: var(--brand-text); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 17px 28px; font-size: 1.0625rem; }
.btn-small { min-height: 40px; padding: 9px 16px; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- steps and flow ---------- */
/* Home: three steps laid out as a route, like stops on a delivery run. */
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); counter-reset: stop; }
.stops li { position: relative; padding: 40px 40px 8px 0; counter-increment: stop; }
.stops li + li { padding-left: 40px; border-left: 1px solid var(--line); }
.stops li::before {
  content: "Stop " counter(stop); display: inline-block; margin-bottom: 28px;
  font: 500 0.85rem/1 var(--font-mono); color: var(--frost); padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--frost) 45%, transparent);
}
.stops li:last-child::before { color: var(--ink); border-color: var(--line); }
.stops h3 { margin-bottom: 14px; }
.stops p { color: var(--ink-2); margin: 0; max-width: 34ch; }
@media (max-width: 860px) {
  .stops { grid-template-columns: minmax(0, 1fr); }
  .stops li, .stops li + li { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
.steps { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); list-style: none; margin: 0; padding: 0; }
.step h3 { margin: 14px 0 10px; }
.step p { margin: 0; color: var(--ink-2); font-size: 1.125rem; line-height: 1.5; }

.flow { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); list-style: none; margin: 0; padding: 0; }
.flow-step { padding: 24px; border-radius: var(--r-card); background: var(--surface); }
.flow-step.on-chain { background: color-mix(in srgb, var(--brand) 14%, var(--surface)); }
.flow-step.on-chain .eyebrow { color: var(--brand-ink); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 48px; }
.foot { display: grid; gap: 40px; grid-template-columns: 1fr 2fr; }
.foot .brand { font-size: 1.3rem; margin-bottom: 14px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; align-content: start; justify-content: flex-end; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.disclaimer { grid-column: 1 / -1; font-size: 0.875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; margin: 0; }
@media (max-width: 760px) { .foot { grid-template-columns: minmax(0, 1fr); } .foot-links { justify-content: flex-start; } }

/* ---------- home: live 3D hero (night port; stays dark in both themes) ---------- */
.night {
  --bg: #05080D; --surface: #0B121B; --line: #1C2734; --ink: #E8F1F8; --ink-2: #B7C4D2; --muted: #8A9AAD;
  --frost: #8FCBFF; --signal: #FF6A1F; --brand: #E8F1F8; --brand-text: #05080D; --brand-hover: #fff; --brand-ink: #8FCBFF;
  color-scheme: dark; background: var(--bg); color: var(--ink);
}
.hero { position: relative; min-height: max(560px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity 1.2s ease; }
.hero-stage.is-live .hero-poster { opacity: 0; }
.hero-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(5 8 13 / 55%) 0%, transparent 22%, transparent 48%, rgb(5 8 13 / 78%) 78%, #05080D 100%),
              linear-gradient(90deg, rgb(5 8 13 / 70%) 0%, transparent 55%); }
.hero-copy { padding: clamp(104px, 14vh, 180px) 0 clamp(28px, 4vh, 48px); }
.hero-copy h1 { margin-bottom: 18px; max-width: 14ch; font-size: clamp(31px, 3.92vw, 67px); }
.hero-copy .lede { color: #C9D6E2; max-width: 54ch; font-size: clamp(14px, 1.05vw, 15px); }
.hero-tag {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  translate: -50% -100%; display: flex; flex-direction: column; gap: 4px; padding: 10px 14px 11px;
  background: rgb(5 8 13 / 72%); border: 1px solid color-mix(in srgb, var(--signal) 70%, transparent); color: var(--ink);
  font: 500 0.875rem/1.25 var(--font-mono); white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-tag.on { opacity: 1; }
.hero-tag b { color: var(--signal); font-weight: 500; }
.hero-strip { border-top: 1px solid var(--line); background: rgb(5 8 13 / 55%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-facts div { padding: 15px 24px 15px 0; }
.hero-facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-facts b { display: block; font: 680 clamp(23px, 2.25vw, 33px)/1 var(--font-head); font-stretch: 118%; letter-spacing: -0.03em; margin-bottom: 6px; }
.hero-facts b.deadline { color: var(--signal); }
.hero-partners { border-bottom: 1px solid var(--line); }
.hero-partners-row { display: flex; align-items: center; gap: 42px; padding-top: 14px; padding-bottom: 14px; }
.hero-partners-label { flex: none; margin: 0; font-size: 1.25rem; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.hero-partners-label small { display: block; margin-top: 2px; font-size: 1rem; color: var(--muted); }
.hero-partners .marquee-box { flex: 1; min-width: 0; gap: 16px; }
.hero-partners .marquee-row { gap: 72px; padding: 0 36px; }
.hero-partners .marquee-row svg.logo { height: 45px; }
.hero-facts span { color: var(--ink-2); font-size: 0.875rem; }
.hero-facts .cite a { color: var(--muted); }
.cite { font: 500 0.7em/1 var(--font-mono); vertical-align: super; margin-left: 3px; }
.cite a { color: var(--frost); text-decoration: none; }
.cite a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-copy { padding: 52svh 0 32px; }
  .hero-copy h1 { font-size: clamp(28px, 8.05vw, 39px); }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts div, .hero-facts div + div { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-facts div:first-child { border-top: 0; }
  .hero-partners-row { flex-wrap: wrap; gap: 10px 16px; }
  .hero-partners-label { white-space: normal; flex: 1 1 100%; font-size: 1.1rem; }
  .hero-partners-label small { font-size: 0.875rem; }
  .hero-partners .marquee-box { flex-basis: 100%; }
}

/* ---------- inner page hero (night; stays dark in both themes) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 176px 0 96px; border-bottom: 1px solid var(--line); }
.page-hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero-media::before {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -55%; height: 120%;
  background-image: linear-gradient(rgb(143 203 255 / 16%) 1px, transparent 1px), linear-gradient(90deg, rgb(143 203 255 / 16%) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(64deg); transform-origin: 50% 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
}
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 30%, rgb(95 160 230 / 22%), transparent 70%), linear-gradient(90deg, rgb(5 8 13 / 85%) 0%, rgb(5 8 13 / 20%) 70%); }
.page-hero-art { position: absolute; right: max(4vw, calc((100vw - var(--max)) / 2)); top: 50%; translate: 0 -40%; width: min(36vw, 480px); opacity: 0.95; color: var(--frost); }
.page-hero h1 { max-width: 13ch; font-size: clamp(40px, 4.9vw, 76px); }
@media (min-width: 901px) { .page-hero .wrap > * { max-width: min(660px, 54%); } .page-hero .wrap > h1 { max-width: min(13ch, 56%); } }
.page-hero .lede { color: #C9D6E2; }
.slot-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.has-video .slot-video { opacity: 0.55; }
.has-video ~ .page-hero-art, [data-video].has-video + .page-hero-art { opacity: 0.35; }
.page-hero-3d { position: absolute; inset: 0; z-index: -1; }
.page-hero-3d::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(5 8 13 / 92%) 0%, rgb(5 8 13 / 70%) 34%, rgb(5 8 13 / 0%) 62%), linear-gradient(180deg, transparent 70%, rgb(5 8 13 / 80%) 100%); }
.scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.page-hero-3d.is-live + .page-hero-art { opacity: 0; transition: opacity 0.8s; }
@media (max-width: 900px) { .page-hero-art { display: none; } .page-hero { padding: 132px 0 64px; } .page-hero-3d { opacity: 0.45; } }

/* ---------- lists and small parts ---------- */
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 7px; border-left: 2px solid var(--frost); border-bottom: 2px solid var(--frost); transform: translateY(-60%) rotate(-45deg); }
.sr-only { position: absolute; width: 1px; height: 1px; max-width: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
table.sr-only { display: block; }
.chart { position: relative; }
.lede-wide { max-width: 72ch; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* ---------- presenter path: next page ---------- */
.next-page { border-top: 1px solid var(--line); }
.next-page .wrap { padding-top: 56px; padding-bottom: 64px; }
.next-link { display: grid; gap: 10px; max-width: 760px; color: var(--ink); text-decoration: none; }
.next-kicker { color: var(--muted); font-size: 0.95rem; }
.next-title { font: 680 clamp(36px, 4.4vw, 64px)/1 var(--font-head); font-stretch: var(--head-stretch); letter-spacing: -0.03em; transition: color 0.2s; }
.next-teaser { color: var(--ink-2); font-size: 1.05rem; max-width: 56ch; }
.next-link:hover .next-title, .next-link:focus-visible .next-title { color: var(--frost); }
.next-hint { margin: 28px 0 0; color: var(--muted); font-size: 0.875rem; }
@media (hover: none) { .next-hint { display: none; } }

/* ---------- home: partner marquee ---------- */
.marquee-box { display: flex; align-items: center; gap: 24px; }
.marquee-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); display: flex; }
.marquee-row { display: flex; align-items: center; gap: 64px; padding: 8px 32px; margin: 0; list-style: none; flex: none; }
.marquee-row li { color: var(--ink-2); opacity: 0.8; }
.marquee-row svg.logo { height: 40px; width: auto; display: block; }
.marquee-box:hover .marquee, .marquee-box.paused .marquee { animation-play-state: paused; }
.marquee-toggle { flex: none; position: relative; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; opacity: 0.7; transition: opacity 0.2s, color 0.2s; }
.marquee-toggle::before { content: ""; position: absolute; inset: -6px; }
.marquee-toggle:hover, .marquee-toggle:focus-visible { opacity: 1; color: var(--ink); }
.marquee-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.marquee-toggle .i-play, .marquee-box.paused .marquee-toggle .i-pause { display: none; }
.marquee-box.paused .marquee-toggle .i-play { display: block; }
.mock-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 20px; }

/* ---------- home: before and after ---------- */
.contrast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.contrast-col { padding: 40px; }
.contrast-col + .contrast-col { border-left: 1px solid var(--line); }
.contrast-col h3 { margin-bottom: 24px; }
.contrast-col ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; counter-reset: c; }
.contrast-col li { position: relative; padding-left: 44px; counter-increment: c; color: var(--ink-2); }
.contrast-col li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 500 0.8rem var(--font-mono); color: var(--muted); }
.contrast-col.before h3 { color: var(--muted); }
.contrast-col.after { background: linear-gradient(160deg, color-mix(in srgb, var(--frost) 9%, transparent), transparent 60%); }
.contrast-col.after li::before { color: var(--frost); }
@media (max-width: 760px) { .contrast { grid-template-columns: minmax(0, 1fr); } .contrast-col + .contrast-col { border-left: 0; border-top: 1px solid var(--line); } .contrast-col { padding: 28px 22px; } }

/* ---------- call to action ---------- */
.cta { position: relative; overflow: hidden; border: 1px solid var(--line); padding: 80px 64px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px;
  background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--frost) 16%, transparent), transparent 60%), var(--surface); }
.cta h2 { margin: 0; max-width: 16ch; }
.cta p { margin: 16px 0 0; color: var(--ink-2); max-width: 46ch; }
.cta .actions { margin: 0; }
@media (max-width: 760px) { .cta { padding: 48px 24px; } }

/* ---------- solution: pain points ---------- */
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pain { padding: 36px 28px 8px 0; }
.pain + .pain { padding-left: 28px; border-left: 1px solid var(--line); }
.pain-fig { font: 680 clamp(34px, 3.1vw, 52px)/1 var(--font-head); font-stretch: 112%; overflow-wrap: anywhere; letter-spacing: -0.03em; margin: 0 0 6px; }
.pain:nth-child(3) .pain-fig { color: var(--signal); }
.pain-fig-label { color: var(--muted); font-size: 0.92rem; margin: 0 0 28px; }
.pain h3 { font-size: 1.25rem; margin-bottom: 10px; }
.pain p:last-child { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 1000px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pain:nth-child(3) { padding-left: 0; border-left: 0; } .pain:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .pains { grid-template-columns: minmax(0, 1fr); } .pain, .pain + .pain { padding: 28px 0; border-left: 0; } .pain + .pain { border-top: 1px solid var(--line); } }

/* ---------- solution: the three parts with product mock-ups ---------- */
.parts { display: grid; gap: 120px; }
.part { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.part:nth-child(even) .part-art { order: -1; }
.part-when { font: 500 0.95rem var(--font-mono); color: var(--frost); margin: 0 0 14px; }
.part h3 { font-size: clamp(28px, 3vw, 42px); font-stretch: 118%; letter-spacing: -0.025em; }
.part-copy > p { color: var(--ink-2); }
.part-art { position: relative; padding: 48px; background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--frost) 14%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
@media (max-width: 900px) { .parts { gap: 72px; } .part { grid-template-columns: minmax(0, 1fr); gap: 32px; } .part:nth-child(even) .part-art { order: 0; } .part-art { padding: 20px; } }
.device { background: #0A121C; color: #E8F1F8; border: 1px solid #22303F; border-radius: var(--r-panel); padding: 18px; box-shadow: 0 30px 80px -30px rgb(0 0 0 / 70%); font-size: 0.92rem; }
.device p { margin: 0; }
.device .muted { color: #8A9AAD; }
.device-bar { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #1C2734; color: #B7C4D2; font-size: 0.85rem; }
.scan { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; padding: 14px; background: #0F1A26; border: 1px solid #1C2734; }
.scan-code { width: 76px; height: 76px; background:
  conic-gradient(from 90deg at 30% 30%, #E8F1F8 25%, transparent 0) 0 0 / 12px 12px,
  linear-gradient(#E8F1F8, #E8F1F8) 0 0 / 24px 24px no-repeat, linear-gradient(#E8F1F8, #E8F1F8) 100% 0 / 24px 24px no-repeat, linear-gradient(#E8F1F8, #E8F1F8) 0 100% / 24px 24px no-repeat; opacity: 0.9; }
.scan .mono { color: #8FCBFF; }
.match { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 14px 0; padding: 12px 14px; border: 1px dashed #2A3B4E; }
.eq { font: 500 0.75rem var(--font-mono); color: #8FCBFF; padding: 4px 8px; border: 1px solid #2A4E70; }
.sigs { display: flex; flex-wrap: wrap; gap: 8px; }
.sig { padding: 6px 10px; font-size: 0.8rem; border: 1px solid #2A4E70; color: #CFE6FF; background: rgb(143 203 255 / 8%); }
.sig::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #8FCBFF; vertical-align: 1px; }
.sig-red { color: #FF8A4C; }
.device .board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.device .board li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 12px; background: #0F1A26; border-left: 2px solid #FF6A1F; }
.device .board li.out { border-left-color: #2A3B4E; color: #8A9AAD; }
.done-mark { font-size: 0.78rem; color: #8FCBFF; }
.board-total { margin-top: 14px !important; color: #B7C4D2; }
.board-total b { color: #E8F1F8; }
.paper { background: #F4F7FA; color: #07111C; padding: 22px 24px; box-shadow: 0 30px 80px -30px rgb(0 0 0 / 70%); font-size: 0.92rem; position: relative; }
.paper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, #07111C 0 8px, transparent 8px 12px); opacity: 0.15; }
.paper-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid #C9D3DD; margin-bottom: 8px; }
.paper dl { margin: 0; }
.paper dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dotted #C9D3DD; }
.paper dt { color: #3B4B5C; }
.paper dd { margin: 0; font-family: var(--font-mono); }
.paper .tot { border-bottom: 0; padding-top: 12px; font-weight: 600; }
.paper .tot dt { color: #07111C; }
.stamps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stamps span { font: 500 0.75rem var(--font-mono); color: #1D6CB0; border: 1.5px solid #1D6CB0; padding: 5px 8px; transform: rotate(-2deg); }
.stamps span + span { transform: rotate(1.5deg); }
.fp { margin: 14px 0 0; font-size: 0.75rem; color: #4E5D6E; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 640px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.table thead th { font-weight: 600; color: var(--muted); font-size: 0.85rem; background: var(--surface); }
.table tbody th { font-weight: 600; width: 22%; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table td { color: var(--ink-2); }
.compare tr.us th, .compare tr.us td { background: color-mix(in srgb, var(--frost) 9%, transparent); color: var(--ink); }
.compare th.us, .compare td.us { background: color-mix(in srgb, var(--frost) 9%, transparent); color: var(--ink); }

/* ---------- charts ---------- */
:root { --c1: #8FCBFF; --c2: #4F86BE; --c3: #C9D9E8; --c4: #2D4A69; }
:root[data-theme="light"] { --c1: #1D6CB0; --c2: #5E9BD1; --c3: #9DB4C9; --c4: #07111C; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --c1: #1D6CB0; --c2: #5E9BD1; --c3: #9DB4C9; --c4: #07111C; } }
.chart { margin: 0; padding: 32px; border: 1px solid var(--line); background: var(--surface); }
.chart figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 24px; }
.chart-title { font: 640 1.15rem/1.3 var(--font-head); font-stretch: 110%; }
.tag-illus { font: 500 0.78rem var(--font-mono); color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; }
.chart-note { margin: 20px 0 0; color: var(--muted); font-size: 0.88rem; max-width: 80ch; }
.svg-chart { width: 100%; height: auto; display: block; overflow: visible; }
.svg-chart .grid { stroke: var(--line); stroke-width: 1; }
.svg-chart .axis { fill: var(--muted); font: 12px var(--font-mono); }
.svg-chart .total { fill: var(--ink); font: 600 14px var(--font-body); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 16px 0 0; font-size: 0.9rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
@media (max-width: 600px) { .chart { padding: 20px 16px; } }

.wf-row { display: grid; grid-template-columns: minmax(0, 15rem) 1fr 6.5rem; gap: 18px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.wf-label { color: var(--ink-2); font-size: 0.95rem; }
.wf-track { position: relative; height: 22px; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.wf-track i { position: absolute; top: 0; bottom: 0; background: var(--frost); }
.wf-row b { font: 500 0.95rem var(--font-mono); text-align: right; }
.wf-total { border-bottom: 0; }
.wf-total .wf-label { color: var(--ink); font-weight: 600; }
.wf-total .wf-track i { background: linear-gradient(90deg, var(--frost), color-mix(in srgb, var(--frost) 55%, var(--ink))); }
@media (max-width: 640px) { .wf-row { grid-template-columns: 1fr auto; } .wf-track { grid-column: 1 / -1; grid-row: 2; } }

.wn-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.wn-list li { padding: 20px 16px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 1180px) { .wn-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .wn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wn-axis { display: none; } }
@media (max-width: 420px) { .wn-list { grid-template-columns: minmax(0, 1fr); } }
.wn-list time { font: 500 0.85rem var(--font-mono); color: var(--frost); }
.wn-list li.future time { color: var(--muted); }
.wn-list b { font-weight: 600; line-height: 1.3; }
.wn-list span { color: var(--ink-2); font-size: 0.92rem; }
.wn-axis { position: relative; height: 54px; margin-top: 22px; border-top: 2px solid var(--line); }
.wn-axis i { position: absolute; top: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--frost); }
.wn-axis i.future { background: var(--bg); border: 2px solid var(--muted); }
.wn-axis em { position: absolute; top: 16px; font: 500 0.8rem var(--font-mono); color: var(--muted); font-style: normal; }
.wn-axis em:last-child { right: 0; }
.wn-today { position: absolute; top: -30px; translate: -50% 0; font: 500 0.8rem var(--font-mono); color: var(--signal); padding-bottom: 26px; border-right: 0; }
.wn-today::after { content: ""; position: absolute; left: 50%; top: 22px; width: 2px; height: 24px; background: var(--signal); }

.tl-body { position: relative; padding: 44px 0 8px; }
.tl-limit { position: absolute; top: 0; bottom: 0; border-left: 1px dashed color-mix(in srgb, var(--signal) 70%, transparent); }
.tl-limit b { position: absolute; top: 4px; left: 8px; font: 500 0.8rem var(--font-mono); color: var(--signal); white-space: nowrap; }
.tl-lane { margin-bottom: 40px; }
.tl-name { font-weight: 600; margin: 0 0 14px; }
.tl-lane.manual .tl-name { color: var(--muted); }
.tl-bar { position: relative; height: 92px; }
.tl-span { position: absolute; left: 0; top: 40px; height: 6px; background: color-mix(in srgb, var(--muted) 45%, transparent); }
.ours .tl-span { background: var(--frost); }
.tl-ev { position: absolute; top: 0; width: 1px; height: 92px; }
.tl-ev i { position: absolute; left: -6px; top: 37px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.ours .tl-ev i { border-color: var(--frost); background: var(--frost); }
.tl-ev em { position: absolute; left: 0; top: 0; translate: -10% 0; font-style: normal; font-size: 0.82rem; white-space: nowrap; color: var(--ink-2); }
.tl-ev small { position: absolute; left: 0; top: 56px; translate: -10% 0; font: 500 0.75rem var(--font-mono); color: var(--muted); }
.tl-ev.low em { top: 70px; }
.tl-ev.low small { top: 18px; }
.tl-ev.end em, .tl-ev.end small { translate: -100% 0; text-align: right; }
@media (max-width: 760px) { .tl-ev em { white-space: normal; width: 7.5em; font-size: 0.75rem; } .tl-bar { height: 120px; } .tl-ev.low em { top: 76px; } }

/* ---------- solution: pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.plan { padding: 36px 32px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { background: linear-gradient(180deg, color-mix(in srgb, var(--frost) 12%, transparent), transparent 70%); box-shadow: inset 0 2px 0 var(--frost); }
.plan-who { color: var(--muted); min-height: 3em; }
.plan-price { margin: 8px 0 4px; }
.plan-price b { font: 680 clamp(40px, 4vw, 56px)/1 var(--font-head); font-stretch: 118%; letter-spacing: -0.03em; }
.plan-price .per { color: var(--muted); }
.pricing-note { margin-top: 20px; color: var(--muted); font-size: 0.92rem; max-width: 90ch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- solution: business case ---------- */
.biz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: stretch; }
.biz-why { margin-top: 56px; }
.fn-row { position: relative; display: grid; grid-template-columns: 6.5rem 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fn-bar { position: absolute; left: 0; bottom: -1px; height: 3px; background: var(--frost); }
.fn-row b { font: 680 1.7rem/1 var(--font-head); font-stretch: 112%; }
.fn-row span:last-child { color: var(--ink-2); font-size: 0.95rem; }
.fn-row em.tag-illus { font-style: normal; margin-left: 6px; }
.pj { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.pj-bars { height: 200px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid var(--line); }
.pj-bars span { flex: 1; position: relative; min-height: 4px; }
.pj-bars .rev { background: var(--frost); }
.pj-bars .cost { background: color-mix(in srgb, var(--muted) 55%, transparent); }
.pj-bars b { position: absolute; left: 50%; bottom: 100%; translate: -50% -6px; font: 500 0.72rem var(--font-mono); white-space: nowrap; color: var(--ink-2); }
.pj-year p { margin: 10px 0 0; font-size: 0.85rem; color: var(--muted); display: grid; gap: 2px; }
.pj-year p b { color: var(--ink); font-size: 1rem; }
.pj-be { margin: 22px 0 6px; color: var(--ink-2); }
.pj-be b { color: var(--ink); }
.ticks.small li { font-size: 0.88rem; }
.chart-insight { margin: 18px 0 0; color: var(--ink); max-width: 80ch; }
.gtm { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); counter-reset: g; }
.gtm li { padding: 32px 28px 8px 0; counter-increment: g; }
.gtm li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.gtm li::before { content: counter(g, decimal-leading-zero); display: block; font: 500 0.85rem var(--font-mono); color: var(--frost); margin-bottom: 20px; }
.gtm h3 { font-size: 1.2rem; }
.gtm p { color: var(--ink-2); font-size: 0.96rem; }
@media (max-width: 1000px) { .biz { grid-template-columns: minmax(0, 1fr); } .gtm { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gtm li:nth-child(3) { padding-left: 0; border-left: 0; } .gtm li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .gtm { grid-template-columns: minmax(0, 1fr); } .gtm li, .gtm li + li { padding: 24px 0; border-left: 0; } .gtm li + li { border-top: 1px solid var(--line); } .pj-bars b { font-size: 0.6rem; } }

/* ---------- solution: ESG panel (stays dark) ---------- */
.esg-panel { padding: 72px 64px; border: 1px solid var(--line); background:
  radial-gradient(60% 80% at 90% 10%, rgb(143 203 255 / 16%), transparent 70%), #07131A; color: #E8F1F8; }
.esg-panel .lede { color: #B7C9D4; }
.esg-head h2 { max-width: 14ch; }
.esg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 48px 0; }
.esg-item { border-top: 1px solid rgb(232 241 248 / 18%); padding-top: 20px; }
.esg-letter { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #8FCBFF; color: #8FCBFF; font: 680 1.2rem var(--font-head); font-stretch: 118%; margin-bottom: 16px; }
.esg-item p { color: #C9D6E2; margin: 0; }
.esg-finance { padding: 28px; border: 1px solid rgb(143 203 255 / 35%); background: rgb(143 203 255 / 6%); }
.esg-finance h3 { margin-bottom: 8px; }
.esg-finance p { color: #C9D6E2; margin: 0; max-width: 80ch; }
.esg-panel .cite a { color: #8FCBFF; }
@media (max-width: 860px) { .esg-panel { padding: 40px 22px; } .esg-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- questions ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font: 600 1.12rem/1.4 var(--font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 1.6rem var(--font-mono); color: var(--frost); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); margin: 0 0 24px; max-width: 72ch; }

.audit { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border: 1px solid var(--line); background: var(--surface); margin-top: 40px; font-weight: 500; }
.audit svg { flex: none; color: var(--frost); }

/* ---------- insights ---------- */
.news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.news { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.news-meta time { font-family: var(--font-mono); color: var(--frost); }
.news h3 { font-size: 1.15rem; }
.news p { color: var(--ink-2); font-size: 0.97rem; }
.news-why { margin: 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 0.92rem !important; }
.news-why b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .news-list { grid-template-columns: minmax(0, 1fr); } .news { padding: 22px 18px; } }
.lit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.lit { border-top: 2px solid var(--ink); padding-top: 18px; }
.lit h3 { font-size: 1.2rem; }
.lit p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .lit-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- technology ---------- */
.chain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.chain-type { font: 680 clamp(48px, 6vw, 88px)/1 var(--font-head); font-stretch: 125%; letter-spacing: -0.04em; margin: 0 0 20px; color: var(--frost); }
@media (max-width: 900px) { .chain { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.hybrid { margin: 0; display: grid; gap: 0; }
.hy-private, .hy-public { padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.hy-private { border-color: color-mix(in srgb, var(--frost) 40%, var(--line)); }
.hy-label { font-weight: 600; margin: 0 0 14px; }
.hy-note { color: var(--muted); font-size: 0.9rem; margin: 12px 0 0; }
.hy-nodes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hy-nodes span { padding: 12px 8px; text-align: center; font-size: 0.85rem; border: 1px solid var(--line); background: var(--bg); position: relative; }
.hy-nodes span::before { content: ""; display: block; width: 8px; height: 8px; margin: 0 auto 8px; border-radius: 50%; background: var(--frost); box-shadow: 0 0 0 4px color-mix(in srgb, var(--frost) 20%, transparent); }
.hy-link { position: relative; height: 64px; display: grid; place-items: center; }
.hy-link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--frost); }
.hy-link span { position: relative; padding: 4px 10px; background: var(--bg); border: 1px solid var(--frost); color: var(--frost); font: 500 0.8rem var(--font-mono); }
.hy-rails { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hy-rails span { font-size: 0.82rem; padding: 6px 10px; border: 1px solid var(--line); color: var(--ink-2); }
.contracts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); counter-reset: k; }
.contracts li { padding: 28px 24px; counter-increment: k; }
.contracts li + li { border-left: 1px solid var(--line); }
.contracts li::before { content: counter(k, decimal-leading-zero); display: block; font: 500 0.8rem var(--font-mono); color: var(--frost); margin-bottom: 18px; }
.contracts h3 { font-family: var(--font-mono); font-stretch: 100%; font-weight: 500; font-size: 1.15rem; letter-spacing: 0; }
.contracts p { color: var(--ink-2); font-size: 0.95rem; }
.contract-link { font-size: 0.88rem; }
.contract-link .mono { color: var(--muted); }
@media (max-width: 1000px) { .contracts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contracts li:nth-child(3) { border-left: 0; } .contracts li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .contracts { grid-template-columns: minmax(0, 1fr); } .contracts li + li { border-left: 0; border-top: 1px solid var(--line); } }
.stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0; }
.stack div { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack dt { font-weight: 600; margin-bottom: 6px; }
.stack dd { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.data-rules { margin-top: 24px; color: var(--ink-2); max-width: 80ch; }
@media (max-width: 900px) { .stack { grid-template-columns: minmax(0, 1fr); } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; border-top: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 24px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 28px; width: 11px; height: 11px; border-radius: 50%; background: var(--frost); }
.timeline li:nth-child(n+2)::before { background: var(--bg); border: 2px solid var(--frost); }
.timeline .when { font: 500 0.88rem var(--font-mono); color: var(--frost); margin: 0 0 40px; }
.timeline h3 { font-size: 1.1rem; }
.timeline p:last-child { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 900px) { .timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; } .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px solid var(--line); } .timeline li { padding-left: 32px; } .timeline li::before { top: 4px; } .timeline .when { margin-bottom: 8px; } }

/* ---------- technology: the recall story (night) ---------- */
.demo { padding: var(--section) 0; }
.demo-badge { margin: 0 0 28px; font: 500 0.82rem var(--font-mono); color: #8FCBFF; display: inline-flex; align-items: center; gap: 8px; }
.demo-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8FCBFF; box-shadow: 0 0 0 4px rgb(143 203 255 / 18%); }
.story-key { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 76px; padding-bottom: 14px; border-bottom: 1px solid #1C2734; color: #8A9AAD; font-size: 0.9rem; }
.story { list-style: none; margin: 0; padding: 0; overflow-x: clip; }
.story-step { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding: 64px 0; border-bottom: 1px solid #1C2734; }
.story-num { margin: 0 0 12px; color: #8FCBFF; font-size: 0.82rem; }
.story-copy h3 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 14px; max-width: 18ch; }
.story-copy > p:not(.story-num) { color: #B7C4D2; max-width: 58ch; margin: 0 0 32px; }
.story-visual { display: grid; place-items: center; padding: 32px; min-height: 280px; border: 1px solid #1C2734; background: radial-gradient(120% 90% at 50% 0%, #0D1825, #070D15 70%); }
.story-step.whatif .story-num { color: #FF8A4C; }
.story-step.whatif .story-visual { border-color: rgb(255 106 31 / 35%); }

/* the chain rail: one continuous line down the right-hand column */
.story-chain { position: relative; padding-left: 28px; }
.story-chain::before { content: ""; position: absolute; left: 6px; top: -64px; bottom: -64px; width: 2px; background: linear-gradient(#22303F, #22303F); }
.story-step:first-child .story-chain::before { top: 8px; }
.story-step:last-child .story-chain::before { bottom: auto; height: 88px; }
.chain-head { display: none; margin: 0 0 16px; color: #8A9AAD; font-size: 0.85rem; }
.rec-group { position: relative; margin-bottom: 14px; border: 1px solid #22303F; background: #0A121C; }
.rec-group::before { content: ""; position: absolute; left: -28px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: #05080D; border: 2px solid #8FCBFF; }
.rec-title { margin: 0; padding: 10px 14px; border-bottom: 1px solid #1C2734; color: #E8F1F8; font-size: 0.9rem; font-weight: 600; }
.rec-group ol { list-style: none; margin: 0; padding: 0; }
.rec-group li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 9px 14px; border-top: 1px solid #131E2A; font-size: 0.85rem; }
.rec-group li:first-child { border-top: 0; }
.rec-block { grid-column: 1 / -1; color: #8A9AAD; font-size: 0.75rem; }
.rec-label { color: #C9D6E2; }
.rec-hash { color: #8FCBFF; font-size: 0.78rem; align-self: end; }
.rec-note { position: relative; padding: 14px 16px; border: 1px dashed #2A3A4C; color: #8A9AAD; font-size: 0.9rem; }
.rec-note p { margin: 0; }
.rec-note::before { content: ""; position: absolute; left: -28px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: #05080D; border: 2px dashed #3A4C60; }
.rec-note.hot { border-color: rgb(255 106 31 / 45%); color: #C9D6E2; }
.rec-note.hot::before { border: 2px solid #FF6A1F; }
.rec-note ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.rec-note code { font-size: 0.78rem; color: #FFB48A; }
.rec-note li code { display: block; margin-top: 2px; }
.story-chain .demo-live { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- recall story: scroll motion ---------- */
.story-wrap { position: relative; }
.story-rail { position: absolute; width: 2px; pointer-events: none; z-index: 1; }
.story-rail span { display: block; height: 100%; transform-origin: top; transform: scaleY(0); background: linear-gradient(#8FCBFF, #BFE2FF); box-shadow: 0 0 10px rgb(143 203 255 / 70%), 0 0 24px rgb(143 203 255 / 35%); }
.rec-group::before, .rec-note::before { z-index: 2; transition: border-color 0.35s, background 0.35s, box-shadow 0.35s; }
.rec-group { transition: border-color 0.5s, background 0.5s; }
.story.anim .rec-group:not(.lit)::before { border-color: #3A4C60; }
.rec-group.lit::before { border-color: #8FCBFF; background: #8FCBFF; box-shadow: 0 0 0 5px rgb(143 203 255 / 16%), 0 0 18px rgb(143 203 255 / 75%); }
.rec-group.lit { border-color: #2C4560; background: #0B1623; }
.rec-note.lit::before { border-color: #8FCBFF; }
.rec-note.hot.lit::before { border-color: #FF6A1F; background: #FF6A1F; box-shadow: 0 0 0 5px rgb(255 106 31 / 16%), 0 0 18px rgb(255 106 31 / 70%); }

/* steps rise in as they enter */
.story.anim .story-copy > .story-num, .story.anim .story-copy > h3, .story.anim .story-copy > p, .story.anim .story-visual,
.story.anim .chain-head, .story.anim .rec-group, .story.anim .rec-note, .story.anim .story-chain .demo-live {
  opacity: 0; translate: 0 32px; transition: opacity 0.8s ease, translate 0.9s cubic-bezier(.2, .7, .2, 1);
}
.story.anim .story-copy > h3 { transition-delay: 0.08s; }
.story.anim .story-copy > p { transition-delay: 0.16s; }
.story.anim .story-visual { translate: 0 48px; scale: 0.97; transition: opacity 0.9s ease 0.22s, translate 1s cubic-bezier(.2, .7, .2, 1) 0.22s, scale 1s cubic-bezier(.2, .7, .2, 1) 0.22s, border-color 0.5s; }
.story.anim .rec-group, .story.anim .rec-note { translate: 24px 0; transition-delay: calc(0.3s + var(--i, 0) * 0.09s); }
.story.anim .story-chain .demo-live { transition-delay: 0.6s; }
.story.anim .rec-group li { opacity: 0; translate: 12px 0; transition: opacity 0.5s ease, translate 0.6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(0.45s + var(--i, 0) * 0.09s + var(--j, 0) * 0.06s); }
.story.anim .seq { opacity: 0; translate: 0 12px; transition: opacity 0.55s ease, translate 0.6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(0.55s + var(--k, 0) * 0.11s); }
.story.anim .story-step.in .story-copy > *, .story.anim .story-step.in .story-visual, .story.anim .story-step.in .chain-head,
.story.anim .story-step.in .rec-group, .story.anim .story-step.in .rec-note, .story.anim .story-step.in .rec-group li,
.story.anim .story-step.in .seq, .story.anim .story-step.in .story-chain .demo-live { opacity: 1; translate: 0 0; scale: 1; }

/* step details */
.story.anim .v-sign .phone { translate: 0 60px; rotate: -3deg; transition: translate 1.1s cubic-bezier(.2, .7, .2, 1) 0.3s, rotate 1.1s cubic-bezier(.2, .7, .2, 1) 0.3s; }
.story.anim .in .v-sign .phone { translate: 0 0; rotate: 0deg; }
.story.anim .net-bar span { transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) 1s; }
.story.anim .net-bar .kept { transition-delay: 1.6s; }
.story.anim .in .net-bar span { transform: scaleX(1); }
.story.anim .stamp { opacity: 0; transform: scale(2) rotate(-14deg); transition: opacity 0.15s ease 1.5s, transform 0.4s cubic-bezier(.3, 1.6, .5, 1) 1.5s; }
.story.anim .in .stamp { opacity: 1; transform: rotate(-4deg); }
.story.anim .in .v-whatif .board li.late { animation: late-pulse 1.4s ease 1.3s 2; }
@keyframes late-pulse { 50% { box-shadow: 0 0 0 1px #FF6A1F, 0 0 24px rgb(255 106 31 / 45%); } }
.story.anim .v-trace > .tn::after { transform: scaleY(0); transform-origin: top; transition: transform 0.4s ease; transition-delay: calc(0.75s + var(--k, 0) * 0.11s); }
.story.anim .in .v-trace > .tn::after { transform: scaleY(1); }

/* step visuals */
.v-sign .phone { width: min(300px, 100%); padding: 20px; border: 1px solid #2A3A4C; border-radius: 22px; background: #0A121C; box-shadow: 0 30px 80px -30px rgb(0 0 0 / 70%); }
.phone-top { margin: 0 0 14px; color: #E8F1F8; }
.phone-top svg.logo { height: 26px; width: auto; }
.phone-title { margin: 0 0 12px; font: 680 1.2rem var(--font-head); font-stretch: 118%; color: #E8F1F8; }
.phone-kv { margin: 0 0 12px; display: grid; gap: 6px; font-size: 0.85rem; }
.phone-kv div { display: flex; justify-content: space-between; gap: 12px; }
.phone-kv dt { color: #8A9AAD; }
.phone-kv dd { margin: 0; color: #E8F1F8; text-align: right; }
.phone-docs { list-style: none; margin: 0 0 14px; padding: 10px 0 0; border-top: 1px solid #1C2734; display: grid; gap: 4px; font-size: 0.74rem; color: #8A9AAD; }
.phone-signed { margin: 0; display: grid; gap: 6px; font-size: 0.82rem; color: #8FCBFF; }
.phone-signed span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #8FCBFF; margin-right: 8px; }
.v-whatif { width: 100%; display: grid; gap: 16px; justify-items: start; }
.v-whatif .board { width: 100%; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v-whatif .board li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; background: #0A121C; border-left: 2px solid #8FCBFF; color: #E8F1F8; }
.v-whatif .board li .small { grid-column: 1 / -1; }
.v-whatif .board li.late { border-left-color: #FF6A1F; }
.v-whatif .board li.late .small { color: #FF8A4C; }
.v-whatif .paper { width: min(340px, 100%); font-size: 0.85rem; padding: 18px; }
.stamp { color: #C2410C; border: 2px solid #C2410C; padding: 1px 8px; font: 600 0.75rem var(--font-mono); transform: rotate(-4deg); }

@media (max-width: 960px) {
  .story-key { display: none; }
  .chain-head { display: block; }
  .story-step { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 44px 0; }
  .story-chain::before { top: 8px; bottom: 0; }
  .story-step:last-child .story-chain::before { height: auto; bottom: 0; }
  .story-chain .chain-head + .rec-group::before, .story-chain .chain-head + .rec-note::before { top: 16px; }
  .story-visual { padding: 24px 16px; min-height: 0; }
}
.demo-loading, .demo-error p { color: #8A9AAD; font-family: var(--font-mono); }
.demo-error { text-align: center; padding: 40px 0; list-style: none; }

.live-out { font-size: 0.9rem; color: #8A9AAD; }
.live-out.ok { color: #8FCBFF; }
.live-out.bad { color: #FF8A4C; }

.v-alert { width: min(460px, 100%); padding: 28px; border: 1px solid #FF6A1F; background: linear-gradient(180deg, rgb(255 106 31 / 10%), transparent); }
.v-alert-tag { margin: 0 0 18px; font: 500 0.82rem var(--font-mono); color: #FF8A4C; }
.v-alert-tag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #FF6A1F; margin-right: 10px; animation: blink 1.2s steps(2) infinite; }
.v-alert-lot { font-size: clamp(28px, 4vw, 40px); color: #E8F1F8; margin: 0 0 8px; }
.v-alert-src { color: #B7C4D2; margin: 0 0 24px; }
.v-alert-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.85rem; color: #8A9AAD; }
.v-alert-chain i { width: 24px; height: 1px; background: #FF6A1F; }
.v-alert-chain .hot { color: #E8F1F8; }
@keyframes blink { 50% { opacity: 0.2; } }

.v-trace { width: 100%; display: grid; gap: 22px; justify-items: center; }
.tn { position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 16px; min-width: 200px; border: 1px solid #22303F; background: #0A121C; color: #E8F1F8; text-align: center; }
.tn svg.logo { height: 30px; width: auto; }
.tn small { color: #8A9AAD; font-size: 0.78rem; }
.tn em { font-style: normal; font: 500 0.72rem var(--font-mono); }
.tn.hot { border-color: #FF6A1F; box-shadow: 0 0 0 4px rgb(255 106 31 / 10%); }
.tn.hot em { color: #FF8A4C; }
.tn.cold { opacity: 0.55; }
.tn.cold em { color: #8FCBFF; }
.tn.src { border-style: dashed; }
.v-trace > .tn:not(:last-child)::after, .v-trace > .tn::after { content: ""; position: absolute; left: 50%; bottom: -23px; height: 22px; border-left: 2px solid #FF6A1F; }
.tn-shops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; position: relative; }
.tn-shops .tn { min-width: 0; }
@media (max-width: 600px) { .tn-shops { grid-template-columns: minmax(0, 1fr); } .tn { min-width: 0; width: 100%; } }

.v-board { width: 100%; display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.ring-wrap { position: relative; width: 200px; height: 200px; }
.ring48 { width: 200px; height: 200px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #1C2734; stroke-width: 12; }
.ring-used { fill: none; stroke: #FF6A1F; stroke-width: 12; stroke-linecap: round; }
.ring-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-text b { font-size: 2.6rem; color: #E8F1F8; }
.ring-text span { color: #8A9AAD; font-size: 0.85rem; }
.v-board .board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v-board .board li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; background: #0A121C; border-left: 2px solid #8FCBFF; color: #E8F1F8; }
.v-board .board li .small { grid-column: 1 / -1; }
@media (max-width: 600px) { .v-board { grid-template-columns: minmax(0, 1fr); justify-items: center; } .v-board .board { width: 100%; } }

.v-settle { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.v-settle .paper { font-size: 0.85rem; padding: 18px; }
.v-fp { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 0; color: #8A9AAD; font-size: 0.85rem; }
.v-fp code { color: #8FCBFF; border: 1px solid #22303F; padding: 6px 10px; }
@media (max-width: 600px) { .v-settle { grid-template-columns: minmax(0, 1fr); } }

.v-net { width: 100%; display: grid; gap: 28px; }
.net-bar { display: flex; height: 40px; }
.net-bar span { display: block; }
.net-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: -14px 0 0; font: 500 0.82rem var(--font-mono); color: #B7C4D2; }
.net-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px; }
.net-legend .pulled::before { background: rgb(255 106 31 / 85%); }
.net-legend .kept::before { background: #8FCBFF; }
.net-bar .pulled { background: rgb(255 106 31 / 85%); color: #05080D; }
.net-bar .kept { background: #8FCBFF; color: #05080D; }
.net-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.net-figs div { padding: 18px; border: 1px solid #22303F; background: #0A121C; display: grid; gap: 6px; }
.net-figs b { font: 680 1.8rem var(--font-head); font-stretch: 118%; color: #E8F1F8; }
.net-figs span { color: #8A9AAD; font-size: 0.88rem; }
@media (max-width: 600px) { .net-figs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner { padding: 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-logo { height: 72px; display: flex; align-items: center; color: var(--ink); margin-bottom: 20px; }
.partner-logo svg.logo { height: 44px; width: auto; max-width: 100%; }
.partner-role { display: flex; justify-content: space-between; gap: 12px; font: 500 0.82rem var(--font-mono); color: var(--frost); margin-bottom: 10px; }
.partner-role span { color: var(--muted); border: 1px solid var(--line); padding: 1px 7px; }
.partner h3 { font-size: 1.15rem; margin-bottom: 4px; }
.partner-sector { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.partner p:last-child { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

/* ---------- about ---------- */
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid var(--line); }
.history li { position: relative; padding: 0 0 36px 32px; }
.history li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--frost); }
.history .when { font: 500 0.88rem var(--font-mono); color: var(--frost); margin: 0 0 6px; }
.history p:last-child { color: var(--ink-2); margin: 0; }
.objectives { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: o; }
.objectives li { counter-increment: o; padding: 18px 20px 18px 64px; position: relative; border: 1px solid var(--line); background: var(--surface); }
.objectives li::before { content: counter(o, decimal-leading-zero); position: absolute; left: 20px; top: 19px; font: 500 0.85rem var(--font-mono); color: var(--frost); }
.vision { font: 600 clamp(26px, 3vw, 40px)/1.15 var(--font-head); font-stretch: 112%; letter-spacing: -0.02em; max-width: 26ch; margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.member-portrait { aspect-ratio: 1; color: var(--ink); border: 1px solid var(--line); margin-bottom: 18px; background: var(--surface); }
.member-portrait svg, .member-portrait img { width: 100%; height: 100%; display: block; object-fit: cover; }
.member-role { font: 500 0.82rem var(--font-mono); color: var(--frost); margin-bottom: 8px; }
.member h3 { font-size: 1.2rem; }
.member p:last-child { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- contact and references ---------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 2px; font: 400 1rem var(--font-body); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--frost); outline-offset: 0; border-color: transparent; }
.form-status { color: var(--frost); min-height: 1.5em; margin: 0; }
.refs { padding-left: 1.6em; display: grid; gap: 14px; max-width: 90ch; }
.refs li { color: var(--ink-2); padding-left: 6px; }
.refs li:target { color: var(--ink); background: color-mix(in srgb, var(--frost) 10%, transparent); }
.refs a { word-break: break-word; }
.pj-costs { margin-top: 22px; }
.pj-costs .table { min-width: 520px; font-size: 0.88rem; }
.pj-costs td { font-family: var(--font-mono); font-size: 0.85rem; }
.ai-note { margin-top: 56px; padding: 28px; border: 1px solid var(--line); background: var(--surface); max-width: 90ch; }
.ai-note h2 { font-size: 1.5rem; }
.ai-note p { color: var(--ink-2); margin: 0; }
.notfound { min-height: 70vh; display: grid; align-content: center; }

/* ---------- stand-ins (see standins.js) ---------- */
.review .ph { background: color-mix(in srgb, var(--signal) 18%, transparent); outline: 1px dashed var(--signal); cursor: help; }
.review .ph[data-hint]:hover::after { content: attr(data-hint); position: absolute; z-index: 60; margin-top: 1.6em; margin-left: -4em; max-width: 280px; padding: 8px 10px; background: var(--ink); color: var(--bg); font: 500 0.8rem/1.4 var(--font-body); }
.ph-bar { position: fixed; left: 16px; bottom: 16px; z-index: 60; padding: 12px 16px; background: var(--signal); color: #05080D; font-size: 0.9rem; }

/* ---------- logos ---------- */
svg.logo { display: block; overflow: visible; }

/* ---------- motion (all of it stops under reduced motion) ---------- */
.marquee { animation: marquee 50s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
  .v-alert-tag::before { animation: none; }
  .slot-video { display: none; }
  .hero-poster { transition: none; }
  .page-hero-3d.is-live + .page-hero-art { transition: none; }
  .story-rail span { transform: none; }
}
