/*
  FundAgent public site. The vocabulary is the product's own: paper surfaces,
  one deep green for action, mint reserved for what is verified, hairline
  rules, tabular figures, and panels that slide in beside the work.
*/
@font-face {
  font-family: "Geist";
  src: url(/assets/fonts/geist.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url(/assets/fonts/geist-mono.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url(/assets/fonts/source-serif-4.woff2) format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url(/assets/fonts/source-serif-4-italic.woff2) format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-2: #fafaf8;
  --sunken: #f2f2ee;
  --track: #e8e8e3;
  --line: #e6e5e0;
  --line-strong: #d6d5cf;
  --wash: rgba(28, 31, 29, 0.045);
  --overlay-soft: rgba(20, 22, 21, 0.16);
  --ink: #1c1f1d;
  --ink-2: #4a4f4b;
  --ink-3: #62675f;
  --ink-4: #6e726c;
  --on-brand: #ffffff;
  --brand: #1f4a37;
  --brand-hover: #173a2b;
  --mint: #a6e8bb;
  --mint-ink: #0f3b22;
  --ok: #1a6b3c;
  --ok-bg: #e5f5ea;
  --warn: #7a4e00;
  --warn-bg: #fbf0da;
  --bad: #a12d20;
  --info: #33557a;
  --info-bg: #eaf0f6;
  --focus: #2f6b4f;
  --viz-2: #4f8a6a;
  --chart-fill: rgba(31, 74, 55, 0.07);
  --paper: #ffffff;
  --paper-ink: #1c1f1d;
  --bezel: #1c1d1b;
  --shadow-xs: 0 1px 2px rgba(28, 31, 29, 0.06);
  --shadow-window: 0 1px 2px rgba(28, 31, 29, 0.05), 0 28px 70px -30px rgba(28, 31, 29, 0.22);
  --shadow-overlay: 0 1px 2px rgba(28, 31, 29, 0.06), 0 16px 48px rgba(28, 31, 29, 0.16);

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --wrap: 1160px;
  --gutter: 20px;
  --header-h: 60px;
}

/* Dark: warm graphite, the brand turns to a soft green carrying dark ink. */
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #1a1a18;
    --surface: #212220;
    --surface-2: #1d1e1c;
    --sunken: #171816;
    --track: #2d2f2b;
    --line: #2f312d;
    --line-strong: #3e413c;
    --wash: rgba(236, 237, 232, 0.05);
    --overlay-soft: rgba(0, 0, 0, 0.4);
    --ink: #ecede8;
    --ink-2: #c4c7c0;
    --ink-3: #a0a49c;
    --ink-4: #8d9189;
    --on-brand: #0e1f16;
    --brand: #8fcfa6;
    --brand-hover: #a9dcbb;
    --ok: #79cf9b;
    --ok-bg: rgba(121, 207, 155, 0.12);
    --warn: #e5b866;
    --warn-bg: rgba(229, 184, 102, 0.12);
    --bad: #f0907f;
    --info: #94b6dd;
    --info-bg: rgba(148, 182, 221, 0.12);
    --focus: #8fcfa6;
    --viz-2: #6fb68b;
    --chart-fill: rgba(143, 207, 166, 0.08);
    --paper: #f4f3ee;
    --bezel: #2c2d2a;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-window: 0 0 0 1px rgba(236, 237, 232, 0.03), 0 28px 70px -30px rgba(0, 0, 0, 0.7);
    --shadow-overlay: 0 0 0 1px rgba(236, 237, 232, 0.06), 0 16px 48px rgba(0, 0, 0, 0.55);
  }
}
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1a1a18;
    --surface: #212220;
    --surface-2: #1d1e1c;
    --sunken: #171816;
    --track: #2d2f2b;
    --line: #2f312d;
    --line-strong: #3e413c;
    --wash: rgba(236, 237, 232, 0.05);
    --overlay-soft: rgba(0, 0, 0, 0.4);
    --ink: #ecede8;
    --ink-2: #c4c7c0;
    --ink-3: #a0a49c;
    --ink-4: #8d9189;
    --on-brand: #0e1f16;
    --brand: #8fcfa6;
    --brand-hover: #a9dcbb;
    --ok: #79cf9b;
    --ok-bg: rgba(121, 207, 155, 0.12);
    --warn: #e5b866;
    --warn-bg: rgba(229, 184, 102, 0.12);
    --bad: #f0907f;
    --info: #94b6dd;
    --info-bg: rgba(148, 182, 221, 0.12);
    --focus: #8fcfa6;
    --viz-2: #6fb68b;
    --chart-fill: rgba(143, 207, 166, 0.08);
    --paper: #f4f3ee;
    --bezel: #2c2d2a;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-window: 0 0 0 1px rgba(236, 237, 232, 0.03), 0 28px 70px -30px rgba(0, 0, 0, 0.7);
    --shadow-overlay: 0 0 0 1px rgba(236, 237, 232, 0.06), 0 16px 48px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote {
  margin: 0;
}
ol, ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
code {
  font-family: var(--font-mono);
  font-size: 0.86em;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection {
  background: var(--mint);
  color: var(--mint-ink);
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: var(--on-brand);
}
.skip:focus {
  top: 12px;
}
.num,
.proof-value,
.proof-row-value,
.je-amount {
  font-variant-numeric: tabular-nums;
}

/* Single-column grids never grow wider than the screen; wider layouts override these. */
:where(.split-inner, .trio, .close-layout, .demo-layout, .columns, .limits, .routines, .footer-inner, .fund-grid, .source-layout, .match, .bridge-inner, .diag-head) {
  grid-template-columns: minmax(0, 1fr);
}
.split-copy,
.split-visual,
.trio-item,
.demo {
  min-width: 0;
}
.window-body.flush {
  overflow-x: auto;
}

/* ---------- Type ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.45rem + 5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14em;
  text-wrap: balance;
  hanging-punctuation: first last;
}
.display-2,
.headline {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.headline {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  line-height: 1.06;
  max-width: 16em;
}
.display-2 {
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.25rem);
  line-height: 1.03;
}
.lead {
  margin-top: 20px;
  font-size: clamp(1.06rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36em;
  text-wrap: pretty;
}
.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}
.kicker {
  color: var(--brand);
}
.eyebrow-dot,
.kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--mint);
  box-shadow: inset 0 0 0 1px rgba(15, 59, 34, 0.15);
}
.kicker::before {
  content: "";
}

/* ---------- Controls ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease), opacity 0.15s;
}
.button:active:not(:disabled) {
  transform: translateY(1px);
}
.button-primary {
  background: var(--brand);
  color: var(--on-brand);
}
.button-primary:hover:not(:disabled) {
  background: var(--brand-hover);
}
.button-quiet {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.button-quiet:hover {
  background: var(--sunken);
}
.button:disabled {
  opacity: 0.42;
}
.button-large {
  height: 46px;
  padding: 0 20px;
  border-radius: 11px;
  font-size: 15px;
}
.button-small {
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12px;
}
.button-block {
  width: 100%;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  transition: background 0.15s var(--ease), color 0.15s;
}
.icon-button:hover {
  background: var(--wash);
  color: var(--ink);
}
.icon-button svg {
  width: 19px;
  height: 19px;
}
.text-button {
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--ink-3);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}
.text-button:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 500;
}
.arrow-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.arrow-link:hover::after {
  transform: translateX(3px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.pill-ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.pill-warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.pill-info {
  background: var(--info-bg);
  color: var(--info);
}
.pill-verified {
  background: var(--mint);
  color: var(--mint-ink);
}
svg.check {
  flex: none;
  width: 16px;
  height: 16px;
}
svg.check rect {
  fill: var(--mint);
}
svg.check path {
  stroke: var(--mint-ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.scrolled .site-header {
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand-name {
  font-weight: 400;
  color: var(--ink-2);
}
.brand-name b {
  font-weight: 600;
  color: var(--ink);
}
.logo-mark {
  width: 19px;
  height: 19px;
  color: var(--brand);
}
.nav {
  display: none;
  gap: 4px;
  margin-left: 12px;
}
.nav a {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--wash);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.lang-switch {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.lang-switch:hover {
  background: var(--wash);
  color: var(--ink);
}
.header-cta {
  display: none;
  margin-left: 8px;
}
@media (min-width: 1040px) {
  .nav,
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Mobile menu: a panel from the right, like every record in the product. */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  background: var(--overlay-soft);
  animation: fade 0.16s var(--ease);
}
.menu-sheet[hidden] {
  display: none;
}
.menu-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(380px, 100%);
  height: 100%;
  padding: 12px 20px max(24px, env(safe-area-inset-bottom));
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-overlay);
  animation: slide 0.24s var(--ease);
  outline: none;
}
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}
.menu-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: -0.015em;
}
.menu-nav a[aria-current="page"] {
  color: var(--brand);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(40px, 7vw, 104px);
  background:
    radial-gradient(1100px 520px at 88% -8%, color-mix(in srgb, var(--mint) 22%, transparent), transparent 62%),
    radial-gradient(800px 420px at -10% 10%, color-mix(in srgb, var(--mint) 8%, transparent), transparent 60%);
}
.hero-demo {
  margin-top: clamp(40px, 6vw, 72px);
}
.steps {
  display: grid;
  gap: 0;
  margin: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 128px);
  border-top: 1px solid var(--line);
}
.steps li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.steps h2 {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.steps p {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 15px;
  max-width: 30em;
}
.step-n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .steps li {
    border-bottom: 0;
    padding: 24px 0 0;
  }
}

