:root {
  --bg: #f6f1e8;
  --surface: rgba(255, 250, 243, 0.88);
  --surface-strong: #fffaf2;
  --paper: #fffdf8;
  --text: #1f1a17;
  --muted: #65584f;
  --border: rgba(65, 49, 37, 0.12);
  --border-strong: rgba(65, 49, 37, 0.22);
  --accent: #c75c2f;
  --accent-deep: #8f3212;
  --accent-soft: #f3c79c;
  --sage: #45573d;
  --shadow: 0 24px 60px rgba(82, 55, 30, 0.12);
  --hero-glow: radial-gradient(circle at top right, rgba(199, 92, 47, 0.28), transparent 34%),
    radial-gradient(circle at left 20%, rgba(69, 87, 61, 0.22), transparent 30%);
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 247, 237, 0.95), rgba(246, 241, 232, 0.98)),
    var(--hero-glow),
    var(--bg);
  min-height: 100vh;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff7f1;
  font-family: var(--font-display);
  font-size: 1.3rem;
  box-shadow: 0 10px 24px rgba(143, 50, 18, 0.25);
}

.brand-text {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}

.hero-copy,
.hero-panel,
.section,
.legal-page {
  animation: rise-in 700ms ease both;
}

.hero-copy {
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(254, 247, 239, 0.84));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--sage);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-text,
.availability,
.feature-card p,
.info-card p,
.support-card p,
.panel-card p,
.legal-hero p,
.legal-body p,
.legal-body li,
.site-footer p {
  color: var(--muted);
  line-height: 1.68;
  font-size: 1.02rem;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff8f2;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(143, 50, 18, 0.22);
}

.button-primary:hover {
  color: #fff8f2;
}

.button-secondary {
  background: rgba(255, 252, 247, 0.72);
  color: var(--text);
}

.availability {
  margin: 18px 0 0;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.panel-card,
.feature-card,
.info-card,
.support-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(255, 248, 239, 0.82));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.panel-story {
  min-height: 240px;
  background:
    linear-gradient(160deg, rgba(143, 50, 18, 0.92), rgba(54, 40, 30, 0.9)),
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(255, 248, 239, 0.82));
}

.panel-story .panel-label,
.panel-story h2,
.panel-story p {
  color: #fff7f1;
}

.panel-label,
.stat {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.panel-grid,
.feature-grid,
.info-grid,
.support-grid {
  display: grid;
  gap: 16px;
}

.panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid,
.info-grid,
.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section {
  margin-top: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 251, 245, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.highlight-section {
  background:
    linear-gradient(180deg, rgba(255, 246, 233, 0.82), rgba(255, 251, 245, 0.75)),
    radial-gradient(circle at right top, rgba(243, 199, 156, 0.45), transparent 32%);
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-top: 8px;
}

.site-footer {
  margin-top: 28px;
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-shell {
  max-width: 980px;
}

.legal-page {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.legal-hero {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.legal-body {
  display: grid;
  gap: 20px;
}

.legal-body section {
  padding: 20px 0;
  border-bottom: 1px solid rgba(65, 49, 37, 0.08);
}

.legal-body section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-body h2 {
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.legal-body ul {
  margin: 10px 0 0 20px;
  padding: 0;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .info-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding-top: 16px;
    padding-bottom: 30px;
  }

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

  .hero-copy,
  .section,
  .legal-page {
    padding: 24px;
  }

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

  h1 {
    font-size: clamp(2.5rem, 13vw, 4.1rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }
}
