/* ==========================================================================
   Rasa Hydrolats - theme
   Every value here resolves through the design system:
   - font sizes land on Tailwind's default type scale (see --t-* below)
   - spacing comes only from the spacing token table (--s-*)
   - radii come from Tailwind's radius values (--r-*)
   - backgrounds are flat, never gradients; the one gradient is hero heading text
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Spacing tokens. Nothing between them, nothing outside them. */
  --s-0: 0px;
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;

  /* Type scale (size / line height) */
  --t-xs: 0.75rem;     --lh-xs: 1rem;
  --t-sm: 0.875rem;    --lh-sm: 1.25rem;
  --t-base: 1rem;      --lh-base: 1.5rem;
  --t-lg: 1.125rem;    --lh-lg: 1.75rem;
  --t-xl: 1.25rem;     --lh-xl: 1.75rem;
  --t-2xl: 1.5rem;     --lh-2xl: 2rem;
  --t-3xl: 1.875rem;   --lh-3xl: 2.25rem;
  --t-4xl: 2.25rem;    --lh-4xl: 2.5rem;
  --t-5xl: 3rem;       --lh-5xl: 1;
  --t-6xl: 3.75rem;    --lh-6xl: 1;
  --t-7xl: 4.5rem;     --lh-7xl: 1;

  /* Radius */
  --r-sm: 2px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;
  --r-full: 9999px;

  /* Surfaces. Flat, from the approved dark set. */
  --bg: #131209;
  --surface: #181818;
  --surface-2: #1F1F1F;
  --surface-3: #272727;
  --line: #313131;

  --text: #FFFFFF;
  --muted: #9B9B9B;

  --cta-bg: #EDE7DA;
  --cta-text: #131209;

  --accent: #6FA57C;
  --danger: #E2867A;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --measure: 680px;
  --shell: 1200px;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Geist, "Geist Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: var(--t-base);
  line-height: var(--lh-base);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }

:where(i[data-icon]) { display: inline-flex; }

/* --- Focus + skip link ---------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--cta-bg);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: var(--s-200);
  top: var(--s-200);
  z-index: 200;
  padding: var(--s-75) var(--s-100);
  background: var(--cta-bg);
  color: var(--cta-text);
  border-radius: var(--r-lg);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 700ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* --- Layout --------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--s-300);
}

section { position: relative; }

.band { padding-block: var(--s-900); }
.band--tight { padding-block: var(--s-700); }

.measure { max-width: var(--measure); }

.eyebrow {
  font-family: "Geist Mono", ui-monospace, "Cascadia Mono", "Consolas", monospace;
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-300);
}

.section-title {
  font-size: var(--t-3xl);
  line-height: var(--lh-3xl);
  max-width: var(--measure);
}

.lede {
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  color: var(--muted);
  max-width: var(--measure);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  padding: var(--s-100) var(--s-300);
  min-height: 44px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  border-radius: var(--r-full);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 700ms var(--ease), color 700ms var(--ease),
              border-color 700ms var(--ease), transform 200ms var(--ease),
              opacity 700ms var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

.btn--primary {
  --btn-bg: var(--cta-bg);
  --btn-fg: var(--cta-text);
  --btn-border: var(--cta-bg);
}
.btn--primary:hover { --btn-bg: #FFFFFF; --btn-border: #FFFFFF; }

.btn--ghost:hover { --btn-bg: var(--surface-3); --btn-border: var(--surface-3); }

.btn--sm {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  padding: var(--s-75) var(--s-200);
  min-height: 38px;
}

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn.is-busy { pointer-events: none; opacity: 0.7; }

/* --- Island nav ----------------------------------------------------------- */
.nav-wrap {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding-inline: var(--s-200);
}

.island {
  pointer-events: auto;
  margin-top: var(--s-300);
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(19, 18, 9, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: background-color 700ms var(--ease), border-color 700ms var(--ease);
}

.island__brand {
  font-size: var(--t-base);
  line-height: var(--lh-base);
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  white-space: nowrap;
}

.island__links {
  display: flex;
  align-items: center;
  gap: var(--s-300);
}

.island__link {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--muted);
  padding-block: var(--s-50);
  position: relative;
  transition: color 700ms var(--ease);
}
.island__link:hover { color: var(--text); }
.island__link[aria-current="page"] { color: var(--text); }
.island__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--text);
}

