:root {
  --forest-950: #173021;
  --forest-900: #22402d;
  --forest-800: #2d5139;
  --forest-700: #44644d;
  --gold-500: #b08a3c;
  --gold-300: #d8c28a;
  --paper-100: #f6f0e4;
  --paper-200: #ece2cf;
  --paper-300: #dfd0b4;
  --rust-400: #926945;
  --ink-900: #18281d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 32, 22, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at top left, rgba(176, 138, 60, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(34, 64, 45, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f2e8 0%, #efe5d4 54%, #f4eee1 100%);
}
a { color: inherit; text-decoration: none; }

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  background: rgba(246, 240, 228, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34, 64, 45, 0.08);
}

.brand img {
  width: clamp(150px, 13vw, 210px);
  display: block;
}

.privacy-policy-logo {
  display: block;
  width: min(320px, 82vw);
  height: auto;
  margin: 0 0 26px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: var(--forest-900);
}

.nav a.active { color: var(--gold-500); }
.nav a:not(.button):hover { color: var(--forest-700); }

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(34, 64, 45, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--forest-950);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-gold { background: var(--gold-500); color: var(--white); }

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero,
.feature-showcase,
.inner-hero {
  position: relative;
  overflow: hidden;
}

.hero-backdrop,
.feature-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 48, 33, 0.54), rgba(22, 48, 33, 0.78)),
    url('/assets/1903-postcard.jpg');
  background-size: cover;
  background-position: center;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-grid,
.inner-hero-copy,
.section-heading,
.tile-grid,
.showcase-grid,
.steps-grid,
.beta-callout,
.content-grid,
.scoreboard-table,
.legal-card {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 84px 40px 74px;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 460px);
  gap: 36px;
  align-items: center;
}

.hero-copy h1,
.inner-hero-copy h1,
.section-heading h2,
.beta-callout h2,
.legal-card h1,
.heritage-copy h2,
.push-spotlight-copy h2 {
  font-family: "Libre Baskerville", serif;
}

.hero-copy { color: var(--white); }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-300);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
}

