/* ═══════════════════════════════════════════════════════════
   EnjoyGevity — Ceremonial Matcha Capsules
   Palette pulled from the bottle label: near-black → deep
   forest gradient, acid-lime type, amber glass, warm sand.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --ink:        #07090a;
  --forest-900: #06140b;
  --forest-800: #0a2211;
  --forest-700: #0e2e18;
  --forest-500: #17512a;
  --forest-300: #2f7a45;

  --lime:       #c9f53f;
  --lime-hi:    #e2ff6b;
  --lime-lo:    #8fe02a;

  --sand:       #f0dcc9;
  --sand-soft:  #f8ece1;
  --cream:      #fbf9f5;
  --paper:      #ffffff;

  --text:       #14180f;
  --text-soft:  #5b6455;
  --line:       #e4e2d9;

  /* Gradients */
  --grad-lime:   linear-gradient(102deg, var(--lime-hi) 0%, var(--lime) 45%, var(--lime-lo) 100%);
  --grad-dark:   linear-gradient(155deg, var(--ink) 0%, var(--forest-800) 55%, var(--forest-500) 100%);
  --grad-btn-dk: linear-gradient(102deg, #12331c 0%, #0b1c11 60%, #1d5c2e 100%);
  --grad-text:   linear-gradient(96deg, var(--lime-hi), var(--lime-lo));

  /* Type */
  --sans:  'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, 'Times New Roman', serif;

  /* Space & motion */
  --shell: 1240px;
  --nav-h: 76px;   /* fallback; main.js measures the real height */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec-y: clamp(5rem, 11vw, 9.5rem);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shadow-sm: 0 1px 2px rgba(10,25,14,.06), 0 6px 18px -8px rgba(10,25,14,.14);
  --shadow-md: 0 2px 6px rgba(10,25,14,.05), 0 22px 48px -22px rgba(10,25,14,.28);
  --shadow-lime: 0 10px 34px -12px rgba(143,224,42,.55);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
html { overflow-x: clip; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--forest-300); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--forest-700); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec-y); }
.muted { color: var(--text-soft); }

/* ── Type scale ────────────────────────────────────────── */
h1, h2, h3 { font-weight: 600; line-height: 1.05; letter-spacing: -.028em; }

.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--forest-300); margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--lime); }
.eyebrow__mg { font-size: .68em; letter-spacing: .1em; }

.sectitle {
  font-size: clamp(2.15rem, 1.2rem + 4.2vw, 4.25rem);
  line-height: 1.02;
  max-width: 15ch;
}
.sectitle em, .hero__title em, .closer em, blockquote em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -.012em;
}
.sectitle--light { color: var(--cream); }
.sectitle--light em { color: var(--lime); }

.secsub {
  margin-top: 1.35rem; max-width: 48ch; font-size: 1.0625rem;
  color: var(--text-soft); line-height: 1.7;
}
.secsub--light { color: rgba(238,244,232,.72); }

