/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("ea69bc3b-9bcd-4f73-bc11-876754c489da.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("8e670792-72dd-4edb-bd05-6fcf8738e104.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("e9dda07e-1e61-4af9-a201-0d9c0749740a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("49e271a3-ec65-464c-a1d1-243e54892047.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("14e969fb-fb73-499d-96bf-cf940e5c4715.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("d65abd8a-69eb-492b-aa9b-fba6db8c7a65.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("56b41514-1252-4837-9f81-d4f11fe4db0c.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("83683272-057f-4241-bb4d-5ecab60b72ed.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("c1df22a0-4e41-4913-b191-2b7909ef4eb8.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("9ed181f4-ec82-4608-9f16-ae8c60835d38.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("04dd40bc-911d-4178-825d-ed2659a1376a.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("f61c904d-e58e-4982-b982-3cf95cb3fa3b.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("a8184e25-2c6c-42ff-8c30-d3720d4c021f.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("710b1c07-ed82-43a3-90a6-c1ea44281dfc.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("a1104314-792d-4d09-83a3-a559e796f79a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("428ac5d6-6396-4d11-bafc-c5dee5090d9a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("04dd40bc-911d-4178-825d-ed2659a1376a.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("f61c904d-e58e-4982-b982-3cf95cb3fa3b.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("a8184e25-2c6c-42ff-8c30-d3720d4c021f.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("710b1c07-ed82-43a3-90a6-c1ea44281dfc.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("a1104314-792d-4d09-83a3-a559e796f79a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("428ac5d6-6396-4d11-bafc-c5dee5090d9a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("04dd40bc-911d-4178-825d-ed2659a1376a.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("f61c904d-e58e-4982-b982-3cf95cb3fa3b.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("a8184e25-2c6c-42ff-8c30-d3720d4c021f.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("710b1c07-ed82-43a3-90a6-c1ea44281dfc.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("a1104314-792d-4d09-83a3-a559e796f79a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("428ac5d6-6396-4d11-bafc-c5dee5090d9a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---- next block ---- */

/* =========================================================================
   Clai Insights — Landing styles. Cream paper hero, dark memory band,
   return to paper for surfaces + security + cta. Echoes Clai Landing.
   ========================================================================= */

html { scroll-behavior: auto; scroll-padding-top: 96px; }

:root {
  --paper:        #F6F4EE;
  --paper-2:      #FBFAF6;
  --paper-3:      #ECE7DA;
  --ink:          #17201C;
  --ink-2:        #2C342F;
  --ink-mute:     #5E6B64;
  --ink-dim:      #8E978F;
  --hair:         rgba(20,30,25,0.10);
  --hair-2:       rgba(20,30,25,0.18);
  --hair-soft:    rgba(20,30,25,0.06);
  --green:        #2F8F5E;
  --green-deep:   #1E6B43;
  --green-soft:   rgba(47,143,94,0.10);
  --green-tile:   rgba(68,186,130,0.18);
  --amber:        #E5B64A;
  --amber-soft:   rgba(229,182,74,0.20);
  --amber-deep:   #8A6513;
  --highlight:    rgba(229,182,74,0.55);
  --peach:        #E5694A;
  --peach-soft:   rgba(229,105,74,0.14);
  --sky:          #6DA8E5;
  --sky-soft:     rgba(109,168,229,0.16);
  --lilac:        #A891E3;
  --lilac-soft:   rgba(168,145,227,0.18);

  --bank-bg:      #0E1110;
  --bank-bg-2:    #141818;
  --bank-surface: rgba(255,255,255,0.05);
  --bank-surface-2: rgba(255,255,255,0.08);
  --bank-border:  rgba(255,255,255,0.10);
  --bank-text:    #ECEFED;
  --bank-mute:    #9BA39F;

  --font-sans:  "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Instrument Serif", "Fraunces", ui-serif, Georgia, serif;

  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
  overflow-x: hidden;
}
::selection { background: rgba(229,182,74,0.40); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
em { font-style: italic; font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.005em; }

.eyebrow {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(47,143,94,0.12);
}
.eyebrow--paper { color: rgba(255,255,255,0.7); }
.eyebrow--paper::before { background: #7FDCA7; box-shadow: 0 0 0 4px rgba(127,220,167,0.14); }
.eyebrow--amber { color: var(--amber-deep); }
.eyebrow--amber::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(229,182,74,0.18); }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.mono  { font-family: var(--font-mono); }

.shell { max-width: var(--max-w); margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(246,244,238,0.7);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease;
}
.nav.is-stuck { background: rgba(246,244,238,0.92); border-bottom-color: var(--hair); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.nav__logo svg { width: 24px; height: 24px; color: var(--ink); }
.nav__logo b { font-weight: 600; letter-spacing: -0.01em; font-size: 18px; }
.nav__logo .tag {
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-deep);
  padding: 3px 7px; border: 1px solid rgba(47,143,94,0.35);
  background: rgba(47,143,94,0.06);
  border-radius: 4px; margin-left: 4px;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 14px; color: var(--ink-mute); transition: color 160ms ease; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  background: var(--ink); color: var(--paper);
  border-radius: 999px; border: 0;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  transition: transform 160ms ease, background 160ms ease;
}
.nav__cta:hover { background: var(--green-deep); transform: translateY(-1px); }
.nav__cta svg { width: 14px; height: 14px; }
@media (max-width: 880px) { .nav__links { display: none; } }

/* ============ HERO ============ */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(60px, 6vw, 88px); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -120px -10% auto -10%; height: 720px;
  background:
    radial-gradient(620px 320px at 78% 18%, rgba(229,182,74,0.18), transparent 70%),
    radial-gradient(520px 280px at 12% 70%, rgba(68,186,130,0.14), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__l { display: flex; flex-direction: column; gap: 24px; max-width: 600px; }
.hero__pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: rgba(255,255,255,0.55);
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.hero__pill .nub {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber); color: white;
  display: inline-grid; place-items: center;
}
.hero__pill .nub svg { width: 10px; height: 10px; }
.hero__pill em { font-style: normal; color: var(--ink); }

.hero__h1 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5.4vw, 74px);
  line-height: 0.98; letter-spacing: -0.035em;
  font-weight: 500; margin: 0; text-wrap: balance;
}
.hero__h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--ink); }
.hero__h1-emph {
  display: inline-block;
  background: linear-gradient(180deg, var(--ink) 0%, var(--green-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55;
  color: var(--ink-mute); max-width: 56ch; margin: 0; text-wrap: pretty;
}
.hero__lede b { color: var(--ink); font-weight: 500; }

.hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 22px; height: 52px;
  border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  transition: transform 200ms cubic-bezier(0.22,1,0.36,1),
              box-shadow 220ms ease, background 200ms ease;
}
.btn--primary {
  background: var(--ink); color: white;
  box-shadow: 0 10px 28px rgba(20,30,25,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--green-deep); box-shadow: 0 14px 32px rgba(30,107,67,0.32); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hair-2);
}
.btn--ghost:hover { background: rgba(20,30,25,0.04); border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; }

.hero__trust {
  display: flex; align-items: center; gap: 18px; margin-top: 16px;
  font: 500 12px/1 var(--font-mono); color: var(--ink-mute); letter-spacing: 0.06em;
  flex-wrap: wrap;
}
.hero__trust .dot { color: var(--ink-dim); }
.hero__trust b { color: var(--ink); font-weight: 500; }

.hero__r { position: relative; min-height: 540px; }

/* ============ Section scaffolding ============ */
.section { position: relative; padding: clamp(80px, 9vw, 144px) 0; }
.section__hd {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end; margin-bottom: 60px;
}
@media (max-width: 880px) { .section__hd { grid-template-columns: 1fr; } }
.section__title {
  font-size: clamp(32px, 4.2vw, 56px); line-height: 1.0; letter-spacing: -0.03em;
  font-weight: 500; margin: 12px 0 0; text-wrap: balance;
}
.section__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.section__sub {
  font-size: 17px; line-height: 1.55; color: var(--ink-mute);
  margin: 0; max-width: 50ch; text-wrap: pretty;
}

/* ============ Bank (dark) ============ */
.bank {
  background: var(--bank-bg); color: var(--bank-text);
  position: relative; overflow: hidden;
}
.bank::before {
  content: ""; position: absolute; inset: -1px 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127,220,167,0.4), transparent);
}
.bank .section__title { color: var(--bank-text); }
.bank .section__sub { color: var(--bank-mute); }
.bank__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 540px at 80% 10%, rgba(68,186,130,0.10), transparent 60%),
    radial-gradient(700px 460px at 10% 80%, rgba(229,182,74,0.06), transparent 60%);
  pointer-events: none;
}
.bank .shell { position: relative; }

/* ============ How-types-of-questions grid (3 up) ============ */
.qs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .qs { grid-template-columns: 1fr; } }
.q {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 26px 26px 24px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 420px; overflow: hidden;
  transition: transform 240ms cubic-bezier(0.22,1,0.36,1),
              border-color 240ms ease, box-shadow 240ms ease;
}
.q:hover {
  transform: translateY(-3px);
  border-color: var(--hair-2);
  box-shadow: 0 18px 40px rgba(20,30,25,0.06);
}
.q__h {
  display: flex; align-items: center; gap: 10px;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.q__icon {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
  background: var(--green-tile); color: var(--green-deep);
}
.q[data-tone="amber"] .q__icon { background: var(--amber-soft); color: var(--amber-deep); }
.q[data-tone="sky"] .q__icon { background: var(--sky-soft); color: #1A5FA0; }
.q[data-tone="lilac"] .q__icon { background: var(--lilac-soft); color: #5b48a8; }
.q[data-tone="peach"] .q__icon { background: var(--peach-soft); color: #A8452B; }
.q__t {
  font-size: 22px; line-height: 1.18; font-weight: 500;
  letter-spacing: -0.01em; color: var(--ink); margin: 4px 0 0;
}
.q__t em { font-family: var(--font-serif); font-style: italic; }
.q__d { font-size: 14px; line-height: 1.5; color: var(--ink-mute); text-wrap: pretty; }

/* Surfaces strip */
.surfaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) { .surfaces { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .surfaces { grid-template-columns: 1fr; } }
.surf {
  position: relative;
  border: 1px solid var(--hair);
  background: var(--paper-2);
  border-radius: 18px;
  padding: 24px 22px 22px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
  transition: transform 240ms ease, border-color 240ms ease;
}
.surf:hover { transform: translateY(-2px); border-color: var(--hair-2); }
.surf__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.surf__icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--ink); color: white; flex: none;
}
.surf__icon svg { width: 18px; height: 18px; }
.surf__pill {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
}
.surf__pill--live { background: var(--green-soft); color: var(--green-deep); border: 1px solid rgba(47,143,94,0.25); }
.surf__pill--soon { background: var(--amber-soft); color: var(--amber-deep); border: 1px solid rgba(229,182,74,0.4); }
.surf__t {
  font-size: 22px; font-weight: 500; line-height: 1.15;
  letter-spacing: -0.01em; margin: 0;
}
.surf__t em { font-family: var(--font-serif); font-style: italic; }
.surf__d { font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); margin: 0; }

/* Stats / numbers */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--hair); border-radius: 18px;
  background: var(--paper-2); overflow: hidden;
}
@media (max-width: 880px) { .stats { grid-template-columns: 1fr; } }
.stat { padding: 30px 26px; border-right: 1px solid var(--hair); }
.stat:last-child { border-right: 0; }
@media (max-width: 880px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--hair); }
  .stat:last-child { border-bottom: 0; }
}
.stat__k {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.stat__k::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.stat__v {
  font-size: clamp(40px, 4.4vw, 60px); line-height: 0.96;
  letter-spacing: -0.035em; font-weight: 500; color: var(--ink);
  display: flex; align-items: baseline; gap: 4px;
}
.stat__v small { font-size: 0.42em; color: var(--ink-mute); font-weight: 400; }
.stat__d { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--ink-mute); max-width: 30ch; }

/* CTA */
.cta { position: relative; padding: clamp(64px, 8vw, 120px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.cta__glow {
  position: absolute; inset: -100px -10% auto -10%; height: 600px;
  background:
    radial-gradient(640px 360px at 30% 30%, rgba(229,182,74,0.20), transparent 70%),
    radial-gradient(560px 320px at 80% 70%, rgba(68,186,130,0.18), transparent 70%);
  pointer-events: none;
}
.cta__card {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  background: var(--paper-2);
  border: 1px solid var(--hair-2);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 30px 80px rgba(20,30,25,0.08);
}
@media (max-width: 980px) { .cta__card { grid-template-columns: 1fr; } }
.cta__l { display: flex; flex-direction: column; gap: 18px; }
.cta__l h2 {
  font-size: clamp(32px, 4.2vw, 56px); line-height: 0.98; letter-spacing: -0.03em;
  font-weight: 500; margin: 8px 0 0;
}
.cta__l h2 em { font-family: var(--font-serif); font-style: italic; }
.cta__l p { color: var(--ink-mute); margin: 0; max-width: 42ch; }
.cta__bullets { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding: 0; }
.cta__bullets li {
  list-style: none; display: flex; align-items: center; gap: 10px; font-size: 14px;
}
.cta__bullets svg { width: 16px; height: 16px; color: var(--green-deep); flex: none; }

.form { display: flex; flex-direction: column; gap: 12px;
  background: var(--paper); border: 1px solid var(--hair); border-radius: 18px; padding: 22px; }
.form__head {
  display: flex; align-items: center; gap: 10px;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: 4px;
}
.form__head .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; }
.form__head .pulse::after {
  content:""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green); animation: ringPulse 1.6s ease-out infinite;
}
@keyframes ringPulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute);
}
.input {
  height: 44px; border-radius: 12px; border: 1px solid var(--hair-2);
  padding: 0 14px; background: var(--paper-2);
  font: 400 15px/1 var(--font-sans); color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,143,94,0.16); background: var(--paper); }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form__submit {
  height: 50px; border-radius: 12px; border: 0;
  background: var(--green); color: white;
  font: 500 15px/1 var(--font-sans);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 6px; transition: background 160ms ease, transform 160ms ease;
}
.form__submit:hover { background: var(--green-deep); transform: translateY(-1px); }
.form__foot {
  font-size: 11px; color: var(--ink-mute); text-align: center; margin-top: 4px;
  font-family: var(--font-mono); letter-spacing: 0.04em;
}

