/* vasooly.com landing page. The app's Light Pearl Glass design system on the
 * web: Moti background, Syahi ink, Dhuan secondary, Genda accent, Tulsi for
 * paid, Rani for owing. System font (SF Pro on Apple devices), light
 * tabular amounts. Motion is transform/opacity only and switches off with
 * prefers-reduced-motion. No inline styles (CSP style-src 'self'). */

:root {
  --moti: #EFEEEB;
  --syahi: #1C1B1F;
  --dhuan: #6B6A70;
  --genda: #F2A516;
  --tulsi: #1F9D6B;
  --rani: #D9336A;
  --blue: #336DA8;
  --purple: #7854A0;
  --opal: #E8EDEC;
  --warm: #F4EBDD;
  --owes-ink: #13744E;
  --owe-ink: #B02A57;
  --leaf: #19C37C;        /* the app icon's green */
  --leaf-deep: #0E9F62;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-edge: rgba(255, 255, 255, 0.9);
  --shadow: 0 1px 2px rgba(28, 27, 31, 0.05), 0 12px 32px rgba(28, 27, 31, 0.08);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --s: 0.8;               /* phone scale, set by landing.js */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--moti); color: var(--syahi); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, p { margin: 0; }
::selection { background: rgba(242, 165, 22, 0.35); }

/* Buttons ---------------------------------------------------------------- */

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.9);
  background: var(--genda); color: var(--syahi); font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  box-shadow: 0 1px 1px rgba(28, 27, 31, 0.08), 0 10px 26px rgba(242, 165, 22, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 1px 1px rgba(28, 27, 31, 0.08), 0 16px 34px rgba(242, 165, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.pill:active { transform: scale(0.97); }
.pill:focus-visible, .text-link:focus-visible, .brand:focus-visible, .nav-join:focus-visible, .close:focus-visible, .input:focus-visible { outline: 3px solid rgba(51, 109, 168, 0.55); outline-offset: 3px; }
.pill-small { min-height: 38px; padding: 0 16px; font-size: 14px; box-shadow: 0 6px 16px rgba(242, 165, 22, 0.28); }
.pill.big { min-height: 60px; padding: 0 34px; font-size: 18px; }
.pill.wide { width: 100%; }
.pill[disabled] { opacity: 0.7; cursor: default; transform: none; }
.text-link { text-decoration: none; color: var(--dhuan); font-weight: 500; font-size: 17px; padding: 12px 6px; transition: color 0.2s; }
.text-link:hover { color: var(--syahi); }

.glass {
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
}
.glass-strong {
  background: rgba(250, 249, 247, 0.86); border: 1px solid #fff;
  -webkit-backdrop-filter: blur(30px) saturate(1.5); backdrop-filter: blur(30px) saturate(1.5);
}
.eyebrow { font-size: 15px; font-weight: 500; color: var(--dhuan); letter-spacing: -0.005em; }
.eyebrow.light { color: rgba(255, 255, 255, 0.82); }
.muted { color: var(--dhuan); }
.center { text-align: center; }

/* Nav: no background; it sits on the hero and scrolls away ------------- */

.nav {
  position: absolute; inset: 0 0 auto; z-index: 50; height: 76px; padding: 0 max(24px, env(safe-area-inset-left));
  display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 12px rgba(25, 195, 124, 0.25); }
.brand.small img { width: 24px; height: 24px; border-radius: 6px; box-shadow: none; }
.wordmark { font-size: 22px; font-weight: 650; letter-spacing: -0.03em; }
.brand.small .wordmark { font-size: 17px; }
.nav-join { border: 0; background: none; padding: 10px 4px; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--syahi); }
.nav-join:hover { color: var(--leaf-deep); }

/* Hero: words on one side, the mascot on the other ------------------------ */

.hero {
  min-height: 100svh; max-width: 1240px; margin: 0 auto; padding: 110px 40px 60px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px;
}
.hero-title { margin-top: 14px; font-size: clamp(56px, 8.4vw, 116px); font-weight: 680; letter-spacing: -0.05em; line-height: 0.96; }
.hero-sub { margin-top: 26px; max-width: 500px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.42; color: var(--dhuan); letter-spacing: -0.01em; }
.hero-actions { margin-top: 36px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hero-art { position: relative; display: grid; place-items: center; }
.glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(25, 195, 124, 0.22), rgba(242, 165, 22, 0.08) 60%, transparent); filter: blur(10px); }
.mascot-hero { position: relative; width: min(100%, 520px); height: auto; filter: drop-shadow(0 30px 40px rgba(28, 27, 31, 0.14)); animation: bob 5.5s ease-in-out infinite; will-change: transform; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero-copy .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero-copy .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero-copy .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero-art.reveal { transition-delay: 0.2s; transform: translateY(40px) scale(0.96); }
.hero-art.reveal.in { transform: none; }

/* Story ----------------------------------------------------------------------
 * A tall section; the stage sticks for its whole height while landing.js maps
 * the scroll position to a step and a progress inside that step. */

.story { position: relative; height: 420vh; }
.story-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: center;
  max-width: 1180px; margin: 0 auto; padding: 64px 40px 0;
}
.steps { position: relative; list-style: none; margin: 0; padding: 0; height: 320px; }
.step {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); pointer-events: none;
}
.step.on { opacity: 1; transform: none; }
.step.past { opacity: 0; transform: translateY(-30px); }
.step-head { display: flex; align-items: flex-end; gap: 12px; }
.step-pose { width: 64px; height: auto; filter: drop-shadow(0 8px 12px rgba(28, 27, 31, 0.12)); }
.step.on .step-pose { animation: hop 0.7s var(--ease) both; }
@keyframes hop { from { transform: translateY(10px) scale(0.8) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.step-num { font-size: 14px; font-weight: 600; color: var(--leaf-deep); letter-spacing: 0.06em; padding-bottom: 6px; }
.step h2 { margin-top: 14px; font-size: clamp(36px, 4.6vw, 60px); font-weight: 650; letter-spacing: -0.04em; line-height: 1.02; }
.step p { margin-top: 20px; max-width: 420px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--dhuan); }

.phone-wrap { position: relative; display: flex; justify-content: center; align-items: center; perspective: 1600px; align-self: stretch; min-height: 0; min-width: 0; }
.phone {
  position: relative; width: 418px; height: 872px; border-radius: 68px; padding: 14px;
  background: linear-gradient(145deg, #2b2a30, #121115 45%, #26252b);
  box-shadow: 0 0 0 2px #3a393f, 0 0 0 3px #0d0d10, 0 50px 90px rgba(28, 27, 31, 0.28), 0 20px 40px rgba(28, 27, 31, 0.18);
  transform-origin: 50% 50%; transform: scale(var(--s)); will-change: transform; flex-shrink: 0;
}
.phone-shadow { position: absolute; bottom: 4%; left: 50%; width: 60%; height: 40px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(28, 27, 31, 0.18), transparent); filter: blur(8px); z-index: -1; }
.island { position: absolute; top: 26px; left: 50%; width: 120px; height: 35px; margin-left: -60px; border-radius: 20px; background: #000; z-index: 30; }
.screen {
  position: relative; width: 390px; height: 844px; border-radius: 54px; overflow: hidden; clip-path: inset(0 round 54px); background: var(--moti);
  font-size: 15px; letter-spacing: -0.01em;
}
.screen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 40% at 20% 10%, rgba(244, 235, 221, 0.9), transparent 70%), radial-gradient(60% 40% at 90% 30%, rgba(232, 237, 236, 0.9), transparent 70%);
}
.statusbar { position: absolute; top: 0; left: 0; right: 0; height: 54px; padding: 18px 32px 0 40px; display: flex; justify-content: space-between; font-weight: 600; font-size: 16px; z-index: 25; }
.sb-icons { display: flex; gap: 6px; align-items: center; }
.sb-signal, .sb-wifi, .sb-battery { display: block; height: 11px; background: var(--syahi); border-radius: 2px; }
.sb-signal { width: 17px; clip-path: polygon(0 100%, 22% 100%, 22% 70%, 0 70%, 0 100%, 26% 100%, 26% 50%, 48% 50%, 48% 100%, 52% 100%, 52% 25%, 74% 25%, 74% 100%, 78% 100%, 78% 0, 100% 0, 100% 100%); }
.sb-wifi { width: 15px; border-radius: 0; clip-path: polygon(50% 100%, 0 30%, 15% 12%, 50% 0, 85% 12%, 100% 30%); }
.sb-battery { width: 25px; height: 12px; border-radius: 3.5px; background: var(--syahi); box-shadow: inset 0 0 0 1.5px var(--syahi); }