.demo-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--ink-3);
}
.demo-caption::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}
@media (min-width: 1000px) {
  .close-layout.run-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 72px;
    align-items: start;
  }
}
.run-copy .arrow-link {
  margin-top: 24px;
}
.capabilities {
  display: grid;
  gap: 0 40px;
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
.capabilities a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.capabilities h3 {
  font-size: 15.5px;
  font-weight: 600;
  transition: color 0.15s;
}
.capabilities h3::after {
  content: " →";
  color: var(--ink-4);
  transition: color 0.15s, margin 0.2s var(--ease);
}
.capabilities a:hover h3,
.capabilities a:hover h3::after {
  color: var(--brand);
}
.capabilities p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--ink-3);
}
@media (min-width: 640px) {
  .capabilities {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .capabilities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ai-strip {
  display: grid;
  gap: 20px 56px;
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.ai-strip-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 1.2rem + 1vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.ai-strip-points {
  display: grid;
  gap: 18px 32px;
}
.ai-strip-points h4 {
  font-size: 15px;
  font-weight: 600;
}
.ai-strip-points p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--ink-3);
}
@media (min-width: 760px) {
  .ai-strip-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .ai-strip {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
  }
  .ai-strip > p {
    grid-column: 2;
  }
}
.fig.strong {
  font-weight: 500;
}

/* ---------- Demo windows ---------- */
.demo {
  position: relative;
}
.window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--shadow-window);
  font-size: 14px;
  line-height: 1.45;
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-3);
  font-size: 12px;
}
.window-crumbs {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.window-crumbs span:last-child {
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-badge {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--ink-3);
  font-size: 11px;
}
.window-body {
  padding: 18px;
}
.window-body.flush {
  padding: 0;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 16px;
}
.card-label {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}

/* The proof demo: a fund page, and a panel that slides in with the proof. */
.proof-demo .window {
  height: 560px;
}
.fund-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.fund-head strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.fund-head small {
  font-size: 12px;
  color: var(--ink-3);
}
.fund-grid {
  display: grid;
  gap: 12px;
}
.nav-card {
  position: relative;
}
.source-value {
  display: inline-block;
  margin: 6px 0 4px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  text-decoration: underline dotted var(--ink-4);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  transition: color 0.15s;
}
.source-value:hover,
[data-state="nav"] .source-value {
  color: var(--brand);
  text-decoration-style: solid;
  text-decoration-color: currentColor;
}
.hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-size: 11px;
  font-weight: 500;
  vertical-align: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.proof-demo[data-state="idle"] .hint {
  opacity: 1;
  transform: none;
}
.facts {
  margin-top: 10px;
}
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.facts dt {
  color: var(--ink-3);
}
.facts dd {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.facts small {
  color: var(--ink-4);
  font-weight: 400;
}
.chart-card {
  display: none;
}
.chart {
  display: block;
  width: 100%;
  height: 200px;
  margin-top: 18px;
}
.chart .grid line {
  stroke: var(--line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.chart .area {
  fill: var(--chart-fill);
}
.chart .line {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.6;
}
.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-4);
}
.scrim {
  position: absolute;
  inset: 40px 0 0;
  background: var(--overlay-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.panel {
  position: absolute;
  top: 40px;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-overlay);
  opacity: 0;
  visibility: hidden;
  transform: translateX(32px);
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease), visibility 0s 0.5s, width 0.5s var(--ease);
  outline: none;
}
.proof-demo:not([data-state="idle"]) .panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease), visibility 0s, width 0.5s var(--ease);
}
.proof-demo:not([data-state="idle"]) .scrim {
  opacity: 1;
  pointer-events: auto;
}
.proof-view {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.proof-view[hidden] {
  display: none;
}
.panel-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 8px 10px 8px 20px;
  border-bottom: 1px solid var(--line);
}
.panel-head > div {
  min-width: 0;
}
.panel-head :is(h3, .panel-title) {
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.panel-head p {
  font-size: 12px;
  color: var(--ink-3);
}
.panel-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 20px 22px;
  scrollbar-width: thin;
}
.proof-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: -6px 0 -6px -6px;
  font-size: 12px;
  color: var(--ink-3);
}
.proof-trail button {
  padding: 2px 6px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--ink-3);
}
.proof-trail button:hover {
  background: var(--wash);
  color: var(--ink);
}
.proof-trail strong {
  padding: 2px 6px;
  font-weight: 500;
  color: var(--ink);
}
.proof-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.proof-value {
  margin-top: 4px;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.proof-value .ch {
  display: inline-block;
  white-space: pre;
}
.proof-meta {
  font-size: 12px;
  color: var(--ink-3);
}
.proof-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proof-section :is(h4, .proof-label),
.proof-section-head :is(h4, .proof-label) {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.proof-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.proof-section-head span {
  font-size: 12px;
  color: var(--ink-4);
}
.proof-formula {
  font-size: 15px;
  line-height: 1.45;
}
.proof-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
}
.proof-rows {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.proof-rows li + li {
  border-top: 1px solid var(--line);
}
.proof-rows :is(button, div) {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 0;
  background: var(--surface);
  text-align: left;
  font-size: 13px;
}
.proof-rows button {
  transition: background 0.15s;
}
.proof-rows button:hover {
  background: var(--surface-2);
}
.proof-rows button .proof-row-label strong {
  color: var(--brand);
}
.proof-row-label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.proof-row-label strong {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.proof-row-label small {
  font-size: 11px;
  color: var(--ink-3);
}
svg.share {
  display: none;
  width: 72px;
  height: 4px;
}
.share-track {
  fill: var(--track);
}
.share-fill {
  fill: var(--viz-2);
  transform-box: fill-box;
  transform-origin: left center;
}
.share.negative .share-fill {
  fill: var(--bad);
  opacity: 0.7;
}
.proof-row-value {
  text-align: right;
  white-space: nowrap;
}
.chev {
  width: 14px;
  height: 14px;
  color: var(--ink-4);
}
.proof-total {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
@media (min-width: 520px) {
  .proof-rows :is(button, div) {
    grid-template-columns: minmax(0, 1fr) 72px minmax(110px, auto) 14px;
  }
  svg.share {
    display: block;
  }
}

/* Source view: the document beside its proof. */
.source-layout {
  display: grid;
  gap: 18px;
}
.source-proof {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.proof-quote {
  padding: 10px 14px;
  border-left: 3px solid var(--mint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--surface-2);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.55;
}
.proof-integrity {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.proof-integrity svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--ok);
}
.proof-integrity code {
  color: var(--ink-2);
}
.doc-frame {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sunken);
}
.doc-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12px;
  color: var(--ink-3);
}
.doc-toolbar span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc-canvas {
  padding: 16px;
}
.doc-page {
  padding: 22px 24px 28px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  font-size: 11px;
  line-height: 1.6;
}
.doc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e2dc;
  font-size: 12px;
}
.doc-top small {
  margin-left: auto;
  color: #6b6f69;
}
.doc-mono {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #1f4a37;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
}
.doc-title {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.1;
}
.doc-sub {
  color: #6b6f69;
}
.doc-band {
  margin: 12px 0;
  padding: 5px 8px;
  background: #e8f1ea;
  color: #3c5a47;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.doc-heading {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}
.doc-lines div {
  display: flex;
  gap: 4px;
}
.doc-lines dt::after {
  content: ":";
}
.doc-lines mark {
  padding: 1px 3px;
  border-radius: 2px;
  background: var(--mint);
  color: var(--mint-ink);
  box-shadow: 0 0 0 3px rgba(166, 232, 187, 0.45);
}

/* Steps under the proof demo. */
.demo-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 14px;
}
.demo-steps ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.demo-steps ol button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px 0 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  color: var(--ink-3);
  font-size: 13px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.demo-steps ol button:hover {
  color: var(--ink);
}
.demo-steps .step-n {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 11px;
}
.demo-steps button[aria-current="step"] {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.demo-steps button[aria-current="step"] .step-n,
.demo-steps button.passed .step-n {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--mint-ink);
}

@media (min-width: 760px) {
  .proof-demo .window {
    height: 600px;
  }
  .window-body {
    padding: 22px;
  }
  .fund-grid {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .chart-card {
    display: block;
  }
  .panel {
    width: min(560px, 74%);
  }
  .proof-demo[data-state="source"] .panel {
    width: 90%;
  }
  .source-layout {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: start;
  }
  .panel-body {
    padding: 20px 24px 24px;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(72px, 10vw, 136px) 0;
  border-top: 1px solid var(--line);
}
.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.split-inner {
  display: grid;
  gap: 48px;
}
.points {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.points li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.points h3,
.side-note h3,
.trio-item h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.points p,
.side-note p,
.trio-item > p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-3);
  text-wrap: pretty;
}
.split-copy .arrow-link {
  margin-top: 24px;
}
.visual-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}
.stack {
  display: grid;
  gap: 16px;
}
@media (min-width: 1000px) {
  .split-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 72px;
    align-items: start;
  }
  .split.reverse .split-copy {
    order: 2;
  }
  .split-visual {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* ---------- Four-eyes voucher ---------- */
.voucher .window-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.segmented {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--sunken);
}
.segmented-label {
  padding: 0 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.segmented button {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 10px 6px 6px;
  border: 0;
  border-radius: 9px;
  background: none;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-3);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.segmented button small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-4);
}
.segmented button[aria-checked="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--track);
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
}
[aria-checked="true"] .avatar {
  background: var(--brand);
  color: var(--on-brand);
}
.je-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.je-amount {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.je-balance {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.je-balance svg.check {
  width: 14px;
  height: 14px;
}
.je-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--line);
}
.je-facts div {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.je-facts dt {
  font-size: 11px;
  color: var(--ink-3);
}
.je-facts dd {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.je-lines {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  font-size: 13px;
}
.je-lines th,
.je-lines td {
  padding: 9px 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.je-lines thead th {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.je-lines tbody th {
  text-align: left;
  font-weight: 400;
}
.je-lines tbody tr + tr > * {
  border-top: 1px solid var(--line);
}
.je-lines code {
  margin-right: 6px;
  color: var(--ink-3);
}
.je-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.note {
  flex: 1 1 220px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
}
.note-warn {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--warn);
}
.note[hidden] {
  display: none;
}
.je-trail {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.je-trail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.je-trail-head :is(h4, .je-trail-title) {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.events li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 6px 0;
  font-size: 12px;
  color: var(--ink-2);
}
.events li + li {
  border-top: 1px dashed var(--line);
}
.events time {
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
}
.events .hash {
  grid-column: 1 / -1;
  color: var(--ink-4);
  font-size: 11px;
}
.events li[hidden] {
  display: none;
}
.events li.fresh {
  animation: flash 1.6s var(--ease);
}
.chain {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ok);
}
.chain svg.check {
  width: 14px;
  height: 14px;
}
@media (min-width: 560px) {
  .events li {
    grid-template-columns: 130px minmax(0, 1fr) 64px 100px;
  }
  .events .hash {
    grid-column: auto;
    text-align: right;
  }
}

/* ---------- Close ---------- */
.close-layout {
  display: grid;
  gap: 40px;
}
.close-side {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  align-content: start;
}
.side-note {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .close-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 56px;
  }
}
.close-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.close-period {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.close-progress {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  width: min(340px, 72vw);
  margin: 10px 0 8px;
}
.close-progress i {
  height: 6px;
  border-radius: 3px;
  background: var(--track);
  transition: background 0.3s var(--ease);
}
.close-progress i.on {
  background: var(--brand);
}
.close-meta {
  font-size: 12px;
  color: var(--ink-3);
}
.close-meta [hidden] {
  display: none;
}
.close-demo [data-busy][hidden],
.close-demo [data-label][hidden] {
  display: none;
}
.close-step {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 14px;
  padding-bottom: 16px;
}
.close-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 13.5px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: var(--line-strong);
}
.close-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background 0.3s var(--ease), border-color 0.3s;
}
.close-mark svg.check {
  position: absolute;
  inset: 5px;
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.close-mark svg.check rect {
  fill: none;
}
.close-step.done .close-mark {
  border-color: var(--mint);
  background: var(--mint);
}
.close-step.done .close-mark > span {
  opacity: 0;
}
.close-step.done .close-mark svg.check {
  opacity: 1;
  transform: none;
}
.close-body :is(h4, .close-name) {
  font-size: 14px;
  font-weight: 600;
}
.close-body p {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.45;
}
.close-status {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.close-status [hidden] {
  display: none;
}
.close-step.done .close-status {
  background: var(--ok-bg);
  color: var(--ok);
}
.close-step.done:last-child .close-status {
  background: var(--info-bg);
  color: var(--info);
}
@media (min-width: 560px) {
  .close-step {
    grid-template-columns: 28px minmax(0, 1fr) auto;
  }
  .close-status {
    grid-column: 3;
    grid-row: 1;
  }
}

/* ---------- AI ---------- */
.mail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.mail-from {
  font-size: 12px;
  color: var(--ink-3);
}
.mail-subject {
  font-size: 15px;
  font-weight: 600;
}
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 8px 4px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 12px;
  color: var(--ink-2);
}
.file-chip svg {
  width: 15px;
  height: 15px;
  color: var(--ink-3);
}
.proposal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.spark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(166, 232, 187, 0.35);
}
.fields {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.fields {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--surface);
}
.fields th,
.fields td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.fields thead th {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
}
.fields tbody tr + tr > * {
  border-top: 1px solid var(--line);
}
.fields tbody th {
  font-weight: 400;
  color: var(--ink-3);
  white-space: nowrap;
}
.fields td.num {
  font-weight: 500;
}
.fields td small {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
}
.fields td small.ok {
  color: var(--ok);
}
.fields td small svg.check {
  width: 12px;
  height: 12px;
}
.fields q {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  quotes: none;
  overflow-wrap: anywhere;
}
.fields q + small {
  display: inline;
  color: var(--ink-4);
}
.fields thead th:nth-child(3),
.fields tbody td:nth-child(3) {
  display: none;
}
@media (min-width: 560px) {
  .fields thead th:nth-child(3),
  .fields tbody td:nth-child(3) {
    display: table-cell;
  }
}
.proposal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
}
.gate-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.gate-facts dt {
  font-size: 11px;
  color: var(--ink-3);
}
.gate-facts dd {
  font-size: 12.5px;
  font-weight: 500;
}
.gate-criteria {
  margin: 0;
  padding: 0 14px;
  border-top: 0;
}
.gate-criteria li:last-child {
  border-bottom: 0;
}
.share-mark {
  fill: var(--ink-3);
}
.gate-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}
.gate-demo .window,
.mini .window {
  background: var(--surface);
}

