/* ═══════════════════════════════════════════════════════════════
   MyWallet — Website design system  (v8 · editorial)
   Paper canvas, ink type, one brand colour (the app's indigo).
   Serif display (Newsreader) + grotesk text (Hanken Grotesk).
   ═══════════════════════════════════════════════════════════════ */

/* ── 0. Fonts (self-hosted, SIL Open Font License 1.1; see /assets/fonts/LICENSE.txt) ── */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans Bengali";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-bengali.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1;
}
@font-face {
  font-family: "Noto Serif Bengali";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-bengali.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1;
}
/* Just the letters of "বাংলা" for the language switch, so English pages skip the full Bengali font */
@font-face {
  font-family: "MW Lang";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/bangla-label.woff2") format("woff2");
  unicode-range: U+0982, U+09AC, U+09B2, U+09BE;
}
@font-face {
  font-family: "MW Taka";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/taka.woff2") format("woff2");
  unicode-range: U+09F3;
}

/* ── 1. Tokens ─────────────────────────────────────────────── */
:root {
  color-scheme: light;

  --paper: #f8f7f4;
  --paper-2: #f1efea;
  --white: #ffffff;
  --ink: #101014;
  --ink-2: #45454f;
  --ink-3: #66666f;
  --line: rgba(16, 16, 20, 0.1);
  --line-2: rgba(16, 16, 20, 0.16);

  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-ink: #4338ca;
  --brand-tint: #eeefff;

  --pos: #0f7a4a;
  --pos-tint: #e6f4ec;
  --neg: #c2362f;
  --neg-tint: #fbe9e7;
  --gold: #8f5b0a;
  --gold-tint: #fbf0d9;

  --gold-line: linear-gradient(90deg, #b8901f 0%, #f3dc94 32%, #d4af37 64%, #f0cf6a 100%);
  --zigzag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M1 9 L7 3 L11 7 L16 2 L23 1' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='miter'/%3E%3C/svg%3E");

  --night: #0f0f14;
  --night-ink: #f4f3ef;
  --night-ink-2: #a9a9b3;
  --night-line: rgba(255, 255, 255, 0.12);

  /* the app's own background */
  --mesh:
    radial-gradient(60% 55% at 0% 0%, #c6d6ff 0%, rgba(198, 214, 255, 0) 70%),
    radial-gradient(55% 50% at 100% 0%, #f9d6e6 0%, rgba(249, 214, 230, 0) 70%),
    radial-gradient(60% 55% at 0% 100%, #cdeee2 0%, rgba(205, 238, 226, 0) 70%),
    radial-gradient(60% 60% at 100% 100%, #d9d4ff 0%, rgba(217, 212, 255, 0) 70%),
    #eef0f8;

  --serif: "Newsreader", "MW Taka", "Noto Serif Bengali", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "MW Taka", "Noto Sans Bengali", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-1: 0 1px 2px rgba(16, 16, 20, 0.06);
  --shadow-2: 0 1px 2px rgba(16, 16, 20, 0.04), 0 12px 32px -12px rgba(30, 27, 75, 0.16);
  --shadow-3: 0 2px 6px rgba(16, 16, 20, 0.05), 0 40px 80px -32px rgba(30, 27, 75, 0.32);

  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --dur: 0.3s;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 72px;
  --section: clamp(96px, 11vw, 168px);
}

/* ── 2. Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--paper);
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: 0.875rem;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── 3. Type ───────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }

.t-display, .t-h1, .t-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
}
.t-display { font-size: clamp(3.2rem, 1.1rem + 7vw, 7.1rem); line-height: 0.95; letter-spacing: -0.04em; }
.t-h1 { font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5.25rem); line-height: 0.98; letter-spacing: -0.035em; }
.t-h2 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1; letter-spacing: -0.032em; }
.t-display em, .t-h1 em, .t-h2 em { font-style: italic; letter-spacing: -0.03em; }

.lede { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
p { text-wrap: pretty; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 600; color: var(--ink-2);
}
.label::before {
  content: ""; width: 24px; height: 10px;
  background: var(--gold-line);
  -webkit-mask: var(--zigzag) center / contain no-repeat;
  mask: var(--zigzag) center / contain no-repeat;
}
.label.brand { color: var(--brand-ink); }
p.label { display: flex; width: fit-content; margin-bottom: 22px; }

/* ── 4. Buttons & links ────────────────────────────────────── */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-ink, .btn-primary { background: var(--ink); color: var(--paper); }
.btn-ink:hover, .btn-primary:hover { background: #2a2a33; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-ink); }
.btn-line, .btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover, .btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 0.9375rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink);
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.arrow-link:hover { background-size: 100% 1px; }
.arrow-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.arrow-link:hover svg { transform: translateX(3px); }

.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px 0 18px;
  border-radius: 14px;
  background: #000; color: #fff;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.play-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45); }
.play-badge svg { width: 26px; height: 26px; }
.play-badge span { display: flex; flex-direction: column; line-height: 1.05; }
.play-badge small { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.play-badge strong { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; }
.play-badge.sm { height: 46px; padding: 0 16px 0 14px; border-radius: 11px; gap: 10px; }
.play-badge.sm svg { width: 22px; height: 22px; }
.play-badge.sm strong { font-size: 1rem; }

/* ── 5. Device ─────────────────────────────────────────────── */
.phone {
  --w: 300px;
  position: relative;
  flex-shrink: 0;
  width: var(--w);
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.168);
  background: linear-gradient(150deg, #4a4a52 0%, #1a1a1f 18%, #0c0c0f 55%, #26262c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 calc(var(--w) * 0.012) #060608,
    0 2px 4px rgba(16, 16, 20, 0.08),
    0 36px 70px -28px rgba(30, 27, 75, 0.45),
    0 70px 120px -50px rgba(30, 27, 75, 0.3);
}
.phone .screen {
  position: relative;
  aspect-ratio: 909 / 2000;
  border-radius: calc(var(--w) * 0.136);
  overflow: hidden;
  background: #eef0f8;
  isolation: isolate;
}
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .island {
  position: absolute; z-index: 3;
  top: calc(var(--w) * 0.058); left: 50%;
  width: calc(var(--w) * 0.29); height: calc(var(--w) * 0.086);
  transform: translateX(-50%);
  border-radius: 999px; background: #000;
}

/* ── 6. Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav.is-scrolled, .nav.is-open, .nav.is-solid {
  background: rgba(248, 247, 244, 0.95);
  border-bottom-color: var(--line);
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--gold-line);
  transform: scaleX(var(--scroll, 0)); transform-origin: left;
  opacity: 0; transition: opacity var(--dur);
}
.nav.is-scrolled::after { opacity: 1; }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
@media (max-width: 960px) { .brand img { height: 36px; } }
.nav-links { display: flex; gap: 6px; margin-inline: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(16, 16, 20, 0.05); }
.nav-links a.is-active { color: var(--ink); background: rgba(16, 16, 20, 0.06); }
.nav-end { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.nav-toggle .bars { display: grid; gap: 5px; }
.nav-toggle .bar { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav.is-open .nav-toggle .bar:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav.is-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle .bar:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ── 7. Intro — the logo assembles, once per session ───────── */
.intro-screen { display: none; }
.has-intro .intro-screen {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center; align-content: center; gap: 6px;
  background: var(--paper);
  animation: intro-out 0.85s 1.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
.intro-screen svg { width: min(52vw, 300px); overflow: visible; }
.intro-screen .i-rect, .intro-screen .i-circle { transform-box: fill-box; transform-origin: center; animation: intro-pop 0.7s var(--ease) both; }
.intro-screen .i-rect { animation-delay: 0.05s; }
.intro-screen .i-circle { animation-delay: 0.24s; }
.intro-screen .i-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: intro-draw 0.75s 0.55s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.intro-screen .i-word {
  font-family: var(--serif); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); letter-spacing: -0.04em; line-height: 1;
  animation: intro-rise 0.8s 0.75s var(--ease) both;
}
.intro-screen .i-word em { font-style: italic; }
@keyframes intro-pop { from { transform: scale(0.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-out { to { transform: translateY(-100%); visibility: hidden; } }

/* ── 7b. Hero → story: one continuous, pinned sequence ───── */
.scrolly { position: relative; }
.s-hero { position: relative; z-index: 3; padding-top: calc(var(--nav-h) + clamp(32px, 4.5vw, 64px)); }
.s-title {
  font-family: var(--serif); font-weight: 400;
  font-size: min(clamp(3rem, 0.2rem + 6.7vw, 6.5rem), 14vh); line-height: 0.95; letter-spacing: -0.045em;
}
.s-title .l { display: block; }
@media (min-width: 961px) { .s-title .l { white-space: nowrap; } }
.s-title em { font-style: italic; letter-spacing: -0.035em; }
.s-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-top: clamp(22px, 2.6vw, 36px); }
.s-intro .lede { max-width: 430px; }

.hero-note {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: clamp(22px, 2.6vw, 34px);
  font-size: 0.9375rem; color: var(--ink-2);
}
.hero-note b { font-weight: 600; color: var(--brand-ink); }
.hero-note .sep { width: 1px; height: 14px; background: var(--line-2); }
.hero-note svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.hero-note:hover { color: var(--ink); }
.hero-note:hover svg { transform: translateX(3px); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 0.875rem; color: var(--ink-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 14px; height: 14px; color: var(--pos); }

/* Shared gold pulse line (logo motif) */
.pulse { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pulse path { fill: none; stroke: url(#goldLine); stroke-width: 3.5; stroke-linejoin: miter; stroke-miterlimit: 6; }
.pulse circle { fill: #f3dc94; stroke: #b8901f; stroke-width: 2; }
.js .pulse path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s 0.4s var(--ease); }
.js .pulse circle { opacity: 0; transition: opacity 0.5s 2.5s; }
.js .is-ready .pulse path { stroke-dashoffset: 0; }
.js .is-ready .pulse circle { opacity: 1; }
.has-intro .pulse path { transition-delay: 1.9s; }
.has-intro .pulse circle { transition-delay: 4s; }
.has-intro .s-hero .reveal { transition-delay: calc(1.55s + var(--d, 0) * 90ms); }
.has-intro .s-title .w > span { transition-delay: calc(1.5s + var(--i, 0) * 60ms); }

/* Static layout (reduced motion, no JS): device on a stage, chapters stacked */
.s-num, .s-dots, .s-halo, .s-cue, .s-pulse { display: none; }
.s-device {
  position: relative; display: grid; justify-items: center; align-items: start;
  width: calc(100% - var(--gutter) * 2); max-width: var(--wrap); height: clamp(460px, 52vw, 640px);
  margin: clamp(40px, 5vw, 64px) auto 0; padding-top: 56px;
  border-radius: var(--r-xl); background: var(--mesh); overflow: hidden;
}
.s-device .phone { --w: clamp(240px, 24vw, 320px); }
.s-tilt, .s-chap { transform-style: preserve-3d; }
.s-device .screen img { opacity: 0; }
.s-device .screen img.is-active { opacity: 1; }
.s-chapters { max-width: 680px; margin: 0 auto; padding: 32px var(--gutter) 0; }

/* Motion layout */
.seq .scrolly {
  height: 540vh;
  --x0: min(25vw, 420px); --x1: max(-21vw, -370px);
  --y0: 5vh; --y1: 1vh;
  --ry0: -26deg; --ry1: 10deg;
  --rx0: 12deg; --rx1: 2deg;
  --rz0: 5deg; --rz1: 0deg;
}
.seq .s-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.seq .s-hero { will-change: opacity, transform; position: absolute; inset: 0 0 auto; opacity: calc(1 - var(--h, 0) * 1.8); transform: translateY(calc(var(--h, 0) * -9vh)); }
.seq .scrolly.is-story .s-hero { visibility: hidden; }

.seq .s-device {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  --w: min(clamp(240px, 21vw, 320px), 33vh);
  display: block; width: auto; height: auto; max-width: none; margin: 0; padding: 0;
  border-radius: 0; background: none; overflow: visible;
  transform: translate(-50%, -50%) translate(calc(var(--x0) + (var(--x1) - var(--x0)) * var(--h, 0)), calc(var(--y0) + (var(--y1) - var(--y0)) * var(--h, 0)));
  perspective: 1800px;
  will-change: transform;
}
.seq .s-device .phone { --w: inherit; }
.seq .s-tilt {
  transform:
    rotateX(calc(var(--rx0) + (var(--rx1) - var(--rx0)) * var(--h, 0) - var(--my, 0) * 6deg * (1 - var(--h, 0))))
    rotateY(calc(var(--ry0) + (var(--ry1) - var(--ry0)) * var(--h, 0) + var(--mx, 0) * 9deg * (1 - var(--h, 0))))
    rotateZ(calc(var(--rz0) + (var(--rz1) - var(--rz0)) * var(--h, 0)));
  will-change: transform;
}
.seq .s-chap { transition: transform 1.1s var(--ease); }
.seq .s-device[data-chapter="1"] .s-chap { transform: rotateY(-14deg) rotateZ(-1.5deg); }
.seq .s-device[data-chapter="2"] .s-chap { transform: rotateY(-4deg) rotateX(4deg) rotateZ(1.5deg); }
.seq .s-device[data-chapter="3"] .s-chap { transform: rotateY(-12deg) rotateZ(-1deg); }
.seq .s-device .screen img { will-change: opacity, transform; backface-visibility: hidden; transform: scale(1.03); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.seq .s-device .screen img.is-active { transform: none; }

.seq .s-halo {
  display: block; position: absolute; left: 50%; top: 50%; z-index: 1;
  width: min(44vw, 76vh); aspect-ratio: 1; border-radius: 50%;
  background: var(--mesh);
  transform: translate(-50%, -50%) translate(calc(var(--x0) + (var(--x1) - var(--x0)) * var(--h, 0)), calc(var(--y0) + (var(--y1) - var(--y0)) * var(--h, 0))) scale(calc(0.84 + var(--h, 0) * 0.2));
  will-change: transform;
}
.s-halo::after { content: ""; position: absolute; inset: -7%; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.s-halo i { position: absolute; inset: -7%; border-radius: 50%; animation: orbit 16s linear infinite; will-change: transform; }
.s-halo i::after {
  content: ""; position: absolute; top: -6px; left: calc(50% - 6px);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold-line); box-shadow: 0 0 0 4px rgba(243, 220, 148, 0.35), 0 0 22px rgba(212, 175, 55, 0.6);
}
@keyframes orbit { to { transform: rotate(360deg); } }

.seq .s-pulse { display: block; opacity: calc(1 - var(--h, 0) * 2.2); will-change: opacity; }

.seq .s-cue {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%);
  font-size: 0.8125rem; font-weight: 600; color: var(--ink-3);
  opacity: calc(1 - var(--h, 0) * 5);
}
.s-cue i { width: 1px; height: 44px; background: linear-gradient(var(--ink) 50%, transparent 0) 0 0 / 1px 200%; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

.seq .s-num {
  display: grid; position: absolute; z-index: 1; right: var(--gutter); bottom: -0.1em;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: min(46vh, 30vw); line-height: 0.8; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(16, 16, 20, 0.14);
  opacity: clamp(0, (var(--h, 0) - 0.55) * 3, 1);
  pointer-events: none; user-select: none;
}
.s-num span { grid-area: 1 / 1; justify-self: end; opacity: 0; transform: translateY(10%); transition: opacity 0.7s var(--ease), transform 1s var(--ease); }
.s-num span.is-active { opacity: 1; transform: none; }

.seq .s-chapters {
  position: absolute; z-index: 3; top: 0; bottom: 0; left: 53%; right: var(--gutter);
  max-width: 500px; margin: 0; padding: 0;
  opacity: clamp(0, (var(--h, 0) - 0.72) * 4, 1);
}
.seq .s-chapters .chapter {
  position: absolute; left: 0; right: 0; top: 50%;
  padding: 0; border: 0;
  opacity: 0; transform: translateY(calc(-50% + 30px));
  transition: opacity 0.55s var(--ease), transform 0.9s var(--ease);
  pointer-events: none;
  will-change: opacity, transform;
}
.seq .s-chapters .chapter.is-active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.seq .chapter .inline-shot { display: none; }
.seq .s-chapters .chapter .split .w > span { transform: translateY(112%); transition-delay: calc(0.12s + var(--i, 0) * 50ms); }
.seq .s-chapters .chapter.is-active .split .w > span { transform: none; }

.seq .s-dots {
  display: grid; gap: 10px; position: absolute; z-index: 3; left: var(--gutter); top: 50%; transform: translateY(-50%);
  opacity: clamp(0, (var(--h, 0) - 0.72) * 4, 1);
}
.s-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(16, 16, 20, 0.2); transition: height var(--dur) var(--ease), background-color var(--dur); }
.s-dots i.is-active { height: 26px; background: var(--ink); }

@media (max-height: 780px) and (min-width: 961px) {
  .seq .s-hero { padding-top: calc(var(--nav-h) + 22px); }
  .seq .s-hero .hero-note { margin-bottom: 14px; }
  .seq .s-hero .hero-meta { display: none; }
}

/* ── 8. Facts ──────────────────────────────────────────────── */
.facts { padding-top: clamp(64px, 8vw, 112px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.fact { padding: 26px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact b {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -0.035em;
}
.fact span { display: block; margin-top: 12px; max-width: 220px; font-size: 0.9375rem; color: var(--ink-2); }

/* ── 8b. Marquee ───────────────────────────────────────────── */
.marquee {
  margin-top: clamp(72px, 9vw, 128px);
  padding-block: clamp(18px, 2.4vw, 30px);
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex; align-items: center; flex-shrink: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.4rem); line-height: 1.1; letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee-group span:nth-child(4n+3) { font-style: italic; }
.marquee-group i {
  display: inline-block; width: 0.62em; height: 0.3em; margin-inline: 0.45em;
  background: var(--gold-line);
  -webkit-mask: var(--zigzag) center / contain no-repeat; mask: var(--zigzag) center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 8c. Kinetic headings (words rise into place) ──────────── */
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.14em 0.16em 0.04em; margin: 0 -0.14em -0.16em -0.04em; }
.js .split .w > span { display: inline-block; transform: translateY(112%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js .split.is-visible .w > span { transform: none; }

/* ── 9. Section heads ──────────────────────────────────────── */
.section { padding-top: var(--section); }
.head-split {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.head-split .label { margin-bottom: 22px; }
.head-split .lede { max-width: 440px; }

/* ── 10. Chapters ──────────────────────────────────────────── */
.chapter { padding-block: 56px; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter-no { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-3); }
.chapter h2 {
  margin-top: 14px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.6rem); line-height: 1; letter-spacing: -0.032em;
}
.chapter > p { margin-top: 20px; max-width: 470px; color: var(--ink-2); font-size: 1.125rem; }
.chapter ul { margin-top: 30px; max-width: 470px; border-top: 1px solid var(--line); }
.chapter li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.975rem; font-weight: 500; }
.chapter li svg { width: 16px; height: 16px; color: var(--brand); }
.inline-shot { display: flex; justify-content: center; height: 460px; margin-top: 36px; padding-top: 40px; border-radius: var(--r-lg); background: var(--mesh); overflow: hidden; }
.inline-shot .phone { --w: min(280px, 70vw); }

/* ── 10b. Manifesto (words light up as you read) ───────────── */
.manifesto { padding-top: var(--section); }
.manifesto p {
  max-width: 1120px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 1rem + 3.7vw, 4.6rem); line-height: 1.06; letter-spacing: -0.032em;
  text-wrap: balance;
}
.manifesto p em { font-style: italic; }
.manifesto .mark { display: inline-block; width: 0.9em; height: 0.42em; margin-right: 0.25em; background: var(--gold-line); -webkit-mask: var(--zigzag) center / contain no-repeat; mask: var(--zigzag) center / contain no-repeat; }
.js .scrub .sw { opacity: clamp(0.14, (var(--p, 0) * 2.1 - 0.35 - var(--t, 0)) * 7, 1); transition: opacity 0.12s linear; }
.manifesto-sign { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-size: 0.9375rem; color: var(--ink-2); }
.manifesto-sign img { width: 34px; height: 34px; }

/* ── 11. Ask MyWallet ──────────────────────────────────────── */
.ask-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(32px, 6vw, 88px);
  border-radius: var(--r-xl);
  color: #fff;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(139, 108, 255, 0.85) 0%, rgba(139, 108, 255, 0) 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(30, 26, 140, 0.9) 0%, rgba(30, 26, 140, 0) 70%),
    #3f37d2;
  box-shadow: var(--shadow-3);
  position: relative; overflow: hidden; isolation: isolate;
}
.ask-panel::before { /* the logo's pulse, large and faint */
  content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; bottom: 6%; height: 46%;
  background: rgba(255, 255, 255, 0.07);
  -webkit-mask: var(--zigzag) center / 100% 100% no-repeat; mask: var(--zigzag) center / 100% 100% no-repeat;
}
.ask-panel h2 { color: #fff; }
.ask-panel .label { color: rgba(255, 255, 255, 0.82); }
.ask-panel .lede { margin-top: 22px; max-width: 460px; color: rgba(255, 255, 255, 0.84); }
.ask-panel .prompts { border-top-color: rgba(255, 255, 255, 0.22); }
.ask-panel .prompt { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.22); }
.ask-panel .prompt .go { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.ask-panel .prompt:hover:not(:disabled) .go { background: #fff; color: var(--brand); }
.ask-panel .prompt:disabled { color: rgba(255, 255, 255, 0.74); }
.ask-panel .chat { color: var(--ink); box-shadow: 0 40px 80px -30px rgba(10, 8, 60, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.ask-panel :focus-visible { outline-color: #fff; }

.prompts { margin-top: 32px; border-top: 1px solid var(--line); max-width: 480px; }
.prompt {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  text-align: left; font-size: 1rem; font-weight: 500;
  transition: color var(--dur) var(--ease);
}
.prompt .q { flex: 1; transition: transform 0.35s var(--ease); }
.prompt .go {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur);
}
.prompt .go svg { width: 14px; height: 14px; }
.prompt:hover:not(:disabled) .q { transform: translateX(8px); }
.prompt:hover:not(:disabled) .go { background: var(--ink); color: var(--paper); box-shadow: none; }
.prompt:disabled { cursor: default; color: var(--ink-3); }

/* Chat — drawn in the app's own style */
.chat {
  width: 100%; max-width: 420px; margin-inline: auto;
  border-radius: 36px;
  overflow: hidden;
  background: var(--mesh);
  box-shadow: var(--shadow-3), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 22px 22px 14px; }
.chat-avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 18px -8px rgba(79, 70, 229, 0.7);
}
.chat-avatar svg { width: 20px; height: 20px; }
.chat-title { font-weight: 700; letter-spacing: -0.015em; }
.chat-sub { font-size: 0.8125rem; color: var(--ink-2); }
.chat-reset { margin-left: auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.75); }
.chat-reset svg { width: 16px; height: 16px; }
.chat-body { display: flex; flex-direction: column; gap: 10px; height: 340px; padding: 8px 18px 18px; overflow-y: auto; scroll-behavior: smooth; }
.bubble { max-width: 84%; padding: 11px 15px; border-radius: 20px; font-size: 0.9625rem; line-height: 1.5; animation: rise 0.35s var(--ease) both; }
.bubble.bot { align-self: flex-start; background: var(--white); border-bottom-left-radius: 6px; box-shadow: var(--shadow-1); }
.bubble.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.bubble strong { font-weight: 700; }
.bubble.result { width: 84%; padding: 14px; }
.result-label { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 0.75rem; font-weight: 600; color: var(--pos); }
.result-label svg { width: 13px; height: 13px; }
.result-row { display: flex; align-items: center; gap: 12px; }
.result-row .meta { flex: 1; min-width: 0; }
.result-row .meta b { display: block; font-weight: 650; }
.result-row .meta span { font-size: 0.8125rem; color: var(--ink-3); }
.amt { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amt.in { color: var(--pos); }
.amt.out { color: var(--ink); }
.typing { display: inline-flex; gap: 4px; padding: 15px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
.chat-input { display: flex; align-items: center; gap: 10px; padding: 14px 16px 18px; }
.chat-input input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px;
  border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(16, 16, 20, 0.06);
  font-size: 0.9375rem;
}
.chat-input input::placeholder { color: var(--ink-3); }
.chat-send { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.chat-send svg { width: 18px; height: 18px; }

/* Small round marks used in the UI fragments */
.ico {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 0.8125rem; font-weight: 700; color: #fff;
}
.ico svg { width: 18px; height: 18px; }
.ico.bkash { background: #d12053; }
.ico.brac { background: #1f6fa8; }
.ico.ebl { background: #287a57; }
.ico.violet { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.ico.food { background: #e7f5ee; color: #17804f; }
.ico.flag { border-radius: 14px; background: var(--white); color: #c2410c; box-shadow: var(--shadow-1); }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

/* ── 12. Duo panels (SMS capture · Shared accounts) ────────── */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel {
  display: flex; flex-direction: column;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
.panel-copy { padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0; }
.panel-copy h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.6rem); line-height: 1.04; letter-spacing: -0.03em; }
.panel-copy p { margin-top: 14px; max-width: 440px; color: var(--ink-2); }
.panel-copy .tag-new { display: inline-block; margin-bottom: 18px; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: var(--brand-ink); background: var(--brand-tint); }
.panel-art {
  flex: 1;
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: end center;
  margin: 36px clamp(16px, 3vw, 32px) 0;
  padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 36px) 0;
  border-radius: 30px 30px 0 0;
  background: var(--mesh);
}
.ui-card {
  width: 100%; max-width: 420px;
  padding: 18px;
  border-radius: 26px 26px 0 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-2);
}
.review-top { display: flex; gap: 14px; align-items: center; padding: 6px 4px 18px; border-bottom: 1px solid var(--line); }
.review-top > div { flex: 1; min-width: 0; }
.review-top b { display: block; font-size: 1.0625rem; letter-spacing: -0.015em; }
.review-top span { font-size: 0.8125rem; color: var(--ink-3); }
.review-top .btn-pill { margin-left: auto; padding: 8px 16px; border-radius: 999px; font-size: 0.875rem; font-weight: 700; color: #fff; background: var(--brand); }
.tx { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.tx:last-child { border-bottom: 0; }
.tx .meta { flex: 1; min-width: 0; }
.tx .meta b { display: block; font-size: 0.9375rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx .meta span { font-size: 0.8125rem; color: var(--ink-3); }
.tx .amt { font-size: 0.9375rem; }

.shared-card {
  position: relative;
  padding: 18px 20px 20px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(140deg, #3b8ec6 0%, #1f6fa8 50%, #155a8d 100%);
  box-shadow: 0 16px 30px -18px rgba(21, 90, 141, 0.8);
  overflow: hidden;
}
.shared-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 40%); pointer-events: none; }
.shared-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shared-card small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.shared-card .bal { margin-top: 18px; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.shared-card .name { font-weight: 700; font-size: 1.0625rem; }
.shared-card .chip { padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: rgba(255, 255, 255, 0.2); }
.faces { display: flex; padding-left: 8px; }
.faces .face { margin-left: -8px; box-shadow: 0 0 0 2px #1f6fa8; }
.face { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 0.75rem; font-weight: 700; color: #fff; }
.face.a { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.face.b { background: #c93a62; }
.face.c { background: #a15f06; }
.members { margin-top: 8px; }
.member { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.member:last-child { border-bottom: 0; }
.member .face { width: 36px; height: 36px; font-size: 0.75rem; }
.member .meta { flex: 1; min-width: 0; }
.member .meta b { display: block; font-size: 0.9375rem; font-weight: 650; }
.member .meta span { font-size: 0.8125rem; color: var(--ink-3); }
.member .role { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); padding: 5px 10px; border-radius: 999px; background: var(--paper-2); white-space: nowrap; }

/* ── 13. Feature gallery (moves sideways as you scroll) ────── */
.hs { padding-top: var(--section); }
.hs-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.hs-head .lede { margin-top: 18px; max-width: 460px; }
.hs-count { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs-count b { font-weight: 400; color: var(--ink); }
.hs-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(var(--gutter), (100vw - var(--wrap)) / 2) 28px;
  scroll-padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2);
}
.hs-track::-webkit-scrollbar { display: none; }
.hs-card {
  flex: 0 0 min(80vw, 380px); height: 520px;
  display: flex; flex-direction: column;
  padding: 26px;
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  scroll-snap-align: start;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.hs-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: 0 24px 48px -24px rgba(30, 27, 75, 0.28); opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none; }
.hs-card:hover { transform: translateY(-6px); }
.hs-card:hover::after { opacity: 1; }
.hs-card .n { font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--ink-3); }
.hs-card h3 { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1.02; letter-spacing: -0.03em; }
.hs-card p { margin-top: 18px; color: var(--ink-2); font-size: 0.975rem; }
.hs-art { position: relative; flex: 1; display: grid; place-items: center; margin-top: 20px; padding: 20px; border-radius: 22px; overflow: hidden; background: var(--mesh); }
.hs-art.sand { background: var(--paper-2); }
.hs-art.tint { background: var(--brand-tint); }
.hs-art.night { background: radial-gradient(80% 70% at 70% 0%, #2a2650 0%, transparent 70%), var(--night); color: #fff; }
.hs-bar { display: none; }

@media (min-width: 961px) and (max-height: 860px) { .seq .hs-head .lede { display: none; } .seq .hs-card { height: min(520px, calc(100vh - var(--nav-h) - 210px)); } }

/* Card visuals */
.v-list { width: 100%; display: grid; gap: 8px; }
.v-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-1); font-size: 0.875rem; }
.v-row b { flex: 1; min-width: 0; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-row em { white-space: nowrap; }
.v-row .amt { font-size: 0.875rem; }
.v-row em { font-style: normal; flex-shrink: 0; font-size: 0.75rem; font-weight: 600; color: var(--gold); background: var(--gold-tint); padding: 3px 8px; border-radius: 999px; }
.v-row .ico { width: 30px; height: 30px; font-size: 0.6875rem; }
.v-ring {
  --v: 64;
  position: relative; display: grid; place-items: center;
  width: 170px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--v) * 1%), rgba(79, 70, 229, 0.12) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
}
.v-goal { position: relative; display: grid; place-items: center; }
.v-goal .v-label { position: absolute; text-align: center; }
.v-goal .v-label b { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.v-goal .v-label span { font-size: 0.8125rem; color: var(--ink-2); }
.v-receipt {
  width: 190px; padding: 18px 18px 26px; background: #fff; box-shadow: var(--shadow-2);
  transform: rotate(-4deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
}
.v-receipt b { display: block; text-align: center; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.v-receipt i { display: block; height: 6px; margin-top: 12px; border-radius: 3px; background: var(--paper-2); }
.v-receipt i:nth-of-type(2) { width: 70%; }
.v-receipt i:nth-of-type(3) { width: 84%; }
.v-receipt .tot { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1.5px dashed var(--line-2); font-size: 0.875rem; }
.v-receipt .tot b { font-size: 0.875rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.v-loan { display: flex; align-items: flex-end; gap: 7px; height: 170px; }
.v-loan i { width: 14px; height: calc(var(--t, 100) * 1%); border-radius: 5px; background: linear-gradient(to top, var(--brand) calc((1 - var(--a)) * 100%), #e2b73c 0); }
.v-key { display: flex; gap: 16px; margin-top: 14px; font-size: 0.75rem; color: var(--ink-2); }
.v-key span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; background: var(--brand); }
.v-key span + span::before { background: #e2b73c; }
.v-cc { width: 100%; max-width: 250px; }
.v-cc .cc {
  position: relative; aspect-ratio: 1.6; padding: 16px; border-radius: 16px; color: #fff;
  background: linear-gradient(140deg, #3a3f4b 0%, #1c1f27 60%, #2b2f3a 100%);
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.6);
  transform: rotate(-6deg);
}
.v-cc .cc span { font-size: 0.8125rem; font-weight: 650; }
.v-cc .cc i { position: absolute; left: 16px; top: 48%; width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #f3dc94, #b8901f); }
.v-cc .cc b { position: absolute; right: 16px; bottom: 14px; font-size: 0.875rem; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.v-util { margin-top: 22px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.75); display: flex; justify-content: space-between; }
.v-util b { color: #fff; }
.v-meter { height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.v-meter i { display: block; width: 32%; height: 100%; border-radius: 3px; background: var(--gold-line); }
.v-fx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v-fx span { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-1); font-family: var(--serif); font-size: 2.1rem; color: var(--ink-2); }
.v-fx span:first-child { background: var(--brand); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 1.9rem; box-shadow: 0 12px 24px -12px rgba(79, 70, 229, 0.8); }
.v-doc { width: 200px; padding: 20px 18px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-2); transform: rotate(3deg); }
.v-doc i { display: block; height: 6px; border-radius: 3px; background: var(--paper-2); }
.v-doc i + i, .v-doc .hl + i { margin-top: 10px; }
.v-doc i:nth-child(2) { width: 72%; }
.v-doc .hl { margin: 14px -8px; padding: 10px 8px; border-radius: 10px; background: var(--pos-tint); font-size: 0.8125rem; }
.v-doc .hl div { display: flex; justify-content: space-between; font-weight: 650; }
.v-doc .hl em { font-style: normal; font-size: 0.6875rem; font-weight: 700; color: var(--pos); text-transform: uppercase; letter-spacing: 0.08em; }
.v-chart { display: flex; align-items: flex-end; gap: 12px; height: 180px; padding-bottom: 22px; }
.v-chart i { position: relative; width: 22px; height: calc(var(--h) * 1%); border-radius: 7px 7px 3px 3px; background: rgba(79, 70, 229, 0.22); }
.v-chart i.on { background: linear-gradient(var(--brand-2), var(--brand)); }
.v-chart i span { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); font-size: 0.6875rem; font-style: normal; color: var(--ink-3); }
.v-chart i.on::before { content: "−12%"; position: absolute; left: 50%; top: -28px; transform: translateX(-50%); padding: 2px 7px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; color: #fff; background: var(--ink); white-space: nowrap; }
.v-print { position: relative; display: grid; place-items: center; width: 150px; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.v-print::before, .v-print::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.v-print::after { inset: -46px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.v-print svg { width: 74px; height: 74px; color: #f0cf6a; stroke-width: 1.4; }
.v-files { position: relative; width: 210px; height: 190px; }
.v-file { position: absolute; display: flex; align-items: center; gap: 12px; width: 190px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-2); font-size: 0.875rem; font-weight: 650; }
.v-file small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--ink-3); }
.v-file:nth-child(1) { top: 0; left: 0; transform: rotate(-5deg); }
.v-file:nth-child(2) { top: 64px; left: 20px; transform: rotate(2deg); }
.v-file:nth-child(3) { top: 128px; left: 6px; transform: rotate(-2deg); }
.ext { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-family: var(--mono); font-size: 0.6875rem; font-weight: 700; }
.ext.csv { color: var(--pos); background: var(--pos-tint); }
.ext.pdf { color: var(--neg); background: var(--neg-tint); }
.ext.json { color: var(--brand-ink); background: var(--brand-tint); }

/* Pinned, sideways movement on larger screens */
@media (min-width: 961px) {
  .seq .hs { height: var(--hs-h, 300vh); padding-top: 0; margin-top: var(--section); }
  .seq .hs-pin { position: sticky; top: 0; height: 100vh; padding-top: var(--nav-h); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .seq .hs-card { height: min(520px, calc(100vh - var(--nav-h) - 300px)); min-height: 380px; }
  .seq .hs-track { overflow: visible; scroll-snap-type: none; transform: translateX(calc(var(--hx, 0) * -1px)); will-change: transform; }
  .seq .hs-bar { display: block; height: 2px; margin-top: 8px; background: var(--line); }
  .seq .hs-bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(var(--hp, 0)); transform-origin: left; }
}

/* ── 14. Privacy (night) ───────────────────────────────────── */
.privacy {
  position: relative;
  margin-top: var(--section);
  padding-block: clamp(96px, 11vw, 160px);
  color: var(--night-ink);
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}
/* A vault dial that turns as you scroll */
.dial {
  position: absolute; z-index: -1;
  right: max(-20vw, -300px); top: 42%;
  width: min(60vw, 860px); aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%) rotate(calc(var(--p, 0) * 150deg));
  will-change: transform;
}
.dial::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.2) 0 0.3deg, transparent 0.3deg 3deg);
  -webkit-mask: radial-gradient(closest-side, transparent 89%, #000 89.4%, #000 95%, transparent 95.4%);
  mask: radial-gradient(closest-side, transparent 89%, #000 89.4%, #000 95%, transparent 95.4%);
}
.dial::after {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 40px, rgba(255, 255, 255, 0.055) 40px 41px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 72%);
  mask-image: radial-gradient(circle, #000 30%, transparent 72%);
}
.dial i { position: absolute; left: 50%; top: 0.6%; width: 3px; height: 5.5%; border-radius: 2px; background: var(--gold-line); transform: translateX(-50%); box-shadow: 0 0 18px rgba(240, 207, 106, 0.55); }
.privacy .label { color: var(--night-ink-2); margin-bottom: 26px; }
.privacy h2 { max-width: 13ch; color: #fff; }
.privacy .lede { margin-top: 26px; max-width: 560px; color: var(--night-ink-2); }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--night-line); }
.principle { padding: 28px 28px 0 0; }
.principle + .principle { padding-left: 28px; border-left: 1px solid var(--night-line); }
.principle .k { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--night-ink-2); }
.principle h3 { margin-top: 18px; font-size: 1.1875rem; color: #fff; letter-spacing: -0.015em; }
.principle p { margin-top: 10px; font-size: 0.9375rem; color: var(--night-ink-2); }
.privacy .arrow-link { margin-top: 56px; color: #fff; }

/* ── 15. Comparison ────────────────────────────────────────── */
.compare-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.compare-grid .lede { margin-top: 22px; max-width: 360px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 20px 16px 20px 0; text-align: left; vertical-align: top; }
.compare-table thead th { padding-top: 0; font-size: 0.875rem; font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--ink); }
.compare-table thead th.us { color: var(--ink); }
.compare-table tbody th { width: 30%; font-weight: 600; font-size: 0.975rem; }
.compare-table tbody tr { border-bottom: 1px solid var(--line); }
.compare-table td { font-size: 0.975rem; color: var(--ink-3); }
.compare-table td.us { color: var(--ink); font-weight: 500; }
.compare-table .c { display: inline-flex; gap: 10px; align-items: flex-start; }
.compare-table .c svg { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; }
.compare-table td.us svg { color: var(--brand); }

/* ── 16. Voices ────────────────────────────────────────────── */
.voices-lead { max-width: 1040px; }
.voices-lead .big {
  max-width: 26ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em;
}
.voices-lead .big em { font-style: italic; }
.voices-lead figcaption { display: flex; align-items: center; gap: 14px; margin-top: 32px; font-size: 0.9375rem; color: var(--ink-2); }
.voices-lead figcaption b { display: block; color: var(--ink); font-weight: 650; }
.voices-row { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.voice { padding: 26px 24px 0 0; }
.voice + .voice { padding-left: 24px; border-left: 1px solid var(--line); }
.voice b { display: block; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.015em; }
.voice p { margin-top: 10px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.voice figcaption { margin-top: 16px; font-size: 0.8125rem; color: var(--ink-3); }
.voice figcaption b { display: block; color: var(--ink); font-weight: 650; }
.voices-note { margin-top: 32px; font-size: 0.8125rem; color: var(--ink-3); }
.initials { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 700; font-size: 0.875rem; color: var(--brand-ink); background: var(--brand-tint); }

/* ── 17. FAQ / accordion ───────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-aside .lede { margin-top: 22px; max-width: 360px; }
.faq-aside .btn { margin-top: 32px; }

.accordion { border-top: 1px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; padding: 24px 0;
  text-align: left; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em;
}
.acc-icon { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color var(--dur) var(--ease), box-shadow var(--dur); }
.acc-icon svg { display: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.35s var(--ease), background-color var(--dur); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-q:hover .acc-icon { box-shadow: inset 0 0 0 1px var(--ink); }
.acc-item.is-open .acc-icon { background: var(--ink); box-shadow: none; }
.acc-item.is-open .acc-icon::before, .acc-item.is-open .acc-icon::after { background: var(--paper); }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.acc-item.is-open .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-body { padding: 0 56px 26px 0; color: var(--ink-2); line-height: 1.7; }
.acc-body p + p, .acc-body p + ul, .acc-body ul + p { margin-top: 10px; }
.acc-body ul { display: grid; gap: 6px; margin-top: 10px; }
.acc-body li { position: relative; padding-left: 18px; }
.acc-body li::before { content: ""; position: absolute; left: 2px; top: 0.8em; width: 7px; height: 1px; background: var(--ink-2); }
.acc-body strong { color: var(--ink); font-weight: 650; }
.acc-body a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.no-js .acc-a { grid-template-rows: 1fr; }

/* ── 18. Closing ───────────────────────────────────────────── */
.closing { padding-top: var(--section); }
.closing-stage {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  min-height: 540px;
  padding: clamp(40px, 6vw, 88px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--mesh);
  isolation: isolate;
}
.closing-stage .lede { margin-top: 22px; max-width: 420px; }
.closing-stage .hero-cta { margin-top: 36px; }
.closing-stage .hero-meta { color: var(--ink-2); }
.closing-device { position: relative; }
.closing-stage { --p: 0.5; }
.closing-device .phone { --w: clamp(240px, 22vw, 300px); position: absolute; left: 50%; top: 0; transform: translate(-50%, calc((0.55 - var(--p)) * 160px)) rotate(calc(-2deg + var(--p) * 14deg)); will-change: transform; }

/* ── 19. Footer ────────────────────────────────────────────── */
.footer { margin-top: var(--section); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-block: 72px 56px; }
.footer-brand img.logo { height: 34px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 300px; font-size: 0.9375rem; color: var(--ink-2); }
.footer-brand .play-badge { margin-top: 26px; }
.footer-col h2 { margin-bottom: 18px; font-size: 0.875rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.9375rem; color: var(--ink); transition: color var(--dur); }
.footer-col a:hover { color: var(--brand-ink); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 26px 36px; border-top: 1px solid var(--line);
  font-size: 0.875rem; color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: color var(--dur), box-shadow var(--dur); }
.socials a:hover { color: #1877f2; box-shadow: inset 0 0 0 1px var(--ink); }
.socials svg { width: 18px; height: 18px; }

.wordmark {
  height: 0.74em;
  margin-top: 8px;
  overflow: hidden;
  font-family: var(--serif); font-weight: 400;
  font-size: min(23.4vw, 318px); line-height: 0.92; letter-spacing: -0.055em;
  white-space: nowrap; user-select: none;
  color: var(--ink);
}
.wordmark em { font-style: italic; letter-spacing: -0.04em; }

.is-paused, .is-paused * { animation-play-state: paused !important; }

/* ── 20. Floating UI ───────────────────────────────────────── */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  color: var(--paper); background: var(--ink);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 150;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--paper); background: var(--ink);
  box-shadow: var(--shadow-3);
  transform: translate(-50%, 20px); opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: #7ee2a8; }

/* ── 21. Reveal ────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ── 22. Sub-pages ─────────────────────────────────────────── */
.page-hero { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 112px)); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.page-hero .eyebrow::before { content: ""; width: 24px; height: 10px; background: var(--gold-line); -webkit-mask: var(--zigzag) center / contain no-repeat; mask: var(--zigzag) center / contain no-repeat; }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 1.6rem + 4.8vw, 5.75rem); line-height: 0.98; letter-spacing: -0.038em; }
.page-hero .lead { margin-top: 22px; max-width: 620px; font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.page-hero.center { text-align: center; }
.page-hero.center .eyebrow::before { display: none; }
.page-hero.center .lead { margin-inline: auto; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 620px; }
.page-meta .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-3); }
.page-meta .tag svg { width: 15px; height: 15px; }

.tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); flex-shrink: 0; }
.tile .icon { width: 18px; height: 18px; }
.tile.sm { width: 34px; height: 34px; }
.tile.sm .icon { width: 16px; height: 16px; }
.tile.green { color: var(--pos); }
.tile.gold { color: var(--gold); }
.tile.red { color: var(--neg); }

.card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }

/* Help */
.help-search { position: relative; max-width: 600px; margin: 36px auto 0; }
.help-search svg { position: absolute; left: 22px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.help-search input {
  width: 100%; height: 60px; padding: 0 22px 0 52px;
  border-radius: 999px; border: 0;
  background: var(--white);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  font-size: 1.0625rem;
  transition: box-shadow var(--dur) var(--ease);
}
.help-search input::placeholder { color: var(--ink-3); }
.help-search input:focus { outline: none; box-shadow: var(--shadow-2), inset 0 0 0 1.5px var(--ink); }
.help-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.help-nav { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 2px; border-left: 1px solid var(--line); }
.help-nav a { display: flex; align-items: center; gap: 10px; margin-left: -1px; padding: 8px 0 8px 16px; border-left: 2px solid transparent; font-size: 0.9375rem; color: var(--ink-3); transition: color var(--dur), border-color var(--dur); }
.help-nav a svg { display: none; }
.help-nav a:hover { color: var(--ink); }
.help-nav a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.help-group + .help-group { margin-top: 64px; }
.help-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.help-group-head .tile { display: none; }
.help-group-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); letter-spacing: -0.03em; }
.help-empty { padding: 40px 28px; text-align: center; color: var(--ink-2); margin-top: 24px; }
.help-empty a { color: var(--brand-ink); text-decoration: underline; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 72px; padding: 36px; background: var(--mesh); box-shadow: none; }
.contact-card h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: -0.03em; }
.contact-card p { margin-top: 6px; color: var(--ink-2); }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); max-height: calc(100vh - var(--nav-h) - 64px); overflow-y: auto; }
.toc-title { margin-bottom: 14px; font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.toc ol { display: grid; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 0.875rem; line-height: 1.4; color: var(--ink-3); transition: color var(--dur), border-color var(--dur); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.prose { max-width: 700px; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
.prose h2:first-of-type { margin-top: 48px; }
.prose h3 { margin-top: 36px; font-size: 1.1875rem; color: var(--ink); letter-spacing: -0.015em; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(67, 56, 202, 0.35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.85em; width: 8px; height: 1px; background: var(--ink-2); }
.prose em { font-style: normal; color: var(--ink); background: var(--paper-2); padding: 1px 7px; border-radius: 6px; font-size: 0.94em; }
.callout { display: flex; gap: 18px; padding: 26px 28px; border-radius: var(--r-md); background: var(--mesh); color: var(--ink); }
.callout .tile { background: rgba(255, 255, 255, 0.7); box-shadow: none; }
.callout p { color: var(--ink-2); }
.callout.warn { background: var(--gold-tint); }

/* Utility pages (account deletion, invite) */
.util-main { max-width: 620px; margin: 0 auto; padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) var(--gutter) 24px; }
.util-main h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 1.8rem + 3vw, 3.75rem); line-height: 1; letter-spacing: -0.035em; }
.util-main > p { margin-top: 16px; color: var(--ink-2); font-size: 1.0625rem; }
.util-main .card { padding: 30px; margin-top: 22px; }
.util-main .card h2 { font-size: 1.1875rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.util-main .card p { color: var(--ink-2); }
.util-main .card ul { display: grid; gap: 10px; margin: 16px 0; }
.util-main .card li { position: relative; padding-left: 26px; color: var(--ink-2); }
.util-main .card li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 12px; height: 1.5px; background: var(--neg); }
.util-main .note { font-size: 0.9375rem; color: var(--ink-3); }
.util-main .card .note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.util-main .card button, .util-main .card a.button {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 54px; margin-top: 12px;
  border-radius: 999px; font-size: 1rem; font-weight: 600;
  transition: background-color var(--dur), box-shadow var(--dur), opacity var(--dur);
}
.util-main .card .primary { background: var(--ink); color: var(--paper); }
.util-main .card .primary:hover { background: #2a2a33; }
.util-main .card .outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.util-main .card .outline:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.util-main .card .danger { background: var(--neg); color: #fff; }
.util-main .card .danger:hover { background: #a82c26; }
.util-main .card button:disabled { opacity: 0.5; cursor: default; }
.util-main input { width: 100%; height: 54px; margin-top: 12px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 1rem; }
.util-main input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.util-main .error { margin-top: 16px; padding: 14px 18px; border-radius: 14px; color: var(--neg); background: var(--neg-tint); font-size: 0.9375rem; }
.util-main .help-line { margin-top: 22px; text-align: center; }
.util-step { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.util-step .num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-family: var(--serif); font-style: italic; font-size: 0.9375rem; box-shadow: inset 0 0 0 1px var(--line-2); }
.util-step h2 { margin-bottom: 0 !important; }
.util-icon { margin-bottom: 26px; }
.lang-btn { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 0.9375rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.lang-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.invite-label { font-size: 0.875rem; font-weight: 600; color: var(--ink-3); }
.invite-code { margin: 12px 0 8px; padding: 26px 12px; border-radius: var(--r-md); background: var(--mesh); text-align: center; font: 600 clamp(1.9rem, 1.3rem + 3vw, 2.75rem) / 1 var(--mono); letter-spacing: 0.14em; overflow-wrap: anywhere; }
.util-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 48px var(--gutter) 56px; font-size: 0.875rem; color: var(--ink-3); }
.util-foot a:hover { color: var(--ink); }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) var(--gutter) 64px; }
.notfound .code { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(6rem, 3rem + 12vw, 12rem); line-height: 0.9; letter-spacing: -0.05em; }
.notfound h1 { margin-top: 18px; }
.notfound p { margin: 18px auto 36px; max-width: 440px; color: var(--ink-2); }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ═══ 23. Responsive ═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .voices-row { grid-template-columns: repeat(3, 1fr); }
  .voice:nth-child(4) { padding-left: 0; border-left: 0; }
  .voice:nth-child(n+4) { margin-top: 32px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .nav-end .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu {
    position: fixed; z-index: 99; top: var(--nav-h); left: 0; right: 0;
    display: block; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(16, 16, 20, 0.3);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .nav.is-open + .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a:not(.btn) {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; border-bottom: 1px solid var(--line);
    font-family: var(--serif); font-size: 1.75rem; letter-spacing: -0.02em;
  }
  .mobile-menu a:not(.btn) svg { width: 18px; height: 18px; color: var(--ink-3); }
  .mobile-menu .btn { width: 100%; margin-top: 24px; }

  .head-split, .ask-panel, .compare-grid, .faq-grid, .closing-stage, .help-layout, .legal-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .hs-head { grid-template-columns: 1fr; }

  /* Hero → story on phones: the device rises from below, chapters sit underneath it */
  .seq .scrolly {
    height: 470vh;
    --x0: 0px; --x1: 0px;
    --y0: 41svh; --y1: -15svh;
    --ry0: -16deg; --ry1: 0deg;
    --rx0: 24deg; --rx1: 0deg;
    --rz0: 6deg; --rz1: 0deg;
  }
  .seq .s-device { --w: min(60vw, 25svh); }
  .seq .s-halo { width: 96vw; }
  .seq .s-hero .hero-meta, .seq .s-dots, .seq .s-num, .seq .s-cue { display: none; }
  .seq .s-device[data-chapter] .s-chap { transform: none; }
  .seq .s-chapters { left: var(--gutter); right: var(--gutter); top: auto; bottom: max(18px, 2.5svh); height: 33svh; max-width: none; }
  .seq .s-chapters .chapter { top: auto; bottom: 0; transform: translateY(24px); }
  .seq .s-chapters .chapter.is-active { transform: none; }
  .seq .chapter h2 { margin-top: 6px; font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.3rem); }
  .seq .chapter > p { margin-top: 10px; font-size: 1rem; }
  .seq .chapter ul { display: none; }

  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }

  .duo { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .dial { width: 110vw; right: -60vw; top: 22%; }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principle:nth-child(n+3) { margin-top: 32px; border-top: 1px solid var(--night-line); }

  .closing-device { height: 380px; }
  .closing-stage { padding-bottom: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .help-nav {
    position: sticky; top: var(--nav-h); z-index: 5;
    grid-auto-flow: column; grid-auto-columns: max-content; gap: 6px;
    overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 10px var(--gutter);
    border-left: 0; border-block: 1px solid var(--line);
    background: rgba(248, 247, 244, 0.97);
  }
  .help-nav::-webkit-scrollbar { display: none; }
  .help-nav a { margin: 0; padding: 7px 14px; border: 0; border-radius: 999px; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line-2); }
  .help-nav a.is-active { background: var(--ink); color: var(--paper); box-shadow: none; }
  .toc { display: none; }
}

@media (max-width: 640px) {
  :root { --section: 88px; }
  .hero-cta { gap: 16px; }
  .s-device { border-radius: 28px; height: 480px; }
  .hs-card { height: 500px; }
  .fact { padding-right: 12px; }
  .fact + .fact { padding-left: 16px; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact b { font-size: 2.5rem; }
  .ask-panel { padding: 28px 20px; border-radius: 28px; }
  .chat { border-radius: 28px; }
  .chat-body { height: 320px; }
  .panel { border-radius: 28px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 26px 0 0; border-left: 0; }
  .principle + .principle { margin-top: 26px; border-top: 1px solid var(--night-line); }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tbody tr { padding: 18px 0; }
  .compare-table tbody tr:first-child { border-top: 1px solid var(--ink); }
  .compare-table tbody th { width: 100%; padding: 0 0 10px; }
  .compare-table td { padding: 4px 0; }
  .compare-table td .who { display: inline; color: var(--ink-3); font-weight: 400; }
  .voices-row { grid-template-columns: 1fr; }
  .voice, .voice + .voice { padding: 24px 0 0; border-left: 0; margin-top: 0; }
  .voice + .voice { margin-top: 24px; border-top: 1px solid var(--line); }
  .closing-stage { border-radius: 28px; padding: 40px 24px 0; }
  .acc-body { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .callout { flex-direction: column; gap: 12px; padding: 22px; }
  .panel-art { margin: 28px 12px 0; padding: 16px 12px 0; }
  .ui-card { padding: 14px; }
  .review-top { gap: 10px; }
  .review-top .ico.flag { display: none; }
  .tx .meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tx .ico, .member .face { width: 34px; height: 34px; }
  .util-main .card { padding: 24px; }
  .contact-card { padding: 28px; }
}

@media (max-width: 400px) {
  .hero-cta .play-badge { width: 100%; justify-content: center; }
}

.compare-table .who { display: none; }

/* ═══ 24. Language switch + Bengali (বাংলা) typography ═══════ */
.lang-link {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.lang-link:hover { color: var(--ink); background: rgba(16, 16, 20, 0.04); box-shadow: inset 0 0 0 1px var(--ink-3); }
.lang-link:lang(bn) { font-family: "MW Lang", var(--sans); padding-top: 1px; }
@media (max-width: 380px) { .lang-link { height: 36px; padding: 0 11px; font-size: 0.875rem; } .nav-inner { gap: 12px; } .nav-end { gap: 8px; } .brand img { height: 34px; } }
.lang-note { margin-top: 18px; max-width: 640px; font-size: 0.9375rem; color: var(--ink-3); }
.lang-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Bengali script has no italics or case, and joins letters with a headline (মাত্রা):
   no negative tracking, taller lines, upright numerals, emphasis drawn as a gold underline. */
:lang(bn) { letter-spacing: 0 !important; }
html:lang(bn) body { line-height: 1.72; }
.lede:lang(bn) { line-height: 1.75; }
h1:lang(bn), h2:lang(bn), h3:lang(bn), h4:lang(bn) { line-height: 1.38; }
.t-display:lang(bn), .t-h1:lang(bn), .t-h2:lang(bn), .page-hero h1:lang(bn), .util-main h1:lang(bn) { line-height: 1.24; }
.t-h1:lang(bn) { font-size: clamp(2.4rem, 1.4rem + 3.7vw, 4.5rem); }
.t-h2:lang(bn) { font-size: clamp(2.15rem, 1.35rem + 3vw, 3.9rem); }
.page-hero h1:lang(bn) { font-size: clamp(2.6rem, 1.5rem + 4vw, 4.9rem); }
.s-title:lang(bn) { font-size: min(clamp(2.6rem, 0.3rem + 5.5vw, 5.5rem), 11.5vh); line-height: 1.22; }
/* Phones/tablets: size the headline so "তথ্য থাকুক নিজের কাছে।" stays on one line (≈9.2em wide) */
@media (max-width: 960px) { .s-title:lang(bn) { font-size: min(calc((100vw - var(--gutter) * 2) / 9.4), 3.6rem); } }
.chapter h2:lang(bn) { line-height: 1.26; }
.panel-copy h3:lang(bn), .hs-card h3:lang(bn), .help-group-head h2:lang(bn), .contact-card h2:lang(bn), .prose h2:lang(bn) { line-height: 1.32; }
.hs-card h3:lang(bn) { font-size: 1.85rem; }
.manifesto p:lang(bn) { line-height: 1.38; }
.voices-lead .big:lang(bn) { line-height: 1.42; }
.privacy h2:lang(bn) { max-width: 11em; }
.mobile-menu a:not(.btn):lang(bn) { font-size: 1.5rem; }
.acc-q:lang(bn), .voice b:lang(bn), .principle h3:lang(bn) { line-height: 1.5; }
.chapter-no:lang(bn), .hs-card .n:lang(bn), .hs-count:lang(bn), .principle .k:lang(bn), .util-step .num:lang(bn), .s-num:lang(bn), .marquee-group span:lang(bn) { font-style: normal; }
.notfound .nf-bn { margin-top: -18px; font-size: 0.9375rem; line-height: 1.75; color: var(--ink-3); }
.ui-card:lang(bn), .hs-art:lang(bn), .chat:lang(bn), .hero-note:lang(bn) { line-height: 1.45; }
.play-badge small:lang(bn) { text-transform: none; font-size: 0.75rem; }
.v-chart i.on:lang(bn)::before { content: "−১২%"; }
/* Bengali headings run taller: give the pinned gallery a little more headroom */
@media (min-width: 961px) { .seq .hs-card:lang(bn) { height: min(500px, calc(100vh - var(--nav-h) - 340px)); } .hs-head .lede:lang(bn) { line-height: 1.62; } }
@media (min-width: 961px) and (max-height: 860px) { .seq .hs-card:lang(bn) { height: min(500px, calc(100vh - var(--nav-h) - 240px)); } }

/* Split words need room above and below for vowel signs (কার) and conjuncts */
.js .split:lang(bn) .w { padding: 0.14em 0.14em 0.3em 0.04em; margin: -0.14em -0.14em -0.3em -0.04em; }

/* Emphasis: upright, underlined in gold — drawn in once the heading has risen */
em:lang(bn) { font-style: normal !important; } /* the Bengali fonts have no italics; never synthesize them */
.t-h1 em:lang(bn), .t-h2 em:lang(bn), .s-title em:lang(bn), .manifesto p em:lang(bn), .voices-lead .big em:lang(bn), .page-hero h1 em:lang(bn) {
  background: linear-gradient(90deg, #b8901f, #f3dc94 40%, #d4af37 75%, #f0cf6a) no-repeat 0 92% / 100% 0.075em;
  padding-bottom: 0.04em;
}
.js .split em:lang(bn) { background-size: 0% 0.075em; transition: background-size 0.9s var(--ease) 0.55s; }
.js .split.is-visible em:lang(bn) { background-size: 100% 0.075em; }
.has-intro .s-title em:lang(bn) { transition-delay: 2.05s; }
@media (prefers-reduced-motion: reduce) { .js .split em:lang(bn) { background-size: 100% 0.075em; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .scrub .sw { opacity: 1; }
  .js .split .w > span { transform: none; }
  .js .pulse path { stroke-dashoffset: 0; }
  .js .pulse circle { opacity: 1; }
  .intro-screen { display: none !important; }
  .marquee-track { animation: none; }
}

@media print {
  .nav, .mobile-menu, .to-top, .toast, .toc, .help-nav, .footer { display: none !important; }
  body { background: #fff; }
  .legal-layout { display: block; }
}

/* ═══ New in 4.7: trips, savings groups, the wishlist (#together) ═══ */
.panel-wide { grid-column: 1 / -1; }
@media (min-width: 961px) {
  .panel-wide { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
  .panel-wide .panel-copy { padding-bottom: clamp(28px, 4vw, 48px); align-self: center; }
}
.trip-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); }
.trip-head b { display: block; font-size: 1rem; font-weight: 700; }
.trip-head span { font-size: 0.8125rem; color: var(--ink-3); }
.trip-head .round { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: var(--brand-ink); background: var(--brand-tint); }
.trip-head .faces .face { box-shadow: 0 0 0 2px #fff; }
.tx .ico svg { width: 20px; height: 20px; }
.tx .face { flex: none; width: 40px; height: 40px; }
.settle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px 4px; font-size: 0.9375rem; color: var(--ink-2); }
.settle b { color: var(--ink); font-weight: 700; }
.settle .btn-pill, .tx .btn-pill { flex: none; padding: 8px 16px; border-radius: 999px; font-size: 0.875rem; font-weight: 700; color: #fff; background: var(--brand); }
.stamps { display: flex; gap: 8px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.stamps i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 0.75rem; font-weight: 700; color: #fff; }
.stamps i.done { background: var(--brand); border-color: var(--brand); }
.stamps i.now { border-color: var(--brand); color: var(--brand-ink); }
.wish-tile { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #1f2a44, #3d4f7a); }
.wish-tile svg { width: 22px; height: 22px; }
.wish-ring { width: 44px; height: 44px; flex: none; border-radius: 50%; position: relative; display: grid; place-items: center; font-weight: 700; font-size: 0.9375rem; background: conic-gradient(var(--brand) 0 36%, rgba(16, 16, 20, 0.1) 36% 100%); }
.wish-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.wish-ring span { position: relative; }
.tx .meta span.note-pos { color: var(--pos); }
.tx .meta span.note-warn { color: #9a6408; }
.kept { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 4px 6px; }
.kept span { font-size: 0.875rem; color: var(--ink-2); }
.kept b { font-size: 1.5rem; font-weight: 750; color: var(--pos); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .stamps { gap: 6px; } .stamps i { width: 22px; height: 22px; } }
