/* Off Meta Nootropics — shared styles
   Tokens and parts follow website-handoff/STYLE-GUIDE.md. Page-specific
   sections (homepage screens, product page) follow the shared parts. */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Press Start 2P";
  src: url("../assets/fonts/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --bg: #070807;
  --panel: #131811;
  --line: #465E20;
  --lime: #8DC63F;
  --white: #FFFFFF;
  --text: #D5D5D5;
  --muted: #A6A6A6;
  --ink: #070807;
  --error: #FF6B5E;

  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-pixel: "VT323", ui-monospace, monospace;
  --font-motto: "Press Start 2P", ui-monospace, monospace;
  --font-facts: Helvetica, Arial, sans-serif;

  /* Sizes run from a 390 px phone to a 1,200 px desktop */
  --fs-hero: clamp(34px, 15.7px + 4.69vw, 72px);
  --fs-screen: clamp(28px, 18.4px + 2.47vw, 48px);
  --fs-name: clamp(20px, 18.1px + 0.49vw, 24px);
  --fs-line: clamp(18px, 16.1px + 0.49vw, 22px);
  --fs-body: clamp(16px, 15px + 0.25vw, 18px);
  --fs-small: clamp(13px, 12.5px + 0.12vw, 14px);
  --fs-label: clamp(16px, 14.1px + 0.49vw, 20px);
  --fs-motto: clamp(22px, 17.2px + 1.23vw, 32px);

  --radius-card: 16px;
  --radius-btn: 8px;
  --maxw: 1200px;
  --read: 680px;
  --header-h: 64px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Honeycomb from the label: a faint hexagon grid at about 4% white */
  --honeycomb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23FFFFFF' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--honeycomb);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  /* Even line lengths, so a heading rarely ends on one word by itself */
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: var(--white); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius-btn);
}
.skip-link:focus { top: 12px; color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.lime { color: var(--lime); }
.nowrap { white-space: nowrap; }

/* ---------- Type helpers ---------- */

.pixel {
  font-family: var(--font-pixel);
  font-size: var(--fs-label);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.motto {
  font-family: var(--font-motto);
  font-size: var(--fs-motto);
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
}

.hero-headline {
  font-size: var(--fs-hero);
  line-height: 1.05;
  text-transform: uppercase;
}

.screen-headline {
  font-size: var(--fs-screen);
  line-height: 1.1;
  text-transform: uppercase;
}

.name {
  font-size: var(--fs-name);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.line {
  font-size: var(--fs-line);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
}

.small, .fda {
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--lime);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover { background: #9fd456; color: var(--ink); }
.btn--secondary { background: transparent; color: var(--white); }
.btn--secondary:hover { background: rgba(141, 198, 63, .12); color: var(--white); }
.btn:active { transform: translateY(1px); }

@media (max-width: 767px) {
  .btn--block-phone { display: flex; width: 100%; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid rgba(70, 94, 32, .6);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}
.logo img {
  height: 48px;
  width: auto;
  /* The logo file sits on solid black; screen blending lets --bg show through */
  mix-blend-mode: screen;
}

.btn-shop {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}
.site-nav__list a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] { color: var(--lime); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  color: var(--white);
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 767px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--bg);
    background-image: var(--honeycomb);
    padding: 24px var(--gutter);
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
  }
  body.menu-open { overflow: hidden; }
}

/* ---------- Game-interface parts ---------- */

/* Screen tag: white pixel type in a thin outlined box with a small lime mark */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 5px;
  border: 1px solid var(--muted);
  color: var(--white);
  font-family: var(--font-pixel);
  font-size: var(--fs-label);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--lime);
  transform: rotate(45deg);
  flex: none;
}

/* Callout: black pixel type on a solid lime block. One per screen at most. */
.callout {
  display: inline-block;
  padding: 8px 12px 6px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: var(--fs-label);
  line-height: 1;
  text-transform: uppercase;
}

/* Progress marker: lime pixel digits, then one segment per screen */
.progress {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-family: var(--font-pixel);
  font-size: var(--fs-label);
  line-height: 1;
}
.progress__bar {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 3px;
}
.progress__seg {
  width: 10px;
  height: 6px;
  background: var(--line);
}
.progress__seg.is-filled { background: var(--lime); }

/* Version label under an item: white for old versions, lime for the current */
.version {
  font-family: var(--font-pixel);
  font-size: var(--fs-label);
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
}
.version--current { color: var(--lime); }

/* Next-up line: grey pixel type with a small down arrow, bottom right */
.next-up {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: var(--fs-label);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}
.next-up::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}
a.next-up:hover { color: var(--white); }

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.chip--solid { background: var(--lime); color: var(--ink); }
.chip--outline { border: 2px solid var(--lime); color: var(--white); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Stat block: large lime numeral with a white caps label under it */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  color: var(--lime);
  font-weight: 700;
  font-size: clamp(44px, 32px + 3vw, 72px);
  line-height: 1;
}
.stat__num small { font-size: .45em; font-weight: 700; margin-left: .1em; }
.stat__label {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Card */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
}

/* Item slot: dark panel with cut corners and a --line border, holds one sprite */
.item-slot {
  --cut: 10px;
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--line);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.item-slot::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--panel);
  clip-path: inherit;
}
.item-slot > * { position: relative; }
.sprite { image-rendering: pixelated; shape-rendering: crispEdges; }

/* Check line: lime circle with a black tick, then a white bold line */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-line);
  line-height: 1.3;
}
.check-list li::before {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23070807' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* Timeline: vertical lime line with ring nodes */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--lime);
}
.timeline li { position: relative; padding: 0 0 24px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 3px solid var(--lime);
  background: var(--bg);
}
.timeline .chip { margin-bottom: 6px; }
.timeline__title { color: var(--white); font-weight: 700; font-size: var(--fs-name); margin: 0 0 4px; line-height: 1.2; }
.timeline__line { color: var(--muted); margin: 0; }

/* Bottle frame: four lime corner brackets, small ticks and one soft glow */
.bracket-frame {
  --b: 26px;
  position: relative;
  /* Own stacking context, so the glow (z-index -1) stays behind the bottle
     but in front of any ancestor's background */
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 28px;
}
.bracket-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--lime), var(--lime)) top left / var(--b) 3px,
    linear-gradient(var(--lime), var(--lime)) top left / 3px var(--b),
    linear-gradient(var(--lime), var(--lime)) top right / var(--b) 3px,
    linear-gradient(var(--lime), var(--lime)) top right / 3px var(--b),
    linear-gradient(var(--lime), var(--lime)) bottom left / var(--b) 3px,
    linear-gradient(var(--lime), var(--lime)) bottom left / 3px var(--b),
    linear-gradient(var(--lime), var(--lime)) bottom right / var(--b) 3px,
    linear-gradient(var(--lime), var(--lime)) bottom right / 3px var(--b);
  background-repeat: no-repeat;
}
.bracket-frame::after {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(141, 198, 63, .25), rgba(141, 198, 63, 0));
}

/* ---------- Draft markers ---------- */