.island__actions { display: flex; align-items: center; gap: var(--s-75); }


/* Hamburger that morphs into an X */
.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: transparent;
  cursor: pointer;
  transition: background-color 700ms var(--ease);
}
.burger:hover { background: var(--surface-3); }
.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  margin-left: -8px;
  background: var(--text);
  border-radius: var(--r-full);
  transition: transform 700ms var(--ease), opacity 400ms var(--ease);
}
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(3px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

/* Full screen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-900) var(--s-300) var(--s-600);
  background: rgba(19, 18, 9, 0.8);
  backdrop-filter: blur(64px) saturate(120%);
  -webkit-backdrop-filter: blur(64px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 700ms var(--ease);
}
.menu.is-open { opacity: 1; visibility: visible; }

.menu__list { display: flex; flex-direction: column; gap: var(--s-200); }
.menu__item { overflow: hidden; }
.menu__item a {
  display: block;
  font-size: var(--t-4xl);
  line-height: var(--lh-4xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  transform: translateY(48px);
  opacity: 0;
  transition: transform 800ms var(--ease), opacity 800ms var(--ease), color 400ms var(--ease);
}
.menu.is-open .menu__item a { transform: translateY(0); opacity: 1; }
.menu__item:nth-child(1) a { transition-delay: 100ms; }
.menu__item:nth-child(2) a { transition-delay: 150ms; }
.menu__item:nth-child(3) a { transition-delay: 200ms; }
.menu__item:nth-child(4) a { transition-delay: 250ms; }
.menu__item:nth-child(5) a { transition-delay: 300ms; }
.menu__item:nth-child(6) a { transition-delay: 350ms; }
.menu__item a:hover { color: var(--muted); }
.menu__foot {
  margin-top: var(--s-700);
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  opacity: 0;
  transform: translateY(24px);
  transition: transform 800ms var(--ease) 400ms, opacity 800ms var(--ease) 400ms;
}
.menu.is-open .menu__foot { opacity: 1; transform: translateY(0); }

/* --- Scroll reveal -------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(12px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.reveal[data-delay="4"] { transition-delay: 400ms; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 176px;
  padding-bottom: var(--s-900);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: var(--s-700);
  align-items: center;
}

.hero__title {
  max-width: var(--measure);
  font-size: var(--t-6xl);
  line-height: var(--lh-6xl);
  font-weight: 600;
  letter-spacing: -0.04em;
  background-image: linear-gradient(90deg, #FFFFFF 0%, #9B9B9B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: var(--s-50);
}

.hero__sub {
  max-width: var(--measure);
  margin-top: var(--s-300);
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  color: var(--muted);
}

.hero__cta {
  margin-top: var(--s-500);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-100);
}

.hero__proof {
  margin-top: var(--s-500);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-200) var(--s-300);
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
}
.hero__proof span { display: inline-flex; align-items: center; gap: var(--s-75); }

.hero__art { display: flex; justify-content: center; }
.hero__art svg { width: min(380px, 78vw); height: auto; }

/* --- Marquee proof strip -------------------------------------------------- */
.strip {
  border-block: 1px solid var(--line);
  padding-block: var(--s-300);
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: var(--s-700);
  width: max-content;
  animation: drift 42s linear infinite;
}
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  color: var(--muted);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Cards ---------------------------------------------------------------- */
.grid { display: grid; gap: var(--s-300); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: var(--s-300);
  transition: background-color 700ms var(--ease), border-color 700ms var(--ease), transform 700ms var(--ease);
}
.card:hover { background: var(--surface-2); }

.card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  /* nested radius: outer 16px minus 24px gap is below 2, so this shape stays simple */
  border-radius: var(--r-full);
  margin-bottom: var(--s-200);
  color: var(--accent);
}

.card__title {
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  margin-bottom: var(--s-75);
}
.card__body { color: var(--muted); font-size: var(--t-base); line-height: var(--lh-base); }

/* --- Product cards -------------------------------------------------------- */
.range-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: var(--s-75);
  transition: border-color 700ms var(--ease), background-color 700ms var(--ease), transform 700ms var(--ease);
}
.product-card:hover { transform: translateY(-4px); border-color: var(--surface-3); }

