*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #fafaf8;
  --ink: #1a1a1a;
  --muted: #55554f;
  --soft: #6b6b64;
  --line: #d9d9d4;
  --accent: #5b5bd6;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vw, 40px) clamp(20px, 6vw, 96px);
  max-width: 1440px;
  margin: 0 auto;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .15s, color .15s;
}
.btn-outline:hover { border-color: var(--accent); }

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 880px;
  padding: clamp(56px, 10vh, 96px) 0;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lede {
  margin: 28px 0 0;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--soft);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* Privacy / legal page */
.legal {
  max-width: 720px;
  padding: clamp(40px, 8vh, 80px) 0;
  flex: 1;
}
.legal h1 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.legal .updated { margin: 0 0 40px; color: var(--soft); font-size: 14px; }
.legal h2 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #33332f; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal h2 { padding-top: 24px; border-top: 1px solid #e4e4df; }
.legal strong { color: var(--ink); }
.legal .lead { font-size: 19px; line-height: 1.6; color: var(--ink); background: #f0f0fb; border-radius: 14px; padding: 18px 20px; margin: 0 0 20px; }
.legal li { margin-bottom: 10px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 20px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid #e4e4df; line-height: 1.55; color: #33332f; }
.legal th { font-weight: 600; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }

@media (max-width: 480px) {
  .hero h1 br { display: none; }
  .site-footer { flex-direction: column; }
}
