:root {
  --bg: #09090B;
  --bg-elev: #18181B;
  --surface: #27272A;
  --border: #3F3F46;
  --text: #FAFAFA;
  --text-muted: #D4D4D8;
  --text-dim: #A1A1AA;
  --accent: #818CF8;
  --accent-strong: #6366F1;
  --accent-glow: rgba(129, 140, 248, 0.18);
  --shadow-hero: 0 30px 80px rgba(0, 0, 0, 0.55);
  --max-w: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --gap: 24px;
}

[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-elev: #FAFAFA;
  --surface: #F4F4F5;
  --border: #E4E4E7;
  --text: #18181B;
  --text-muted: #3F3F46;
  --text-dim: #71717A;
  --accent: #4F46E5;
  --accent-strong: #4338CA;
  --accent-glow: rgba(79, 70, 229, 0.12);
  --shadow-hero: 0 30px 80px rgba(15, 23, 42, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 200ms ease, color 200ms ease;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; color: var(--text); }
p { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--surface); padding: 2px 6px; border-radius: 6px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px;
}
.nav-end { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 700; font-size: 16px; color: var(--text); }
.brand-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--text-muted); }
.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 600px) {
  .nav-links { display: none; }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease;
}
.theme-toggle:hover { border-color: var(--accent); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy, .hero-visual { min-width: 0; }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 24px 24px 64px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 60px);
  color: var(--text);
}
.lede {
  margin-top: 20px;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: min(42ch, 100%);
}
.store-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
}
.store-badge {
  display: inline-block;
  border-radius: var(--radius-sm);
  transition: transform 120ms ease, opacity 120ms ease;
  flex: 0 1 auto;
  min-width: 0;
}
.store-badge:hover { transform: translateY(-1px); opacity: 0.95; }
.store-badge img { height: 56px; width: auto; max-width: 100%; }
@media (max-width: 420px) {
  .store-badge img { height: 48px; }
}

.hero-visual { display: flex; justify-content: center; }

.phone-frame {
  width: min(320px, 100%);
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #1f1f23, #0a0a0b);
  border-radius: 40px;
  padding: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hero), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .phone-frame {
  background: linear-gradient(160deg, #1f1f23, #0a0a0b);
}
.phone-frame.phone-sm {
  width: 100%;
  max-width: 260px;
  border-radius: 32px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: var(--shadow-hero);
}
.phone-frame.phone-sm .phone-screen {
  border-radius: 32px;
  padding-bottom: 18px;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: #0E0E10;
  color: #FAFAFA;
  padding: 18px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-frame.phone-sm .phone-screen { border-radius: 22px; padding: 14px 12px; gap: 8px; }
.status-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(250, 250, 250, 0.6); letter-spacing: 0.08em;
  padding: 0 6px 4px;
}
.screen-greeting { font-size: 14px; color: rgba(250, 250, 250, 0.7); padding: 0 6px; }
.screen-section-label {
  font-size: 10px; letter-spacing: 0.2em; color: rgba(250, 250, 250, 0.55);
  padding: 0 6px;
}
.screen-section-label.tight { margin-top: 4px; }
.screen-card {
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.screen-label { font-size: 10px; letter-spacing: 0.18em; color: rgba(250, 250, 250, 0.55); }
.screen-amount {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: #FAFAFA;
}
.screen-amount.sm { font-size: 20px; }
.screen-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.screen-stats > div {
  background: #27272A; padding: 8px 10px; border-radius: 8px;
  display: flex; flex-direction: column;
}
.screen-stats span { font-size: 9px; color: rgba(250, 250, 250, 0.55); letter-spacing: 0.1em; }
.screen-stats strong { font-size: 13px; margin-top: 2px; color: #FAFAFA; }
.screen-row {
  display: flex; justify-content: space-between; align-items: center;
  background: #18181B; padding: 10px 12px; border-radius: 10px; font-size: 13px;
}
.screen-row.sm { padding: 8px 10px; font-size: 12px; }
.screen-row span { color: rgba(250, 250, 250, 0.7); }
.screen-row strong { color: #FAFAFA; }
.screen-insight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.screen-insight.tall { min-height: 110px; }
.insight-pill {
  font-size: 9px; letter-spacing: 0.18em; color: #A5B4FC; align-self: flex-start;
  background: rgba(99, 102, 241, 0.18); padding: 3px 8px; border-radius: 999px;
}
.screen-insight p { font-size: 12px; color: #FAFAFA; line-height: 1.4; }
.voice-orb {
  margin: 6px auto;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(99, 102, 241, 0.55), rgba(99, 102, 241, 0.05) 70%);
  display: grid; place-items: center;
  position: relative;
  color: #C7D2FE;
}
.voice-orb svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.voice-orb .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(129, 140, 248, 0.6);
  animation: pulse 2s ease-out infinite;
}
.voice-orb .ring.delay { animation-delay: 1s; }
@keyframes pulse {
  0%   { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}
.voice-status { text-align: center; font-size: 12px; color: rgba(250, 250, 250, 0.7); letter-spacing: 0.08em; }
.voice-transcript {
  background: #18181B; border: 1px solid #27272A; border-radius: 10px;
  padding: 10px 12px; text-align: center; font-size: 12px; color: #FAFAFA;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 auto 40px;
  max-width: 560px;
}

.features {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 120ms ease, transform 120ms ease;
}
.feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-glow);
  color: var(--accent);
  display: grid; place-items: center;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--text-muted); font-size: 14px; }

.tour {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px;
}
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 880px) {
  .tour-grid { grid-template-columns: 1fr; gap: 40px; max-width: 320px; margin: 0 auto; }
}
.tour-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.tour-item figcaption {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 26ch;
}
.tour-note {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

.trust {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px;
  text-align: center;
}
.trust-copy {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 16px;
}
.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.trust-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text);
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}
.legal details {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.legal summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  color: var(--text);
}
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after {
  content: "+";
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}
.legal details[open] summary::after { content: "−"; }
.legal summary h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  display: inline;
}
.legal-body {
  padding: 4px 22px 22px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-body h3 {
  color: var(--text);
  font-size: 15px;
  margin-top: 4px;
}
.legal-body ul { margin: 0; padding-left: 20px; }
.legal-body li { margin: 4px 0; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { border-radius: 6px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-contact { color: var(--text-muted); }

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