/*
  Roasy, November 2026 redesign (task 003).
  Design read: B2B SaaS marketing site for ecommerce and agency marketers, premium dark data language.
  Dials: variance 7, motion 7, density 4.
  - One theme: dark aubergine night. Surfaces step up in tone instead of borders.
  - One shape: all sharp (radius 0). The only circles are radio controls and data dots.
  - One accent: teal (#60eacb) for actions and gain. Pink only means waste or loss, amber only means "held".
  - Type: Geist (display + text), Geist Mono for bids and figures. Self-hosted.
  - No eyebrows, pills, gradient text, side borders, card outlines, background patterns or window chrome.
  - Motion: transform and opacity only, every animation off under prefers-reduced-motion.
*/

@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0f0618;
  --bg-2: #160a24;
  --bg-3: #1f0f33;
  --bg-4: #2a1645;
  --ink: #f6f1fc;
  --muted: #b9abcc;
  --faint: #9284a8;
  --line: rgba(255, 255, 255, .09);
  --purple: #591d93;
  --violet: #8a5cd6;
  --teal: #60eacb;
  --teal-2: #8ef2da;
  --pink: #ff7a9a;
  --amber: #f9b851;
  --on-teal: #12061f;
  --wrap: 1240px;
  --gutter: clamp(20px, 4.4vw, 48px);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 24px); background: var(--bg); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--muted); background: var(--bg);
  overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01';
}
/* Film grain: one fixed layer, never on a scrolling container */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg, canvas { max-width: 100%; display: block; }
img, video { height: auto; }
[hidden] { display: none !important; }
figure { margin: 0; }
a { color: var(--ink); text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: rgba(96, 234, 203, .7); }
a:hover { text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--teal); color: var(--on-teal); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 650; line-height: 1.04; letter-spacing: -.042em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.8rem); font-weight: 680; letter-spacing: -.05em; line-height: .98; }
h2 { font-size: clamp(2.15rem, 4.4vw, 3.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 38em; }
.mono, .num, .bid { font-family: var(--mono); font-feature-settings: 'zero', 'tnum'; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: clamp(84px, 11vw, 168px) 0; position: relative; isolation: isolate; overflow-x: clip; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head p { font-size: 1.15rem; max-width: 36em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--teal); color: var(--on-teal); padding: 12px 18px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* Surfaces (old band names map onto the one dark theme) */
.on-night, .on-lilac, .on-brand, .on-night-2 { color: var(--muted); }
.surface, .on-lilac, .on-night-2 { background: var(--bg-2); }
.on-brand { background: var(--purple); }
.on-brand p { color: #eadcfb; }
.glow::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 60% at var(--gx, 85%) var(--gy, 0%), rgba(138, 92, 214, .22), transparent 70%); }
.glow-teal::before { background: radial-gradient(45% 55% at var(--gx, 12%) var(--gy, 100%), rgba(96, 234, 203, .10), transparent 70%); }
.pat::before { content: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .3s var(--ease), backdrop-filter .3s var(--ease); }
.site-header.is-stuck { background: rgba(15, 6, 24, .82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 86px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 12px; transition: color .2s ease; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 10px; text-decoration-thickness: 2px; }
.nav .nav-signin { color: var(--faint); margin-left: 8px; }
.nav a.btn { margin-left: 12px; color: var(--on-teal); padding: 10px 18px; min-height: 42px; }
.menu-toggle { display: none; margin-left: auto; font: 600 .95rem/1 var(--font); color: var(--ink); background: var(--bg-3); border: 0; padding: 12px 18px; min-height: 44px; cursor: pointer; }
.register-mode .nav a:not(.nav-signin), .register-mode .menu-toggle { display: none; }

/* Buttons: rectangular, one accent */
.btn {
  --bg: var(--teal); --fg: var(--on-teal);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 15px 26px;
  border: 0; border-radius: 0; background: var(--bg); color: var(--fg); font: 600 1rem/1.15 var(--font); letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--teal-2); transform: translateX(-101%); transition: transform .45s var(--ease); }
.btn:hover { text-decoration: none; }
.btn:hover::before { transform: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-quiet { --bg: rgba(255, 255, 255, .07); --fg: var(--ink); }
.btn-quiet::before { background: rgba(255, 255, 255, .13); }
.btn[disabled] { opacity: .7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { color: var(--ink); font-weight: 500; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.link-arrow span { color: var(--teal); transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.more { margin-top: clamp(28px, 4vw, 44px); }

/* Home hero: copy on the left, the live product field bleeding in from the right */
.hero { position: relative; isolation: isolate; min-height: min(calc(100dvh - var(--header)), 900px); display: grid; align-items: center; padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); overflow: hidden; margin-top: calc(-1 * var(--header)); padding-top: calc(var(--header) + clamp(40px, 6vw, 88px)); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 80% at 78% 30%, rgba(89, 29, 147, .55), transparent 70%), radial-gradient(40% 50% at 95% 90%, rgba(96, 234, 203, .10), transparent 70%), var(--bg); }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { margin-bottom: .32em; }
.hero h1 .w { display: inline-block; }
.hero .lede { margin-bottom: 1.9em; max-width: 31em; }
.hero-field { position: absolute; z-index: -1; top: 0; bottom: 0; right: -6%; width: 72%; }
.hero-field canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.hero-field.is-live canvas { opacity: 1; }
.hero-field::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, rgba(15, 6, 24, .7) 22%, rgba(15, 6, 24, 0) 52%), linear-gradient(0deg, var(--bg) 0%, rgba(15, 6, 24, 0) 24%); }
.hero-poster { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .9; }
.hero-field.is-live .hero-poster { opacity: 0; transition: opacity 1.2s ease; }
.field-label { position: absolute; left: 0; top: 0; z-index: 3; width: 248px; margin: -132px 0 0 -18px; padding: 14px 16px 13px; background: rgba(22, 10, 36, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--muted); font-size: .8rem; line-height: 1.35; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.hero-field.is-live .field-label { opacity: 1; }
.field-label::after { content: ''; position: absolute; left: 18px; bottom: -22px; width: 1px; height: 22px; background: rgba(96, 234, 203, .6); }
.field-label .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.field-label .prod { color: var(--ink); font-weight: 600; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field-label .bid { white-space: nowrap; font-size: .86rem; }
.field-label .old { color: var(--faint); text-decoration: line-through; margin-right: 6px; }
.field-label .why { display: block; margin-top: 6px; }
.field-label.is-new { animation: labelIn .7s var(--ease); }
@keyframes labelIn { from { opacity: .2; transform: translateY(6px); } }
.field-caption { position: absolute; right: calc(8.4% + 8px); bottom: 22px; z-index: 3; margin: 0; font-size: .82rem; color: var(--faint); max-width: 30em; text-align: right; }
.up, .new.up { color: var(--teal); } .down, .new.down { color: var(--pink); } .hold, .new.hold, .new.paused { color: var(--amber); }

/* Trust row under the hero */
.trust { padding: 26px 0; background: var(--bg-2); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 32px; }
.trust li { display: flex; gap: 12px; align-items: baseline; font-size: .95rem; color: var(--muted); }
.trust li strong { display: block; font-weight: 600; }
.trust svg { width: 16px; height: 16px; flex: none; color: var(--teal); transform: translateY(3px); }

/* Inner page heroes */
.page-hero { padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 104px); position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 75% at 90% 0%, rgba(89, 29, 147, .5), transparent 70%), radial-gradient(35% 50% at 0% 100%, rgba(96, 234, 203, .07), transparent 70%); }
.page-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); max-width: 15ch; }
.page-hero .lede { margin-bottom: 1.8em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero-notes { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; color: var(--faint); }
.hero-notes li { display: inline-flex; gap: 9px; align-items: baseline; }
.hero-notes svg { width: 15px; height: 15px; flex: none; transform: translateY(2px); color: var(--teal); }

/* Films: the 30-second explainers with voice-over */
.film-band { padding: clamp(84px, 10vw, 150px) 0; }
.film-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.film-head p { margin: 0; font-size: 1.15rem; max-width: 34em; }
.film { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-wide { width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; }
.film-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: inline-flex; align-items: center; gap: 14px; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .6);
  min-height: 56px; padding: 0 24px 0 18px; border: 0; background: var(--teal); color: var(--on-teal); font: 600 1rem/1 var(--font); cursor: pointer;
  transition: transform .3s var(--ease), opacity .3s ease;
}
.film-play { white-space: nowrap; }
.film-play:hover { transform: translateY(-2px); }
.film-play svg { width: 22px; height: 22px; }
.film-play .len { font: 500 .85rem/1 var(--mono); opacity: .75; }
.film.is-playing .film-play { opacity: 0; pointer-events: none; }
.film-mute { position: absolute; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); z-index: 2; min-height: 44px; padding: 0 16px; border: 0; background: rgba(15, 6, 24, .7); color: var(--ink); font: 500 .85rem/1 var(--font); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.film.is-playing .film-mute { display: none; }
.film-cap { margin-top: 14px; font-size: .9rem; color: var(--faint); }

