:root {
  --bg: #f6f1e8;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #fffdf8;
  --text: #1b1b18;
  --muted: #5d6057;
  --line: rgba(27, 27, 24, 0.12);
  --accent: #0f766e;
  --accent-dark: #115e59;
  --accent-soft: #d6f0ed;
  --hero: linear-gradient(135deg, #fff4d7 0%, #f0f7ef 45%, #def2ef 100%);
  --shadow: 0 18px 48px rgba(34, 45, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 244, 215, 0.8), transparent 35%),
    linear-gradient(180deg, #faf7f0 0%, #f6f1e8 100%);
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: "SFMono-Regular", "Consolas", monospace;
  font-size: 0.95em;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(246, 241, 232, 0.86);
  border-bottom: 1px solid var(--line);
}

.site-header .container,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

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

h1,
h2 {
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.lead,
.policy p,
.policy li,
.card p,
.card li {
  color: var(--muted);
  font-size: 1.02rem;
}

.actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.button.primary:hover {
  background: var(--accent-dark);
}

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

.section {
  padding: 1rem 0 3rem;
}

.section.alt {
  padding-bottom: 4rem;
}

.section-head {
  margin-bottom: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.policy {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.card {
  padding: 1.4rem;
}

.policy {
  padding: 2rem;
  background: var(--surface-strong);
}

.scope {
  margin-top: 0;
  font-weight: 700;
}

ul {
  padding-left: 1.2rem;
}

.updated {
  margin-top: -0.35rem;
  margin-bottom: 1.8rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.75);
}

.divider {
  color: var(--muted);
  margin: 0 0.45rem;
}

@media (max-width: 860px) {
  .hero {
    padding-top: 3.5rem;
  }

  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .site-header .container,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    max-width: 100%;
  }
}