/* Footer */
.footer { background: var(--bank-bg); color: var(--bank-text); padding: 64px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 36ch; }
.footer__brand .lo { display: flex; align-items: center; gap: 10px; }
.footer__brand .lo svg { width: 26px; height: 26px; color: white; }
.footer__brand .lo b { font-weight: 600; font-size: 18px; }
.footer__brand p { color: var(--bank-mute); margin: 0; font-size: 14px; }
.footer__col h6 {
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bank-mute); margin: 6px 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,0.78); transition: color 160ms ease; }
.footer__col a:hover { color: white; }
.footer__bottom {
  margin-top: 56px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--bank-mute); flex-wrap: wrap; gap: 12px;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 800ms cubic-bezier(0.22,1,0.36,1), transform 800ms cubic-bezier(0.22,1,0.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }


/* ---- next block ---- */

/* =========================================================================
   Clai Insights — Visuals (chat, citation, extraction, surfaces)
   ========================================================================= */

/* ============ HERO chat preview ============ */
.chat {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: 0 30px 80px rgba(20,30,25,0.08);
  overflow: hidden;
}
.chat::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 240px at 80% -10%, rgba(229,182,74,0.10), transparent 70%);
  pointer-events: none;
}
.chat__head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 16px;
}
.chat__avatar {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--ink); color: white;
  display: grid; place-items: center; flex: none;
}
.chat__avatar svg { width: 14px; height: 14px; }
.chat__title { font: 500 13px/1 var(--font-sans); color: var(--ink); flex: 1; }
.chat__title small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }
.chat__pill {
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-deep); padding: 5px 9px;
  background: rgba(47,143,94,0.08); border: 1px solid rgba(47,143,94,0.25);
  border-radius: 999px;
}

