/* Saypurse site. Light by default (people read it on phones, in daylight); dark follows the system. */
:root {
  --bg: #f5f6f7;
  --surface: #ffffff;
  --ink: #121416;
  --ink-2: #4d555d;
  --ink-3: #6b737b;
  --line: #e2e5e8;
  --accent: #0b7f6f;
  --accent-fill: #33d1b8;
  --on-accent: #062923;
  --accent-soft: #dff5f0;
  --danger: #c2412d;
  --shadow-phone: 0 40px 80px -24px rgba(18, 20, 22, 0.28), 0 12px 24px -12px rgba(18, 20, 22, 0.18);
  --shadow-card: 0 18px 40px -16px rgba(18, 20, 22, 0.22), 0 4px 10px -4px rgba(18, 20, 22, 0.08);
  --radius: 22px;
  --font: "Geist", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bn: "Hind Siliguri", "Geist", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0e;
    --surface: #15171a;
    --ink: #eceef0;
    --ink-2: #b4bbc2;
    --ink-3: #8c949c;
    --line: #262a2f;
    --accent: #33d1b8;
    --accent-soft: #10332d;
    --danger: #ff8a73;
    --shadow-phone: 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 18px 40px -16px rgba(0, 0, 0, 0.7), 0 4px 10px -4px rgba(0, 0, 0, 0.4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--accent-fill); color: var(--on-accent); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.bn { font-family: var(--bn); }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background-color .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent-fill); color: var(--on-accent); box-shadow: 0 8px 20px -8px rgba(11, 127, 111, .55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(11, 127, 111, .6); text-decoration: none; }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); text-decoration: none; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero h1 { font-size: clamp(44px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; margin: 0 auto; max-width: 12ch; text-wrap: balance; }
.hero .lede { font-size: clamp(18px, 2.1vw, 22px); color: var(--ink-2); max-width: 34ch; margin: 22px auto 0; text-wrap: balance; }
.hero .lede .bn { color: var(--ink); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

.stage { position: relative; margin: 64px auto 0; height: 640px; max-width: 980px; }
.stage::after { content: ""; position: absolute; left: -50vw; right: -50vw; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--bg)); z-index: 2; pointer-events: none; }
.phone { position: absolute; width: 300px; aspect-ratio: 9 / 20; border-radius: 44px; padding: 9px; background: #101214; box-shadow: var(--shadow-phone); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; background: #f3f4f6; }
.phone.center { left: 50%; transform: translateX(-50%); top: 0; width: 320px; z-index: 2; }
.phone.left { left: 6%; top: 90px; transform: rotate(-4deg); opacity: .96; }
.phone.right { right: 6%; top: 90px; transform: rotate(4deg); opacity: .96; }

/* The voice card: the one moving thing on the page */
.voice { position: absolute; z-index: 3; margin: 0; left: calc(50% - 360px); top: 120px; width: 300px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 16px; }
.voice-said { display: flex; align-items: center; gap: 10px; background: var(--accent-soft); color: var(--ink); border-radius: 14px; padding: 10px 14px; min-height: 46px; font-size: 16px; }
.voice-said svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.voice-text { flex: 1; }
.voice-text::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--accent); animation: caret 1s steps(1) infinite; }
.voice.done .voice-text::after { opacity: 0; animation: none; }
@keyframes caret { 50% { opacity: 0; } }
.voice-out { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; min-height: 108px; align-content: start; }
.voice-out li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 8px 4px; border-top: 1px solid var(--line); opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1), filter .5s; }
.voice-out li:first-child { border-top: 0; }
.voice-out li.in { opacity: 1; transform: none; filter: none; }
.chip { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: 15px; }
.chip svg { width: 18px; height: 18px; }
.entry-what { font-weight: 600; font-size: 15px; line-height: 1.25; }
.entry-what small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; }
.entry-amt { font-weight: 650; font-variant-numeric: tabular-nums; font-size: 15px; }
.entry-amt.plus { color: var(--accent); }
.voice-save { display: flex; justify-content: flex-end; margin-top: 10px; }
.voice-save span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--accent-fill); color: var(--on-accent); font-weight: 600; font-size: 14px; opacity: 0; transition: opacity .4s; }
.voice.done .voice-save span { opacity: 1; }
.voice-save svg { width: 16px; height: 16px; }

/* Sections */
section { padding: 120px 0; }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; margin: 0; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; margin: 0; }
.sec-head p, .feature-copy p { font-size: 19px; color: var(--ink-2); margin: 18px 0 0; text-wrap: pretty; }

/* Say it rows */
.sayings { border-top: 1px solid var(--line); }
.saying { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.saying-said { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.01em; line-height: 1.3; }
.saying-said .lang { display: block; font-size: 13px; color: var(--ink-3); letter-spacing: 0; margin-bottom: 6px; font-family: var(--font); }
.arrow { color: var(--ink-3); width: 28px; height: 28px; justify-self: center; }
.saying-got { display: grid; gap: 8px; }
.got { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.got b { font-weight: 600; }
.got small { color: var(--ink-3); font-size: 14px; margin-left: 8px; }
.got .entry-amt { white-space: nowrap; }
.promise { display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; color: var(--ink-2); font-size: 17px; max-width: 640px; }
.promise svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; }
.feature-media .phone { position: relative; width: 300px; }
.feature-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.feature-copy li { display: flex; gap: 12px; color: var(--ink-2); }
.feature-copy li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 4px; }
.duo { position: relative; width: 420px; height: 600px; }
.duo .phone { position: absolute; width: 260px; }
.duo .phone:first-child { left: 0; top: 0; }
.duo .phone:last-child { right: 0; top: 70px; }

