:root {
  --navy: #003150;
  --mint: #49E2B4;      /* fill only, never text on white */
  --teal: #216067;
  --white: #ffffff;
  --mist: #F3F8F8;      /* soft section background */
  --mint-wash: #E3F8F0; /* light mint background */
  --mint-deep: #25A97F; /* darker mint for borders on light backgrounds */
  --mint-light: #BFF3E2; /* mint text on teal or navy */
  --line: #D5E3E5;
  --body: #2B4757;      /* body copy on white */
  --radius: 18px;
  --max: 1080px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font: 500 17px/1.6 var(--font);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.wordmark { font-weight: 800; font-size: 22px; color: var(--navy); text-decoration: none; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 10px; }
.wordmark:hover { color: var(--navy); }
.wordmark svg { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 24px; font-weight: 700; font-size: 15px; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; }
.nav-toggle {
  display: none; background: var(--white); color: var(--navy); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 14px; font: 700 15px var(--font); cursor: pointer;
}
section[id] { scroll-margin-top: 76px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 49, 80, 0.08);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 20px; border-top: 1px solid var(--line); }
}
.pill {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--navy); background: var(--mint); padding: 6px 12px; border-radius: 999px;
}

/* Hero */
.hero { padding: 40px 0 56px; }
.hero .container { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 8.5vw, 56px); margin: 18px 0 18px; }
.lede { font-size: 19px; max-width: 34em; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 16px; font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 800 17px/1 var(--font); text-decoration: none;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: #00243d; color: var(--white); }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-mint:hover { background: #6BEBC5; color: var(--navy); }
.btn:disabled { opacity: 0.6; cursor: default; }

.jar-art { max-width: 460px; width: 100%; margin: 0 auto; }
.art-note { font-size: 13px; text-align: center; margin-top: 10px; color: #4E6876; }

/* Upfront section */
.upfront { background: var(--mist); padding: 64px 0; }
.section-head { max-width: 40em; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 12px; }
.eyebrow { display: block; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.cards { display: grid; gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 21px; margin: 14px 0 8px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }

/* Waitlist */
.waitlist { background: var(--navy); color: #D9E6EE; padding: 64px 0; }
.waitlist h2 { color: var(--white); font-size: clamp(28px, 6vw, 40px); margin-bottom: 12px; }
.waitlist .eyebrow { color: var(--mint); }
.waitlist a { color: var(--white); }
.waitlist-form { margin-top: 28px; max-width: 560px; }
.form-row { display: flex; flex-direction: column; gap: 12px; }
.form-row input[type="email"] {
  min-height: 54px; padding: 0 18px; border-radius: 999px; border: 2px solid transparent;
  font: 600 17px var(--font); color: var(--navy); background: var(--white); width: 100%;
}
.form-row input[type="email"]:focus { outline: none; border-color: var(--mint); }
.form-status { margin-top: 14px; font-size: 15px; min-height: 1.6em; }
.form-status.ok { color: var(--white); font-weight: 700; font-size: 18px; }
.consent { margin-top: 6px; font-size: 14px; color: #B7CCD9; }

/* Sections (match beepbopp layout) */
.section { padding: 64px 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: #D9E6EE; }
.section-navy h2 { color: var(--white); }
.section-navy .eyebrow { color: var(--mint); }
.section-navy .lede { color: #D9E6EE; }
.section-navy .card { border-color: transparent; }
.section-navy .card p { color: var(--body); }
.cards-2, .cards-4 { display: grid; gap: 16px; }
.step-num { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--navy); background: var(--mint); padding: 5px 10px; border-radius: 999px; }
.card .step-num + h3 { margin-top: 16px; }

/* Company strip */
.company-strip { background: var(--mist); border-top: 1px solid var(--line); padding: 20px 0; font-size: 15px; }
.company-strip .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.company-strip strong { color: var(--navy); }

/* Footer */
.site-footer { background: #00243D; color: #B7CCD9; padding: 56px 0 32px; font-size: 15px; }
.site-footer .container { display: grid; gap: 32px; }
.site-footer .wordmark { color: var(--white); margin-bottom: 14px; }
.site-footer .wordmark:hover { color: var(--white); }
.site-footer p { max-width: 30em; }
.site-footer h4 { color: var(--mint); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #D9E6EE; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 20px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Content pages */
.doc .eyebrow { margin-top: 24px; }
.doc .lede { margin: 8px 0 8px; }
.doc ul { padding-left: 22px; }
.doc code { background: var(--mist); padding: 1px 6px; border-radius: 6px; font-size: 15px; }
.contact-grid { display: grid; gap: 16px; margin: 28px 0 8px; }
.contact-grid .card h3 { margin: 0 0 6px; }
.contact-grid .card p + p { margin-top: 8px; }
.btn-primary:hover { text-decoration: none; }

/* Privacy page */
.doc { padding: 24px 0 64px; }
.doc .container { max-width: 720px; }
.doc h1 { font-size: clamp(32px, 7vw, 44px); margin: 12px 0 8px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc .updated { font-size: 15px; }

@media (min-width: 720px) {
  .cards.cards-2, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .cards.cards-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .container { grid-template-columns: 2fr 1fr 1fr; }
  .site-footer .legal { grid-column: 1 / -1; }
  .form-row { flex-direction: row; }
  .form-row .btn { flex: 0 0 auto; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .hero { padding: 48px 0 88px; }
  .hero .container { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .upfront, .section, .waitlist { padding: 88px 0; }
  .cards.cards-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Color pass ---------- */
/* White page; sections alternate white and dark (navy or teal) */
.hero, .upfront { background: var(--white); }
.hero-art { margin: 0; position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: 6% 8% 14%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(73, 226, 180, 0.30), rgba(73, 226, 180, 0));
}
.hero-art > * { position: relative; z-index: 1; }
.mark { background: linear-gradient(transparent 62%, var(--mint) 62%, var(--mint) 92%, transparent 92%); padding: 0 2px; }

/* Amounts: teal on light backgrounds, mint on dark */
/* Every amount: mint text. Mint only sits on dark backgrounds, so amounts live on navy tags. */
.amt { color: var(--mint); font-weight: 800; white-space: nowrap; }

/* Example amount chips inside cards (cards are always white) */
.chip {
  margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  background: var(--navy); border-radius: 12px; padding: 12px 16px; font-size: 15px; color: #E2EEF2;
}
.chip .amt { font-size: 18px; margin-left: auto; }
.chip .when { flex-basis: 100%; font-size: 13px; color: var(--mint-light); font-weight: 700; }
.note { margin-top: 14px; font-size: 13px; color: #4E6876; }

/* Cards: colored top edge */
.card { border-top: 5px solid var(--mint); }

/* Dark sections: the color sits in a rounded panel the width of the content */
.section-navy, .section-teal { background: transparent; padding: 16px 0; color: #E2EEF2; }
.section-navy > .container, .section-teal > .container {
  border-radius: 28px; padding-top: 48px; padding-bottom: 48px; padding-left: 24px; padding-right: 24px;
  width: calc(100% - 24px);
}
.section-navy > .container { background: var(--navy); }
.section-teal > .container { background: var(--teal); }
@media (min-width: 720px) {
  .section-navy > .container, .section-teal > .container { padding: 64px 56px; width: calc(100% - 40px); }
}
@media (min-width: 900px) {
  .section-navy, .section-teal { padding: 24px 0; }
}
.section-navy h2, .section-teal h2 { color: var(--white); }
.section-navy .eyebrow, .section-teal .eyebrow { color: var(--mint-light); }
.section-navy .lede, .section-teal .lede, .section-navy .section-head p, .section-teal .section-head p { color: #E2EEF2; }
.section-navy .card, .section-teal .card { border-color: transparent; border-top-color: var(--mint); color: var(--body); }
.section-navy .card p, .section-teal .card p { color: var(--body); }
.section-navy .note, .section-teal .note { color: #C9DCE4; }

/* White sections: soft card borders */
.section:not(.section-navy):not(.section-teal) .card { border-color: var(--line); border-top-color: var(--mint); }

/* Waitlist: white section, dark panel */
.waitlist { background: var(--white); color: #D9E6EE; }
.waitlist-panel {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 75%);
  border-radius: 28px; padding: 40px 24px; margin: 0 -8px;
}
@media (min-width: 720px) { .waitlist-panel { padding: 64px 56px; margin: 0 -20px; } }

/* Company strip and content pages stay white */
.company-strip { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid .card { border-top-color: var(--mint); }