/* Labelled box where an asset is still missing */
.placeholder {
  display: grid;
  place-items: center;
  gap: 6px;
  width: 100%;
  padding: 16px;
  border: 2px dashed var(--line);
  background: rgba(19, 24, 17, .8);
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: var(--fs-label);
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}
.placeholder small {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: none;
}
.placeholder--mark { width: 32px; height: 32px; padding: 0; font-size: 11px; border-width: 1px; }

/* Inline placeholder for a missing fact, such as the price */
.ph-inline {
  display: inline-block;
  padding: 0 6px;
  border: 1px dashed var(--error);
  color: var(--error);
  font-family: var(--font-pixel);
  font-size: 1.05em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

/* OWNER REVIEW: kept text the owner settles before launch */
.owner-review {
  outline: 1px dashed var(--error);
  outline-offset: 4px;
}
.review-note {
  display: block;
  margin: 8px 0 0;
  color: var(--error);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}
.review-note::before { content: "OWNER REVIEW: "; font-weight: 700; }
span.owner-review { outline-offset: 2px; }
span.owner-review .review-note { display: inline; margin: 0 0 0 6px; }
/* A marked block keeps clear of the paragraph after it, so its outline
   does not sit on the next line */
.prose > div.owner-review,
.prose > section > div.owner-review { margin-bottom: 1.25em; }
/* A marked list item: the outline sits at the item's edge, clear of its
   number or bullet, with the text set in a little from it */
.prose li.owner-review { outline-offset: 0; padding-left: 6px; }
/* A mark inside a marked block sits just inside the outer outline rather
   than on top of it */
.owner-review .owner-review:not(span) { outline-offset: 0; }

/* ---------- Information pages ---------- */

.page {
  padding: 48px 0 72px;
}
.prose {
  max-width: var(--read);
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  /* Long addresses wrap on small phones instead of pushing the page sideways */
  overflow-wrap: break-word;
}
.prose .tag { margin-bottom: 20px; }
.prose h1 {
  font-size: var(--fs-screen);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.prose h2 { font-size: 24px; margin-top: 48px; }
.prose h3 { font-size: 20px; margin-top: 32px; }
.prose h4, .prose h5, .prose h6 { font-size: 17px; margin-top: 24px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--white); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--white); }
.updated { color: var(--muted); font-size: var(--fs-small); margin-bottom: 24px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
.table-wrap table { margin: 0; }
.coa-table { margin-top: 8px; font-size: 15px; }
.coa-table caption { caption-side: top; text-align: left; padding: 0 0 6px; color: var(--white); font-weight: 700; }
.coa-table th, .coa-table td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.coa-table thead th { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.coa-table tbody th { color: var(--white); font-weight: 500; }
.coa-table td:nth-child(2) { color: var(--lime); font-variant-numeric: tabular-nums; }
.coa-table td:nth-child(3) { color: var(--muted); font-variant-numeric: tabular-nums; }

.toc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  margin: 0 0 32px;
}
.toc h2 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.2em; }

.content-pending {
  padding: 24px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-card);
  color: var(--muted);
}

/* ---------- Accordion (FAQ and product details) ---------- */

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 0;
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before {
  /* Pixel chevron: lime because it opens a question */
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--lime);
  clip-path: polygon(0 0, 25% 0, 25% 25%, 50% 25%, 50% 50%, 75% 50%, 75% 75%, 50% 75%, 50% 100%, 25% 100%, 25% 75%, 0 75%, 0 0);
  transition: transform .2s var(--ease);
}
.accordion details[open] > summary::before { transform: rotate(90deg); }
.accordion__body { padding: 0 0 20px 24px; color: var(--text); }
.accordion__body > :last-child { margin-bottom: 0; }

/* ---------- Supplement Facts panel: black on white, as on the label ---------- */

.facts {
  max-width: 420px;
  background: #FFFFFF;
  color: #000000;
  font-family: var(--font-facts);
  border: 2px solid #000000;
  padding: 8px 10px;
  line-height: 1.3;
}
.facts h3, .facts__title {
  color: #000000;
  font-family: var(--font-facts);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 4px;
  text-transform: none;
}
.facts p { margin: 0; font-size: 14px; }
.facts table { width: 100%; border-collapse: collapse; font-size: 14px; color: #000000; }
.facts th, .facts td { padding: 4px 0; border-top: 1px solid #000000; text-align: left; vertical-align: top; color: #000000; }
.facts td:nth-child(2), .facts th:nth-child(2) { text-align: right; padding-left: 8px; white-space: nowrap; }
.facts td:nth-child(3), .facts th:nth-child(3) { text-align: right; padding-left: 8px; width: 3.5em; }
.facts thead th { font-weight: 700; border-top: 8px solid #000000; }
/* Ingredient names are row headers (th scope="row") for screen readers:
   the label's regular weight, the closing thick rule, and wrapping so the
   long names fit a 320 px phone */
.facts tbody th { font-weight: 400; }
.facts th { overflow-wrap: anywhere; }
.facts tbody tr:last-child th,
.facts tbody tr:last-child td { border-bottom: 8px solid #000000; }
.facts__note { padding-top: 4px; }
.facts__other { margin-top: 8px !important; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--white); font-weight: 500; font-size: 15px; }
.field .req { color: var(--lime); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--muted);
  border-radius: var(--radius-btn);
  color: var(--white);
  font: inherit;
  font-size: 16px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(141, 198, 63, .45);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 14px; margin: 0; }
.form-note {
  color: var(--muted);
  font-size: var(--fs-small);
  margin: 0;
}
.form-status { color: var(--lime); font-weight: 500; margin: 0; }
/* Empty, it takes no room in the form but stays in place as a live region */
.form-status:empty { position: absolute; }
.form-status[data-state="busy"] { color: var(--muted); }
.form-status[data-state="draft"] { color: var(--text); }
.form-status[data-state="invalid"],
.form-status[data-state="error"] { color: var(--error); }
/* While a form sends, its button ignores clicks but keeps focus */
.btn[aria-disabled="true"] { opacity: .7; cursor: progress; }
/* A field people never see: form services drop entries that fill it (spam) */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 56px 0 120px;
  font-size: 15px;
}
@media (min-width: 768px) { .site-footer { padding-bottom: 48px; } }

/* The site directory: four link columns (two on phones), then the contact
   block and social links, then the legal lines */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}
@media (min-width: 768px) {
  .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .footer-contact { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
.footer-col { min-width: 0; }
/* Long addresses break (after the @ first, where the markup has <wbr>)
   rather than run past the column and its OWNER REVIEW outline */
.footer-col a[href^="mailto:"] { overflow-wrap: anywhere; }
.footer-col h2 {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text); text-decoration: none; }
/* Links inside a sentence (phone, email) stay underlined so they read as links */
.footer-col p a { text-decoration: underline; }
.footer-col a:hover { color: var(--lime); text-decoration: underline; }

.social-list { display: flex !important; flex-wrap: wrap; gap: 8px 16px !important; }
.hashtag { color: var(--lime); font-weight: 700; }

.footer-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.footer-legal p { margin: 0; }

/* Stripe test links identify themselves in the draft, including without JS.
   Live Payment Links do not match this selector. */
a[data-buy][href^="https://buy.stripe.com/test_"]::after {
  content: "Test mode";
  margin-left: 4px;
  padding-left: 8px;
  border-left: 1px solid currentColor;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
}
/* ---------- Sticky buy bar (phones) ---------- */

.buy-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--panel);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  /* Hidden means hidden: not painted or reachable while parked below the
     screen; visibility switches after the slide-out finishes */
  visibility: hidden;
  transition: transform .2s var(--ease), visibility 0s linear .2s;
}
.buy-bar.is-visible { transform: translateY(0); visibility: visible; transition: transform .2s var(--ease); }
.buy-bar__name { color: var(--white); font-weight: 700; font-size: 14px; line-height: 1.2; }
.buy-bar__price { color: var(--muted); font-size: 13px; }
.buy-bar__text { flex: 1; min-width: 0; }
.buy-bar .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
@media (min-width: 768px) { .buy-bar { display: none; } }
/* Short screens (a phone held sideways, or 400% zoom): the header scrolls
   away and the buy bar stays off, so they do not crowd out the page */
