/* ==========================================================================
   VESPER — Night Recovery
   Design system & components. Mobile-first.
   ========================================================================== */

/* ---------- Fonts (bundled locally, SIL Open Font License) ---------- */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg: #080B10;
  --bg-2: #111720;
  --card: #161E29;
  --card-2: #1B2431;
  --line: rgba(163, 172, 185, 0.14);
  --line-strong: rgba(163, 172, 185, 0.28);
  --text: #FFFFFF;
  --text-2: #A3ACB9;
  --text-3: #6E7787;
  --accent: #8B9DFF;
  --accent-soft: rgba(139, 157, 255, 0.12);
  --violet: #A08CF0;
  --success: #8FD6B4;
  --danger: #FF8A9B;

  --font-display: "Space Grotesk", "Sora", system-ui, sans-serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.no-scroll { overflow: hidden; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--alt { background: var(--bg-2); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-display); font-size: .72rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--plain::before { display: none; }
.display {
  font-size: clamp(2.5rem, 9.5vw, 6.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: .95; text-transform: uppercase;
}
.h1 { font-size: clamp(2.2rem, 7vw, 4.8rem); text-transform: uppercase; letter-spacing: -0.03em; line-height: .98; }
.h2 { font-size: clamp(1.9rem, 5.2vw, 3.6rem); text-transform: uppercase; letter-spacing: -0.028em; line-height: 1; }
.h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.15; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); line-height: 1.6; font-weight: 400; max-width: 38rem; }
.muted { color: var(--text-2); }
.small { font-size: .85rem; }
.accent { color: var(--accent); }
.mono-num { font-family: var(--font-display); font-variant-numeric: tabular-nums; }

.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--split { align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--text); --btn-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .9rem 1.6rem; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bg);
  font-family: var(--font-display); font-weight: 500; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover { --btn-bg: var(--accent); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.06); border-color: var(--text); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #0A0D18; }