/* Widget mock */
.homescreen { position: relative; width: 340px; padding: 28px 22px; border-radius: 36px; background: linear-gradient(160deg, #1f4f49, #0e2a33 60%, #121a24); box-shadow: var(--shadow-phone); display: grid; gap: 16px; }
.w-card { background: #ffffff; color: #121416; border-radius: 28px; padding: 16px; display: grid; gap: 8px; }
.w-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: #5b636c; }
.w-top b { color: #0b7f6f; font-size: 13px; }
.w-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; font-size: 14px; align-items: baseline; }
.w-line span:nth-child(2) { color: #5b636c; font-size: 12px; }
.w-line span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.w-bar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 18px; background: #eef0f2; border-radius: 999px; margin-top: 4px; }
.w-bar div { flex: 1; line-height: 1.2; }
.w-bar b { display: block; font-size: 14px; }
.w-bar small { color: #5b636c; font-size: 12px; }
.w-mic { width: 42px; height: 42px; border-radius: 50%; background: #33d1b8; color: #062923; display: grid; place-items: center; }
.w-mic svg { width: 20px; height: 20px; }
.w-row { display: flex; gap: 16px; align-items: center; }
.w-orb { width: 64px; height: 64px; border-radius: 22px; background: #ffffff; display: grid; place-items: center; flex: none; }
.w-orb span { width: 44px; height: 44px; border-radius: 50%; background: #33d1b8; color: #062923; display: grid; place-items: center; }
.w-orb svg { width: 20px; height: 20px; }
.w-tile { flex: 1; height: 64px; border-radius: 22px; background: rgba(255,255,255,.14); color: #eceef0; display: flex; align-items: center; gap: 12px; padding: 0 16px; font-size: 14px; line-height: 1.2; }
.w-tile svg { width: 22px; height: 22px; flex: none; }
.w-tile small { display: block; opacity: .7; font-size: 12px; }
.mock-note { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 14px; }

/* Privacy band */
.privacy-band { background: var(--surface); border-block: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.fact { padding: 32px 32px 8px 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 18px; }
.fact p { color: var(--ink-2); margin: 10px 0 0; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 600; text-decoration: none; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

/* Keys */
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.key { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.key-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.key p { color: var(--ink-2); margin: 12px 0 0; }
.score { display: flex; align-items: baseline; gap: 18px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.score strong { font-size: clamp(48px, 6vw, 72px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.score p { color: var(--ink-2); margin: 0; max-width: 46ch; }

/* Maker */
.maker { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.maker img { width: 112px; height: 112px; border-radius: 50%; background: var(--line); }
.maker h2 { font-size: clamp(28px, 3.4vw, 38px); }
.maker p { color: var(--ink-2); margin: 12px 0 0; max-width: 56ch; }
.maker-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* Closing */
.close { text-align: center; padding: 140px 0 120px; }
.close img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 28px; box-shadow: var(--shadow-card); }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* Privacy page (Read) */
.doc { padding: 64px 0 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.doc .meta { color: var(--ink-3); margin: 14px 0 0; font-size: 15px; }
.doc .summary { font-size: 20px; color: var(--ink); margin: 32px 0 0; line-height: 1.55; }
.doc h2 { font-size: 24px; letter-spacing: -0.015em; margin: 56px 0 12px; }
.doc p, .doc li { color: var(--ink-2); max-width: 68ch; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.doc th { color: var(--ink-3); font-weight: 500; font-size: 14px; }
.doc td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.doc td small { display: block; color: var(--ink-3); font-weight: 400; }
.doc code { font-size: .9em; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.table-scroll { overflow-x: auto; }

/* Responsive */
@media (max-width: 980px) {
  .phone.left, .phone.right { display: none; }
  .voice { left: 50%; transform: translateX(-50%); top: auto; bottom: 24px; width: min(340px, 100% - 32px); }
  .stage { height: 700px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-media { order: 0; }
  .feature-copy { max-width: 600px; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 28px 0 4px; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 48px; }
  .stage { height: 640px; margin-top: 48px; }
  .phone.center { width: 280px; }
  section { padding: 80px 0; }
  .saying { grid-template-columns: 1fr; gap: 14px; }
  .arrow { transform: rotate(90deg); justify-self: start; }
  .keys { grid-template-columns: 1fr; }
  .duo { width: 100%; max-width: 340px; height: 520px; }
  .duo .phone { width: 210px; }
  .homescreen { width: 100%; max-width: 340px; }
  .maker { grid-template-columns: 1fr; gap: 20px; }
  .maker img { width: 88px; height: 88px; }
  .score { flex-direction: column; gap: 10px; }
  footer nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
