:root {
  --ink: #0f1626;
  --ink-2: #3a4356;
  --muted: #6b7484;
  --line: rgba(15, 22, 38, 0.08);
  --bg: #f7f8fa;
  --card: #ffffff;
  --sky-1: #dcedf9;
  --sky-2: #eef6fc;
  --green: #22a06b;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --serif: "Instrument Serif", "New York", Georgia, serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }

.page { width: 100%; overflow-x: clip; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2538; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15, 22, 38, .18); }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 28px 24px 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, #cfe4f5 0%, rgba(207, 228, 245, 0) 70%),
    linear-gradient(180deg, #d9ebf8 0%, #e9f3fb 45%, #f7f8fa 100%);
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
}
.clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute; border-radius: 999px;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0));
  filter: blur(18px);
}
.c1 { width: 620px; height: 240px; left: -140px; top: 32%; }
.c2 { width: 520px; height: 200px; right: -120px; top: 26%; }
.c3 { width: 900px; height: 320px; left: 10%; bottom: -80px; }
.c4 { width: 420px; height: 160px; right: 12%; bottom: 8%; }

.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 20px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(15,22,38,.08), 0 1px 0 rgba(255,255,255,.8) inset;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.brand img { width: 24px; height: 24px; border-radius: 6px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

.hero-copy { position: relative; z-index: 2; text-align: center; margin-top: 76px; max-width: 760px; }
.hero-copy h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; }
.hero-copy p { margin: 22px auto 0; font-size: 17px; color: var(--ink-2); max-width: 560px; }
.hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-note { font-size: 13px; color: var(--muted); }
.hero-pills { display: none; }

