:root {
  --ink: #16163f;
  --ink-soft: #4a4b6a;
  --muted: #6b6d8a;
  --line: #e6e7f2;
  --paper: #ffffff;
  --paper-soft: #f6f7fc;
  --brand-1: #6d5cf6;
  --brand-2: #3b6ef6;
  --brand-3: #12c2e9;
  --accent: #3b6ef6;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(22, 22, 63, 0.12);
  --gradient: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef0ff;
    --ink-soft: #c5c8e6;
    --muted: #9a9dbd;
    --line: #26284a;
    --paper: #0d0e22;
    --paper-soft: #14163a;
    --accent: #7c9bff;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: var(--paper); box-shadow: 0 8px 24px rgba(22, 22, 63, 0.25); }
.button-light { background: #ffffff; color: #16163f; }
.button-small { padding: 8px 16px; font-size: 14px; }
.button-outline { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 900px;
  height: 900px;
  background: radial-gradient(closest-side, rgba(109, 92, 246, 0.22), transparent 70%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 6px 12px; border-radius: 999px; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 68px); margin: 18px 0 20px; }
h1 .gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 34em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.price-note { color: var(--muted); font-size: 15px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(22, 22, 63, 0.2)); }

/* Sections */
section { padding: 96px 0; }
.section-soft { background: var(--paper-soft); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 19px; margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-soft .card { box-shadow: 0 1px 0 rgba(22, 22, 63, 0.03); }
.card h3 { font-size: 20px; margin: 14px 0 8px; letter-spacing: -0.01em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gradient); color: #fff; }
.icon svg { width: 22px; height: 22px; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 28px;
  left: 28px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
}
.step h3 { margin-top: 12px; }

.gestures { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gestures th, .gestures td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 16px; }
.gestures tr:last-child td { border-bottom: 0; }
.gestures th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--paper-soft); }

.security { background: #0d0e22; color: #eef0ff; position: relative; overflow: hidden; }
.security::after { content: ""; position: absolute; inset: auto -200px -300px auto; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(18, 194, 233, 0.25), transparent 70%); }
.security .section-head p, .security .card p { color: #c5c8e6; }
.security .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.security .container { position: relative; z-index: 1; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.price-card { background: var(--gradient); color: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow); }
.price-card .amount { font-family: var(--font-display); font-size: 72px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price-card .amount small { font-size: 20px; font-weight: 500; opacity: 0.85; letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 30px; }
.price-card li { padding: 8px 0 8px 30px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 12px 0 0; }

.cta { text-align: center; }
.cta h2 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 16px; }
.cta p { color: var(--ink-soft); font-size: 19px; margin: 0 0 30px; }

footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Legal and support pages */
.page { padding: 64px 0 96px; }
.prose { width: min(760px, 100% - 40px); margin-inline: auto; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); margin: 0 0 8px; }
.prose .updated { color: var(--muted); margin: 0 0 40px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; letter-spacing: -0.02em; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .callout { background: var(--paper-soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 24px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16px; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }

@media (max-width: 900px) {
  .hero .container, .pricing { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .button { margin-left: auto; }
  section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
}
