:root {
  --bg: #f2ecdf;
  --bg-accent: #e2d5b8;
  --surface: rgba(255, 251, 244, 0.82);
  --surface-strong: #fff8ef;
  --text: #1f1d18;
  --muted: #5b5446;
  --line: rgba(31, 29, 24, 0.12);
  --primary: #b24c2d;
  --primary-deep: #852d15;
  --success: #1d6b4f;
  --shadow: 0 20px 60px rgba(66, 45, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(178, 76, 45, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(29, 107, 79, 0.14), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, #f7f4ec 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}

.page-shell {
  position: relative;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.topbar,
.hero-copy,
.info-grid article,
.callout {
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.7);
}

.brand,
.badge,
.button {
  font-weight: 700;
}

.badge {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(29, 107, 79, 0.12);
  color: var(--success);
}

.hero {
  padding-top: 1rem;
}

.hero-copy {
  margin-top: 1rem;
  padding: clamp(1.5rem, 3vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 248, 239, 0.94), rgba(255, 244, 232, 0.76)),
    linear-gradient(120deg, rgba(178, 76, 45, 0.08), rgba(29, 107, 79, 0.06));
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--primary-deep);
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.lede {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}

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

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

.info-grid article,
.callout {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--surface);
}

.info-grid article {
  padding: 1.3rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 700ms ease forwards;
}

.info-grid article:nth-child(2) {
  animation-delay: 100ms;
}

.info-grid article:nth-child(3) {
  animation-delay: 200ms;
}

.info-grid h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.info-grid p {
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
}

.callout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  min-width: min(100%, 520px);
}

.stats div {
  padding: 1rem;
  border-radius: 1.2rem;
  background: var(--surface-strong);
}

dt {
  font-size: 0.85rem;
  color: var(--muted);
}

dd {
  margin: 0.45rem 0 0;
  font-size: 1rem;
  font-weight: 700;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .info-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .callout {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1120px);
  }

  .topbar {
    border-radius: 1.2rem;
    align-items: start;
    flex-direction: column;
  }

  .hero-copy,
  .callout,
  .info-grid article {
    border-radius: 1.35rem;
  }

  h1 {
    max-width: 100%;
  }
}