.btn--accent:hover { --btn-bg: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text); padding-block: .4rem;
  border-bottom: 1px solid var(--line-strong); transition: border-color .3s, gap .3s var(--ease);
}
.link-arrow:hover { border-color: var(--accent); gap: .9rem; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Announcement ---------- */
.announce {
  background: #05070A; color: var(--text-2); border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  text-align: center; padding: .7rem var(--gutter); line-height: 1.5;
}
.announce a { color: var(--text); border-bottom: 1px solid var(--line-strong); margin-left: .5rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(8, 11, 16, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.header--overlay { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero--under-header { margin-top: calc(var(--header-h) * -1); }
.header--overlay.is-scrolled { background: rgba(8, 11, 16, 0.82); border-color: var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .38em; text-transform: uppercase; padding-right: .2em; }
.logo__mark { width: 22px; height: 22px; flex: none; }
.nav { display: none; }
.nav__list { display: flex; gap: clamp(1.25rem, 2.4vw, 2.4rem); }
.nav__link {
  font-family: var(--font-display); font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-2); position: relative; padding-block: .5rem; transition: color .3s;
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent); transition: right .4s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { right: 0; }
.header__actions { display: flex; align-items: center; gap: .25rem; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; position: relative; transition: background .3s; }
.icon-btn:hover { background: rgba(255,255,255,.06); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: #0A0D18; font-family: var(--font-display); font-size: .66rem; font-weight: 600;
  display: grid; place-items: center; line-height: 1; transform: scale(0); transition: transform .35s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.burger { width: 44px; height: 44px; display: inline-grid; place-items: center; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--text); position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45; background: rgba(8, 11, 16, .98);
  padding: calc(var(--header-h) + 4.5rem) var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__list li { border-bottom: 1px solid var(--line); overflow: hidden; }
.mobile-nav__list a {
  display: flex; justify-content: space-between; align-items: center; padding: 1.05rem 0;
  font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -0.02em; text-transform: uppercase;
  transform: translateY(100%); transition: transform .6s var(--ease), color .3s;
}
.mobile-nav__list a span { font-size: .72rem; color: var(--text-3); letter-spacing: .2em; }
.mobile-nav.is-open .mobile-nav__list a { transform: none; }
.mobile-nav__list li:nth-child(2) a { transition-delay: .04s; } .mobile-nav__list li:nth-child(3) a { transition-delay: .08s; }
.mobile-nav__list li:nth-child(4) a { transition-delay: .12s; } .mobile-nav__list li:nth-child(5) a { transition-delay: .16s; }
.mobile-nav__list li:nth-child(6) a { transition-delay: .2s; }
.mobile-nav__list a[aria-current="page"] { color: var(--accent); }
.mobile-nav__foot { color: var(--text-2); font-size: .85rem; display: grid; gap: .4rem; margin-top: 2rem; }
.header.menu-open { background: rgba(8,11,16,.98); border-color: var(--line); }

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .nav { display: block; }
  .burger, .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% top; transform: scale(1.06); animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,11,16,.55) 0%, rgba(8,11,16,0) 22%, rgba(8,11,16,.35) 50%, rgba(8,11,16,.97) 78%);
}
.hero__content { padding-block: calc(var(--header-h) + 4rem) clamp(3rem, 8vw, 6rem); width: 100%; }
.hero__title { max-width: none; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.hero__title .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { to { transform: none; } }
.hero__desc { margin-top: 1.6rem; max-width: 34rem; opacity: 0; animation: fadeUp 1s .45s var(--ease) forwards; }
.hero__ctas { margin-top: 2.25rem; display: flex; flex-direction: column; gap: .75rem; opacity: 0; animation: fadeUp 1s .6s var(--ease) forwards; }
.hero__meta {
  display: none; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); gap: 1.25rem;
  opacity: 0; animation: fadeUp 1s .8s var(--ease) forwards;
}
.hero__meta dt { font-family: var(--font-display); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.hero__meta dd { margin: .25rem 0 0; font-size: .92rem; color: var(--text); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (min-width: 640px) {
  .hero__ctas { flex-direction: row; }
  .hero__meta { display: grid; grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .hero { align-items: center; }
  .hero__media img { object-position: center; }
  .hero::after { background: linear-gradient(180deg, rgba(8,11,16,.55) 0%, rgba(8,11,16,0) 30%, rgba(8,11,16,.2) 55%, rgba(8,11,16,.96) 100%); }
  .hero__content { padding-bottom: 7rem; }
  .hero__meta { max-width: 760px; }
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero--image { min-height: 62vh; display: flex; align-items: flex-end; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,11,16,.35), rgba(8,11,16,.95)); }
.page-hero__glow { position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -10vw; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(139,157,255,.16), transparent 65%); pointer-events: none; }
.page-hero .lead { margin-top: 1.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-family: var(--font-display); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.75rem; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- Marquee strip ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding-block: 1.1rem; background: var(--bg); }
.ticker__track { display: flex; gap: 3rem; width: max-content; animation: ticker 40s linear infinite; }
.ticker__item { display: inline-flex; align-items: center; gap: 3rem; font-family: var(--font-display); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.ticker__item::after { content: "✦"; color: var(--accent); font-size: .6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Benefits ---------- */
.benefits { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.benefit { background: var(--bg); padding: 2rem 1.5rem 2.25rem; display: grid; gap: 1rem; align-content: start; transition: background .4s var(--ease); position: relative; }
.benefit:hover { background: var(--bg-2); }
.benefit__num { font-family: var(--font-display); font-size: .7rem; letter-spacing: .2em; color: var(--text-3); }
.benefit__icon { width: 44px; height: 44px; color: var(--accent); margin-block: .5rem 1rem; }
.benefit__icon svg { width: 100%; height: 100%; }
.benefit h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: -0.01em; }
.benefit p { color: var(--text-2); font-size: .95rem; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } .benefit { padding: 2.5rem 2rem 2.75rem; } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(4, 1fr); } .benefit { min-height: 360px; } }

/* ---------- Product feature (home + product page) ---------- */
.pdp { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.08fr 1fr; } .pdp__info { position: sticky; top: calc(var(--header-h) + 2rem); } }

.gallery { display: grid; gap: .75rem; }
.gallery__main { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--card); border-radius: var(--radius-lg); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.gallery__main img.is-fading { opacity: 0; }
.gallery__main:hover img { transform: scale(1.03); }
.gallery__badge { position: absolute; top: 1rem; left: 1rem; }
.gallery__nav { position: absolute; inset: auto 1rem 1rem auto; display: flex; gap: .5rem; }
.gallery__nav button { width: 42px; height: 42px; border-radius: 50%; background: rgba(8,11,16,.6); backdrop-filter: blur(8px); border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s; }
.gallery__nav button:hover { background: var(--text); color: var(--bg); }
.gallery__nav svg { width: 16px; height: 16px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.gallery__thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid transparent; opacity: .55; transition: opacity .3s, border-color .3s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .9; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--accent); }

