/* XYLENTA — site styles. Tokens mirror brand/brand-spec.md */
:root {
  --abyss: #04211F;
  --teal: #0B4F4B;
  --lagoon: #127A70;
  --glow: #4FE0C4;
  --enamel: #F1F6F4;
  --chrome: #AEB9B8;
  --ink: #0B1312;
  --paper: #FFFFFF;
  --muted: #4B5D5B;
  --line: rgba(11, 79, 75, .16);
  --line-dark: rgba(174, 185, 184, .22);
  --danger: #A3471A;
  --danger-bg: #FBEFE8;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --fs-display: clamp(2.4rem, 1.2rem + 3vw, 4.1rem);
  --fs-h2: clamp(1.9rem, 1.2rem + 2.6vw, 3.3rem);
  --fs-h3: 1.2rem;
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-label: .72rem;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 136px);
  --cut: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--enamel);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--glow); }
.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;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.display, h1, h2 {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); font-weight: 340; line-height: 1.08; letter-spacing: -.015em; }
h3 {
  font-family: var(--f-display); font-stretch: 112%;
  font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; margin: 0;
}
p { margin: 0; text-wrap: pretty; }
/* the packaging signature: wide, light, widely tracked capitals */
.eyebrow {
  font-family: var(--f-display); font-stretch: 125%;
  font-size: var(--fs-label); font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--lagoon);
  margin: 0 0 22px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.dark .eyebrow { color: var(--glow); }
.mono { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .01em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.dark .lede, .dark p { color: #C5D2D0; }

/* ---------- buttons: one diagonal cut corner, borrowed from the X-blade ---------- */
.btn {
  --bg: var(--teal); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  background: var(--bg); color: var(--fg);
  border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --bg: var(--lagoon); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--glow), inset 0 0 0 5px var(--abyss); }
.btn--glow { --bg: var(--glow); --fg: var(--abyss); }
.btn--glow:hover { --bg: #7DEBD6; }
.btn--ghost {
  --bg: transparent; --fg: var(--teal); --edge: var(--line);
  position: relative;
  box-shadow: inset 0 0 0 1px var(--edge);
}
/* redraw the border along the cut corner */
.btn--ghost::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: var(--cut); height: var(--cut);
  background: linear-gradient(to top left, transparent calc(50% - .75px), var(--edge) calc(50% - .75px), var(--edge) calc(50% + .75px), transparent calc(50% + .75px));
}
.btn--ghost:hover { --bg: rgba(11, 79, 75, .06); }
.dark .btn--ghost { --fg: #fff; --edge: rgba(174, 185, 184, .4); }
.dark .btn--ghost:hover { --bg: rgba(255, 255, 255, .06); }
.btn--block { width: 100%; }
.btn .price-chip { font-family: var(--f-mono); font-weight: 500; opacity: .85; }

.link-arrow {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: .92rem;
  color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.link-arrow:hover { border-color: var(--teal); }
.link-arrow--light { color: var(--glow); border-color: rgba(79, 224, 196, .35); }
.link-arrow--light:hover { border-color: var(--glow); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .85rem; --cut: 9px; }

/* ---------- announcement + header ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.is-locked, .is-locked body { overflow: hidden; }
.announce {
  background: var(--abyss); color: #D5E3E1;
  font-size: .82rem; text-align: center; padding: 9px var(--gutter);
}
.announce b { font-family: var(--f-mono); font-weight: 500; color: var(--glow); letter-spacing: .06em; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(241, 246, 244, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; height: 72px; }
.nav__menu { display: none; }
.nav__logo { display: block; width: 132px; color: var(--teal); }
.nav__logo svg { width: 100%; height: auto; }
.nav__links { display: flex; justify-content: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav__links a {
  text-decoration: none; font-size: .92rem; color: var(--muted);
  padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__account {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px;
  text-decoration: none; font-size: .9rem; color: var(--ink);
}
.nav__account:hover { color: var(--teal); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line); cursor: pointer;
  height: 42px; padding: 0 14px; border-radius: 2px; font-size: .9rem;
}
.cart-btn:hover { border-color: var(--teal); }
.cart-btn__count {
  font-family: var(--f-mono); font-size: .75rem; min-width: 22px; height: 22px;
  display: inline-grid; place-items: center; background: var(--teal); color: #fff; border-radius: 11px; padding: 0 6px;
}
.cart-btn__count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); background: var(--glow); color: var(--abyss); } }

/* mobile menu (slides from the left) */
.menu {
  position: fixed; z-index: 70; top: 0; left: 0; height: 100%; width: min(380px, 88vw);
  background: var(--enamel); display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(-100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.menu.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.menu__head { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.menu__logo { width: 112px; color: var(--teal); }
.menu__main { list-style: none; margin: 0; padding: 10px var(--gutter); }
.menu__main a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--f-display); font-stretch: 112%; font-size: 1.3rem; font-weight: 400; color: var(--teal);
}
.menu__sub { list-style: none; margin: 8px 0 0; padding: 0 var(--gutter); display: grid; gap: 2px; }
.menu__sub a { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; font-size: .95rem; color: var(--muted); }
.menu__promo { margin: auto var(--gutter) 24px; display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: center; padding: 16px; background: var(--paper); border: 1px solid var(--line); }
.menu__promo img { grid-row: span 2; width: 64px; height: auto; }
.menu__promo p { font-size: .82rem; color: var(--muted); }
.menu__promo b { display: block; color: var(--ink); font-size: .92rem; }
.menu__promo .btn { justify-self: start; }

/* checkout layout: header and footer stripped down so nothing pulls attention from paying */
.checkout-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.checkout-header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.checkout-header__secure { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--lagoon); margin-right: auto; padding-left: 20px; border-left: 1px solid var(--line); }
.checkout-header__back { font-size: .88rem; color: var(--muted); text-decoration: none; }
.checkout-header__back:hover { color: var(--teal); }
.checkout-footer { padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.checkout-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.checkout-footer a { color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
}
.hero h1 { font-size: var(--fs-display); color: var(--teal); margin-bottom: 28px; }
.hero h1 em { font-style: normal; font-weight: 500; }
.hero .lede { margin-bottom: 36px; }
.buybox {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: end;
  padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 28px; max-width: 520px;
}
.buybox__name { font-family: var(--f-display); font-stretch: 112%; font-weight: 500; }
.buybox__meta { font-size: .85rem; color: var(--muted); }
.buybox__price {
  grid-row: 1 / span 2; grid-column: 2; justify-self: end; text-align: right;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--teal);
}
.buybox__price small { display: block; font-family: var(--f-mono); font-size: .72rem; color: var(--lagoon); margin-top: 8px; letter-spacing: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: .85rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--lagoon); flex: none; }

.hero__visual { position: relative; }
.hero__visual img {
  position: relative; z-index: 2; display: block; width: auto; height: auto; max-width: 100%; max-height: min(62vh, 640px); margin: 0 auto;
  filter: drop-shadow(0 40px 50px rgba(4, 33, 31, .22));
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, #000 90%, transparent);
}
/* giant X-blade behind the product */
.hero__blade {
  position: absolute; z-index: 1; inset: -14% -30% -10% -6%;
  pointer-events: none;
}
.hero__glow {
  position: absolute; z-index: 1; left: 18%; top: 22%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(79, 224, 196, .32), rgba(79, 224, 196, 0) 66%);
  filter: blur(10px);
}
/* lab-notation spec rail under the product */
.spec-rail {
  position: relative; z-index: 3; display: flex; justify-content: center; flex-wrap: wrap;
  margin: 18px auto 0; padding: 0; list-style: none;
  font-family: var(--f-mono); font-size: .76rem; color: var(--muted);
}
.spec-rail li { padding: 4px 18px; border-left: 1px solid var(--line); }
.spec-rail li:first-child { border-left: 0; }
.spec-rail b { font-weight: 500; color: var(--teal); }

/* ---------- benefits strip ---------- */
.benefits { background: var(--paper); border-block: 1px solid var(--line); }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { padding: 40px 28px 44px; border-left: 1px solid var(--line); }
.benefit:first-child { border-left: 0; padding-left: 0; }
.benefit svg { width: 34px; height: 34px; color: var(--teal); margin-bottom: 22px; }
.benefit h3 {
  font-size: .78rem; font-stretch: 125%; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.benefit p { font-size: .95rem; color: var(--muted); }

/* ---------- section scaffolding ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.dark { background: var(--abyss); color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head h2 { margin-bottom: 22px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- science: the acid clock ---------- */
.science { position: relative; overflow: hidden; }
.science::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(18, 122, 112, .45), transparent 62%);
  pointer-events: none;
}
.science__grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.science__copy h2 { margin-bottom: 26px; }
.science__copy p + p { margin-top: 18px; }
.science__copy .note { margin-top: 28px; font-size: .78rem; color: var(--chrome); font-family: var(--f-mono); line-height: 1.55; }

