:root {
  --bg: #ffffff;
  --fg: #1d1d1f;
  --fg-muted: #6e6e73;
  --fg-subtle: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: #d2d2d7;
  --card: #f5f5f7;
  --card-hover: #ebebef;
  --max-width: 1080px;
  --radius: 14px;
  --radius-lg: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #f5f5f7;
    --fg-muted: #a1a1a6;
    --fg-subtle: #86868b;
    --accent: #2997ff;
    --accent-hover: #5ab0ff;
    --border: #424245;
    --card: #1d1d1f;
    --card-hover: #2c2c2e;
  }
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  font-size: 17px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  font-weight: 600;
  font-size: 19px;
  color: var(--fg);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--fg);
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero .tagline {
  font-size: 24px;
  color: var(--fg-muted);
  font-weight: 400;
  margin: 0 auto 40px;
  max-width: 620px;
  line-height: 1.3;
}

.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--card);
  text-decoration: none;
}

.price-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 980px;
  background: var(--card);
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Sections */
section {
  padding: 80px 0;
}

section h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 16px;
  text-align: center;
}

section .section-sub {
  font-size: 21px;
  color: var(--fg-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: background 0.2s ease;
}

.feature:hover { background: var(--card-hover); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 15px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.5;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.step p {
  font-size: 15px;
  color: var(--fg-muted);
  margin: 0;
}

/* Privacy callout */
.privacy-callout {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
}

.privacy-callout h2 { margin-bottom: 20px; }
.privacy-callout p {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.faq {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}

details.faq:hover { background: var(--card-hover); }

details.faq summary {
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--fg-muted);
  font-weight: 300;
  transition: transform 0.2s;
}

details.faq[open] summary::after {
  content: "−";
}

details.faq p {
  margin: 14px 0 0;
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Footer */
footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  font-size: 13px;
  color: var(--fg-subtle);
}

.footer-inner a {
  color: var(--fg-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* Document pages (privacy, terms, support) */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.doc h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.doc .updated {
  color: var(--fg-subtle);
  font-size: 14px;
  margin-bottom: 48px;
}

.doc h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
}

.doc h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 32px 0 12px;
}

.doc p, .doc li {
  color: var(--fg);
  font-size: 17px;
  line-height: 1.6;
}

.doc ul, .doc ol {
  padding-left: 24px;
  margin: 12px 0;
}

.doc li { margin-bottom: 8px; }

.doc .note {
  background: var(--card);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
}

.doc code {
  background: var(--card);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
}

.doc address {
  font-style: normal;
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 40px; }
  .hero .tagline { font-size: 19px; }
  section { padding: 56px 0; }
  section h2 { font-size: 32px; }
  section .section-sub { font-size: 17px; }
  .privacy-callout { padding: 40px 24px; }
  .privacy-callout p { font-size: 16px; }
  .doc h1 { font-size: 32px; }
  .doc h2 { font-size: 21px; }
  .nav-links { gap: 16px; font-size: 13px; }
  .footer-inner { flex-direction: column; }
}
