:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #1a1a1a;
  --muted: #6a6a6e;
  --accent: #0a66c2;
  --border: #e3e3e6;
  --maxw: 760px;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0f;
    --surface: #1a1a1d;
    --text: #f2f2f5;
    --muted: #9a9aa0;
    --accent: #5aa9ff;
    --border: #2a2a2e;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 8px; top: 8px;
  background: var(--bg);
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 10;
}

/* Header & footer */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--text); }
.site-nav a { margin-left: 18px; text-decoration: none; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-links a { margin-right: 16px; text-decoration: none; }
.copyright { margin: 12px 0 0; }

/* Hero */
.hero { padding: 64px 0 32px; text-align: center; }
.hero h1 { font-size: 3rem; margin: 0 0 8px; letter-spacing: -0.02em; }
.tagline { font-size: 1.5rem; font-weight: 600; margin: 0 0 16px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin: 0 auto 28px; }

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 980px;
}
.button:hover { opacity: 0.9; }

.screenshot-placeholder {
  margin: 40px auto 0;
  max-width: 600px;
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

/* Story */
.story { padding: 24px 0; font-size: 1.1rem; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 32px 0;
}
.feature h2 { font-size: 1.2rem; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); }

/* Pricing */
.pricing { padding: 32px 0; }
.pricing h2 { font-size: 1.4rem; }
.fine-print { font-size: 0.85rem; color: var(--muted); }

/* Home */
.home-hero { padding: 72px 0 24px; }
.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.product-card:hover { border-color: var(--accent); }
.product-card h2 { margin: 0 0 8px; }
.product-card p { color: var(--muted); margin: 0 0 12px; }
.product-link { color: var(--accent); font-weight: 600; }
.home-contact { padding: 32px 0; color: var(--muted); }

/* Legal pages */
.legal { padding: 40px 0 16px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; }
.legal-meta { color: var(--muted); }
.legal-back { margin-top: 40px; }

@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.25rem; }
}