/* ---------- Assurance ---------- */
.trio {
  display: grid;
  gap: 48px;
}
.trio-item {
  display: flex;
  flex-direction: column;
}
.trio-item .demo {
  margin-top: 20px;
}
@media (min-width: 1000px) {
  .trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  .trio-item > p {
    min-height: 6.6em;
  }
}
.parallel li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.parallel-name {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.parallel-delta {
  font-size: 11px;
  color: var(--ink-3);
}
.parallel-delta strong {
  font-weight: 500;
  color: var(--ok);
  font-variant-numeric: tabular-nums;
}
.parallel-values {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  font-size: 11px;
  color: var(--ink-4);
}
.parallel-values b {
  font-weight: 400;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.mini-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--ink-2);
}
.mini-foot svg.check {
  width: 14px;
  height: 14px;
}
.register li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.register li:last-child {
  border-bottom: 0;
}
.register code {
  font-size: 10.5px;
  color: var(--ink-3);
}
.register-name small {
  display: block;
  font-size: 11px;
  color: var(--ink-4);
}
.manifest li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
}
.manifest .hash {
  color: var(--ink-4);
}
.manifest span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.readiness {
  display: grid;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.readiness-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.readiness-marks span {
  padding: 6px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.readiness-title {
  font-size: 17px;
  font-weight: 600;
}
.readiness p + p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-3);
  max-width: 44em;
}
@media (min-width: 760px) {
  .readiness {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    padding: 28px 32px;
  }
}

