@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;700&display=swap');

:root {
  --bg: #F7EFE8;
  --card: #FFFFFF;
  --ink: #15171A;
  --ink-soft: #5C6066;
  --muted: #9AA0A6;
  --faint: #C7CBC3;
  --hair: #ECEEEA;
  --brand: #6E2A50;
  --brand-tint: #F5EAF0;
  --accent: #F4A259;
}

* { box-sizing: border-box; }

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

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────── */
nav.top {
  padding: 28px 0;
}
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.brand span { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
nav.top a.nav-link { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 14px; }
nav.top a.nav-link:hover { color: var(--brand); }

/* ── Hero ────────────────────────────────────────── */
.hero { padding: 40px 0 56px; text-align: center; }
.hero img.mark { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 28px; box-shadow: 0 12px 28px rgba(110, 42, 80, 0.18); }
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 480px; margin: 0 auto; }

/* ── Feature cards ───────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 64px; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--card); border: 1px solid var(--hair); border-radius: 18px;
  padding: 24px 20px; text-align: left;
}
.feature-card .emoji { font-size: 26px; display: block; margin-bottom: 14px; }
.feature-card h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 6px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ── Footer ──────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--hair); padding: 28px 0 56px; margin-top: 24px;
  font-size: 13.5px; color: var(--muted);
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; }
footer.site .links { display: flex; gap: 18px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--brand); }

/* ── Legal document pages ────────────────────────── */
.doc { padding: 12px 0 80px; }
.doc .back {
  display: inline-flex; align-items: center; gap: 6px; color: var(--brand);
  text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 28px;
}
.doc .back:hover { text-decoration: underline; }
.doc-card { background: var(--card); border: 1px solid var(--hair); border-radius: 20px; padding: 40px 44px; }
@media (max-width: 640px) { .doc-card { padding: 28px 22px; } }
.doc-card h1 { font-size: 26px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.doc-card .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 28px; }
.doc-card h2 {
  font-size: 16.5px; font-weight: 700; margin-top: 34px; margin-bottom: 10px;
  padding-left: 12px; border-left: 3px solid var(--brand);
}
.doc-card p, .doc-card li { font-size: 15px; color: #333; }
.doc-card ul { padding-left: 20px; }
.doc-card a { color: var(--brand); }
.doc-card table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13.5px; }
.doc-card th, .doc-card td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.doc-card th { color: var(--muted); font-weight: 700; background: var(--brand-tint); }
.doc-card tr:first-child th:first-child { border-top-left-radius: 8px; }
.doc-card tr:first-child th:last-child { border-top-right-radius: 8px; }