@media (max-height: 420px) {
  html { scroll-padding-top: 16px; }
  .site-header { position: relative; }
  .buy-bar { display: none; }
}
/* Keyboard focus and anchor jumps stop above the phone buy bar, so the bar
   never hides the focused link */
@media (max-width: 767px) {
  html:has(.buy-bar) { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* ---------- Toast (draft notices) ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 15px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion: fade up 8 px in 200 ms ---------- */

.reveal { opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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


/* ---------- Announcement line: one real offer, never rotates ---------- */

.announce {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.announce__inner { display: flex; justify-content: center; }
.announce__btn {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  min-height: 36px;
  padding: 6px 4px;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--font-pixel);
  font-size: var(--fs-label);
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
}
.announce__cta { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
/* Not shown after a purchase. The line holds its place from the first paint,
   so nothing moves down when the script runs. Its button, which only the
   script can make work, shows once the script has run and stays hidden if it
   never does. With scripting switched off the line is not there at all in
   browsers that know (scripting: none): Chrome and Edge 120, Firefox 113 and
   Safari 17 on. Older ones keep the empty band. */
body[data-offer="off"] .announce { display: none; }
.no-js .announce__btn { visibility: hidden; }
@media (scripting: none) { .announce { display: none; } }
/* Below 420 px the line keeps to one row: "with your welcome code" is
   still read out, but not shown */
@media (max-width: 419px) {
  .announce__more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.announce__btn:hover .announce__cta { color: var(--white); }

/* A button that reads as a text link */
.link-button {
  padding: 0;
  background: none;
  border: 0;
  color: var(--lime);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-button:hover { color: var(--white); }

/* ---------- Welcome offer dialog ---------- */

.offer {
  width: min(440px, calc(100% - 2 * var(--gutter)));
  max-height: calc(100% - 32px);
  overflow-y: auto;
  padding: 28px 24px 24px;
  background: var(--panel);
  background-image: var(--honeycomb);
  border: 2px solid var(--lime);
  border-radius: var(--radius-card);
  color: var(--text);
}
.offer::backdrop { background: rgba(7, 8, 7, .78); }
.offer[open] { animation: offer-in .2s var(--ease); }
@keyframes offer-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.offer__close {
  /* Stays in view when a short screen makes the dialog scroll */
  position: sticky;
  top: 0;
  z-index: 1;
  margin: -18px -14px -22px auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--panel);
  color: var(--white);
  cursor: pointer;
}
.offer__close svg { width: 18px; height: 18px; }
.offer .callout { margin-bottom: 14px; }
.offer__title {
  font-size: clamp(26px, 20px + 1.6vw, 34px);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 40px 12px 0;
}
.offer__step { display: grid; gap: 16px; }
.offer__step[hidden] { display: none; }
.offer__line { margin: 0; font-size: var(--fs-body); font-weight: 500; }
.offer__form { gap: 14px; }
.offer__form .btn { width: 100%; }
.offer__fine { margin: 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.offer__code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border: 2px dashed var(--lime);
  border-radius: var(--radius-btn);
  background: var(--bg);
}
/* The code never shrinks under its own width; the Copy button wraps below it instead */
.offer__code-text {
  flex: 1;
  min-width: auto;
  color: var(--lime);
  font-family: var(--font-pixel);
  font-size: clamp(26px, 8vw, 32px);
  line-height: 1;
  letter-spacing: .06em;
  white-space: nowrap;
  user-select: all;
}
.offer__copy { min-height: 44px; padding: 0 16px; font-size: 14px; }
.offer__buy { width: 100%; }

.offer-hint { margin: 8px 0 0; font-size: 15px; }

/* ==================== Homepage (index.html) ==================== */

/* Off Meta Nootropics — homepage screens (index.html only)
   Six numbered screens, 01/06 to 06/06, built on the shared parts in
   style.css. Phone first at 390 px; from 768 px each screen becomes two
   columns (at most 1,200 px), consecutive screens swapping sides. */

/* ---------- Screen frame ---------- */

.screen {
  position: relative;
  /* Own stacking context, so the bottle glow (z-index -1) sits above the
     screen background but behind the bottle. */
  isolation: isolate;
  overflow-x: clip;
  padding: 24px 0 32px;
}
.screen + .screen { border-top: 1px solid rgba(70, 94, 32, .55); }

.screen__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.screen__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.screen__top > :last-child { margin-left: auto; }

.screen__head { margin-bottom: 28px; }
.screen__head .line { margin: 14px 0 0; max-width: 32em; }

.hero-headline,
.screen-headline {
  margin: 0;
}
/* Headings balance their lines (above). On wider screens these headlines sit
   in narrow columns, where balancing a sentence splits its phrases ("EVERY /
   DOSE LISTED."), so sentences wrap "pretty" there, or plainly where "pretty"
   is not supported. Headlines with one lime part keep balancing, which evens
   their lines ("FOCUS WITHOUT / THE CRASH†"); a short one can still leave a
   word alone ("WHAT TO / EXPECT" in a desktop window 768 to 781 px wide). */
@media (min-width: 768px) {
  .hero-headline { text-wrap: wrap; text-wrap: pretty; }
  .screen-headline:not(:has(> .lime:only-of-type)) { text-wrap: wrap; text-wrap: pretty; }
}

.screen__art { min-width: 0; margin-bottom: 28px; }
.screen__body { min-width: 0; }
.screen__body > :last-child { margin-bottom: 0; }

.screen__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .screen {
    display: flex;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding: 36px 0 32px;
  }
  .screen__inner {
    flex: 1;
    column-gap: 48px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    /* The two flexible rows centre the text block against the art. */
    grid-template-rows: auto 1fr auto auto 1fr auto;
    grid-template-areas:
      "top  top"
      ".    art"
      "head art"
      "body art"
      ".    art"
      "foot foot";
  }
  .screen--art-left .screen__inner {
    grid-template-areas:
      "top  top"
      "art  ."
      "art  head"
      "art  body"
      "art  ."
      "foot foot";
  }
  .screen__top { grid-area: top; margin-bottom: 36px; }
  .screen__head { grid-area: head; }
  .screen__art { grid-area: art; align-self: center; margin-bottom: 0; }
  .screen__body { grid-area: body; }
  .screen__foot { grid-area: foot; margin-top: 36px; }
}

@media (min-width: 1024px) {
  .screen__inner { column-gap: 72px; }
}

/* ---------- 01/06 Update available ---------- */

.hero-headline .lime { display: block; text-wrap: balance; }

.screen--hero { padding-block: 16px 24px; }
.screen--hero .screen__top { margin-bottom: 12px; }
.screen--hero .screen__top .progress { margin-left: 0; }
.screen--hero .screen__head,
.screen--hero .screen__art { margin-bottom: 14px; }
.screen--hero .screen__body .line { margin: 0 0 12px; max-width: 31em; }

.upgrade-scene {
  --slot: clamp(40px, 11.5vw, 50px);
  display: grid;
  grid-template-columns: auto minmax(0, 200px);
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
}
.upgrade-board { display: grid; justify-items: start; gap: 8px; }

/* The update tag is the last beat of the brain row, aimed at the pack. */
.hero-callout {
  position: relative;
  justify-self: end;
  margin-right: 8px;
  padding: 6px 8px 5px;
  font-size: 16px;
}
.hero-callout::after {
  content: "";
  position: absolute;
  left: 100%;
  top: calc(50% - 7px);
  width: 8px;
  height: 14px;
  background: var(--lime);
  clip-path: polygon(0 0, 50% 0, 50% 25%, 75% 25%, 75% 40%, 100% 40%, 100% 60%, 75% 60%, 75% 75%, 50% 75%, 50% 100%, 0 100%);
}
.screen--hero .bottle-frame { padding: 6px 0; width: 100%; }
.screen--hero .bottle-img { width: auto; max-height: min(32svh, 247px); }

@media (max-width: 767px) {
  .screen--hero .hero-headline { font-size: clamp(28px, 7.9vw, 40px); }
  .screen--hero .buy-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 20px;
    margin-bottom: 12px;
  }
}

@media (min-width: 768px) {
  .screen--hero { padding-block: 24px; }
  .screen--hero .screen__inner {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    column-gap: clamp(18px, 2.6vw, 36px);
  }
  .screen--hero .hero-headline { font-size: clamp(34px, 3.65vw, 54px); }
  .screen--hero .screen__head { margin-bottom: 18px; }
  .screen--hero .screen__art { margin-bottom: 0; }
  .upgrade-scene { --slot: 50px; grid-template-columns: auto minmax(0, 322px); }
  .screen--hero .bottle-img { width: 100%; max-height: none; }
  .upgrade-board { gap: 12px; }
}
/* Keep the purchase action in the first view on short portrait phones. */
@media (max-width: 767px) and (max-height: 700px) {
  .screen--hero .screen__top { margin-bottom: 6px; }
  .screen--hero .screen__head,
  .screen--hero .screen__art { margin-bottom: 8px; }
  .screen--hero .screen__body .line { font-size: 16px; line-height: 1.4; margin-bottom: 8px; }
  .screen--hero .bottle-img { max-height: 26svh; }
  .upgrade-board { gap: 5px; }
}
@media (max-width: 359px) and (max-height: 650px) {
  .screen--hero .screen__body { grid-row: 3; }
  .screen--hero .screen__art { grid-row: 4; margin: 12px 0 0; }
}
/* At tablet widths the headline spans the scene and purchase summary. */
@media (min-width: 768px) and (max-width: 999px) {
  .screen--hero .screen__inner {
    grid-template-areas: "top top" "head head" "body art" "foot foot";
    grid-template-rows: auto auto 1fr auto;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  }
  .screen--hero .screen__body { align-self: center; }
  .screen--hero .hero-headline { max-width: 23em; }
}
@media (min-width: 1024px) { .upgrade-scene { --slot: clamp(60px, 5.4vw, 72px); } }

.uptodate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px 4px;
  border: 1px solid var(--muted);
  color: var(--white);
  font-family: var(--font-pixel);
  font-size: var(--fs-label);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.uptodate__tick { flex: none; width: 16px; height: 10px; }

.board-row {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
@media (min-width: 1024px) {
  .board-row { gap: 8px; }
}

.board-cell {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.board-slot {
  --cut: 8px;
  width: var(--slot);
  height: var(--slot);
}
.board-slot--current { background: var(--lime); }
.board-slot--current::before { inset: 2px; }

.version--stuck { color: var(--muted); }

.board-sep {
  flex: none;
  align-self: flex-start;
  margin-top: calc((var(--slot) - 14px) / 2);
}
.pixel-equals { margin-top: calc((var(--slot) - 10px) / 2); }

/* Sprite sizes: 2 px per pixel on phones, 3 px from 1,024 px */
.sprite--phone1 { width: 28px; }
.sprite--phone2, .sprite--phone3 { width: 24px; }
.sprite--brain { width: 40px; }
@media (min-width: 1024px) {
  .sprite--phone1 { width: 42px; }
  .sprite--phone2, .sprite--phone3 { width: 36px; }
  .sprite--brain { width: 60px; }
}

/* Bottle in its bracket frame, with small lime ticks and the one glow */
.bottle-frame {
  --b: 20px;
  padding: 14px;
  width: 100%;
}
/* The pack photo, cut out of listing image 1; its size attributes hold the box */
.bottle-img { width: 100%; height: auto; }
.bottle-frame::after { inset: -6%; }

@media (min-width: 1024px) {
  .bottle-frame { --b: 26px; padding: 24px; }
}

.frame-tick {
  position: absolute;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--lime), var(--lime)) center / 100% 3px no-repeat,
    linear-gradient(var(--lime), var(--lime)) center / 3px 100% no-repeat;
  pointer-events: none;
}
.frame-tick--top { top: 18%; right: 4px; }
.frame-tick--bottom { bottom: 14%; left: 4px; }


.buy-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .buy-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
  }
}

.price {
  margin: 0;
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-name);
  line-height: 1.2;
}
.price-note { margin: 4px 0 16px; color: var(--text); font-size: 15px; line-height: 1.45; }

