:root {
  --bg: #ffffff;
  --surface: #f5f8fb;
  --border: #dfe5eb;
  --text: #0f172a;
  --muted: #526071;
  --accent: #0a66c2;
  --accent-hover: #084e96;
  --accent-text: #ffffff;
  --accent-soft: #e8f1fb;
  --radius: 14px;
  --max: 1100px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419;
    --surface: #171d24;
    --border: #2a333d;
    --text: #e8edf2;
    --muted: #9aa8b6;
    --accent: #70b5f9;
    --accent-hover: #9ccbfb;
    --accent-text: #0b1a2a;
    --accent-soft: #15283b;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.brand img { width: 30px; height: 30px; border-radius: 7px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); }
.nav a.btn, .nav a.btn:hover { color: var(--accent-text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 650;
  text-decoration: none;
  border: none;
  transition: background 0.15s;
}

.btn:hover { background: var(--accent-hover); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn.ghost:hover { background: var(--surface); }
.btn[aria-disabled="true"] { opacity: 0.75; cursor: default; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  padding: 72px 0 56px;
  background: radial-gradient(900px 500px at 85% 0%, var(--accent-soft), transparent 70%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 520px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.cta-note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.hero-shot {
  justify-self: center;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.35);
}

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.section-lead { color: var(--muted); font-size: 18px; margin: 0 0 40px; max-width: 640px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.feature {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}

.feature .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Showcase rows */
.showcase { display: grid; gap: 56px; }

.show-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.show-row.reverse .show-text { order: 2; }

.show-img.tall { max-width: 340px; }
.show-img.wide { max-width: 520px; border: none; box-shadow: none; }

.show-text h3 { font-size: 24px; margin: 0 0 10px; letter-spacing: -0.01em; }
.show-text p { color: var(--muted); margin: 0 0 12px; }
.show-text ul { margin: 0; padding-left: 20px; color: var(--muted); }

.show-img {
  justify-self: center;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 44px -24px rgba(15, 23, 42, 0.35);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }

.steps li {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  margin-bottom: 12px;
}

.steps h3 { margin: 0 0 6px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Privacy band */
.privacy-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.privacy-band div { padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); }
.privacy-band strong { display: block; margin-bottom: 4px; }
.privacy-band span { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  padding: 4px 20px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Final CTA */
.final { text-align: center; }
.final .lead { margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }
.site-footer .social { width: 100%; justify-content: flex-start; gap: 16px; }
.site-footer .social a:hover, .site-footer nav a:hover { color: var(--text); }

/* Policy page */
.doc { max-width: 760px; padding: 56px 20px 72px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc .meta { color: var(--muted); margin-bottom: 28px; }
.doc ul { padding-left: 22px; }
.doc code { background: var(--surface); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }

@media (max-width: 900px) {
  .hero .wrap, .show-row { grid-template-columns: 1fr; }
  .show-row.reverse .show-text { order: 0; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .privacy-band { grid-template-columns: 1fr 1fr; }
  .nav a:not(.btn) { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  section { padding: 56px 0; }
  .features, .steps, .privacy-band { grid-template-columns: 1fr; }
}
.doc.center { text-align: center; }
