/* ==========================================================
   FlipLab — design tokens
   ========================================================== */
:root {
  --bg: #050608;
  --bg-2: #0a0c11;
  --surface: #0e1117;
  --surface-2: #131722;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #f4f6fb;
  --text-2: #aab2c3;      /* 8.9:1 on --bg */
  --text-3: #7d869a;      /* 5.2:1 on --bg */

  --blue: #0a72ff;        /* brand blue (logo arrow) */
  --blue-2: #2b8cff;
  --cyan: #19c8ff;        /* wordmark highlight */
  --blue-ink: #69b0ff;    /* blue text on dark, 7.8:1 */
  --grad: linear-gradient(135deg, #1a7dff 0%, #0a5cff 55%, #19c8ff 130%);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;

  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--blue-ink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.i { width: 20px; height: 20px; flex: none; }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-sans); letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur), border-color var(--dur);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 0 0 1px rgba(105, 176, 255, 0.35) inset, 0 10px 30px -8px rgba(10, 114, 255, 0.65);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(105, 176, 255, 0.55) inset, 0 14px 40px -6px rgba(10, 114, 255, 0.85); }
.btn--primary .i { transition: transform var(--dur) var(--ease-out); }
.btn--primary:hover .i { transform: translateX(3px); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--sm .i { width: 18px; height: 18px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ==========================================================
   Nav
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background var(--dur), border-color var(--dur), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(5, 6, 8, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { max-width: var(--container); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 32px; }
.nav__brand img { width: 128px; height: auto; mix-blend-mode: screen; }
.nav__links { display: flex; gap: 28px; margin-right: auto; }
.nav__links a { font-size: 14px; color: var(--text-2); transition: color var(--dur); padding: 8px 0; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; gap: 10px; }

/* ==========================================================
   Dot field canvas
   ========================================================== */
.dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  padding: 120px 0 40px;
  display: flex; flex-direction: column; align-items: center;
}
.hero__glow {
  position: absolute; inset: auto 0 -20% 0; height: 80%; z-index: -1;
  background: radial-gradient(60% 55% at 50% 60%, rgba(10, 114, 255, 0.22), transparent 70%);
}

/* card arc */
.arc { position: relative; width: min(1100px, 100%); height: clamp(200px, 28vw, 330px); margin-top: 0; }
.arc__card {
  position: absolute; left: 50%; top: 0;
  width: clamp(72px, 9.2vw, 122px); aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(160deg, #161b26, #0b0e14);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(10, 114, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid; place-items: center; overflow: hidden;
  opacity: 0;
}
/* intro: each card pops in one at a time (delay --d set per card in script.js), then idles with a gentle float */
.arc.is-intro .arc__card {
  animation:
    arc-pop 560ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0ms) both,
    float 6s ease-in-out calc(var(--d, 0ms) + 700ms) infinite;
}
.arc__card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 100%, rgba(10, 114, 255, 0.28), transparent 70%);
}
.arc__card svg { width: 64%; height: 64%; position: relative; z-index: 1; filter: drop-shadow(0 6px 10px rgba(10, 114, 255, 0.35)); }
@keyframes arc-pop {
  0% { opacity: 0; scale: 0.4; translate: 0 28px; filter: blur(8px); }
  45% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; scale: 1; translate: 0 0; filter: none; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__content { position: relative; text-align: center; padding: 0 24px; margin-top: clamp(-170px, -11vw, -40px); max-width: 1040px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03);
  font: 500 12px/1 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2);
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(25, 200, 255, 0.6); animation: pulse 2s infinite; }
/* hero copy pops up piece by piece right behind the cards (same feel as the final CTA) */
.hero__title .pop-in { display: inline-block; }
.hero__title .underline-word__line { bottom: -0.2em; } /* clear the descenders in "flipping" */
.pop-in {
  animation: pop-fade 700ms var(--ease-out) both, pop-rise 950ms cubic-bezier(0.34, 1.45, 0.64, 1) both;
  animation-delay: calc(250ms + var(--i, 0) * 130ms);
}
@keyframes pop-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-rise { from { translate: 0 56px; scale: 0.96; } to { translate: 0 0; scale: 1; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(25, 200, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 200, 255, 0); } }