.screen--hero .fda { margin: 0; max-width: 36em; }

/* ---------- 02/06 The loadout: the one lime screen ---------- */

.screen--lime {
  background: var(--lime);
  color: var(--ink);
}
.screen--lime + .screen,
.screen + .screen--lime { border-top: 0; }

.screen--lime .screen-headline,
.screen--lime .line { color: var(--ink); }

.screen--lime .progress { color: var(--ink); }
.screen--lime .progress__seg { background: rgba(7, 8, 7, .28); }
.screen--lime .progress__seg.is-filled { background: var(--ink); }

.screen--lime .tag { color: var(--ink); border-color: var(--ink); }
.screen--lime .tag::before { background: var(--ink); }

.screen--lime .next-up { color: var(--ink); }
.screen--lime a.next-up:hover { color: var(--ink); text-decoration: underline; }
.screen--lime :focus-visible { outline-color: var(--ink); }

@media (min-width: 768px) {
  .screen--loadout .screen__inner { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
}

/* The card grid follows the width it is given: one column on phones and
   in the narrow tablet column, two once each card has room. */
.screen--loadout .screen__art { container-type: inline-size; }
.loadout {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@container (min-width: 560px) {
  .loadout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Card on the lime screen: black, no border */
.ing {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 18px 16px;
  background: var(--ink);
  border-radius: var(--radius-card);
  color: var(--text);
}
/* Selection frame, in place of a count-up: the amounts stay as printed.
   A lime ring, inset from the card's edge so it shows against the lime
   screen, passes over each card once as its top edge comes into view
   (main.js adds .is-scanned to the card), and marks the card being pointed
   at or used from the keyboard. */
.ing { position: relative; }
.ing::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: calc(var(--radius-card) - 5px);
  box-shadow: inset 0 0 0 2px var(--lime);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
@media (hover: hover) {
  .ing:hover::after { opacity: 1; }
}
.ing:has(:focus-visible)::after { opacity: 1; }
.ing.is-scanned::after {
  animation: ing-select .6s var(--ease) calc(var(--scan-order, 0) * 120ms) backwards;
}
@keyframes ing-select {
  0%, 100% { opacity: 0; }
  40% { opacity: 1; }
}
.ing__slot { --cut: 8px; width: 52px; height: 52px; }
.ing__slot .sprite { width: 32px; }

.ing__name {
  margin: 0 0 6px;
  color: var(--white);
  font-size: var(--fs-name);
  line-height: 1.15;
  /* Plain wrapping keeps a label name whole: balanced, it splits "ALPHA / GPC" */
  text-wrap: wrap;
}
.ing__form {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.ing__dose {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.ing__mg {
  margin-right: 4px;
  color: var(--lime);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}
/* A line in the guide's sense: Poppins 500 in --text, 18 px at the
   bottom of its 18 to 22 px range so two cards fit side by side. */
.ing__line {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

/* Inspect your loadout (strategy review, 7 November 2026): the real
   bottle and three label facts name the item, every amount stays in
   view, and each ingredient's details open in place. */
.inspect-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 12px 16px 12px 12px;
  background: var(--ink);
  border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 2px var(--lime);
}
.inspect-item__img { width: 84px; height: auto; }
.inspect-item__facts { margin: 0; gap: 8px; }
@media (min-width: 768px) {
  .inspect-item { grid-template-columns: 1fr; justify-items: center; max-width: 320px; padding: 20px 16px; text-align: center; }
  .inspect-item__img { width: 132px; }
  .inspect-item__facts { justify-content: center; }
}
.ing__note { margin: 0 0 8px; color: var(--text); font-size: 14px; font-weight: 500; line-height: 1.4; }
.ing__more { margin-top: 10px; padding-top: 4px; border-top: 1px solid var(--line); }
.ing__more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ing__more summary::-webkit-details-marker { display: none; }
.ing__more summary::after { content: "+"; content: "+" / ""; font-size: 20px; line-height: 1; }
.ing__more[open] summary::after { content: "\2212"; content: "\2212" / ""; }
/* An open card no longer stretches the card beside it */
.loadout:has(.ing__more[open]) { align-items: start; }
.ing :focus-visible { outline-color: var(--lime); }
.ing__facts { margin: 4px 0 12px; display: grid; gap: 10px; }
.ing__facts dt { color: var(--white); font-size: 14px; font-weight: 700; }
.ing__facts dd { margin: 2px 0 0; color: var(--text); font-size: 15px; line-height: 1.5; }
.ing__src { margin: 0 0 6px; font-size: 15px; }
.ing__src a { color: var(--lime); }
.loadout__links { margin: 16px 0 0; color: var(--ink); font-weight: 600; }
.loadout__links a { color: var(--ink); }

/* ---------- Stat tiles (screen 03 until 8 November; kept for reuse) ---------- */

.stat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stat-tile {
  justify-content: flex-end;
  min-height: 132px;
  /* 14 px sides keep PROPRIETARY and NOOTROPICS inside the tile at 320 px */
  padding: 20px 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
@media (min-width: 1024px) {
  .stat-tile { min-height: 168px; padding: 24px; }
}

/* ---------- 03/06 Quest log: what to expect ---------- */

.expect-card { padding: 24px 20px; }
@media (min-width: 1024px) {
  .expect-card { padding: 32px 28px; }
}
.results-note {
  margin: 24px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.expect { margin: 0; display: grid; gap: 18px; }
.expect__item { padding-left: 14px; border-left: 3px solid var(--lime); }
/* The marked statements keep the list's 18 px rhythm plus room for the outline. */
.expect-review { margin-bottom: 22px; }
.expect__title { margin: 0 0 4px; color: var(--white); font-size: var(--fs-name); font-weight: 700; line-height: 1.2; }
.expect dd { margin: 0; color: var(--text); line-height: 1.5; }

/* ---------- 04/06 No hidden stats ---------- */

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.trust {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.line-icon svg { width: 48px; height: 48px; }
.trust__title {
  margin: 0;
  color: var(--white);
  font-size: var(--fs-name);
  line-height: 1.25;
}
.trust__text p { margin: 4px 0 0; font-size: 15px; }

/* ---------- 05/06 How to play ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.step {
  position: relative;
  padding: 16px 14px;
}
/* Grey pixel arrow between the two steps */
.step + .step::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 50%;
  width: 12px;
  height: 21px;
  transform: translateY(-50%);
  background: var(--muted);
  clip-path: polygon(0 0, 25% 0, 25% 14.29%, 50% 14.29%, 50% 28.57%, 75% 28.57%, 75% 42.86%, 100% 42.86%, 100% 57.14%, 75% 57.14%, 75% 71.43%, 50% 71.43%, 50% 85.71%, 25% 85.71%, 25% 100%, 0 100%);
}
.step .chip { min-height: 26px; padding: 2px 10px; font-size: 12px; }
.step__dose {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
}
.step__num {
  color: var(--lime);
  font-size: clamp(56px, 40px + 3vw, 84px);
  font-weight: 700;
  line-height: .9;
}
.step__what {
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
}
.step__what strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  letter-spacing: .02em;
}
.how-chips { margin-top: 16px; }

/* In a narrow column (the tablet layout, small phones) the steps stack
   and the arrow turns to point down. */
.screen--how .screen__art { container-type: inline-size; }
@container (max-width: 339px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step + .step::before {
    left: 50%;
    top: -22.5px;
    transform: translateX(-50%) rotate(90deg);
  }
}
.how-chips .chip { font-size: 13px; }

/* ---------- 06/06 Tutorial complete ---------- */

.role-chips { margin-bottom: 24px; }

@media (min-width: 768px) {
  .screen--finale .screen__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  }
  .screen--finale.screen--art-left .screen__inner {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  }
}

/* A review note under the pack photo keeps to the photo's width */
.finale .pack-review { max-width: 34ch; text-align: left; }
.finale {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  margin-top: 36px;
}
@media (min-width: 768px) {
  .finale { margin-top: 0; }
}
.finale .motto { margin: 0; }
.finale .bottle-frame { width: min(100%, 300px); }
.finale .btn { min-width: 260px; }
.guarantee-line,
.faq-link { margin: 0; font-size: 15px; }
.guarantee-line a { font-weight: 500; }


/* ---------- Homepage depth: parallax layers (owner's request, 7 October 2026) ---------- */

/* The honeycomb moves slower than the page. With the script off it stays on the body. */
.parallax-honeycomb { display: none; }
.parallax-on .parallax-honeycomb {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  top: -100px;
  height: calc(100vh + 200px);
  z-index: -1;
  background-image: var(--honeycomb);
  pointer-events: none;
  will-change: transform;
}
.parallax-on body { background-image: none; }

/* A large pixel number per screen, like a level marker, on the side
   opposite the art so it never crowds the visual */
.screen__ghost {
  position: absolute;
  z-index: -1;
  top: 4%;
  left: -1%;
  font-family: var(--font-pixel);
  font-size: clamp(170px, 30vw, 400px);
  line-height: .8;
  color: rgba(141, 198, 63, .07);
  pointer-events: none;
  user-select: none;
  will-change: translate;
}
.screen--art-left .screen__ghost { left: auto; right: -1%; }
.screen--lime .screen__ghost { color: rgba(7, 8, 7, .08); }

[data-parallax] { will-change: translate; }

/* ==================== Product page (the-gigachad-stack.html) ==================== */

/* Off Meta Nootropics — product page (the-gigachad-stack.html)
   Loaded right after style.css. Uses the shared tokens and parts; only the
   buy box, gallery placeholders and section layout are defined here. */

/* ---------- Buy box ---------- */

.product-hero {
  padding: 24px 0 48px;
}

.buybox {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "body"
    "gallery";
  gap: 20px;
}
.buybox__head {
  grid-area: head;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(68px, 23vw, 112px);
  gap: 12px;
  align-items: center;
}
.buybox__peek {
  display: block;
  aspect-ratio: 1;
  background: var(--bg) url("../assets/product/pack-320.webp") center / contain no-repeat;
}
@media (min-width: 768px) {
  .buybox__head { display: block; }
  .buybox__peek { display: none; }
}
.buybox__gallery { grid-area: gallery; }
.buybox__body { grid-area: body; }

.buybox__name {
  margin: 14px 0 0;
  font-size: var(--fs-screen);
  line-height: 1.1;
  text-transform: uppercase;
}

.buybox__line { margin: 0 0 12px; }

.buybox__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.buybox__facts .owner-review { flex: 1 1 100%; }
.buybox__facts .review-note { max-width: 46ch; }

.buybox__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}
.buybox__links a { padding-block: 6px; }
.price-qualifier { display: block; color: var(--muted); font: 500 14px/1.25 var(--font-sans); }
.buy-bar__price .price-qualifier { display: inline; margin-left: .4em; }
@media (max-width: 767px) {
  .product-hero { padding-top: 16px; }
  .buybox { gap: 14px; }
  .buybox__name { margin-top: 8px; }
  .buybox__gallery { width: min(100%, 408px); justify-self: center; }
}

.buybox__price {
  margin: 0;
  color: var(--white);
  font-size: var(--fs-name);
  font-weight: 700;
  line-height: 1.2;
}

.buybox__fda {
  margin: 16px 0 0;
  max-width: 52ch;
}

/* Two columns from 768 px: the phone buy bar is hidden from that width, so
   the price and BUY NOW have to sit beside the gallery, not under it */
@media (min-width: 768px) {
  .buybox {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "gallery head"
      "gallery body";
    column-gap: 32px;
    row-gap: 20px;
    align-items: start;
  }
  .buybox__buy { width: 100%; max-width: 420px; }
}
@media (min-width: 900px) {
  .product-hero { padding: 48px 0 72px; }
  .buybox { column-gap: 56px; }
}

/* ---------- Gallery placeholders (the Amazon listing images go here) ---------- */

.gallery { display: grid; gap: 12px; }

/* The shared bottle frame, drawn a little tighter around the main image */
.gallery__frame {
  --b: 22px;
  padding: 14px;
  isolation: isolate;
}

/* The main image opens a larger view (a link to the full-size file
   without the script) */
.gallery__zoom { position: relative; display: block; width: 100%; cursor: zoom-in; }
.gallery__main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--bg);
}
.gallery__zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px 4px;
  border: 1px solid var(--line);
  background: rgba(7, 8, 7, .8);
  color: var(--white);
  font-family: var(--font-pixel);
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}
/* Shown on mouse hover or keyboard focus only, so it never covers the
   image's own words; phones need no hint to tap an image */
.gallery__zoom-hint { opacity: 0; transition: opacity .2s var(--ease); }
.gallery__zoom:hover .gallery__zoom-hint,
.gallery__zoom:focus-visible .gallery__zoom-hint { opacity: 1; }
@media (hover: none) { .gallery__zoom-hint { display: none; } }

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 14px;
}
.gallery__thumb {
  aspect-ratio: 1 / 1;
  padding: 4px;
  font-size: 15px;
}
a.gallery__thumb {
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
a.gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
a.gallery__thumb:hover { border-color: var(--muted); }
.gallery__thumb.is-current {
  border-style: solid;
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
  color: var(--white);
}
/* High-contrast modes drop the lime border and shadow */
@media (forced-colors: active) {
  .gallery__thumb.is-current { outline: 3px solid Highlight; outline-offset: 2px; }
}

.gallery__review { margin: 6px 14px 0; }
.gallery__review summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.gallery__review .review-note { margin-top: 8px; }

/* ---------- Sections below the buy box ---------- */

.product-section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.product-section:last-of-type { padding-bottom: 72px; }

.product-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.product-section__title {
  margin: 14px 0 0;
  font-size: var(--fs-screen);
  line-height: 1.1;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .product-section { padding: 72px 0; }
  .product-section__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    column-gap: 56px;
    align-items: start;
  }
  .product-section__head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* Accordion titles: names and titles size on the product details */
.product-details .accordion summary {
  min-height: 64px;
  font-size: var(--fs-name);
}
.faq .accordion summary {
  font-size: clamp(17px, 16px + .25vw, 19px);
}

.product-section .accordion__body h3:not(.facts__title) {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}
.product-section .accordion__body > * + * { margin-top: 20px; }

/* ---------- Supplement Facts and Facts & Use ---------- */

.facts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
/* Side by side only once the second column gets about 240 px; narrower,
   the free-from list wraps every two or three words */
@media (min-width: 1200px) {
  .facts-layout {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    grid-template-areas:
      "panel use"
      "pack  use";
  }
  .facts-wrap { grid-area: panel; }
  .facts-use { grid-area: use; }
  .facts-pack { grid-area: pack; }
  .facts-layout .facts-use__list { columns: 1; }
}

/* Row-header weight, wrapping and the closing rule now live in style.css */
.facts p + p { margin-top: 2px; }

.facts-use__list {
  columns: 2;
  column-gap: 24px;
  margin: 0 0 1em;
  padding-left: 1.2em;
}
.facts-use__list li { margin-bottom: 4px; break-inside: avoid; }
.facts-use__list li::marker { color: var(--lime); }

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
  font-weight: 500;
}

