:root {
  color-scheme: light;
  --bg: #f4efe7;
  --bg-accent: #e5d2bd;
  --text: #2f241c;
  --muted: #68584b;
  --surface: rgba(255, 250, 244, 0.78);
  --border: rgba(103, 79, 61, 0.16);
  --button: #2f241c;
  --button-text: #fff8f0;
  --shadow: 0 24px 80px rgba(58, 39, 25, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 28%),
    radial-gradient(circle at bottom right, rgba(201, 149, 90, 0.18), transparent 30%),
    linear-gradient(135deg, var(--bg) 0%, #f7f2eb 52%, var(--bg-accent) 100%);
}

a {
  color: inherit;
}

.shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero,
.card,
.legal {
  backdrop-filter: blur(10px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero {
  border-radius: 28px;
  padding: 48px;
}

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

.eyebrow,
.meta {
  margin: 0 0 12px;
  color: var(--muted);
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
}

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

h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.lead,
.card p,
.legal p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}

.lead {
  max-width: 46rem;
  margin: 20px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--button);
  color: var(--button-text);
}

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

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

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

.legal-shell .legal {
  margin-top: 22px;
}

.legal h2:not(:first-child) {
  margin-top: 24px;
}

.back-link {
  display: inline-block;
  margin: 0 0 18px;
  text-decoration: none;
  color: var(--muted);
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 20px, 980px);
    padding: 20px 0 36px;
  }

  .hero,
  .card,
  .legal {
    border-radius: 22px;
  }

  .hero {
    padding: 28px 22px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}