.chat__body { display: flex; flex-direction: column; gap: 14px; position: relative; }

.bubble--q {
  align-self: flex-end;
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  background: var(--ink); color: white;
  font: 500 14.5px/1.45 var(--font-sans); letter-spacing: -0.005em;
  text-wrap: pretty;
}
.bubble--q em { color: white; }

.bubble--a {
  align-self: flex-start; max-width: 96%;
  padding: 14px 16px;
  border-radius: 16px 16px 16px 4px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--hair);
  font: 400 14.5px/1.55 var(--font-sans);
  color: var(--ink);
}
.bubble--a b { color: var(--green-deep); font-weight: 600; }
.bubble--a em { font-style: italic; font-family: var(--font-serif); }
.bubble--a .hl {
  background: linear-gradient(180deg, transparent 60%, var(--highlight) 60%);
  padding: 0 2px; border-radius: 2px;
}
.bubble--a .src {
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.06em;
  color: var(--green-deep);
  padding: 6px 10px; border-radius: 999px;
  background: var(--green-soft); border: 1px solid rgba(47,143,94,0.20);
}
.bubble--a .src svg { width: 12px; height: 12px; }

/* Inline PDF cite preview attached to answer */
.pdf-cite {
  margin-top: 10px;
  border: 1px solid var(--hair); border-radius: 12px;
  background: var(--paper);
  display: flex; align-items: stretch; gap: 0;
  overflow: hidden; cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}