/* ---------- FAQ ---------- */

.faq__quick summary { letter-spacing: .01em; }

.faq__next {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

/* The kept old-site answers sit in one OWNER REVIEW block */
.faq__kept { margin-top: 0; }
.faq__kept > .review-note { margin: 12px 0 4px; }
/* A mark inside the block: inset so its outline does not sit on the block's */
.faq__kept .accordion__body .owner-review { margin-right: 10px; }

/* ---------- Science page ---------- */

.prose .lede {
  font-size: var(--fs-line);
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
}

/* The label's wording for each ingredient, above its studies */
.serving {
  padding: 10px 14px;
  border-left: 3px solid var(--lime);
  background: var(--panel);
}
.prose .serving strong { color: var(--white); font-weight: 500; }

/* One card per study: who, what they took, what was measured and found, who paid */
.study { margin: 0 0 16px; }
.prose .study__title { margin: 0; font-size: 18px; line-height: 1.3; }
.study__cite { margin: 2px 0 14px; color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.study__facts { display: grid; gap: 10px; margin: 0; font-size: 16px; line-height: 1.55; }
.study__facts > div { display: grid; gap: 2px; }
.study__facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.study__facts dd { margin: 0; }
@media (min-width: 640px) {
  .study__facts > div { grid-template-columns: 10.5em minmax(0, 1fr); gap: 16px; }
  .study__facts dt { padding-top: 2px; }
}

.in-short {
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(141, 198, 63, .08);
  color: var(--white);
}
.prose .in-short strong { color: var(--lime); }

.refs { font-size: 15px; line-height: 1.55; }
.refs li { margin-bottom: 8px; overflow-wrap: anywhere; }
.refs li:target { outline: 1px solid var(--lime); outline-offset: 4px; }
.science__next { margin-top: 40px; }

/* Charts: one hue. A filled lime dot is one serving; a hollow lime ring is
   a dose used in a study (a longer ring is a range). Each chart has its
   numbers as text beside it and, for the doses, a table. */
.chart {
  margin: 24px 0 32px;
  padding: 20px 16px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
@media (min-width: 640px) { .chart { padding: 24px 24px 20px; } }
.chart__head { display: block; margin: 0 0 18px; }
.chart__title { display: block; color: var(--white); font-weight: 700; font-size: 18px; line-height: 1.3; }
.chart__sub { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-size: var(--fs-small); color: var(--text); }
.chart__key { display: inline-flex; align-items: center; gap: 8px; }
.chart__key .mark { position: relative; top: auto; left: auto; transform: none; flex: none; }

.mark {
  position: absolute;
  top: 50%;
  left: var(--x, 0);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left .6s var(--ease) .1s;
}
.mark--study { border: 2px solid var(--lime); background: var(--panel); }
.mark--range { width: calc(var(--w) + 16px); border-radius: 999px; transform: translate(-8px, -50%); }
/* One serving: a filled dot (on the dose chart it has its own line) */
.mark--stack {
  z-index: 1;
  width: 10px;
  height: 10px;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--panel);
}

.dose-chart { display: grid; gap: 16px; container-type: inline-size; }
.dose-row__name { margin: 0; color: var(--white); font-weight: 700; font-size: 16px; line-height: 1.3; }
.dose-row__vals { margin: 2px 0 6px; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
.prose .dose-row__vals strong { color: var(--text); font-weight: 500; }
/* Two lines on a 0 to 700 mg scale, gridlines every 200 mg: the serving
   on the dashed top line, the study doses on the solid line below. The
   label amount never sits on a study dose, and every mark is a separate
   24 px target (WCAG 2.5.8). */
.dose-row__track {
  position: relative;
  height: 52px;
  margin: 0 8px;
  background-image:
    repeating-linear-gradient(to right, rgba(141, 198, 63, .55) 0 4px, transparent 4px 8px),
    linear-gradient(var(--line), var(--line)),
    repeating-linear-gradient(to right, rgba(70, 94, 32, .6) 0 1px, transparent 1px 28.5714%);
  background-size: 100% 1px, 100% 1px, 100% 100%;
  background-position: 0 12px, 0 40px, 0 0;
  background-repeat: no-repeat;
}
.dose-row__track .mark--stack { top: 12px; }
.dose-row__track .mark--study { top: 40px; }
/* Where two study doses sit closer than a target's width on a narrow
   chart, the second steps down a row, as in a stacked dot plot. */
@container (max-width: 420px) {
  .dose-row--bump .dose-row__track { height: 80px; }
  .dose-row--bump .dose-row__track .mark--bump { top: 68px; }
}
@container (max-width: 296px) {
  .dose-row--bump-narrow .dose-row__track { height: 80px; }
  .dose-row--bump-narrow .dose-row__track .mark--bump-narrow { top: 68px; }
}

.chart__axis {
  position: relative;
  height: 18px;
  margin: 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}
.chart__axis span { position: absolute; left: var(--x); transform: translateX(-50%); white-space: nowrap; }
.chart__axis--flush { margin: 4px 0 0; }
.chart__axis--flush span:first-child { transform: none; }
.chart__axis--flush span:last-child { transform: translateX(-100%); }

.chart__notes {
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.prose .chart__notes li { margin-bottom: 4px; }
.prose .chart__notes strong { color: var(--text); font-weight: 500; }

.chart__table { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.chart__table summary { padding: 10px 0; cursor: pointer; color: var(--lime); font-weight: 500; font-size: 15px; }
.chart__table summary:hover { color: var(--white); }
.chart__table[open] summary { margin-bottom: 8px; }
.prose .chart__table table { font-size: 14px; }
.prose .chart__table th[scope="row"] { font-weight: 500; white-space: nowrap; }
.prose .chart__table thead th:last-child,
.prose .chart__table td:last-child { white-space: nowrap; }
.prose .chart__group th { padding-top: 16px; color: var(--lime); font-weight: 500; }

/* Heavy metals: each bar runs to the certificate's limit */
.limit-chart { display: grid; gap: 14px; }
.limit-row__name { margin: 0; color: var(--white); font-weight: 700; font-size: 16px; line-height: 1.3; }
.limit-row__vals { margin: 2px 0 6px; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
.prose .limit-row__vals strong { color: var(--lime); font-weight: 700; }
.limit-row__track {
  height: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(70, 94, 32, .18);
  overflow: hidden;
}
.limit-row__fill {
  display: block;
  width: var(--x);
  height: 100%;
  background: var(--lime);
  transform-origin: left center;
  transition: transform .6s var(--ease) .1s;
}

/* Motion: as each chart row comes into view, its study rings slide out from
   zero, then the serving dot follows them into place; the metal bars grow
   from the left. Without the script, or with reduced motion, every mark is
   drawn in place. */
html:not(.no-js) .dose-row:not(.is-in) .dose-row__track .mark { left: 0; }
html:not(.no-js) .limit-row:not(.is-in) .limit-row__fill { transform: scaleX(0); }
.dose-row .mark--study { transition: left .4s var(--ease); }
.dose-row .mark--stack { transition: left .6s var(--ease) .45s; }
/* A mark is a button: a tap or keyboard focus shows its label */
/* The button is a 24 px target for a finger; the ring or dot is drawn
   inside it at its usual size. */
.chart button.mark { width: 24px; height: 24px; padding: 0; border: 0; background: none; box-shadow: none; cursor: pointer; font: inherit; }
.chart button.mark::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--lime); background: var(--panel); }
/* The serving dot is a 24 px target too, on its own line; the 10 px dot
   is drawn at its centre. */
.chart button.mark--stack::before { inset: 7px; border: 0; background: var(--lime); }
/* Windows High Contrast drops backgrounds and gradients: draw the serving
   dot, the legend's dot, the two lines and the limit bars in the system
   text colour instead. */
@media (forced-colors: active) {
  .chart__key .mark--stack,
  .chart button.mark--stack::before { forced-color-adjust: none; background: CanvasText; box-shadow: none; }
  .dose-row__track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 29px; border-top: 1px dashed CanvasText; border-bottom: 1px solid CanvasText; }
  .limit-row__fill { forced-color-adjust: none; background: CanvasText; }
}
.chart button.mark:focus-visible { outline: 3px solid var(--white); outline-offset: 0; }
.dose-row__verdict { margin: 0 0 8px; color: var(--text); font-size: var(--fs-small); line-height: 1.45; }

/* Hover label for a chart mark (mouse only; the numbers are also in text) */
.chart-tip {
  position: fixed;
  z-index: 70;
  max-width: 260px;
  padding: 6px 10px;
  border: 1px solid var(--lime);
  border-radius: 6px;
  background: var(--bg);
  color: var(--white);
  font-size: 13px;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s var(--ease);
}
.chart-tip.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Enlarged gallery image ---------- */

/* Opens from the product gallery. Fits the screen first; a click or tap on
   the image shows it at full size, scrollable, and another click fits it
   again. */
.zoom {
  --zoom-strip: 0px;
  max-width: 96vw;
  max-height: 92vh;
  padding: var(--zoom-strip) 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
/* On phones, Close sits in its own strip above the image so it never
   covers the image's words */
@media (max-width: 767px) { .zoom { --zoom-strip: 56px; } }
.zoom::backdrop { background: rgba(7, 8, 7, .88); }
/* The 2px is the dialog's border */
.zoom__stage {
  max-height: calc(92vh - 2px - var(--zoom-strip));
  overflow: auto;
  overscroll-behavior: contain;
}
.zoom__toggle {
  display: block;
  margin-inline: auto; /* centres a picture narrower than the screen */
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
/* The stage would clip a ring on the button, so it goes round the box */
.zoom__toggle:focus-visible { outline: none; }
.zoom:has(.zoom__toggle:focus-visible) { outline: 3px solid var(--lime); outline-offset: 3px; }
/* Fitted: the largest square the screen allows, held before the file
   arrives. Zoomed: the size set in the image's width and height. */
.zoom__img { max-width: none; }
.zoom:not(.is-zoomed) .zoom__img {
  width: min(calc(96vw - 2px), calc(92vh - 2px - var(--zoom-strip)));
  aspect-ratio: 1 / 1;
}
.zoom.is-zoomed { width: 96vw; height: 92vh; }
.zoom.is-zoomed .zoom__stage { height: 100%; }
.zoom.is-zoomed .zoom__toggle { cursor: zoom-out; }
/* The page behind stays put while a dialog is open; the reserved
   scrollbar space stops it shifting sideways */
html { scrollbar-gutter: stable; }
body:has(dialog:modal) { overflow: hidden; }
.zoom__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: rgba(7, 8, 7, .85);
  color: var(--white);
  cursor: pointer;
}
.zoom__close svg { width: 22px; height: 22px; }
.zoom__close:hover { border-color: var(--lime); }


/* ---------- Attention parts (Dylan's direction, 6 November 2026) ---------- */

/* The callout on the finale, above the price */
.finale__callout { margin: 0; }


/* The pop-up's lime figure stays on one line */
.offer__title .lime { white-space: nowrap; }

/* The welcome-code link needs the script, like the announcement line */
.no-js .offer-hint { display: none; }
@media (scripting: none) { .offer-hint { display: none; } }

/* The finale: the guarantee's plain-text ending, and the product page's line */
.guarantee-line__more { color: var(--text); white-space: nowrap; }
.buybox__guarantee { margin: 10px 0 16px; font-size: 15px; color: var(--text); }

/* Information pages: a line that opens a page, and a dateline over kept text */
.dateline { margin: 32px 0 8px; color: var(--muted); font-size: var(--fs-small); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

/* Product page: reading the label */
.label-notes { margin: 20px 0 16px; padding: 14px 18px; border-left: 3px solid var(--lime); background: var(--panel); }
.label-notes ul { margin: 0; padding-left: 20px; }
.label-notes li { margin: 4px 0; }

/* Meet Off Meta: what we chose, and why (Off Meta's own practices only) */
.prose .choices { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.prose .choices li { margin: 0; padding-left: 16px; border-left: 3px solid var(--lime); }
.prose .choices strong { color: var(--white); }
.prose div.owner-review > .choices { margin-bottom: 0; }

/* Ingredient names and serving doses are visible before the detailed label. */
.ing-details {
  margin: 0 0 24px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
}
.ing-details h3 { margin-bottom: 4px; }
.ing-details > p { margin: 0 0 8px; }
.ing-details .ing__more { margin-top: 0; }
.ing-details__note { color: var(--muted); font-size: 15px; }
.ing-details .ing__facts { max-width: 62ch; }
.ing-details .ing__more summary { text-transform: none; letter-spacing: 0; font-size: 16px; }

/* Science page: the short version, the study flags and the filter */
.short-version { padding: 20px 18px; margin: 0 0 32px; }
.short-version__list { margin: 0; display: grid; gap: 12px; }
.short-version__list > div { display: grid; gap: 2px; }
.short-version__list dt { font-weight: 700; color: var(--white); }
.short-version__list dd { margin: 0; }
@media (min-width: 640px) {
  .short-version__list > div { grid-template-columns: 11em minmax(0, 1fr); gap: 16px; }
}
.short-version__count { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--white); font-weight: 500; }
.study__flags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.study__flag { display: inline-block; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 13px; font-weight: 500; letter-spacing: .02em; line-height: 1.2; }
.study__flag--maker::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 7px 2px 0; background: var(--lime); }
.study__flag--null { border-color: var(--lime); color: var(--white); }
.study-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.study-filter__status { flex-basis: 100%; margin: 0; color: var(--text); font-size: 15px; }
.study-filter__status:empty { display: none; }
.study-filter__label { margin-right: 4px; color: var(--muted); font-size: var(--fs-small); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.study-filter__btn { min-height: 36px; padding: 6px 14px; border: 2px solid var(--line); border-radius: 999px; background: transparent; color: var(--white); font: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; cursor: pointer; }
.study-filter__btn:hover { border-color: var(--lime); }
.study-filter__btn[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.study-filter__note { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.no-js .study-filter { display: none; }
.filter-empty { display: none; color: var(--muted); }
.science[data-show="null"] .study:not([data-null="yes"]),
.science[data-show="maker"] .study:not([data-funder="maker"]) { display: none; }
.science[data-show="null"] .filter-empty--null { display: block; }

/* Print: every part and chart mark in place, whatever has been scrolled to,
   with no motion left half-way when the page switches to print */
@media print {
  .reveal, .dose-row .mark, .limit-row__fill { transition: none; }
  .chart-tip, .toast { display: none; }
  .reveal { opacity: 1; transform: none; }
  html:not(.no-js) .dose-row:not(.is-in) .dose-row__track .mark { left: var(--x, 0); }
  html:not(.no-js) .limit-row:not(.is-in) .limit-row__fill { transform: none; }
}