.tag { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .7rem; border-radius: 100px; background: rgba(8,11,16,.65); border: 1px solid var(--line-strong); font-family: var(--font-display); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); backdrop-filter: blur(6px); }
.tag--accent { border-color: rgba(139,157,255,.4); color: var(--accent); background: var(--accent-soft); }
.tag--demo { border-style: dashed; color: var(--text-2); }

.pdp__title { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; letter-spacing: -0.03em; margin-top: 1rem; }
.pdp__sub { color: var(--text-2); margin-top: .5rem; font-size: 1rem; }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; font-size: .85rem; color: var(--text-2); }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 15px; height: 15px; }
.price { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; letter-spacing: -0.01em; margin-top: 1.5rem; display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.price small { font-size: .82rem; color: var(--text-2); font-family: var(--font-body); font-weight: 400; letter-spacing: 0; }
.pdp__desc { color: var(--text-2); margin-top: 1.25rem; }
.checklist { display: grid; gap: .8rem; margin-top: 1.75rem; padding-block: 1.75rem; border-block: 1px solid var(--line); }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; font-size: .95rem; }
.checklist svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .2rem; }

.option-group { margin-top: 1.75rem; }
.option-group__label { font-family: var(--font-display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); margin-bottom: .75rem; display: flex; justify-content: space-between; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.option { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .9rem 1rem; text-align: left; transition: border-color .3s, background .3s; display: grid; gap: .15rem; }
.option strong { font-family: var(--font-display); font-weight: 500; font-size: .95rem; }
.option span { font-size: .8rem; color: var(--text-2); }
.option.is-active { border-color: var(--accent); background: var(--accent-soft); }

.buy-row { display: grid; grid-template-columns: auto 1fr; gap: .75rem; margin-top: 1.5rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); height: 52px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--text-2); transition: color .2s; }
.qty button:hover { color: var(--text); }
.qty button svg { width: 14px; height: 14px; }
.qty input { width: 40px; text-align: center; background: transparent; border: 0; font-family: var(--font-display); font-size: 1rem; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; } .qty--sm button { width: 36px; } .qty--sm input { width: 30px; font-size: .9rem; }
.assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1.5rem; }
.assurance { display: grid; justify-items: center; text-align: center; gap: .5rem; padding: .9rem .4rem; background: var(--bg-2); border-radius: var(--radius); font-size: .72rem; color: var(--text-2); line-height: 1.35; }
.assurance svg { width: 20px; height: 20px; color: var(--accent); }
.disclaimer { font-size: .75rem; color: var(--text-3); margin-top: 1.25rem; line-height: 1.55; }

/* ---------- Editorial / science ---------- */
.editorial { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.editorial__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial__caption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: space-between; font-family: var(--font-display); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.editorial__body { display: grid; gap: 1.5rem; }
.editorial__body p { color: var(--text-2); }
.editorial__body .h2 { max-width: 14ch; }
@media (min-width: 960px) {
  .editorial { grid-template-columns: 1fr 1fr; }
  .editorial--reverse .editorial__media { order: 2; }
}
.phases { display: grid; gap: 0; margin-top: 1rem; border-top: 1px solid var(--line); }
.phase { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.phase__n { font-family: var(--font-display); font-size: .78rem; color: var(--accent); letter-spacing: .1em; padding-top: .2rem; }
.phase h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .35rem; }
.phase p { font-size: .92rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(3rem, 7vw, 5rem); }
.stat { background: var(--bg); padding: 1.75rem 1.25rem; display: grid; gap: .5rem; }
.section--alt .stat { background: var(--bg-2); }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; }
.stat__num sup { font-size: .4em; color: var(--accent); top: -1.2em; margin-left: .15em; }
.stat p { font-size: .85rem; color: var(--text-2); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 2.5rem 2rem; } }

