:root {
  --bg: #f5efe4;
  --bg-strong: #efe0c1;
  --panel: rgba(255, 252, 246, 0.82);
  --panel-border: rgba(39, 33, 22, 0.12);
  --ink: #1f1b17;
  --muted: #645a4d;
  --accent: #bc4b2f;
  --accent-dark: #8b3019;
  --shadow: 0 24px 80px rgba(54, 34, 12, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 32%),
    radial-gradient(circle at bottom right, rgba(188, 75, 47, 0.18), transparent 30%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-strong) 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(10px);
}

body::before {
  top: 5rem;
  right: 8vw;
  width: 15rem;
  height: 15rem;
  background: rgba(188, 75, 47, 0.11);
}

body::after {
  left: 6vw;
  bottom: 4rem;
  width: 11rem;
  height: 11rem;
  background: rgba(38, 102, 92, 0.09);
}

a {
  color: inherit;
}

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

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

.site-header {
  margin-bottom: 1.5rem;
}

.brand {
  text-decoration: none;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav,
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.hero,
.panel {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.panel {
  border-radius: var(--radius);
  padding: 2rem;
}

.hero {
  border-radius: calc(var(--radius) + 8px);
  padding: 3rem;
  animation: rise-in 600ms ease-out both;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  font-weight: 700;
}

.hero h1,
.legal-panel h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.2rem;
  max-width: 11ch;
}

.hero-copy,
.wide-copy,
.legal-copy p,
.feature-list li,
.steps li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-copy {
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: var(--ink);
  color: #fff6e9;
}

.button-secondary {
  border: 1px solid rgba(31, 27, 23, 0.14);
  color: var(--ink);
}

.signal-grid,
.content-grid {
  display: grid;
  gap: 1rem;
}

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

.signal-grid article {
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 27, 23, 0.1);
}

.signal-grid h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

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

.content-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wide-panel {
  margin-top: 1rem;
}

.steps,
.feature-list {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}

.feature-list {
  list-style: square;
}

.legal-panel {
  max-width: 58rem;
  animation: rise-in 500ms ease-out both;
}

.site-footer {
  margin-top: 1.4rem;
  padding: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  animation: rise-in 650ms ease-out both;
}

.content-grid .reveal:nth-child(2) {
  animation-delay: 80ms;
}

.wide-panel.reveal {
  animation-delay: 140ms;
}

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

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

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 1rem, 42rem);
    padding-top: 0.75rem;
  }

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

  .hero,
  .panel {
    padding: 1.4rem;
  }

  .signal-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .legal-panel h1 {
    max-width: none;
  }
}
