:root {
  color-scheme: light dark;
  --ink: #101014;
  --muted: #62626c;
  --paper: #f7f6fb;
  --surface: #ffffff;
  --line: rgba(16, 16, 20, 0.12);
  --accent: #5c50f2;
  --accent-2: #8278ff;
  --cyan: #1b9fb7;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(41, 35, 119, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 2%, rgba(130, 120, 255, 0.2), transparent 30rem),
    var(--paper);
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  z-index: 10;
}
.skip-link:focus { top: 16px; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 760; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 22px rgba(92, 80, 242, 0.28);
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.nav-links a.button { color: white; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 15px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(92, 80, 242, 0.22);
}
.button.secondary { color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 72px; align-items: center; min-height: 720px; padding: 86px 0; }
.eyebrow { color: var(--accent); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 { margin: 18px 0 22px; max-width: 760px; font-size: clamp(3.1rem, 7vw, 6.4rem); }
h2 { margin: 12px 0 18px; font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { margin: 0 0 10px; font-size: 1.35rem; }
.lede { max-width: 640px; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.4rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine-print { margin-top: 16px; color: var(--muted); font-size: 0.88rem; }
.phone {
  width: min(370px, 92%);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 52px;
  background: #070709;
  box-shadow: var(--shadow), inset 0 0 0 2px #29292f;
  transform: rotate(2deg);
}
.phone-screen { min-height: 650px; padding: 62px 24px 26px; overflow: hidden; border-radius: 40px; background: #0d0d12; color: white; }
.phone-screen h2 { font-size: 2.4rem; }
.phone-screen p { color: #aaa8b4; }
.mode-card { display: grid; grid-template-columns: 54px 1fr; gap: 14px; margin-top: 18px; padding: 18px; border-radius: 22px; background: #17171e; }
.mode-card.primary { background: linear-gradient(140deg, var(--accent), var(--accent-2)); }
.mode-card.primary p { color: rgba(255,255,255,.78); }
.mode-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.14); font-size: 1.35rem; }
.mode-card strong { display: block; font-size: 1.06rem; }
.mode-card p { margin: 3px 0 0; font-size: .88rem; }
.section { padding: 96px 0; }
.section-heading { max-width: 690px; margin-bottom: 42px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.card p { margin-bottom: 0; color: var(--muted); }
.card-icon { color: var(--accent); font-size: 1.7rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mode-panel { min-height: 390px; padding: 38px; border-radius: 32px; background: #111116; color: white; }
.mode-panel.ai { background: linear-gradient(150deg, #5449e8, #8075ff); }
.mode-panel p { max-width: 480px; color: rgba(255,255,255,.72); }
.pill { display: inline-flex; padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.13); font-size: .84rem; font-weight: 700; }
.privacy-banner { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; padding: 48px; border-radius: 34px; background: #111116; color: white; }
.privacy-banner p { color: #b7b5c1; }
.legal { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 110px; }
.legal h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
.legal h2 { margin-top: 46px; font-size: 1.6rem; }
.legal p, .legal li { color: var(--muted); }
.legal li + li { margin-top: 8px; }
.legal .updated { color: var(--accent); font-weight: 700; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 38px; }
.site-footer { padding: 38px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: .9rem; }
.footer-row nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-row a { text-decoration: none; }

@media (max-width: 820px) {
  .nav-links a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 64px; }
  .phone { transform: none; }
  .grid, .split, .support-grid { grid-template-columns: 1fr; }
  .privacy-banner { grid-template-columns: 1fr; padding: 34px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-row nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f3f8;
    --muted: #aaa8b5;
    --paper: #09090d;
    --surface: #141419;
    --line: rgba(255,255,255,.12);
    --shadow: 0 24px 70px rgba(0,0,0,.5);
  }
}