/* ---------- Lifestyle ---------- */
.lifestyle { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.lifestyle__media { position: absolute; inset: 0; z-index: -2; }
.lifestyle__media img { width: 100%; height: 115%; object-fit: cover; object-position: 72% center; will-change: transform; }
.lifestyle::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,11,16,.25) 0%, rgba(8,11,16,.15) 40%, rgba(8,11,16,.95) 100%); }
.lifestyle__content { padding-block: clamp(4rem, 10vw, 7rem); width: 100%; }
.ritual { display: grid; gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ritual__step { background: rgba(8,11,16,.72); padding: 1.5rem; display: grid; gap: .5rem; }
.ritual__time { font-family: var(--font-display); font-size: .7rem; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }
.ritual__step h3 { font-size: 1.15rem; text-transform: uppercase; }
.ritual__step p { color: var(--text-2); font-size: .9rem; }
@media (min-width: 800px) { .ritual { grid-template-columns: repeat(3, 1fr); } .ritual__step { padding: 2rem; } }

/* ---------- Split banner (track image) ---------- */
.split { display: grid; background: var(--bg-2); }
.split__media { min-height: 360px; position: relative; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: clamp(3rem, 8vw, 7rem) var(--gutter); display: grid; gap: 1.5rem; align-content: center; }
.split__body p { color: var(--text-2); max-width: 32rem; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split__media { min-height: 640px; } .split__body { padding-inline: clamp(3rem, 6vw, 6rem); } }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: 1rem; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; transition: transform .5s var(--ease), border-color .5s var(--ease); }
.quote:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.quote__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.4; letter-spacing: -0.01em; flex: 1; }
.quote__who { display: flex; align-items: center; gap: .9rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: .85rem; background: linear-gradient(140deg, #2a3356, #161E29); border: 1px solid var(--line-strong); color: var(--accent); flex: none; }
.quote__who strong { display: block; font-weight: 600; font-size: .92rem; }
.quote__who span { font-size: .8rem; color: var(--text-2); }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.demo-note { display: flex; gap: .6rem; align-items: center; justify-content: center; margin-top: 2rem; font-size: .78rem; color: var(--text-3); text-align: center; }

/* ---------- FAQ accordion ---------- */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 5rem; } .faq-layout__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; text-align: left; font-family: var(--font-display); font-size: clamp(1.02rem, 2vw, 1.25rem); font-weight: 500; letter-spacing: -0.01em; transition: color .3s; }
.acc-trigger:hover { color: var(--accent); }
.acc-icon { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .45s var(--ease), border-color .3s, background .3s; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.acc-panel__inner { padding: 0 3rem 1.75rem 0; color: var(--text-2); display: grid; gap: .8rem; }
.acc-panel__inner ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: .3rem; }
.faq-group + .faq-group { margin-top: 3.5rem; }
.faq-group__title { font-family: var(--font-display); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; overflow: hidden; isolation: isolate; text-align: center; border-block: 1px solid var(--line); }
.newsletter__bg { position: absolute; inset: 0; z-index: -1; opacity: .5; }
.newsletter__bg img { width: 100%; height: 100%; object-fit: cover; }
.newsletter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(8,11,16,.35), rgba(8,11,16,.95) 75%); }
.newsletter .h1 { max-width: 14ch; margin-inline: auto; }
.newsletter .lead { margin: 1.25rem auto 0; }
.nl-form { margin: 2.5rem auto 0; max-width: 520px; display: grid; gap: .75rem; }
.nl-form__row { display: grid; gap: .75rem; }
@media (min-width: 560px) { .nl-form__row { grid-template-columns: 1fr auto; gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 4px; background: rgba(8,11,16,.6); backdrop-filter: blur(10px); } .nl-form__row .input { border: 0; background: transparent; } }
.form-msg { font-size: .85rem; min-height: 1.4em; }
.form-msg.is-error { color: var(--danger); }
.form-msg.is-success { color: var(--success); }
.nl-success { display: none; gap: .75rem; justify-items: center; padding: 2rem; border: 1px solid rgba(139,157,255,.35); background: var(--accent-soft); border-radius: var(--radius-lg); margin: 2.5rem auto 0; max-width: 520px; }
.nl-success.is-visible { display: grid; animation: fadeUp .7s var(--ease); }
.nl-success svg { width: 34px; height: 34px; color: var(--accent); }

