:root {
  --bg: #f6f1e8;
  --panel: rgba(255, 251, 244, 0.78);
  --panel-strong: #fff9f0;
  --text: #1d241f;
  --muted: #5e665f;
  --line: rgba(29, 36, 31, 0.12);
  --accent: #ba6c34;
  --accent-deep: #8a4a1f;
  --sage: #9ba88f;
  --shadow: 0 20px 60px rgba(54, 38, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(186, 108, 52, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(155, 168, 143, 0.24), transparent 26%),
    linear-gradient(180deg, #fbf5ed 0%, var(--bg) 58%, #efe6d7 100%);
  font-family: "Space Grotesk", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 36, 31, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 36, 31, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 70%);
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.page {
  padding: 28px 0 64px;
}

.hero,
.content-card,
.legal-card,
.info-strip {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border-radius: 40px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -72px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 108, 52, 0.32), transparent 68%);
}

.hero-compact {
  padding-bottom: 36px;
}

.eyebrow,
.card-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

h1,
h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1;
}

.lede,
.card p,
.legal-card p,
.legal-card li,
.info-strip-copy {
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--muted);
}

.lede {
  max-width: 62ch;
  margin: 18px 0 0;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button {
  background: var(--text);
  color: #f8f3eb;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
  color: var(--text);
}

.button:hover,
.button-secondary:hover,
.button:focus-visible,
.button-secondary:focus-visible {
  transform: translateY(-2px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.card,
.content-card {
  padding: 28px;
  border-radius: 28px;
}

.card {
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.82);
  box-shadow: var(--shadow);
}

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

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.info-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: 28px;
}

.info-strip-copy {
  margin: 0;
}

.checklist,
.legal-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.checklist li,
.legal-card li {
  margin-top: 10px;
  line-height: 1.65;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
}

.legal-card {
  display: grid;
  gap: 24px;
  padding: 36px;
  margin-top: 20px;
  border-radius: 36px;
}

.legal-card section + section {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  font-size: clamp(1.4rem, 2vw, 1.95rem);
}

.legal-card p,
.legal-card ul {
  margin-bottom: 0;
}

@media (max-width: 840px) {
  .site-shell {
    padding: 16px;
  }

  .topbar,
  .info-strip {
    border-radius: 28px;
  }

  .topbar,
  .info-strip,
  .grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .info-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .legal-card,
  .card,
  .content-card {
    padding: 24px;
    border-radius: 28px;
  }

  .grid {
    display: grid;
  }

  h1 {
    max-width: 100%;
  }
}