/* ---------- Today on a phone ---------- */
.checklist {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
}
.phone-stage {
  display: flex;
  justify-content: center;
}
.phone {
  width: min(320px, 100%);
  padding: 10px;
  border-radius: 50px;
  background: var(--bezel);
  box-shadow: var(--shadow-window), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone-screen {
  overflow: hidden;
  border-radius: 40px;
  background: var(--bg);
  height: 600px;
}
.phone-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 26px 6px;
  font-size: 12px;
  font-weight: 600;
}
.phone-status span:last-child {
  text-align: right;
  font-size: 7px;
  letter-spacing: 1px;
}
.phone-island {
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: #0b0b0a;
}
.phone-body {
  padding: 14px 16px;
}
.phone-hello {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.phone-date {
  font-size: 11px;
  color: var(--ink-3);
}
.phone-banner {
  margin: 14px 0 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--info-bg);
  color: var(--info);
  font-size: 12px;
  font-weight: 500;
}
.phone-section {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}
.phone-section span {
  color: var(--ink-4);
  font-weight: 400;
}
.phone-list {
  display: grid;
  gap: 8px;
}
.phone-list li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.phone-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
}
.phone-row strong {
  font-weight: 600;
}
.phone-row .num {
  white-space: nowrap;
}
.phone-list small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-3);
}
.phone-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 10px;
}

