/* ==========================================================================
   TradeBayes website
   css/styles.css

   Light, editorial system in the manner of Ondo: white pages with black type,
   full-bleed black bands for the hero and key statements, borderless light-grey
   rounded cards, Bricolage Grotesque headlines with tight tracking over Instrument Sans body
   text, small 8 px-radius buttons, and a
   lot of air. Product screens (.ui) and thesis visuals (.viz) stay dark and
   sit inside cards like images. Every duration is multiplied by --motion,
   which is 0 under reduced motion.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Metric-matched fallback so line breaks do not shift when the webfont arrives
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Bricolage Fallback';
  src: local('Helvetica Neue'), local('Arial');
  size-adjust: 102%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Instrument Sans Fallback';
  src: local('Helvetica Neue'), local('Arial');
  size-adjust: 99%;
  ascent-override: 93%;
  descent-override: 23%;
  line-gap-override: 0%;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* color: warm near-black ink on a warm bone page, soft warm-grey cards, oxblood #4C0013 as the dark tone and accent (founder's choice, 2026-10-01) */
  --page: #F6F4F3;
  --bg: #F6F4F3;
  --bg-2: #ECE7E7;
  --surface: #F0ECEB;
  --surface-2: #E1D9DA;
  --text: #1B1216;
  --text-2: #4A3A40;
  --muted: #7A6A70;
  --hair: rgba(27, 18, 22, 0.10);
  --hair-2: rgba(27, 18, 22, 0.16);
  --hair-3: rgba(27, 18, 22, 0.30);
  --accent: #6E1A33;              /* oxblood, lighter: links, focus, marks */
  --accent-hi: #4C0013;
  --accent-fill: #4C0013;         /* primary button: oxblood */
  --accent-fill-hi: #5E0A22;
  --accent-soft: rgba(76, 0, 19, 0.08);
  --on-accent: #FFFFFF;
  --line: #7A2C44;
  --plate-bg: var(--bg-2);
  --plate-text: var(--text);
  --plate-rule: var(--hair-2);
  --plate-soft: var(--muted);
  /* the palette inside dark screens and visuals */
  --violet: #8B7CF6;
  --teal: #2BB8A6;
  --mint: #3DD68C;
  --amber: #F2B84B;
  --rose: #F0637A;

  /* type: one family */
  --font-display: 'Bricolage Grotesque', 'Bricolage Fallback', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Instrument Sans', 'Instrument Sans Fallback', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: var(--font-body);   /* no monospace on the site */

  --t-h1: clamp(44px, 6.4vw, 96px);
  --t-h2: clamp(36px, 4.6vw, 66px);
  --t-h3: clamp(24px, 2.5vw, 36px);
  --t-h4: clamp(19px, 1.6vw, 24px);
  --t-quote: clamp(22px, 2.4vw, 30px);
  --t-deck: clamp(17px, 1.4vw, 20px);
  --t-body: 15px;
  --t-small: 13px;
  --t-mono: 13px;
  --t-mono-label: 13px;
  --t-mono-fig: 13px;
  --t-wordmark: 20px;
  --t-formula: clamp(24px, 2.4vw, 32px);

  /* layout */
  --w-page: 1425px;
  --w-prose: 64ch;
  --w-deck: 52ch;
  --gutter: 24px;
  --pad: 20px;
  --nav-h: 64px;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* spacing (base 8) */
  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;  --s-5: 24px;
  --s-6: 32px; --s-7: 48px;  --s-8: 64px;  --s-9: 96px;  --s-10: 128px; --s-11: 192px;
  --section-pad: var(--s-9);

  /* motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --d-micro: 120ms;
  --d-micro-2: 160ms;
  --d-rule: 500ms;
  --d-reveal: 700ms;
  --d-digits: 240ms;
  --motion: 1;
}
@media (min-width: 768px) {
  :root { --pad: 32px; }
}
@media (min-width: 960px) {
  :root { --section-pad: var(--s-10); }
}
@media (min-width: 1200px) {
  :root { --pad: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --motion: 0; }
}
/* the dark set: oxblood bands and dark cards; product screens and visuals keep charcoal below */
.dark, .band, .box-quiet, .nav.is-condensed, .ui, .viz {
  --bg: #4C0013;
  --bg-2: #5E0A22;
  --surface: #6B1430;
  --surface-2: #7A1C3A;
  --text: #FBF5F5;
  --text-2: #EDD9DD;
  --muted: #C9A6AE;
  --hair: rgba(255, 255, 255, 0.14);
  --hair-2: rgba(255, 255, 255, 0.22);
  --hair-3: rgba(255, 255, 255, 0.40);
  --accent: #F5C9BE;
  --accent-hi: #FBE0D8;
  --accent-fill: #FFFFFF;
  --accent-fill-hi: #F3E6E6;
  --accent-soft: rgba(255, 255, 255, 0.10);
  --on-accent: #4C0013;
  --line: #E8C6CC;
  color: var(--text);
  color-scheme: dark;
}
/* screens and visuals keep a charcoal cast so they read as product, not as page chrome */
.ui, .viz {
  --bg: #0F1217;
  --bg-2: #161B22;
  --surface: #1C222B;
  --surface-2: #242B36;
  --text: #EDF1F7;
  --text-2: #D2DAE8;
  --muted: #98A6C0;
  --hair: rgba(255, 255, 255, 0.10);
  --hair-2: rgba(255, 255, 255, 0.20);
  --accent: #F5C9BE;
  --accent-fill: #6E1A33;
  --accent-fill-hi: #7E2440;
  --on-accent: #FBF5F5;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* no visible page scrollbar (founder, 2026-10-01); scrolling still works by wheel, touch, keys and trackpad */
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

html {
  background: var(--page);
  color: var(--text);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
  scroll-behavior: auto;
  color-scheme: light;
}
html.sheet-open { overflow: hidden; }

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--page);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.5;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-fill); color: var(--on-accent); }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: 'opsz' 96;
  margin: 0;
  font-weight: 500;
}
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
hr { border: 0; margin: 0; }

.mono, table, .ledger, .tick { font-variant-numeric: tabular-nums lining-nums; }
table, figure { font-variant-numeric: tabular-nums lining-nums; }
.mono { font-size: var(--t-mono); line-height: 1.4; font-weight: 400; }
.mono-label { font-size: var(--t-small); line-height: 1.4; font-weight: 500; color: var(--muted); }
.fig-caption { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.hint { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }

.small { font-size: var(--t-small); line-height: 1.55; }
.soft { color: var(--muted); }
.deck {
  font-size: var(--t-deck);
  line-height: 1.35;
  max-width: var(--w-deck);
  color: var(--text);
}
.prose p { max-width: var(--w-prose); }
.prose p + p { margin-top: 1em; }
.prose a, .small a, .privacy a {
  text-decoration: underline;
  text-decoration-color: var(--hair-3);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color calc(var(--d-micro) * var(--motion)) linear;
}
.prose a:hover, .small a:hover, .privacy a:hover { text-decoration-color: currentColor; }

.h1, .h2 { font-family: var(--font-display); font-weight: 500; }
.h1 { font-size: var(--t-h1); line-height: 0.98; letter-spacing: -0.03em; }
.h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.025em; }
.h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; }
.h4 { font-size: var(--t-h4); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.quote { font-family: var(--font-display); font-size: var(--t-quote); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; }

.line-mask { display: block; overflow: clip; }
.line-mask .line { display: block; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main[tabindex="-1"]:focus, section[tabindex="-1"]:focus { outline: none; }

.fig, .flashable { transition: color calc(300ms * var(--motion)) linear; }
.fig.flash, .flashable.flash { color: var(--accent); transition: none; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--w-page);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 0;
}
.grid > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 960px) {
  .col-1-5 { grid-column: 1 / span 5; }
  .col-1-6 { grid-column: 1 / span 6; }
  .col-1-7 { grid-column: 1 / span 7; }
  .col-1-8 { grid-column: 1 / span 8; }
  .col-1-9 { grid-column: 1 / span 9; }
  .col-6-12 { grid-column: 6 / span 7; }
  .col-7-12 { grid-column: 7 / span 6; }
  .col-8-12 { grid-column: 8 / span 5; }
  .col-9-12 { grid-column: 9 / span 4; }
}

.section { position: relative; padding-block: var(--section-pad); }
.section-head { margin-bottom: var(--s-7); }
.section-head .h2 { max-width: 20ch; }
.section-head .deck { margin-top: var(--s-5); }
@media (min-width: 960px) {
  .section-head.is-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
  .section-head.is-split > .head-main { grid-column: 1 / span 7; }
  .section-head.is-split > .deck { grid-column: 9 / span 4; margin-top: 0; }
}

/* a black band that runs the full width of the page */
.band {
  position: relative;
  background: var(--bg);
  color: var(--text);
  padding-block: clamp(80px, 10vw, 144px);
}
.band + .band { padding-top: 0; }

.rule { display: block; height: 1px; width: 100%; background: var(--hair); transform-origin: left center; margin: 0 0 var(--s-6); }
.rule-strong { background: var(--hair-2); }
.js .rule[data-draw] { transform: scaleX(0); }