.pdf-cite:hover { border-color: var(--green); transform: translateY(-1px); }
.pdf-cite__page {
  flex: none; width: 96px;
  background: linear-gradient(180deg, #fff, #faf8f1);
  border-right: 1px solid var(--hair);
  position: relative; padding: 10px 8px;
}
.pdf-cite__page .ln { height: 3px; border-radius: 2px; background: rgba(20,30,25,0.13); margin: 4px 0; }
.pdf-cite__page .ln.is-hl { background: var(--highlight); }
.pdf-cite__body { flex: 1; padding: 12px 14px; min-width: 0; }
.pdf-cite__title { font: 500 13px/1.25 var(--font-sans); color: var(--ink); }
.pdf-cite__sub {
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.06em;
  color: var(--ink-mute); margin-top: 4px;
}
.pdf-cite__quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 13px; line-height: 1.4; color: var(--ink-2);
  margin-top: 8px;
  border-left: 2px solid var(--amber);
  padding-left: 10px;
}

.chat__input {
  margin-top: 14px;
  height: 44px; border-radius: 12px;
  border: 1px solid var(--hair-2);
  background: var(--paper);
  display: flex; align-items: center; padding: 0 14px; gap: 10px;
  color: var(--ink-dim);
  font-size: 14px;
}
.chat__input svg { width: 16px; height: 16px; color: var(--ink-mute); }
.chat__input .caret {
  display: inline-block; width: 1.5px; height: 16px;
  background: var(--green-deep); margin-left: 1px;
  animation: caret 1s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.chat__deals {
  position: absolute;
  right: -22px; top: 90px;
  display: flex; flex-direction: column; gap: 6px;
  font: 500 10.5px/1 var(--font-mono); color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.chat__deals span {
  background: var(--paper-2); border: 1px solid var(--hair);
  padding: 6px 10px; border-radius: 999px;
  white-space: nowrap;
}

/* ============ Upload-to-data section ============ */
.u2d { display: grid; grid-template-columns: 1fr 36px 1fr; align-items: stretch; gap: 18px; min-height: 360px; position: relative; }
@media (max-width: 880px) { .u2d { grid-template-columns: 1fr; } }
.u2d__col {
  border: 1px solid var(--hair); border-radius: 18px;
  background: var(--paper-2);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: visible;
}
.u2d__col:first-child { z-index: 3; }
.u2d__lbl {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 8px;
}
.u2d__lbl svg { width: 13px; height: 13px; }
.u2d__lbl .count {
  margin-left: auto;
  background: var(--green-soft); color: var(--green-deep);
  padding: 3px 8px; border-radius: 999px; font-size: 10px;
}

/* Pile of papers */
.pile { position: relative; flex: 1; min-height: 240px; padding: 8px; overflow: visible; }
.pile__paper {
  position: absolute; left: 50%; top: 50%;
  width: 56%; aspect-ratio: 4/5;
  background: white; border: 1px solid var(--hair-2); border-radius: 6px;
  box-shadow: 0 8px 18px rgba(20,30,25,0.06);
  padding: 10px;
  transform-origin: 50% 50%;
  transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) rotate(var(--r, 0deg));
  animation: paperFly 6s cubic-bezier(0.55, 0.05, 0.25, 1) infinite both;
  animation-delay: calc(var(--i, 0) * -1.2s);
  animation-play-state: paused;
}
.u2d.is-active .pile__paper { animation-play-state: running; }
.pile__paper::after {
  /* scan beam — slides across the topmost paper just before it lifts */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg,
    transparent 35%,
    rgba(47,143,94,0.0) 42%,
    rgba(47,143,94,0.55) 50%,
    rgba(127,220,167,0.0) 58%,
    transparent 65%);
  background-size: 240% 100%;
  background-position: 110% 0%;
  opacity: 0;
  pointer-events: none;
  animation: paperScan 6s linear infinite both;
  animation-delay: calc(var(--i, 0) * -1.2s);
  animation-play-state: paused;
  mix-blend-mode: multiply;
}
.u2d.is-active .pile__paper::after { animation-play-state: running; }
.pile__paper .ln { height: 3px; border-radius: 2px; background: rgba(20,30,25,0.10); margin: 3.5px 0; width: 80%; }
.pile__paper .ln.t { width: 40%; background: rgba(20,30,25,0.20); margin-bottom: 6px; }
.pile__paper .ln.s { width: 50%; }

