:root {
  --brand: #1b4d3e;
  --brand-deep: #123528;
  --brand-soft: #2a6b56;
  --amber: #e8a838;
  --amber-bright: #f0b84a;
  --paper: #f7f5f0;
  --ink: #14201c;
  --muted: #4a5c55;
  --soft: #3f534c;
  --line: #d9e0db;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(27, 77, 62, 0.14);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Avenir Next", "Segoe UI", Candara, "Century Gothic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--muted);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-soft);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--white);
  color: var(--brand);
  padding: 0.5rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: rgba(247, 245, 240, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(27, 77, 62, 0.08);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.site-header.is-solid .logo {
  color: var(--brand);
}

.logo img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.6rem;
}

.site-header.is-solid .nav-links a {
  color: var(--ink);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header.is-solid .nav-links a:hover {
  background: rgba(27, 77, 62, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink) !important;
  padding: 0.55rem 1rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--amber-bright) !important;
}

@media (min-width: 820px) {
  .nav-links {
    display: flex;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  content-visibility: visible;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(232, 168, 56, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 10% 85%, rgba(42, 107, 86, 0.45), transparent 50%),
    linear-gradient(145deg, var(--brand-deep) 0%, var(--brand) 48%, #245a49 100%);
  color: var(--white);
  padding: 7rem 1.25rem 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 90%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  max-width: 12ch;
}

.hero-lede {
  margin-top: 1.25rem;
  max-width: 36ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
}

.cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--amber-bright);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-brand {
  background: var(--brand);
  color: var(--white);
}

.btn-brand:hover {
  background: var(--brand-soft);
  color: var(--white);
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  border-radius: 0.65rem;
  transition: transform 0.2s ease;
}

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

.store-badge img {
  height: 3rem;
  width: auto;
}

.store-badge:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}


.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.5rem;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
}

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.65rem;
}

.section h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 18ch;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 42ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.bg-paper {
  background: var(--paper);
}

.bg-white {
  background: var(--white);
}

.bg-brand {
  background: var(--brand);
  color: var(--white);
}

.bg-brand h2,
.bg-brand .section-kicker,
.bg-brand p,
.bg-brand h3 {
  color: var(--white);
}

.bg-brand .section-kicker {
  color: var(--amber);
}

.bg-brand .section-intro {
  color: rgba(255, 255, 255, 0.85);
}

.bento {
  margin-top: 2.25rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 10px 30px rgba(27, 77, 62, 0.06);
}

.card.wide {
  grid-column: span 1;
}

@media (min-width: 800px) {
  .card.wide {
    grid-column: span 2;
  }
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: rgba(27, 77, 62, 0.1);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.steps {
  margin-top: 2.25rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  border-radius: 1.35rem;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.step h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.step p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

.chips {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.bg-brand .chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.waitlist-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .waitlist-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.form label {
  display: grid;
  gap: 0.35rem;
}

.form .label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form input,
.form select {
  width: 100%;
  min-height: 3rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.95rem;
}

.form input:focus,
.form select:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  background: var(--white);
}

.form-note {
  font-size: 0.88rem;
  color: var(--soft);
}

.legal-wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 7rem 1.25rem 4rem;
}

.legal-wrap h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.legal-wrap h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.65rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.legal-wrap ul {
  padding-left: 1.25rem;
}

.legal-nav {
  margin-bottom: 2rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 1.25rem 2rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: var(--amber);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
}

.footer-base {
  max-width: 72rem;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
