/* Protected Left — shared styles for marketing + legal pages */
:root {
  --bg: #f5f4f0;
  --surface: #ffffff;
  --border: #e0ddd5;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #0f52ba;
  --accent-dark: #082a6e;
  --accent-green: #2d6a4f;
  --accent-light: #e8f5ee;
  --radius: 14px;
  --max: 960px;
}

* { box-sizing: border-box; }

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

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

/* ── Header ───────────────────────────────────────────── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2a6dd4, #082a6e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
}
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #2a6dd4 0%, #0f52ba 50%, #082a6e 100%);
  color: white;
  padding: 80px 24px 96px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -1px;
}
.hero p {
  font-size: 20px;
  margin: 0 auto 36px;
  max-width: 560px;
  color: rgba(255,255,255,0.9);
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  background: white;
  color: var(--accent-dark);
  border: none;
  cursor: pointer;
}
.cta.ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.cta:hover { text-decoration: none; opacity: 0.92; }

/* ── Content sections ─────────────────────────────────── */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }
section h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
section .lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 40px;
  max-width: 640px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 17px;
  margin: 0 0 6px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ── Legal pages ──────────────────────────────────────── */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.legal-body h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 8px;
}
.legal-body .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}
.legal-body h2 {
  font-size: 22px;
  margin: 36px 0 12px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.legal-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.legal-body p, .legal-body li {
  font-size: 16px;
  color: var(--text);
}
.legal-body ul {
  padding-left: 22px;
}
.legal-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0 24px;
  font-size: 14px;
}
.legal-body th, .legal-body td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}
.legal-body th {
  background: var(--accent-light);
}
.legal-body strong { color: var(--text); }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 24px 60px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .links {
  margin-bottom: 16px;
}
.site-footer .links a {
  color: var(--muted);
  margin: 0 10px;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 56px 20px 72px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 17px; }
  section { padding: 48px 0; }
  section h2 { font-size: 26px; }
  .nav-links { gap: 14px; font-size: 13px; }
}