@keyframes paperFly {
  0%, 78% {
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) rotate(var(--r, 0deg)) scale(1);
    opacity: 1;
    box-shadow: 0 8px 18px rgba(20,30,25,0.06);
  }
  82% {
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px) - 26px)) rotate(0deg) scale(1.04);
    opacity: 1;
    box-shadow: 0 22px 40px rgba(20,30,25,0.16);
  }
  88% {
    transform: translate(calc(-50% + 180px), calc(-50% - 30px)) rotate(8deg) scale(0.55);
    opacity: 0.9;
    box-shadow: 0 16px 30px rgba(47,143,94,0.22);
  }
  93% {
    transform: translate(calc(-50% + 320px), calc(-50% - 6px)) rotate(2deg) scale(0.18);
    opacity: 0;
    box-shadow: 0 0 0 rgba(0,0,0,0);
  }
  93.01%, 99.9% {
    transform: translate(calc(-50% + 320px), calc(-50% - 6px)) rotate(2deg) scale(0.18);
    opacity: 0;
  }
  100% {
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) rotate(var(--r, 0deg)) scale(1);
    opacity: 1;
  }
}

@keyframes paperScan {
  0%, 74%        { background-position: 130% 0%; opacity: 0; }
  76%            { background-position: 130% 0%; opacity: 0.9; }
  80%            { background-position: -30% 0%; opacity: 0.9; }
  82%            { background-position: -30% 0%; opacity: 0; }
  100%           { background-position: -30% 0%; opacity: 0; }
}

/* Data sparks — bright dot trails from pile to table, one per paper */
.u2d__sparks {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none; z-index: 2;
}
.spark {
  position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  left: 0; top: 50%;
  background: radial-gradient(circle, #7FDCA7 0%, var(--green) 60%, transparent 75%);
  box-shadow: 0 0 18px rgba(47,143,94,0.55), 0 0 4px rgba(127,220,167,0.9);
  opacity: 0;
  animation: sparkFly 6s cubic-bezier(0.45, 0.05, 0.3, 1) infinite both;
  animation-delay: calc(var(--i, 0) * -1.2s);
  animation-play-state: paused;
}
.u2d.is-active .spark { animation-play-state: running; }
.spark::before {
  content: ""; position: absolute; left: -28px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(127,220,167,0.7));
}
@keyframes sparkFly {
  0%, 86%  { left: 28%;  top: 50%; opacity: 0; transform: scale(0.4); }
  88%      { left: 32%;  top: 48%; opacity: 1; transform: scale(1); }
  92%      { left: 60%;  top: 50%; opacity: 1; transform: scale(0.9); }
  96%      { left: 86%;  top: var(--landY, 50%); opacity: 0.9; transform: scale(0.6); }
  98%      { left: 92%;  top: var(--landY, 50%); opacity: 0; transform: scale(0.2); }
  100%     { left: 28%;  top: 50%; opacity: 0; transform: scale(0.4); }
}