.product-card__art {
  position: relative;
  /* nested radius: outer 16px minus 8px gap = 8px */
  border-radius: var(--r-lg);
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  max-width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* The bottle is portrait inside a landscape box, so fit it by height. */
.product-card__art svg { height: 84%; width: auto; max-width: 62%; transition: transform 900ms var(--ease); }
.product-card:hover .product-card__art svg { transform: translateY(-6px) scale(1.03); }

.product-card__body { padding: var(--s-200) var(--s-200) var(--s-100); flex: 1; }

.product-card__name {
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  display: flex;
  align-items: baseline;
  gap: var(--s-75);
  flex-wrap: wrap;
}
.product-card__nick {
  display: block;
  margin-top: var(--s-25);
  color: var(--accent);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
}
.product-card__desc {
  margin-top: var(--s-100);
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-100);
  padding: var(--s-100) var(--s-200) var(--s-200);
}

.price {
  font-variant-numeric: tabular-nums;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--text);
}
.price small { color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-50);
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--surface-3);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag--accent { color: var(--accent); border-color: currentColor; background: transparent; }

.product-card__flag {
  position: absolute;
  top: var(--s-200);
  left: var(--s-200);
  z-index: 2;
}

/* --- Tagline reveal ------------------------------------------------------- */
.tagline {
  font-size: var(--t-5xl);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: var(--measure);
  text-wrap: balance;
}
.tagline .w {
  color: rgba(255, 255, 255, 0.28);
  transition: color 700ms var(--ease);
}
.tagline .w.is-lit { color: var(--text); }

