/* Masseef site styles */

/* Fonts are served from this site, so a page view sends nothing to a font host. Latin and latin-ext subsets of the
   open-licensed files Google Fonts serves; a browser downloads latin-ext only when a page uses one of its characters. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(fonts/source-serif-4-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(fonts/source-serif-4-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0A0F1E;
  --ink-2: #10172B;
  --ink-3: #172038;
  --ink-line: #243052;
  --ink-text: #E9EBF1;
  --ink-muted: #9CA5BA;

  --paper: #F5F2EA;
  --white: #FFFFFF;
  --line: #E2DCCD;
  --line-soft: #ECE7DC;
  --text: #121829;
  --muted: #535C70;

  --amber: #E3A73E;
  --amber-deep: #8F5E0C;
  --teal: #35C2B0;
  --teal-deep: #0E7469;
  --ok: #43C283;
  --ok-deep: #1B7449;
  --warn: #EE9440;
  --warn-deep: #A1520F;
  --bad: #E8645D;
  --bad-deep: #A9302B;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1180px;
  --gutter: 28px;
  --r: 14px;
  --r-sm: 9px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --shadow-1: 0 1px 2px rgba(10, 15, 30, .05), 0 6px 18px rgba(10, 15, 30, .06);
  --shadow-2: 0 2px 6px rgba(10, 15, 30, .12), 0 28px 70px rgba(4, 8, 20, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
b { font-weight: 600; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--sans); letter-spacing: .005em;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-accent { background: var(--amber); color: var(--ink); box-shadow: 0 6px 20px rgba(227, 167, 62, .25); }
.btn-accent:hover { background: #F0B95A; transform: translateY(-1px); }
.btn-ghost { color: var(--ink-text); border-color: rgba(233, 235, 241, .22); }
.btn-ghost:hover { border-color: rgba(233, 235, 241, .55); background: rgba(255, 255, 255, .04); }
.btn-ghost .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn-ghost:hover .i { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--ink-text); }
.btn-ink:hover { background: var(--ink-3); transform: translateY(-1px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  transition: background-color .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 15, 30, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, .07);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-text); font: 600 20px/1 var(--sans); letter-spacing: -.01em; }
.brand-logo { width: 181px; height: 28px; color: var(--ink-text); }
.hub-logo { width: 135px; height: 21px; color: var(--ink-text); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink-text); }
.nav-links a[aria-current="page"] { color: var(--ink-text); position: relative; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--amber); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

/* ---------- Sections ---------- */
.sec { padding: 120px 0; position: relative; }
.paper { background: var(--paper); }
.white { background: var(--white); }
.dark { background: var(--ink); color: var(--ink-text); }

.sec-head { max-width: 760px; margin-bottom: 56px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.dark .kicker { color: var(--amber); }

h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
h3 { font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -.005em; }
.sec-lede { margin-top: 20px; font-size: 19px; line-height: 1.65; color: var(--muted); }
.dark .sec-lede { color: var(--ink-muted); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 110px; overflow: hidden; position: relative; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(53, 194, 176, .13), transparent 70%),
    radial-gradient(45% 50% at 12% 90%, rgba(227, 167, 62, .12), transparent 70%),
    linear-gradient(180deg, #0A0F1E 0%, #0C1224 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.eyebrow { font: 500 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 68px); line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lede { margin-top: 24px; font-size: 19.5px; line-height: 1.62; color: #C3C9D7; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--ink-muted); font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { width: 16px; height: 16px; color: var(--teal); stroke-width: 2.2; }

/* Replay card */
.replay {
  position: relative;
  background: linear-gradient(180deg, rgba(23, 32, 56, .92), rgba(16, 23, 43, .96));
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.replay::before {
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 194, 176, .55), transparent);
}
.replay-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--ink-line); }
.replay-book { font-size: 12.5px; letter-spacing: .08em; color: var(--ink-text); }
.tag { font: 500 12px/1 var(--mono); color: var(--amber); background: rgba(227, 167, 62, .1); border: 1px solid rgba(227, 167, 62, .28); border-radius: 999px; padding: 6px 10px; }

.replay-inputs { display: grid; gap: 8px; margin-top: 16px; }
.r-row {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center;
  background: rgba(10, 15, 30, .55); border: 1px solid rgba(36, 48, 82, .7); border-radius: var(--r-sm);
  padding: 10px 14px;
}
.r-label { font-size: 13.5px; color: var(--ink-muted); }
.r-val { font-size: 15px; color: var(--ink-text); text-align: right; display: inline-flex; gap: 8px; justify-content: flex-end; align-items: baseline; }
.r-src { grid-column: 1 / -1; font-size: 12px; color: #6F7891; }
.v-arrow, .v-new { display: none; }
.v-new { color: var(--warn); }

.r-event {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 12px; padding: 10px 14px; border-radius: var(--r-sm);
  background: rgba(238, 148, 64, .09); border: 1px solid rgba(238, 148, 64, .3);
  font-size: 13.5px; color: #F1C9A2;
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-top: 6px; }
.dot-warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(238, 148, 64, .18); }