/* Structured table */
.tbl { flex: 1; display: flex; flex-direction: column; }
.tbl__hd {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 10px; padding: 10px 12px;
  background: var(--paper-3);
  border: 1px solid var(--hair);
  border-radius: 10px 10px 0 0;
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.tbl__row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 10px; padding: 10px 12px;
  border: 1px solid var(--hair); border-top: 0;
  background: white;
  font-size: 12.5px;
  align-items: center;
  opacity: 0; transform: translateY(8px);
  animation: rowIn 700ms cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: calc(840ms + var(--j, 0) * 1200ms);
  animation-play-state: paused;
  position: relative;
}
.u2d.is-active .tbl__row { animation-play-state: running; }
.tbl__row::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  border-radius: inherit; pointer-events: none;
  box-shadow: inset 3px 0 0 var(--green);
  opacity: 0;
  animation: rowFlash 1200ms ease-out both;
  animation-delay: calc(840ms + var(--j, 0) * 1200ms);
  animation-play-state: paused;
}
.u2d.is-active .tbl__row::before { animation-play-state: running; }
@keyframes rowFlash {
  0%   { opacity: 0; background: rgba(47,143,94,0.0); }
  20%  { opacity: 1; background: rgba(47,143,94,0.14); }
  60%  { opacity: 1; background: rgba(47,143,94,0.06); }
  100% { opacity: 0; background: rgba(47,143,94,0.0); }
}
.tbl__row:last-child { border-radius: 0 0 10px 10px; }
.tbl__row b { color: var(--ink); font-weight: 500; font-size: 13px; }
.tbl__row .pill {
  display: inline-flex; align-items: center;
  font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.06em;
  padding: 4px 8px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-deep);
  border: 1px solid rgba(47,143,94,0.20);
  width: fit-content;
}
.tbl__row .pill--amber { background: var(--amber-soft); color: var(--amber-deep); border-color: rgba(229,182,74,0.40); }
.tbl__row .pill--sky   { background: var(--sky-soft); color: #1A5FA0; border-color: rgba(109,168,229,0.30); }
.tbl__row .pill--lilac { background: var(--lilac-soft); color: #5b48a8; border-color: rgba(168,145,227,0.30); }
.tbl__row .date { font-family: var(--font-mono); color: var(--ink-2); font-size: 11.5px; }
.tbl__row .who  { color: var(--ink-mute); font-size: 12px; }

@keyframes rowIn { to { opacity: 1; transform: none; } }

.u2d__arrow {
  display: grid; place-items: center; color: var(--green-deep);
  position: relative;
}
.u2d__arrow svg {
  width: 22px; height: 22px;
  animation: arrowPulse 1.2s ease-in-out infinite;
  animation-play-state: paused;
}
.u2d.is-active .u2d__arrow svg { animation-play-state: running; }
@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50%      { transform: translateX(4px); opacity: 1; }
}
@media (max-width: 880px) { .u2d__arrow { transform: rotate(90deg); height: 36px; } }

/* ============ Citation section ============ */
.cite-pair {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px;
  align-items: stretch;
}
@media (max-width: 980px) { .cite-pair { grid-template-columns: 1fr; } }

.cite-chat {
  border: 1px solid var(--hair); border-radius: 22px;
  background: var(--paper-2);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.cite-chat .bubble--a .src { cursor: pointer; transition: background 160ms ease; }
.cite-chat .bubble--a .src:hover { background: rgba(47,143,94,0.16); }

.viewer {
  border: 1px solid var(--hair); border-radius: 22px;
  background: white; overflow: hidden;
  display: flex; flex-direction: column; min-height: 480px;
  box-shadow: 0 20px 50px rgba(20,30,25,0.08);
}
.viewer__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hair);
  background: var(--paper-2);
  font: 500 12px/1 var(--font-sans); color: var(--ink);
}
.viewer__bar .file { display: flex; align-items: center; gap: 8px; }
.viewer__bar .file svg { width: 14px; height: 14px; color: var(--ink-mute); }
.viewer__bar .file b { font-weight: 500; }
.viewer__bar .page {
  margin-left: auto;
  font: 500 11px/1 var(--font-mono); color: var(--ink-mute); letter-spacing: 0.08em;
}
.viewer__page {
  flex: 1; padding: 28px 32px;
  background: white;
  position: relative;
  font: 400 13.5px/1.65 var(--font-sans);
  color: var(--ink-2);
  overflow: hidden;
}
.viewer__page h4 {
  font: 500 14px/1.25 var(--font-sans);
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 14px;
}
.viewer__page p { margin: 0 0 12px; text-wrap: pretty; }
.viewer__page .clause {
  position: relative;
  padding: 8px 10px;
  margin: 0 -10px 12px;
  border-radius: 6px;
  background: rgba(229,182,74,0.18);
  outline: 2px solid rgba(229,182,74,0.55);
  outline-offset: -2px;
  animation: pulseHi 2.4s ease-in-out infinite;
}
@keyframes pulseHi {
  0%, 100% { background: rgba(229,182,74,0.18); }
  50%      { background: rgba(229,182,74,0.32); }
}
.viewer__page .clause-tag {
  position: absolute; top: -10px; right: 10px;
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: white; background: var(--amber-deep);
  padding: 4px 8px; border-radius: 999px;
}
.viewer__page .anchor-line {
  position: absolute; left: -1px;
  width: 3px; background: var(--amber-deep);
  border-radius: 0 2px 2px 0;
}
.viewer__page .ln-fade { color: var(--ink-dim); }