.clock {
  margin: 0;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-dark);
  padding: clamp(18px, 2.4vw, 32px);
}
.clock__top { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.toggle { display: inline-flex; border: 1px solid var(--line-dark); padding: 4px; gap: 4px; }
.toggle button {
  background: none; border: 0; cursor: pointer; color: #C5D2D0;
  padding: 10px 16px; font-size: .88rem; font-family: var(--f-body);
  transition: background .25s, color .25s;
}
.toggle button[aria-pressed="true"] { background: var(--glow); color: var(--abyss); font-weight: 600; }
.toggle button:not([aria-pressed="true"]):hover { color: #fff; background: rgba(255, 255, 255, .06); }
.readout { text-align: right; }
.readout__label { display: block; font-family: var(--f-mono); font-size: .7rem; color: var(--chrome); letter-spacing: .04em; text-transform: uppercase; }
.readout__value {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
}
.readout__value small { font-size: .4em; color: var(--chrome); margin-left: 6px; letter-spacing: .1em; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart .axis line, .chart .grid line { stroke: rgba(174, 185, 184, .14); }
.chart .axis text { fill: #9DB0AE; font-family: var(--f-mono); font-size: 13px; }
.chart .critical { stroke: var(--glow); stroke-dasharray: 5 6; stroke-width: 1.2; }
.chart .critical-label { fill: var(--glow); font-family: var(--f-mono); font-size: 13px; }
.chart .curve { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; }
.chart .loss { fill: url(#hatch); }
.chart .min-dot { fill: var(--abyss); stroke: #fff; stroke-width: 2; }
.chart .min-label { fill: #fff; font-family: var(--f-mono); font-size: 15px; font-weight: 500; }
.clock__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: .8rem; color: var(--chrome); }
.clock__legend span { display: inline-flex; align-items: center; gap: 8px; }
.swatch-hatch { width: 18px; height: 12px; background: repeating-linear-gradient(135deg, var(--glow) 0 1.5px, transparent 1.5px 5px); opacity: .9; }
.swatch-line { width: 18px; height: 2px; background: #fff; }

/* ---------- formula sheet ---------- */
.formula__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.sheet { width: 100%; border-collapse: collapse; }
.sheet caption { text-align: left; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); padding-bottom: 14px; letter-spacing: .04em; }
.sheet th, .sheet td { text-align: left; vertical-align: top; padding: 20px 16px 20px 0; border-top: 1px solid var(--line); }
.sheet thead th { font-family: var(--f-mono); font-weight: 400; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-block: 10px; }
.sheet tbody tr:last-child td, .sheet tbody tr:last-child th { border-bottom: 1px solid var(--line); }
.sheet tbody th { font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 1.02rem; white-space: nowrap; }
.sheet .amt { font-family: var(--f-mono); font-size: .92rem; color: var(--teal); white-space: nowrap; font-weight: 500; }
.sheet td:last-child { color: var(--muted); padding-right: 0; }
.free-of { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.free-of > span:first-child { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); margin-right: 6px; }
.chip-x {
  font-size: .85rem; padding: 6px 12px; border: 1px solid var(--line); background: var(--paper);
  text-decoration: line-through; text-decoration-color: var(--lagoon); text-decoration-thickness: 1.5px;
}
.label-card {
  background: var(--abyss); color: #DCE6E4; padding: 32px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}
.label-card h3 { color: #fff; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; font-stretch: 125%; margin-bottom: 18px; }
.label-card .inci { font-family: var(--f-mono); font-size: .8rem; line-height: 1.8; color: #C5D2D0; }
.label-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .88rem; }
.label-card dt { font-family: var(--f-mono); color: var(--glow); font-size: .78rem; }
.label-card dd { margin: 0; }

/* ---------- ritual steps (a real sequence, so numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { padding: 0 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__n { font-family: var(--f-mono); font-size: .78rem; color: var(--lagoon); display: block; margin-bottom: 26px; }
.step__visual { height: 88px; margin-bottom: 22px; color: var(--teal); }
.step__visual svg { height: 100%; width: auto; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }
.step--key h3 { color: var(--lagoon); }

/* ---------- guarantee ---------- */
.guarantee { background: linear-gradient(135deg, var(--abyss) 0%, var(--teal) 70%, var(--lagoon) 100%); color: #fff; position: relative; overflow: hidden; }
.guarantee__inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.seal {
  width: 132px; height: 132px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  display: grid; place-items: center; text-align: center; position: relative;
}
.seal::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px dashed rgba(79, 224, 196, .6); }
.seal b { display: block; font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 2.6rem; line-height: 1; }
.seal span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--glow); }
.guarantee h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.7rem); margin-bottom: 12px; }
.guarantee p { color: #CFE0DD; max-width: 38em; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); padding: 34px 30px 30px;
}
.plan__tag {
  position: absolute; top: -1px; right: -1px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--glow); color: var(--abyss); padding: 7px 14px 7px 22px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}
.plan h3 { font-size: 1.35rem; margin-bottom: 6px; }
.plan__sub { font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.plan__price { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 3rem; line-height: 1; color: var(--teal); }
.plan__price span { font-size: .32em; font-family: var(--f-mono); font-stretch: 100%; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.plan__unit { font-family: var(--f-mono); font-size: .78rem; color: var(--lagoon); margin: 12px 0 26px; min-height: 1.4em; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 0 0 30px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: .93rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--lagoon); }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--abyss); color: #fff; border-color: var(--abyss); }
.plan--featured .plan__sub, .plan--featured li { color: #C5D2D0; }
.plan--featured .plan__price { color: #fff; }
.plan--featured .plan__price span { color: var(--chrome); }
.plan--featured .plan__unit { color: var(--glow); }
.plan--featured ul { border-top-color: var(--line-dark); }
.plan--featured li svg { color: var(--glow); }
.plans__foot { margin-top: 26px; text-align: center; font-size: .88rem; color: var(--muted); }
.plans__foot b { font-family: var(--f-mono); color: var(--teal); font-weight: 500; }

/* ---------- product family ---------- */
.family__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.family__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tube-card { border: 1px solid var(--line-dark); padding: 26px 22px 24px; text-align: center; }
.tube-card svg { width: 58%; margin: 0 auto 18px; }
.tube-card h3 { font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.tube-card p { font-size: .88rem; }
.tube-card .soon { display: inline-block; margin-top: 14px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--glow); border: 1px solid rgba(79, 224, 196, .4); padding: 4px 10px; }
.waitlist { margin-top: 32px; }
.waitlist__row { display: flex; gap: 10px; flex-wrap: wrap; }
.field {
  flex: 1 1 240px; min-height: 54px; padding: 0 18px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); color: #fff;
}
.field::placeholder { color: #8FA19F; }
.field:focus-visible { outline: 2px solid var(--glow); outline-offset: 0; }
.checks { display: flex; gap: 22px; margin: 0 0 14px; padding: 0; border: 0; flex-wrap: wrap; font-size: .9rem; color: #C5D2D0; }
.checks legend { font-family: var(--f-mono); font-size: .72rem; color: var(--chrome); margin-bottom: 10px; padding: 0; }
.checks label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.checks input { accent-color: var(--glow); width: 16px; height: 16px; }
.form-msg { margin-top: 12px; font-size: .9rem; min-height: 1.5em; }
.form-msg.ok { color: var(--glow); }
.form-msg.err { color: #FFC9A8; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); }
.faq__grid .section__head { position: sticky; top: 110px; align-self: start; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 1.06rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after, .qa summary::before {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--teal);
  transition: transform .3s var(--ease);
}
.qa summary::before { transform: rotate(90deg); }
.qa[open] summary::before { transform: rotate(0deg); }
.qa summary:hover { color: var(--lagoon); }
.qa__body { padding: 0 44px 26px 0; color: var(--muted); }
.qa__body p + p { margin-top: 10px; }

/* ---------- final cta ---------- */
.final { position: relative; overflow: hidden; text-align: center; }
.final__blade { position: absolute; inset: -20% -10%; pointer-events: none; opacity: .5; }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.4rem); max-width: 14em; margin: 0 auto 26px; }
.final__lede { margin: 0 auto 36px; max-width: 32em; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.final__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #9DB0AE; padding: 72px 0 32px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__logo { width: 150px; color: #fff; margin-bottom: 18px; }
.footer__brand > p { max-width: 30em; margin-bottom: 26px; }
.footer__label { display: block; font-size: .82rem; margin-bottom: 10px; }
.footer__h { font-family: var(--f-display); font-stretch: 125%; font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: #fff; margin: 0 0 18px; line-height: 1.4; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__soon { font-family: var(--f-mono); font-size: .66rem; color: var(--glow); margin-left: 4px; }
.footer .waitlist__row { margin-top: 0; max-width: 420px; }
.footer .field { min-height: 46px; flex-basis: 160px; }
.footer .btn { min-height: 46px; padding: 0 18px; }
.footer__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0; border-block: 1px solid rgba(174, 185, 184, .14); font-size: .78rem; }
.footer__pay span { margin-right: 8px; }
.footer__pay i { font-style: normal; font-family: var(--f-mono); font-size: .7rem; color: #D5E3E1; border: 1px solid rgba(174, 185, 184, .3); padding: 4px 9px; }
.footer__bottom { display: grid; gap: 12px; padding-top: 24px; font-size: .78rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__cookie { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font-size: inherit; text-decoration: underline; }
.footer__cookie:hover { color: #fff; }
.footer__company, .footer__social { color: #6F8482; }

/* ---------- cart drawer + cart lines (shared with the cart page) ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(4, 33, 31, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 70; top: 0; right: 0; height: 100%; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
  box-shadow: -30px 0 60px rgba(4, 33, 31, .18);
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.15rem; font-weight: 500; letter-spacing: 0; }
.drawer__count { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 1px solid var(--line); cursor: pointer; color: inherit; }
.icon-btn:hover { border-color: var(--teal); }
.ship { padding: 14px 24px; background: var(--enamel); font-size: .86rem; }
.ship > span { display: inline-flex; align-items: center; gap: 8px; }
.ship .ico { width: 18px; height: 18px; color: var(--lagoon); }
.ship__bar { height: 4px; background: rgba(11, 79, 75, .12); margin-top: 10px; overflow: hidden; }
.ship__bar i { display: block; height: 100%; background: var(--lagoon); width: 0; transition: width .5s var(--ease); }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 24px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { width: 72px; height: 72px; background: var(--enamel); display: grid; place-items: center; }
.line__img img { width: 86%; height: 86%; object-fit: contain; }
.line__name { display: block; font-weight: 600; font-size: .95rem; text-decoration: none; }
.line__name:hover { color: var(--lagoon); }
.line__variant { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.line__ctl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.line__price { font-family: var(--f-mono); font-size: .88rem; text-align: right; display: grid; gap: 2px; justify-items: end; }
.line__price s { color: var(--muted); font-size: .76rem; }
.line__price small { color: var(--muted); font-size: .7rem; }
.line__remove { background: none; border: 0; padding: 0; cursor: pointer; font-size: .78rem; color: var(--muted); text-decoration: underline; }
.line__remove:hover { color: var(--ink); }
.line__freq { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.line__freq select { height: 34px; border: 1px solid var(--line); background: var(--paper); padding: 0 8px; font-size: .82rem; }
.line--lg { grid-template-columns: 112px 1fr auto; gap: 22px; padding: 24px 0; }
.line--lg .line__img { width: 112px; height: 112px; }
.line--lg .line__name { font-size: 1.05rem; }
.line--lg .line__price { font-size: 1rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); }
.stepper button { width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: inherit; }
.stepper button:hover { background: var(--enamel); }
.stepper .ico { width: 16px; height: 16px; }
.stepper output, .stepper input { min-width: 30px; width: 40px; text-align: center; font-family: var(--f-mono); font-size: .88rem; border: 0; background: none; }
.stepper--lg button { width: 46px; height: 52px; }
.stepper--lg output, .stepper--lg input { width: 48px; font-size: 1rem; }
.empty { text-align: center; padding: 48px 8px; color: var(--muted); display: grid; justify-items: center; gap: 18px; }
.empty__ico { width: 44px; height: 44px; color: var(--chrome); }
.upsell { margin: 18px 0; padding: 16px 18px; border: 1px dashed var(--lagoon); background: rgba(79, 224, 196, .08); font-size: .88rem; }
.upsell b { color: var(--teal); }
.upsell button { display: block; margin-top: 10px; background: var(--teal); color: #fff; border: 0; padding: 9px 14px; cursor: pointer; font-size: .82rem; font-weight: 600; }
.upsell button:hover { background: var(--lagoon); }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 24px 22px; display: grid; gap: 10px; }
.drawer__foot .totals { margin-bottom: 6px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); text-transform: uppercase; font-family: var(--f-mono); font-size: .85rem; }
.coupon button { height: 46px; padding: 0 16px; border: 1px solid var(--teal); background: none; color: var(--teal); cursor: pointer; font-weight: 600; font-size: .85rem; }
.coupon button:hover { background: var(--teal); color: #fff; }
.coupon-msg { font-size: .8rem; min-height: 1.3em; margin: 6px 0 0; }
.coupon-msg.ok { color: var(--lagoon); }
.coupon-msg.err { color: var(--danger); }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(79, 224, 196, .12); font-size: .85rem; }
.coupon-applied b { font-family: var(--f-mono); color: var(--teal); }
.coupon-applied button { background: none; border: 0; cursor: pointer; text-decoration: underline; font-size: .8rem; color: var(--muted); }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: .9rem; margin: 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-family: var(--f-mono); }
.totals .save { color: var(--lagoon); }
.totals .grand { font-weight: 600; color: var(--ink); font-size: 1.02rem; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 0; font-size: .76rem; color: var(--muted); text-align: center; }
.secure .ico { width: 15px; height: 15px; }

/* ---------- mobile sticky buy bar ---------- */
.buybar {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  display: none; align-items: center; gap: 14px; justify-content: space-between;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(110%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.buybar.is-visible { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.buybar__info { font-size: .82rem; line-height: 1.3; }
.buybar__info b { display: block; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: .95rem; }
.buybar .btn { min-height: 48px; padding: 0 22px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1s; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }
.hero .reveal:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 20px; }
  .nav__account span { display: none; }
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto 1fr; gap: 12px; height: 64px; }
  .nav__menu { display: grid; place-items: center; width: 42px; height: 42px; background: none; border: 0; color: var(--ink); cursor: pointer; justify-self: start; margin-left: -8px; }
  .nav__primary { display: none; }
  .nav__logo { width: 112px; justify-self: center; }
  .nav__actions { justify-self: end; gap: 2px; }
  .nav__account { padding: 0 8px; }
  .cart-btn { border: 0; padding: 0 6px; }
  .cart-btn__label { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__grid, .science__grid, .formula__grid, .family__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .benefit { padding: 32px 20px 34px; }
  .benefit:nth-child(odd) { border-left: 0; padding-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan--featured { order: -1; }
  .faq__grid .section__head { position: static; }
  .guarantee__inner { grid-template-columns: 1fr; text-align: left; }
  .buybar { display: flex; }
}
@media (max-width: 560px) {
  :root { --fs-body: 1rem; }
  .announce { font-size: .76rem; }
  .buybox__price { font-size: 2.1rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit, .benefit:nth-child(odd) { padding: 28px 0; border-left: 0; }
  .benefit + .benefit { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 0 0 32px; border-left: 0; }
  .step + .step { padding-top: 32px; border-top: 1px solid var(--line); }
  .step__visual { height: 64px; }
  .sheet thead { display: none; }
  .sheet caption { display: block; }
  .sheet, .sheet tbody, .sheet tr, .sheet th, .sheet td { display: block; }
  .sheet tr { border-top: 1px solid var(--line); padding: 16px 0; }
  .sheet th, .sheet td { border: 0 !important; padding: 2px 0; }
  .sheet tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .family__cards { gap: 12px; }
  .tube-card { padding: 18px 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .readout { text-align: left; }
  .clock__top { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   SHARED COMPONENTS (all pages)
   ===================================================================== */

/* ---------- interior page header ---------- */
.page-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.6rem); color: var(--teal); margin-bottom: 18px; }
.page-hero .lede { max-width: 40em; }
.page-hero--dark { background: var(--abyss); color: #fff; border-bottom: 0; position: relative; overflow: hidden; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lede { color: #C5D2D0; }
.page-hero--center { text-align: center; }
.page-hero--center .lede { margin-inline: auto; }
.page-hero--center .eyebrow, .page-hero--center .crumbs { justify-content: center; }
.page-hero--compact { padding: 28px 0 30px; }
.page-hero--compact h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); margin-bottom: 8px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-family: var(--f-mono); font-size: .74rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }
.crumbs [aria-current] { color: var(--teal); }
.page-hero--dark .crumbs { color: var(--chrome); }
.page-hero--dark .crumbs [aria-current] { color: var(--glow); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .fld--full { grid-column: 1 / -1; }
.fld { display: grid; gap: 7px; align-content: start; }
.fld > label, .fld__label { font-size: .86rem; font-weight: 500; color: var(--ink); }
.fld__opt { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--paper); border: 1px solid rgba(11, 79, 75, .26); border-radius: 0;
  font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #8A9B99; }
.input:hover { border-color: rgba(11, 79, 75, .5); }
.input:focus-visible { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(79, 224, 196, .35); }
textarea.input { min-height: 132px; resize: vertical; line-height: 1.5; }
select.input {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230B4F4B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.input--mono { font-family: var(--f-mono); letter-spacing: .04em; }
.fld__hint { font-size: .8rem; color: var(--muted); margin: 0; }
.fld__error { font-size: .8rem; color: var(--danger); margin: 0; display: flex; gap: 6px; }
.fld__error:empty { display: none; }
.fld.is-invalid .input { border-color: var(--danger); background: var(--danger-bg); }
.fld.is-invalid > label { color: var(--danger); }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 52px; }
.input-wrap__btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--muted);
}
.input-wrap__btn:hover { color: var(--teal); }
.input-wrap__btn[aria-pressed="true"] { color: var(--lagoon); }
.input-wrap__tag { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: .72rem; color: var(--lagoon); pointer-events: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; cursor: pointer; flex-wrap: wrap; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; cursor: pointer; }
.check > span { flex: 1; min-width: 0; }
.check a { color: var(--teal); }
.check .fld__error { flex-basis: 100%; padding-left: 32px; }
.check.is-invalid > span { color: var(--danger); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.form-status { margin: 0; padding: 14px 16px; font-size: .92rem; border-left: 3px solid var(--glow); background: rgba(79, 224, 196, .12); }
.form-status.err { border-color: var(--danger); background: var(--danger-bg); color: var(--danger); }
.dark .input { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); color: #fff; }
.dark .fld > label { color: #DCE6E4; }

/* choice tiles (radio cards): payment method, plan, address … */
.choice { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(11, 79, 75, .22); background: var(--paper); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.choice:hover { border-color: var(--lagoon); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.choice:has(input:checked) { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.choice:has(input:focus-visible) { outline: 2px solid var(--lagoon); outline-offset: 2px; }
.choice:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.choice__body { flex: 1; min-width: 0; }
.choice__title { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.choice__sub { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.choice__price { font-family: var(--f-mono); font-weight: 500; white-space: nowrap; }
.choices { display: grid; gap: 10px; }

/* ---------- notices, tags, chips, cards ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; font-size: .9rem; background: rgba(79, 224, 196, .1); border-left: 3px solid var(--lagoon); }
.notice .ico { color: var(--lagoon); margin-top: 2px; }
.notice--warn { background: #FFF6E5; border-color: #C98A1B; }
.notice--warn .ico { color: #A86F0C; }
.notice--draft { background: #FFF6E5; border-color: #C98A1B; font-family: var(--f-mono); font-size: .78rem; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line); color: var(--teal); background: var(--paper); }
.tag--glow { background: var(--glow); color: var(--abyss); border-color: var(--glow); }
.tag--dark { background: var(--abyss); color: var(--glow); border-color: var(--abyss); }
.tag--soon { color: var(--lagoon); border-color: rgba(18, 122, 112, .4); background: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: .88rem; color: var(--ink); }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip small { font-family: var(--f-mono); opacity: .7; margin-left: 4px; }
.card { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 32px); }
.card--flush { padding: 0; }
.card__title { font-family: var(--f-display); font-stretch: 112%; font-size: 1.1rem; font-weight: 500; margin: 0 0 16px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 24px 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; font-size: .9rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- cookie banner + toast ---------- */
.cookie {
  position: fixed; z-index: 80; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px));
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(4, 33, 31, .22);
  padding: 22px; font-size: .86rem; display: grid; gap: 14px;
}
.cookie[hidden] { display: none; }
.cookie__title { font-family: var(--f-display); font-stretch: 112%; font-size: 1rem; font-weight: 500; margin: 0; }
.cookie p { color: var(--muted); }
.cookie a { color: var(--teal); }
.cookie__prefs { display: grid; gap: 10px; padding: 12px 0; border-block: 1px solid var(--line); }
.cookie__prefs[hidden] { display: none; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie__more { background: none; border: 0; padding: 6px 4px; cursor: pointer; font-size: .82rem; text-decoration: underline; color: var(--muted); }
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--abyss); color: #fff; padding: 12px 18px; font-size: .88rem;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .cookie { left: 0; bottom: 0; width: 100%; border-inline: 0; border-bottom: 0; }
}

/* =====================================================================
   COMMERCE: shop, product page, cart, checkout, confirmation
   ===================================================================== */

/* ---------- product cards ---------- */
.shop-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.shop-bar__count { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: border-color .25s; }
.pcard:hover { border-color: rgba(11, 79, 75, .35); }
.pcard__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #EAF1EF 72%);
}
.pcard__media img { position: absolute; inset: 0; margin: auto; width: 76%; height: 84%; object-fit: contain; transition: transform .7s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04) translateY(-4px); }
.pcard__media--dark { background: radial-gradient(circle at 50% 40%, #0E3D3A 0%, var(--abyss) 72%); }
.pcard__media--navy { background: radial-gradient(circle at 50% 40%, #12385A 0%, #071827 75%); }
.pcard__media--soon img { width: 50%; height: 80%; }
.pcard__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 22px 22px; }
.pcard__kicker { font-family: var(--f-mono); font-size: .72rem; color: var(--lagoon); }
.pcard__title { font-family: var(--f-display); font-stretch: 112%; font-size: 1.2rem; font-weight: 500; margin: 0; }
.pcard__title a { text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard { position: relative; }
.pcard__desc { font-size: .92rem; color: var(--muted); }
.pcard__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcard__foot .btn, .pcard__foot form { position: relative; z-index: 1; }
.pcard__price { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 1.5rem; line-height: 1.1; color: var(--teal); }
.pcard__price s { display: block; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); font-stretch: 100%; }
.pcard__price small { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.pcard.is-filtered { display: none; }

.compare { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: .92rem; vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 1rem; background: var(--enamel); }
.compare thead th.is-hi { background: var(--abyss); color: #fff; }
.compare td.is-hi { background: rgba(79, 224, 196, .08); }
.compare tbody th { font-weight: 500; color: var(--muted); font-size: .86rem; }
.compare .mono { color: var(--teal); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--paper); }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-left: 1px solid var(--line); }
.perk:first-child { border-left: 0; }
.perk .ico { width: 24px; height: 24px; color: var(--lagoon); margin-top: 2px; }
.perk b { display: block; font-size: .95rem; }
.perk span { font-size: .84rem; color: var(--muted); }

/* ---------- product page ---------- */
.pdp { padding: 14px 0 clamp(56px, 7vw, 96px); }
.pdp .crumbs { margin-bottom: 16px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery { position: sticky; top: 96px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.gallery__thumb { width: 76px; height: 88px; padding: 6px; background: var(--paper); border: 1px solid var(--line); cursor: pointer; display: grid; place-items: center; }
.gallery__thumb { position: relative; overflow: hidden; }
.gallery__thumb img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }
.gallery__thumb[aria-current="true"] { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.gallery__thumb--dark { background: var(--abyss); }
.gallery__thumb--label { font-family: var(--f-mono); font-size: .62rem; color: var(--glow); text-align: center; line-height: 1.3; }
.gallery__stage { position: relative; aspect-ratio: 1 / 1.04; border: 1px solid var(--line); background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #E8F0EE 74%); overflow: hidden; }
.gallery__slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.gallery__slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.gallery__slide img { position: absolute; inset: 0; margin: auto; width: 82%; height: 86%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(4, 33, 31, .18)); }
.gallery__slide--dark { background: radial-gradient(circle at 50% 40%, #0E3D3A, var(--abyss) 75%); }
.gallery__slide--dark img { filter: none; height: 90%; }
.gallery__cap { position: absolute; left: 18px; bottom: 16px; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.gallery__slide--dark .gallery__cap { color: var(--chrome); }
.lab-tile { display: grid; gap: 18px; padding: 40px; width: 100%; color: #fff; }
.lab-tile__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; border-bottom: 1px solid var(--line-dark); padding-bottom: 14px; }
.lab-tile__row b { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.8rem); white-space: nowrap; }
.lab-tile__row span { font-family: var(--f-mono); font-size: .78rem; color: var(--glow); }

.pdp__info .eyebrow { margin-bottom: 16px; }
.pdp__title { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); color: var(--teal); margin-bottom: 8px; }
.pdp__sub { color: var(--muted); margin-bottom: 14px; }
.pdp__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.pdp__price b { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 2.3rem; line-height: 1; color: var(--teal); }
.pdp__price s { font-family: var(--f-mono); font-size: .9rem; color: var(--muted); }
.pdp__price small { font-family: var(--f-mono); font-size: .78rem; color: var(--lagoon); flex-basis: 100%; }
.buy { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.buy legend { font-size: .86rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.opt { display: block; border: 1px solid rgba(11, 79, 75, .22); background: var(--paper); cursor: pointer; transition: border-color .2s; }
.opt:hover { border-color: var(--lagoon); }
.opt:has(> .opt__head input:checked) { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.opt__head { display: flex; gap: 12px; align-items: center; padding: 13px 16px; cursor: pointer; }
.opt__head input { width: 20px; height: 20px; accent-color: var(--teal); margin: 0; flex: none; }
.opt__title { flex: 1; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.opt__price { font-family: var(--f-mono); font-weight: 500; text-align: right; }
.opt__price s { display: block; color: var(--muted); font-size: .76rem; font-weight: 400; }
.opt__body { padding: 0 16px 14px 48px; display: grid; gap: 12px; font-size: .9rem; color: var(--muted); }
.opt:not(:has(> .opt__head input:checked)) .opt__body { display: none; }
.opt ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.opt li { display: flex; gap: 8px; }
.opt li .ico { width: 16px; height: 16px; color: var(--lagoon); margin-top: 3px; }
.seg { display: inline-grid; grid-auto-flow: column; border: 1px solid var(--line); background: var(--enamel); padding: 3px; gap: 3px; }
.seg label { position: relative; cursor: pointer; padding: 9px 14px; font-size: .86rem; color: var(--ink); text-align: center; }
.seg label small { display: block; font-family: var(--f-mono); font-size: .68rem; color: var(--muted); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--paper); box-shadow: 0 0 0 1px var(--teal); color: var(--teal); font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--lagoon); outline-offset: 1px; }
.freq-select { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.freq-select select { min-height: 42px; }
.pdp__cta { display: flex; gap: 12px; margin-bottom: 16px; }
.pdp__cta .btn { flex: 1; white-space: nowrap; padding: 0 18px; }
.dispatch { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; margin-bottom: 18px; }
.dispatch .ico { color: var(--lagoon); margin-top: 1px; }
.dispatch b { color: var(--teal); }
.pdp__perks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: .88rem; color: var(--muted); }
.pdp__perks li { display: flex; gap: 10px; align-items: center; }
.pdp__perks .ico { color: var(--lagoon); width: 18px; height: 18px; }
.pdp__acc .qa summary { font-size: .98rem; padding-block: 18px; }
.buybar--pdp { display: flex; }
.buybar--pdp .buybar__inner { width: 100%; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.buybar--pdp img { width: 44px; height: 44px; object-fit: contain; }
.buybar--pdp .buybar__info { flex: 1; }
.buybar--pdp .buybar__price { font-family: var(--f-mono); font-size: .95rem; }

/* ---------- coming soon product ---------- */
.soon-hero { padding: 24px 0 clamp(56px, 7vw, 96px); }
.soon-hero .gallery__stage { aspect-ratio: 1 / 1; }
.soon-hero .gallery__slide img { height: 80%; }
.soon-box { padding: 24px; border: 1px solid var(--line); background: var(--paper); display: grid; gap: 14px; margin-bottom: 22px; }
.soon-box .waitlist__row .field { color: var(--ink); background: var(--paper); border-color: rgba(11, 79, 75, .26); }
.soon-box .field::placeholder { color: #8A9B99; }

/* ---------- cart page ---------- */
.cart-page { padding: 32px 0 clamp(64px, 8vw, 112px); }
.cart-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-page .ship { border: 1px solid var(--line); }
.cart-page__lines { border-top: 1px solid var(--line); margin-top: 18px; }
.cart-page__lines .line { padding-inline: 0; }
.summary { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); padding: 26px; display: grid; gap: 16px; }
.summary__title { font-family: var(--f-display); font-stretch: 112%; font-size: 1.15rem; font-weight: 500; margin: 0; }
.summary .totals { font-size: .92rem; }
.summary__note { font-size: .8rem; color: var(--muted); }
.cart-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.cart-help > div { display: flex; gap: 12px; font-size: .86rem; color: var(--muted); }
.cart-help .ico { color: var(--lagoon); flex: none; }
.cart-help b { display: block; color: var(--ink); }
.empty-cart { text-align: center; padding: clamp(56px, 8vw, 104px) 0; display: grid; justify-items: center; gap: 18px; }
.empty-cart h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); color: var(--teal); }
.empty-cart p { color: var(--muted); max-width: 32em; }

/* ---------- checkout ---------- */
.co { padding: 28px 0 clamp(56px, 7vw, 96px); }
.co__progress { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 32px; font-size: .82rem; counter-reset: s; }
.co__progress li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.co__progress li + li::before { content: ""; width: clamp(16px, 4vw, 48px); height: 1px; background: var(--line); margin: 0 12px; }
.co__progress li > span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--f-mono); font-size: .72rem; background: var(--paper); }
.co__progress .is-done > span { background: var(--lagoon); border-color: var(--lagoon); color: #fff; }
.co__progress .is-now { color: var(--ink); font-weight: 600; }
.co__progress .is-now > span { border-color: var(--teal); color: var(--teal); box-shadow: 0 0 0 3px rgba(79, 224, 196, .3); }
.co__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.co h1 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem); color: var(--teal); margin-bottom: 10px; }
.co-sec { padding: 28px 0; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.co-sec:first-of-type { border-top: 0; padding-top: 8px; }
.co-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.co-sec__head h2 { font-size: 1.25rem; font-weight: 450; letter-spacing: 0; display: flex; align-items: center; gap: 12px; }
.co-sec__n { width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-grid; place-items: center; font-family: var(--f-mono); font-size: .75rem; font-stretch: 100%; flex: none; }
.co-sec__aside { font-size: .86rem; color: var(--muted); }
.co-sec__aside a { color: var(--teal); }
.card-brand { font-family: var(--f-mono); font-size: .72rem; color: var(--lagoon); }
.co-submit { display: grid; gap: 12px; padding-top: 8px; }
.co-submit .btn { min-height: 60px; font-size: 1.02rem; }
.co-recurring { padding: 14px 16px; border: 1px dashed var(--lagoon); background: rgba(79, 224, 196, .08); font-size: .88rem; }
.co-summary { position: sticky; top: 24px; background: var(--paper); border: 1px solid var(--line); }
.co-summary__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.co-summary__head h2 { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; }
.co-summary__head a { font-size: .82rem; color: var(--muted); }
.co-summary__body { padding: 6px 22px 22px; display: grid; gap: 16px; }
.mini { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.mini__img { position: relative; width: 56px; height: 56px; background: var(--enamel); display: grid; place-items: center; }
.mini__img img { width: 86%; height: 86%; object-fit: contain; }
.mini__qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--teal); color: #fff; font-family: var(--f-mono); font-size: .68rem; display: grid; place-items: center; padding: 0 5px; }
.mini__name { font-weight: 600; }
.mini__var { font-size: .78rem; color: var(--muted); }
.mini__price { font-family: var(--f-mono); }
.processing { position: fixed; inset: 0; z-index: 95; background: rgba(241, 246, 244, .92); display: grid; place-items: center; text-align: center; }
.processing__box { display: grid; justify-items: center; gap: 16px; color: var(--teal); }
.processing__box .spinner { width: 40px; height: 40px; border-width: 3px; }
.processing__box p { color: var(--muted); font-size: .9rem; }

/* ---------- order timeline (confirmation, tracking, account) ---------- */
.track { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; counter-reset: t; }
.track li { position: relative; padding-top: 30px; font-size: .86rem; color: var(--muted); }
.track li::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--line); }
.track li::after { content: ""; position: absolute; top: 2px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--chrome); }
.track li.is-done::before { background: var(--lagoon); }
.track li.is-done::after { background: var(--lagoon); border-color: var(--lagoon); }
.track li.is-now::after { background: var(--glow); border-color: var(--teal); box-shadow: 0 0 0 4px rgba(79, 224, 196, .3); }
.track li.is-now, .track li.is-done { color: var(--ink); }
.track b { display: block; font-weight: 600; font-size: .9rem; }
.track small { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(79, 224, 196, .18); color: var(--teal); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--wait { background: #FFF1D6; color: #8A5A08; }
.pill--off { background: #ECEFEF; color: var(--muted); }
.pill--done { background: var(--teal); color: #fff; }

.confirm-hero { text-align: center; padding: clamp(48px, 6vw, 80px) 0 40px; }
.confirm-hero__mark { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--glow); color: var(--abyss); box-shadow: 0 0 0 12px rgba(79, 224, 196, .22); }
.confirm-hero__mark .ico { width: 40px; height: 40px; }
.confirm-hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); color: var(--teal); margin-bottom: 14px; }
.confirm-hero p { color: var(--muted); }
.confirm-hero .order-no { display: inline-block; margin-top: 18px; font-family: var(--f-mono); font-size: 1rem; padding: 8px 16px; background: var(--paper); border: 1px solid var(--line); color: var(--teal); }
.confirm__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: start; }
.confirm__side { display: grid; gap: 24px; }
.iban { font-family: var(--f-mono); font-size: .95rem; background: var(--enamel); padding: 14px 16px; display: grid; gap: 4px; }
.iban small { color: var(--muted); font-size: .72rem; }

/* =====================================================================
   ACCOUNT: sign in, register, dashboard
   ===================================================================== */
.auth { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: calc(100vh - 110px); }
.auth__aside { position: relative; overflow: hidden; background: var(--abyss); color: #fff; padding: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; gap: 32px; }
.auth__aside::before { content: ""; position: absolute; right: -20%; bottom: -20%; width: 80%; aspect-ratio: 1; background: radial-gradient(circle, rgba(18, 122, 112, .55), transparent 62%); }
.auth__aside > * { position: relative; }
.auth__aside h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); max-width: 12em; }
.auth__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; color: #C5D2D0; font-size: .95rem; }
.auth__perks li { display: flex; gap: 14px; align-items: flex-start; }
.auth__perks .ico { color: var(--glow); margin-top: 2px; }
.auth__perks b { display: block; color: #fff; font-weight: 600; }
.auth__img { margin-top: auto; width: auto; max-width: 70%; max-height: 34vh; object-fit: contain; align-self: flex-end; }
.auth__main { display: grid; place-items: center; align-content: center; padding: clamp(36px, 5vw, 72px) var(--gutter); }
.auth__card { width: min(440px, 100%); display: grid; gap: 22px; }
.auth__card h1 { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.6rem); color: var(--teal); }
.auth__card .lede { font-size: 1rem; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .88rem; }
.auth__row a { color: var(--teal); }
.auth__alt { padding-top: 22px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); text-align: center; }
.auth__alt a { color: var(--teal); font-weight: 600; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.pw-meter i { height: 4px; background: rgba(11, 79, 75, .12); }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: #C9741F; }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: #C9A21F; }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: var(--lagoon); }
.pw-meter[data-score="4"] i { background: var(--teal); }

.acct { padding: 36px 0 clamp(64px, 8vw, 112px); }
.acct__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.acct-nav { position: sticky; top: 96px; display: grid; gap: 2px; }
.acct-nav a, .acct-nav button {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; font-size: .94rem; color: var(--muted);
  border: 0; border-left: 2px solid transparent; background: none; cursor: pointer; text-align: left; width: 100%;
}
.acct-nav a:hover, .acct-nav button:hover { color: var(--teal); background: rgba(255, 255, 255, .6); }
.acct-nav a[aria-current="page"] { color: var(--teal); background: var(--paper); border-left-color: var(--teal); font-weight: 600; }
.acct-nav hr { border: 0; height: 1px; background: var(--line); margin: 10px 0; }
.acct-view { display: grid; gap: 24px; }
.acct-view > h2 { font-size: 1.6rem; font-weight: 400; color: var(--teal); }
.acct-view [data-slot] { display: grid; gap: 20px; }
.acct-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stat { display: grid; gap: 6px; }
.stat b { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 2rem; line-height: 1.1; color: var(--teal); }
.stat span { font-size: .85rem; color: var(--muted); }
.sub-card { background: var(--abyss); color: #fff; padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
.sub-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.sub-card h3 { color: #fff; font-size: 1.25rem; }
.sub-card p, .sub-card .kv dt { color: #C5D2D0; }
.sub-card .kv dd { color: #fff; }
.sub-card__next { display: grid; gap: 4px; }
.sub-card__next span { font-family: var(--f-mono); font-size: .72rem; color: var(--glow); letter-spacing: .06em; text-transform: uppercase; }
.sub-card__next b { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; }
.sub-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sub-card .input { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: #fff; }
.sub-card select.input option { color: var(--ink); }
.sub-card .pill { background: rgba(79, 224, 196, .18); color: var(--glow); }
.sub-card .pill--wait { background: rgba(255, 210, 120, .16); color: #FFD68A; }
.sub-card .pill--off { background: rgba(255, 255, 255, .1); color: var(--chrome); }
.cancel-flow { background: var(--paper); color: var(--ink); padding: 22px; display: grid; gap: 14px; }
.cancel-flow h4 { margin: 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; font-size: .86rem; }
.history li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.history time { font-family: var(--f-mono); font-size: .76rem; color: var(--muted); white-space: nowrap; }
.orders { display: grid; gap: 12px; }
.order { background: var(--paper); border: 1px solid var(--line); }
.order summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1.1fr 1fr 1fr auto 20px; gap: 16px; align-items: center; padding: 18px 20px; font-size: .9rem; }
.order summary::-webkit-details-marker { display: none; }
.order summary::after { content: "+"; font-size: 1.2rem; color: var(--teal); text-align: right; }
.order[open] summary::after { content: "−"; }
.order summary b { font-family: var(--f-mono); color: var(--teal); }
.order summary span { color: var(--muted); }
.order__body { padding: 4px 20px 22px; display: grid; gap: 22px; border-top: 1px solid var(--line); }
.addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.addr { display: grid; gap: 6px; font-size: .9rem; position: relative; }
.addr__title { font-weight: 600; display: flex; gap: 8px; align-items: center; }
.addr__actions { display: flex; gap: 14px; margin-top: 10px; }
.text-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: .86rem; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.text-btn--danger { color: var(--danger); }
.addr--new { display: grid; place-items: center; min-height: 160px; border: 1px dashed rgba(11, 79, 75, .35); background: transparent; cursor: pointer; color: var(--teal); font-weight: 600; gap: 8px; }
.addr--new:hover { background: var(--paper); }
.empty-state { text-align: center; padding: 40px 20px; display: grid; justify-items: center; gap: 14px; color: var(--muted); }
.empty-state .ico { width: 36px; height: 36px; color: var(--chrome); }

/* =====================================================================
   STORY PAGES: club, science
   ===================================================================== */
.club-hero { padding: clamp(32px, 4.5vw, 72px) 0; position: relative; overflow: hidden; }
.club-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.club-hero h1 { font-size: clamp(2.4rem, 1.2rem + 3vw, 4.2rem); margin-bottom: 20px; }
.club-hero h1 em { font-style: normal; color: var(--glow); }
.club-hero__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 22px 0; padding: 16px 0; border-block: 1px solid var(--line-dark); }
.club-hero__price b { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(2.2rem, 1.6rem + 1.4vw, 3rem); line-height: 1; }
.club-hero__price span { color: var(--chrome); font-size: .92rem; }
.club-hero__visual { display: flex; justify-content: center; }
.club-hero__frame { position: relative; }
.club-hero__visual img { width: auto; height: auto; max-width: 100%; max-height: min(64vh, 560px); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .45)); }
.club-hero__badge { position: absolute; top: 8%; right: -14%; width: 116px; height: 116px; border-radius: 50%; background: var(--glow); color: var(--abyss); display: grid; place-items: center; text-align: center; transform: rotate(-8deg); }
.club-hero__badge b { display: block; font-family: var(--f-display); font-stretch: 125%; font-size: 2rem; font-weight: 400; line-height: 1; }
.club-hero__badge span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; }
.how li { padding: 0 32px 0 0; }
.how li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.how .step__n { margin-bottom: 18px; }
.how h3 { margin-bottom: 10px; }
.how p { color: var(--muted); font-size: .95rem; }
.how .ico { width: 34px; height: 34px; color: var(--teal); margin-bottom: 18px; }
.calc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.calc__ctl { display: grid; gap: 16px; }
.calc__ctl output { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 3.4rem; line-height: 1; color: var(--teal); }
.calc__ctl output small { font-size: .3em; color: var(--muted); letter-spacing: .1em; margin-left: 6px; }
.range { width: 100%; accent-color: var(--teal); height: 30px; }
.calc__bars { display: grid; gap: 18px; }
.bar { display: grid; gap: 8px; }
.bar__top { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.bar__top b { font-family: var(--f-mono); font-weight: 500; }
.bar__track { height: 14px; background: rgba(11, 79, 75, .08); }
.bar__fill { height: 100%; background: var(--chrome); transition: width .5s var(--ease); }
.bar--club .bar__fill { background: var(--teal); }
.bar--club .bar__top { color: var(--teal); font-weight: 600; }
.calc__save { padding: 18px 20px; background: var(--abyss); color: #fff; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc__save b { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 2rem; color: var(--glow); }
.calc__note { font-size: .8rem; color: var(--muted); }
.mock-ui { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(4, 33, 31, .12); max-width: 460px; }
.mock-ui__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-ui__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-ui__body { padding: 22px; display: grid; gap: 16px; }
.mock-ui__row { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-ui__row span { font-size: .82rem; padding: 8px 12px; border: 1px solid var(--line); display: inline-flex; gap: 6px; align-items: center; }
.mock-ui__row span:last-child { color: var(--danger); border-color: rgba(163, 71, 26, .3); }
.mock-ui__row .ico { width: 15px; height: 15px; }

.sci-layer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sci-layer svg { width: 100%; height: auto; }
.ingredient { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding: 40px 0; border-top: 1px solid var(--line); }
.ingredient:last-child { border-bottom: 1px solid var(--line); }
.ingredient__id { display: grid; gap: 6px; align-content: start; }
.ingredient__id b { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--teal); }
.ingredient__id span { font-family: var(--f-mono); font-size: .76rem; color: var(--lagoon); }
.ingredient h3 { font-size: 1.35rem; margin-bottom: 12px; }
.ingredient p { color: var(--muted); max-width: 44em; }
.ingredient p + p { margin-top: 10px; }
.rda { margin-top: 44px; max-width: 560px; }
.rda__track { position: relative; height: 12px; background: linear-gradient(90deg, #4FE0C4 0%, #A9D9C8 28%, #E3D29A 52%, #E2A779 76%, #C9741F 100%); }
.rda__marker { position: absolute; top: -8px; width: 2px; height: 28px; background: var(--ink); }
.rda__marker span { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-mono); font-size: .72rem; color: var(--ink); background: var(--enamel); padding: 0 4px; }
.rda__scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); margin-top: 8px; }
.evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.evidence .card { display: grid; gap: 10px; align-content: start; }
.evidence__level { display: flex; gap: 4px; }
.evidence__level i { width: 26px; height: 6px; background: rgba(11, 79, 75, .14); }
.evidence__level i.on { background: var(--teal); }
.refs { list-style: none; counter-reset: ref; padding: 0; margin: 0; display: grid; gap: 12px; font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.refs li { counter-increment: ref; display: grid; grid-template-columns: 34px 1fr; }
.refs li::before { content: "[" counter(ref) "]"; color: var(--lagoon); }

/* ---------- responsive (commerce + account + story) ---------- */
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks { grid-template-columns: 1fr 1fr; }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cart-page__grid, .co__grid { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 900px) {
  .pdp__grid, .cart-page__grid, .co__grid, .confirm__grid, .club-hero__grid, .calc, .sci-layer { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; }
  .gallery__thumb { width: 64px; height: 72px; }
  .summary, .co-summary { position: static; }
  .co-summary { order: -1; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { padding: 28px var(--gutter); gap: 16px; }
  .auth__aside h2 { font-size: 1.5rem; }
  .auth__perks, .auth__img { display: none; }
  .acct__grid { grid-template-columns: 1fr; }
  .acct-nav { position: relative; top: auto; display: flex; overflow-x: auto; gap: 4px; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
  .acct-nav a, .acct-nav button { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; width: auto; padding: 10px 12px; }
  .acct-nav a[aria-current="page"] { border-bottom-color: var(--teal); background: none; }
  .acct-nav hr { display: none; }
  .how { grid-template-columns: 1fr; gap: 32px; }
  .how li, .how li + li { padding: 0; border-left: 0; }
  .how li + li { padding-top: 32px; border-top: 1px solid var(--line); }
  .ingredient { grid-template-columns: 1fr; gap: 14px; }
  .buybar--pdp .buybar__price, .buybar--pdp img { display: none; }
  .cart-help { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pgrid, .pgrid--2 { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .perk { border-left: 0 !important; }
  .perk + .perk { border-top: 1px solid var(--line); }
  .acct-cards, .addr-grid, .evidence { grid-template-columns: 1fr; }
  .order summary { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .order summary > :nth-child(2), .order summary > :nth-child(3) { font-size: .82rem; }
  .order summary::after { display: none; }
  .track { grid-template-columns: 1fr; gap: 0; }
  .track li { padding: 0 0 18px 30px; }
  .track li::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .track li::after { top: 2px; }
  .line--lg { grid-template-columns: 80px 1fr; }
  .line--lg .line__img { width: 80px; height: 80px; }
  .line--lg .line__price { grid-column: 2; justify-items: start; text-align: left; }
  .opt__body { padding-left: 18px; }
  .seg { grid-auto-flow: row; width: 100%; }
  .co__progress li:not(.is-now) b { display: none; }
  .club-hero__badge { width: 92px; height: 92px; right: -2%; }
  .club-hero__visual img { max-height: 46vh; }
  .club-hero__badge b { font-size: 1.5rem; }
}
.gallery__stage--navy { background: radial-gradient(circle at 50% 40%, #12385A 0%, #071827 75%); border-color: #071827; }
.gallery__stage--navy .gallery__cap { color: #9FB6C9; }
.mock-ui__body > .pill { justify-self: start; }
.sub-card .btn--ghost { --fg: #fff; --edge: rgba(174, 185, 184, .45); }
.sub-card .btn--ghost:hover { --bg: rgba(255, 255, 255, .08); }
.btn .ico { width: 18px; height: 18px; }
.sub-card .kv dt { align-self: center; }
.checkout-header__secure, .checkout-header__back { white-space: nowrap; }
@media (max-width: 640px) {
  .checkout-header__inner { gap: 12px; height: 60px; }
  .checkout-header .nav__logo { width: 96px; }
  .checkout-header__secure { padding-left: 12px; font-size: .78rem; }
  .checkout-header__secure .ico { width: 16px; height: 16px; }
  .checkout-header__back { font-size: .8rem; }
}

/* short laptop screens: keep the first call to action above the fold */
@media (min-width: 901px) and (max-height: 860px) {
  .hero { padding-top: 28px; padding-bottom: 48px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero h1 { margin-bottom: 16px; }
  .hero .lede { margin-bottom: 20px; font-size: 1.08rem; }
  .buybox { padding: 14px 0; margin-bottom: 18px; }
  .hero__ctas { margin-bottom: 18px; }
  .club-hero { padding: 28px 0 40px; }
  .club-hero .crumbs { margin-bottom: 14px; }
  .club-hero .eyebrow { margin-bottom: 14px; }
  .club-hero__price { margin: 16px 0; }
  .club-hero .hero__ctas { margin-bottom: 14px; }
}
.sub-card select.input { background-repeat: no-repeat; background-position: right 14px center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234FE0C4' stroke-width='1.6'/%3E%3C/svg%3E"); }

@media (max-width: 560px) {
  .announce__extra { display: none; }
  .eyebrow { letter-spacing: .24em; }
  .pdp__cta { gap: 8px; }
  .stepper--lg button { width: 38px; }
  .stepper--lg output, .stepper--lg input { width: 34px; }
}
@media (min-width: 901px) and (max-height: 900px) {
  .auth__main { padding-block: 24px; align-content: start; }
  .auth__card { gap: 14px; }
  .auth__card h1 { font-size: 2rem; }
  .auth__card .lede { margin-top: 4px !important; font-size: .95rem; }
  .auth__card .form { gap: 12px; }
  .auth__card .form-grid { gap: 12px; }
  .auth__card .input { min-height: 44px; padding-block: 9px; }
  .auth__card .fld { gap: 5px; }
  .auth__alt { padding-top: 14px; }
}