/* ---------- Closing call to action ---------- */
.cta {
  padding: clamp(80px, 11vw, 152px) 0;
  border-top: 1px solid var(--line);
  background: var(--sunken);
}
.cta-inner .lead {
  max-width: 34em;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-inner {
  display: grid;
  gap: 32px;
}
.footer-brand p {
  margin-top: 10px;
  max-width: 22em;
  color: var(--ink-3);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav h2 {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-4);
}
.footer-nav a {
  color: var(--ink-2);
}
.footer-nav a:hover {
  color: var(--ink);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-4);
}
@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ---------- Inner pages ---------- */
.page-hero {
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1000px 460px at 90% -10%, color-mix(in srgb, var(--mint) 18%, transparent), transparent 62%),
    radial-gradient(700px 360px at -10% 0%, color-mix(in srgb, var(--mint) 6%, transparent), transparent 60%);
}
.legal-page,
.message-page {
  background: none;
}
.page-hero .display {
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);
  max-width: 13.5em;
}
.page-hero-visual {
  margin-top: clamp(40px, 6vw, 64px);
}
/* The product page keeps its sections at hand: a quiet bar under the header,
   the current section marked as you read. */
.toc {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  margin-bottom: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.toc-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 48px;
}
.toc-label {
  flex: none;
  font-size: 12.5px;
  color: var(--ink-4);
}
.toc-list {
  display: flex;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}
.toc-list::-webkit-scrollbar {
  display: none;
}
.toc-list a {
  display: block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s;
}
.toc-list a:hover {
  color: var(--ink);
}
.toc-list a[aria-current="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--line);
}
:root:has(.toc) {
  scroll-padding-top: calc(var(--header-h) + 64px);
}
@media (max-width: 759px) {
  .toc-label {
    display: none;
  }
}
.columns {
  display: grid;
  gap: 40px;
}
.column-title {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}
.columns .checklist {
  margin-top: 0;
}
.checklist li {
  align-items: flex-start;
}
.checklist svg.check {
  margin-top: 4px;
}
.aside-note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}
@media (min-width: 760px) {
  .columns {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.access-table tbody th small {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
}
.access-table .role,
.access-table thead th:nth-child(2) {
  display: none;
}
@media (min-width: 1200px), (min-width: 560px) and (max-width: 999px) {
  .access-table .role,
  .access-table thead th:nth-child(2) {
    display: table-cell;
  }
  .access-table tbody th small {
    display: none;
  }
}
.frameworks {
  margin-top: clamp(48px, 6vw, 72px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.frameworks-title {
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 600;
}
.frameworks dl {
  display: grid;
  gap: 16px;
}
.frameworks dt {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 9px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.frameworks dd {
  font-size: 15px;
  color: var(--ink-3);
}
@media (min-width: 760px) {
  .frameworks {
    padding: 28px 32px;
  }
  .frameworks dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}
.limits {
  display: grid;
  gap: 32px;
}
.limits-list {
  border-top: 1px solid var(--line);
}
.limits-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-2);
}
.limits-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 24px;
  width: 10px;
  height: 1.5px;
  background: var(--ink-4);
}
@media (min-width: 1000px) {
  .limits {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 72px;
  }
}

.nevers {
  display: grid;
  border-top: 1px solid var(--line);
}
.nevers li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.never-mark {
  grid-row: span 2;
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1.5px solid var(--bad);
  border-radius: 50%;
  opacity: 0.8;
}
.never-mark::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 50%;
  height: 1.5px;
  background: var(--bad);
  transform: rotate(-45deg);
}
.nevers h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.nevers p {
  font-size: 15px;
  color: var(--ink-3);
}
@media (min-width: 760px) {
  .nevers li {
    grid-template-columns: 28px minmax(0, 5fr) minmax(0, 6fr);
    align-items: baseline;
  }
  .never-mark {
    grid-row: auto;
    align-self: center;
    margin-top: 0;
  }
}
.quad {
  display: grid;
  gap: 0 40px;
  border-top: 1px solid var(--line);
}
.quad li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.quad h3 {
  font-size: 16px;
  font-weight: 600;
}
.quad p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-3);
}
@media (min-width: 760px) {
  .quad {
    grid-template-columns: 1fr 1fr;
  }
}
.routines {
  display: grid;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.routines .column-title {
  margin-bottom: 4px;
}
.routines-lead {
  font-size: 15px;
  color: var(--ink-3);
}
.routines .points {
  margin-top: 0;
}
.routines .points li:last-child {
  border-bottom: 0;
}
@media (min-width: 900px) {
  .routines {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 48px;
    padding: 28px 32px;
  }
}

/* Demo request. */
.demo-layout {
  display: grid;
  gap: 48px;
}
.demo-page .display {
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem);
}
.demo-subtitle {
  margin-top: 36px;
}
.demo-for {
  font-size: 15px;
  color: var(--ink-3);
  max-width: 32em;
}
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-window);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-size: 13px;
  font-weight: 500;
}
.optional {
  font-weight: 400;
  color: var(--ink-4);
}
.field small {
  font-size: 12px;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea {
  resize: vertical;
  min-height: 104px;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.field :is(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent);
}
.field-row {
  display: grid;
  gap: 16px;
}
.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-privacy {
  font-size: 12.5px;
  color: var(--ink-3);
}
.form-privacy a,
.prose a,
.mail-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
  .demo-form {
    padding: 28px;
  }
}
@media (min-width: 1000px) {
  .demo-layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 72px;
  }
}