/* Old silent loops (inner pages) */
.video { position: relative; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle { position: absolute; right: 12px; bottom: 12px; font: 600 .82rem/1 var(--font); background: rgba(15, 6, 24, .78); color: #fff; border: 0; padding: 10px 14px; min-height: 40px; cursor: pointer; }
.video-cap { font-size: .9rem; margin-top: 12px; color: var(--faint); }

/* Leaks: three pains, each with a live diagram that holds while its text scrolls past */
.leaks { display: grid; gap: clamp(64px, 10vw, 140px); }
.leak { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.leak-vis { position: sticky; top: calc(var(--header) + 6vh); background: var(--bg-2); padding: clamp(22px, 3vw, 36px); min-height: 340px; }
.leak-text { padding-top: clamp(0px, 4vw, 60px); }
.leak-text .n { font: 500 .95rem/1 var(--mono); color: var(--pink); display: block; margin-bottom: 22px; }
.leak-text h3 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); letter-spacing: -.04em; line-height: 1.05; margin-bottom: .5em; }
.leak-text p { font-size: 1.08rem; }
.vis-title { display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--faint); margin-bottom: 26px; }
.vis-title strong { color: var(--ink); font-weight: 600; }
.vis-note { font-size: .8rem; color: var(--faint); margin: 22px 0 0; }
/* Leak 1: the lag */
.lag { display: grid; gap: 20px; }
.lag { gap: 26px; }
.lag-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: start; font-size: .86rem; }
.lag-row > span:first-child { color: var(--ink); font-weight: 500; line-height: 20px; }
.lag-track { position: relative; height: 46px; background: linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .08)) 0 9px / 100% 1px no-repeat; }
.lag-axis { display: grid; grid-template-columns: 92px 1fr; gap: 14px; font: 500 .74rem/1 var(--mono); color: var(--faint); }
.lag-axis div { display: flex; justify-content: space-between; }
.lag-dot { position: absolute; top: 10px; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--teal); left: var(--x); transform: scale(0); transition: transform .5s var(--ease); }
.lag-dot.shop { background: var(--ink); }
.lag-bar { position: absolute; top: 3px; height: 13px; left: var(--x); width: var(--w); background: var(--pink); transform-origin: left; transform: scaleX(0); transition: transform 2.4s var(--ease) .8s; opacity: .85; }
.lag-bar.soft { background: linear-gradient(90deg, rgba(255, 122, 154, .85), rgba(255, 122, 154, .15)); }
.lag-tag { position: absolute; top: 24px; left: var(--x); margin-left: -6px; white-space: nowrap; font-size: .78rem; color: var(--muted); opacity: 0; transition: opacity .5s ease .4s; }
.is-active .lag-dot { transform: scale(1); }
.is-active .lag-dot.roasy { transition-delay: .35s; }
.is-active .lag-bar { transform: none; }
.is-active .lag-tag { opacity: 1; }
.is-active .lag-tag.late { transition-delay: 2.6s; }
/* Leak 2: one pot */
.pot { display: grid; gap: 16px; }
.pot-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; font-size: .86rem; }
.pot-row > span { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pot-row small { display: block; color: var(--faint); font-size: .76rem; }
.pot-bars { display: grid; gap: 5px; }
.pot-bars i { display: block; height: 9px; width: var(--v); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.pot-bars i.spend { background: var(--violet); }
.pot-bars i.profit { background: var(--teal); transition-delay: .5s; }
.is-active .pot-bars i { transform: none; }
.pot-key { display: flex; gap: 22px; font-size: .8rem; color: var(--faint); margin-bottom: 18px; }
.pot-key i { display: inline-block; width: 18px; height: 8px; margin-right: 8px; vertical-align: 1px; }
/* Leak 3: sold out */
.stock { display: grid; gap: 14px; }
.stock-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.stock-head .name { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.stock-count { font: 600 3.6rem/1 var(--mono); color: var(--ink); letter-spacing: -.05em; }
.stock-count small { font-size: .9rem; color: var(--faint); letter-spacing: 0; margin-left: 6px; }
.stock-line { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: var(--bg-3); font-size: .88rem; }
.stock-line .who { color: var(--ink); font-weight: 500; }
.stock-line .bid { font-size: .95rem; }
.stock-line.pmax .bid { color: var(--pink); }
.stock-line.roasy .bid { color: var(--amber); }
.stock-line .what { color: var(--muted); }
.stock-line { opacity: .35; transition: opacity .6s ease; }
.stock.is-out .stock-line { opacity: 1; }

/* The black box: scroll unpacks one cube into a priced field */
.blackbox { position: relative; height: 330vh; background: var(--bg); }
.bb-stage { position: sticky; top: 0; height: 100dvh; overflow: hidden; display: grid; align-items: end; }
.bb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bb-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(15, 6, 24, .92) 0%, rgba(15, 6, 24, .4) 34%, rgba(15, 6, 24, 0) 60%), linear-gradient(180deg, var(--bg) 0%, rgba(15, 6, 24, 0) 16%); }
.bb-copy { position: relative; z-index: 2; padding-bottom: clamp(40px, 8vh, 96px); }
.bb-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.bb-steps > li { grid-area: 1 / 1; max-width: 760px; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.bb-steps > li.is-on { opacity: 1; transform: none; }
.bb-steps h2, .bb-steps h3 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); margin-bottom: .3em; }
.bb-steps p { font-size: 1.15rem; max-width: 34em; }
.bb-steps .pm { color: var(--muted); }
.bb-meter { display: flex; gap: 6px; margin-top: 28px; }
.bb-meter i { width: 36px; height: 3px; background: rgba(255, 255, 255, .18); }
.bb-meter i.is-on { background: var(--teal); }
.blackbox.is-static { height: auto; }
.blackbox.is-static .bb-stage { position: relative; height: auto; min-height: 90vh; display: block; padding: clamp(96px, 12vw, 160px) 0 clamp(64px, 8vw, 110px); }
.blackbox.is-static .bb-canvas, .blackbox.is-static .bb-poster { opacity: .4; }
.blackbox.is-static .bb-stage::after { background: linear-gradient(90deg, rgba(15, 6, 24, .9) 0%, rgba(15, 6, 24, .5) 55%, rgba(15, 6, 24, .2) 100%); }
.blackbox.is-static .bb-steps { gap: 36px; }
.blackbox.is-static .bb-steps > li { grid-area: auto; opacity: 1; transform: none; }
.blackbox.is-static .bb-meter { display: none; }
.bb-poster { position: absolute; inset: 0; background: center / cover no-repeat; }
.blackbox.is-live .bb-poster { display: none; }

