:root {
  --night: #ffffff;
  --night-2: #eef4f9;
  --ink: #0d2233;
  --muted: #5a7286;
  --citrus: #ffcf4d;
  --sunset: #ff9d3c;
  --ocean: #1f9fe0;
  --tropic: #3de0c8;
  --teal: #15514a;
  --hemp: #2f7d4f;
  --hemp-deep: #143f29;
  --line: rgba(13, 34, 51, 0.12);
  --radius: 18px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--night);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Age gate ---------- */
.agegate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #2f7d4f, #143f29 70%);
  text-align: center;
  padding: 24px;
}
.agegate.hidden { display: none; }
.agegate__card { max-width: 420px; }
.agegate__logo { font-size: 1.9rem; font-weight: 800; letter-spacing: 0.06em; }
.agegate__logo span { color: var(--citrus); }
.agegate p { color: #dceee2; margin: 18px 0 26px; }
.agegate__row { display: flex; gap: 12px; justify-content: center; }
.agegate small { display: block; margin-top: 22px; color: #a9ccb8; font-size: 0.78rem; }
.agegate .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.agegate .btn--ghost:hover { border-color: var(--citrus); color: var(--citrus); }
.agegate__logo span { color: var(--citrus); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn--primary {
  background: linear-gradient(120deg, var(--citrus), var(--sunset));
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 157, 60, 0.38);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(255, 157, 60, 0.5); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--citrus); color: var(--citrus); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(20, 63, 41, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-weight: 800; letter-spacing: 0.08em; font-size: 1.25rem; display: inline-flex; align-items: center; }
.brand span { color: var(--citrus); }
.brand__logo { height: 42px; width: auto; display: block; }
.foot-brand .brand__logo { height: 58px; }
.agegate__logo-img { height: 104px; width: auto; margin: 0 auto 6px; display: block; }
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a { color: #d7e9dd; font-size: 0.92rem; font-weight: 500; }
.nav__links a:hover { color: #ffffff; }
.nav__links .btn { color: #fff; }
@media (max-width: 760px) { .nav__links a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("/img/hero.jpg");
  background-size: cover;
  background-position: center 38%;
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 63, 41, 0.93) 0%, rgba(20, 63, 41, 0.62) 40%, rgba(20, 63, 41, 0.12) 78%),
    linear-gradient(0deg, rgba(20, 63, 41, 0.85) 0%, transparent 50%);
}
.hero__content { position: relative; z-index: 1; text-align: left; color: #f3f9ff; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.hero .btn--ghost:hover { border-color: var(--citrus); color: var(--citrus); }
@media (max-width: 760px) {
  .hero { min-height: 0; padding: 80px 0 60px; }
  .hero__bg { background-position: center; }
  .hero__bg::after {
    background:
      linear-gradient(90deg, rgba(20, 63, 41, 0.88) 0%, rgba(20, 63, 41, 0.72) 60%, rgba(20, 63, 41, 0.5) 100%),
      linear-gradient(0deg, rgba(20, 63, 41, 0.9) 0%, transparent 55%);
  }
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--citrus);
  border: 1px solid rgba(255, 207, 77, 0.4);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--citrus), var(--sunset), var(--ocean));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub {
  max-width: 620px;
  margin: 24px auto 34px;
  color: #cfe0ee;
  font-size: 1.18rem;
}
.hero__content .sub { margin-left: 0; margin-right: 0; }
.hero__cta { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 40px;
  justify-content: flex-start;
  margin-top: 48px;
  flex-wrap: wrap;
}
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; }
.stat span { color: #cfe0ee; font-size: 0.86rem; }

/* ---------- Featured 8-pack ---------- */
.eightpack {
  background: linear-gradient(180deg, rgba(31, 159, 224, 0.08), transparent);
}
.eightpack__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 860px) {
  .eightpack__inner { grid-template-columns: 1fr; gap: 32px; }
}
.eightpack__media img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
}
.eightpack__copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 8px 0 16px;
}
.eightpack__copy > p { color: var(--muted); font-size: 1.08rem; }
.eightpack__feats { list-style: none; margin: 24px 0; }
.eightpack__feats li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
}
.eightpack__feats li::before { content: "◆"; color: var(--citrus); font-size: 0.7rem; }
.eightpack__buy {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.price { display: flex; align-items: baseline; gap: 8px; }
.price__amt { font-size: 2.6rem; font-weight: 800; color: var(--citrus); }
.price__unit { color: var(--muted); font-size: 1rem; }
.eightpack__ship { margin-top: 16px; font-size: 0.84rem; color: #7c97aa; }
.eightpack--alt { background: linear-gradient(180deg, rgba(255, 207, 77, 0.07), transparent); }
.eightpack--alt .eightpack__media img { max-height: 560px; width: auto; margin: 0 auto; }
@media (max-width: 860px) {
  .eightpack--alt .eightpack__media { order: -1; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .products { grid-template-columns: 1fr; } }
.product {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  background: linear-gradient(180deg, var(--night-2), #f7fbfd);
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}
.product--seltzer::before { background: var(--tropic); }
.product--mixer::before { background: var(--ocean); }
.product__tag { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.product h3 { font-size: 1.7rem; margin: 8px 0 14px; font-weight: 800; }
.product p { color: var(--muted); }
.product ul { list-style: none; margin: 22px 0 0; }
.product li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.product li::before { content: "◆"; color: var(--citrus); font-size: 0.7rem; }
.dose { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--citrus); }

/* ---------- Flavors ---------- */
.flavors { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.flavor {
  flex: 1 1 240px;
  max-width: 320px;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  color: #06223a;
  font-weight: 700;
}
.flavor span { display: block; font-size: 2.4rem; margin-bottom: 10px; }
.flavor small { display: block; font-weight: 500; opacity: 0.75; margin-top: 6px; }
.flavor--citrus { background: linear-gradient(160deg, #ffe08a, var(--citrus)); }
.flavor--berry { background: linear-gradient(160deg, #3fb6ef, var(--ocean)); color: #fff; }
.flavor--tropic { background: linear-gradient(160deg, #7ff0df, var(--tropic)); }

/* ---------- Why / Cali sober ---------- */
.why { background: linear-gradient(180deg, transparent, rgba(255, 106, 61, 0.06)); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.why-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 0.98rem; }
.why-card .ic { font-size: 1.8rem; margin-bottom: 14px; }

/* ---------- Pre-order CTA ---------- */
.preorder {
  text-align: center;
  border-radius: 26px;
  padding: 66px 32px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255, 207, 77, 0.22), transparent 70%),
    linear-gradient(120deg, #f3f9fc, #e7f1f8);
  border: 1px solid var(--line);
}
.preorder h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.preorder p { color: var(--muted); max-width: 520px; margin: 16px auto 28px; }
.signup { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.signup input {
  flex: 1 1 240px;
  padding: 15px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 1rem;
}
.signup input::placeholder { color: #93a7b6; }
.signup__note { margin-top: 16px; font-size: 0.82rem; color: #8782ac; }

.preorder__art {
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: 18px;
  margin: 0 auto 34px;
  display: block;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* ---------- App promo ---------- */
.app-promo {
  background: linear-gradient(180deg, transparent, rgba(61, 224, 200, 0.06));
}
.app-promo__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
}
@media (max-width: 760px) {
  .app-promo__inner { flex-direction: column; text-align: center; gap: 28px; }
}
.app-promo__icon {
  width: 180px;
  height: 180px;
  border-radius: 38px;
  flex-shrink: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.app-promo__copy { max-width: 460px; }
.app-promo__copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 8px 0 14px; }
.app-promo__copy h2 em { font-style: italic; color: var(--tropic); }
.app-promo__copy p { color: var(--muted); margin-bottom: 24px; }
.appstore-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 24px 10px 22px;
  border-radius: 12px;
  background: #fff;
  color: #000;
  line-height: 1.1;
  transition: transform 0.15s ease;
}
.appstore-badge:hover { transform: translateY(-2px); }
.appstore-badge__small { font-size: 0.72rem; }
.appstore-badge__big { font-size: 1.3rem; font-weight: 700; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--citrus); font-size: 1.4rem; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 56px 0 40px;
  background: #143f29;
  color: #e6eef5;
}
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.foot-brand { max-width: 300px; }
.foot-brand .brand { font-size: 1.4rem; }
.foot-brand p { color: #9fb6c8; font-size: 0.92rem; margin-top: 12px; }
.foot-col h5 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9fb6c8; margin-bottom: 14px; }
.foot-col a { display: block; color: #dce8f1; font-size: 0.94rem; padding: 5px 0; }
.foot-col a:hover { color: var(--citrus); }
.foot-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: #8aa3b5;
  font-size: 0.82rem;
}

/* ---------- Legal pages ---------- */
.legal-page { max-width: 800px; margin: 0 auto; padding: 60px 0; }
.legal-page h1 { font-size: 2.4rem; margin-bottom: 8px; }
.legal-page .updated { color: var(--muted); margin-bottom: 36px; font-size: 0.9rem; }
.legal-page h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; }
.legal-page a { color: var(--citrus); }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--muted); font-size: 0.9rem; }
.back-link:hover { color: var(--citrus); }
