:root {
  --ink-bg: #0a0f16;
  --ink-surface: #0e1520;
  --ink-raised: #121b28;
  --ink-primary: #e8edf2;
  --ink-muted: #8b98a6;
  --chart-guide: #1b2531;
  --season-now: #22c46a;
  --season-s1: #4fa3e0;
  --line: rgba(232, 237, 242, 0.13);
  --shadow: 0 20px 54px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
}

.wordmark-ink {
  color: var(--ink-primary);
}

.wordmark-now {
  color: var(--season-now);
}

.header-link {
  color: var(--season-s1);
  font-weight: 800;
}

.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 88px;
}

.legal-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: end;
  margin: 44px 0 34px;
}

.eyebrow {
  color: var(--season-s1);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 14px;
}

h1 {
  margin: 0;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 4.8rem;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-summary {
  color: var(--ink-muted);
  line-height: 1.58;
  font-size: 1.25rem;
  margin: 0;
}

.updated {
  display: inline-flex;
  margin-top: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(79, 163, 224, 0.12);
  color: var(--season-s1);
  font-weight: 800;
  font-size: 0.88rem;
}

.legal-card {
  margin-top: 28px;
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--ink-raised), var(--ink-surface));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

h2 {
  margin: 38px 0 10px;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}

h2:first-child {
  margin-top: 0;
}

p {
  color: var(--ink-muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

strong {
  color: var(--ink-primary);
}

.legal-card a {
  color: var(--season-s1);
  font-weight: 800;
}

.back-row {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.primary {
  background: var(--season-s1);
  color: #0a2c47;
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(232, 237, 242, 0.04);
}

.legal-card a.button {
  text-decoration: none;
}

.legal-card a.button.primary {
  color: #0a2c47;
}

.legal-card a.button.secondary {
  color: var(--ink-primary);
}

footer {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--chart-guide);
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--season-s1);
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
  }

  .legal-hero {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-summary {
    font-size: 1.08rem;
  }

  .legal-card {
    padding: 26px;
  }

  .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