.hero-visual {
  position: relative; z-index: 1;
  margin-top: 36px; width: 100%; max-width: 900px;
  display: flex; justify-content: center;
}
.hero-hand {
  display: block; width: 720px; max-width: 100%; height: auto;
  filter: drop-shadow(0 30px 40px rgba(15,22,38,.22));
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.float-card {
  position: absolute;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(15,22,38,.10), 0 0 0 1px rgba(255,255,255,.9) inset;
  animation: float 6s ease-in-out infinite;
}
.card-left { left: 30px; top: 260px; animation-delay: -1s; }
.card-right { right: 40px; top: 140px; animation-delay: -3s; }
.card-left-top, .card-right-bottom { padding: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.card-left-top { left: 80px; top: 120px; animation-delay: -2s; }
.card-right-bottom { right: 50px; top: 400px; animation-delay: -4.5s; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1c2538; color: #fff; font-size: 12px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; box-shadow: 0 8px 20px rgba(15,22,38,.2);
}
.fc-label, .fc-sub { font-size: 12px; color: var(--muted); }
.fc-value { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin: 4px 0 2px; }
.fc-value span { font-size: 18px; color: var(--muted); font-weight: 600; }
.fc-value-sm { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; background: #f1f4f8; display: grid; place-items: center; color: var(--ink-2); margin-bottom: 8px; }
.chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.chip-green { background: #e3f6ec; color: var(--green); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Trust bar ---------- */
.trust {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 22px;
  padding: 34px 24px; color: var(--muted); font-size: 14px;
}
.trust strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.trust .dot { width: 4px; height: 4px; border-radius: 50%; background: #c8cfda; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 80px 24px; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 16px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.eyebrow-light { color: rgba(255,255,255,.6); }

/* ---------- Bento ---------- */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.tile { display: flex; flex-direction: column; }
.tile-label { font-size: 12px; color: var(--muted); font-weight: 500; padding: 0 4px 8px; }
.tile-body {
  flex: 1; background: var(--card); border-radius: var(--radius-lg); padding: 22px;
  border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(15,22,38,.03), 0 18px 40px -24px rgba(15,22,38,.18);
  display: flex; flex-direction: column; gap: 16px;
}
.tile-body h3 { font-size: 18px; font-weight: 600; }
.tile-body > p { color: var(--ink-2); font-size: 14px; margin-top: auto; }
.tile-wide { grid-column: span 2; }
.tile-body-row { flex-direction: row; align-items: center; gap: 36px; }
.tile-body-row > div:first-child { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.tile-body-row p { margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }

.tile-dark .tile-body { background: #0f1626; color: #fff; border-color: transparent; }
.tile-dark .tile-body > p { color: rgba(255,255,255,.7); }

/* demo: type */
.demo-type { background: #f4f6f9; border-radius: var(--radius-md); padding: 16px; display: grid; gap: 12px; }
.demo-input { display: flex; align-items: baseline; gap: 6px; }
.demo-amount { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.demo-cur { font-size: 16px; color: var(--muted); font-weight: 600; }
.demo-desc { font-size: 15px; font-weight: 500; padding-top: 10px; border-top: 1px solid var(--line); display: flex; align-items: center; }
.caret { width: 1.5px; height: 18px; background: var(--ink); margin-left: 2px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { to { visibility: hidden; } }
.demo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-chips span { font-size: 12px; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; }
.demo-chips .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.demo-chips em { font-style: normal; background: #fff; color: var(--ink); border-radius: 999px; padding: 1px 6px; margin-left: 4px; font-size: 10px; }

/* demo: voice */
.demo-voice { background: linear-gradient(180deg, #161d2e 0%, #1d1b33 100%); border-radius: var(--radius-md); padding: 18px 16px; display: grid; gap: 12px; text-align: center; position: relative; overflow: hidden; }
.demo-voice::after { content: ""; position: absolute; inset: auto -40% -60% -40%; height: 60%; background: radial-gradient(closest-side, rgba(255,80,140,.7), rgba(120,80,255,.4), transparent); filter: blur(20px); }
.listening { justify-self: center; font-size: 11px; font-weight: 600; background: rgba(255,255,255,.1); padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.listening i { width: 6px; height: 6px; border-radius: 50%; background: #ff4d6d; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.quote { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.wave { display: flex; justify-content: center; gap: 4px; height: 26px; align-items: center; position: relative; z-index: 1; }
.wave b { width: 3px; border-radius: 2px; background: rgba(255,255,255,.85); height: 40%; animation: wave 1.1s ease-in-out infinite; }
.wave b:nth-child(2n) { animation-delay: -.3s; } .wave b:nth-child(3n) { animation-delay: -.6s; } .wave b:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 100%; } }
.parsed { display: flex; justify-content: center; gap: 6px; position: relative; z-index: 1; }
.parsed span { font-size: 12px; font-weight: 600; background: rgba(255,255,255,.92); color: var(--ink); padding: 5px 10px; border-radius: 999px; }

/* demo: receipt */
.demo-receipt { background: #f4f6f9; border-radius: var(--radius-md); padding: 18px; display: grid; place-items: center; position: relative; overflow: hidden; }
.receipt { width: 150px; background: #fff; padding: 14px 12px; border-radius: 6px; box-shadow: 0 6px 18px rgba(15,22,38,.08); display: grid; gap: 7px; }
.r-line { height: 6px; border-radius: 3px; background: #dfe4ec; }
.w60 { width: 60%; } .w50 { width: 50%; } .w45 { width: 45%; } .w55 { width: 55%; } .w40 { width: 40%; } .w20 { width: 20%; }
.r-row { display: flex; justify-content: space-between; }
.r-total { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; border-top: 1px dashed #dfe4ec; padding-top: 7px; margin-top: 2px; }
.scanline { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #3b82f6, transparent); box-shadow: 0 0 14px #3b82f6; animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 16%; } 50% { top: 84%; } }

/* demo: chart */
.demo-chart { flex: 1; background: #f4f6f9; border-radius: var(--radius-md); padding: 22px 18px 14px; min-width: 300px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; }
.bar-100{--h:100%}.bar-72{--h:72%}.bar-52{--h:52%}.bar-30{--h:30%}.bar-24{--h:24%}.bar-18{--h:18%}.bar-12{--h:12%}
.bars > div { flex: 1; background: var(--ink); border-radius: 6px 6px 3px 3px; height: var(--h); position: relative; transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.bars > div:nth-child(3) { background: #3b82f6; }
.bars > div span { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--muted); font-weight: 600; }
@keyframes grow { from { transform: scaleY(0); } }
.bar-labels { display: flex; gap: 10px; margin-top: 8px; }
.bar-labels span { flex: 1; text-align: center; font-size: 10px; color: var(--muted); }

/* demo: budget */
.demo-budget { background: #f4f6f9; border-radius: var(--radius-md); padding: 18px; display: flex; align-items: center; gap: 18px; }
.ring-73 { --p: 73; }
.ring {
  width: 96px; height: 96px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--ink) calc(var(--p) * 1%), #dfe4ec 0);
  display: grid; place-items: center;
}
.ring > div { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; align-content: center; line-height: 1; }
.ring strong { font-size: 18px; letter-spacing: -0.03em; }
.ring small { font-size: 10px; color: var(--muted); }
.budget-meta { display: grid; gap: 8px; flex: 1; }
.budget-meta > div { display: flex; justify-content: space-between; font-size: 13px; }
.budget-meta small { color: var(--muted); font-size: 13px; }
.budget-meta strong { font-weight: 600; }

/* demo: apple pay */
.demo-applepay { background: #f4f6f9; border-radius: var(--radius-md); padding: 14px; display: grid; gap: 8px; }
.ap-row { display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; }
.ap-row div { flex: 1; display: grid; line-height: 1.25; }
.ap-row small { color: var(--muted); font-size: 11px; }
.ap-row b { font-weight: 600; }
.ap-logo { width: 28px; height: 28px; border-radius: 8px; background: #000; flex: none; position: relative; }
.ap-logo::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #c9c9c9); }
.ap-check { width: 28px; height: 28px; border-radius: 8px; background: #e3f6ec; color: var(--green); display: grid; place-items: center; font-weight: 800; flex: none; }
.ap-arrow { text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; }
.ap-row.done { border-color: rgba(34,160,107,.35); }

/* demo: fx */
.demo-fx { background: #f4f6f9; border-radius: var(--radius-md); padding: 12px 14px; display: grid; gap: 6px; }
.fx-row { display: grid; grid-template-columns: 24px 1fr auto auto; align-items: center; gap: 10px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.fx-row b { font-weight: 600; }
.fx-row small { color: var(--muted); font-size: 12px; min-width: 52px; text-align: right; }
.fx-flag { font-size: 16px; }
.fx-total { display: flex; justify-content: space-between; font-size: 13px; padding-top: 6px; color: var(--muted); }
.fx-total strong { color: var(--ink); font-size: 15px; letter-spacing: -0.02em; }

/* demo: lock */
.demo-lock { background: linear-gradient(180deg, #f4f6f9, #eaeef4); border-radius: var(--radius-md); padding: 22px 16px; display: grid; place-items: center; gap: 12px; text-align: center; }
.faceid { width: 88px; height: 88px; border-radius: 26px; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(15,22,38,.35); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.04); box-shadow: 0 16px 34px -12px rgba(15,22,38,.4); } }
.lock-copy { display: grid; gap: 2px; }
.lock-copy strong { font-size: 14px; }
.lock-copy small { font-size: 12px; color: var(--muted); }

/* ---------- Privacy ---------- */
.privacy-card {
  background: #0f1626; color: #fff; border-radius: var(--radius-xl);
  padding: 64px 64px 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; overflow: hidden;
  position: relative;
}
.privacy-card::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(96,150,255,.22), transparent); }
.privacy-copy { padding-bottom: 64px; position: relative; }
.privacy-copy h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.03em; }
.privacy-copy > p { margin-top: 18px; color: rgba(255,255,255,.72); font-size: 16px; max-width: 520px; }
.privacy-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.privacy-grid strong { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.privacy-grid span { font-size: 13px; color: rgba(255,255,255,.62); }
.privacy-visual { position: relative; align-self: end; justify-self: center; width: 300px; }
.privacy-visual img { width: 100%; border-radius: 40px 40px 0 0; box-shadow: 0 0 0 10px #1a2236, 0 -30px 80px rgba(96,150,255,.25); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq-list { display: grid; gap: 10px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 20px; }
summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; color: var(--muted); font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); font-size: 14px; padding: 0 0 18px; max-width: 640px; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 60px 24px 100px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-icon { border-radius: 22px; box-shadow: 0 16px 40px rgba(15,22,38,.15); margin-bottom: 10px; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; }
.cta p { color: var(--ink-2); max-width: 460px; }
.cta .btn { margin-top: 12px; }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max); margin: 0 auto; padding: 24px 24px 48px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted);
}
.footer .brand { font-size: 14px; color: var(--ink); }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .privacy-card { grid-template-columns: 1fr; padding: 48px 32px 0; }
  .privacy-copy { padding-bottom: 8px; }
  .privacy-visual { margin-top: 24px; }
  .card-left { left: 0; }
  .card-right { right: 0; }
  .card-left-top { left: 40px; }
  .card-right-bottom { right: 30px; }
}
@media (max-width: 720px) {
  .nav { gap: 16px; padding: 6px 6px 6px 16px; }
  .nav-links { display: none; }
  .br-wide { display: none; }
  .hero-copy { margin-top: 56px; }
  .hero-visual { margin-top: 28px; }
  .hero-hand { width: 150%; max-width: none; margin: 0 -25%; }
  .trust .dot { display: none; }
  .float-card { display: none; }
  .hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: span 1; }
  .tile-body-row { flex-direction: column; align-items: stretch; }
  .demo-chart { min-width: 0; }
  .section { padding: 60px 20px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-card { padding: 40px 24px 0; }
  .privacy-visual { width: 240px; }
}