.sechead { margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.sechead .sectitle { margin-inline: auto; }
.sechead { text-align: center; }
.sechead .secsub { margin-inline: auto; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  --btn-bg: var(--grad-lime);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.6rem;
  font-size: .95rem; font-weight: 600; letter-spacing: -.01em;
  border-radius: var(--r-pill);
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .25s, opacity .25s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; background: var(--btn-bg);
  background-size: 180% 100%; background-position: 0% 50%;
  transition: background-position .6s var(--ease-out);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:hover::before { background-position: 100% 50%; }

.btn--lime { color: #0a1a0c; box-shadow: var(--shadow-lime); }
.btn--lime:hover { box-shadow: 0 14px 42px -12px rgba(143,224,42,.7); }

.btn--dark { --btn-bg: var(--grad-btn-dk); color: #f2f7ee; box-shadow: var(--shadow-sm); }
.btn--dark:hover { box-shadow: var(--shadow-md); }

.btn--ghost { --btn-bg: transparent; color: rgba(240,247,234,.9); box-shadow: inset 0 0 0 1px rgba(240,247,234,.28); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(240,247,234,.6); }

.btn--sm { padding: .58rem 1.05rem; font-size: .85rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

.btn__price {
  font-variant-numeric: tabular-nums; font-weight: 500;
  padding-left: .65rem; margin-left: .1rem;
  border-left: 1px solid currentColor;
  opacity: .72;
}
.btn.is-busy { pointer-events: none; opacity: .72; }

/* ── Stars ─────────────────────────────────────────────── */
.stars {
  --star: '★★★★★';
  display: inline-block; position: relative;
  font-size: 1rem; letter-spacing: .12em; line-height: 1;
  color: rgba(160,175,150,.45);
}
.stars::before { content: '★★★★★'; }
.stars::after {
  content: '★★★★★'; position: absolute; inset: 0;
  overflow: hidden; white-space: nowrap;
  width: calc(var(--rating) / 5 * 100%);
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stars--lg { font-size: 1.5rem; }

@keyframes slide { to { transform: translateX(-50%); } }

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.1rem; transition: padding .4s var(--ease);
}
.nav.is-stuck {
  background: rgba(6,20,11,.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(201,245,63,.14);
}
.nav.is-stuck .nav__inner { padding-block: .7rem; }

/* White horizontal lockup — sits on the dark nav and footer as-is. */
.brand { display: block; width: min(175px, 44vw); flex: none; }
.brand img { width: 100%; height: auto; }
.brand--foot { width: min(220px, 62vw); margin-bottom: 1.1rem; }

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  position: relative; font-size: .9rem; font-weight: 500;
  color: rgba(238,244,232,.74); text-decoration: none; transition: color .25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--grad-lime); transition: width .35s var(--ease-out);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: .75rem; }
.win-button {
  position: relative; display: inline-flex; align-items: center; gap: .38rem;
  padding: .48rem .68rem; border: 1px solid rgba(201,245,63,.7); border-radius: 999px;
  color: var(--lime); font-size: .78rem; font-weight: 700; letter-spacing: .015em;
  line-height: 1; text-decoration: none; transition: background .25s, color .25s, border-color .25s;
}
.win-button:hover, .win-button:focus-visible { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.win-button__arrow { font-size: .95em; line-height: 1; }
.win-button::after {
  content: ''; position: absolute; right: 0; top: 100%; width: 246px; height: .75rem;
}
.win-tooltip {
  position: absolute; z-index: 60; top: calc(100% + .75rem); right: 0; width: 246px;
  display: grid; gap: .45rem; padding: 1rem; border: 1px solid rgba(201,245,63,.28); border-radius: .75rem;
  background: rgba(6,20,11,.96); box-shadow: 0 18px 40px rgba(0,0,0,.28);
  color: var(--cream); opacity: 0; pointer-events: none; transform: translateY(-5px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.win-tooltip::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: .75rem; }
.win-button:hover .win-tooltip, .win-button:focus-visible .win-tooltip { opacity: 1; pointer-events: auto; transform: none; }
.win-tooltip strong { color: var(--lime); font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; }
.win-tooltip span { color: rgba(238,244,232,.76); font-size: .76rem; font-weight: 400; line-height: 1.45; }
.win-tooltip em { color: var(--lime); font-size: .7rem; font-style: normal; font-weight: 800; letter-spacing: .09em; }
.win-tooltip b { font-size: 1rem; }
.cart-toggle { color: var(--cream); font-size: .84rem; padding: .4rem .15rem; }
.cart-toggle span { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; margin-left: .2rem; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 700; }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute; left: 10px; width: 20px; height: 1.6px; background: var(--cream);
  transition: transform .35s var(--ease-out), opacity .25s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobilemenu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 1.25rem;
  padding: 6rem var(--gut) 3rem;
  background: var(--grad-dark);
  opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.mobilemenu[hidden] { display: flex; }        /* keep transitions; JS toggles .is-open */
.mobilemenu.is-open {
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s;
}
.mobilemenu nav { display: flex; flex-direction: column; gap: .35rem; }
.mobilemenu nav a {
  font-family: var(--serif); font-size: 2.25rem; line-height: 1.25;
  color: var(--cream); text-decoration: none;
}
.mobilemenu nav a:hover { color: var(--lime); }
body.is-locked { overflow: hidden; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h);   /* slide under the transparent nav */
  min-height: min(100svh, 900px);
  display: flex; align-items: center;
  color: var(--cream); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--grad-dark); }
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
  animation: float 16s var(--ease) infinite alternate;
}
.orb--1 { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: radial-gradient(circle, rgba(47,122,69,.75), transparent 68%); }
.orb--2 { width: 38vw; height: 38vw; right: -8vw; top: 18%; background: radial-gradient(circle, rgba(201,245,63,.26), transparent 66%); animation-delay: -6s; }
.orb--3 { width: 34vw; height: 34vw; left: 32%; bottom: -16vw; background: radial-gradient(circle, rgba(23,81,42,.85), transparent 70%); animation-delay: -11s; }
@keyframes float {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(3vw,-3vw,0) scale(1.12); }
}
.grain {
  position: absolute; inset: -100%; pointer-events: none; opacity: .3; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }  20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); }   60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,1%); }
}

