/* ---------- Tokens ---------- */
:root {
  --blue: #0078f0;
  --blue-dark: #004e9c;
  --ink: #0b0f19;
  --ink-soft: #444b5a;
  --paper: #ffffff;
  --offwhite: #f5f7fb;
  --line: #e4e8f1;
  --radius: 14px;
  --container: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}
.wordmark--dark { color: var(--ink); font-size: 1.1rem; letter-spacing: 0.28em; }
.wordmark--small { font-size: 0.95rem; }
.wordmark--hero {
  color: var(--paper);
  font-size: clamp(2.75rem, 9vw, 6rem);
  line-height: 1;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav__links a:not(.btn) {
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav__links a:not(.btn):hover { color: var(--ink); }

@media (max-width: 640px) {
  .nav__links { gap: 14px; }
  .nav__links a:not(.btn) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--light {
  background: var(--paper);
  color: var(--blue);
}
.btn--light:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn--dark {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.btn--small { padding: 10px 20px; font-size: 0.85rem; background: var(--blue); color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 120px 0 96px;
  text-align: center;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.eyebrow {
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  margin-bottom: 4px;
}
.eyebrow--dark { color: var(--blue); }
.hero__tagline {
  color: var(--paper);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 600;
  margin-top: 10px;
  max-width: 640px;
  text-wrap: balance;
}
.hero__tagline-sub {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  margin-top: 4px;
}
.hero__sub {
  color: rgba(255,255,255,0.92);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-top: 18px;
}
.hero__sub--muted { color: rgba(255,255,255,0.7); letter-spacing: 0.05em; font-weight: 400; text-transform: none; margin-top: 4px; }
.hero .btn { margin-top: 10px; }

.badge-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 6px;
  padding: 0;
}
.badge-row li {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 7px 14px;
  border-radius: 999px;
}

.hero__fineprint {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-top: 4px;
}
.hero__fineprint--onblue { color: rgba(255,255,255,0.75); }

/* ---------- Page header (About, FAQ) ---------- */
.page-header {
  padding: 76px 0 56px;
  text-align: center;
  background: var(--offwhite);
  border-bottom: 1px solid var(--line);
}
.page-header .eyebrow--dark {
  display: block;
  margin-bottom: 12px;
}
.page-header .section__title { margin-bottom: 14px; }
.page-header .section__lede { margin: 0 auto; }

.page-closer { text-align: center; }
.page-closer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--offwhite); }
.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 20px;
  text-wrap: balance;
}
.section__title--left { text-align: left; margin: 0 0 20px; }
.section__title--onblue { color: var(--paper); }
.section__lede {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}
.section__lede--left { text-align: left; margin: 0; }
.section__lede--onblue { color: rgba(255,255,255,0.9); }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 24px; margin-top: 56px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
.grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card__icon {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }

.pill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.pill strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  color: var(--blue);
}
.pill span { color: var(--ink-soft); font-size: 0.88rem; }

/* ---------- Product ---------- */
.section--product { background: var(--paper); }
.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 48px; }
}

.product__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.bottle {
  width: 190px;
  border-radius: 24px;
  background: var(--blue);
  box-shadow: 0 30px 60px -20px rgba(0, 120, 240, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 32px;
  position: relative;
}
.bottle__cap {
  width: 64px;
  height: 22px;
  background: var(--ink);
  border-radius: 6px 6px 3px 3px;
  margin-bottom: 16px;
}
.bottle__label {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  width: 100%;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-height: 220px;
  justify-content: center;
}
.bottle__brand {
  color: var(--paper);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
}
.bottle__name {
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}
.bottle__tag {
  color: rgba(255,255,255,0.75);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}
.badge {
  position: absolute;
  top: 12px;
  right: calc(50% - 118px);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 999px;
}
@media (max-width: 480px) {
  .badge { right: 12px; }
}

.checklist {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: rotate(45deg);
}

.ingredient-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--offwhite);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 28px;
}
.ingredient-strip span:nth-child(even) { color: var(--blue); font-weight: 700; }

/* ---------- How it works ---------- */
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--paper);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }

/* ---------- Comparison table ---------- */
.table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.92rem;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--offwhite);
}
.compare-table tbody th {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.compare-table tbody td:last-child {
  color: var(--blue);
  font-weight: 500;
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: none;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: var(--paper);
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--blue);
  font-size: 1.3rem;
  font-weight: 400;
  flex-shrink: 0;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 14px;
}

/* ---------- Founders ---------- */
.founder {
  text-align: center;
  padding: 12px;
}
.founder__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--paper);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.founder h3 { font-size: 1.15rem; margin-bottom: 10px; }
.founder p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; max-width: 340px; margin: 0 auto; }

/* ---------- Waitlist ---------- */
.section--waitlist {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  text-align: center;
}
.waitlist { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.waitlist-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
  max-width: 440px;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
  color: var(--paper);
  font-size: 0.95rem;
}
.waitlist-form input[type="email"]::placeholder { color: rgba(255,255,255,0.7); }
.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--paper);
  background: rgba(255,255,255,0.2);
}
.waitlist-form__note {
  min-height: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.waitlist-form__note--error { color: #ffd6d6; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.footer__social { display: flex; gap: 18px; }
.footer__social a:hover { color: var(--blue); }

/* ---------- Sticky waitlist bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
}
.sticky-bar__label {
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
}
.sticky-bar__form-wrap { flex: 1 1 320px; max-width: 420px; }
.sticky-bar__form {
  display: flex;
  gap: 8px;
}
.sticky-bar__form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: var(--paper);
  font-size: 0.9rem;
}
.sticky-bar__form input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
.sticky-bar__form input[type="email"]:focus {
  outline: none;
  border-color: var(--paper);
  background: rgba(255,255,255,0.16);
}
.sticky-bar__message {
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  margin-top: 6px;
  min-height: 16px;
}
.sticky-bar__message.waitlist-form__note--error { color: #ffb4b4; }

@media (max-width: 640px) {
  .sticky-bar__label { display: none; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