/* --------------------------------------------------------------------------
   5. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: var(--bg-2);
  color: var(--text);
  transition: background-color calc(var(--d-micro-2) * var(--motion)) linear, color calc(var(--d-micro-2) * var(--motion)) linear, transform calc(var(--d-micro-2) * var(--motion)) var(--ease-out-expo);
}
.btn:hover, .btn:focus-visible { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-fill); color: var(--on-accent); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-fill-hi); color: var(--on-accent); }
.dark .btn, .band .btn, .box-quiet .btn { background: rgba(255, 255, 255, 0.14); color: #fff; }
.dark .btn:hover, .band .btn:hover, .box-quiet .btn:hover { background: rgba(255, 255, 255, 0.22); }
.dark .btn-primary, .band .btn-primary, .box-quiet .btn-primary, .nav.is-condensed .btn-primary { background: #fff; color: #4C0013; }
.dark .btn-primary:hover, .band .btn-primary:hover, .box-quiet .btn-primary:hover, .nav.is-condensed .btn-primary:hover { background: #F3E6E6; color: #4C0013; }
.btn[disabled], .btn[aria-busy="true"] { cursor: default; opacity: 0.6; transform: none; }

.textlink {
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  color: var(--text);
  font-weight: 500;
  transition: opacity calc(var(--d-micro) * var(--motion)) linear;
}
.textlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform calc(240ms * var(--motion)) var(--ease-out-expo); }
.textlink:hover::after, .textlink:focus-visible::after { transform: scaleX(1); }
.arrow { display: inline-block; transition: transform calc(var(--d-micro) * var(--motion)) linear; }
a:hover .arrow, a:focus-visible .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6. Skip link, nav, mobile menu
   -------------------------------------------------------------------------- */
.skip {
  position: fixed; top: calc(var(--nav-h) + 8px); left: var(--pad); z-index: 70;
  padding: 10px 14px; background: var(--bg); border: 1px solid var(--hair-2); border-radius: var(--radius);
  font-size: 13px; text-decoration: none; transform: translateY(-200%); opacity: 0;
}
.skip:focus-visible { transform: none; opacity: 1; outline-offset: 3px; }

.nav {
  position: sticky; top: 0; z-index: 60;
  height: calc(var(--nav-h) + 12px);
  padding-top: 12px;
  color: var(--text);
}
/* on the home page the hero slides under the floating bar, so it can fill the screen */
body:has(.hero-world) .nav { margin-bottom: calc(-1 * (var(--nav-h) + 12px)); }
/* the bar: at the top of the page it is transparent and spread across the full width; on scroll it fades
   to the oxblood pill, narrows to the centre and the links draw together (the founder's Ondo reference, 2026-10-01) */
.nav-row {
  height: var(--nav-h); display: flex; align-items: center; gap: var(--s-5);
  width: calc(100% - 2 * var(--pad)); max-width: none; margin-inline: auto; padding: 0 18px 0 22px;
  background: rgba(76, 0, 19, 0); border-radius: 999px; box-shadow: 0 10px 30px rgba(76, 0, 19, 0);
  transition: width 600ms var(--ease-out-expo), max-width 600ms var(--ease-out-expo), padding 600ms var(--ease-out-expo), background-color 420ms linear, box-shadow 420ms linear, color 320ms linear;
}
.nav.is-condensed .nav-row { background: rgba(76, 0, 19, 1); box-shadow: 0 10px 30px rgba(76, 0, 19, 0.18); }
.nav-list { transition: gap 600ms var(--ease-out-expo); }
@media (min-width: 900px) {
  .nav-row { width: calc(100% - 40px); padding: 0 8px 0 12px; }   /* spread state: the wordmark at the top left, the button at the far right */
  .nav-list { gap: clamp(28px, 3.4vw, 56px); }
  .nav.is-condensed .nav-row { width: 75%; max-width: 1180px; padding: 0 14px 0 28px; }
  .nav.is-condensed .nav-list { gap: clamp(14px, 1.8vw, 28px); }
}
@media (prefers-reduced-motion: reduce) { .nav-row, .nav-list { transition: none; } }
.wordmark {
  transition: color 320ms linear;
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: var(--t-wordmark); font-weight: 600; line-height: 1; letter-spacing: -0.02em;
  text-decoration: none; white-space: nowrap;
}
.wordmark::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.nav-links { display: none; flex: 1 1 auto; min-width: 0; justify-content: center; }
.nav-list { display: flex; gap: clamp(14px, 1.8vw, 28px); align-items: center; }
.nav-list a { position: relative; display: inline-block; padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; opacity: 0.86; transition: color 320ms linear, opacity calc(var(--d-micro) * var(--motion)) linear; }
.nav-list a:hover, .nav-list a:focus-visible, .nav-list a[aria-current] { opacity: 1; }
.nav-list a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: currentColor; }
.nav-right { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.6vw, 20px); min-width: 0; }
.nav-toggle { font-size: 14px; font-weight: 500; padding: 6px 0; color: var(--text); transition: color 320ms linear; }
.nav .btn { padding: 9px 13px; font-size: 14px; }
@media (max-width: 420px) { .nav .btn { padding: 8px 10px; font-size: 13px; } .nav-row { gap: var(--s-4); } }
@media (min-width: 768px) { .nav-links { display: flex; } .nav-toggle { display: none; } }

.index-sheet {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  padding: calc(var(--nav-h) + 12px + var(--s-6)) var(--pad) var(--s-6);
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  transform: translateY(-100%); transition: transform calc(320ms * var(--motion)) var(--ease-out-expo);
}
.index-sheet[hidden] { display: none; }
.index-sheet.is-open { transform: translateY(0); }
.sheet-list li { border-top: 1px solid var(--hair); }
.sheet-list li:last-child { border-bottom: 1px solid var(--hair); }
.sheet-list a { display: flex; align-items: baseline; gap: var(--s-5); padding: var(--s-4) 0; font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; text-decoration: none; }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); margin-top: var(--s-6); }
.sheet-close { font-size: 14px; font-weight: 500; padding: 6px 0; color: var(--text-2); }
.noscript { padding: var(--s-4) var(--pad); border-bottom: 1px solid var(--hair); color: var(--muted); }

/* --------------------------------------------------------------------------
   7. Hero: a full-bleed black band with the headline, like Ondo's opening
   -------------------------------------------------------------------------- */
.hero-band {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
}
.hero-band::before {
  content: ""; position: absolute; inset: auto -20% -30% -10%; height: 80%;
  background: radial-gradient(50% 60% at 70% 100%, rgba(43, 90, 166, 0.45), rgba(43, 90, 166, 0) 70%);
  pointer-events: none;
}
.hero-band .container { position: relative; }
.hero-band .h1 { max-width: 14ch; }
.hero-band .deck { margin-top: var(--s-6); max-width: 500px; color: var(--text-2); }
.hero-controls { margin-top: var(--s-7); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
.hero-controls .textlink { font-size: 14px; }
.hero-scroll { margin-top: clamp(48px, 10vh, 120px); font-size: 14px; color: var(--muted); }
/* the illustrative screen at the foot of the hero, cropped like a device */
.hero-shot { margin-top: clamp(40px, 6vw, 80px); max-width: 1100px; }
.hero-shot .ui { border-radius: 14px; }
.hero-shot .caption { margin-top: var(--s-4); font-size: var(--t-small); color: var(--muted); }

.wide { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: clamp(8px, 1.2vw, 20px); }

/* --------------------------------------------------------------------------
   8. Cards, grids, panels, splits, lists
   -------------------------------------------------------------------------- */
.section-title { margin-bottom: var(--s-6); max-width: 20ch; }
.section-intro { margin-bottom: var(--s-8); }
.section-intro .h2 { max-width: 18ch; }
.section-intro .deck { margin-top: var(--s-5); color: var(--text-2); }
.bento { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.box {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  background: var(--bg-2);
  border-radius: var(--radius-lg);
}
.box-quiet { background: var(--bg); }
.box > .h2, .box > .h3, .box > .h4 { max-width: 22ch; }
.box > p { margin-top: var(--s-4); color: var(--text-2); max-width: 48ch; }
.box > .deck { margin-top: var(--s-5); }
.box > .textlink, .box > .who-link { display: inline-block; align-self: flex-start; margin-top: auto; padding-top: var(--s-6); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text); }
.box .actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; margin-top: var(--s-6); }
.box .ui, .box .viz { margin-top: var(--s-6); }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
}
@media (min-width: 960px) {
  .bento { gap: var(--s-5); }
  .box-lead { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); align-items: start; }
  .box-lead > .h2 { grid-row: 1 / span 2; }
  .box-lead > p { margin-top: 0.5em; grid-column: 2; }
  .box-lead > p + p { margin-top: var(--s-4); }
}