.scr {
  position: absolute; inset: 0; padding: 58px 20px 0; z-index: 1;
  opacity: 0; transform: translateX(28px) scale(0.985); transition: opacity 0.55s var(--ease), transform 0.65s var(--ease);
}
.scr.on { opacity: 1; transform: none; z-index: 2; }
.scr.past { transform: translateX(-28px) scale(0.985); }

/* App components (mirrors the SwiftUI design system) ----------------------- */

.app-head { display: flex; align-items: center; justify-content: space-between; height: 48px; margin-top: 6px; }
.app-logo { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; }
.bell { width: 24px; height: 24px; fill: none; stroke: var(--syahi); stroke-width: 1.6; stroke-linejoin: round; margin-right: 6px; }
.greet { margin-top: 18px; text-align: center; color: var(--dhuan); font-weight: 500; font-size: 15px; }
.hero-amt { font-size: 60px; font-weight: 300; letter-spacing: -0.03em; text-align: center; font-variant-numeric: tabular-nums; line-height: 1.15; }
.hero-amt.big { font-size: 66px; margin-top: 4px; }
.hero-amt.mid { font-size: 48px; }
.hero-amt.left { text-align: left; font-size: 46px; }
.hero-amt .rs { font-weight: 300; margin-right: 2px; }
.small { font-size: 13px; }
.owes-ink { color: var(--owes-ink); }
.owe-ink { color: var(--owe-ink); }
.paid-ink { color: var(--dhuan); }