.hero__title { margin-top: 22px; font-size: clamp(42px, 6.2vw, 86px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
.hero__title em { font-size: 1.08em; letter-spacing: -0.02em; background: linear-gradient(90deg, #4aa0ff, #19c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.hero__sub { margin: 22px auto 0; max-width: 560px; color: var(--text-2); font-size: clamp(16px, 1.6vw, 19px); text-wrap: pretty; }

.waitlist {
  margin: 32px auto 0; max-width: 480px;
  display: flex; gap: 6px; padding: 6px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  position: relative;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.waitlist:focus-within { border-color: rgba(43, 140, 255, 0.7); box-shadow: 0 0 0 4px rgba(10, 114, 255, 0.15); }
.waitlist input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 18px;
  background: transparent; border: 0; color: var(--text);
  font: 400 16px var(--f-sans);
}
.waitlist input::placeholder { color: var(--text-3); }
.waitlist input:focus { outline: none; }
.waitlist .btn[disabled] { opacity: 0.6; cursor: progress; }
.waitlist__msg { position: absolute; left: 0; right: 0; top: calc(100% + 10px); font-size: 14px; color: var(--text-2); min-height: 1.4em; }
.waitlist__msg.is-error { color: #ff8a8a; }
.waitlist__msg.is-ok { color: var(--blue-ink); }
.waitlist.is-done { border-color: rgba(43, 140, 255, 0.5); }

.hero__discord {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 44px;
  font-size: 14px; color: var(--text-2); padding: 10px 4px;
  transition: color var(--dur);
}
.hero__discord:hover { color: var(--text); }
/* sales open: the hero swaps its waitlist form for "Get access" + "Learn more" (config.js sets .sales-open on <html>) */
.hero__ctas { display: none; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.sales-open .hero__ctas { display: flex; }
.sales-open .hero .waitlist { display: none; }
.sales-open .hero__discord { margin-top: 22px; } /* no waitlist message to leave room for */
.i--down { rotate: 90deg; transition: translate var(--dur) var(--ease-out); }
.btn:hover .i--down { translate: 0 2px; }
.hero__discord .i { color: #8b95ff; }

/* retailer marquee */
.marquee { width: 100%; margin-top: auto; padding-top: 48px; }
.marquee__label { text-align: center; font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.marquee__track {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__list { display: flex; align-items: center; gap: 60px; padding: 0 30px; margin: 0; list-style: none; flex: none; animation: marquee 38s linear infinite; }
.marquee__list li {
  display: flex; align-items: center; gap: 9px; height: 40px; flex: none;
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: #fff; white-space: nowrap;
  opacity: 0.85; transition: opacity var(--dur);
}
.marquee__list li:hover { opacity: 1; }
.marquee__list img { height: var(--h, 24px); width: auto; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__track:hover .marquee__list { animation-play-state: paused; }

/* ==========================================================
   Statement (Boon-style)
   ========================================================== */
.statement { position: relative; isolation: isolate; overflow: hidden; padding: clamp(120px, 18vw, 220px) 0; border-top: 1px solid var(--line); }
.statement__inner { position: relative; display: grid; place-items: center; }
.statement__text {
  max-width: 900px; text-align: center;
  font-size: clamp(28px, 4vw, 50px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance;
}
.statement__text .hl { color: var(--cyan); }
.note {
  margin-top: 56px; width: 100%; max-width: 370px;
  padding: 18px 20px; border-radius: 12px;
  background: rgba(10, 12, 17, 0.85);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  font-size: 15px; color: var(--text-2); line-height: 1.55;
}
.note__tag { display: block; margin-bottom: 6px; font: 500 12px var(--f-mono); color: var(--blue-ink); }
.note.reveal.is-wandering {
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out),
    translate 1100ms cubic-bezier(0.65, 0, 0.35, 1);
}
/* rotating tips: every slide sits in the same grid cell, so the card is always as tall as the longest tip */
.note__slides { display: grid; }
.note__slide { grid-area: 1 / 1; }
.note__slide p { margin: 0; }
.note.is-live .note__slide {
  opacity: 0; visibility: hidden; transform: translateY(8px); filter: blur(4px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out), filter 400ms var(--ease-out), visibility 0s linear 400ms;
}
.note.is-live .note__slide.is-active {
  opacity: 1; visibility: visible; transform: none; filter: none;
  transition: opacity 500ms var(--ease-out) 180ms, transform 500ms var(--ease-out) 180ms, filter 500ms var(--ease-out) 180ms, visibility 0s;
}
.note__bar { display: none; }
.note.is-live .note__bar {
  display: flex; align-items: center; gap: 2px;
  margin-top: 14px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.12);
}
.note__progress { flex: 1; height: 2px; margin-right: 10px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.note__progress i {
  display: block; height: 100%; background: var(--blue-2); transform: scaleX(0); transform-origin: left center;
  animation: note-progress 12s linear forwards;
}
/* the timer holds while someone is reading (hover/focus), when paused, or when the card is off screen */
.note:hover .note__progress i,
.note:focus-within .note__progress i,
.note.is-paused .note__progress i,
.note.is-offscreen .note__progress i { animation-play-state: paused; }
@keyframes note-progress { to { transform: scaleX(1); } }
.note__count { margin-right: 4px; font: 500 11px var(--f-mono); color: var(--text-3); font-variant-numeric: tabular-nums; }
.note__btn {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--text-3); cursor: pointer;
  transition: color var(--dur), background var(--dur);
}
.note__btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.note__btn .i { width: 15px; height: 15px; }
.note__play, .note__btn[aria-pressed="true"] .note__pause { display: none; }
.note__btn[aria-pressed="true"] .note__play { display: block; }
@media (min-width: 1100px) {
  .note { margin-top: 72px; } /* centred; script.js slides it left / middle / right */
}

/* ==========================================================
   Sections
   ========================================================== */
.section { padding: clamp(96px, 12vw, 150px) 0; position: relative; }
.section--tight { padding-top: clamp(64px, 8vw, 100px); }
.section__head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--left { text-align: left; }
.section__head h2 { font-size: clamp(36px, 5vw, 64px); text-wrap: balance; }
.section__head h2 em { font-size: 1.06em; }
/* 06: a swoosh draws itself under "answered." when the FAQ heading scrolls in */
.underline-word { position: relative; display: inline-block; }
.underline-word__line {
  position: absolute; left: -2%; bottom: -0.1em; width: 104%; height: 0.26em; overflow: visible;
  filter: drop-shadow(0 0 6px rgba(25, 200, 255, 0.45));
}
.underline-word__line path {
  fill: none; stroke: url(#ul-grad); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1 2; stroke-dashoffset: 0;
}
/* push the dash fully off the path (not just to its edge) so the round cap doesn't leave a dot */
.underline-word.is-armed .underline-word__line path { stroke-dashoffset: 1.05; }
.underline-word.is-armed.is-drawn .underline-word__line path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 950ms cubic-bezier(0.65, 0, 0.35, 1) var(--ul-delay, 450ms); /* waits for the heading's entrance */
}
/* 02: "Grow." is drawn in by a stock line (script.js builds the SVG) */
.grow-word { position: relative; display: inline-block; transition: color 400ms var(--ease-out); }
.grow-word.is-pending { color: transparent; }
.grow-svg { position: absolute; overflow: visible; pointer-events: none; filter: drop-shadow(0 0 6px rgba(25, 200, 255, 0.55)); }
.grow-svg__line { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.grow-svg__head { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.grow-svg__text { fill: var(--blue-ink); fill-opacity: 0; stroke: var(--blue-ink); stroke-width: 1.2; }
.kicker { font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 18px; }

/* bento */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.tile {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: border-color var(--dur), transform var(--dur) var(--ease-out);
}
.tile:hover { border-color: rgba(43, 140, 255, 0.35); }
.tile--lg { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.tile--wide { grid-column: span 2; }
.tile__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(10, 114, 255, 0.12); color: var(--blue-2);
  border: 1px solid rgba(10, 114, 255, 0.25); margin-bottom: 22px;
}
.tile h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; }
.tile p { color: var(--text-2); font-size: 15.5px; }
.tile--lg h3 { font-size: 28px; }
.tile--lg p { max-width: 440px; font-size: 16.5px; }

.ping {
  position: relative; margin-top: auto; padding-top: 32px;
  display: flex; flex-direction: column; gap: 10px;
  height: calc(32px + 3 * 62px + 2 * 10px); overflow: hidden; /* room for exactly three alerts */
}
.ping__row {
  display: flex; align-items: center; gap: 14px; flex: none; height: 62px;
  padding: 0 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  transition: opacity 600ms var(--ease-out);
}
.ping__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ping__body b { color: var(--text); font-weight: 600; font-size: 14.5px; }
.ping__body span { color: var(--text-2); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ping__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); flex: none; }
.ping__t { margin-left: auto; padding-left: 8px; font: 500 12px var(--f-mono); color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ping__row:nth-child(2) { opacity: 0.8; }
.ping__row:nth-child(n + 3) { opacity: 0.6; }
/* the newest alert flashes in */
.ping__row.is-new { animation: ping-flash 1.6s var(--ease-out); }
.ping__row.is-new .ping__dot { animation: ping-dot 1.2s ease-out 2; }
.ping__row.is-new .ping__t { color: var(--cyan); }
@keyframes ping-flash {
  0% { background: rgba(10, 114, 255, 0.22); border-color: rgba(43, 140, 255, 0.6); }
  100% { background: rgba(255, 255, 255, 0.03); border-color: var(--line); }
}
@keyframes ping-dot { 0% { box-shadow: 0 0 0 0 rgba(25, 200, 255, 0.7); } 100% { box-shadow: 0 0 0 10px rgba(25, 200, 255, 0); } }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.step { padding: 32px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__num { font: 500 13px var(--f-mono); color: var(--blue-ink); }
.step h3 { font-size: clamp(34px, 4vw, 48px); margin: 16px 0 12px; font-weight: 800; letter-spacing: -0.04em; }
.step p { color: var(--text-2); max-width: 320px; }

/* course */
.course__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.course__media { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(10, 114, 255, 0.45); }
.course__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.modules { list-style: none; padding: 0; margin: 0; }
.module { display: flex; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); }
.module:last-child { border-bottom: 1px solid var(--line); }
.module > span { font: 500 13px/1.9 var(--f-mono); color: var(--blue-ink); }
.module h3 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 4px; }
.module__tag {
  display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 999px; vertical-align: 3px;
  font: 500 10.5px/1.2 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue-ink); background: rgba(10, 114, 255, 0.12); border: 1px solid rgba(43, 140, 255, 0.3);
}
.module p { color: var(--text-2); font-size: 15.5px; }

/* flips feed (Valor-style) */
.flips { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); }
.flips__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 80% at 30% 50%, #000, transparent);
          mask-image: radial-gradient(70% 80% at 30% 50%, #000, transparent);
}
.flips::before { content: ""; position: absolute; left: -10%; top: 20%; width: 60%; height: 60%; background: radial-gradient(closest-side, rgba(10, 114, 255, 0.18), transparent); }
.flips__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.flips__copy { padding: 100px 0; }
.flips__copy h2 { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 20px; }
.flips__copy h2 em { font-size: 1.06em; }
/* 04: "flip" turns over like a card to another "flip" */
.flipword { display: inline-block; perspective: 700px; }
.flipword__card {
  display: inline-grid; justify-items: center; transform-style: preserve-3d;
  transition: transform 900ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.flipword__face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flipword__face--back {
  transform: rotateX(180deg);
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.06em; letter-spacing: -0.01em;
  color: var(--blue-ink); text-shadow: 0 0 28px rgba(43, 140, 255, 0.45);
}
.flips__copy > p { color: var(--text-2); max-width: 440px; margin-bottom: 32px; font-size: 18px; }
.fineprint { margin-top: 16px; font-size: 13px; color: var(--text-3); }

.feed {
  height: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.feed__col { display: flex; flex-direction: column; gap: 14px; animation: feed-up 40s linear infinite; }
.feed__col--rev { animation-direction: reverse; animation-duration: 46s; }
@keyframes feed-up { to { transform: translateY(-50%); } }

.flip {
  border-radius: 18px; padding: 10px 10px 14px;
  color: #fff;
  background: linear-gradient(160deg, #1d2433, #121622);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.flip__art {
  aspect-ratio: 4 / 3; border-radius: 12px; display: grid; place-items: center;
  padding: 14px; margin-bottom: 12px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 55%, rgba(43, 140, 255, 0.35), rgba(10, 12, 17, 0.4) 75%);
}
.flip__art img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45));
}
.flip__name { font-weight: 700; font-size: 15px; padding: 0 4px; letter-spacing: -0.01em; }
.flip__row { display: flex; justify-content: space-between; padding: 7px 4px 0; font-size: 13px; opacity: 0.85; font-variant-numeric: tabular-nums; }
.flip__row + .flip__row { border-top: 1px solid rgba(255, 255, 255, 0.18); margin-top: 7px; }
.flip__row b { font-weight: 700; color: var(--blue-ink); }

/* pricing */
.price {
  max-width: 520px; margin: 0 auto; padding: 36px;
  border-radius: 24px; position: relative;
  background: linear-gradient(180deg, #111624, #0b0e15);
  border: 1px solid rgba(43, 140, 255, 0.35);
  box-shadow: 0 40px 100px -40px rgba(10, 114, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.price__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.price__name { font-weight: 600; color: var(--text-2); }
.price__amount { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.price__big {
  display: inline-flex; align-items: flex-start;
  font-size: 72px; font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; font-variant-numeric: tabular-nums;
}
.price__cur { font-size: 36px; margin: 6px 2px 0 0; color: var(--text-2); }
.price__digits { display: inline-flex; }
.price__side { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.price__per { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-3); }
/* old price: hidden until the roll lands, then fades in and gets struck through */
.price__was {
  position: relative; text-decoration: none;
  font-size: 16px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums;
  opacity: 0; transform: translateY(6px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.price__was::after {
  content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 2px;
  background: #ff6b6b; transform: scaleX(0); transform-origin: left center;
  transition: transform 320ms var(--ease-out) 220ms;
}
.price__amount.is-done .price__was { opacity: 1; transform: none; }
.price__amount.is-done .price__was::after { transform: scaleX(1); }
/* odometer digits */
.roll { display: inline-block; height: 1.05em; overflow: hidden; }
.roll__strip { display: flex; flex-direction: column; will-change: transform; }
.roll__strip > span { display: block; height: 1.05em; text-align: center; }
.badge { padding: 7px 12px; border-radius: 999px; background: rgba(10, 114, 255, 0.15); color: var(--blue-ink); border: 1px solid rgba(43, 140, 255, 0.35); font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.price__list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.price__list li { display: flex; gap: 12px; align-items: center; color: var(--text); transition: color 300ms var(--ease-out); }
.price__list .i {
  width: 24px; height: 24px; padding: 4px; border-radius: 50%;
  color: var(--cyan); background: rgba(25, 200, 255, 0.12);
}
/* before the card is seen: empty circles and dimmed text; each item then gets its tick drawn in */
.price__list.is-armed li { color: var(--text-3); }
.price__list.is-armed .i { stroke-dasharray: 22; stroke-dashoffset: 22; background: rgba(255, 255, 255, 0.05); }
.price__list.is-armed li.is-checked { color: var(--text); }
.price__list.is-armed li.is-checked .i {
  background: rgba(25, 200, 255, 0.12);
  animation: tick-draw 320ms ease-out 60ms forwards, tick-pop 460ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
@keyframes tick-pop { 0% { transform: scale(0.6); } 55% { transform: scale(1.22); } 100% { transform: scale(1); } }
.price__note { text-align: center; margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq__item {
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--dur), background var(--dur);
}
.faq__item.is-open { border-color: rgba(43, 140, 255, 0.3); background: var(--surface-2); }
.faq__item summary:hover { color: #fff; }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: ""; flex: none; width: 16px; height: 16px;
  background:
    linear-gradient(var(--blue-2), var(--blue-2)) center / 16px 2px no-repeat,
    linear-gradient(var(--blue-2), var(--blue-2)) center / 2px 16px no-repeat;
  transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq__item.is-open summary::before { transform: rotate(135deg); }
.faq__item p { padding: 0 24px 24px 58px; color: var(--text-2); }

/* final cta */
.final {
  --bench: clamp(40px, 5vw, 60px);
  --flask-w: clamp(150px, 16vw, 230px);
  --flask-r: clamp(16px, 8vw, 170px); /* flask's distance from the right edge */
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(120px, 16vw, 200px) 0; text-align: center;
}
/* final cta background: an illustrated lab — grid, glassware, glowing flask on a bench */
.final__lab {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 55% at 82% 88%, rgba(10, 114, 255, 0.2), transparent 70%),
    radial-gradient(30% 40% at 14% 18%, rgba(25, 200, 255, 0.07), transparent 70%);
}
.final__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(105, 176, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 176, 255, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(105, 176, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 176, 255, 0.05) 1px, transparent 1px);
  background-size: 220px 220px, 220px 220px, 44px 44px, 44px 44px;
  background-position: center;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 55%, #000 25%, transparent 78%);
  mask-image: radial-gradient(75% 65% at 50% 55%, #000 25%, transparent 78%);
}
.final__mol { position: absolute; width: clamp(110px, 13vw, 180px); fill: rgba(105, 176, 255, 0.5); stroke: rgba(105, 176, 255, 0.5); stroke-width: 2; stroke-linejoin: round; opacity: 0.22; animation: mol-float 11s ease-in-out infinite alternate; }
.final__mol path { fill: none; }
.final__mol--a { top: 12%; left: clamp(16px, 8vw, 150px); }
.final__mol--b { top: 8%; right: clamp(16px, 9vw, 170px); width: clamp(90px, 10vw, 140px); animation-delay: -5s; }
@keyframes mol-float { from { transform: translateY(-8px) rotate(-3deg); } to { transform: translateY(8px) rotate(3deg); } }

.final__bench {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--bench);
  border-top: 1px solid rgba(105, 176, 255, 0.24);
  background: linear-gradient(180deg, rgba(105, 176, 255, 0.07), transparent 85%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.final__rack { position: absolute; left: clamp(16px, 7vw, 150px); bottom: calc(var(--bench) - 1px); width: clamp(140px, 15vw, 210px); opacity: 0.75; }
.rack__glass { fill: none; stroke: rgba(176, 208, 255, 0.5); stroke-width: 2.5; stroke-linecap: round; }
.rack__liq { fill: var(--c); opacity: 0.55; }
.rack__wood { fill: rgba(105, 176, 255, 0.1); stroke: rgba(176, 208, 255, 0.4); stroke-width: 2; }

.final__flask { position: absolute; right: var(--flask-r); bottom: calc(var(--bench) - 3px); width: var(--flask-w); isolation: isolate; }
.final__flask svg { display: block; width: 100%; height: auto; overflow: visible; }
.final__flask::before { content: ""; position: absolute; inset: 25% -45% -5%; z-index: -1; background: radial-gradient(closest-side, rgba(10, 114, 255, 0.32), transparent); }
.final__flask::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -12px; height: 24px; background: radial-gradient(closest-side, rgba(25, 170, 255, 0.5), transparent); }
.flask__line { fill: none; stroke: rgba(186, 214, 255, 0.7); stroke-width: 3; stroke-linejoin: round; }
.flask__ticks { fill: none; stroke: rgba(220, 235, 255, 0.45); stroke-width: 2; stroke-linecap: round; }
.flask__shine { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 5; stroke-linecap: round; }
.flask__wave { animation: fl-wave 4s linear infinite; }
.flask__wave--back { fill: #19c8ff; opacity: 0.45; animation-duration: 6.5s; animation-direction: reverse; }
@keyframes fl-wave { to { transform: translateX(-100px); } }
.flask__fizz circle { fill: rgba(220, 245, 255, 0.85); animation: fl-fizz 2.6s ease-in infinite; }
.flask__fizz circle:nth-child(2) { animation-delay: -0.6s; animation-duration: 3.1s; }
.flask__fizz circle:nth-child(3) { animation-delay: -1.3s; }
.flask__fizz circle:nth-child(4) { animation-delay: -1.9s; animation-duration: 2.2s; }
.flask__fizz circle:nth-child(5) { animation-delay: -0.9s; animation-duration: 3.4s; }
.flask__fizz circle:nth-child(6) { animation-delay: -2.2s; animation-duration: 2.8s; }
@keyframes fl-fizz { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-68px); opacity: 0; } }
/* no point animating the lab while it's off screen (script.js toggles .is-live) */
.final:not(.is-live) .final__lab *, .final:not(.is-live) .final__bubbles * { animation-play-state: paused; }

/* $ bubbles (spawned by script.js): rise, sway, then pop with a ring */
.final__bubbles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.mbubble--money { pointer-events: auto; cursor: pointer; }
.mbubble--money:hover .mbubble__ball { border-color: rgba(190, 228, 255, 0.9); box-shadow: inset 0 0 14px rgba(25, 200, 255, 0.4), 0 0 26px rgba(25, 200, 255, 0.55); }
.final__hint { position: absolute; right: calc(var(--flask-r) + var(--flask-w) / 2); bottom: calc(var(--bench) / 2 - 7px); translate: 50% 0; margin: 0; white-space: nowrap; font: 500 11px/14px var(--f-mono); letter-spacing: 0.08em; color: var(--text-3); text-align: center; }
.mbubble { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); animation: mb-rise var(--d) cubic-bezier(0.4, 0, 0.75, 1) forwards; }
.mbubble__sway { position: absolute; inset: 0; animation: mb-sway var(--sw) ease-in-out infinite alternate; }
.mbubble__sway::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(160, 215, 255, 0.8); opacity: 0; animation: mb-ring var(--d) linear forwards; }
.mbubble__ball {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid rgba(160, 205, 255, 0.5);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.6) 0 5%, rgba(255, 255, 255, 0.1) 16%, transparent 38%),
    radial-gradient(circle, rgba(10, 114, 255, 0.04) 55%, rgba(25, 200, 255, 0.24) 100%);
  box-shadow: inset 0 0 10px rgba(25, 200, 255, 0.22), 0 0 16px rgba(10, 114, 255, 0.22);
  font: 800 calc(var(--s) * 0.46) / 1 var(--f-sans); color: #e3f5ff; text-shadow: 0 0 10px rgba(25, 200, 255, 0.9);
  animation: mb-ball var(--d) linear forwards;
}
@keyframes mb-rise { from { transform: translate(0, 0); } to { transform: translate(var(--dx), var(--rise)); } }
@keyframes mb-sway { from { transform: translateX(calc(var(--amp) * -1)); } to { transform: translateX(var(--amp)); } }
@keyframes mb-ball {
  0% { transform: scale(0.2); opacity: 0; }
  10% { transform: scale(1); opacity: 1; }
  90% { transform: scale(1); opacity: 1; }
  94% { transform: scale(1.15); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes mb-ring { 0%, 91% { transform: scale(0.9); opacity: 0; } 94% { opacity: 0.9; } 100% { transform: scale(2.1); opacity: 0; } }

/* clicking a $ bubble: it bursts (ring, droplets, the $ flies off)... */
.mpop { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); pointer-events: none; }
.mpop::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(190, 230, 255, 0.95); animation: mpop-ring 450ms ease-out forwards; }
.mpop i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #9fdcff; box-shadow: 0 0 8px rgba(25, 200, 255, 0.8); animation: mpop-drop 560ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.mpop b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 calc(var(--s) * 0.46) / 1 var(--f-sans); color: #e3f5ff; text-shadow: 0 0 12px rgba(25, 200, 255, 0.9); animation: mpop-cash 600ms var(--ease-out) forwards; }
@keyframes mpop-ring { from { transform: scale(1); opacity: 1; } to { transform: scale(2.3); opacity: 0; } }
@keyframes mpop-drop { from { transform: rotate(var(--a)) translateX(0) scale(1); opacity: 1; } to { transform: rotate(var(--a)) translateX(var(--r)) scale(0.3); opacity: 0; } }
@keyframes mpop-cash { to { transform: translateY(-46px) scale(1.7); opacity: 0; } }

/* ...then the flask cracks on one side, leaks, the crack races across it and it shatters */
.crack { fill: none; stroke: rgba(236, 246, 255, 0.95); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.flask__cracks { filter: drop-shadow(0 0 3px rgba(150, 210, 255, 0.9)); }
.final__flask.is-cracked { animation: flask-jolt 240ms ease-out; }
.final__flask.is-cracked .crack--first { stroke-dashoffset: 0; transition: stroke-dashoffset 180ms ease-out; }
.final__flask.is-cracked .crack--late { transition-delay: 110ms; }
.final__flask.is-cracked .flask__level { transform: translateY(6px); transition: transform 700ms ease-in; } /* it's leaking */
.final__flask.is-cracking .crack--spread { stroke-dashoffset: 0; transition: stroke-dashoffset 140ms ease-out var(--cd, 0ms); }
@keyframes flask-jolt { 25% { transform: translateX(-3px) rotate(-1deg); } 55% { transform: translateX(3px) rotate(0.6deg); } 80% { transform: translateX(-1px); } }

.flask__spill, .flask__shards { visibility: hidden; }
.flask__spill { fill: url(#fl-spill); filter: drop-shadow(0 0 10px rgba(25, 170, 255, 0.55)); }
.final__flask.is-broken .flask__glass, .final__flask.is-broken .flask__liquid, .final__flask.is-broken .flask__cracks { visibility: hidden; }
.final__flask.is-broken .flask__spill, .final__flask.is-broken .flask__shards { visibility: visible; }
.final__flask::before, .final__flask::after { transition: opacity 600ms ease-out; }
.final__flask.is-broken::before { opacity: 0.35; }
.final__flask.is-broken::after { opacity: 0; }
/* each shard: the group falls (with a little hop first), the polygon flies sideways and spins */
.shard polygon { fill: rgba(188, 214, 255, 0.1); stroke: rgba(210, 230, 255, 0.85); stroke-width: 1.8; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.final__flask.is-broken .shard { animation: shard-fall var(--d) cubic-bezier(0.3, -0.55, 0.75, 1) forwards, shard-fade var(--d) linear forwards; }
.final__flask.is-broken .shard polygon { animation: shard-fly var(--d) cubic-bezier(0.15, 0.6, 0.35, 1) forwards; }
@keyframes shard-fall { to { transform: translateY(var(--ty)); } }
@keyframes shard-fly { to { transform: translateX(var(--tx)) rotate(var(--r)); } }
@keyframes shard-fade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

/* droplets (the leak, then the splash): x and y run on separate layers so they arc */
.drop { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); animation: drop-x var(--d) cubic-bezier(0.2, 0.5, 0.5, 1) forwards; pointer-events: none; }
.drop i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #a8e6ff, #0a72ff 70%); box-shadow: 0 0 10px rgba(25, 170, 255, 0.6); animation: drop-y var(--d) cubic-bezier(0.3, var(--k), 0.75, 1) forwards; }
@keyframes drop-x { to { transform: translateX(var(--dx)); } }
@keyframes drop-y { 0% { transform: translateY(0); } 92% { transform: translateY(var(--dy)) scale(0.85, 0.7); opacity: 1; } 100% { transform: translateY(var(--dy)) scale(1.6, 0.2); opacity: 0; } }

/* the flood: liquid rises over the whole screen, then (on /join/) drains away to reveal the page */
.flood { position: fixed; inset: 0; z-index: 1000; overflow: hidden; }
.flood__body {
  position: absolute; inset: 0; transform: translateY(calc(100% + 110px));
  background:
    radial-gradient(55% 35% at 28% 22%, rgba(255, 255, 255, 0.12), transparent 70%),
    radial-gradient(45% 35% at 76% 64%, rgba(25, 200, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #2aa8ff 0%, #0a72ff 26%, #0650d6 58%, #04308a 100%);
}
.flood__wave { position: absolute; left: 0; bottom: calc(100% - 2px); width: 200%; height: 100px; fill: #2aa8ff; animation: flood-wave 1.5s linear infinite; }
.flood__wave--back { height: 118px; fill: #4dbbff; opacity: 0.5; animation-duration: 2.3s; animation-direction: reverse; }
@keyframes flood-wave { to { transform: translateX(-50%); } }
.flood__b { position: absolute; left: var(--x); bottom: -30px; width: var(--s); height: var(--s); border-radius: 50%; border: 1.5px solid rgba(220, 245, 255, 0.55); background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.5) 0 8%, transparent 40%); animation: flood-b var(--d) ease-in infinite; animation-delay: var(--t); }
@keyframes flood-b { from { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } to { transform: translateY(-110vh); opacity: 0.2; } }
.flood__mark { position: absolute; left: 50%; top: 50%; width: 84px; height: auto; translate: -50% -50%; opacity: 0; }
.flood.is-filling .flood__body { animation: flood-fill 1100ms cubic-bezier(0.55, 0, 0.25, 1) forwards; }
.flood.is-full .flood__mark { animation: flood-mark 450ms var(--ease-out) forwards; }
.flood.is-draining .flood__body { transform: none; animation: flood-drain 1150ms cubic-bezier(0.6, 0, 0.35, 1) forwards; }
.flood.is-draining .flood__mark { opacity: 1; animation: flood-mark 260ms ease-in reverse forwards; }
@keyframes flood-fill { from { transform: translateY(calc(100% + 110px)); } to { transform: translateY(0); } }
@keyframes flood-drain { from { transform: translateY(0); } to { transform: translateY(calc(100% + 110px)); } }
@keyframes flood-mark { from { opacity: 0; scale: 0.8; } to { opacity: 1; scale: 1; } }
/* /join/ starts under the liquid when you came through the flask (an inline script in its <head> adds .flood-in);
   if join.js never drains it, it gets out of the way on its own after 4s */
.flood--arrive { display: none; }
html.flood-in .flood--arrive { display: block; animation: flood-gone 0s 4s forwards; }
html.flood-in .flood--arrive .flood__body { transform: none; }
html.flood-in .flood--arrive .flood__mark { opacity: 1; }
html.flood-hold .pop-in { animation-play-state: paused; }
@keyframes flood-gone { to { visibility: hidden; } }
.final__mark { width: 72px; height: 72px; margin: 0 auto 28px; }
.final h2 { font-size: clamp(44px, 7vw, 92px); font-weight: 800; letter-spacing: -0.045em; }
.final h2 em { font-size: 1.06em; }
.final__inner > p { margin-top: 18px; color: var(--text-2); font-size: 18px; }
.final__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.final .btn--ghost { background: rgba(5, 6, 8, 0.5); backdrop-filter: blur(8px); }

/* final CTA: each piece pops up and fades in, one after another (script.js adds .is-armed / .is-in) */
.final .pop { display: inline-block; }
.final p.pop, .final .final__ctas.pop, .final .final__mark.pop { display: block; }
.final .final__ctas.pop { display: flex; }
.final.is-armed .pop { opacity: 0; transform: translateY(56px) scale(0.96); }
.final.is-armed.is-in .pop {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-out), transform 950ms cubic-bezier(0.34, 1.45, 0.64, 1);
  transition-delay: calc(var(--i, 0) * 130ms);
}

/* footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__brand img { width: 130px; mix-blend-mode: screen; }
.footer__tag { margin-top: 10px; font: 500 12px var(--f-mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-2); }
.footer__tag i { font-style: normal; color: var(--blue-2); margin: 0 4px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--text-2); font-size: 14px; padding: 6px 0; transition: color var(--dur); }
.footer__links a:hover { color: var(--text); }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13px; color: var(--text-3); }

/* reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(26px); filter: blur(6px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.tile.reveal { transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out), border-color var(--dur); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--lg { grid-column: 1 / -1; grid-row: auto; }
  .tile--wide { grid-column: auto; }
  .course__grid, .flips__inner { grid-template-columns: 1fr; }
  .course__media { max-width: 480px; }
  .flips__copy { padding: 80px 0 0; }
  .feed { height: 520px; margin-bottom: 40px; }
  /* no room beside the copy any more: the bench and glassware move below the buttons */
  .final { --flask-w: 128px; padding-bottom: calc(var(--bench) + var(--flask-w) * 1.35 + 32px); }
  .final__rack { width: 120px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav__inner { padding: 12px 16px; gap: 12px; }
  .nav__brand img { width: 108px; }
  .nav__actions .btn--ghost span { display: none; }
  .nav__actions .btn--ghost { padding: 0 12px; }
  .hero { padding-top: 96px; }
  .arc { height: 170px; }
  .arc__card { width: 58px; border-radius: 14px; }
  .hero__content { margin-top: 0; padding: 0 16px; }
  .waitlist { flex-direction: column; border-radius: 22px; }
  .waitlist .btn { width: 100%; }
  .waitlist__msg { position: static; margin-top: 4px; padding: 0 12px 4px; }
  .hero__discord { margin-top: 20px; }
  .bento { grid-template-columns: 1fr; }
  .tile--lg, .tile--wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 20px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .price { padding: 28px 22px; }
  .price__big { font-size: 60px; }
  .price__top { flex-direction: column-reverse; }
  .faq__item summary { padding: 18px; font-size: 16.5px; }
  .faq__item p { padding: 0 18px 20px 52px; }
  .feed { height: 440px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .final { --flask-w: 104px; --flask-r: 12px; padding-bottom: calc(var(--bench) + var(--flask-w) * 1.35 + 28px); }
  .final__rack { left: 12px; width: 96px; }
  .final__mol--b { display: none; }
  .final__mol--a { top: 4%; left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .arc__card { opacity: 1; }
  .final__hint { display: none; } /* no bubbles to pop */
}