/* panel: a large grey card holding centred copy and a product shot */
.panel {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 56px) 0;
  background: var(--bg-2);
  border-radius: var(--radius-xl);
  text-align: center;
}
.panel > .h2 { margin-inline: auto; max-width: 20ch; }
.panel > .deck { margin: var(--s-5) auto 0; color: var(--text-2); }
.panel > .actions { justify-content: center; margin-top: var(--s-6); }
.panel-shot { position: relative; margin: clamp(32px, 5vw, 64px) auto 0; max-width: 1080px; text-align: left; }
.panel-shot .ui { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.panel-shot::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(180deg, rgba(232, 237, 244, 0), var(--bg-2)); pointer-events: none; }
.panel .caption { margin: var(--s-4) 0 var(--s-5); font-size: var(--t-small); color: var(--muted); text-align: center; }
.panel.panel-open { padding-bottom: clamp(32px, 4vw, 56px); }
.panel.panel-open .panel-shot .ui { border-bottom: 1px solid var(--hair-2); border-radius: 14px; }
.panel.panel-open .panel-shot::after { display: none; }
.wide > .caption, .container > .caption { text-align: center; margin-top: var(--s-4); font-size: var(--t-small); color: var(--muted); }
.panel-hero { padding-top: clamp(56px, 8vw, 112px); }
/* thesis hero: an essay opener with three attributed figures */
.thesis-hero .panel-hero { padding-bottom: clamp(48px, 7vw, 96px); }
.thesis-hero .h1 { max-width: 20ch; }
.stat-strip { display: grid; grid-template-columns: 1fr; gap: var(--s-4); max-width: 1040px; margin: var(--s-8) auto 0; padding: 0; list-style: none; text-align: left; }
.stat-strip li { padding: var(--s-5) var(--s-5) var(--s-4); border-radius: var(--radius-lg); background: var(--bg); border-top: 4px solid #F0603C; }
.stat-strip li:nth-child(2) { border-top-color: #8B7CF6; }
.stat-strip li:nth-child(3) { border-top-color: #1FA874; }
.stat-strip b { display: block; font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat-strip span { display: block; margin-top: var(--s-3); color: var(--text-2); font-size: 15px; }
.stat-strip em { display: block; margin-top: var(--s-3); font-style: normal; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .stat-strip { grid-template-columns: repeat(3, 1fr); gap: var(--gutter); } }
.thesis-meta { font-size: 14px; color: var(--muted); }
.panel-hero > .h1 { margin-inline: auto; max-width: 18ch; }
.panel-hero > .deck { margin: var(--s-6) auto 0; max-width: 58ch; }
.hero-section { padding-block: var(--s-4) var(--s-7); }
.panel .hero-controls { justify-content: center; }
.band .panel { background: rgba(255, 255, 255, 0.06); }
.band .panel-shot::after { background: linear-gradient(180deg, rgba(94, 10, 34, 0), #5E0A22); }
[class*="tint-"] { }   /* colour washes are retired in the light system; the class names stay harmless */

/* split: copy beside a grey card that holds the screen or visual */
.split { display: grid; grid-template-columns: 1fr; gap: var(--s-7) var(--s-8); align-items: center; }
.split > *, .bento > *, .panel-shot, .split-media .ui { min-width: 0; }
.split-copy .h2 { max-width: 16ch; }
.split-copy > p { margin-top: var(--s-5); color: var(--text-2); max-width: 46ch; font-size: var(--t-deck); line-height: 1.4; }
.split-copy .textlink, .split-copy .btn { margin-top: var(--s-6); }
.split-copy .textlink { display: inline-block; font-size: 14px; }
.split-media { padding: clamp(20px, 3vw, 40px); background: var(--bg-2); border-radius: var(--radius-xl); }
.split-media .caption { margin-top: var(--s-4); font-size: var(--t-small); color: var(--muted); }
.split-media:has(> .safe) { padding: 0; background: none; }   /* the money diagram brings its own colour panel */
.band .split-media { background: rgba(255, 255, 255, 0.06); }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split.is-flip .split-media { order: -1; }
  .split.is-flip { grid-template-columns: 7fr 5fr; }
}

/* the list of points: quiet rows with a rule above each */
.checks { margin-top: var(--s-6); max-width: 46ch; }
.checks li { padding: 14px 0; border-top: 1px solid var(--hair); }
.checks li:last-child { border-bottom: 1px solid var(--hair); }
.checks b { display: block; font-weight: 500; font-size: 16px; color: var(--text); }
.checks span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* offerings page: each offering is a split, stacked */
.offer-list > li + li { margin-top: var(--section-pad); }
.offer-list { padding-block: var(--s-7) var(--section-pad); }

/* thesis */
.wide-copy { max-width: 72ch; }
.wide-copy .h2 { max-width: 20ch; }
.wide-copy p { margin-top: var(--s-5); color: var(--text-2); font-size: var(--t-deck); line-height: 1.4; }
.ui-cmp { display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid var(--ui-hair); }
.ui-cmp:last-child { border-bottom: 0; }
.ui-cmp b { grid-column: 2; color: var(--text); font-weight: 600; }
.ui-cmp span { grid-column: 2; font-size: 12px; color: var(--text-2); }
.ui-cmp::before { content: ""; grid-row: 1 / span 2; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; border: 1px solid currentColor; }
.ui-cmp.good { color: var(--mint); } .ui-cmp.bad { color: var(--rose); }
.ui-card .hash { font-size: 11px; color: var(--muted); }
.viz { position: relative; width: 100%; aspect-ratio: 640 / 300; border-radius: 12px; background: radial-gradient(70% 80% at 50% 0%, rgba(139, 124, 246, 0.16), rgba(139, 124, 246, 0) 70%), var(--bg); overflow: hidden; }
.viz-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.viz-wide { max-width: 1000px; margin-inline: auto; }
/* thesis visuals: each on its own coloured card, pastel or deep, like the audience pages (founder, 2026-10-01) */
.viz.tv { aspect-ratio: 640 / 316; border-radius: var(--radius-xl); }
.viz.tv { --tv-pad: clamp(8px, 1.6vw, 18px); }
.tv .viz-svg { inset: var(--tv-pad); width: calc(100% - 2 * var(--tv-pad)); height: calc(100% - 2 * var(--tv-pad)); }
.tv .viz-svg text:not([fill]) { fill: rgba(255, 255, 255, 0.62); }
.tv-light .viz-svg text:not([fill]) { fill: #6E5F65; }
.tv-violet { background: radial-gradient(80% 90% at 100% 0%, rgba(255, 214, 200, 0.7), rgba(255, 214, 200, 0) 60%), linear-gradient(160deg, #EFEAFF 0%, #E0D7FF 100%); }
.tv-amber { background: linear-gradient(160deg, #FFF3DA 0%, #FFE6B5 100%); }
.tv-coral { background: linear-gradient(160deg, #FFE7DE 0%, #FFD6C8 100%); }
.tv-mint { background: linear-gradient(160deg, #E2F6EC 0%, #CDEFDD 100%); }
.tv-plum { background: radial-gradient(90% 80% at 100% 0%, rgba(240, 96, 60, 0.22), rgba(240, 96, 60, 0) 60%), linear-gradient(160deg, #2A1734 0%, #1C1024 100%); }
.tv-teal { background: radial-gradient(90% 80% at 100% 100%, rgba(45, 212, 191, 0.20), rgba(45, 212, 191, 0) 60%), linear-gradient(160deg, #0F2B2C 0%, #0A1C1D 100%); }
.tv-slate { background: radial-gradient(90% 80% at 0% 0%, rgba(139, 124, 246, 0.22), rgba(139, 124, 246, 0) 60%), linear-gradient(160deg, #1B1D2E 0%, #12131F 100%); }
.tv-ink { background: radial-gradient(90% 80% at 0% 100%, rgba(61, 214, 140, 0.16), rgba(61, 214, 140, 0) 60%), linear-gradient(160deg, #1A1F28 0%, #11151B 100%); }
.split-media:has(> .tv) { padding: 0; background: none; border-radius: var(--radius-xl); }
.panel-open:has(.tv) { background: none; padding: 0; }
.panel-open:has(.tv) .panel-shot { margin-top: 0; }

.hero-world { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 48px) 0 96px; overflow: hidden; }
/* the cue at the foot of the hero: a grey circle with an arrow that bounces, scrolling to the next section */
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 3; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; background: rgba(27, 18, 22, 0.08); color: rgba(27, 18, 22, 0.6); text-decoration: none; transition: background 200ms linear, color 200ms linear; animation: cue-bounce 1.8s ease-in-out infinite; }
.scroll-cue:hover, .scroll-cue:focus-visible { background: rgba(27, 18, 22, 0.14); color: var(--text); }
.scroll-cue svg { width: 18px; height: 18px; display: block; }
@keyframes cue-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }
.world-bg { position: absolute; inset: 0; }
.world-bg { touch-action: pan-y; }
.world-bg.is-hover { cursor: pointer; }
.world-bg.is-drag { cursor: grabbing; }
.world-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.world-fade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46% 50% at 50% 52%, var(--page) 0%, rgba(246, 244, 243, 0.85) 34%, rgba(246, 244, 243, 0) 72%); }
.world-tip { position: absolute; z-index: 3; pointer-events: none; padding: 10px 12px; border-radius: 10px; background: var(--text); color: #fff; font-size: 12px; line-height: 1.4; white-space: nowrap; transform: translate(-50%, calc(-100% - 16px)); box-shadow: 0 10px 28px rgba(11, 27, 51, 0.22); }
.world-tip b { display: block; font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.hero-copy { position: relative; z-index: 2; text-align: center; pointer-events: none; }
.hero-copy .h1 { margin-inline: auto; max-width: 16ch; }
.hero-copy .deck { margin: var(--s-6) auto 0; max-width: 58ch; color: var(--text-2); }
.hero-copy .hero-controls { justify-content: center; }
.hero-copy .btn { pointer-events: auto; }
.world-note { margin-top: var(--s-6); color: var(--muted); font-size: var(--t-small); }
.viz-lilac { background: radial-gradient(80% 90% at 90% 10%, rgba(255, 190, 170, 0.95), rgba(255, 190, 170, 0) 60%), linear-gradient(135deg, #D9CCFF 0%, #FFC9B8 100%); }
.viz-slate { background: linear-gradient(180deg, #151B24 0%, #0B0F15 100%); }
.source-note { margin-top: var(--s-6); max-width: 80ch; }
.source-note a, .panel .caption a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }

/* home: the two doors */
.ui-terminal .spark { width: 56px; height: 20px; flex: 0 0 auto; }
.ui-terminal .ui-row { gap: 8px; }
.ui-terminal .ui-seg { margin-top: 10px; max-width: 200px; }
.door-grid { margin-top: var(--s-5); }
.door-grid .ui-card { padding: 10px 11px; gap: 6px; }
.door-grid .ui-card-h b { font-size: 12px; }
.door-list { margin-top: var(--s-5); }
.door-list .ui-kv { font-size: 13px; }

/* --------------------------------------------------------------------------
   8b. Home devices: the ledger you zoom out of, the rail, the story, the doors
   -------------------------------------------------------------------------- */
.lz { position: relative; height: 230vh; padding: 0; }
.lz-sticky { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden; }
.lz-sticky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 50%, rgba(11, 27, 51, 0) 40%, rgba(11, 27, 51, 0.75) 100%); pointer-events: none; }
.lz-grid {
  position: absolute; left: 50%; top: 50%;
  display: grid; grid-template-columns: repeat(var(--cols, 8), 196px); gap: 14px; width: max-content;
  transform: translate(-50%, -50%) scale(1.9); transform-origin: center; will-change: transform; opacity: 0.55;
}
.rec {
  width: 196px; padding: 12px 14px 12px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.10); border-left-width: 3px;
  color: var(--text); display: flex; flex-direction: column; gap: 3px;
}
.rec-k { font-size: 10px; color: var(--muted); }
.rec b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec small { font-size: 11px; color: var(--text-2); }
.rec-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; font-size: 10px; color: var(--muted); }
.rec-st { font-style: normal; padding: 1px 7px; border-radius: 999px; font-size: 10px; }
.rec-st.ok { background: rgba(61, 214, 140, 0.16); color: #9BEBC4; }
.rec-st.warn { background: rgba(242, 184, 75, 0.16); color: #F6D08A; }
.rec-etf { border-left-color: var(--accent); }
.rec-option { border-left-color: var(--violet); }
.rec-contract { border-left-color: var(--teal); }
.rec-bespoke { border-left-color: var(--amber); }
.rec-future { border-left-color: var(--mint); }
.lz-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; text-align: center; width: min(92vw, 700px); }
.lz-title::before { content: ""; position: absolute; inset: -20% -30%; z-index: -1; background: radial-gradient(closest-side, rgba(11, 27, 51, 0.96), rgba(11, 27, 51, 0.7) 60%, rgba(11, 27, 51, 0) 100%); }
.lz-title .h1 { color: #fff; }
.lz-title .lz-kicker { margin-top: var(--s-4); font-size: 14px; color: var(--muted); }
.lz-after { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); z-index: 2; width: min(92vw, 60ch); text-align: center; opacity: 0; }
.lz-after .deck { margin-inline: auto; color: var(--text-2); }
.lz-after .hero-controls { justify-content: center; margin-top: var(--s-5); }
.lz-hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; font-size: 13px; color: var(--muted); }
@media (max-width: 767px) { .lz { height: 190vh; } .lz-grid { grid-template-columns: repeat(var(--cols, 8), 150px); gap: 10px; } .rec { width: 150px; padding: 10px 10px 10px 12px; } .rec b { font-size: 12px; } }

.rail { position: relative; overflow: hidden; padding: var(--s-5) 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.rail-track { display: flex; gap: 12px; width: max-content; animation: rail-move 70s linear infinite; }
.rail:hover .rail-track { animation-play-state: paused; }
.rec-rail { width: 224px; background: var(--bg-2); border-color: transparent; color: var(--text); }
.rec-rail .rec-k, .rec-rail .rec-f { color: var(--muted); }
.rec-rail small { color: var(--text-2); }
.rec-rail .rec-st.ok { background: rgba(43, 90, 166, 0.12); color: var(--accent); }
.rec-rail .rec-st.warn { background: rgba(242, 184, 75, 0.22); color: #7A5A12; }
@keyframes rail-move { to { transform: translateX(-50%); } }

.rail-note { margin-top: var(--s-3); font-size: var(--t-small); color: var(--muted); }

.doors { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.door { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); background: var(--bg-2); border-radius: var(--radius-xl); min-width: 0; overflow: hidden; transition: flex-grow 600ms var(--ease-out-expo), background-color 200ms linear; }
.door > .h2 { max-width: 14ch; }
.door > p { margin-top: var(--s-4); color: var(--text-2); max-width: 44ch; }
.door-shot { margin-top: var(--s-6); opacity: 0.92; transition: opacity 300ms linear, transform 600ms var(--ease-out-expo); }
.door .textlink { display: inline-block; margin-top: var(--s-6); font-size: 14px; }
@media (min-width: 960px) {
  .doors { display: flex; }
  .door { flex: 1 1 0; }
  .door.open { flex-grow: 1.55; background: var(--surface-2); }
  .door.open .door-shot { opacity: 1; transform: translateY(-4px); }
}

.story { display: grid; grid-template-columns: 1fr; gap: var(--s-7); }
.story-steps { display: flex; flex-direction: column; }
.story-step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; padding: var(--s-6) 0; border-top: 1px solid var(--hair); opacity: 0.4; transition: opacity 300ms linear; }
.story-step.on { opacity: 1; }
.story-step .h3 { max-width: 18ch; }
.story-step p { margin-top: var(--s-4); color: var(--text-2); max-width: 44ch; }
.story-step .step-n { font-size: 13px; color: var(--muted); margin-bottom: var(--s-3); }
.story-sticky { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.story-screen { display: none; }
.story-screen.on { display: block; animation: story-in calc(400ms * var(--motion)) var(--ease-out-expo); }
@keyframes story-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) { .story { grid-template-columns: 5fr 7fr; gap: var(--s-9); } }
@media (max-width: 959px) {
  /* on a phone or tablet: every step readable at once, the screen beneath them */
  .story-step { min-height: 0; opacity: 1; padding: var(--s-5) 0; }
  .story-sticky { position: static; }
}
/* phones: the thesis charts keep a readable size and swipe sideways inside their frame */
@media (max-width: 640px) {
  .split-media:has(> .viz), .panel-shot:has(> .viz) { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .split-media:has(> .viz)::-webkit-scrollbar, .panel-shot:has(> .viz)::-webkit-scrollbar { display: none; }
  .split-media:has(> .viz):not(:has(> .tv)) { padding: 12px; }
  .split-media > .viz, .panel-shot > .viz { min-width: 560px; }
}

/* --------------------------------------------------------------------------
   8c. Product mockups: illustrative screens of the platform, in HTML
   -------------------------------------------------------------------------- */
.ui {
  --ui-hair: rgba(255, 255, 255, 0.10);
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--hair-2);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
  font-variant-numeric: tabular-nums lining-nums;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.ui-bar {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: 10px 16px;
  border-bottom: 1px solid var(--ui-hair);
  font-size: 12px;
  color: var(--muted);
}
.ui-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text); font-variation-settings: 'opsz' 36; }
.ui-brand::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.ui-tabs { display: flex; gap: 18px; }
.ui-tabs .on { color: var(--text); position: relative; }
.ui-tabs .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 2px; background: var(--violet); }
.ui-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.ui-body { display: grid; grid-template-columns: 1fr; }
.ui-pane { padding: 16px 18px 18px; min-width: 0; }
.ui-pane + .ui-pane { border-top: 1px solid var(--ui-hair); }
.ui-h { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.ui-h.big { font-size: 13px; color: var(--text); }
.ui-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--ui-hair); }
.ui-kv:last-child { border-bottom: 0; }
.ui-kv b { font-weight: 500; color: var(--text); text-align: right; max-width: 62%; overflow-wrap: anywhere; }
.ui-kv b.neg { color: var(--rose); }
.ui-kv b.pos { color: var(--mint); }
.ui-field { display: flex; justify-content: space-between; gap: 12px; padding: 8px 11px; margin-top: 6px; border: 1px solid var(--hair-2); border-radius: 7px; background: var(--bg-2); }
.ui-field span { color: var(--muted); }
.ui-field b { font-weight: 500; color: var(--text); text-align: right; overflow-wrap: anywhere; }
.ui-field.on { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 124, 246, 0.15); }
.ui-btn { display: inline-block; margin-top: 14px; padding: 8px 13px; border-radius: 7px; background: var(--accent-fill); color: var(--on-accent); font-weight: 600; font-size: 12px; }
.ui-btn.ghost { background: transparent; border: 1px solid var(--hair-2); color: var(--text); margin-left: 8px; }
.ui-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--hair-2); font-size: 11px; color: var(--text-2); white-space: nowrap; }
.ui-chip.ok { border-color: rgba(61, 214, 140, 0.45); background: rgba(61, 214, 140, 0.10); color: #9BEBC4; }
.ui-chip.warn { border-color: rgba(242, 184, 75, 0.45); background: rgba(242, 184, 75, 0.10); color: #F6D08A; }
.ui-chip.violet { border-color: rgba(139, 124, 246, 0.5); background: rgba(139, 124, 246, 0.12); color: #C4BBFB; }
.ui-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.ui-dot.live { animation: ui-pulse calc(2.4s * var(--motion)) ease-in-out infinite; }
@keyframes ui-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.55); } 50% { box-shadow: 0 0 0 5px rgba(61, 214, 140, 0); } }
.ui-big { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1; color: var(--text); letter-spacing: -0.02em; font-variation-settings: 'opsz' 36; }
.ui-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.ui-big small { font-family: var(--font-body); font-size: 12px; color: var(--muted); letter-spacing: 0; }
.ui-big .chg { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--mint); }
.ui-chart { width: 100%; height: auto; display: block; margin: 6px 0 10px; }
.ui-chart .axis { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; }
.ui-chart .grid { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.ui-chart .line { fill: none; stroke: #D6E2F3; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ui-chart .line.mint { stroke: var(--mint); }
.ui-chart .line.violet { stroke: var(--violet); }
.ui-chart .area.mint { fill: url(#uiFillMint); }
.ui-chart .area { fill: url(#uiFill); }
.ui-chart .mark { stroke: var(--violet); stroke-width: 1; stroke-dasharray: 3 3; }
.ui-chart .bar { fill: rgba(143, 174, 220, 0.45); }
.ui-chart .bar.hi { fill: var(--amber); }
.ui-chart text { fill: var(--muted); font-size: 10px; font-family: var(--font-body); }
.ui-table { width: 100%; border-collapse: collapse; }
.ui-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 0 10px 8px 0; border-bottom: 1px solid var(--ui-hair); white-space: nowrap; }
.ui-table td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--ui-hair); color: var(--text-2); white-space: nowrap; }
.ui-table td:first-child { color: var(--text); font-weight: 500; }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-scroll { overflow-x: auto; }
.ui-steps { display: flex; gap: 8px; margin-bottom: 14px; }
.ui-steps span { flex: 1; padding: 6px 0; border-top: 2px solid var(--hair-2); font-size: 11px; color: var(--muted); }
.ui-steps span.on { border-top-color: var(--violet); color: var(--text); }
.ui-doc { padding: 4px 0; }
.ui-doc-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ui-hair); }
.ui-doc-h b { font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--text); font-variation-settings: 'opsz' 36; }
.ui-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ui-party { padding: 10px 12px; border: 1px solid var(--hair-2); border-radius: 8px; background: var(--bg-2); }
.ui-party b { display: block; color: var(--text); font-weight: 500; padding-left: 14px; position: relative; }
.ui-party b::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.ui-party:nth-child(2) b::before { background: var(--teal); }
.ui-party span { color: var(--muted); font-size: 12px; }

/* the chain of blocks: a contract's life, written as records */
.ui-chain { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: thin; }
.ui-block { flex: 1 1 150px; min-width: 150px; padding: 12px 13px 13px; border: 1px solid var(--hair-2); border-radius: 10px; background: var(--bg-2); }
.ui-block + .ui-block { margin-left: 22px; position: relative; }
.ui-block + .ui-block::before { content: ""; position: absolute; left: -22px; top: 50%; width: 22px; height: 1px; background: linear-gradient(90deg, var(--violet), var(--teal)); }
.ui-block.on { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.12); }
.ui-block .n { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.ui-block .ev { display: block; margin-top: 6px; font-weight: 600; color: var(--text); }
.ui-block .st { display: block; margin-top: 4px; font-size: 12px; color: var(--text-2); }
.ui-block .hash { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); }

/* event feed: rows of time, event, subject, hash, destinations */
.ui-feed-row { display: grid; grid-template-columns: 1fr; gap: 4px 12px; padding: 9px 0; border-bottom: 1px solid var(--ui-hair); }
.ui-feed-row:last-child { border-bottom: 0; }
.ui-feed-row > span:first-child { color: var(--muted); font-size: 12px; }
.ui-feed-row b { color: var(--text); font-weight: 600; }
.ui-feed-row .hash { color: var(--muted); font-size: 11px; }
.ui-feed-row .to { display: flex; gap: 6px; flex-wrap: wrap; }
@media (min-width: 768px) {
  .ui-feed-row { grid-template-columns: 64px 96px 1fr 96px auto; align-items: center; }
}

/* market rows, order ticket, contract cards, diffs, vertical flow */
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 8px; border-bottom: 1px solid var(--ui-hair); }
.ui-row.on { background: var(--bg-2); border-bottom-color: transparent; }
.ui-row > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.ui-row b { color: var(--text); font-weight: 500; }
.ui-row small { color: var(--muted); font-size: 11px; }
.ui-row .px { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.ui-row em { font-style: normal; font-size: 11px; }
.pos { color: var(--mint); }
.neg { color: var(--rose); }
.ui-seg { display: flex; border: 1px solid var(--hair-2); border-radius: 7px; overflow: hidden; margin-top: 8px; }
.ui-seg span { flex: 1; text-align: center; padding: 6px 0; font-size: 12px; color: var(--muted); }
.ui-seg span.on { background: var(--accent-fill); color: var(--on-accent); font-weight: 600; }
.ui-grid3 { display: grid; grid-template-columns: 1fr; gap: 10px; }
.ui-card { padding: 12px 13px 13px; border: 1px solid var(--hair-2); border-radius: 10px; background: var(--bg-2); display: flex; flex-direction: column; gap: 8px; }
.ui-card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ui-card-h b { color: var(--text); font-weight: 600; }
.ui-card > span { font-size: 12px; color: var(--text-2); }
.ui-thumb { width: 100%; height: 40px; display: block; }
.ui-thumb .line { fill: none; stroke: #D6E2F3; stroke-width: 1.5; stroke-linejoin: round; }
.ui-thumb .area { fill: url(#uiFill); }
.ui-diff { margin-top: 10px; }
.ui-diff-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; border-left: 2px solid transparent; }
.ui-diff-row b { font-weight: 500; color: var(--text); text-align: right; }
.ui-diff-row.same { border-bottom: 1px solid var(--ui-hair); }
.ui-diff-row.del { border-left-color: var(--rose); background: rgba(240, 99, 122, 0.08); text-decoration: line-through; color: var(--muted); }
.ui-diff-row.del b { color: var(--muted); }
.ui-diff-row.add { border-left-color: var(--mint); background: rgba(61, 214, 140, 0.08); }
.ui-flowv { display: grid; gap: 8px; }
.ui-flowv .ui-node + .ui-node { margin-left: 0; }
.ui-flowv .ui-node + .ui-node::before { display: none; }

/* retail page: index grid, fractional and fee graphics, the why-us strip */
.ui-grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.frac, .fees { width: 100%; max-width: 360px; height: auto; display: block; margin-top: var(--s-5); font-family: var(--font-body); }
.box .ui-seg { max-width: 220px; margin-top: var(--s-5); }
.opt-line { margin-top: var(--s-3); font-size: var(--t-small); color: var(--muted); }
/* individuals: coloured cards, each with its own visual (founder, 2026-10-01: "i like that you used colours") */
.icard { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-xl); color: #1B1216; min-width: 0; }
.icard .h3 { max-width: 20ch; }
.icard > p { margin-top: var(--s-4); color: #4A3A40; max-width: 46ch; }
.icard .ivis { display: block; width: 100%; height: auto; max-height: 170px; margin-top: auto; padding-top: var(--s-6); }
.ic-coral { background: linear-gradient(160deg, #FFE7DE 0%, #FFD6C8 100%); }
.ic-violet { background: linear-gradient(160deg, #EFEAFF 0%, #E0D7FF 100%); }
.ic-amber { background: linear-gradient(160deg, #FFF3DA 0%, #FFE6B5 100%); }
.ic-mint { background: linear-gradient(160deg, #E2F6EC 0%, #CDEFDD 100%); }
.ic-rose { background: linear-gradient(160deg, #FFE7EC 0%, #FFD5DF 100%); }
/* individuals: meet our indices */
.idx-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.idx { display: flex; flex-direction: column; padding: var(--s-6) var(--s-5) var(--s-5); border-radius: var(--radius-lg); color: #1B1216; min-width: 0; }
.idx-tk { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--c); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.idx .h4 { margin-top: var(--s-4); }
.idx p { margin-top: var(--s-2); color: #4A3A40; }
.idx-line { display: block; width: 100%; height: auto; margin-top: auto; padding-top: var(--s-5); }
@media (min-width: 700px) { .idx-grid { grid-template-columns: repeat(2, 1fr); gap: var(--gutter); } }
@media (min-width: 1100px) { .idx-grid { grid-template-columns: repeat(4, 1fr); } }
/* institutions: the same creativity in deep tones, with data-style visuals */
.dcard { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-xl); color: #F4F1F2; min-width: 0; overflow: hidden; }
.dcard .h3 { max-width: 20ch; color: #fff; }
.dcard > p { margin-top: var(--s-4); color: rgba(255, 255, 255, 0.72); max-width: 46ch; }
.dcard .dvis { display: block; width: 100%; height: auto; max-height: 170px; margin-top: auto; padding-top: var(--s-6); }
.dc-plum { background: radial-gradient(90% 80% at 100% 0%, rgba(240, 96, 60, 0.22), rgba(240, 96, 60, 0) 60%), linear-gradient(160deg, #2A1734 0%, #1C1024 100%); }
.dc-teal { background: radial-gradient(90% 80% at 100% 100%, rgba(45, 212, 191, 0.20), rgba(45, 212, 191, 0) 60%), linear-gradient(160deg, #0F2B2C 0%, #0A1C1D 100%); }
.dc-ink { background: radial-gradient(90% 80% at 0% 100%, rgba(242, 184, 75, 0.18), rgba(242, 184, 75, 0) 60%), linear-gradient(160deg, #1A1F28 0%, #11151B 100%); }
.dc-oxblood { background: radial-gradient(90% 80% at 100% 0%, rgba(240, 99, 122, 0.18), rgba(240, 99, 122, 0) 60%), linear-gradient(160deg, #4C0013 0%, #2E000B 100%); }
.dc-slate { background: radial-gradient(90% 80% at 0% 0%, rgba(139, 124, 246, 0.22), rgba(139, 124, 246, 0) 60%), linear-gradient(160deg, #1B1D2E 0%, #12131F 100%); }
/* audience heroes: a bento of coloured tiles in the card styles below (founder, 2026-10-01) */
.panel-tiles { padding-bottom: clamp(20px, 4vw, 56px); }
.hv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1080px; margin: clamp(32px, 5vw, 64px) auto 0; text-align: left; }
.hv-tile { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: clamp(16px, 2vw, 24px); border-radius: var(--radius-lg); color: #1B1216; animation: hv-rise 700ms var(--ease-out-expo) both; }
.hv-main { grid-column: 1 / -1; padding: clamp(18px, 2.4vw, 28px); }
.hv-a { animation-delay: 80ms; } .hv-b { animation-delay: 160ms; } .hv-c { animation-delay: 240ms; } .hv-d { animation-delay: 320ms; }
.hv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hv-k { font-size: 13px; font-weight: 600; color: #4A3A40; }
.hv-pill { padding: 3px 10px; border-radius: 999px; background: var(--c); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.hv-big { font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.hv-mid { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 36px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hv-mid.sm { font-family: var(--font-body); font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: 0; line-height: 1.25; }
.hv-sub { margin-top: auto; font-size: 13px; line-height: 1.35; color: #4A3A40; }
.hv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hv-main .hv-sub { margin-top: 0; }
.hv-chart { display: block; flex: 1 1 auto; width: 100%; height: clamp(80px, 9vw, 120px); min-height: 80px; margin-top: 8px; }
.hv-draw { stroke-dasharray: 1; animation: hv-draw 1600ms 300ms var(--ease-out-expo) both; }
.hv-alloc { display: flex; gap: 3px; height: 10px; margin-top: 12px; }
.hv-alloc i { flex: 1 1 var(--w); border-radius: 3px; background: var(--c); transform-origin: left; animation: hv-grow 900ms var(--ease-out-expo) both; }
.hv-alloc i:nth-child(2) { animation-delay: 120ms; } .hv-alloc i:nth-child(3) { animation-delay: 240ms; } .hv-alloc i:nth-child(4) { animation-delay: 360ms; }
.hv-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 12px; font-weight: 700; }
.hv-legend li { display: flex; align-items: center; gap: 6px; }
.hv-legend li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.hv-legend span { font-weight: 400; color: #4A3A40; }
.hv-ring { flex: none; width: 56px; height: 56px; }
.hv-fill { animation: hv-ring 1200ms 400ms var(--ease-out-expo) both; }
.hv-pay { display: block; width: 100%; max-width: 190px; height: auto; }
.hv-swap { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.hv-chip { padding: 6px 10px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hv-chip.a { animation: hv-in-l 5s var(--ease-out-expo) infinite; }
.hv-chip.b { animation: hv-in-r 5s var(--ease-out-expo) infinite; }
.hv-tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #1FA874; color: #fff; font-size: 13px; font-weight: 700; animation: hv-pop 5s var(--ease-out-expo) infinite; }
/* the institutional set: deep tiles with data-style content */
.hv-deep .hv-tile { color: #F4F1F2; }
.hv-deep .hv-k { color: rgba(255, 255, 255, 0.62); }
.hv-deep .hv-sub { color: rgba(255, 255, 255, 0.72); }
.hv-deep .hv-pill { color: #06231F; }
.hv-book, .hv-coll { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.hv-coll { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.hv-book li, .hv-coll div { display: grid; grid-template-columns: minmax(84px, 128px) 1fr auto; align-items: center; gap: 12px; font-size: 13px; }
.hv-book span, .hv-coll span { color: rgba(255, 255, 255, 0.7); }
.hv-book b, .hv-coll b, .hv-foot b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hv-book i, .hv-coll i { position: relative; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.hv-book i::after, .hv-coll i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: var(--c); transform-origin: left; animation: hv-grow 1000ms 200ms var(--ease-out-expo) both; }
.hv-book li:nth-child(2) i::after { animation-delay: 300ms; } .hv-book li:nth-child(3) i::after { animation-delay: 400ms; } .hv-book li:nth-child(4) i::after { animation-delay: 500ms; }
.hv-coll i.req::after { --w: 62%; background: rgba(255, 255, 255, 0.45); animation-delay: 650ms; }
.hv-coll i.post::after { --w: 100%; background: #3DD68C; animation-delay: 750ms; }
.hv-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 18px; }
.hv-foot div { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); }
.hv-foot span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.hv-foot b { display: block; margin-top: 2px; font-size: 15px; }
.hv-foot b.pos { color: #3DD68C; }
.hv-deep .hv-legend { font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.hv-steps { display: flex; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.hv-steps li { flex: 1; padding: 6px 0; border-radius: 999px; text-align: center; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.22); color: #fff; }
.hv-steps li:nth-child(1) { animation: hv-s1 4.5s linear infinite; }
.hv-steps li:nth-child(2) { animation: hv-s2 4.5s linear infinite; }
.hv-steps li:nth-child(3) { background: #3DD68C; color: #06231F; animation: hv-s3 4.5s linear infinite; }
.hv-match { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; font-size: 12px; }
.hv-match span { color: rgba(255, 255, 255, 0.55); }
.hv-match em { padding: 4px 8px; border-radius: 6px; background: rgba(61, 214, 140, 0.16); color: #CFF7E3; font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.hv-week i { padding: 20px 0 6px; border-radius: 6px; background: linear-gradient(180deg, #8B7CF6, rgba(139, 124, 246, 0.5)); color: #fff; font-size: 11px; font-style: normal; font-weight: 600; text-align: center; animation: hv-lit 600ms ease-out both; }
.hv-week i:nth-child(2) { animation-delay: 380ms; } .hv-week i:nth-child(3) { animation-delay: 460ms; } .hv-week i:nth-child(4) { animation-delay: 540ms; } .hv-week i:nth-child(5) { animation-delay: 620ms; } .hv-week i:nth-child(6) { animation-delay: 700ms; } .hv-week i:nth-child(7) { animation-delay: 780ms; }
.hv-week i:nth-child(1) { animation-delay: 300ms; }
@keyframes hv-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes hv-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hv-grow { from { transform: scaleX(0); } }
@keyframes hv-ring { from { stroke-dasharray: 0 100; } }
@keyframes hv-lit { from { opacity: 0.12; } }
@keyframes hv-in-l { 0% { opacity: 0; transform: translateX(-10px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes hv-in-r { 0% { opacity: 0; transform: translateX(10px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes hv-pop { 0%, 14% { transform: scale(0); } 24%, 88% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes hv-s1 { 0%, 92% { background: rgba(255, 255, 255, 0.22); color: #fff; } 96%, 100% { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); } }
@keyframes hv-s2 { 0%, 30% { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); } 33%, 92% { background: rgba(255, 255, 255, 0.22); color: #fff; } 96%, 100% { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); } }
@keyframes hv-s3 { 0%, 63% { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); } 66%, 92% { background: #3DD68C; color: #06231F; } 96%, 100% { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); } }
@media (max-width: 559px) { .hv-c, .hv-d { grid-column: 1 / -1; } .hv-deep .hv-a { grid-column: 1 / -1; } .hv-deep .hv-d { grid-column: auto; } .hv-deep .hv-c { order: 1; } .hv-week { gap: 3px; } }
@media (min-width: 900px) {
  .hv { grid-template-columns: 1fr 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
  .hv-main { grid-column: 2; grid-row: 1 / 3; }
  .hv-a { grid-column: 1; grid-row: 1; } .hv-b { grid-column: 1; grid-row: 2; }
  .hv-c { grid-column: 3; grid-row: 1; } .hv-d { grid-column: 3; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .hv *, .hv-tile { animation: none !important; } }
/* the tiled heroes fit the first screen on desktop (founder, 2026-10-01: "make the hero banner… fit onto the screen") */
@media (min-width: 900px) and (min-height: 640px) {
  .panel-tiles { display: flex; flex-direction: column; height: min(calc(100svh - 108px), 940px); padding-top: clamp(28px, 5vh, 64px); padding-bottom: clamp(16px, 2.4vh, 28px); }
  .panel-tiles > .h1 { max-width: none; font-size: clamp(44px, min(5.4vw, 8vh), 84px); }
  .panel-tiles > .deck { margin-top: clamp(12px, 2vh, 24px); max-width: 72ch; }
  .panel-tiles .hero-controls { margin-top: clamp(16px, 2.6vh, 32px); }
  .panel-tiles .hv { flex: 1 1 0; min-height: 0; width: 100%; margin-top: clamp(20px, 3.4vh, 40px); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  .panel-tiles .hv-tile { overflow: hidden; }
  .panel-tiles .hv-chart { flex: 1 1 0; height: auto; min-height: 40px; }
  .panel-tiles .hv { gap: clamp(10px, 1.6vh, 16px); }
  .panel-tiles .hv-tile { padding: clamp(14px, 2.2vh, 24px) clamp(16px, 1.8vw, 24px); gap: clamp(4px, 0.8vh, 8px); }
  .panel-tiles .hv-book, .panel-tiles .hv-coll { gap: clamp(5px, 1vh, 10px); margin-top: clamp(8px, 1.4vh, 14px); }
  .panel-tiles .hv-coll { padding-top: clamp(8px, 1.4vh, 16px); }
  .panel-tiles .hv-foot { padding-top: clamp(8px, 1.4vh, 18px); }
  .panel-tiles .hv-foot div { padding: clamp(6px, 0.9vh, 10px) 12px; }
  .panel-tiles .hv-match { gap: clamp(4px, 0.6vh, 6px) 8px; }
  .panel-tiles .hv-match em { padding-block: clamp(2px, 0.4vh, 4px); }
  .panel-tiles .hv-week i { padding-top: clamp(10px, 2vh, 20px); }
}
@media (min-width: 900px) and (min-height: 640px) and (max-height: 860px) {
  .panel-tiles .hv-match em:nth-child(n+7) { display: none; }
  .panel-tiles .hv-legend { gap: 2px 12px; margin-top: 2px; }
  .panel-tiles .hv-alloc { margin-top: 6px; }
}
@media (min-width: 900px) and (min-height: 640px) and (max-height: 720px) { .panel-tiles .hv-deep .hv-b .hv-sub { display: none; } }
.steps-4 { }
@media (min-width: 700px) { .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps.steps-4 { grid-template-columns: repeat(4, 1fr); } }
.principles { padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-xl); background: linear-gradient(160deg, #161A21 0%, #0F1217 100%); color: #F4F1F2; }
.principles .h2 { color: #fff; max-width: 18ch; }
.principles .deck { margin-top: var(--s-4); color: rgba(255, 255, 255, 0.7); }
.principle-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5) var(--gutter); margin: var(--s-7) 0 0; padding: 0; list-style: none; }
.principle-grid li { padding-top: var(--s-4); border-top: 2px solid var(--c); }
.principle-grid b { display: block; font-weight: 600; color: #fff; }
.principle-grid span { display: block; margin-top: var(--s-2); color: rgba(255, 255, 255, 0.68); font-size: 15px; }
@media (min-width: 700px) { .principle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .principle-grid { grid-template-columns: repeat(3, 1fr); } }
.ways { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.way { position: relative; padding: var(--s-6) var(--s-5); border-radius: var(--radius-lg); background: var(--bg-2); overflow: hidden; }
.way::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.way p { margin-top: var(--s-3); color: var(--text-2); }
@media (min-width: 700px) { .ways { grid-template-columns: repeat(2, 1fr); gap: var(--gutter); } }
@media (min-width: 1100px) { .ways { grid-template-columns: repeat(4, 1fr); } }
.road { position: relative; display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin: 0; padding: 0; list-style: none; }
.road li { position: relative; padding-left: 28px; }
.road li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); }
.road .road-k { display: block; font-size: 13px; color: var(--muted); }
.road b { display: block; margin-top: var(--s-1, 4px); font-family: var(--font-display); font-size: var(--t-h4); font-weight: 500; letter-spacing: -0.015em; }
.road b + span { display: block; margin-top: var(--s-2); color: var(--text-2); max-width: 40ch; }
@media (min-width: 900px) {
  .road { grid-template-columns: repeat(3, 1fr); gap: var(--gutter); padding-top: 28px; }
  .road::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: linear-gradient(90deg, #F0603C, #8B7CF6, #2DD4BF); opacity: 0.6; }
  .road li { padding-left: 0; padding-top: 0; }
  .road li::before { top: -28px; }
}
/* how it will work: three steps joined by a line */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--s-5); list-style: none; padding: 0; margin: 0; counter-reset: none; }
.step { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); border-radius: var(--radius-lg, 18px); background: var(--bg-2); border-top: 4px solid var(--c); }
.step .step-k { display: block; font-size: 13px; color: var(--muted); }
.step b { display: block; margin-top: var(--s-2); font-family: var(--font-display); font-size: var(--t-h4); font-weight: 500; letter-spacing: -0.015em; }
.step b + span { display: block; margin-top: var(--s-3); color: var(--text-2); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--gutter); } }
/* your money, kept safe: a three-node path on a soft colour panel */
.safe { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-xl); background: linear-gradient(150deg, #EFEAFF 0%, #FFE7DE 100%); }
.safe-node { position: relative; padding: 16px 18px 16px 44px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(27, 18, 22, 0.06); }
.safe-node::before { content: ""; position: absolute; left: 18px; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.safe-node b { display: block; font-weight: 600; color: #1B1216; }
.safe-node span { display: block; margin-top: 2px; font-size: 14px; color: #4A3A40; }
.safe-node.is-key { outline: 2px solid rgba(31, 168, 116, 0.5); }
.safe-link { width: 2px; height: 22px; margin-left: 23px; background: rgba(27, 18, 22, 0.18); }
/* why we built it */
.about-panel { padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-xl); background: var(--bg-2); }
.about-cols { display: grid; grid-template-columns: 1fr; gap: var(--s-5) var(--gutter); margin-top: var(--s-6); }
.about-cols p { color: var(--text-2); max-width: 52ch; }
@media (min-width: 900px) { .about-cols { grid-template-columns: 1fr 1fr; } }
.about-quote { margin: var(--s-7) 0 var(--s-5); padding-left: var(--s-5); border-left: 3px solid #F0603C; font-family: var(--font-display); font-size: var(--t-h4); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; max-width: 40ch; }
/* questions, answered */
.faq-wrap .h2 { max-width: 18ch; }
.faq { margin-top: var(--s-6); max-width: 860px; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--muted); transition: transform 200ms var(--ease-out-expo); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 44px 20px 0; color: var(--text-2); max-width: 64ch; }
.contact-box .actions { justify-content: center; }
.why-strip { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--hair); }
.why-strip li { padding: var(--s-5) 0; border-bottom: 1px solid var(--hair); }
.why-strip b { display: block; font-family: var(--font-display); font-size: var(--t-h4); font-weight: 500; font-variation-settings: 'opsz' 36; }
.why-strip span { display: block; margin-top: var(--s-2); color: var(--text-2); }
@media (min-width: 768px) {
  .why-strip { grid-template-columns: repeat(4, 1fr); gap: var(--gutter); border-top: 0; }
  .why-strip li { border-top: 1px solid var(--hair); border-bottom: 0; }
}
.page-note { margin-top: var(--s-5); max-width: 64ch; }

/* flow diagram: the technology, four stages */
.ui-flow { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ui-node + .ui-node { margin-left: 0; }
.ui-node { padding: 14px 16px; border: 1px solid var(--hair-2); border-radius: 10px; background: var(--bg-2); position: relative; }
.ui-node b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; padding-left: 14px; position: relative; }
.ui-node b::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.ui-node:nth-child(2) b::before { background: var(--accent); }
.ui-node:nth-child(3) b::before { background: var(--amber); }
.ui-node:nth-child(4) b::before { background: var(--mint); }
.ui-node span { font-size: 12px; color: var(--text-2); }
/* columns follow the width of the card the screen sits in, not the viewport */
@container (min-width: 560px) {
  .ui-body.cols-2 { grid-template-columns: 1fr 1fr; }
  .ui-body.cols-2 .ui-pane + .ui-pane { border-top: 0; border-left: 1px solid var(--ui-hair); }
  .ui-body.cols-3 { grid-template-columns: 1fr 1fr; }
  .ui-body.cols-3 .ui-pane + .ui-pane { border-top: 0; border-left: 1px solid var(--ui-hair); }
  .ui-body.cols-3 > .ui-pane:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ui-hair); }
  .ui-grid3 { grid-template-columns: repeat(3, 1fr); }
  .ui-grid4 { grid-template-columns: repeat(2, 1fr); }
  .ui-flow { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@container (min-width: 880px) {
  .ui-body.cols-3 { grid-template-columns: 1.1fr 1fr 1fr; }
  .ui-body.cols-3 > .ui-pane:nth-child(3) { grid-column: auto; border-left: 1px solid var(--ui-hair); border-top: 0; }
  .ui-grid4 { grid-template-columns: repeat(4, 1fr); }
  .ui-flow { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .ui-node + .ui-node { margin-left: 22px; }
  .ui-node + .ui-node::before { content: ""; position: absolute; left: -22px; top: 50%; width: 22px; height: 1px; background: linear-gradient(90deg, var(--violet), var(--teal)); }
}
@container (max-width: 520px) {
  .ui-tabs span:nth-child(n+3) { display: none; }
  .door-shot .ui-body.cols-2 > .ui-pane + .ui-pane { display: none; }   /* a narrowed door shows one pane, not a tall stack */
  .door-shot .ui-right .ui-chip:not(:last-child) { display: none; }
  .ui-right .ui-chip span { display: none; }
  .ui-pane { padding: 12px 14px 14px; }
}

/* --------------------------------------------------------------------------
   14. Early access
   -------------------------------------------------------------------------- */
.access { padding-top: 0; }
/* the contact box: centred in its section, clear of the section above (founder, 2026-10-01) */
.contact-box { max-width: 880px; margin-inline: auto; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); }
.contact-box .h2 { margin-inline: auto; max-width: 16ch; }
.contact-box .deck { margin: var(--s-5) auto 0; max-width: 56ch; color: var(--text-2); }
.contact-box .access-form { margin: var(--s-7) auto 0; max-width: 560px; text-align: left; }
.reasons { border: 0; padding: 0; margin: 0 0 var(--s-5); min-width: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.reason { position: relative; cursor: pointer; }
.reason input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.reason span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--hair-2); font-size: 14px; font-weight: 500; color: var(--text-2); transition: background-color 160ms linear, color 160ms linear, border-color 160ms linear; }
.reason:hover span { border-color: var(--hair-3); color: var(--text); }
.reason input:checked + span { background: #fff; border-color: #fff; color: #4C0013; }
.reason input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.contact-row { display: flex; gap: var(--s-4); align-items: flex-end; }
.contact-row .field { flex: 1 1 auto; min-width: 0; }
.contact-row .btn { margin-top: 0; flex: 0 0 auto; }
.contact-box .privacy { margin-top: var(--s-5); text-align: center; font-size: var(--t-small); color: var(--muted); }
.contact-box .privacy a { color: var(--text-2); }
.contact-box .form-error, .contact-box .received { text-align: center; }
@media (max-width: 560px) { .contact-row { flex-direction: column; align-items: stretch; } }
.box-access { display: grid; grid-template-columns: 1fr; gap: var(--s-7) var(--gutter); }
.access .h2 { max-width: 14ch; }
.access .deck { margin-top: var(--s-5); }
@media (min-width: 960px) {
  .box-access { grid-template-columns: 5fr 1fr 6fr; }
  .box-access > .access-form { grid-column: 3; }
}

.access-form { position: relative; }
.access-form > * { transition: opacity calc(var(--d-micro-2) * var(--motion)) linear; }
.access-form.is-success > :not(#received) { opacity: 0.35; }
.role-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  padding: 6px 10px;
  border: 1px solid var(--hair-2);
  border-radius: var(--radius-sm);
  font-size: var(--t-small);
  font-weight: 500;
  position: relative;
  transition: border-color calc(400ms * var(--motion)) steps(2, jump-end);
}
.role-tag.flash-line { border-color: var(--accent); transition: none; }
.role-remove { font-size: 14px; padding: 0 4px; line-height: 1; color: var(--muted); }
.role-remove:hover { color: var(--text); }
.field { position: relative; }
.field .mono-label {
  display: block;
  margin-bottom: var(--s-2);
  transition: color calc(var(--d-micro-2) * var(--motion)) linear;
}
.field:focus-within .mono-label { color: var(--text); }
.field input {
  display: block;
  width: 100%;
  padding: 12px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--hair-2);
  border-radius: 0;
  background: transparent;
  font-size: var(--t-deck);
  outline: 2px solid transparent;
  outline-offset: 4px;
}
@media (forced-colors: active) {
  .field input:focus-visible { outline-color: CanvasText; }
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field .underline {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform calc(var(--d-micro-2) * var(--motion)) linear;
  pointer-events: none;
}
.field:focus-within .underline, .field.is-invalid .underline { transform: scaleY(1); }
.field.is-invalid input { border-bottom-color: var(--accent); }
.field .hint, .field .error { margin-top: var(--s-2); }
.error, .form-error { font-size: var(--t-small); color: var(--text); line-height: 1.5; }
.error[hidden], .form-error[hidden], .received[hidden], .role-tag[hidden] { display: none; }
.form-error { margin-top: var(--s-3); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.access-form .btn { margin-top: var(--s-5); }
.btn-label { display: inline-block; }
.btn[aria-busy="true"] .btn-label::after {
  content: "…";
  display: inline-block;
  width: 1.5ch;
  text-align: left;
  animation: dots calc(600ms * var(--motion)) steps(3, jump-end) infinite;
}
@keyframes dots {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}
.privacy { margin-top: var(--s-4); font-size: var(--t-small); line-height: 1.6; color: var(--muted); max-width: 44ch; }
.received {
  position: absolute;
  right: 0;
  top: -12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-3);
  opacity: 1;
  pointer-events: none;
}
.stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
.stamp .stamp-time {
  margin-top: 6px;
  font-size: var(--t-small);
  font-weight: 400;
  color: var(--muted);
}
.received-line { font-family: var(--font-display); font-size: var(--t-deck); font-weight: 500; }
.status { outline: 2px solid transparent; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer { position: relative; padding: var(--s-8) 0 var(--s-6); border-top: 1px solid var(--hair); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6) var(--gutter); }
.footer .wordmark { display: inline-flex; margin-bottom: var(--s-3); }
.footer .wordmark::before { display: none; }   /* no dot beside the name in the footer */
.footer-grid .mono-label { display: block; margin-bottom: var(--s-3); }
.footer-links li + li { margin-top: var(--s-2); }
.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color calc(var(--d-micro) * var(--motion)) linear;
}
.footer-links a:hover, .footer-links a:focus-visible, .footer-links a[aria-current] { color: var(--text); }
.disclaimer { margin-top: var(--s-8); max-width: 96ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid var(--hair);
  font-size: var(--t-small);
  color: var(--muted);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   16. Utility pages: privacy, 404
   -------------------------------------------------------------------------- */
.page { padding-block: var(--s-7) var(--section-pad); }
.page .backlink { display: inline-block; margin-bottom: var(--s-6); font-size: 14px; }
.page .h1 { font-size: clamp(34px, 4.6vw, 64px); max-width: 16ch; }
.notice {
  display: inline-block;
  margin-top: var(--s-5);
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: var(--t-mono-label);
  color: var(--text);
}
.page-meta { margin-top: var(--s-4); }
.legal { margin-top: var(--s-7); max-width: 68ch; }
.legal h2 { font-size: var(--t-h4); margin-top: var(--s-7); margin-bottom: var(--s-3); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--text-2); }
.legal p + p { margin-top: 0.8em; }
.legal ul { list-style: disc; padding-left: 1.2em; color: var(--text-2); margin-top: 0.6em; }
.legal li + li { margin-top: 0.3em; }

.page-404 { min-height: calc(100vh - var(--nav-h)); }
.page-404 p { margin-top: var(--s-6); max-width: var(--w-prose); color: var(--text-2); }
.page-404 .page-404-index { margin-top: var(--s-7); max-width: 32ch; }
.page-404 .back { display: inline-block; margin-top: var(--s-7); text-decoration: none; font-size: 14px; font-weight: 500; }

/* --------------------------------------------------------------------------
   17. Reduced motion: the complete page at rest
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  .js .rule[data-draw],
  .js .ts-row[data-print] { transform: none; clip-path: none; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}