.face { display: block; border-radius: 50%; box-shadow: 0 0 0 2px #fff; background: var(--opal); }
.face-22 { width: 22px; height: 22px; box-shadow: 0 0 0 1.5px #fff; }
.face-28 { width: 28px; height: 28px; }
.face-36 { width: 36px; height: 36px; }
.face-40 { width: 40px; height: 40px; }
.face-44 { width: 44px; height: 44px; }
.face-56 { width: 56px; height: 56px; }
.face-88 { width: 88px; height: 88px; }

/* Stories-style ring: Genda into Tulsi when they owe you, Rani into purple
 * when you owe them, turning slowly. */
.ring { position: relative; display: inline-grid; place-items: center; padding: 4px; border-radius: 50%; isolation: isolate; }
.ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2.5px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 9s linear infinite;
}
.ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; filter: blur(6px); opacity: 0.35; z-index: -1; animation: spin 9s linear infinite; }
.ring.owes::before, .ring.owes::after { background: conic-gradient(var(--genda), #F7C548, var(--tulsi), #6CC49B, var(--genda)); }
.ring.owe::before, .ring.owe::after { background: conic-gradient(var(--rani), #E86A93, var(--purple), #A98BD0, var(--rani)); }
.ring.settled::before, .ring.settled::after { background: conic-gradient(var(--tulsi), #6CC49B, var(--tulsi)); }
.ring.big { padding: 6px; }
.ring.big::before { padding: 3.5px; }
@keyframes spin { to { transform: rotate(1turn); } }

.people-row { display: flex; justify-content: space-between; margin-top: 26px; padding: 0 2px; }
.pr { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 80px; }
.pr b { font-weight: 500; font-size: 13px; margin-top: 4px; }
.pr em { font-style: normal; font-weight: 500; font-size: 13px; font-variant-numeric: tabular-nums; }
.tick { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--tulsi); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; transform: scale(0); transition: transform 0.5s var(--ease); }
.tick.on { transform: scale(1); }

.plans-head { display: flex; align-items: center; justify-content: space-between; margin: 26px 2px 10px; }
.plans-head b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.chip-open { font-size: 12px; font-weight: 500; color: var(--dhuan); background: rgba(242, 165, 22, 0.18); padding: 4px 10px; border-radius: 99px; }
.card { border-radius: 26px; }
.plan { padding: 16px 16px 14px; margin-bottom: 12px; }
.plan-top { display: flex; align-items: center; gap: 12px; }
.plan-top div { display: flex; flex-direction: column; flex: 1; }
.plan-top b { font-weight: 500; font-size: 16px; }
.plan-top small { color: var(--dhuan); font-size: 12px; margin-top: 2px; }
.plan-amt { font-size: 26px; font-weight: 300; letter-spacing: -0.02em; }
.tile { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; border: 1px solid rgba(255, 255, 255, 0.85); }
.tile.s { width: 30px; height: 30px; border-radius: 10px; font-size: 15px; }
.tile.food { background: linear-gradient(135deg, rgba(242, 165, 22, 0.16), rgba(242, 165, 22, 0.34)); }
.tile.trip { background: linear-gradient(135deg, rgba(51, 109, 168, 0.14), rgba(51, 109, 168, 0.3)); }
.tile.match { background: linear-gradient(135deg, rgba(31, 157, 107, 0.14), rgba(31, 157, 107, 0.3)); }
.plan-bottom { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.stack { display: flex; align-items: center; }
.stack .face { margin-right: -8px; }
.stack i { font-style: normal; font-size: 11px; font-weight: 600; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--moti); box-shadow: 0 0 0 2px #fff; }
.bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(28, 27, 31, 0.09); overflow: hidden; margin-left: 10px; }
.bar-fill { display: block; height: 100%; background: var(--tulsi); border-radius: 4px; width: 33%; transition: width 0.8s var(--ease); }
.bar-fill.b67 { width: 67%; }
.bar-fill.b33 { width: 33%; }
.bar-fill.b50 { width: 50%; }
.plan-bottom small { font-size: 12px; color: var(--dhuan); font-variant-numeric: tabular-nums; }

.accessory { position: absolute; left: 16px; right: 16px; bottom: 104px; height: 56px; border-radius: 28px; display: flex; align-items: center; gap: 12px; padding: 0 14px; z-index: 3; }
.accessory b { font-size: 16px; font-weight: 600; flex: 1; }
.plus { width: 32px; height: 32px; border-radius: 50%; background: var(--genda); display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.emo { font-size: 14px; letter-spacing: 2px; }
.tabbar { position: absolute; left: 16px; right: 16px; bottom: 26px; height: 66px; border-radius: 33px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; z-index: 3; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: 500; border-radius: 26px; color: var(--syahi); }
.tab.on { background: rgba(28, 27, 31, 0.06); }
.tab svg { width: 24px; height: 24px; fill: var(--syahi); }
.tab .cut { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Create flow */
.flow-title { display: flex; align-items: center; gap: 10px; margin-top: 4px; height: 52px; }
.flow-title > div { flex: 1; display: flex; flex-direction: column; align-items: center; margin-right: 44px; }
.flow-title b { font-size: 17px; font-weight: 600; }
.flow-title.plain > div { margin-right: 44px; }
.back { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; line-height: 1; background: rgba(255, 255, 255, 0.75); box-shadow: var(--shadow); }
.dots { display: flex; gap: 4px; margin-top: 6px; }
.d { width: 6px; height: 6px; border-radius: 3px; background: rgba(28, 27, 31, 0.12); }
.d.done { background: rgba(28, 27, 31, 0.45); }
.d.on { width: 18px; background: var(--genda); }
.ask { margin-top: 18px; text-align: center; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.field { margin-top: 16px; border-radius: 22px; padding: 16px 20px; font-size: 16px; display: flex; align-items: center; }
.caret { display: inline-block; width: 2px; height: 20px; background: var(--genda); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { padding: 9px 13px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-edge); font-size: 13px; box-shadow: var(--shadow); }
.chip.sel { background: rgba(242, 165, 22, 0.42); font-weight: 600; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.keypad span { height: 50px; border-radius: 26px; display: grid; place-items: center; font-size: 24px; background: rgba(255, 255, 255, 0.82); box-shadow: 0 1px 1px rgba(28, 27, 31, 0.04), 0 8px 18px rgba(28, 27, 31, 0.06); transition: transform 0.18s var(--ease), background 0.18s; }
.keypad span.press { transform: scale(0.92); background: rgba(242, 165, 22, 0.3); }
.flow-foot { position: absolute; left: 20px; right: 20px; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 3; }
.flow-foot small { font-size: 13px; color: var(--dhuan); font-weight: 500; }
.next { width: 100%; height: 58px; border-radius: 30px; background: var(--genda); display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 24px; font-weight: 600; font-size: 17px; box-shadow: 0 10px 24px rgba(242, 165, 22, 0.3); border: 1px solid #fff; }
.next i { font-style: normal; width: 42px; height: 42px; border-radius: 50%; background: var(--syahi); color: var(--genda); display: grid; place-items: center; font-weight: 700; }

.split-with { margin-top: 10px; font-size: 32px; font-weight: 650; letter-spacing: -0.03em; }
.strip { display: flex; gap: 14px; margin-top: 14px; align-items: flex-start; height: 74px; }
.add { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow); flex-shrink: 0; }
.sp { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; opacity: 0; transform: scale(0.6); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.sp.on { opacity: 1; transform: none; }
.paidby { margin-top: 8px; border-radius: 22px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; }
.paidby div { flex: 1; display: flex; flex-direction: column; }
.paidby b { font-size: 14px; font-weight: 600; }
.paidby small { font-size: 12px; color: var(--dhuan); margin-top: 2px; }
.paidby small.owe { color: var(--owe-ink); }
.pb-ico { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 17px; }
.chg { color: var(--dhuan); font-size: 12px; }
.list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.row { border-radius: 22px; padding: 10px 16px; display: flex; align-items: center; gap: 14px; font-size: 16px; transition: background 0.35s; }
.row span { flex: 1; }
.row.on { background: rgba(242, 165, 22, 0.16); }
.check { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--dhuan); position: relative; transition: background 0.3s, box-shadow 0.3s; font-style: normal; }
.row.on .check { background: var(--syahi); box-shadow: none; }
.row.on .check::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Person */
.person-head { display: flex; flex-direction: column; align-items: center; margin-top: 4px; }
.person-head > b { font-size: 21px; font-weight: 600; margin-top: 10px; }
.send-btn { display: flex; justify-content: center; align-items: center; height: 56px; margin-top: 16px; border-radius: 30px; background: var(--genda); font-weight: 600; font-size: 17px; border: 1px solid #fff; box-shadow: 0 10px 24px rgba(242, 165, 22, 0.3); transition: transform 0.2s var(--ease); }
.send-btn.press { transform: scale(0.96); }
.between { margin-top: 16px; border-radius: 24px; padding: 4px 0; }
.bt { display: flex; align-items: center; gap: 12px; padding: 11px 16px; font-size: 15px; }
.bt + .bt { border-top: 1px solid rgba(28, 27, 31, 0.06); }
.bt span:nth-child(2) { flex: 1; }
.bt b { font-weight: 500; font-variant-numeric: tabular-nums; }
.chat {
  position: absolute; left: 0; right: 0; bottom: 0; height: 330px; padding: 22px 16px 34px; z-index: 4;
  background: linear-gradient(180deg, rgba(232, 237, 236, 0) 0%, rgba(232, 237, 236, 0.96) 22%, #E6EBE9 100%);
  transform: translateY(100%); transition: transform 0.7s var(--ease); display: flex; align-items: flex-end; justify-content: flex-end;
}
.chat.on { transform: none; }
.bubble { max-width: 300px; background: #DCF3D9; border-radius: 20px 20px 6px 20px; padding: 12px 14px 8px; font-size: 14.5px; line-height: 1.38; box-shadow: 0 6px 18px rgba(28, 27, 31, 0.1); }
.lnk { color: var(--blue); text-decoration: underline; }
.preview { display: flex; flex-direction: column; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.75); border-left: 3px solid var(--genda); }
.preview b { font-size: 13px; }
.preview small { font-size: 11px; color: var(--dhuan); }
.time { display: block; text-align: right; font-size: 11px; color: var(--dhuan); margin-top: 4px; }

/* Payer page on Rohan's phone */
.scr.payer { background: var(--moti); }
.browser { height: 36px; margin: 0 -4px; border-radius: 12px; background: rgba(28, 27, 31, 0.06); display: grid; place-items: center; font-size: 13px; color: var(--dhuan); }
.pay-eyebrow { margin-top: 18px; font-size: 14px; color: var(--dhuan); }
.pay-hi { font-size: 32px; font-weight: 650; letter-spacing: -0.03em; margin-top: 2px; }
.owe-card { margin-top: 14px; padding: 18px; }
.owe-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(28, 27, 31, 0.07); font-size: 15px; }
.owe-row b { font-weight: 500; }
.pay-btn, .paid-btn { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 28px; font-weight: 600; font-size: 17px; margin-top: 14px; transition: transform 0.2s var(--ease); }
.pay-btn { background: var(--genda); border: 1px solid #fff; box-shadow: 0 10px 24px rgba(242, 165, 22, 0.3); }
.pay-btn.press, .paid-btn.press { transform: scale(0.96); }
.quiet-btn { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 24px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(28, 27, 31, 0.08); font-weight: 600; font-size: 15px; margin-top: 10px; }
.paid-btn { background: rgba(255, 255, 255, 0.7); margin-top: 10px; position: relative; }
.paid-btn .pb-done { display: none; color: var(--leaf-deep); }
.paid-btn.done .pb-text { display: none; }
.paid-btn.done .pb-done { display: inline; }
.mock-qr { margin-top: 14px; display: grid; place-items: center; background: #fff; border-radius: 18px; border: 1px solid rgba(28, 27, 31, 0.08); padding: 8px; }
.mock-qr canvas { width: 120px; height: 120px; display: block; }
.mock-toast { position: absolute; left: 50%; bottom: 36px; transform: translate(-50%, 20px); opacity: 0; background: var(--syahi); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 22px; z-index: 4; transition: opacity 0.3s, transform 0.4s var(--ease); white-space: nowrap; }
.mock-toast.on { opacity: 1; transform: translate(-50%, 0); }
/* Which routes this country's page shows */
.only-qr, .not-qr { display: none !important; }
.screen[data-mode="qr"] .only-qr { display: flex !important; }
.screen[data-mode="qr"] .mock-qr { display: grid !important; }
.screen[data-mode="link"] .not-qr, .screen[data-mode="copy"] .not-qr { display: flex !important; }

/* His own payment app: a different screen, not a sheet on our page */
.other-app {
  position: absolute; inset: 0; z-index: 6; background: #F4F5F7; color: var(--syahi);
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform 0.6s var(--ease);
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; letter-spacing: 0;
}
.other-app.on { transform: none; }
.oa-bar { padding: 62px 20px 14px; background: #fff; color: #1C1B1F; border-bottom: 1px solid #E3E5E9; display: flex; align-items: center; gap: 12px; }
.oa-bar .oa-back { font-size: 26px; line-height: 1; color: #5C6066; }
.oa-bar div { display: flex; flex-direction: column; }
.oa-bar b { font-size: 17px; font-weight: 600; }
.oa-bar small { font-size: 12px; color: #5C6066; }
.oa-body { flex: 1; padding: 20px; display: flex; flex-direction: column; }
.oa-gallery { flex-direction: column; gap: 14px; opacity: 0; transition: opacity 0.4s; }
.oa-gallery.on { opacity: 1; }
.oa-tabs { display: flex; gap: 8px; }
.oa-tabs span { flex: 1; text-align: center; padding: 10px 0; border-radius: 12px; background: #E6E8EC; font-size: 14px; font-weight: 600; color: #5C6066; }
.oa-tabs span.on { background: #24262B; color: #fff; }
.oa-thumb { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; background: #fff; border-radius: 16px; border: 2px solid transparent; transform: scale(0.96); opacity: 0; transition: opacity 0.35s, transform 0.4s var(--ease), border-color 0.3s; }
.oa-thumb.on { opacity: 1; transform: none; }
.oa-thumb.pick { border-color: #24262B; }
.oa-thumb canvas { width: 96px; height: 96px; }
.oa-thumb small { font-size: 12px; color: #5C6066; }
.oa-pay { position: absolute; left: 20px; right: 20px; top: 150px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border-radius: 20px; padding: 26px 20px 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.oa-pay.on { opacity: 1; transform: none; }
.oa-name { font-size: 20px; font-weight: 600; margin-top: 4px; }
.oa-pay .hero-amt { margin: 10px 0 4px; }
.oa-pay .hero-amt.typing { color: #9A9DA3; font-size: 22px; font-weight: 500; }
.upi-pin { gap: 12px; margin: 14px 0 6px; }
.upi-pin i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #9A9DA3; transition: background 0.15s; }
.upi-pin i.on { background: #24262B; box-shadow: none; }
.oa-confirm { align-items: center; justify-content: center; height: 50px; width: 100%; border-radius: 14px; background: #24262B; color: #fff; font-weight: 600; font-size: 16px; margin-top: 14px; transition: transform 0.2s var(--ease), opacity 0.3s; }
.oa-confirm.press { transform: scale(0.96); }
.oa-confirm.gone { opacity: 0; }
.upi-done { opacity: 0; transform: scale(0.8); font-weight: 600; font-size: 18px; color: #fff; background: var(--tulsi); padding: 12px 26px; border-radius: 28px; margin-top: 12px; transition: opacity 0.4s, transform 0.5s var(--ease); }
.upi-done.on { opacity: 1; transform: none; }

/* Settled */
.notif { position: absolute; top: 52px; left: 12px; right: 12px; z-index: 6; border-radius: 22px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; transform: translateY(-140%); transition: transform 0.7s var(--ease); background: rgba(255, 255, 255, 0.86); }
.notif.on { transform: none; }
.notif div { flex: 1; display: flex; flex-direction: column; }
.notif b { font-size: 14px; }
.notif small { font-size: 13px; }
.notif .now { font-size: 12px; color: var(--dhuan); align-self: flex-start; }
.notif-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--genda); display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.pill-paid { position: absolute; left: 50%; bottom: 120px; transform: translate(-50%, 20px); opacity: 0; padding: 10px 18px; border-radius: 22px; background: rgba(31, 157, 107, 0.14); color: var(--owes-ink); font-weight: 600; transition: opacity 0.5s, transform 0.6s var(--ease); }
.pill-paid.on { opacity: 1; transform: translate(-50%, 0); }

/* Features ------------------------------------------------------------- */

.features { max-width: 1180px; margin: 0 auto; padding: 150px 24px 120px; text-align: center; }
.section-title { margin: 16px auto 0; max-width: 900px; font-size: clamp(40px, 5.8vw, 72px); font-weight: 680; letter-spacing: -0.045em; line-height: 1.02; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 70px; text-align: left; }
.feature {
  position: relative; padding: 30px 30px 34px; border-radius: 34px; background: #fff;
  box-shadow: 0 1px 2px rgba(28, 27, 31, 0.04), 0 20px 50px rgba(28, 27, 31, 0.06);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 1s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(28, 27, 31, 0.04), 0 30px 60px rgba(28, 27, 31, 0.1); }
.feature img { display: block; height: 124px; width: auto; max-width: 150px; object-fit: contain; object-position: left bottom; margin: -6px 0 16px -4px; filter: drop-shadow(0 12px 16px rgba(28, 27, 31, 0.12)); transition: transform 0.5s var(--ease); }
.feature:hover img { transform: rotate(-6deg) scale(1.06); }
.feature h3 { margin: 0; font-size: 23px; font-weight: 650; letter-spacing: -0.025em; }
.feature p { margin-top: 10px; font-size: 16.5px; line-height: 1.5; color: var(--dhuan); }
.feature-grid .reveal:nth-child(3n + 2) { transition-delay: 0.08s; }
.feature-grid .reveal:nth-child(3n + 3) { transition-delay: 0.16s; }

/* Promise, proof, trust, free, FAQ --------------------------------------- */

.promise { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--leaf-deep); }
.promise svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.proof { max-width: 1180px; margin: 0 auto; padding: 30px 24px 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.proof-item { padding: 26px 24px; border-radius: 28px; background: #fff; box-shadow: 0 1px 2px rgba(28, 27, 31, 0.04), 0 16px 40px rgba(28, 27, 31, 0.05); }
.proof-item b { display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--leaf-deep); font-variant-numeric: tabular-nums; }
.proof-item span { display: block; margin-top: 10px; font-size: 15.5px; line-height: 1.4; color: var(--dhuan); }
.proof .reveal:nth-child(2) { transition-delay: 0.06s; }
.proof .reveal:nth-child(3) { transition-delay: 0.12s; }
.proof .reveal:nth-child(4) { transition-delay: 0.18s; }

.safe { margin: 40px 16px 0; border-radius: 48px; background: radial-gradient(80% 60% at 50% 0%, #2a2a31, var(--syahi) 60%); color: #fff; overflow: hidden; }
.safe-inner { max-width: 1120px; margin: 0 auto; padding: 100px 32px 110px; text-align: center; }
.safe-mascot { width: 170px; height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45)); }
.safe .eyebrow { margin-top: 18px; color: #7FE0B0; }
.safe-title { margin: 14px auto 0; font-size: clamp(40px, 5.6vw, 70px); font-weight: 680; letter-spacing: -0.045em; line-height: 1.02; }
.safe-sub { margin: 22px auto 0; max-width: 620px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.safe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 64px; text-align: left; }
.safe-card { padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease), opacity 1s var(--ease); }
.safe-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(127, 224, 176, 0.35); transform: translateY(-4px); }
.safe-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(25, 195, 124, 0.16); box-shadow: 0 0 30px rgba(25, 195, 124, 0.25); }
.safe-ico svg { width: 24px; height: 24px; fill: none; stroke: #7FE0B0; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.safe-card h3 { margin: 18px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.safe-card p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.66); }
.safe-grid .reveal:nth-child(3n + 2) { transition-delay: 0.07s; }
.safe-grid .reveal:nth-child(3n + 3) { transition-delay: 0.14s; }

.free { max-width: 900px; margin: 0 auto; padding: 140px 24px 60px; text-align: center; }
.free-mascot { width: 150px; height: auto; filter: drop-shadow(0 16px 22px rgba(28, 27, 31, 0.12)); }
.free .eyebrow { margin-top: 10px; }
.free-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.free-chip { padding: 16px 24px; border-radius: 999px; background: #fff; font-size: 18px; box-shadow: 0 1px 2px rgba(28, 27, 31, 0.04), 0 12px 30px rgba(28, 27, 31, 0.06); }
.free-chip b { color: var(--leaf-deep); font-weight: 650; }
.free-sub { margin-top: 30px; font-size: clamp(17px, 1.7vw, 20px); color: var(--dhuan); }

.faq { max-width: 820px; margin: 0 auto; padding: 100px 24px 100px; text-align: center; }
.faq-list { margin-top: 44px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(28, 27, 31, 0.04), 0 10px 26px rgba(28, 27, 31, 0.05); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(28, 27, 31, 0.05); font-weight: 500; transition: transform 0.35s var(--ease), background 0.3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: rgba(25, 195, 124, 0.16); }
.faq summary:focus-visible { outline: 3px solid rgba(51, 109, 168, 0.55); outline-offset: -3px; border-radius: 24px; }
.faq details p { padding: 0 26px 24px; font-size: 16.5px; line-height: 1.55; color: var(--dhuan); }

/* Waitlist panel ----------------------------------------------------------- */

.cta { padding: 40px 24px 120px; }
.cta-card {
  position: relative; max-width: 1100px; margin: 0 auto; padding: 70px 32px 76px; border-radius: 48px; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 0%, #2CD48C, var(--leaf) 45%, var(--leaf-deep));
  box-shadow: 0 30px 80px rgba(14, 159, 98, 0.32);
}
.cta-mascot { width: 200px; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18)); animation: bob 5s ease-in-out infinite; }
.cta-title { margin-top: 10px; font-size: clamp(38px, 5.4vw, 72px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.cta-sub { margin-top: 16px; font-size: clamp(18px, 1.8vw, 21px); color: rgba(255, 255, 255, 0.88); }
.cta .pill { margin-top: 34px; border-color: rgba(255, 255, 255, 0.7); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.55); }

.flag { width: 24px; height: 16px; flex-shrink: 0; vertical-align: -3px; }
.made { display: inline-flex; align-items: center; gap: 8px; }
.safe-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; padding: 10px 24px calc(48px + env(safe-area-inset-bottom)); color: var(--dhuan); font-size: 14px; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; }
.footer nav a:hover { color: var(--syahi); }
.footer .legal { flex-basis: 100%; order: 10; font-size: 12px; line-height: 1.5; }
.footer .legal a { color: inherit; }

/* Country: set on this device by locale.js. Until it has run, text that
   changes per country stays hidden so nothing flashes in the wrong currency. */
.l10n-wait [data-l], .l10n-wait [data-m], .l10n-wait #settledSym, .l10n-wait #settledTotal { visibility: hidden; }
.region { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 30px 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(28, 27, 31, 0.05); color: var(--syahi); }
.region::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; border: solid var(--dhuan); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.region select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-size: 14px; color: inherit; padding: 0; cursor: pointer; }
.region select:focus-visible { outline: none; }
.region:focus-within { box-shadow: 0 0 0 3px rgba(25, 195, 124, 0.35); }
.region-flag { font-size: 16px; line-height: 1; }

/* Waitlist sheet */
.sheet-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(28, 27, 31, 0.32); opacity: 0; transition: opacity 0.35s var(--ease); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet-scrim.on { opacity: 1; }
.sheet {
  position: fixed; z-index: 100; left: 50%; top: 50%; width: min(440px, calc(100vw - 32px)); border-radius: 36px; padding: 34px 30px 28px;
  box-shadow: 0 40px 100px rgba(28, 27, 31, 0.3); transform: translate(-50%, -46%) scale(0.96); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.35s var(--ease);
}
.sheet.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.sheet .grab { display: none; }
.sheet h2 { margin-top: 8px; font-size: 34px; font-weight: 650; letter-spacing: -0.035em; }
.sheet-body > .muted { margin-top: 8px; font-size: 16px; line-height: 1.45; }
.close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(28, 27, 31, 0.06); cursor: pointer; font-size: 14px; }
#waitForm { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.field-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--dhuan); }
.input { height: 52px; border-radius: 18px; border: 1px solid rgba(28, 27, 31, 0.1); background: rgba(255, 255, 255, 0.92); padding: 0 16px; font: inherit; font-size: 17px; color: var(--syahi); transition: border-color 0.2s, box-shadow 0.2s; }
.input:focus { outline: none; border-color: var(--genda); box-shadow: 0 0 0 4px rgba(242, 165, 22, 0.2); }
.input.bad { border-color: var(--rani); box-shadow: 0 0 0 4px rgba(217, 51, 106, 0.14); }
.form-error { color: var(--owe-ink); font-size: 14px; }
.fine { text-align: center; color: var(--dhuan); font-size: 12px; }
#submitBtn { margin-top: 6px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(28, 27, 31, 0.25); border-top-color: var(--syahi); animation: spin 0.8s linear infinite; }
.sheet-body.done { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 10px; }
.done-mascot { width: 130px; height: auto; animation: hop 0.7s var(--ease) both; }
.sheet-mascot { width: 80px; height: auto; margin: -6px 0 4px -6px; }
.done-ring svg { width: 84px; height: 84px; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.done-ring circle { stroke: var(--genda); stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.8s var(--ease) forwards; }
.done-ring path { stroke: var(--syahi); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s 0.5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sheet-body.done h2 { margin-top: 18px; }
.sheet-body.done .pill { margin-top: 26px; }
.noscript { text-align: center; padding: 40px; }

/* Small screens: the phone sits in the middle, the words underneath ------- */

@media (max-width: 1020px) and (min-width: 861px) {
  .safe-grid, .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .story-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; padding: 60px 20px 0; align-items: start; }
  .phone-wrap { grid-row: 1; align-items: center; min-width: 0; }
  .steps { grid-row: 2; height: 168px; text-align: center; margin-bottom: 40px; }
  .step { justify-content: flex-start; align-items: center; }
  .step h2 { margin-top: 6px; font-size: 28px; }
  .step h2 br { display: none; }
  .step p { margin-top: 10px; font-size: 16px; max-width: 360px; }
  .hero { grid-template-columns: 1fr; padding: 92px 22px 40px; text-align: center; gap: 0; min-height: auto; }
  .hero-art { order: -1; }
  .mascot-hero { width: min(68vw, 300px); }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .step-head { justify-content: center; }
  .step-pose { width: 44px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .features { padding: 110px 20px 80px; }
  .cta-card { border-radius: 36px; padding: 48px 22px 54px; }
  .cta-mascot { width: 150px; }
  .promise { justify-content: center; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 10px 16px 30px; }
  .proof-item { padding: 20px 18px; border-radius: 24px; }
  .proof-item span { font-size: 14px; }
  .safe { margin: 20px 10px 0; border-radius: 36px; }
  .safe-inner { padding: 70px 18px 70px; }
  .safe-mascot { width: 130px; }
  .safe-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .free { padding: 100px 20px 40px; }
  .free-chip { font-size: 16px; padding: 13px 18px; }
  .faq { padding: 70px 16px 70px; }
  .faq summary { font-size: 16.5px; padding: 18px 54px 18px 20px; }
  .faq details p { padding: 0 20px 20px; font-size: 15.5px; }
  .sheet { left: 0; right: 0; top: auto; bottom: 0; width: 100%; border-radius: 34px 34px 0 0; padding: 14px 22px calc(26px + env(safe-area-inset-bottom)); transform: translateY(100%); opacity: 1; }
  .sheet.on { transform: none; }
  .sheet .grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(28, 27, 31, 0.18); margin: 0 auto 10px; }
  .footer { justify-content: center; text-align: center; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* AI: the hero chip and typing line */
.ai-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: var(--syahi); color: var(--genda); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
.ai-pill { margin-top: 28px; max-width: 520px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(28, 27, 31, 0.05), 0 18px 40px rgba(28, 27, 31, 0.08); }
.ai-spark { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--genda); color: var(--syahi); font-size: 15px; }
.ai-typed { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: clip; font-size: 17px; color: var(--syahi); }
.ai-caret { width: 2px; height: 20px; background: var(--genda); flex-shrink: 0; margin-left: -10px; margin-right: auto; animation: ai-blink 1s steps(1) infinite; }
.ai-go { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--syahi); }
.ai-go svg { width: 18px; height: 18px; fill: none; stroke: var(--genda); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ai-blink { 50% { opacity: 0; } }

/* AI: the phone's composer sheet and its preview */
.ai-scr .hero-amt { margin-top: 6px; }
.ai-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 18px 26px; border-radius: 30px 30px 0 0; background: var(--moti); box-shadow: 0 -16px 40px rgba(28, 27, 31, 0.12); transition: transform 0.5s var(--ease); }
.ai-scr::after { content: ""; position: absolute; inset: 0; background: rgba(28, 27, 31, 0.12); pointer-events: none; }
.ai-sheet { z-index: 2; }
.ai-sheet .grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(28, 27, 31, 0.15); margin: 0 auto 14px; }
.ai-input { display: flex; align-items: center; min-height: 26px; font-size: 17px; }
.ai-input .ai-caret { margin-left: 1px; height: 22px; }
.ai-tools { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.ai-round { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 20px; box-shadow: 0 4px 10px rgba(28, 27, 31, 0.08); }
.ai-round svg { width: 18px; height: 18px; fill: none; stroke: var(--syahi); stroke-width: 1.8; stroke-linecap: round; }
.ai-cur { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--dhuan); }
.ai-send { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--syahi); transition: transform 0.2s; }
.ai-send.press { transform: scale(0.88); }
.ai-send svg { width: 18px; height: 18px; fill: none; stroke: var(--genda); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ai-sheet.done .ai-input, .ai-sheet.done .ai-tools { display: none; }
.ai-preview { display: none; }
.ai-preview.on { display: block; animation: ai-up 0.45s var(--ease); }
@keyframes ai-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.aip-head { display: flex; align-items: center; gap: 12px; }
.aip-head img { width: 56px; height: auto; }
.aip-head b { font-size: 17px; }
.aip-amt { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.aip-mode { display: block; margin: 12px 0 6px; font-size: 13px; }
.aip-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; opacity: 0; transform: translateX(-10px); transition: opacity 0.3s, transform 0.3s; }
.aip-row.on { opacity: 1; transform: none; }
.aip-row b { margin-left: auto; font-weight: 500; }
.aip-create { display: block; margin-top: 14px; padding: 13px; border-radius: 26px; background: var(--genda); text-align: center; font-weight: 600; font-size: 16px; transition: transform 0.2s; }
.aip-create.press { transform: scale(0.96); }
@media (prefers-reduced-motion: reduce) { .ai-caret { animation: none; } .ai-preview.on { animation: none; } }
@media (max-width: 860px) { .ai-pill { margin-left: auto; margin-right: auto; } }