.r-runs { display: grid; gap: 8px; margin-top: 14px; }
.r-run {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center;
  padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid rgba(36, 48, 82, .7); background: rgba(10, 15, 30, .35);
  transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .45s, background-color .45s;
}
.r-run-label { font-size: 13.5px; color: var(--ink-text); display: flex; flex-direction: column; line-height: 1.35; }
.r-run-label small { font-size: 12px; color: #6F7891; }
.r-pv { font-size: 19px; color: var(--ink-text); letter-spacing: -.01em; }
.r-note { grid-column: 1 / -1; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.r-note .i { width: 14px; height: 14px; stroke-width: 2.4; }
.r-note.ok { color: var(--ok); }
.r-note.diff { color: #F1C9A2; }

.replay [data-run="1"], .replay [data-run="2"] { opacity: 0; transform: translateY(8px); }

.replay[data-step="1"] .r-event, .replay[data-step="2"] .r-event, .replay[data-step="3"] .r-event { opacity: 1; transform: none; }
.replay[data-step="1"] .v-old, .replay[data-step="2"] .v-old, .replay[data-step="3"] .v-old { text-decoration: line-through; color: #6F7891; }
.replay[data-step="1"] .v-arrow, .replay[data-step="2"] .v-arrow, .replay[data-step="3"] .v-arrow,
.replay[data-step="1"] .v-new, .replay[data-step="2"] .v-new, .replay[data-step="3"] .v-new { display: inline; }
.replay[data-step="1"] .r-input { border-color: rgba(238, 148, 64, .5); }
.replay[data-step="2"] [data-run="1"], .replay[data-step="3"] [data-run="1"],
.replay[data-step="3"] [data-run="2"] { opacity: 1; transform: none; }
.replay[data-step="2"] [data-run="1"] { border-color: rgba(67, 194, 131, .55); background: rgba(67, 194, 131, .07); }
.replay[data-step="3"] [data-run="2"] { border-color: rgba(238, 148, 64, .5); background: rgba(238, 148, 64, .06); }

.replay-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ink-line); }
.replay-dots { display: flex; gap: 6px; }
.replay-dots li { width: 18px; height: 3px; border-radius: 3px; background: var(--ink-line); transition: background-color .3s; }
.replay-dots li.on { background: var(--teal); }
.replay-text { font-size: 13.5px; color: var(--ink-text); line-height: 1.45; }
.replay-ill { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6F7891; }

/* ---------- Question / costs ---------- */
.cost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: none; }
.cost-grid li { padding: 30px 30px 34px 0; border-bottom: 1px solid var(--line); }
.cost-grid li:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.cost-grid .num { display: block; font-size: 13px; color: var(--amber-deep); margin-bottom: 14px; }
.cost-grid h3 { margin-bottom: 8px; }
.cost-grid p { color: var(--muted); font-size: 16px; }
.cost-close { margin-top: 44px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; font-weight: 500; max-width: 780px; letter-spacing: -.01em; }

/* ---------- Flow diagram ---------- */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.25fr) 72px minmax(0, 1fr);
  align-items: stretch;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 34px;
}
.flow-col { display: grid; grid-template-rows: auto repeat(4, 1fr); gap: 12px; }
.flow-title, .hub-title { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 2px 0 6px; }
.node {
  display: flex; align-items: center; min-height: 64px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 16px; font-size: 15px; font-weight: 500; line-height: 1.35; box-shadow: var(--shadow-1);
}
.hub {
  display: grid; grid-template-rows: auto repeat(4, 1fr) auto 1fr auto; gap: 12px;
  background: var(--ink); color: var(--ink-text); border-radius: 16px; padding: 18px;
  box-shadow: 0 2px 6px rgba(10, 15, 30, .15), 0 20px 50px rgba(10, 15, 30, .22);
}
.hub-title { display: flex; align-items: center; gap: 8px; color: var(--ink-text); font-size: 13px; }
.hub-title .brand-mark { width: 20px; height: 20px; }
.hub-cell {
  display: flex; flex-direction: column; justify-content: center; min-height: 64px;
  background: var(--ink-3); border: 1px solid var(--ink-line); border-radius: var(--r-sm); padding: 10px 14px;
}
.hub-cell b { font-size: 15px; }
.hub-cell span { font-size: 13px; color: var(--ink-muted); line-height: 1.4; }
.hub-cell:nth-of-type(1) { border-left: 3px solid var(--amber); }
.hub-cell:nth-of-type(2) { border-left: 3px solid var(--teal); }
.hub-cell:nth-of-type(3) { border-left: 3px solid #8FA7F5; }
.hub-cell:nth-of-type(4) { border-left: 3px solid #D08BEA; }
/* risk data: computed from the four, so drawn in outline under its own label */
.hub-cell.out { background: transparent; border: 1px dashed #3A4870; }
.hub-cell:nth-of-type(5) { border-left: 3px solid #F08A7E; }
.hub-sub { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding: 8px 2px 0; border-top: 1px solid var(--ink-line); }
.hub-foot { font-size: 12.5px; line-height: 1.5; color: var(--ink-muted); padding: 4px 2px 0; }

.wires { display: grid; grid-template-rows: auto repeat(4, 1fr) auto; gap: 12px; }
.wires::before { content: ""; height: 20px; }
.wires.out::after { content: ""; height: 0; }
.wire { position: relative; align-self: center; height: 2px; background: repeating-linear-gradient(90deg, #CFC7B5 0 6px, transparent 6px 11px); overflow: hidden; }
.wire i {
  position: absolute; inset: 0; display: block;
  animation: flow 2.6s linear infinite;
}
.wire i::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 3px rgba(227, 167, 62, .2);
}
.wires.out .wire i::after { background: var(--teal); box-shadow: 0 0 0 3px rgba(53, 194, 176, .2); }
.wire:nth-child(2) i { animation-delay: -.65s; }
.wire:nth-child(3) i { animation-delay: -1.3s; }
.wire:nth-child(4) i { animation-delay: -1.95s; }
.wires.out .wire i { animation-delay: -1.1s; }
.wires.out .wire:nth-child(2) i { animation-delay: -.2s; }
.wires.out .wire:nth-child(3) i { animation-delay: -1.6s; }
.wires.out .wire:nth-child(4) i { animation-delay: -.8s; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(8px); } }

/* ---------- As-of interactive ---------- */
.asof { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.asof-chart, .readout {
  background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 18px;
}
.asof-chart { padding: 22px 22px 18px; }
.asof-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--ink-muted); margin-bottom: 10px; }
.asof-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { display: inline-block; width: 18px; height: 3px; border-radius: 2px; }
.sw-line { background: var(--teal); }
.sw-ghost { background: repeating-linear-gradient(90deg, var(--warn) 0 4px, transparent 4px 7px); }
.sw-cfg { height: 8px; background: rgba(227, 167, 62, .5); }
#asof-svg { width: 100%; height: auto; overflow: visible; }
#asof-svg text { font-family: var(--mono); font-size: 12px; fill: #8590A8; }
#asof-svg .ax { stroke: #243052; stroke-width: 1; }
#asof-svg .grid { stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
#asof-svg .line { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
#asof-svg .pt { fill: var(--ink-2); stroke: var(--teal); stroke-width: 2; }
#asof-svg .pt-fix { fill: var(--warn); stroke: var(--warn); }
#asof-svg .ghost { fill: none; stroke: var(--warn); stroke-width: 1.6; stroke-dasharray: 3 3; }
#asof-svg .ghost-pt { fill: var(--ink-2); stroke: var(--warn); stroke-width: 1.6; stroke-dasharray: 2 2; }
#asof-svg .val-col { fill: rgba(227, 167, 62, .08); }
#asof-svg .val-lbl { fill: var(--amber); }
#asof-svg .known { stroke: var(--ink-text); stroke-width: 1; stroke-dasharray: 2 4; opacity: .55; }
#asof-svg .known-lbl { fill: var(--ink-text); }
#asof-svg .future { fill: url(#hatch); }
#asof-svg .cfg { rx: 5; }
#asof-svg .cfg-v3 { fill: rgba(227, 167, 62, .32); stroke: rgba(227, 167, 62, .6); }
#asof-svg .cfg-v4 { fill: rgba(208, 139, 234, .28); stroke: rgba(208, 139, 234, .6); }
#asof-svg .cfg-txt { fill: var(--ink-text); font-size: 11.5px; }
#asof-svg .fade { transition: opacity .3s; }

.asof-control { margin-top: 10px; }
.asof-control label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-muted); margin-bottom: 8px; }
.asof-control output { color: var(--ink-text); font-size: 15px; }
.asof-ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: #6F7891; margin-top: 6px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal) var(--fill, 30%), var(--ink-line) var(--fill, 30%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--ink-line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--teal); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--ink-text); border: 4px solid var(--teal); box-shadow: 0 2px 10px rgba(0, 0, 0, .4); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink-text); border: 4px solid var(--teal); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.asof-side { display: grid; gap: 22px; }
.readout { padding: 22px; }
.readout-title { font-size: 12px; letter-spacing: .08em; color: var(--amber); margin-bottom: 14px; }
.readout dl { display: grid; gap: 10px; }
.readout dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(36, 48, 82, .7); }
.readout dt { font-size: 14px; color: var(--ink-muted); }
.readout dd { font-size: 14.5px; color: var(--ink-text); text-align: right; transition: color .3s; }
.readout dd.changed { color: var(--warn); }
.readout-note { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-text); min-height: 42px; }
.uses { display: grid; gap: 14px; }
.uses li { font-size: 15.5px; line-height: 1.6; color: var(--ink-muted); padding-left: 18px; border-left: 2px solid var(--ink-line); }
.uses b { color: var(--ink-text); }