/* Short message pages and the legal notice. */
.message-page {
  min-height: 56vh;
}
.prose {
  max-width: calc(760px + 2 * var(--gutter));
}
.prose .display {
  font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem);
  margin-bottom: 24px;
}
.prose h2 {
  margin: 48px 0 12px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.prose p {
  color: var(--ink-2);
  margin-bottom: 12px;
}
.legal-facts {
  border-top: 1px solid var(--line);
}
.legal-facts div {
  display: grid;
  gap: 2px 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.legal-facts dt {
  font-size: 14px;
  font-weight: 500;
}
.legal-facts dd {
  font-size: 15px;
  color: var(--ink-2);
}
@media (min-width: 640px) {
  .legal-facts div {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}
.todo {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed var(--warn);
  border-radius: 6px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 13px;
}

.exact {
  margin-top: clamp(40px, 5vw, 56px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.exact .checklist {
  margin-top: 0;
}
@media (min-width: 900px) {
  .exact .checklist {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
}
.pay-flow {
  display: grid;
  gap: 0;
  padding: 6px 14px 4px;
}
.pay-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 7px 0;
  font-size: 12.5px;
}
.pay-flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 10.5px;
  top: 29px;
  bottom: -5px;
  width: 1px;
  background: var(--line-strong);
}
.pay-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
}
.pay-mark svg.check {
  width: 14px;
  height: 14px;
}
.pay-mark svg.check rect {
  fill: none;
}
.pay-flow strong {
  font-weight: 500;
  margin-right: 8px;
}
.pay-flow small {
  font-size: 11.5px;
  color: var(--ink-3);
}
.grid-links {
  display: grid;
  gap: 12px;
}
.grid-links a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color 0.15s, transform 0.2s var(--ease);
}
.grid-links a:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.grid-links h3 {
  font-size: 16px;
  font-weight: 600;
}
.grid-links p {
  font-size: 14.5px;
  color: var(--ink-3);
}
.grid-links .arrow-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
}
@media (min-width: 640px) {
  .grid-links {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .grid-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Trust: each block, a heading beside its answers. */
.trust-block {
  display: grid;
  gap: 28px;
}
.trust-head .lead {
  margin-top: 16px;
}
.trust-body .points {
  margin-top: 0;
}
.trust-more {
  margin-top: 22px;
}
.trust-body .readiness-marks {
  margin-top: 4px;
}
@media (min-width: 1000px) {
  .trust-block {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: start;
  }
  .trust-head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}
.not-yet .never-mark {
  border: 1.5px dashed var(--ink-4);
  opacity: 1;
}
.not-yet .never-mark::after {
  display: none;
}
@media (min-width: 760px) {
  .trust-body .nevers li {
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: baseline;
  }
  .trust-body .nevers p {
    grid-column: 2;
  }
  .trust-body .never-mark {
    grid-row: span 2;
    align-self: start;
    margin-top: 4px;
  }
}
.trust-body .nevers h3 {
  font-size: 20px;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 18px 36px 18px 0;
  font-size: 16.5px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink-3);
  transition: transform 0.3s var(--ease);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq summary:hover {
  color: var(--brand);
}
.faq details p {
  padding: 0 36px 20px 0;
  font-size: 15.5px;
  color: var(--ink-3);
  text-wrap: pretty;
}
.faq details[open] p {
  animation: rise 0.35s var(--ease) both;
}

/* Product map, drawn as the product's own navigation. */
.map li {
  display: grid;
  gap: 2px 24px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.map li:last-child {
  border-bottom: 0;
}
.map-name {
  font-size: 14px;
  font-weight: 500;
}
.map-text {
  font-size: 13px;
  color: var(--ink-3);
}
.map li.active {
  background: var(--wash);
}
.map-group {
  padding: 14px 16px 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-4);
}
.product-map .window {
  background: var(--surface);
}
@media (min-width: 760px) {
  .map li {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: baseline;
  }
}

/* Allocation and waterfall tables. */
.call-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--line);
}
.call-total .pill {
  border-radius: 10px;
  height: auto;
  min-height: 22px;
  padding: 3px 8px;
  white-space: normal;
}
.call-total .je-amount {
  font-size: 26px;
}
.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.ledger-table th,
.ledger-table td {
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.ledger-table thead th {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--surface-2);
}
.ledger-table tbody th {
  font-weight: 400;
}
.ledger-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 479px) {
  .ledger-table th,
  .ledger-table td {
    padding: 7px 10px;
    font-size: 12px;
  }
  .ledger-table .narrow-hide {
    display: none;
  }
}
@media (max-width: 399px) {
  .ledger-table th,
  .ledger-table td {
    padding: 7px 8px;
    font-size: 11.5px;
  }
}
.ledger-table tr.total > * {
  font-weight: 600;
  border-bottom-color: var(--line-strong);
}
.ledger-table td:nth-child(2) {
  color: var(--ink-3);
}
.ledger-table tr.total td:nth-child(2) {
  color: var(--ink);
}
.terms {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}
.mini-foot.muted {
  display: block;
  color: var(--ink-3);
  line-height: 1.5;
}
.tree li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.tree li.depth-1 {
  padding-left: 38px;
  position: relative;
}
.tree li.depth-1::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 50%;
  width: 10px;
  border-left: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-bottom-left-radius: 4px;
}
.tree-name {
  font-weight: 500;
  min-width: 0;
}
.tree-name small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--ink-3);
}

