@import url("/vendor/fonts/radish-fonts.css");

:root {
  color-scheme: light;
  --paper: #fbf4ea;
  --surface: #fffdf8;
  --ink: #211a17;
  --muted: #6f635b;
  --line: rgba(33, 26, 23, 0.12);
  --radish: #d81e5b;
  --radish-deep: #a8123f;
  --leaf: #2f8f5b;
  --display: "Bricolage Grotesque", "Avenir Next", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", "Avenir Next", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--radish-deep);
  outline-offset: 4px;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 234, 0.88);
  border-bottom: 1px solid rgba(33, 26, 23, 0.08);
  backdrop-filter: blur(14px) saturate(160%);
}

.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--radish-deep);
}

.legal-hero {
  padding: clamp(54px, 8vw, 96px) 22px 24px;
}

.section-tight {
  padding: 22px 22px clamp(64px, 8vw, 96px);
}

.legal-shell {
  max-width: 760px;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--leaf);
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(42px, 8vw, 68px);
  font-weight: 800;
  line-height: 0.96;
}

h2 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  line-height: 1.06;
}

.lead {
  max-width: 52ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.legal-card {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-card:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.legal-card p {
  margin: 14px 0 0;
}

.legal-card ul,
.legal-card ol {
  margin: 14px 0 0;
  padding-left: 24px;
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.primary-button {
  background: var(--radish);
  color: white;
}

.primary-button:hover {
  background: var(--radish-deep);
}

.secondary-button {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .legal-card p,
  .legal-card li {
    font-size: 16px;
  }
}