/* ---------- Forms ---------- */
.input, .textarea, .select {
  width: 100%; min-height: 52px; padding: .9rem 1.1rem; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--text); font-size: 1rem; transition: border-color .3s, background .3s; outline: none;
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); }
.textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3ACB9' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 3rem; }
.select option { background: var(--bg-2); }
.field { display: grid; gap: .5rem; }
.field label { font-family: var(--font-display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.field__error { font-size: .8rem; color: var(--danger); min-height: 0; display: none; }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--danger); }
.has-error .field__error { display: block; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .88rem; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: .2rem; flex: none; }

/* ---------- Footer ---------- */
.footer { background: #05070A; border-top: 1px solid var(--line); padding-top: clamp(4rem, 8vw, 6rem); }
.footer__top { display: grid; gap: 3rem; padding-bottom: 3.5rem; }
.footer__brand p { color: var(--text-2); margin-top: 1.25rem; max-width: 22rem; font-size: .92rem; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
.footer h4 { font-family: var(--font-display); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.25rem; font-weight: 500; }
.footer__links { display: grid; gap: .7rem; font-size: .92rem; }
.footer__links a { color: var(--text-2); transition: color .25s; }
.footer__links a:hover { color: var(--text); }
.socials { display: flex; gap: .5rem; margin-top: 1.75rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; color: var(--text-2); }
.socials a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.socials svg { width: 17px; height: 17px; }
.footer__wordmark { font-family: var(--font-display); font-weight: 600; font-size: clamp(4rem, 21vw, 19rem); letter-spacing: .06em; line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(139,157,255,.22); user-select: none; padding-top: 1rem; overflow: hidden; white-space: nowrap; }
.footer__bottom { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.75rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--text-3); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__legal a:hover { color: var(--text); }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.2fr 2fr; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Shop ---------- */
.shop-bar { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 42px; padding: .55rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 100px; font-family: var(--font-display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); transition: all .3s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--text-2); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.shop-bar__meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--text-2); font-size: .85rem; }
.shop-bar__meta .select { width: auto; min-height: 42px; padding-block: .5rem; font-size: .85rem; }
@media (min-width: 900px) { .shop-bar { flex-direction: row; justify-content: space-between; align-items: center; } .chips { margin: 0; padding: 0; } }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem 1rem; }
@media (min-width: 520px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 3.5rem 1.5rem; } }
.card { display: grid; gap: 1.1rem; align-content: start; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--card); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.card__media .img-alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img { transform: scale(1.04); }
.card:hover .card__media .img-alt { opacity: 1; }
.card__tags { position: absolute; top: .9rem; left: .9rem; display: flex; gap: .4rem; }
.card__quick { position: absolute; left: .9rem; right: .9rem; bottom: .9rem; transform: translateY(0); opacity: 1; transition: transform .45s var(--ease), opacity .45s var(--ease); }
@media (hover: hover) and (min-width: 900px) { .card__quick { transform: translateY(12px); opacity: 0; } .card:hover .card__quick, .card:focus-within .card__quick { transform: none; opacity: 1; } }
.card__quick .btn { width: 100%; min-height: 46px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.card__quick .btn:hover { background: var(--accent); }
.card__body { display: grid; gap: .3rem; }
.card__row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.card__title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; }
.card__price { font-family: var(--font-display); font-size: 1rem; white-space: nowrap; }
.card__desc { color: var(--text-2); font-size: .88rem; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--text-2); grid-column: 1 / -1; }