/* --- Steps ---------------------------------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: var(--s-600); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--muted);
}

/* --- Ritual matrix -------------------------------------------------------- */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2xl); }
.matrix { width: 100%; border-collapse: collapse; min-width: 560px; }
.matrix th, .matrix td {
  text-align: left;
  padding: var(--s-200) var(--s-300);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.matrix thead th {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody tr { transition: background-color 700ms var(--ease); }
.matrix tbody tr:hover { background: var(--surface); }
.matrix tbody th { font-weight: 400; font-size: var(--t-base); line-height: var(--lh-base); }
.pick { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.pick a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-50);
  padding: var(--s-50) var(--s-100);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  transition: border-color 700ms var(--ease), background-color 700ms var(--ease);
}
.pick a:hover { background: var(--surface-3); }
.dot { width: 8px; height: 8px; border-radius: var(--r-full); background: currentColor; }

/* --- FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-300);
  padding: var(--s-300) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  font-weight: 500;
  transition: color 700ms var(--ease);
}
.faq__q:hover { color: var(--muted); }
.faq__sign { flex: none; width: 20px; height: 20px; position: relative; }
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: var(--r-full);
  transition: transform 700ms var(--ease), opacity 700ms var(--ease);
}
.faq__sign::before { width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; }
.faq__sign::after { width: 1.5px; height: 14px; margin: -7px 0 0 -0.75px; }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: rotate(90deg); opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 700ms var(--ease);
}
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  color: var(--muted);
  max-width: var(--measure);
  padding-bottom: var(--s-300);
}

/* --- Forms ---------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: var(--s-75); }
.field label { font-size: var(--t-sm); line-height: var(--lh-sm); }
.field .hint { font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--muted); }

.field input, .field textarea, .field select {
  width: 100%;
  padding: var(--s-100) var(--s-200);
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  transition: border-color 700ms var(--ease), background-color 700ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6E6E6E; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--surface-3); }

.field .error {
  display: none;
  align-items: center;
  gap: var(--s-50);
  color: var(--danger);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
}
.field.is-invalid .error { display: flex; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }

.form-note { color: var(--muted); font-size: var(--t-sm); line-height: var(--lh-sm); }

.form-success {
  display: none;
  align-items: flex-start;
  gap: var(--s-100);
  padding: var(--s-300);
  border: 1px solid var(--accent);
  border-radius: var(--r-2xl);
  background: var(--surface);
}
.form-success.is-shown { display: flex; }

/* --- Product detail ------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: var(--s-700); align-items: start; }
.pdp__art {
  position: sticky;
  top: 120px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  padding: var(--s-600);
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  max-width: 100%;
}
.pdp__art svg { width: 58%; }

.pdp__title { font-size: var(--t-5xl); line-height: 1.05; letter-spacing: -0.04em; }
.pdp__nick { color: var(--accent); font-size: var(--t-xl); line-height: var(--lh-xl); margin-top: var(--s-100); }
.pdp__price { font-family: "Geist Mono", ui-monospace, monospace; font-size: var(--t-xl); line-height: var(--lh-xl); margin-top: var(--s-300); font-variant-numeric: tabular-nums; }

.spec { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s-200) var(--s-300); }
.spec dt {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: var(--s-50);
}
.spec dd { font-size: var(--t-base); line-height: var(--lh-base); }

.ticks { display: grid; gap: var(--s-100); }
.ticks li { display: flex; gap: var(--s-100); align-items: flex-start; color: var(--muted); }
.ticks li svg { flex: none; margin-top: 3px; color: var(--accent); }

.callout {
  display: flex;
  gap: var(--s-200);
  padding: var(--s-300);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
}
.callout svg { flex: none; color: var(--accent); }
.callout--warn svg { color: var(--danger); }
.callout p { color: var(--muted); font-size: var(--t-sm); line-height: var(--lh-sm); }
.callout strong { color: var(--text); font-weight: 600; display: block; margin-bottom: var(--s-50); font-size: var(--t-base); }

/* --- Footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: var(--s-700) var(--s-400); margin-top: var(--s-900); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--s-500); }
.footer__brand { font-size: var(--t-lg); line-height: var(--lh-lg); font-weight: 600; }
.footer__blurb { color: var(--muted); font-size: var(--t-sm); line-height: var(--lh-sm); margin-top: var(--s-100); max-width: 320px; }
.footer h2 {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: var(--s-200);
}
.footer__list { display: grid; gap: var(--s-100); }
.footer__list a { font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--muted); transition: color 700ms var(--ease); }
.footer__list a:hover { color: var(--text); }
.footer__base {
  margin-top: var(--s-600);
  padding-top: var(--s-300);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-200) var(--s-300);
  justify-content: space-between;
  color: var(--muted);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
}

/* --- Checkout overlay ------------------------------------------------------
   Whop's checkout mounts as an iframe inside a container it finds by data
   attribute. We mount it on click only, never on page load, so nothing is
   fetched from Whop until someone actually wants to buy. */
.checkout {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: var(--s-300);
  background: rgba(19, 18, 9, 0.8);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 700ms var(--ease);
}
.checkout.is-open { opacity: 1; visibility: visible; }

.checkout__panel {
  width: min(460px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  transition: transform 700ms var(--ease);
}
.checkout.is-open .checkout__panel { transform: translateY(0) scale(1); }

.checkout__head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-200);
  padding: var(--s-300);
  border-bottom: 1px solid var(--line);
}
.checkout__title { font-size: var(--t-lg); line-height: var(--lh-lg); }
.checkout__sub {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-top: var(--s-25);
}

.checkout__body {
  flex: 1;
  overflow-y: auto;
  position: relative;
  min-height: 320px;
}
.checkout__slot iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* Skeleton shaped like the checkout form underneath, per the design system:
   never a spinner. Sits behind the iframe and is covered once it paints. */
.checkout__skeleton {
  position: absolute;
  inset: 0;
  padding: var(--s-300);
  display: grid;
  gap: var(--s-200);
  align-content: start;
}
.checkout__skeleton span {
  display: block;
  background: var(--surface-2);
  border-radius: var(--r-lg);
  animation: pulse 1.6s var(--ease) infinite;
}
.checkout__skeleton span:nth-child(1) { height: 44px; }
.checkout__skeleton span:nth-child(2) { height: 44px; }
.checkout__skeleton span:nth-child(3) { height: 96px; }
.checkout__skeleton span:nth-child(4) { height: 44px; width: 60%; }
.checkout.is-loaded .checkout__skeleton { display: none; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.checkout__foot {
  flex: none;
  padding: var(--s-200) var(--s-300);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-200);
  flex-wrap: wrap;
}
.checkout__note {
  color: var(--muted);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
}
.checkout__fallback {
  color: var(--muted);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 700ms var(--ease);
}
.checkout__fallback:hover { color: var(--text); }

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  cursor: pointer;
  color: inherit;
  transition: background-color 700ms var(--ease);
}
.icon-btn:hover { background: var(--surface-3); }
.icon-btn:active { transform: scale(0.98); }
/* 40px visible, 44px touch target. */
.icon-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