/* A bank match and its score. */
.match {
  display: grid;
  gap: 10px;
  align-items: center;
}
.match-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.match-side small {
  font-size: 11px;
  color: var(--ink-3);
}
.match-side strong {
  font-size: 18px;
  font-weight: 500;
}
.match-side span {
  font-size: 11.5px;
  color: var(--ink-3);
}
.match-link {
  justify-self: center;
  color: var(--ink-4);
}
.criteria {
  margin: 16px 0 12px;
  border-top: 1px solid var(--line);
}
.criteria li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 60px;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.criteria svg.share {
  display: block;
}
.criteria .num {
  text-align: right;
  color: var(--ink-3);
}
.criteria-total strong {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}
@media (min-width: 560px) {
  .match {
    grid-template-columns: 1fr auto 1fr;
  }
}

/* The copilot and its sources. */
.copilot-demo .window-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bubble {
  align-self: flex-end;
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--sunken);
  font-size: 13.5px;
}
.answer p {
  font-size: 14px;
  line-height: 1.6;
}
.source-figure {
  text-decoration: underline dotted var(--ink-4);
  text-underline-offset: 4px;
  font-weight: 500;
}
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.source-list li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 11.5px;
  color: var(--ink-2);
}
.source-list svg {
  width: 13px;
  height: 13px;
  color: var(--ink-3);
}

/* The audit chain, verified link by link. */
.chain-list li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
}
.chain-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 10.5px;
  top: 24px;
  bottom: 2px;
  width: 1px;
  background: var(--line-strong);
}
.chain-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: background 0.3s, border-color 0.3s;
}
.chain-mark svg.check {
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.25s;
}
.chain-mark svg.check rect {
  fill: none;
}
.chain-list li.ok .chain-mark {
  border-color: var(--mint);
  background: var(--mint);
}
.chain-list li.ok .chain-mark svg.check {
  opacity: 1;
}
.chain-list div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  font-size: 13px;
}
.chain-list div > code {
  font-weight: 500;
}
.chain-list small {
  flex-basis: 100%;
  font-size: 11px;
  color: var(--ink-4);
}
.chain-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.chain-result {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 240px;
  font-size: 12.5px;
  color: var(--ok);
}

/* ---------- Administrator check ---------- */
.diagnostic .window {
  background: var(--surface);
}
.diag-head {
  display: grid;
  gap: 14px 32px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--line);
}
.diag-amount {
  font-size: clamp(38px, 7vw, 60px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.diag-amount .fig {
  text-underline-offset: 8px;
}
.diag-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-3);
}
.diag-facts {
  display: grid;
  gap: 4px;
  align-content: end;
  font-size: 13.5px;
  color: var(--ink-2);
}
.diag-facts dd {
  font-size: 12.5px;
  color: var(--ink-3);
}
.diag-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.diag-table th,
.diag-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
.diag-table th:first-child {
  padding-left: 20px;
}
.diag-table td:last-child {
  padding-right: 20px;
  text-align: right;
}
.diag-table thead th {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--surface-2);
}
.diag-table thead th:last-child {
  text-align: right;
}
.diag-table tbody th {
  font-weight: 400;
  line-height: 1.45;
}
.diag-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.diag-table tr.explained :is(th, td.num) {
  color: var(--ink-3);
  font-weight: 400;
}
.diag-notes {
  display: grid;
  gap: 6px;
  padding: 14px 20px 16px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.diag-notes li {
  position: relative;
  padding-left: 16px;
}
.diag-notes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 7px;
  height: 1.5px;
  background: var(--ink-4);
}
.diagnostic.compact .diag-amount {
  font-size: clamp(34px, 5vw, 48px);
}
@media (min-width: 760px) {
  .diag-head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    padding: 26px 24px 20px;
  }
  .diag-facts {
    justify-items: end;
    text-align: right;
  }
  .diag-table th:first-child {
    padding-left: 24px;
  }
  .diag-table td:last-child {
    padding-right: 24px;
  }
}
@media (max-width: 559px) {
  .diag-table thead th:last-child,
  .diag-table td:last-child {
    display: none;
  }
  .diag-table .num {
    padding-right: 20px;
  }
}
.journey {
  display: grid;
  gap: 0;
  counter-reset: none;
  border-top: 1px solid var(--line);
}
.journey li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 2px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.journey-n {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--mint);
  background: color-mix(in srgb, var(--mint) 35%, transparent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
}
.journey h3 {
  font-size: 16px;
  font-weight: 600;
}
.journey p {
  font-size: 15px;
  color: var(--ink-3);
  text-wrap: pretty;
}
@media (min-width: 1000px) {
  .journey {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    border-top: 0;
  }
  .journey li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0 0;
    border-bottom: 0;
    border-top: 1px solid var(--line);
  }
  .journey-n {
    grid-row: auto;
  }
}
.terms-table tbody th small {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
}
.report-page {
  padding: 26px 26px 22px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  font-size: 12.5px;
  line-height: 1.55;
}
.report-kicker {
  font-size: 11px;
  color: #6b6f69;
}
.report-title {
  margin: 6px 0 14px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.report-contents {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e3e2dc;
}
.report-contents li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
}
.report-contents .step-n {
  color: #62675f;
}
.report-sign {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 14px 0 10px;
}
.report-sign .wide {
  grid-column: 1 / -1;
}
.report-sign dt {
  font-size: 10.5px;
  color: #6b6f69;
}
.report-sign dd {
  font-weight: 600;
}
.report-sign code {
  font-weight: 400;
  font-size: 11px;
}
.report-seal {
  font-size: 11px;
  color: #6b6f69;
}
.report-note {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
}
.bridge-inner {
  display: grid;
  gap: 16px 72px;
  align-items: start;
}
.bridge-inner .lead {
  margin-top: 0;
}
.bridge-inner .arrow-link {
  margin-top: 16px;
}
@media (min-width: 1000px) {
  .bridge-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

/* ---------- Proof panels ----------
   Every figure opens its proof in a native popover that slides in from the
   right, like the panels of the product. No script is needed to open one. */
.fig {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: none;
  color: inherit;
  font: inherit;
  font-variant-numeric: tabular-nums;
  text-align: inherit;
  text-decoration: underline dotted var(--ink-4);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 0.15s var(--ease), text-decoration-color 0.15s;
}
.fig:hover {
  color: var(--brand);
  text-decoration-style: solid;
  text-decoration-color: currentColor;
}
.fig:focus-visible {
  outline-offset: 3px;
}
.sheet {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(560px, 100vw);
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-overlay);
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.25s var(--ease),
    transform 0.45s var(--ease),
    overlay 0.45s allow-discrete,
    display 0.45s allow-discrete;
}
.sheet:popover-open {
  display: flex;
  opacity: 1;
  transform: none;
}
@starting-style {
  .sheet:popover-open {
    opacity: 0;
    transform: translateX(32px);
  }
}
.sheet::backdrop {
  background: var(--overlay-soft);
  opacity: 0;
  transition: opacity 0.3s var(--ease), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}
