:root {
  --bg: #f6f4ef;
  --bg-alt: #efece5;
  --card: #fffdf9;
  --fg: #1f1e1d;
  --muted: rgba(31, 30, 29, 0.64);
  --border: rgba(31, 30, 29, 0.12);
  --shadow: 0 1px 2px rgba(31, 30, 29, 0.06), 0 12px 32px rgba(31, 30, 29, 0.10);
  --btn: #1f1e1d;
  --btn-fg: #f6f4ef;
  --claude: #d97757;
  --gpt: #10a37f;
  --dot: rgba(31, 30, 29, 0.10);
  --kbd-bg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1918;
    --bg-alt: #201f1d;
    --card: #262523;
    --fg: #f2efe9;
    --muted: rgba(242, 239, 233, 0.64);
    --border: rgba(242, 239, 233, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
    --btn: #f2efe9;
    --btn-fg: #1a1918;
    --dot: rgba(242, 239, 233, 0.10);
    --kbd-bg: #2e2c2a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 0.4em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.fine { color: var(--muted); font-size: 0.9rem; }
.center { text-align: center; }
kbd {
  display: inline-block;
  padding: 0 0.4em;
  margin: 0 0.05em;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--kbd-bg);
  font: 600 0.82em/1.6 Inter, sans-serif;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 760px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--btn); color: var(--btn-fg); box-shadow: 0 6px 18px rgba(31, 30, 29, 0.18); }
.btn-ghost { border-color: var(--border); background: transparent; }
.btn-ghost:hover { background: var(--card); }
.btn-sm { padding: 0.55em 1.05em; font-size: 0.92rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.1rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }

/* Hero */
.hero {
  padding: 72px 0 40px;
  text-align: center;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: center top;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 0.35em 0.9em;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.lede { max-width: 680px; margin: 1.2rem auto 1.8rem; font-size: 1.15rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 56px; }
.hero-media { max-width: 1000px; margin: 0 auto; }
@media (max-width: 720px) { .hero { padding-top: 48px; } .cta-row { margin-bottom: 40px; } }

/* Browser-frame card */
.browser-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span {
  margin-left: 10px;
  padding: 0.1em 0.7em;
  border-radius: 6px;
  background: var(--card);
  font-size: 0.72rem;
  color: var(--muted);
}
.browser-card video, .browser-card img { width: 100%; height: auto; aspect-ratio: 2448 / 1553; object-fit: cover; }
.hero-media video { aspect-ratio: 16 / 9; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
@media (max-width: 720px) { .section { padding: 56px 0; } }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.steps li { padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--btn);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Features */
.feature {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
  margin-bottom: 64px;
}
.feature p { color: var(--muted); }
.feature-text h3 { font-size: 1.5rem; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 56px; }
  .feature-flip .feature-text { order: 2; }
}
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cards li { padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.cards h3 { font-size: 1.1rem; }
.cards p { margin: 0; color: var(--muted); }

/* Platforms */
.platforms { display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 820px) { .platforms { grid-template-columns: 1fr 1fr; } }
.platform {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  border-top: 4px solid var(--claude);
}
.platform-gpt { border-top-color: var(--gpt); }
.platform header { margin-bottom: 8px; }
.platform p { color: var(--muted); }
.platform .browser-card { box-shadow: none; }
.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 0.2em 0.7em;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: var(--claude);
}
.platform-gpt .badge { background: var(--gpt); }

/* Privacy */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; font-size: 1.05rem; }
.checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--btn);
  color: var(--btn-fg);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 4px 0; }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* Final CTA + footer */
.cta-final { padding: 96px 0; }
.cta-final img { margin: 0 auto 20px; border-radius: 14px; }
.cta-final h2 { margin-bottom: 28px; }
.cta-final .fine { margin-top: 20px; }
.footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 0.9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.footer a { color: var(--fg); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

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

/* Consent banner */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
}
.consent p { margin: 0; flex: 1 1 320px; color: var(--muted); }
.consent a { color: var(--fg); }
.consent-actions { display: flex; gap: 8px; }