/* Reasons marquee: the written reason behind real bid changes */
.reasons { padding: 34px 0; background: var(--bg-2); overflow: hidden; }
.reasons-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; margin-bottom: 18px; font-size: .92rem; }
.reasons-head p { margin: 0; }
.reasons-head strong { font-weight: 600; }
.marquee { display: flex; width: max-content; gap: 14px; animation: marquee 60s linear infinite; }
.reasons:hover .marquee { animation-play-state: paused; }
.marquee li { list-style: none; display: grid; gap: 4px; padding: 16px 20px; background: var(--bg-3); min-width: 300px; font-size: .86rem; }
.marquee .r-prod { color: var(--ink); font-weight: 500; }
.marquee .r-bid { font-family: var(--mono); font-size: .86rem; }
.marquee .r-why { color: var(--muted); }
.marquee ul { display: flex; gap: 14px; margin: 0; padding: 0; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* Signals: film two and what your shop knows */
.signals { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.signal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.signal { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px; background: var(--bg-2); transition: background-color .3s ease; }
.signal:hover { background: var(--bg-3); }
.signal h3 { font-size: 1.12rem; margin: 0 0 .3em; }
.signal p { margin: 0; font-size: .95rem; }
.signal .state { display: block; margin-top: 8px; font-size: .82rem; }
.sig-vis { width: 64px; height: 48px; }
.sig-vis svg { width: 100%; height: 100%; overflow: visible; }
.sig-vis .ln { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 2.4s var(--ease) infinite; }
.sig-vis .bar { fill: var(--violet); transform-box: fill-box; transform-origin: bottom; animation: grow 2.6s var(--ease) infinite alternate; }
.sig-vis .bar.t { fill: var(--teal); animation-delay: .4s; }
.sig-vis .blk { fill: var(--violet); }
.sig-vis .blk.out { fill: var(--pink); animation: blink 2.4s steps(2, jump-none) infinite; }
.sig-vis .ly { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; stroke-dasharray: 3 4; }
@keyframes draw { 0% { stroke-dashoffset: 160; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: .25; } }

/* Hourly loop ring */
.loop { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ring { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring .track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1.5; }
.ring .arc { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 1 1000; transform: rotate(-90deg); transform-origin: 230px 230px; }
.ring .node circle { fill: var(--bg-3); transition: fill .4s ease; }
.ring .node text { fill: var(--muted); font: 600 15px/1 var(--mono); text-anchor: middle; dominant-baseline: central; transition: fill .4s ease; }
.ring .node.is-on circle { fill: var(--teal); }
.ring .node.is-on text { fill: var(--on-teal); }
.ring .hand { transform-origin: 230px 230px; transition: transform 1.2s var(--ease); }
.ring .hand line { stroke: rgba(96, 234, 203, .55); stroke-width: 1.5; }
.ring-centre { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.ring-centre .big { font: 600 clamp(2.6rem, 5vw, 3.6rem)/1 var(--mono); color: var(--ink); letter-spacing: -.05em; }
.ring-centre span { font-size: .9rem; color: var(--faint); margin-top: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 18px; background: transparent; transition: background-color .35s ease; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 .9rem/1.9 var(--mono); color: var(--faint); transition: color .35s ease; }
.steps li.is-on { background: var(--bg-2); }
.steps li.is-on::before { color: var(--teal); }
.steps strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.steps span { color: var(--muted); font-size: .95rem; }
.steps-light li.is-on { background: var(--bg-3); }

/* Control: the real Changes screen */
.control-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.shot { position: relative; }
.shot::before { content: ''; position: absolute; inset: -12% -8%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(138, 92, 214, .35), transparent 70%); filter: blur(10px); }
.shot img { width: 100%; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); }
.frame { position: relative; background: #fff; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); }
.frame-bar { display: none; }
.frame img { width: 100%; }
.frame-caption, .shot-cap { font-size: .85rem; color: var(--faint); margin-top: 14px; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.ticks svg { width: 18px; height: 18px; margin-top: 5px; color: var(--teal); }

/* Results */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.figure { padding: clamp(22px, 3vw, 34px); background: var(--bg-2); }
.figure .num { font-size: clamp(2.8rem, 5.2vw, 4.4rem); font-weight: 600; line-height: 1; letter-spacing: -.06em; color: var(--ink); }
.figure .num small { font-size: .42em; letter-spacing: 0; color: var(--faint); }
.figure:first-child .num { color: var(--teal); }
.figure p { margin: 16px 0 0; font-size: .95rem; color: var(--ink); }
.figure .vs { display: block; font-size: .85rem; color: var(--faint); margin-top: 6px; }
.footnote { font-size: .82rem; color: var(--faint); margin-top: 18px; max-width: 72em; }
.selected { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.selected .huge { font: 600 clamp(6rem, 15vw, 12rem)/.85 var(--mono); letter-spacing: -.08em; color: var(--teal); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 4px; }
.quote { margin: 0; background: var(--bg-2); padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { margin: 0; font-size: 1.12rem; line-height: 1.55; color: var(--ink); }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: .92rem; color: var(--faint); margin-top: auto; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote.feature { grid-column: span 2; background: var(--bg-3); }
.quote.feature blockquote { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.25; max-width: 30em; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; }
.calc-in, .calc-out { background: var(--bg-2); padding: clamp(24px, 3.4vw, 44px); }
.calc-out { background: var(--bg-3); display: flex; flex-direction: column; }
.calc .field { margin-bottom: 24px; }
.calc-range { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.calc-range output { font: 600 1.3rem/1 var(--mono); color: var(--teal); min-width: 4.5ch; text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--teal) var(--fill, 25%), rgba(255, 255, 255, .2) var(--fill, 25%)); }
input[type="range"]::-moz-range-track { height: 3px; background: rgba(255, 255, 255, .2); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--teal); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; background: var(--teal); border: 0; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; background: var(--teal); border: 0; border-radius: 0; }
.calc-big { font: 600 clamp(2.8rem, 5.6vw, 4.6rem)/1 var(--mono); letter-spacing: -.06em; color: var(--teal); margin: 6px 0 4px; }
.calc-lines { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: .95rem; }
.calc-lines li { display: flex; justify-content: space-between; gap: 16px; }
.calc-lines b { font: 500 1rem/1.4 var(--mono); color: var(--ink); white-space: nowrap; }
.calc-out .btn { align-self: flex-start; margin-top: auto; }
.calc-note { font-size: .8rem; color: var(--faint); margin: 16px 0 0; }

/* People: two big photo panels */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.person { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(460px, 48vw, 640px); background: var(--bg-2); isolation: isolate; }
.person picture, .person > img { position: absolute; inset: 0; z-index: -2; }
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.person:hover img { transform: scale(1.04); }
.person::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15, 6, 24, .96) 0%, rgba(15, 6, 24, .78) 38%, rgba(15, 6, 24, 0) 72%); }
.person .body { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 10px; }
.person h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.04em; }
.person ul { margin: 4px 0 18px; padding-left: 1.1em; color: var(--muted); }
.person ul li + li { margin-top: 6px; }
.person .btn { align-self: flex-start; }
.photo-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.photo-split img, .feature-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 !important; }
.photo-mask img { border-radius: 0; }