.sheet:popover-open::backdrop {
  opacity: 1;
}
@starting-style {
  .sheet:popover-open::backdrop {
    opacity: 0;
  }
}
.sheet .panel-body {
  padding: 20px 24px 28px;
}
.sheet:popover-open .proof-rows li {
  animation: rise 0.4s var(--ease) both;
}
.sheet:popover-open .proof-rows li:nth-child(2) { animation-delay: 0.04s; }
.sheet:popover-open .proof-rows li:nth-child(3) { animation-delay: 0.08s; }
.sheet:popover-open .proof-rows li:nth-child(4) { animation-delay: 0.12s; }
.sheet:popover-open .proof-rows li:nth-child(5) { animation-delay: 0.16s; }
.sheet:popover-open .proof-rows li:nth-child(n + 6) { animation-delay: 0.2s; }
.sheet:popover-open .share-fill {
  animation: grow 0.8s var(--ease) 0.15s both;
}
.sheet:popover-open .proof-total {
  animation: rise 0.4s var(--ease) 0.45s both;
}
.sheet-compare {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--ink-2);
}
.sheet-compare strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.sheet-sources {
  display: grid;
  gap: 10px;
}
.sheet-doc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.sheet-doc svg {
  flex: none;
  width: 14px;
  height: 14px;
}
.sheet-doc span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet-doc small {
  margin-left: auto;
  flex: none;
  font-size: 11px;
  color: var(--ink-4);
}
.sheet-quote {
  padding: 9px 12px;
  border-left: 3px solid var(--mint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sheet-quote.prose-quote {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
}
.sheet-quote mark {
  padding: 0 2px;
  border-radius: 2px;
  background: var(--mint);
  color: var(--mint-ink);
}
@media (prefers-reduced-motion: reduce) {
  .sheet,
  .sheet::backdrop {
    transition: none;
  }
}

/* ---------- Motion ---------- */
@view-transition {
  navigation: auto;
}
.site-header {
  view-transition-name: site-header;
}
::view-transition-old(root) {
  animation: 0.22s var(--ease) both vt-out;
}
::view-transition-new(root) {
  animation: 0.32s var(--ease) both vt-in;
}
@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.panel-body,
.sheet .panel-body {
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes slide {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@keyframes resolve {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(4px);
  }
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}
@keyframes flash {
  0% {
    background: color-mix(in srgb, var(--mint) 55%, transparent);
  }
  100% {
    background: transparent;
  }
}
.resolving .ch {
  animation: resolve 0.55s var(--ease) both;
  animation-delay: calc(var(--i) * 32ms);
}
.entering .proof-head,
.entering .proof-section,
.entering .proof-trail,
.entering .source-layout > * {
  animation: rise 0.45s var(--ease) both;
}
.entering .proof-section:nth-of-type(2) {
  animation-delay: 0.08s;
}
.entering .proof-section:nth-of-type(3) {
  animation-delay: 0.16s;
}
.entering .proof-rows li {
  animation: rise 0.4s var(--ease) both;
}
.entering .proof-rows li:nth-child(1) { animation-delay: 0.22s; }
.entering .proof-rows li:nth-child(2) { animation-delay: 0.27s; }
.entering .proof-rows li:nth-child(3) { animation-delay: 0.32s; }
.entering .proof-rows li:nth-child(4) { animation-delay: 0.37s; }
.entering .proof-rows li:nth-child(5) { animation-delay: 0.42s; }
.entering .proof-rows li:nth-child(6) { animation-delay: 0.47s; }
.entering .proof-rows li:nth-child(7) { animation-delay: 0.52s; }
.entering .share-fill {
  animation: grow 0.8s var(--ease) 0.35s both;
}
.entering .proof-total {
  animation: rise 0.45s var(--ease) 0.95s both;
}
.entering .source-layout > :nth-child(2) {
  animation-delay: 0.12s;
}
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js [data-sequence] .seq {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.js [data-sequence].play .seq {
  opacity: 1;
  transform: none;
}
.js [data-sequence].play .seq:nth-child(2) { transition-delay: 0.25s; }
.js [data-sequence].play .seq:nth-child(3) { transition-delay: 0.5s; }
.js [data-sequence].play .seq:nth-child(4) { transition-delay: 0.75s; }
.js [data-sequence].play .seq:nth-child(5) { transition-delay: 1s; }
.js [data-sequence].play .proposal-foot { transition-delay: 1.35s; }
.js [data-sequence].play tr.seq:nth-child(1) { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
.sheet .proof-row-label strong {
  white-space: normal;
}
