:root {
  --bg: #f4efe3;
  --ink: #12251f;
  --muted: #607269;
  --surface: rgba(255, 252, 246, 0.84);
  --surface-strong: #fffaf1;
  --line: rgba(18, 37, 31, 0.13);
  --green: #1f6f4a;
  --green-dark: #103f2c;
  --orange: #e37b32;
  --gold: #f0c76f;
  --shadow: 0 24px 80px rgba(43, 55, 35, 0.16);
  --radius-lg: 30px;
  --radius-md: 20px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(240, 199, 111, 0.75), transparent 27%),
    radial-gradient(circle at 86% 2%, rgba(31, 111, 74, 0.22), transparent 30%),
    linear-gradient(145deg, #fbf6eb 0%, var(--bg) 52%, #e9ddca 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 37, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 37, 31, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, black, transparent 84%);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  position: relative;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
}

.brand,
.site-header nav,
.site-footer div,
.hero-actions,
.routing-strip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--gold);
  font-family: "Fraunces", serif;
  box-shadow: 0 14px 28px rgba(16, 63, 44, 0.24);
}

.site-header nav a,
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
}

.site-header nav a:hover,
.site-footer a:hover {
  background: rgba(255, 250, 241, 0.72);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: stretch;
  padding: 34px 0 42px;
}

.hero-copy,
.offer-preview,
.feature-card,
.split,
.disclosure,
.legal-page {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy,
.offer-preview {
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 58ch;
  font-size: 1.1rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.primary {
  color: #fffaf1;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 16px 28px rgba(16, 63, 44, 0.24);
}

.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
}

.offer-preview {
  display: grid;
  align-content: center;
  gap: 20px;
  background:
    linear-gradient(145deg, rgba(31, 111, 74, 0.12), rgba(255, 250, 241, 0.88)),
    var(--surface);
}

.message-card {
  padding: 24px;
  border-radius: 26px;
  background: var(--surface-strong);
  border: 1px solid rgba(18, 37, 31, 0.12);
}

.message-label {
  margin: 0 0 10px;
  color: var(--orange);
  font-weight: 900;
}

.message-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 18px;
}

.message-card p {
  margin: 8px 0;
}

.message-card strong {
  color: var(--green-dark);
  font-size: 1.5rem;
}

.message-card a {
  margin-top: 18px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-weight: 900;
}

.routing-strip {
  flex-wrap: wrap;
}

.routing-strip span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
  font-weight: 900;
}

.section {
  padding: 50px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  border-radius: var(--radius-md);
  padding: 22px;
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--orange);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius-lg);
}

.platform-list {
  display: grid;
  gap: 14px;
}

.platform-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.58);
}

.platform-list strong {
  color: var(--green-dark);
}

.platform-list p,
.disclosure p {
  margin-bottom: 0;
}

.disclosure {
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius-lg);
}

.legal-page {
  max-width: 880px;
  padding: clamp(24px, 5vw, 52px);
  border-radius: var(--radius-lg);
}

.legal-page h1 {
  max-width: 100%;
  margin-bottom: 20px;
}

.legal-page section {
  padding-top: 24px;
}

.legal-page h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 54px;
}

.site-footer p {
  margin: 0;
}

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

  h1 {
    max-width: 11ch;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav,
  .site-footer div,
  .hero-actions {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