/* CSS band */
.css-band { background: var(--bg-2); }
.css-band .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 5vw, 72px); align-items: center; }
.css-band .big { font: 600 clamp(4.6rem, 10vw, 8.4rem)/.85 var(--mono); letter-spacing: -.08em; color: var(--teal); }
.css-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: .3em; }
.css-band p { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 4px; }
.faq details { background: var(--bg-2); transition: background-color .3s ease; }
.faq details[open] { background: var(--bg-3); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 64px 22px 26px; font-weight: 600; font-size: 1.08rem; color: var(--ink); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 26px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--teal), var(--teal)) center / 14px 2px no-repeat, linear-gradient(var(--teal), var(--teal)) center / 2px 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 26px 24px; }
.faq details > div p:last-child { margin: 0; }

/* Call to action + form */
.cta-band { background: var(--bg-2); }
.cta-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cta-copy h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.next-steps { list-style: none; counter-reset: ns; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font: 500 .95rem/1.7 var(--mono); color: var(--teal); }
.form-card { background: var(--bg-3); color: var(--muted); padding: clamp(24px, 3.6vw, 48px); }
.form-card h3, .form-card legend { color: var(--ink); }
.form-progress { font: 500 .85rem/1 var(--mono); color: var(--teal); margin: 0 0 14px; }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.form-card legend { font-size: 1.5rem; font-weight: 650; letter-spacing: -.03em; padding: 0; margin-bottom: 22px; }
.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 500; color: var(--ink); margin-bottom: 8px; font-size: .97rem; }
.field .hint { display: block; font-size: .87rem; color: var(--faint); margin: -3px 0 9px; font-weight: 400; }
.opt { font-weight: 400; color: var(--faint); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="number"], .field input[inputmode], .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: rgba(255, 255, 255, .05); border: 0; border-bottom: 1px solid rgba(255, 255, 255, .42); border-radius: 0; padding: 14px 14px; min-height: 52px;
  transition: background-color .2s ease, border-color .2s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { background: rgba(255, 255, 255, .08); }