/* ============ Computed value visual ============ */
.computed {
  display: flex; flex-direction: column; gap: 12px; flex: 1;
  margin-top: auto;
}
.computed__chip {
  font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.06em;
  color: var(--ink-mute); padding: 6px 10px; border-radius: 999px;
  background: white; border: 1px solid var(--hair);
  align-self: flex-start;
}
.computed__num {
  font-size: 56px; line-height: 0.96; font-weight: 500;
  letter-spacing: -0.03em; color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--font-sans);
}
.computed__num em {
  font-family: var(--font-serif); font-style: italic; color: var(--green-deep);
  font-weight: 400;
}
.computed__num small { font-size: 14px; font-family: var(--font-mono); color: var(--ink-mute); font-weight: 400; }
.computed__bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.computed__bars span {
  flex: 1; background: var(--green-soft); border-radius: 3px 3px 0 0;
  border-top: 2px solid var(--green);
  animation: barRise 1200ms cubic-bezier(0.22,1,0.36,1) both;
}
.computed__bars span:nth-child(1) { height: 30%; animation-delay: 0ms; }
.computed__bars span:nth-child(2) { height: 55%; animation-delay: 80ms; }
.computed__bars span:nth-child(3) { height: 42%; animation-delay: 160ms; }
.computed__bars span:nth-child(4) { height: 68%; animation-delay: 240ms; }
.computed__bars span:nth-child(5) { height: 85%; animation-delay: 320ms; background: var(--green); border-top-color: var(--green-deep); }
@keyframes barRise { from { height: 0; opacity: 0; } }

/* Status visual */
.status-vis { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.status-vis__row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  background: white; border: 1px solid var(--hair);
  font-size: 13px;
}
.status-vis__row .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.status-vis__row .dot--g { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.status-vis__row .dot--a { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.status-vis__row .dot--p { background: var(--peach); box-shadow: 0 0 0 3px var(--peach-soft); }
.status-vis__row .when {
  margin-left: auto; font: 500 11px/1 var(--font-mono);
  color: var(--ink-mute); letter-spacing: 0.06em;
}

/* Clause visual */
.clause-vis { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.clause-vis__h {
  display: flex; align-items: center; gap: 8px;
  font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.clause-vis__quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
  padding: 10px 12px; border-left: 2px solid var(--peach);
  background: white; border-radius: 0 10px 10px 0;
}
.clause-vis__quote .hl { background: var(--highlight); padding: 0 2px; border-radius: 2px; }
.clause-vis__verdict {
  display: flex; align-items: center; gap: 8px;
  font: 500 11.5px/1.4 var(--font-sans); color: var(--ink);
  padding: 8px 10px; border-radius: 8px;
  background: var(--peach-soft); border: 1px solid rgba(229,105,74,0.25);
}
.clause-vis__verdict svg { width: 14px; height: 14px; color: #A8452B; }

/* ============ Bank: deals indexed (dark) ============ */
.bank-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 36px; align-items: center;
}
@media (max-width: 980px) { .bank-grid { grid-template-columns: 1fr; } }
.bank-shelf {
  position: relative;
  border: 1px solid var(--bank-border);
  border-radius: 22px; padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  min-height: 460px;
}
.bank-shelf__h {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bank-mute);
}
.bank-shelf__h .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.bank-shelf__rows { display: grid; gap: 8px; }
.bshelf-row {
  display: grid; grid-template-columns: 36px 1.4fr 1fr 0.8fr 0.7fr;
  gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--bank-border);
  font-size: 12.5px;
}
.bshelf-row .ic {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(68,186,130,0.14); color: #7FDCA7;
  display: grid; place-items: center;
}
.bshelf-row .ic svg { width: 14px; height: 14px; }
.bshelf-row[data-tone="amber"] .ic { background: rgba(229,182,74,0.18); color: var(--amber); }
.bshelf-row[data-tone="sky"] .ic { background: rgba(109,168,229,0.18); color: var(--sky); }
.bshelf-row[data-tone="lilac"] .ic { background: rgba(168,145,227,0.18); color: var(--lilac); }
.bshelf-row[data-tone="peach"] .ic { background: rgba(229,105,74,0.18); color: var(--peach); }
.bshelf-row b { color: var(--bank-text); font-weight: 500; }
.bshelf-row .meta {
  font: 500 10.5px/1.3 var(--font-mono); letter-spacing: 0.06em;
  color: var(--bank-mute);
}
.bshelf-row .pill {
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(68,186,130,0.12); color: #7FDCA7;
  border: 1px solid rgba(68,186,130,0.22); width: fit-content;
}
.bshelf-row .pill--amber { background: rgba(229,182,74,0.12); color: var(--amber); border-color: rgba(229,182,74,0.30); }
.bshelf-row .pill--sky { background: rgba(109,168,229,0.12); color: var(--sky); border-color: rgba(109,168,229,0.30); }
.bshelf-row .pill--lilac { background: rgba(168,145,227,0.12); color: var(--lilac); border-color: rgba(168,145,227,0.30); }
.bshelf-row .pill--peach { background: rgba(229,105,74,0.12); color: var(--peach); border-color: rgba(229,105,74,0.30); }
.bshelf-row .when {
  font: 500 10.5px/1 var(--font-mono); color: var(--bank-mute); letter-spacing: 0.04em;
}

.bank-shelf__counter {
  position: absolute; right: 24px; top: 24px;
  font: 500 10.5px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bank-mute);
}
.bank-shelf__counter b { display: block; color: var(--bank-text); font-size: 26px; letter-spacing: -0.02em;
  font-family: var(--font-sans); font-weight: 500; margin-top: 4px; }