@media (max-width: 640px) {
  .checkout { padding: var(--s-200); }
  .checkout__panel { max-height: calc(100vh - 32px); border-radius: var(--r-2xl); }
}

/* --- Cookie bar ----------------------------------------------------------- */
.cookie {
  position: fixed;
  left: 50%;
  bottom: var(--s-300);
  z-index: 125;
  transform: translate(-50%, 24px);
  width: min(640px, calc(100% - 32px));
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-200);
  padding: var(--s-200) var(--s-300);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  opacity: 0;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.cookie.is-shown { display: flex; }
.cookie.is-in { opacity: 1; transform: translate(-50%, 0); }
.cookie p { flex: 1 1 260px; color: var(--muted); font-size: var(--t-sm); line-height: var(--lh-sm); }

/* Keep the two bottom anchored things off each other, and out of the menu. */
body:has(.menu.is-open) .cookie { opacity: 0; pointer-events: none; }

/* --- Legal / prose -------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--t-xl); line-height: var(--lh-xl); margin-top: var(--s-600); margin-bottom: var(--s-100); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: var(--s-200); }
.prose ul { display: grid; gap: var(--s-100); margin-bottom: var(--s-200); }
.prose li { color: var(--muted); display: flex; gap: var(--s-100); }
.prose li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: var(--r-full); background: var(--muted); margin-top: 10px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* --- 404 ------------------------------------------------------------------ */
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-top: 176px; }
.notfound__code {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--t-7xl);
  line-height: var(--lh-7xl);
  /* Recessive but still readable: 3.7:1 against the page, above the 3:1 large text bar. */
  color: #6E6E6E;
  letter-spacing: -0.04em;
}

/* --- Utility -------------------------------------------------------------- */
.stack-100 { display: grid; gap: var(--s-100); }
.stack-200 { display: grid; gap: var(--s-200); }
.stack-300 { display: grid; gap: var(--s-300); }
.stack-400 { display: grid; gap: var(--s-400); }
.stack-500 { display: grid; gap: var(--s-500); }
.row { display: flex; flex-wrap: wrap; gap: var(--s-100); align-items: center; }
.muted { color: var(--muted); }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-500); }
  .hero__art { order: -1; }
  .hero__art svg { width: auto; height: 320px; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: var(--s-500); }
  .pdp__art { position: static; aspect-ratio: 5 / 4; padding: var(--s-400); }
  .pdp__art svg { width: 42%; }
  .range-grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-400); }
}

@media (max-width: 860px) {
  .island__links { display: none; }
  .burger { display: block; }
  .island { gap: var(--s-200); padding-left: var(--s-200); }
}

@media (max-width: 640px) {
  .shell { padding-inline: var(--s-200); }
  .island__buy { display: none; }
  .island { gap: var(--s-100); }
  .band { padding-block: var(--s-700); }
  .band--tight { padding-block: var(--s-600); }
  .hero { padding-top: 120px; padding-bottom: var(--s-700); }
  /* Keep the headline and its call to action above the fold on a phone. */
  .hero__grid { gap: var(--s-300); }
  .hero__art svg { height: 196px; }
  .hero__title { font-size: var(--t-4xl); line-height: var(--lh-4xl); }
  .hero__sub { font-size: var(--t-base); line-height: var(--lh-base); }
  .section-title { font-size: var(--t-2xl); line-height: var(--lh-2xl); }
  .tagline { font-size: var(--t-3xl); line-height: 1.16; }
  .pdp__title { font-size: var(--t-4xl); line-height: var(--lh-4xl); }
  .range-grid, .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .spec { grid-template-columns: minmax(0, 1fr); gap: var(--s-50) 0; }
  .spec dd { margin-bottom: var(--s-200); }
  .menu__item a { font-size: var(--t-3xl); line-height: var(--lh-3xl); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .notfound__code { font-size: var(--t-6xl); line-height: var(--lh-6xl); }
  .hero__cta .btn { width: 100%; }
}

/* --- Motion preference ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .tagline .w { color: var(--text); }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .nav-wrap, .menu, .cookie { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
}