/* ---------- Product page extras ---------- */
.spec-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.spec { background: var(--bg); padding: 1.75rem 1.5rem; display: grid; gap: .5rem; }
.spec h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.spec p { color: var(--text-2); font-size: .9rem; }
.spec__dose { font-family: var(--font-display); font-size: .8rem; color: var(--accent); letter-spacing: .08em; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(8,11,16,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; transform: translateY(110%); transition: transform .5s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.sticky-buy__info img { width: 44px; height: 44px; border-radius: var(--radius); object-fit: cover; flex: none; }
.sticky-buy__info strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__info span { font-size: .82rem; color: var(--text-2); }
.sticky-buy .btn { min-height: 46px; padding-inline: 1.2rem; }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .cart-layout { grid-template-columns: 1.6fr 1fr; gap: 4rem; } .summary { position: sticky; top: calc(var(--header-h) + 2rem); } }
.cart-head { display: none; }
@media (min-width: 720px) { .cart-head { display: grid; grid-template-columns: 1fr 140px 110px; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); } .cart-head span:last-child { text-align: right; } }
.line-item { display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); animation: fadeUp .5s var(--ease); }
.line-item.is-removing { opacity: 0; transform: translateX(-12px); transition: opacity .35s, transform .35s; }
.line-item__img { width: 96px; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.line-item__img img { width: 100%; height: 100%; object-fit: cover; }
.line-item__body { display: grid; gap: .3rem; align-content: start; min-width: 0; }
.line-item__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.line-item__variant { font-size: .82rem; color: var(--text-2); }
.line-item__controls { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.line-item .remove-btn { justify-self: start; margin-top: .35rem; }
.line-item__total { font-family: var(--font-display); }
.remove-btn { font-size: .78rem; color: var(--text-2); letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-display); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.remove-btn:hover { color: var(--danger); border-color: var(--danger); }
@media (min-width: 720px) {
  .line-item { grid-template-columns: 110px 1fr 140px 110px; align-items: center; }
  .line-item__img { width: 110px; }
  .line-item__controls { display: contents; }
  .line-item__total { text-align: right; }
  .line-item .remove-btn { justify-self: start; margin-top: .5rem; }
}
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; display: grid; gap: 1.1rem; }
.summary h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; color: var(--text-2); }
.summary__row strong { color: var(--text); font-family: var(--font-display); font-weight: 500; }
.summary__total { padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
.summary__total strong { font-size: 1.4rem; }
.progress { display: grid; gap: .6rem; padding: 1rem; background: var(--bg-2); border-radius: var(--radius); font-size: .85rem; color: var(--text-2); }
.progress__bar { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--violet)); width: 0; transition: width .6s var(--ease); }
.promo { display: flex; gap: .5rem; }
.promo .input { min-height: 46px; font-size: .9rem; }
.promo .btn { min-height: 46px; padding-inline: 1.1rem; }
.cart-empty { text-align: center; padding: 4rem 1rem; display: grid; gap: 1.25rem; justify-items: center; }
.cart-empty__icon { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent); }
.cart-empty__icon svg { width: 30px; height: 30px; }

/* ---------- Cart drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(3,4,7,.6); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%); background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 1.5rem; }
.drawer__foot { padding: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
.drawer .line-item { grid-template-columns: 76px 1fr; align-items: start; }
.drawer .line-item__img { width: 76px; }
.drawer .line-item__controls { display: flex; }
.drawer .line-item__total { text-align: left; }
.drawer .cart-empty { padding-block: 3rem; }

/* ---------- Modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: var(--gutter); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3,4,7,.75); backdrop-filter: blur(6px); }
.modal__card { position: relative; max-width: 460px; width: 100%; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 2.25rem 1.75rem 1.75rem; display: grid; gap: 1rem; text-align: center; justify-items: center; transform: translateY(16px) scale(.98); transition: transform .45s var(--ease); }
.modal.is-open .modal__card { transform: none; }
.modal__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.modal__icon svg { width: 26px; height: 26px; }
.modal__card h3 { font-size: 1.4rem; text-transform: uppercase; }
.modal__card p { color: var(--text-2); font-size: .95rem; }
.toast-wrap { position: fixed; z-index: 130; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: .5rem; width: min(420px, calc(100% - 2rem)); pointer-events: none; }
.toast { background: var(--text); color: var(--bg); padding: .95rem 1.2rem; border-radius: var(--radius); font-size: .9rem; font-weight: 500; display: flex; align-items: center; gap: .75rem; box-shadow: 0 20px 50px rgba(0,0,0,.5); animation: toastIn .45s var(--ease); pointer-events: auto; }
.toast svg { width: 18px; height: 18px; flex: none; color: #4b5bd6; }
.toast.is-leaving { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- About / misc ---------- */
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--bg); padding: 2.25rem 1.75rem; display: grid; gap: .9rem; align-content: start; }
.value__n { font-family: var(--font-display); font-size: 3rem; color: transparent; -webkit-text-stroke: 1px var(--accent); line-height: 1; }
.value h3 { font-size: 1.2rem; text-transform: uppercase; }
.value p { color: var(--text-2); font-size: .93rem; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } .value { padding: 3rem 2.5rem; } }

