:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #171717;
  --muted: #60646c;
  --line: #e4ded4;
  --accent: #b7442e;
  --accent-dark: #8d2f20;
  --shadow: 0 20px 50px rgba(24, 24, 24, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(183, 68, 46, 0.08), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-color: rgba(183, 68, 46, 0.35);
  text-underline-offset: 0.22em;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

a:hover {
  color: var(--accent-dark);
}

.site-header,
.site-footer {
  width: min(100% - 2rem, 960px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  padding: 1.5rem 0;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav,
.site-footer {
  color: var(--muted);
  font-size: 0.94rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.hero,
.page {
  width: min(100% - 2rem, 760px);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.hero {
  min-height: calc(100vh - 10rem);
  padding: 4rem 0;
}

.page {
  padding: 4rem 0 6rem;
}

.legal-page {
  width: min(100% - 2rem, 860px);
}

.content-card {
  width: 100%;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.page h1 {
  font-size: clamp(2.2rem, 7vw, 4rem);
}

.legal-content {
  max-width: 78ch;
}

.legal-content h1 {
  letter-spacing: -0.055em;
}

.legal-content h2 {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal-content section:first-of-type h2 {
  margin-top: 2rem;
}

.legal-content ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-top: 0.45rem;
  color: var(--muted);
}

.policy-meta {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfaf7;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-meta p {
  margin-top: 0.45rem;
}

.policy-meta p:first-child {
  margin-top: 0;
}

p {
  margin: 1.25rem 0 0;
}

.lead {
  max-width: 42rem;
  color: #2d2d2d;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.45;
}

.feature-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.button.secondary:hover {
  background: #fbfaf7;
  border-color: #d5cabd;
  color: var(--accent-dark);
}

.note {
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer a {
  margin: 0 0.25rem;
}

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

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 2.5rem 0 4rem;
  }

  .page {
    padding-top: 2.5rem;
  }

  .content-card {
    border-radius: 22px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