/* Bank copy side */
.bank-copy ul {
  list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px;
}
.bank-copy li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--bank-border);
  background: rgba(255,255,255,0.03);
  font: 500 14px/1.45 var(--font-sans); color: var(--bank-text);
}
.bank-copy li svg { width: 16px; height: 16px; color: #7FDCA7; flex: none; margin-top: 2px; }

/* Surface visuals */
.surf__viz {
  margin-top: auto;
  border: 1px solid var(--hair); border-radius: 12px;
  background: var(--paper);
  padding: 12px; min-height: 90px;
  font: 500 12.5px/1.45 var(--font-sans); color: var(--ink-2);
  position: relative; overflow: hidden;
}
.surf__viz .who {
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 6px;
}
.surf__viz .reply {
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed var(--hair-2);
  color: var(--ink-mute); font-size: 12px;
}
.surf__viz .reply b { color: var(--green-deep); font-weight: 500; }
.surf__viz .wave {
  display: flex; align-items: center; gap: 3px; height: 24px;
}
.surf__viz .wave span {
  display: block; width: 3px; border-radius: 2px;
  background: var(--green); animation: waveBob 1.2s ease-in-out infinite;
}
.surf__viz .wave span:nth-child(odd) { animation-delay: 0.2s; }
.surf__viz .wave span:nth-child(3n) { animation-delay: 0.4s; background: var(--green-deep); }
.surf__viz .wave span:nth-child(1) { height: 30%; }
.surf__viz .wave span:nth-child(2) { height: 60%; }
.surf__viz .wave span:nth-child(3) { height: 80%; }
.surf__viz .wave span:nth-child(4) { height: 100%; }
.surf__viz .wave span:nth-child(5) { height: 70%; }
.surf__viz .wave span:nth-child(6) { height: 90%; }
.surf__viz .wave span:nth-child(7) { height: 40%; }
.surf__viz .wave span:nth-child(8) { height: 65%; }
.surf__viz .wave span:nth-child(9) { height: 25%; }
.surf__viz .wave span:nth-child(10) { height: 55%; }
@keyframes waveBob {
  0%, 100% { transform: scaleY(0.6); }
  50%      { transform: scaleY(1.0); }
}

/* ============ Security band ============ */
.sec {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
}
@media (max-width: 980px) { .sec { grid-template-columns: 1fr; gap: 32px; } }
.sec__rules {
  display: grid; gap: 12px;
  border: 1px solid var(--hair); border-radius: 18px;
  background: var(--paper-2);
  padding: 22px;
}
.sec__rule {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--hair);
}
.sec__rule .ic {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
  background: rgba(20,30,25,0.06); color: var(--ink);
}
.sec__rule .ic svg { width: 16px; height: 16px; }
.sec__rule b { font-weight: 500; font-size: 14px; display: block; color: var(--ink); }
.sec__rule p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-mute); }
.sec__rule .pill {
  margin-left: auto; font: 500 10px/1 var(--font-mono); letter-spacing: 0.14em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-deep); border: 1px solid rgba(47,143,94,0.25);
  flex: none;
}

/* Type ribbon under hero */
.types-ribbon {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
}
.types-ribbon .lbl { color: var(--ink); }
.types-ribbon .chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--hair);
  color: var(--ink-2);
}
.types-ribbon .chip .swatch {
  width: 8px; height: 8px; border-radius: 50%;
}