.timeline { display: grid; border-top: 1px solid var(--line); }
.timeline__row { display: grid; gap: .5rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.timeline__row h4 { font-size: 1.1rem; text-transform: uppercase; }
.timeline__row p { color: var(--text-2); font-size: .93rem; }
@media (min-width: 800px) { .timeline__row { grid-template-columns: 160px 1fr 1.4fr; gap: 2rem; align-items: baseline; } }

.big-quote { font-family: var(--font-display); font-size: clamp(1.7rem, 4.4vw, 3.3rem); line-height: 1.12; letter-spacing: -0.025em; max-width: 22ch; }
.big-quote em { font-style: normal; color: var(--accent); }

.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: .9fr 1.4fr; gap: 5rem; } }
.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { background: var(--bg); padding: 1.5rem; display: grid; gap: .35rem; }
.contact-card h4 { font-family: var(--font-display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.contact-card a, .contact-card p { font-size: 1rem; }
.contact-card a:hover { color: var(--accent); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.form-success { display: none; text-align: center; padding: 3rem 1rem; gap: 1rem; justify-items: center; }
.form-success.is-visible { display: grid; animation: fadeUp .6s var(--ease); }

.callout { border: 1px solid var(--line); background: var(--bg-2); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; font-size: .88rem; color: var(--text-2); }
.callout svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: .15rem; }

.cta-band { display: grid; gap: 2rem; align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(ellipse at 100% 0%, rgba(139,157,255,.16), transparent 55%), var(--bg-2); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }

/* Sleep architecture chart */
.hypno { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2.5rem); }
.hypno svg { width: 100%; height: auto; display: block; }
.hypno__legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.25rem; font-size: .8rem; color: var(--text-2); }
.hypno__legend span { display: inline-flex; gap: .5rem; align-items: center; }
.hypno__legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.hypno .draw { stroke-dasharray: 2400; stroke-dashoffset: 2400; transition: stroke-dashoffset 2.6s var(--ease); }
.hypno.is-visible .draw { stroke-dashoffset: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(8% 8% 8% 8%); transition: clip-path 1.4s var(--ease); }
.reveal-img img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.reveal-img.is-visible img { transform: none; }
.no-js .reveal, .no-js .reveal-img { opacity: 1; transform: none; clip-path: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-img, .reveal-img img { opacity: 1; transform: none; clip-path: none; }
  .ticker__track { animation: none; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; } .mt-4 { margin-top: 4rem; }
.text-center { text-align: center; }
.stack { display: grid; gap: 1.25rem; }
.flex-gap { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.legal-body { max-width: 760px; display: grid; gap: 1.25rem; color: var(--text-2); }
.legal-body h2 { font-size: 1.3rem; color: var(--text); text-transform: uppercase; margin-top: 1.5rem; }

/* Mobile hero: stacked — product stage on top, copy below */
@media (max-width: 699px) {
  .hero { display: block; min-height: 0; }
  @supports (min-height: 100svh) { .hero { min-height: 0; } }
  .hero__media { position: relative; height: 64vh; height: 64svh; min-height: 420px; max-height: 620px; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,11,16,.5) 0%, rgba(8,11,16,0) 20%, rgba(8,11,16,0) 62%, var(--bg) 100%); }
  .hero::after { display: none; }
  .hero__content { position: relative; margin-top: -5.5rem; padding-top: 0; padding-bottom: 3.5rem; }
}
.demo-note svg { width: 16px; height: 16px; flex: none; }
@media (min-width: 960px) { .sticky-buy { display: none; } }