.hero__inner {
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero .eyebrow { color: var(--lime); }
.hero__title { font-size: clamp(2.6rem, 1.1rem + 6.1vw, 5.4rem); letter-spacing: -.035em; }
.hero__title em { display: inline-block; color: var(--lime); }
.hero__sub { margin-top: 1.5rem; max-width: 44ch; color: rgba(238,244,232,.72); line-height: 1.72; }

.hero__rating { display: flex; align-items: center; gap: .7rem; margin-top: 1.6rem; font-size: .9rem; color: rgba(238,244,232,.85); }
.hero__rating .muted { color: rgba(238,244,232,.5); }

.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }

.hero__badges {
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin-top: 2.1rem;
}
.hero__badges li {
  padding: .38rem .85rem; border-radius: var(--r-pill);
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(238,244,232,.78); box-shadow: inset 0 0 0 1px rgba(201,245,63,.24);
  background: rgba(201,245,63,.05);
}

.hero__product { position: relative; display: grid; place-items: center; }
.hero__glow {
  position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,245,63,.3), rgba(47,122,69,.18) 45%, transparent 70%);
  filter: blur(30px); animation: pulse 7s var(--ease) infinite alternate;
}
@keyframes pulse { from { transform: scale(.94); opacity: .8; } to { transform: scale(1.06); opacity: 1; } }

.hero__bottle {
  position: relative; width: min(100%, 520px);
  animation: bob 7s var(--ease) infinite alternate;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.55));
  will-change: transform;
}
@keyframes bob { from { transform: translateY(-10px); } to { transform: translateY(10px); } }

.hero__chip {
  position: absolute; padding: .5rem .9rem; border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 500; letter-spacing: .02em; color: var(--cream);
  background: rgba(8,24,13,.55); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(201,245,63,.28);
  animation: bob 9s var(--ease) infinite alternate-reverse;
}
.hero__chip--a { top: 22%; left: 0; }
.hero__chip--b { bottom: 20%; right: 2%; animation-delay: -3s; }