.field textarea { min-height: 100px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: var(--bg-3); color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 0; border-bottom-color: var(--teal); background: rgba(255, 255, 255, .08); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 14px; background: rgba(255, 255, 255, .05); font-size: .95rem; color: var(--ink); transition: background-color .2s ease; }
.choice:hover span { background: rgba(255, 255, 255, .09); }
.choice span::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.choice input:checked + span { background: rgba(96, 234, 203, .14); }
.choice input:checked + span::before { box-shadow: inset 0 0 0 2px var(--teal), inset 0 0 0 5px var(--bg-3); background: var(--teal); }
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .95rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--teal); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: var(--pink); }
.field.has-error .choice span { box-shadow: inset 0 -2px 0 var(--pink); }
.err { display: none; color: var(--pink); font-size: .9rem; font-weight: 500; margin-top: 8px; }
.err::before { content: 'Error: '; font-weight: 700; }
.has-error .err { display: block; }
.error-summary { padding: 18px 20px; margin-bottom: 24px; background: rgba(255, 122, 154, .12); box-shadow: inset 0 3px 0 var(--pink); }
.error-summary h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.error-summary ul { margin: 0; padding-left: 1.1em; }
.error-summary a { color: var(--pink); font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 10px; }
.form-actions .btn { min-width: 230px; }
.linkish { background: none; border: 0; padding: 8px 0; font: 500 .95rem var(--font); color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: .22em; cursor: pointer; min-height: 44px; }
.reassure { font-size: .87rem; color: var(--faint); margin: 18px 0 0; }
.reassure svg { display: inline-block; width: 13px; height: 13px; vertical-align: -1px; margin-right: 6px; color: var(--teal); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.js .step-2[hidden] { display: none; }
.form-status { font-weight: 600; color: var(--pink); margin-top: 12px; }
.form-status:empty { display: none; }
.form-card a:not(.btn) { color: var(--ink); }

/* Prose pages */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.9em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose table { border-collapse: separate; border-spacing: 0 4px; width: 100%; font-size: .95rem; margin: 1em 0 1.5em; }
.prose th, .prose td { background: var(--bg-2); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }

/* Inner page building blocks */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 9vw, 128px); }
.feature-row.flip > :first-child { order: 2; }
.feature-row h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.status-live { color: var(--teal); font-weight: 600; }
.status-next { color: var(--amber); font-weight: 600; }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; counter-reset: pain; }
.pain { counter-increment: pain; padding: clamp(24px, 3vw, 36px); background: var(--bg-2); }
.pain::before { content: counter(pain, decimal-leading-zero); display: block; font: 500 .95rem/1 var(--mono); color: var(--pink); margin-bottom: 28px; }
.pain h3 { font-size: 1.35rem; }
.pain p:last-child { margin-bottom: 0; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.tile { background: var(--bg-2); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.tile h3 { margin: 0; font-size: 1.35rem; }
.tile p { margin: 0; }
.tile .big { font: 600 clamp(2.6rem, 4.4vw, 3.8rem)/1 var(--mono); letter-spacing: -.06em; color: var(--teal); margin-bottom: 8px; }
.tile-a { grid-column: span 4; } .tile-b { grid-column: span 2; } .tile-c { grid-column: span 2; } .tile-d { grid-column: span 4; }
.tile-accent { background: var(--bg-3); }
.tile .tag { font-size: .85rem; font-weight: 500; color: var(--teal); margin-top: auto; }
.mini-rows { margin-top: auto; display: grid; gap: 4px; font: 500 .82rem/1.3 var(--mono); }
.mini-rows div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; background: rgba(255, 255, 255, .05); color: var(--ink); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: .98rem; }
.compare th, .compare td { text-align: left; padding: 18px 22px; vertical-align: top; background: var(--bg-2); }
.compare thead th { background: transparent; color: var(--faint); font-weight: 500; font-size: .9rem; padding-bottom: 10px; }
.compare thead th.roasy { color: var(--teal); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.compare tbody td { color: var(--muted); }
.compare tbody td.roasy { background: var(--bg-3); color: var(--ink); }
.compare .yes { color: var(--teal); font-weight: 600; } .compare .no { color: var(--pink); font-weight: 500; }
.table-scroll { overflow-x: auto; }
.tiers { display: grid; gap: 4px; }
.tier { display: grid; grid-template-columns: 170px 1fr auto; gap: 18px; align-items: center; background: var(--bg-3); padding: 18px 20px; }
.tier .name { font-weight: 600; color: var(--ink); }
.tier .what { color: var(--muted); font-size: .93rem; }
.tier .bid { font: 600 1.05rem/1 var(--mono); color: var(--teal); }
.tier.catch { background: var(--bg-2); }
.tier-arrow { font-size: .9rem; color: var(--faint); padding: 8px 20px; margin: 0; }
.objections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.objection { background: var(--bg-2); padding: clamp(24px, 3vw, 36px); }
.objection h3 { font-size: 1.15rem; margin-bottom: .45em; }
.objection p { margin: 0; }
.route { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; background: var(--bg-2); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.08rem; transition: background-color .3s ease; }
.route:hover { background: var(--bg-3); }
.route .sub { display: block; font-weight: 400; font-size: .92rem; color: var(--muted); }
.route .arrow { color: var(--teal); font-size: 1.4rem; transition: transform .3s var(--ease); }
.route:hover .arrow { transform: translateX(4px); }
.routes .wrap { display: grid; grid-template-columns: auto 1fr 1fr; gap: 4px; align-items: stretch; }
.routes p { margin: 0; align-self: center; font-weight: 600; color: var(--ink); padding-right: 24px; }
.ticker { display: none; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

/* Footer */
.site-footer { background: var(--bg); color: var(--faint); padding: 96px 0 32px; font-size: .95rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer a.btn, .site-footer a.btn:hover { color: var(--on-teal); }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; padding-bottom: 72px; margin-bottom: 64px; box-shadow: 0 1px 0 var(--line); }
.footer-cta p { font-size: clamp(2rem, 4.4vw, 3.8rem); font-weight: 650; color: var(--ink); letter-spacing: -.045em; line-height: 1.02; margin: 0; max-width: 14em; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: .9rem; color: var(--ink); margin-bottom: 16px; letter-spacing: 0; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid img { width: 104px; margin-bottom: 18px; }
.footer-base { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
.footer-base .links { display: flex; gap: 24px; flex-wrap: wrap; }
.cookie-link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* Cookie notice */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(440px, calc(100% - 32px)); background: var(--bg-3); color: var(--muted); padding: 22px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8); font-size: .93rem; }
.cookie h2 { font-size: 1.1rem; margin-bottom: .4em; letter-spacing: -.02em; }
.cookie p { margin-bottom: 16px; }
.cookie .actions { gap: 8px; }
.cookie .btn { min-height: 44px; padding: 10px 18px; font-size: .93rem; }

/* Motion: reveal only when JavaScript runs, so nothing is hidden from crawlers or screenshots */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger.is-in > :nth-child(2) { transition-delay: .08s; } .js .stagger.is-in > :nth-child(3) { transition-delay: .16s; }
.js .stagger.is-in > :nth-child(4) { transition-delay: .24s; } .js .stagger.is-in > :nth-child(5) { transition-delay: .32s; }
.js .hero h1 .w { opacity: 0; transform: translateY(.5em); animation: wordIn 1s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
.js .hero .lede, .js .hero .actions { opacity: 0; animation: fadeUp 1s var(--ease) forwards .55s; }
.js .hero .actions { animation-delay: .7s; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .nav a:not(.btn) { padding: 10px 8px; font-size: .9rem; }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-header.menu-open { background: var(--bg); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--header)); background: var(--bg); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 28px; gap: 2px; overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 4px; font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em; }
  .nav a[aria-current="page"] { color: var(--teal); text-decoration: none; }
  .nav .nav-signin { margin: 8px 0 0; font-size: 1.05rem; color: var(--muted); }
  .nav a.btn { margin: 18px 0 0; font-size: 1.05rem; min-height: 54px; }
  .register-mode .nav { display: flex; position: static; height: auto; flex-direction: row; padding: 0; background: none; }
  .register-mode .nav a.nav-signin { font-size: .95rem; }
  .register-mode .nav .btn { display: none; }
  .hero { min-height: 0; }
  .hero-field { position: relative; right: auto; width: auto; height: 380px; margin: 28px calc(-1 * var(--gutter)) 0; }
  .hero-field::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(15, 6, 24, 0) 30%), linear-gradient(180deg, var(--bg) 0%, rgba(15, 6, 24, 0) 20%); }
  .hero .wrap { display: block; }
  .field-caption { right: auto; left: var(--gutter); text-align: left; bottom: 4px; }
  .hero-grid, .how-grid, .control-grid, .cta-grid, .feature-row, .selected, .photo-split, .signals, .loop, .film-head, .calc, .leak { grid-template-columns: 1fr; }
  .feature-row.flip > :first-child { order: 0; }
  .leak-vis { position: relative; top: 0; order: 2; }
  .leak-text { padding-top: 0; }
  .pains { grid-template-columns: 1fr; }
  .routes .wrap { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-a, .tile-b, .tile-c, .tile-d { grid-column: span 1; }
  .tile-a { grid-column: span 2; }
  .figures { grid-template-columns: 1fr 1fr; }
  .css-band .wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .objections { grid-template-columns: 1fr; }
  .ring { width: min(100%, 360px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { width: 76px; }
  .quotes, .people, .bento, .figures { grid-template-columns: 1fr; }
  .tile-a { grid-column: span 1; }
  .quote.feature { grid-column: span 1; }
  .trust ul { grid-template-columns: 1fr; }
  .hero-field { height: 320px; }
  .field-label { width: 210px; font-size: .74rem; }
  .field-label:nth-of-type(2) { display: none; }
  .tier { grid-template-columns: 1fr auto; }
  .tier .what { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 14px 16px; }
  .compare { min-width: 600px; }
  .form-actions .btn { width: 100%; }
  .lag-row, .lag-axis { grid-template-columns: 70px 1fr; }
  .pot-row { grid-template-columns: 110px 1fr; }
  .stock-line { grid-template-columns: 1fr auto; }
  .stock-line .what { grid-column: 1 / -1; }
  .person { min-height: 520px; }
  .marquee li { min-width: 260px; }
  .film-play { min-height: 48px; padding: 0 18px 0 14px; font-size: .92rem; gap: 10px; }
  .film-play .len { display: none; }
  .film-mute { min-height: 36px; font-size: .78rem; padding: 0 12px; }
  .blackbox { height: 280vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .stagger > *, .js .hero h1 .w, .js .hero .lede, .js .hero .actions { opacity: 1; transform: none; animation: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
  .lag-dot, .lag-bar, .pot-bars i { transform: none !important; }
  .lag-tag { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-stuck, .field-label, .film-mute { background: var(--bg-3); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