.hero-copy p,
.inner-hero-copy p {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(245, 237, 223, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.hero-mark img {
  width: 62px;
  height: 38px;
  object-fit: contain;
}

.app-preview-stack {
  display: grid;
  gap: 16px;
  align-self: center;
}

.app-preview-note {
  justify-self: stretch;
  max-width: none;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(246, 240, 228, 0.94);
  border: 1px solid rgba(34, 64, 45, 0.08);
  box-shadow: var(--shadow);
  color: var(--forest-950);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.app-preview-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  border-radius: 32px;
  background: rgba(246, 240, 228, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(7, 20, 11, 0.24);
}

.phone-shot {
  position: relative;
  margin: 0;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(246, 240, 228, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 36px rgba(7, 20, 11, 0.24);
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-shot {
  border-radius: 34px;
}

.phone-shot-left {
  max-width: 202px;
  justify-self: center;
  align-self: center;
}

.phone-shot-right {
  max-width: 202px;
  justify-self: center;
  align-self: center;
}

.emblem-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 108px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(246, 240, 228, 0.98);
  box-shadow: 0 18px 30px rgba(15, 32, 22, 0.18);
  object-fit: contain;
}

.heritage-band {
  max-width: 1280px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 14px 40px 82px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.heritage-band-inner { padding-top: 8px; }

.heritage-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.heritage-copy p {
  margin: 0 0 18px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.85;
}

.heritage-photo-card {
  position: relative;
  min-height: 480px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(22, 48, 33, 0.94), rgba(34, 64, 45, 0.82)),
    radial-gradient(circle at top left, rgba(216, 194, 138, 0.24), transparent 42%);
  box-shadow: var(--shadow);
}

.heritage-photo-frame {
  position: absolute;
  inset: 30px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.95), rgba(236, 226, 207, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 20px 42px rgba(8, 22, 13, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.heritage-photo-frame img {
  width: 100%;
  height: auto;
  box-shadow: 0 18px 40px rgba(11, 27, 17, 0.24);
}

.heritage-photo-frame-clubhouse {
  padding: 0;
}

.heritage-photo-frame-clubhouse img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 60%;
}

.scoreboard-card,
.feature-tile,
.showcase-card,
.step-card,
.content-card,
.legal-card {
  background: rgba(246, 240, 228, 0.97);
  border: 1px solid rgba(34, 64, 45, 0.08);
  box-shadow: var(--shadow);
}

.problem-band,
.steps-band,
.beta-callout,
.inner-page {
  max-width: 1280px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 70px 40px;
}

.section-heading { margin-bottom: 28px; }

.section-heading h2,
.beta-callout h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.section-heading-light h2,
.section-heading-light .eyebrow {
  color: var(--white);
}

.tile-grid,
.steps-grid,
.content-grid {
  display: grid;
  gap: 22px;
}

.tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-tile,
.step-card,
.content-card {
  border-radius: 24px;
  padding: 26px;
}

.feature-tile-highlight {
  background:
    linear-gradient(180deg, rgba(34, 64, 45, 0.96), rgba(24, 40, 29, 0.96)),
    rgba(246, 240, 228, 0.97);
  color: var(--white);
  border-color: rgba(216, 194, 138, 0.22);
}

.feature-tile-highlight p,
.feature-tile-highlight h3 { color: inherit; }

.feature-tile h3,
.step-card h3,
.content-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.feature-tile p,
.step-card p,
.content-card p,
.legal-card p,
.legal-card li,
.content-list li,
.showcase-card p {
  line-height: 1.7;
}

.icon-wrap {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.38), transparent 45%),
    linear-gradient(180deg, #e2d08d 0%, var(--gold-500) 100%);
  box-shadow: 0 16px 30px rgba(176, 138, 60, 0.22);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.icon-wrap::before,
.icon-wrap span,
.icon-cart::before,
.icon-cart::after,
.icon-bell::before,
.icon-bell::after,
.icon-pin::before,
.icon-pin::after,
.icon-chat::before,
.icon-chat::after {
  content: "";
  position: absolute;
}

.icon-pin::before {
  width: 22px;
  height: 22px;
  border: 4px solid var(--forest-950);
  border-radius: 999px;
  left: 24px;
  top: 15px;
}

.icon-pin::after {
  width: 4px;
  height: 24px;
  background: var(--forest-950);
  left: 33px;
  bottom: 12px;
}

.icon-chat::before {
  inset: 18px 14px 20px 14px;
  background: var(--forest-950);
  border-radius: 14px;
}

.icon-chat::after {
  width: 14px;
  height: 14px;
  background: var(--forest-950);
  bottom: 14px;
  left: 22px;
  transform: rotate(45deg);
}

.icon-cart {
  background-image: url('/assets/beverage-cart-icon.png');
  background-size: 88%;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-bell::before {
  width: 26px;
  height: 24px;
  left: 22px;
  top: 18px;
  background: var(--forest-950);
  border-radius: 16px 16px 8px 8px;
}

.icon-bell::after {
  width: 14px;
  height: 6px;
  left: 28px;
  bottom: 16px;
  background: var(--forest-950);
  border-radius: 999px;
  box-shadow:
    0 -25px 0 0 var(--forest-950),
    0 -29px 0 3px rgba(24, 40, 29, 0);
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(176, 138, 60, 0.14);
  color: var(--forest-900);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.push-spotlight {
  max-width: 1280px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 40px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 28px;
  align-items: stretch;
}

.push-spotlight-copy,
.push-spotlight-board {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.push-spotlight-copy {
  padding: 34px;
  background: rgba(246, 240, 228, 0.96);
  border: 1px solid rgba(34, 64, 45, 0.08);
}

.push-spotlight-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
}

.push-spotlight-copy p {
  margin: 0;
  line-height: 1.8;
  font-size: 17px;
}

.push-spotlight-board {
  padding: 28px;
  background: rgba(246, 240, 228, 0.97);
  color: var(--ink-900);
  border: 1px solid rgba(34, 64, 45, 0.08);
}

.push-spotlight-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(176, 138, 60, 0.12);
  color: var(--forest-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.push-spotlight-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(34, 64, 45, 0.08);
}

.push-spotlight-row:first-of-type { margin-top: 22px; }
.push-spotlight-row span { color: rgba(24, 40, 29, 0.7); }
.push-spotlight-row strong { color: var(--forest-950); }

.feature-showcase { padding: 84px 40px; }

.showcase-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.showcase-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(246, 240, 228, 0.95);
}

.showcase-card-wide { grid-column: span 2; }

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.showcase-pill,
.showcase-score {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
}

.showcase-pill {
  background: var(--forest-800);
  color: var(--white);
}

.showcase-score {
  background: var(--gold-300);
  color: var(--forest-950);
}

.step-number {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.beta-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 40px 34px;
  color: rgba(24, 40, 29, 0.78);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.site-shell-inner .inner-page,
.privacy-page {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 52px 40px 72px;
}

.inner-hero {
  min-height: 320px;
  border-radius: 30px;
  display: flex;
  align-items: end;
  padding: 40px;
  margin-bottom: 42px;
}

.inner-hero-copy {
  max-width: 760px;
  color: var(--white);
}

.scoreboard-table {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(246, 240, 228, 0.97);
  box-shadow: var(--shadow);
}

.scoreboard-table-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 18px 24px;
  border-top: 1px solid rgba(34, 64, 45, 0.08);
}

.scoreboard-table-head {
  background: var(--forest-800);
  color: var(--white);
  border-top: none;
  font-weight: 800;
}

.legal-card {
  max-width: 940px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 34px;
}

.legal-card h1 { margin-top: 0; }
.legal-card h2 { margin-top: 32px; }
.content-list { padding-left: 20px; }

@media (max-width: 1080px) {
  .hero-grid,
  .tile-grid,
  .steps-grid,
  .content-grid,
  .showcase-grid,
  .beta-callout {
    grid-template-columns: 1fr;
  }

  .showcase-card-wide { grid-column: auto; }

  .topbar,
  .problem-band,
  .steps-band,
  .beta-callout,
  .feature-showcase,
  .hero,
  .site-shell-inner .inner-page,
  .privacy-page,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .topbar {
    flex-wrap: wrap;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    background: rgba(246, 240, 228, 0.98);
    border: 1px solid rgba(34, 64, 45, 0.1);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav a:not(.button) { padding: 8px 2px; }
  body.menu-open .nav { display: flex; }

  .brand img { width: clamp(132px, 38vw, 172px); }

  .hero-copy h1 { font-size: clamp(34px, 10vw, 52px); }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-mark {
    align-items: flex-start;
    border-radius: 22px;
  }

  .hero-mark img {
    flex: 0 0 auto;
  }

  .app-preview-stack { width: 100%; }
  .app-preview-note { justify-self: stretch; max-width: none; }

  .app-preview-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .phone-shot {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .phone-shot-left,
  .phone-shot-right {
    max-width: 244px;
    justify-self: center;
  }

  .emblem-badge {
    position: static;
    width: 116px;
    justify-self: end;
  }

  .heritage-band {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 64px;
  }

  .heritage-photo-card { min-height: 360px; }
  .heritage-photo-frame { inset: 24px; }

  .showcase-grid { grid-template-columns: 1fr; }

  .push-spotlight {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }

  .push-spotlight-row {
    flex-direction: column;
    gap: 6px;
  }

  .beta-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .scoreboard-table-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 28px;
    padding-bottom: 42px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 18px;
  }
}