.scrollcue {
  position: absolute; left: 50%; bottom: 1.75rem; translate: -50% 0;
  width: 24px; height: 38px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1.5px rgba(238,244,232,.28);
}
.scrollcue span {
  position: absolute; left: 50%; top: 8px; translate: -50% 0;
  width: 3px; height: 7px; border-radius: 2px; background: var(--lime);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── Marquee ───────────────────────────────────────────── */
.marquee {
  background: var(--grad-lime); color: #0a1a0c; overflow: hidden;
  border-block: 1px solid rgba(10,26,12,.1);
}
.marquee__track {
  display: flex; align-items: center; gap: 1.75rem; width: max-content;
  padding-block: .9rem; animation: slide 46s linear infinite;
  font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.marquee__track i { font-style: normal; opacity: .45; font-size: .7rem; }

/* ── Benefits ──────────────────────────────────────────── */
.benefits { background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card {
  position: relative; padding: 2rem 1.6rem 2.1rem;
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-lime); opacity: 0; transition: opacity .45s var(--ease);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card:hover::after { opacity: 1; }
.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.35rem;
  border-radius: 14px; color: var(--forest-700);
  background: linear-gradient(150deg, rgba(201,245,63,.55), rgba(143,224,42,.22));
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.14rem; letter-spacing: -.02em; margin-bottom: .55rem; }
.card p { font-size: .94rem; color: var(--text-soft); line-height: 1.65; }

/* ── Curve / comparison ────────────────────────────────── */
.curve { background: var(--sand-soft); }
.curve__grid {
  display: grid; grid-template-columns: .95fr 1.05fr; align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.ticks { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: .85rem; }
.ticks li { position: relative; padding-left: 2rem; font-size: .97rem; color: var(--text-soft); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .45em;
  width: 18px; height: 10px; border-left: 2px solid var(--forest-300); border-bottom: 2px solid var(--forest-300);
  transform: rotate(-45deg) translateY(-2px); border-radius: 1px;
}

.chart {
  background: var(--paper); border-radius: var(--r-lg); padding: 1.75rem 1.5rem 1.35rem;
  box-shadow: var(--shadow-md);
}
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart__grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 6; }
.chart__axis text { font-size: 11px; fill: #9aa392; font-family: var(--sans); }
.chart__line { fill: none; stroke-width: 3; stroke-linecap: round; }
.chart__line--matcha { stroke: url(#gLime); }
.chart__line--coffee { stroke: #c2b3a4; stroke-width: 2.5; }
.chart__area { opacity: 0; transition: opacity 1s var(--ease) .7s; }

.chart__line { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.chart.is-drawn .chart__line { transition: stroke-dashoffset 1.9s var(--ease-out); stroke-dashoffset: 0; }
.chart.is-drawn .chart__line--coffee { transition-delay: .25s; }
.chart.is-drawn .chart__area { opacity: 1; }

.chart__key { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1rem; font-size: .84rem; }
.key { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-soft); }
.key::before { content: ''; width: 18px; height: 3px; border-radius: 2px; }
.key--matcha::before { background: var(--grad-lime); }
.key--coffee::before { background: #c2b3a4; }
.chart__key small { flex-basis: 100%; color: #9aa392; font-size: .74rem; }

/* ── Ritual ────────────────────────────────────────────── */
.ritual { background: var(--cream); }
.ritual__grid {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.ritual__media { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.ritual__media img { width: 100%; transition: transform 1.2s var(--ease-out); }
.ritual__media:hover img { transform: scale(1.04); }

.steps { list-style: none; padding: 0; margin-top: 2.75rem; display: grid; gap: 1.75rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.step__n {
  font-family: var(--serif); font-size: 2.1rem; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-top: .1em;
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { font-size: .95rem; color: var(--text-soft); }

/* ── Compare ───────────────────────────────────────────── */
.compare { background: var(--sand-soft); }

.cmp {
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.cmp__table {
  border-collapse: separate; border-spacing: 0;
  min-width: 720px;                 /* below this the columns stop being readable */
  text-align: center;
}
.cmp__col-label { width: 17%; }     /* the row labels stay deliberately narrow */
.cmp__col-hero  { width: 30%; }

.cmp__table th, .cmp__table td {
  padding: 1.35rem 1.15rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cmp__table tbody tr:last-child th,
.cmp__table tbody tr:last-child td { border-bottom: 0; }

/* Column heads */
.cmp__table thead th {
  padding-block: 1.9rem 1.5rem;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em;
  background: var(--sand-soft);
}
.cmp__table thead td { background: var(--paper); border-bottom-color: transparent; }
.cmp__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto .75rem;
  border-radius: 50%; background: rgba(20,30,18,.06); color: var(--forest-700);
}
.cmp__icon svg { width: 22px; height: 22px; }

/* Row labels */
.cmp__table tbody th {
  text-align: left; font-size: .95rem; font-weight: 600; letter-spacing: -.015em;
  vertical-align: middle;
}

/* Body cells */
.cmp__table tbody td {
  font-size: .88rem; line-height: 1.6; color: var(--text-soft);
}
.mark {
  display: block; width: 26px; height: 26px; margin: 0 auto .7rem;
  border-radius: 50%; position: relative;
}
.mark--yes { background: var(--grad-lime); }
.mark--yes::after {
  content: ''; position: absolute; left: 8px; top: 7px;
  width: 9px; height: 5px; border-left: 2px solid #0a1a0c; border-bottom: 2px solid #0a1a0c;
  transform: rotate(-45deg);
}
.mark--no { background: rgba(20,30,18,.09); }
.mark--no::before, .mark--no::after {
  content: ''; position: absolute; left: 7px; top: 12px; width: 12px; height: 1.8px;
  background: #9a9384; border-radius: 2px;
}
.mark--no::before { transform: rotate(45deg); }
.mark--no::after  { transform: rotate(-45deg); }

/* The featured column runs the full height of the card */
.cmp__table thead th.is-hero { background: var(--ink); color: var(--lime); }
.cmp__table thead th.is-hero .cmp__icon {
  background: rgba(201,245,63,.14); color: var(--lime);
}
.cmp__table tbody td.is-hero {
  background: var(--forest-900);
  color: rgba(238,244,232,.86);
  border-bottom-color: rgba(238,244,232,.1);
}

/* Only meaningful once the table is wider than its scroller */
.cmp__hint { display: none; margin-top: .9rem; font-size: .78rem; letter-spacing: .06em; color: var(--text-soft); text-align: center; }

.cmp__cta { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ── Inside ────────────────────────────────────────────── */
.inside { position: relative; isolation: isolate; color: var(--cream); overflow: hidden; }
.inside__bg { position: absolute; inset: 0; z-index: -1; background: var(--grad-dark); }
.inside__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.inside__media { margin: 0; }
.inside__media img { filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }

.facts {
  margin-top: 2.5rem; padding: 1.5rem 1.6rem 1.2rem;
  border-radius: var(--r-md); background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(201,245,63,.2);
  backdrop-filter: blur(6px);
}
.facts__head h3 { font-size: 1.05rem; letter-spacing: -.01em; }
.facts__head p { font-size: .82rem; color: rgba(238,244,232,.6); margin-top: .3rem; }
.facts table { margin-top: 1rem; font-size: .9rem; }
.facts th, .facts td { text-align: left; padding: .65rem 0; border-bottom: 1px solid rgba(238,244,232,.12); }
.facts th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(238,244,232,.5); font-weight: 500; }
.facts td:nth-child(2), .facts th:nth-child(2) { text-align: right; white-space: nowrap; }
.facts td:nth-child(3), .facts th:nth-child(3) { text-align: right; width: 3rem; color: rgba(238,244,232,.5); }
.facts tbody td { color: rgba(238,244,232,.9); }
.facts__note { font-size: .74rem; color: rgba(238,244,232,.45); margin-top: .8rem; }

.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.5rem; }
.stat b {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2vw, 2.9rem); line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: .35rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(238,244,232,.55); }

/* ── Lifestyle ─────────────────────────────────────────── */
.lifestyle { position: relative; isolation: isolate; min-height: min(78svh, 680px); display: grid; align-items: end; overflow: hidden; }
.lifestyle__img { position: absolute; inset: 0; z-index: -2; }
.lifestyle__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; will-change: transform; }
.lifestyle__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(6,20,11,.86) 0%, rgba(6,20,11,.35) 45%, rgba(6,20,11,.05) 75%);
}
.lifestyle__copy { padding-block: clamp(3rem, 7vw, 5.5rem); color: var(--cream); }
.lifestyle blockquote p {
  font-size: clamp(1.8rem, 1rem + 3.4vw, 3.4rem); line-height: 1.12; letter-spacing: -.03em;
  font-weight: 500; max-width: 18ch;
}
.lifestyle blockquote em { color: var(--lime); }
.lifestyle cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: .95rem; color: rgba(238,244,232,.68); }

/* ── Reviews ───────────────────────────────────────────── */
.reviews { background: var(--sand-soft); }

.rev-agg {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem;
  margin-top: 1.35rem; font-size: .95rem;
}
.rev-agg strong { font-weight: 600; }

.revgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.rev {
  display: flex; flex-direction: column; margin: 0;
  padding: 1.85rem 1.6rem 1.6rem;
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.rev:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rev .stars { font-size: .95rem; }
.rev__title { display: block; margin-top: 1rem; font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em; }
.rev blockquote {
  margin: .6rem 0 1.5rem; font-size: .94rem; line-height: 1.68; color: var(--text-soft);
}
.rev blockquote::before { content: '“'; }
.rev blockquote::after  { content: '”'; }

.rev__by {
  display: flex; align-items: center; gap: .75rem;
  margin-top: auto; padding-top: 1.15rem; border-top: 1px solid var(--line);
}
.rev__avatar {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-btn-dk); color: var(--lime);
  font-size: .92rem; font-weight: 600;
}
.rev__name { display: grid; font-size: .92rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.rev__name small { font-size: .76rem; font-weight: 400; color: var(--text-soft); }

.reviews__note { text-align: center; margin-top: 2.25rem; font-size: .88rem; color: var(--text-soft); }
.reviews__note a { color: var(--forest-500); font-weight: 500; text-underline-offset: 3px; }

/* ── Buy ───────────────────────────────────────────────── */
.buy { background: var(--cream); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 1.25rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 2.1rem 1.75rem 1.9rem;
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan--featured {
  background: var(--grad-dark); color: var(--cream);
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(201,245,63,.3);
}
.plan--featured .plan__meta, .plan--featured .plan__list li { color: rgba(238,244,232,.7); }
.plan__flag {
  position: absolute; top: -.75rem; left: 50%; translate: -50% 0;
  padding: .32rem .8rem; border-radius: var(--r-pill);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #0a1a0c; background: var(--grad-lime); box-shadow: var(--shadow-lime);
}
.plan__name { font-size: 1.2rem; }
.plan__meta { font-size: .85rem; color: var(--text-soft); margin-top: .3rem; }
.plan__price {
  margin-top: 1.4rem; font-family: var(--serif); font-weight: 400; font-size: 2.9rem; line-height: 1;
  letter-spacing: -.02em; display: flex; align-items: baseline; gap: .5rem;
}
.plan__price small { font-family: var(--sans); font-size: .95rem; color: var(--text-soft); }
.plan--featured .plan__price small { color: rgba(238,244,232,.6); }
.plan__price s { font-family: var(--sans); font-size: 1rem; color: var(--text-soft); }
/* Cards stretch and the CTA is pinned with margin-top:auto, so an empty
   savings line can collapse instead of holding open a gap. */
.plan__per:not(:empty) { margin-top: .4rem; font-size: .82rem; color: var(--forest-300); }
.plan--featured .plan__per { color: var(--lime); }
.plan__list { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: grid; gap: .6rem; font-size: .9rem; color: var(--text-soft); }
.plan__list li { position: relative; padding-left: 1.4rem; }
.plan__list li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 11px; height: 6px; border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(-45deg); opacity: .75;
}
.plan .btn { margin-top: auto; }
.plan__actions { display: grid; gap: .75rem; margin-top: auto; }
.plan__actions .btn { margin-top: 0; }
.plan__add { color: var(--forest-500); font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.plan--featured .plan__add { color: var(--lime); }

.assure {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem;
  list-style: none; padding: 0; margin-top: 2.5rem;
  font-size: .8rem; letter-spacing: .06em; color: var(--text-soft);
}
.assure li { position: relative; padding-left: 1.3rem; }
.assure li::before {
  content: ''; position: absolute; left: 0; top: .38em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad-lime);
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq { background: var(--sand-soft); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); }
.faq__head .sectitle { max-width: none; }
.faq__media { margin: 2.5rem 0 0; }
.faq__media img { width: min(100%, 300px); filter: drop-shadow(0 26px 40px rgba(20,30,18,.22)); }

.faq__list { display: grid; align-content: start; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-size: 1.06rem; font-weight: 500; letter-spacing: -.015em;
  transition: color .25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; flex: none; width: 12px; height: 12px; position: relative;
  background:
    linear-gradient(var(--forest-500), var(--forest-500)) center/12px 1.6px no-repeat,
    linear-gradient(var(--forest-500), var(--forest-500)) center/1.6px 12px no-repeat;
  transition: transform .35s var(--ease-out);
}
.qa[open] summary::after { transform: rotate(135deg); }
.qa summary:hover { color: var(--forest-500); }
.qa__body { overflow: hidden; }
.qa__body p { padding-bottom: 1.4rem; max-width: 62ch; font-size: .96rem; color: var(--text-soft); }

/* ── Closer ────────────────────────────────────────────── */
.closer { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: var(--cream); }
.closer__bg { position: absolute; inset: 0; z-index: -1; background: var(--grad-dark); }
.closer__inner { padding-block: clamp(5rem, 12vw, 9rem); }
.closer h2 { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.6rem); line-height: 1.03; }
.closer em { color: var(--lime); }
.closer__cta { margin-top: 2.5rem; }
.closer__note { margin-top: 1.5rem; font-size: .84rem; color: rgba(238,244,232,.55); }

/* ── Footer ────────────────────────────────────────────── */
.foot { background: var(--ink); color: rgba(238,244,232,.65); padding-block: clamp(3rem, 7vw, 4.5rem) 2rem; font-size: .9rem; }
.foot__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; }
.foot__brand p { line-height: 1.7; max-width: 34ch; }
.foot__links { display: grid; align-content: start; gap: .6rem; }
.foot__links a { text-decoration: none; transition: color .25s; }
.foot__links a:hover { color: var(--lime); }
.foot__contact { font-style: normal; line-height: 1.8; }
.foot__contact a { color: var(--lime); text-underline-offset: 3px; }
.foot__legal {
  margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(238,244,232,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .74rem; color: rgba(238,244,232,.4); line-height: 1.6;
}
.foot__legal p:first-child { max-width: 70ch; }

/* ── Sticky buy bar ────────────────────────────────────── */
.stickybuy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--gut) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(6,20,11,.9); backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 rgba(201,245,63,.16);
  color: var(--cream);
  transform: translateY(110%); transition: transform .45s var(--ease-out);
}
.stickybuy[hidden] { display: flex; }
.stickybuy.is-up { transform: none; }
.stickybuy__info { display: grid; line-height: 1.3; }
.stickybuy__info strong { font-size: .92rem; font-weight: 600; }
.stickybuy__info span { font-size: .84rem; color: var(--lime); }

/* ── Toast ─────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 5.5rem; translate: -50% 0; z-index: 90;
  max-width: min(92vw, 460px);
  padding: .9rem 1.25rem; border-radius: var(--r-md);
  background: rgba(6,20,11,.95); color: var(--cream); font-size: .88rem; line-height: 1.5;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(201,245,63,.28);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease-out);
}
.toast[hidden] { display: block; pointer-events: none; }
.toast.is-up { opacity: 1; transform: none; }

/* ── Cart ──────────────────────────────────────────────── */
.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 100; display: flex; flex-direction: column; width: min(100%, 390px); height: 100dvh; padding: 1.3rem;
  background: var(--paper); color: var(--ink); box-shadow: -12px 0 40px rgba(0,0,0,.24);
  opacity: 0; pointer-events: none; transform: translateX(100%); transition: opacity .28s ease, transform .38s var(--ease-out);
}
.cart-drawer[hidden] { display: flex; }
.cart-drawer.is-open { opacity: 1; pointer-events: auto; transform: none; }
.cart-toggle[hidden], .nav__actions .btn--sm[hidden], .cart-drawer__foot .btn[hidden] { display: none; }
.cart-drawer__head, .cart-total, .cart-item, .cart-item__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cart-drawer__head { padding-bottom: 1.1rem; border-bottom: 1px solid rgba(6,20,11,.12); font-size: 1.1rem; }
.cart-close { color: var(--ink); font-size: 2rem; line-height: 1; }
.cart-items { display: grid; gap: 1rem; padding: 1.2rem 0; overflow-y: auto; }
.cart-empty { color: var(--text-soft); }
.cart-offer {
  margin: 0 0 1.2rem; padding: .8rem .9rem; border: 1px solid rgba(42,137,61,.2); border-radius: .55rem;
  background: rgba(201,245,63,.16); color: var(--ink); font-size: .79rem; font-weight: 600; line-height: 1.45;
}
.cart-item { padding-bottom: 1rem; border-bottom: 1px solid rgba(6,20,11,.1); }
.cart-item strong, .cart-item span { display: block; }
.cart-item > div:first-child span { margin-top: .2rem; color: var(--text-soft); font-size: .86rem; }
.cart-item__controls button { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; padding: 0 0 .08em; border: 1px solid rgba(6,20,11,.18); border-radius: 50%; font-size: 1.1rem; line-height: 1; }
.cart-drawer__foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(6,20,11,.12); }
.cart-total { margin-bottom: 1rem; font-size: 1.04rem; }
.cart-drawer__foot p { margin: .85rem 0 0; color: var(--text-soft); font-size: .77rem; line-height: 1.45; }

/* ── Reveal ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .revgrid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: grid; justify-items: center; }
  .hero__title, .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__badges { justify-content: center; }
  .hero__product { order: -1; }
  .hero__bottle { width: min(72%, 380px); }
  .hero__chip { display: none; }
  .curve__grid, .ritual__grid, .inside__grid, .faq__grid { grid-template-columns: 1fr; }
  .ritual__media { order: 1; }
  .inside__media img { width: min(100%, 520px); margin-inline: auto; }
  .faq__media { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__actions .btn--sm { display: none; }
  .nav__inner { gap: .7rem; }
  .brand { width: min(135px, 38vw); }
  .nav__actions { gap: .45rem; }
  .win-button { padding: .44rem .55rem; font-size: .72rem; }
  .win-button::after { right: -2.5rem; }
  .win-tooltip { right: -2.5rem; }
  .burger { display: block; }
  .cards { grid-template-columns: 1fr; }
  .revgrid { grid-template-columns: 1fr; }
  .cmp__hint { display: block; }
  .cmp__table th, .cmp__table td { padding: 1.1rem .85rem; }
  .cmp__table tbody td { font-size: .82rem; }
  .foot__inner { grid-template-columns: 1fr; }
  .stats { gap: 1.75rem; }
  .stat { flex: 1 1 30%; }
  .scrollcue { display: none; }
  .toast { bottom: 6.5rem; }
}

@media (max-width: 420px) {
  .btn--lg { padding: .95rem 1.4rem; font-size: .95rem; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__cta .btn { width: 100%; }
}

/* Sticky bar only makes sense where the nav CTA is hidden */
@media (min-width: 761px) { .stickybuy { display: none !important; } }

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart__line { stroke-dashoffset: 0 !important; }
  .chart__area { opacity: 1 !important; }
  .marquee__track { animation: none; }
}
