:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --text: #1a1a1f;
  --muted: #5b5f66;
  --accent: #2f6bff;
  --accent-dark: #1f4fd1;
  --border: #e5e7eb;
  --radius: 12px;
  --max: 920px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.site-header nav a {
  margin-left: 20px;
  color: var(--muted);
  font-size: 15px;
}
.site-header nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 80px 0 64px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 28px;
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { background: var(--bg-alt); text-decoration: none; }

/* Features */
.features { padding: 64px 20px; }
.features h2 {
  text-align: center;
  font-size: 28px;
  margin: 0 0 36px;
  letter-spacing: -0.01em;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg);
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Article (legal pages) */
.article {
  padding: 56px 0 80px;
}
.article h1 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.article .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}
.article h2 {
  font-size: 20px;
  margin: 32px 0 10px;
}
.article p, .article li {
  color: #2a2d34;
  font-size: 16px;
}
.article ul { padding-left: 22px; }
.article a { word-break: break-word; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.site-footer a { color: var(--muted); }
.site-footer p { margin: 4px 0; }

@media (max-width: 520px) {
  .site-header nav a { margin-left: 12px; font-size: 14px; }
  .hero { padding: 56px 0 40px; }
  .features { padding: 40px 20px; }
}