.callout {
  margin-top: 36px; padding: 26px 30px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(227, 167, 62, .1), rgba(227, 167, 62, .03));
  border: 1px solid rgba(227, 167, 62, .26);
}
.callout p { font-size: 17px; line-height: 1.65; color: #D8DCE6; max-width: 900px; }
.callout b { color: var(--ink-text); }
.callout .fine { margin-top: 10px; font-size: 13px; color: var(--ink-muted); }
.callout-fine { margin-top: 24px; font-size: 13px; color: var(--ink-muted); }
.callout-light { padding: 20px 22px; border-radius: 14px; background: #EAF4F2; border: 1px solid #C9E3DE; }
.callout-light p { font-size: 15.5px; color: #2E4A46; line-height: 1.6; }
.callout-light b { color: var(--teal-deep); }
.quote { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; padding-left: 22px; border-left: 3px solid var(--amber); max-width: 760px; }

/* ---------- Desk cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(10, 15, 30, .05), 0 18px 40px rgba(10, 15, 30, .09); border-color: #D6CEBB; }
.card-i { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--ink); color: var(--amber); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Data quality ---------- */
.dq { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.queue {
  background: var(--ink); color: var(--ink-text); border-radius: 18px; padding: 20px;
  box-shadow: 0 2px 6px rgba(10, 15, 30, .15), 0 24px 60px rgba(10, 15, 30, .2);
}
.queue-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; letter-spacing: .06em; color: var(--ink-muted); padding: 2px 4px 14px; border-bottom: 1px solid var(--ink-line); }
.queue-count { font-family: var(--mono); color: var(--ink-text); letter-spacing: 0; }
.queue-count b { color: var(--warn); font-weight: 500; }
.queue-list { display: grid; gap: 8px; margin-top: 14px; }
.q-item {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center;
  background: var(--ink-3); border: 1px solid var(--ink-line); border-radius: var(--r-sm); padding: 12px 14px;
  opacity: 0; transform: translateX(-10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.q-item.on { opacity: 1; transform: none; }
.q-kind { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-radius: 6px; text-align: center; }
.q-kind.warn { color: var(--warn); background: rgba(238, 148, 64, .12); }
.q-kind.bad { color: var(--bad); background: rgba(232, 100, 93, .12); }
.q-what { font-size: 14.5px; line-height: 1.35; display: flex; flex-direction: column; min-width: 0; }
.q-what small { font-size: 12.5px; color: var(--ink-muted); }
.q-state { font: 500 11.5px/1 var(--mono); color: var(--ink-muted); }
.queue-foot { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6F7891; text-align: right; margin-top: 14px; }

.dq-side { display: grid; gap: 22px; }
.evidence { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.ev-title { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
.ev-value { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 500; }
.ev-value b { font-size: 22px; font-weight: 500; }
.ev-list { display: grid; gap: 10px; margin-top: 14px; }
.ev-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 14px; }
.ev-list li span:first-child { color: var(--muted); }
.ev-list li span:last-child { font-size: 13px; }
.modes { display: grid; gap: 14px; counter-reset: m; }
.modes li { position: relative; padding: 18px 20px 18px 62px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-size: 15.5px; color: var(--muted); counter-increment: m; }
.modes li b { color: var(--text); }
.modes li::before {
  content: counter(m); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font: 500 13px/1 var(--mono);
  background: var(--ink); color: var(--amber);
}

/* ---------- Surfaces ---------- */
.surfaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.surface { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.surface .i { width: 22px; height: 22px; color: var(--teal-deep); margin-top: 3px; }
.surface h3 { font-size: 16.5px; margin-bottom: 4px; }
.surface p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- AI ---------- */
.ai-flow {
  position: relative;
  display: grid; grid-template-columns: 1.3fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch;
  padding: 28px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--ink-line);
}
.ai-step {
  border-radius: 12px; padding: 16px; background: var(--ink-3); border: 1px solid var(--ink-line);
  animation: aipulse 8s var(--ease) infinite;
}
.ai-step p { font-size: 14px; line-height: 1.5; color: var(--ink-muted); margin-top: 8px; }
.ai-step.s1 p { color: var(--ink-text); }
.ai-k { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.ai-step.s2 { animation-delay: 2s; }
.ai-step.s3 { animation-delay: 4s; }
.ai-step.s4 { animation-delay: 6s; }
@keyframes aipulse {
  0%, 30%, 100% { border-color: var(--ink-line); box-shadow: none; }
  6%, 22% { border-color: rgba(53, 194, 176, .7); box-shadow: 0 0 0 4px rgba(53, 194, 176, .12); }
}
.ai-flow.chain { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; }
.ai-arrow { width: 20px; height: 20px; align-self: center; fill: none; stroke: #5C6784; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-block {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 6px;
  font-size: 13.5px; color: #F2A9A5;
}
.ai-block::before { content: ""; flex: 0 0 40px; height: 0; border-top: 2px dashed var(--bad); }
.ai-block::after { content: "×"; font: 600 18px/1 var(--sans); color: var(--bad); }
.ai-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.ai-cols h3 { color: var(--ink-text); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.ai-cols h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.ai-cols p { color: var(--ink-muted); font-size: 15.5px; }
.ai-cols.light-cols h3 { color: var(--text); }
.ai-cols.light-cols p { color: var(--muted); }
.cards.four, .ai-cols.four { grid-template-columns: repeat(4, 1fr); }.sec-head.after { margin-top: 88px; }

/* ---------- Banks ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.cmp-col { padding: 30px 32px; }
.cmp-old { background: var(--paper); }
.cmp-new { background: var(--ink); color: var(--ink-text); }
.cmp-title { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted); }
.cmp-new .cmp-title { color: var(--teal); }
.cmp-col li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.cmp-new li { border-top-color: var(--ink-line); }
.cmp-col li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 2px; background: #B5AD9A; }
.cmp-new li::before { width: 12px; height: 7px; top: 16px; border: solid var(--teal); border-width: 0 0 2px 2px; background: none; transform: rotate(-45deg); }
.cmp-old li { color: var(--muted); }
.fine-wide { margin-top: 26px; font-size: 15.5px; color: var(--muted); max-width: 820px; }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.t-item .i { width: 26px; height: 26px; color: var(--amber-deep); margin-bottom: 14px; }
.t-item h3 { margin-bottom: 6px; }
.t-item p { color: var(--muted); font-size: 15.5px; }
.start { margin-top: 64px; padding: 30px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.start-title { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 22px; }
.start ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.start li { display: flex; gap: 14px; }
.start li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-size: 14px; }
.start li b { display: block; margin-bottom: 4px; }
.start li p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- Company ---------- */
.company { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.story p { color: var(--muted); font-size: 17.5px; line-height: 1.75; }
.dark .story p { color: #C3C9D7; }
.story p + p { margin-top: 18px; }
.story .story-close { font-family: var(--serif); font-size: 23px; line-height: 1.45; color: var(--text); padding-left: 20px; border-left: 3px solid var(--amber); margin-top: 26px; }
.dark .story .story-close { color: var(--ink-text); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--amber); color: var(--ink); padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 90% 0%, rgba(255, 255, 255, .28), transparent 60%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta-inner p { margin-top: 12px; font-size: 17.5px; max-width: 640px; color: #3A2A0B; }
.cta-inner .btn { flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--ink-muted); padding: 44px 0; }
.foot-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.foot-links a { text-decoration: none; font-size: 14px; transition: color .2s; }
.foot-links a:hover { color: var(--ink-text); }
.foot-copy { width: 100%; font-size: 13px; color: #6F7891; padding-top: 22px; border-top: 1px solid var(--ink-line); }
.foot-copy a { margin-left: 18px; text-decoration: none; transition: color .2s; }
.foot-copy a:hover { color: var(--ink-text); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 148px 0 92px; overflow: hidden; position: relative; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.06; max-width: 880px; }
.page-hero .lede { max-width: 720px; }
.page-hero .kicker { color: var(--amber); }
.page-hero.has-visual { padding-bottom: 110px; }

/* ---------- Privacy notice ---------- */
.legal { max-width: 720px; }
.legal h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.01em; margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 17px; line-height: 1.75; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 14px; }
.legal ul { display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.legal b { color: var(--text); }
.legal a { color: var(--teal-deep); }

/* ---------- Home: pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(10, 15, 30, .05), 0 22px 46px rgba(10, 15, 30, .1); border-color: #D6CEBB; }
.pillar-art { height: 104px; border-radius: 10px; background: var(--ink); margin-bottom: 20px; overflow: hidden; position: relative; }
.pillar-art svg { width: 100%; height: 100%; }
.pillar-art text { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; fill: #8590A8; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15.5px; }
.pillar .more { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 15px; color: var(--teal-deep); display: inline-flex; align-items: center; gap: 6px; }
.pillar .more .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.pillar:hover .more .i { transform: translateX(4px); }
.art-line { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.art-line.amber { stroke: var(--amber); }
.art-line.ghost { stroke: var(--warn); stroke-dasharray: 3 4; stroke-dashoffset: 0; opacity: 0; transition: opacity .6s .9s; }
.in .art-line { stroke-dashoffset: 0; }
.in .art-line.ghost { opacity: .8; }
.art-bar { fill: var(--teal); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.in .art-bar { transform: scaleY(1); }
.art-dot { fill: var(--amber); }
.art-pulse { animation: artpulse 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes artpulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.art-row { fill: #18213A; stroke: #243052; }
.art-ok { fill: var(--ok); }
.art-warn { fill: var(--warn); }

/* ---------- Home: desk strip + chips ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip li { padding: 28px 26px 30px 0; }
.strip li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.strip .num { display: block; font-size: 13px; color: var(--amber-deep); margin-bottom: 14px; }
.strip h3 { font-family: var(--serif); font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.strip p { color: var(--muted); font-size: 15.5px; }
.chips-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 48px; }
.chips-title { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.chip .i { width: 16px; height: 16px; color: var(--teal-deep); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal-deep); text-decoration: none; }
.text-link .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover .i { transform: translateX(4px); }
.dark .text-link { color: var(--teal); }

/* ---------- Home: teaser ---------- */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.teaser p:not(.kicker) { color: #C3C9D7; font-size: 18px; line-height: 1.7; margin-bottom: 20px; }

/* ---------- Propagation card (home hero) ---------- */
.prop-diff { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(10, 15, 30, .55); border: 1px solid rgba(36, 48, 82, .7); font-size: 14px; }
.prop-diff .mono { color: var(--ink-text); font-size: 13.5px; }
.prop-diff s { color: #6F7891; }
.prop-diff b { color: var(--teal); font-weight: 500; }
.prop-steps { display: grid; gap: 6px; margin-top: 14px; }
.prop-steps li {
  display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: baseline;
  padding: 11px 14px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 14.5px; color: var(--ink-muted); opacity: .32;
  transition: opacity .45s var(--ease), border-color .45s, background-color .45s;
}
.prop-steps li time { font-family: var(--mono); font-size: 12.5px; color: #6F7891; }
.prop-steps li b { color: var(--ink-text); font-weight: 600; }
.prop-steps li .mono { font-size: 13.5px; color: var(--ink-text); white-space: nowrap; }
.prop-steps li.on { opacity: 1; color: var(--ink-text); }
.prop-steps li.on time { color: var(--teal); }
.prop-steps li.cur { border-color: rgba(53, 194, 176, .5); background: rgba(53, 194, 176, .07); }
.prop-keep {
  display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 11px 14px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--amber); background: rgba(227, 167, 62, .08); border: 1px solid rgba(227, 167, 62, .28);
  opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.prop-keep .i { width: 16px; height: 16px; stroke-width: 2.4; }
.prop-keep.on { opacity: 1; transform: none; }

/* ---------- Live feed ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.split.flip { grid-template-columns: 1.1fr 1fr; }
.points { display: grid; gap: 22px; }
.points li { padding-left: 20px; border-left: 2px solid var(--line); }
.dark .points li { border-left-color: var(--ink-line); }
.points h3 { margin-bottom: 4px; }
.points p { color: var(--muted); font-size: 15.5px; }
.dark .points p { color: var(--ink-muted); }
.feed { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-2); }
.feed-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 14px; border-bottom: 1px solid var(--ink-line); font: 500 12.5px/1 var(--mono); letter-spacing: .06em; color: var(--ink-muted); }
.feed-live { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.feed-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(67, 194, 131, .18); animation: artpulse 1.6s var(--ease) infinite; }
.feed-list { display: grid; gap: 6px; margin-top: 12px; min-height: 330px; align-content: start; }
.feed-list li {
  display: grid; grid-template-columns: 96px 78px 1fr; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 8px; background: var(--ink-3); border: 1px solid transparent;
  font-size: 13.5px; color: var(--ink-text);
  animation: feedin .55s var(--ease);
}
.feed-list li:first-child { border-color: rgba(53, 194, 176, .45); }
.feed-list time { font: 400 12px/1 var(--mono); color: #6F7891; }
.feed-k { font: 500 11px/1 var(--mono); letter-spacing: .05em; padding: 5px 6px; border-radius: 5px; text-align: center; }
.k-price { color: var(--teal); background: rgba(53, 194, 176, .1); }
.k-curve { color: #8FA7F5; background: rgba(143, 167, 245, .12); }
.k-trade { color: var(--amber); background: rgba(227, 167, 62, .1); }
.k-pos { color: var(--ok); background: rgba(67, 194, 131, .1); }
.k-cfg { color: #D08BEA; background: rgba(208, 139, 234, .12); }
.feed-v { display: flex; justify-content: space-between; gap: 10px; min-width: 0; }
.feed-v span:last-child { font-family: var(--mono); font-size: 12.5px; color: var(--ink-muted); white-space: nowrap; }
@keyframes feedin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Structure tree ---------- */
.tree-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.tree-q { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 10px; background: var(--ink); color: var(--ink-text); font-size: 14px; margin-bottom: 18px; }
.tree-q .mono { font-size: 13px; color: var(--teal); }
.tree-a { color: var(--amber); font-family: var(--mono); font-size: 12.5px; opacity: 0; transition: opacity .4s; }
.tree-a.on { opacity: 1; }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree ul { padding-left: 30px; }
.tree li { position: relative; padding: 5px 0; }
.tree ul > li::before { content: ""; position: absolute; left: -18px; top: 0; bottom: 0; border-left: 2px solid #D3CBB8; }
.tree ul > li:last-child::before { bottom: auto; height: 28px; }
.tree ul > li::after { content: ""; position: absolute; left: -18px; top: 27px; width: 14px; border-top: 2px solid #D3CBB8; }
.tnode {
  display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line);
  font-size: 15px; font-weight: 500; transition: border-color .35s, background-color .35s, box-shadow .35s;
}
.tnode small { font: 400 12px/1.3 var(--mono); color: var(--muted); }
.tnode .to { font-weight: 400; color: var(--muted); font-size: 14px; }
.tnode.on { border-color: var(--teal-deep); background: #E6F4F1; box-shadow: 0 0 0 3px rgba(14, 116, 105, .12); }
.tnode-inner { padding: 2px 6px; border-radius: 6px; transition: background-color .35s, color .35s; }
.tnode-inner.on { background: var(--teal-deep); color: #fff; }

/* ---------- Bars (risk) ---------- */
.risk-card { background: var(--ink); color: var(--ink-text); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-2); }
.risk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--ink-line); font: 500 12.5px/1.3 var(--mono); letter-spacing: .05em; color: var(--ink-muted); }
.risk-head b { color: var(--ink-text); font-weight: 500; font-size: 15px; letter-spacing: 0; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 200px; margin-top: 18px; }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.bar-v { font: 400 11px/1 var(--mono); color: var(--ink-muted); opacity: 0; transition: opacity .5s calc(var(--i) * 80ms + .6s); }
.bar { width: 100%; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--teal), rgba(53, 194, 176, .55)); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease) calc(var(--i) * 80ms); }
.bar.peak { background: linear-gradient(180deg, var(--amber), rgba(227, 167, 62, .55)); }
.in .bar { transform: scaleY(1); }
.in .bar-v { opacity: 1; }
.bar-x { display: flex; gap: 8px; margin-top: 8px; border-top: 1px solid var(--ink-line); padding-top: 8px; }
.bar-x span { flex: 1; text-align: center; font: 400 11.5px/1 var(--mono); color: var(--ink-muted); }
.risk-foot { margin-top: 14px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6F7891; text-align: right; }

/* ---------- Layers ---------- */
.layers { display: grid; gap: 12px; }
.layer { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.layer h3 { margin-bottom: 2px; }
.layer p { color: var(--muted); font-size: 15px; }
.layer-ctl { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.tog { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #D3CBB8; transition: background-color .4s var(--ease) var(--d, 0s); flex: none; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .4s var(--ease) var(--d, 0s); }
.tog.on, .in .tog.flip { background: var(--teal-deep); }
.tog.on::after, .in .tog.flip::after { transform: translateX(20px); }

/* ---------- Next-page band ---------- */
.next-band { background: var(--white); border-top: 1px solid var(--line); }
.next-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 30px; padding-bottom: 30px; }
.next-inner span { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.next-inner a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; color: var(--text); }
.next-inner a .i { width: 22px; height: 22px; color: var(--teal-deep); transition: transform .2s var(--ease); }
.next-inner a:hover .i { transform: translateX(5px); }

/* ---------- Numbered list (adoption, bank claims) ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; counter-reset: st; }
.steps li { position: relative; padding: 62px 22px 24px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); counter-increment: st; }
.steps li::before { content: counter(st); position: absolute; left: 22px; top: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 500 13px/1 var(--mono); background: var(--ink); color: var(--amber); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* ---------- Nav drop-down ---------- */
.nav-group { position: relative; display: flex; align-items: center; }
.nav-parent { display: inline-flex; align-items: center; gap: 6px; }
.nav-parent::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.nav-links .nav-parent.is-active { color: var(--ink-text); }
.nav-menu {
  position: absolute; top: 100%; left: -18px; min-width: 280px; padding: 18px 0 0;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.nav-menu-inner { background: #111830; border: 1px solid var(--ink-line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow-2); display: grid; }
.nav-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 9px; color: var(--ink-text) !important; font-size: 14.5px; }
.nav-menu a small { font-size: 12.5px; font-weight: 400; color: var(--ink-muted); }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: rgba(255, 255, 255, .05); }
.nav-menu a[aria-current="page"]::after { display: none; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Footer columns ---------- */
.foot-inner.cols { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 32px; align-items: start; }
.foot-brand p { margin-top: 14px; font-size: 14px; color: var(--ink-muted); max-width: 240px; }
.foot-col { display: grid; gap: 10px; }
.foot-h { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-text); margin-bottom: 4px; }
.foot-col a { text-decoration: none; font-size: 14px; color: var(--ink-muted); transition: color .2s; }
.foot-col a:hover { color: var(--ink-text); }
.foot-inner.cols .foot-copy { grid-column: 1 / -1; }

/* ---------- Graph card (home hero) ---------- */
.gtree { display: grid; gap: 8px; margin-top: 16px; }
.gnode {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center;
  padding: 11px 14px; border-radius: var(--r-sm); background: rgba(10, 15, 30, .55); border: 1px solid rgba(36, 48, 82, .8);
  opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .45s;
}
.gnode.on { opacity: 1; transform: none; }
.gnode.cur { border-color: rgba(53, 194, 176, .55); }
.gnode.l1 { margin-left: 26px; }
.gnode.l2 { margin-left: 52px; }
.gnode.l3 { margin-left: 78px; }
.gnode.l4 { margin-left: 104px; }
.gnode.l1::before, .gnode.l2::before, .gnode.l3::before, .gnode.l4::before { content: ""; position: absolute; left: -16px; top: -10px; width: 12px; height: 32px; border: solid #2C3A60; border-width: 0 0 2px 2px; border-bottom-left-radius: 6px; }
/* trunk: carries the swap's line down past the return leg's branch to the funding leg */
.gnode.trunk::after { content: ""; position: absolute; top: -10px; bottom: 0; border-left: 2px solid #2C3A60; }
.gnode.l1.trunk::after { left: -16px; top: 0; }
.gnode.l2.trunk::after { left: -42px; }
.gnode.l3.trunk::after { left: -68px; }
.gnode.l4.trunk::after { left: -94px; }
.gcard[data-step="1"] .gnode.trunk::after { display: none; }
.gname { font-size: 14.5px; color: var(--ink-text); }
.gtype { font: 500 11px/1 var(--mono); color: var(--teal); background: rgba(53, 194, 176, .1); padding: 5px 7px; border-radius: 5px; justify-self: end; }
.gfield { grid-column: 1 / -1; font-size: 13px; color: var(--ink-muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gfield .mono { color: var(--ink-text); font-size: 13px; }
.cr-arrow, .cr-new { display: none; }
.cr-new { color: var(--warn); }
.gcard[data-step="3"] .cr-old { text-decoration: line-through; color: #6F7891; }
.gcard[data-step="3"] .cr-arrow, .gcard[data-step="3"] .cr-new { display: inline; }
.gcard[data-step="3"] .gnode.l3 { border-color: rgba(238, 148, 64, .55); }
.known-b { display: none; }
.gcard[data-step="3"] .known-a { display: none; }
.gcard[data-step="3"] .known-b { display: inline; }
.gnote { margin-top: 10px; padding: 10px 14px; border-radius: var(--r-sm); font-size: 13.5px; min-height: 42px; opacity: 0; transition: opacity .4s; }
.gnote span { display: none; }
.gcard[data-step="3"] .gnote, .gcard[data-step="4"] .gnote { opacity: 1; }
.gcard[data-step="3"] .gnote { background: rgba(238, 148, 64, .09); border: 1px solid rgba(238, 148, 64, .3); color: #F1C9A2; }
.gcard[data-step="4"] .gnote { background: rgba(67, 194, 131, .08); border: 1px solid rgba(67, 194, 131, .3); color: #A9E5C6; }
.gcard[data-step="3"] .gnote .n3, .gcard[data-step="4"] .gnote .n4 { display: inline; }

/* ---------- Typed record vs key-value ---------- */
.typed { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rec { border-radius: 16px; padding: 20px; }
.rec-typed { background: var(--ink); color: var(--ink-text); box-shadow: var(--shadow-2); }
.rec-kv { background: var(--white); border: 1px solid var(--line); }
.rec-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--ink-line); font: 500 12px/1.3 var(--mono); letter-spacing: .06em; color: var(--ink-muted); }
.rec-kv .rec-title { border-bottom-color: var(--line); color: var(--muted); }
.rec-title b { font-weight: 500; color: var(--teal); }
.rec-kv .rec-title b { color: var(--muted); }
.rec-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid rgba(36, 48, 82, .6); }
.rec-kv .rec-row { grid-template-columns: 60px 1fr 1fr; border-bottom-color: var(--line-soft); color: var(--muted); font-family: var(--mono); font-size: 12.5px; }
.rec-row:last-child { border-bottom: 0; }
.rec-row .k { color: var(--ink-muted); }
.rec-row .v { color: var(--ink-text); }
.rec-row .v.link { color: var(--teal); }
.rec-row .v .mono { font-size: 13px; }

/* ---------- Category grid (solutions) ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); scroll-margin-top: 90px; }
.cat .i { width: 24px; height: 24px; color: var(--teal-deep); margin-bottom: 6px; }
.cat h3 { font-size: 17.5px; }
.cat p { color: var(--muted); font-size: 15px; }
.cat ul { display: grid; gap: 4px; margin-top: 4px; }
.cat li { font-size: 14px; color: var(--muted); padding-left: 16px; position: relative; }
.cat li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 2px; background: var(--amber-deep); }
.cat .text-link { margin-top: auto; padding-top: 8px; font-size: 14.5px; }
.cat-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-list a { text-decoration: none; }
.cat-list .chip:hover { border-color: #CFC7B5; }

/* ---------- Audience tiles ---------- */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud a { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r); text-decoration: none; color: var(--ink-text); background: var(--ink-2); border: 1px solid var(--ink-line); transition: transform .25s var(--ease), border-color .25s; }
.aud a:hover { transform: translateY(-3px); border-color: #3A4A78; }
.aud h3 { font-size: 20px; font-family: var(--serif); font-weight: 600; }
.aud p { color: var(--ink-muted); font-size: 15px; }
.aud .text-link { margin-top: auto; }
.seg { scroll-margin-top: 80px; }
.seg + .seg { border-top: 1px solid var(--line); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav-links { gap: 20px; }
  .flow { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.25fr) 44px minmax(0, 1fr); padding: 24px; }
  .ai-flow, .ai-flow.chain { grid-template-columns: 1fr 1fr; }
  .ai-arrow { display: none; }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: grid; place-items: center; gap: 6px; margin-left: auto;
    width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-text); border-radius: 2px; transition: transform .25s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-toggle { grid-auto-flow: row; align-content: center; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--ink-line); box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
    padding: 8px var(--gutter) 22px;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-links a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: var(--ink-text); }
  .nav-links .nav-cta-mobile { display: inline-flex; justify-content: center; margin-top: 18px; border: 0; color: var(--ink); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open { background: var(--ink); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--amber); }
  .nav-links { max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav-group { display: block; }
  .nav-parent::after { display: none; }
  .nav-parent { pointer-events: none; color: var(--ink-muted) !important; font: 500 12px/1 var(--mono) !important; letter-spacing: .08em; text-transform: uppercase; padding-top: 18px !important; border-bottom: 0 !important; }
  .nav-menu { position: static; opacity: 1; transform: none; pointer-events: auto; padding: 0; min-width: 0; }
  .nav-menu-inner { background: none; border: 0; box-shadow: none; padding: 0; }
  .nav-menu a { padding: 12px 0 12px 14px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav-menu a small { display: none; }
  .nav-menu a:hover, .nav-menu a[aria-current="page"] { background: none; }
  .nav-menu a[aria-current="page"] { color: var(--amber) !important; }
}

@media (max-width: 920px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .sec { padding: 88px 0; }
  .sec-head { margin-bottom: 40px; }
  .page-hero { padding: 124px 0 72px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip li, .strip li + li { padding: 24px 22px 26px 0; border-left: 0; }
  .strip li:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .teaser, .split, .split.flip { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: 1fr 1fr; }
  .aud, .typed { grid-template-columns: 1fr; }
  .foot-inner.cols { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  .hero { padding: 120px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .lede { font-size: 18px; }

  .cost-grid { grid-template-columns: 1fr 1fr; }
  .cost-grid li, .cost-grid li:not(:nth-child(3n+1)) { padding: 24px 22px 26px 0; border-left: 0; }
  .cost-grid li:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }

  .flow { grid-template-columns: 1fr; padding: 20px; gap: 0; }
  .flow-col, .hub { grid-template-rows: none; }
  .wires { display: flex; justify-content: center; height: 44px; gap: 0; }
  .wires::before, .wires.out::after { display: none; }
  .wires .wire { display: none; }
  .wires .wire:first-child {
    display: block; width: 2px; height: 100%; align-self: stretch;
    background: repeating-linear-gradient(180deg, #CFC7B5 0 6px, transparent 6px 11px);
  }
  .wires .wire:first-child i { animation-name: flowY; }
  .wires .wire:first-child i::after { top: auto; bottom: 0; right: -3px; }
  .node, .hub-cell { min-height: 0; }

  .asof, .dq, .company { grid-template-columns: 1fr; }
  .company { gap: 28px; }
  .cards, .surfaces, .trust, .ai-cols, .cards.four, .ai-cols.four { grid-template-columns: 1fr 1fr; }
  .start ol { grid-template-columns: 1fr; gap: 20px; }
  .compare { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
}
@keyframes flowY { from { transform: translateY(-100%); } to { transform: translateY(8px); } }

@media (max-width: 600px) {
  .sec { padding: 72px 0; }
  .hero h1 { font-size: 40px; }
  .sec-lede { font-size: 17px; }
  .cost-grid { grid-template-columns: 1fr; }
  .cost-grid li, .cost-grid li:nth-child(2n) { padding: 22px 0; border-left: 0; }
  .cards, .surfaces, .trust, .ai-cols, .cards.four, .ai-cols.four, .ai-flow, .ai-flow.chain { grid-template-columns: 1fr; }
  .replay { padding: 16px; }
  .replay-foot { grid-template-columns: 1fr auto; }
  .replay-dots { grid-column: 1 / -1; }
  .q-item { grid-template-columns: 1fr auto; }
  .q-kind { justify-self: start; grid-column: 1 / -1; }
  .ev-list li { grid-template-columns: 1fr; gap: 2px; }
  .readout dl div { flex-direction: column; gap: 2px; }
  .readout dd { text-align: left; }
  .cmp-col { padding: 24px 22px; }
  .start { padding: 22px; }
  .foot-links { margin-left: 0; }
  .pillars, .strip, .steps, .cats { grid-template-columns: 1fr; }
  .gnode.l1 { margin-left: 14px; }
  .gnode.l2 { margin-left: 28px; }
  .gnode.l3 { margin-left: 42px; }
  .gnode.l4 { margin-left: 56px; }
  .gnode.l1::before, .gnode.l2::before, .gnode.l3::before, .gnode.l4::before { left: -10px; width: 7px; }
  .gnode.l1.trunk::after { left: -10px; }
  .gnode.l2.trunk::after { left: -24px; }
  .gnode.l3.trunk::after { left: -38px; }
  .gnode.l4.trunk::after { left: -52px; }
  .rec-row { grid-template-columns: 1fr; gap: 2px; }
  .rec-kv .rec-row { grid-template-columns: 44px 1fr 1fr; }
  .strip li, .strip li + li, .strip li:nth-child(2n) { padding: 22px 0; border-left: 0; }
  .strip li + li { border-top: 1px solid var(--line); }
  .prop-steps li { grid-template-columns: 1fr; gap: 2px; }
  .prop-steps li .mono { white-space: normal; }
  .feed-list li { grid-template-columns: 70px 1fr; }
  .feed-list time { grid-column: 1 / -1; }
  .feed-v { flex-direction: column; gap: 2px; }
  .bars, .bar-x { gap: 4px; }
  .bar-v { font-size: 9.5px; }
  .layer { grid-template-columns: 1fr; gap: 12px; }
  .next-inner { flex-direction: column; align-items: flex-start; }
  .next-inner a { font-size: 22px; }
  .tree ul { padding-left: 22px; }
  .tree ul > li::before, .tree ul > li::after { left: -14px; }
  .tree ul > li::after { width: 10px; }
}

/* ---------- Demo request dialog ---------- */
html:has(dialog.demo[open]) { overflow: hidden; }
dialog.demo {
  padding: 0; border: 0; border-radius: var(--r);
  width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--white); color: var(--text); box-shadow: var(--shadow-2);
}
dialog.demo[open] { animation: demoIn .28s var(--ease); }
dialog.demo::backdrop { background: rgba(10, 15, 30, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes demoIn { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.demo-panel { position: relative; padding: 34px 36px 30px; }
.demo-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: transparent; color: var(--muted); cursor: pointer;
}
.demo-close:hover { background: var(--paper); color: var(--text); }
.demo-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.demo-k { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-deep); }
.demo h2 { font: 600 28px/1.2 var(--serif); letter-spacing: -.01em; margin: 10px 0 8px; padding-right: 32px; }
.demo-lede { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin-bottom: 22px; }
.demo form { display: grid; gap: 14px; }
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo label { display: grid; gap: 6px; }
.demo label > span { font-size: 13.5px; font-weight: 600; color: var(--text); }
.demo label em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 4px; }
.demo input, .demo select, .demo textarea {
  width: 100%; font: 400 15px/1.4 var(--sans); color: var(--text); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 12px;
  transition: border-color .2s, box-shadow .2s;
}
.demo textarea { resize: vertical; min-height: 96px; }
.demo input:focus, .demo select:focus, .demo textarea:focus {
  outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(53, 194, 176, .2);
}
.demo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.demo-actions .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.demo-note { font-size: 13px; color: var(--muted); }
.demo-msg { font-size: 14px; color: var(--bad-deep); }
.demo-msg:empty { display: none; }
.demo-check {
  width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(67, 194, 131, .14);
  fill: none; stroke: var(--ok-deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.demo-done .btn { margin-top: 4px; }
@media (max-width: 600px) {
  .demo-panel { padding: 28px 20px 22px; }
  .demo-row { grid-template-columns: 1fr; }
  .demo h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .q-item { opacity: 1; transform: none; }
  .wire i { display: none; }
  .bar, .art-bar { transform: none; }
  .bar-v { opacity: 1; }
  .art-line { stroke-dashoffset: 0; }
  .art-line.ghost { opacity: .8; }
  .tog.flip { background: var(--teal-deep); }
  .tog.flip::after { transform: translateX(20px); }
}
