:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --text: #0f172a;
  --muted: #5b6475;
  --border: #e5e7ef;
  --card: #ffffff;
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --accent-soft: #eef2ff;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d14;
    --bg-alt: #11141d;
    --text: #e8eaf2;
    --muted: #9aa3b5;
    --border: #232838;
    --card: #141824;
    --accent: #818cf8;
    --accent-2: #22d3ee;
    --accent-soft: #1c1f3a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(79, 70, 229, .3); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { box-shadow: none; border-color: var(--accent); }
.btn-light { background: #fff; color: #1e1b4b; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; box-shadow: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, top .2s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav.open .nav-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; }
.hero-glow {
  position: absolute; inset: -40% -10% auto; height: 640px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(79,70,229,.18), transparent 70%),
    radial-gradient(35% 45% at 70% 35%, rgba(6,182,212,.16), transparent 70%);
}
.hero-inner { position: relative; text-align: center; max-width: 820px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 22px auto 0; max-width: 620px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head.left { text-align: left; margin: 0; }
.section-head.left .btn { margin-top: 26px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 12px; font-size: 17px; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.card p { color: var(--muted); font-size: 15px; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.step-num {
  display: inline-block; font-weight: 800; font-size: 14px; color: var(--accent);
  background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px;
}
.step p { color: var(--muted); font-size: 15px; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.why-list { list-style: none; display: grid; gap: 14px; }
.why-list li {
  position: relative; padding: 18px 20px 18px 54px; border-radius: 14px;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--muted); font-size: 15px;
}
.why-list li strong { color: var(--text); }
.why-list li::before {
  content: ""; position: absolute; left: 20px; top: 21px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* CTA */
.section-cta { padding-top: 0; }
.cta-box {
  text-align: center; color: #fff; border-radius: 24px; padding: 64px 28px;
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 50%, #0891b2 100%);
  box-shadow: 0 20px 50px rgba(79, 70, 229, .25);
}
.cta-box p { opacity: .88; margin-top: 12px; font-size: 17px; }

/* Our apps (low-key) */
.apps { padding: 0 0 56px; }
.apps-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.app-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border: 1px solid var(--border); border-radius: 12px;
}
.app-info { display: flex; flex-direction: column; font-size: 14px; }
.app-info strong { font-weight: 600; }
.app-info span { color: var(--muted); }
.play-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 8px; background: var(--text); color: var(--bg);
}
.app-links { display: flex; align-items: center; gap: 16px; }
.app-privacy { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.app-privacy:hover { color: var(--text); }
.play-link svg { width: 14px; height: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; }
.footer a:hover { color: var(--text); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px; display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 14px; justify-content: center; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 72px 0; }
  .section-cta { padding-top: 0; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 20px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
