/* ==========================================================================================
   CLIVOX — website
   ==========================================================================================
   v3. The v2 page was accurate but bare. This one is built on a single idea:

     the page is monochrome, and every colour on it is something CLIVOX made.

   The architecture — type, rules, surfaces, buttons — stays in the application's own graphite
   and silver, taken from frontend/src/styles/index.css and recorded in CLIVOX_FACTS.json. No
   brand colour is invented, because the product does not have one. What carries the page is the
   product's real output: ten finished covers, a thirty-second reel of ten real clips, the style
   walls. Those are full of colour, and against a grey room they look expensive.

   Density is the other change. v2 left a lot of air between small things. v3 uses fewer, bigger
   pieces, a visible type scale, and sections that overlap rather than queue up.

   ------------------------------------------------------------------------------------------
   TYPE SCALE
   Every size on the page comes from the --t-* tokens below and nowhere else. They are all
   clamp()ed against the viewport, so phone and desktop are the same design at two sizes rather
   than two designs — which is what "sinkronkan tampilan mobile dan PC" actually requires. A
   hard-coded px font-size anywhere in this file is a bug.
   ========================================================================================== */

:root {
  /* --- the application's palette, unchanged --- */
  --bg: #0a0a0b;
  --surface: #101013;
  --raised: #17171b;
  --border: #1c1c21;
  --border-strong: #2e2e36;
  --text: #f1f1ef;
  --text-2: #9a9aa1;
  --text-3: #7c7c84;
  --text-4: #64646c;
  /* --text-4 is the application's dimmest token and it is kept here so the palette stays a
     faithful copy of frontend/src/styles/index.css — but it is not used for text on this page.
     Measured against every ground the site uses it lands at 3.05:1 to 3.37:1, and WCAG AA wants
     4.5:1 for text this size. In the app it labels chrome a metre from a desktop monitor; here it
     was setting captions and the footer on a phone. Small print is exactly the text that must not
     be the hardest to read. It survives as a hairline colour only. */
  --accent: #cfcfd6;
  --accent-hover: #e6e6ea;
  --accent-ink: #0b0b0d;
  /* The application's own warning colour, from frontend/src/styles/index.css. It is the only
     non-grey token CLIVOX has, and the launch promo is the one place on this page that has a
     reason to use it: a badge nobody notices is not a promotion. */
  --promo: #c08a80;

  --font: 'Instrument Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  /* --- type scale --- */
  --t-hero:  clamp(38px, 7.1vw, 82px);
  --t-h2:    clamp(28px, 4.4vw, 50px);
  --t-h3:    clamp(18px, 1.45vw, 21px);
  --t-lede:  clamp(17px, 1.85vw, 21px);
  --t-body:  clamp(16px, 1.15vw, 17px);
  --t-small: clamp(14px, 1vw, 15px);
  --t-micro: clamp(12px, 0.9vw, 13px);
  --t-stat:  clamp(44px, 6.8vw, 86px);
  --t-price: clamp(44px, 7.6vw, 78px);

  --wrap: 1180px;
  --pad: 24px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --s1: 8px;  --s2: 12px; --s3: 16px; --s4: 24px;
  --s5: 32px; --s6: 48px; --s7: 72px; --s8: 116px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* A fine film of noise over the whole page. It is the one purely decorative thing here, and it
   earns its place: flat dark panels band badly on cheap screens, and 3.5% of grain removes that
   completely. Generated, not a downloaded texture — no extra request. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 2; }

img, video { max-width: 100%; display: block; height: auto; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px; border-radius: 0 0 var(--r) 0; font-weight: 600;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: 760px; }
.wrap.wide { max-width: 1320px; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.028em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: var(--t-hero); letter-spacing: -0.036em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.012em; line-height: 1.3; }
h1 em, h2 em { font-style: normal; color: var(--text-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--t-micro); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--s4);
}
.eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--accent); }
.mid .eyebrow { justify-content: center; }

.lede { font-size: var(--t-lede); color: var(--text-2); max-width: 56ch; margin-top: var(--s4); }
.sub { color: var(--text-2); max-width: 58ch; margin-top: var(--s4); font-size: var(--t-lede); }
.mid { margin-inline: auto; text-align: center; }
.mid.sub { max-width: 54ch; }

section { padding: var(--s8) 0; }

/* Band sections carry a faint rule grid. It reads as drafting paper rather than decoration and
   gives the eye something to sit against on the long scroll. */
section.band {
  background: var(--surface);
  border-block: 1px solid var(--border);
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
  background-position: center;
}
section.band > * { position: relative; }

/* ---------- brand ---------- */
/* The brand: the drawn wordmark, on its own.
   No symbol beside it. The symbol IS the wordmark's O, so next to the word it stops reading as a
   mark and starts reading as a stray letter — "O CLIVOX", with the same shape appearing twice
   because the word already contains it. The symbol keeps its job where a wordmark will not fit:
   the favicon, the app icon, and the standalone mark above the closing CTA.
   Sized by HEIGHT: it is artwork, not text, and a width would squash it. */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-word { display: block; color: var(--text); line-height: 0; }
.brand-word svg { height: 19px; width: auto; display: block; }
.foot .brand-word svg { height: 21px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: var(--s4); height: 72px; }
.nav-links { display: flex; gap: var(--s5); margin-left: auto; }
.nav-links a {
  font-size: var(--t-small); color: var(--text-2); text-decoration: none;
  transition: color .15s; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--accent); transition: right .25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

.menu { display: none; margin-left: auto; position: relative; }
.menu > summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: var(--r);
  border: 1px solid var(--border-strong);
}
.menu > summary::-webkit-details-marker { display: none; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 1.5px; background: var(--text); content: ''; }
.bars { position: relative; }
.bars::before { position: absolute; top: -6px; }
.bars::after { position: absolute; top: 6px; }
.menu[open] > summary { border-color: var(--accent); }
.menu-panel {
  position: absolute; right: 0; top: 54px; min-width: 232px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--raised); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); padding: var(--s2);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.menu-panel a { padding: 12px 14px; border-radius: var(--r); text-decoration: none; color: var(--text-2); font-size: var(--t-body); }
.menu-panel a:hover { background: var(--surface); color: var(--text); }
.menu-panel .btn { margin-top: var(--s2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 15px 30px;
  border-radius: var(--r); border: 1px solid transparent;
  font-size: var(--t-body); font-weight: 600; text-decoration: none;
  transition: background .18s, border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s;
}
.btn.primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 30px rgba(207,207,214,.14);
}
.btn.primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 40px rgba(207,207,214,.22); }
.btn.ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn.ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
/* With no checkout configured the element is deliberately inert and says so, rather than
   looking clickable and going nowhere. */
.btn.pending { background: transparent; border-color: var(--border-strong); color: var(--text-3); cursor: default; }
.btn.small { min-height: 42px; padding: 10px 20px; font-size: var(--t-small); }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.cta-row.center { justify-content: center; }

/* ==========================================================================================
   HERO
   ========================================================================================== */
.hero { padding-top: var(--s7); padding-bottom: var(--s8); overflow: hidden; position: relative; }

/* One soft light above the stage. Pure grey — it lifts the top of the page off flat black
   without introducing a colour the product does not have. */
.hero::before {
  content: ''; position: absolute; left: 50%; top: -280px; width: 1100px; height: 760px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(207,207,214,.10), rgba(207,207,214,0) 72%);
}

.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy .lede, .hero-note { text-align: center; }
.hero-copy .cta-row { justify-content: center; }
.hero-note { margin-top: var(--s4); font-size: var(--t-small); color: var(--text-3); }

/* --- the stage: the reel in the middle, real covers fanned either side ------------------- */
.stage {
  margin-top: var(--s7);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2.4vw, 34px);
  align-items: center; justify-items: center;
}

.reel {
  position: relative; width: clamp(300px, 33vw, 412px); aspect-ratio: 9 / 16;
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #000;
  box-shadow: 0 40px 90px rgba(0,0,0,.75), 0 0 0 10px rgba(23,23,27,.75), 0 0 0 11px var(--border);
}
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(10,10,11,.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  font-size: var(--t-micro); letter-spacing: .04em; color: var(--text);
}
.reel-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* The flanking columns. Each holds two real covers, offset and tilted a few degrees so the
   group reads as a stack of finished work rather than a row of thumbnails. */
.fan { display: grid; gap: clamp(12px, 1.6vw, 20px); width: 100%; max-width: 246px; }
.fan img {
  width: 100%; border-radius: var(--r-lg); border: 1px solid var(--border-strong);
  box-shadow: 0 24px 50px rgba(0,0,0,.55);
  transition: transform .5s var(--ease);
}
.fan.left  img:nth-child(odd)  { transform: rotate(-2.2deg) translateX(-6px); }
.fan.left  img:nth-child(even) { transform: rotate(1.4deg) translateX(10px) scale(.93); }
.fan.right img:nth-child(odd)  { transform: rotate(2.2deg) translateX(6px); }
.fan.right img:nth-child(even) { transform: rotate(-1.4deg) translateX(-10px) scale(.93); }
.fan img:hover { transform: rotate(0) scale(1.03); }

/* ==========================================================================================
   TICKER — every cover, moving
   ========================================================================================== */
.ticker-band { padding-block: var(--s7); overflow: hidden; }
.ticker { position: relative; }
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 16%; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(to right, var(--bg), rgba(10,10,11,0)); }
.ticker::after { right: 0; background: linear-gradient(to left, var(--bg), rgba(10,10,11,0)); }
.ticker-track { display: flex; gap: var(--s3); width: max-content; animation: slide 56s linear infinite; }
.ticker-track img {
  width: clamp(124px, 13vw, 190px); border-radius: 10px; border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .4s;
}
.ticker-track img:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ==========================================================================================
   GALLERY — the ten clips, with what CLIVOX wrote for each
   ========================================================================================== */
.gallery {
  margin-top: var(--s7);
  display: grid; gap: clamp(14px, 1.6vw, 22px);
  grid-template-columns: repeat(5, 1fr);
}
.clip {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  background: var(--raised); border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.clip:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 28px 60px rgba(0,0,0,.6); }
.clip-shot { position: relative; aspect-ratio: 9 / 16; }
.clip-shot img { width: 100%; height: 100%; object-fit: cover; }

/* The title sits UNDER the picture, not over it.
   The first version laid it across the bottom of the cover, which is exactly where CLIVOX's own
   thumbnail headline already is — two headlines on top of each other, neither readable, and the
   cover's own work hidden behind a caption describing it. Below the image both are legible and
   the cover is seen whole. */
.clip-meta { padding: var(--s3); }
.clip-title {
  font-size: var(--t-small); font-weight: 600; line-height: 1.35; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.clip-facts {
  margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--text-2); letter-spacing: .03em;
}
.clip-facts span { border: 1px solid var(--border-strong); border-radius: 999px; padding: 2px 7px; }
/* The score used to float in the cover's top-left corner, which is precisely where CLIVOX puts
   the thumbnail headline — the badge sat on the first word of every clip. It belongs with the
   other facts. */
.clip-facts .is-score { border-color: var(--accent); color: var(--text); }

.gallery-note {
  margin-top: var(--s5); font-size: var(--t-small); color: var(--text-3);
  display: flex; gap: var(--s4); flex-wrap: wrap;
}

/* ==========================================================================================
   SPLIT SECTIONS
   ========================================================================================== */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s7); align-items: center; }
.split.reverse .split-copy { order: 2; }
.split-copy .ticks { list-style: none; margin-top: var(--s5); display: grid; gap: var(--s3); }
.split-copy .ticks li { color: var(--text-2); padding-left: var(--s4); position: relative; }
.split-copy .ticks li::before {
  content: ''; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--accent);
}
.split-media img, .split-media video {
  width: 100%; border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.split-media.plain img { border-radius: var(--r); }
.split-media figcaption { margin-top: var(--s3); font-size: var(--t-micro); color: var(--text-3); letter-spacing: .04em; }

/* ---------- showcase ---------- */
.showcase {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s4);
  margin-top: var(--s7);
}
.show {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--border-strong); background: var(--surface);
  transition: border-color .3s;
}
.show:hover { border-color: var(--accent); }
.show img { width: 100%; transition: transform .6s var(--ease); }
.show:hover img { transform: scale(1.02); }
.show-tall { grid-row: span 2; }
.show figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s6) var(--s4) var(--s4);
  font-size: var(--t-h3); font-weight: 500;
  background: linear-gradient(to top, rgba(10,10,11,.96) 30%, rgba(10,10,11,0));
}
.show figcaption .num { font-size: 1.6em; margin-right: 8px; }

.wide-shot { margin-top: var(--s7); position: relative; }
.wide-shot img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--border-strong); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.wide-shot figcaption { margin-top: var(--s3); font-size: var(--t-micro); color: var(--text-3); }

/* The Clips grid keeps going past the bottom of the capture — a second row of covers is cut
   through the middle. Fading the last stretch turns that into "there is more", which is true,
   instead of "the picture was trimmed carelessly". */
.wide-shot.fade .shot { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.wide-shot.fade .shot::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(to top, var(--surface) 6%, rgba(16,16,19,0));
  pointer-events: none;
}

/* ---------- chores ----------
   The problem section. Each row names one job and then says who does it, which is the whole
   argument of the product in one shape. No time figures anywhere: nobody has measured how long
   this takes by hand, and a made-up "saves 4 hours" is the first thing a sceptical buyer checks. */
.chores { list-style: none; counter-reset: chore; margin-top: var(--s7); display: grid; gap: 0; }
.chores li {
  counter-increment: chore;
  display: grid; grid-template-columns: 3.5rem 12rem 1fr 1fr; gap: var(--s5);
  padding: var(--s5) 0; border-top: 1px solid var(--border-strong); align-items: start;
}
.chores li:last-child { border-bottom: 1px solid var(--border-strong); }
.chores li::before {
  content: counter(chore, decimal-leading-zero);
  grid-column: 1;
  font-family: var(--mono); font-size: var(--t-micro); color: var(--accent); letter-spacing: .12em;
  padding-top: .35em;
}
.chores h3 { grid-column: 2; align-self: center; }
.chores .by-hand { grid-column: 3; }
.chores .by-clivox { grid-column: 4; }
.chores p { font-size: var(--t-body); }
.by-hand { color: var(--text-3); }
.by-clivox { color: var(--text-2); position: relative; padding-left: var(--s4); }
.by-clivox::before {
  content: ''; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--accent);
}
@media (max-width: 1000px) {
  .chores li { grid-template-columns: 3rem 1fr; gap: var(--s2) var(--s4); }
  .chores h3 { grid-column: 2; align-self: start; margin-bottom: var(--s1); }
  .chores .by-hand, .chores .by-clivox { grid-column: 2; }
}

/* ---------- app tour ----------
   Three more real screens, side by side under the Clips shot. Small on purpose: they say "there
   is a whole application here" without asking anyone to read them. */
.tour { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s4); }
.tour img {
  width: 100%; border-radius: var(--r); border: 1px solid var(--border-strong);
  transition: border-color .3s;
}
.tour figure:hover img { border-color: var(--accent); }
.tour figcaption { margin-top: var(--s2); font-size: var(--t-micro); color: var(--text-3); }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: var(--s5); margin-top: var(--s6); grid-template-columns: repeat(4, 1fr); }
.steps li { border-top: 1px solid var(--border-strong); padding-top: var(--s4); position: relative; }
.steps li::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--accent);
  transition: width .6s var(--ease);
}
.steps li:hover::before { width: 100%; }
.steps .n { font-family: var(--mono); font-size: var(--t-micro); color: var(--accent); letter-spacing: .12em; }
.steps h3 { margin-top: var(--s3); }
.steps p { margin-top: var(--s2); color: var(--text-2); font-size: var(--t-body); }

/* ---------- the honest column ----------
   Used wherever the page states a limitation. It is deliberately not styled as a warning: these
   are facts about the product, not errors, and a red box would make them read as apologies. */
.honest {
  margin: var(--s7) auto 0; max-width: 760px;
  border: 1px solid var(--border-strong); border-radius: var(--r-lg);
  padding: var(--s5); background: var(--bg);
}
.honest-label {
  font-size: var(--t-micro); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3);
}
.honest ul { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s4); }
.honest li { color: var(--text-2); font-size: var(--t-body); padding-left: var(--s4); position: relative; }
.honest li::before {
  content: ''; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--text-4);
}

/* ---------- stats ---------- */
.stats-band { padding: var(--s7) 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); text-align: center; }
.stats > div { padding: var(--s3) var(--s2); border-left: 1px solid var(--border); }
.stats > div:first-child { border-left: 0; }
.stat { display: block; font-size: var(--t-stat); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.stat-label { display: block; margin-top: var(--s2); font-size: var(--t-small); color: var(--text-3); }

/* ---------- lists ---------- */
.filelist { list-style: none; margin-top: var(--s5); display: grid; gap: var(--s2); font-family: var(--mono); font-size: var(--t-small); color: var(--text-2); }
.filelist li::before { content: '·'; color: var(--accent); margin-right: 12px; }

.grid { display: grid; gap: var(--s3); margin-top: var(--s6); grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5);
  transition: border-color .3s, transform .4s var(--ease);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--text-2); font-size: var(--t-body); }

/* ---------- pricing ---------- */
.price-card {
  margin-top: var(--s6); border: 1px solid var(--border-strong);
  border-radius: var(--r-xl); padding: var(--s7) var(--s6);
  background: linear-gradient(180deg, var(--raised), var(--surface));
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.price-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
/* ---------- launch promo ----------
   The struck-through figure is the price CLIVOX RISES to when the promo ends, never a price it
   carried before — build.mjs owns that wording so it cannot be edited into a discount the
   product never gave. */
.price-card.promo { border-color: color-mix(in srgb, var(--promo) 45%, var(--border-strong)); }
.price-card.promo::before { background: linear-gradient(90deg, transparent, var(--promo), transparent); }
.promo-badge {
  display: inline-block; margin-bottom: var(--s4);
  font-family: var(--mono); font-size: var(--t-micro); font-weight: 500;
  letter-spacing: .2em; color: var(--promo);
  border: 1px solid color-mix(in srgb, var(--promo) 55%, transparent);
  background: color-mix(in srgb, var(--promo) 12%, transparent);
  border-radius: 999px; padding: 7px 16px;
}
.price-line { display: flex; align-items: baseline; justify-content: center; gap: var(--s4); flex-wrap: wrap; }
.price-was {
  font-family: var(--mono); font-size: calc(var(--t-price) * 0.44);
  color: var(--text-2); text-decoration-thickness: 2px;
  text-decoration-color: var(--promo); letter-spacing: -.03em;
}
.promo-terms {
  margin-top: var(--s3); font-size: var(--t-small); color: var(--promo);
}
.price-amount { font-family: var(--mono); font-weight: 500; font-size: var(--t-price); letter-spacing: -.05em; line-height: 1; }
.price-model { margin-top: var(--s3); color: var(--text-2); font-size: var(--t-lede); }
.price-includes { list-style: none; display: grid; gap: var(--s2); margin: var(--s6) auto 0; max-width: 470px; text-align: left; }
.price-includes li { color: var(--text-2); padding-left: var(--s4); position: relative; font-size: var(--t-body); }
.price-includes li::before { content: ''; position: absolute; left: 0; top: .7em; width: 9px; height: 1px; background: var(--accent); }
.price-honest { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--border); text-align: left; max-width: 470px; margin-inline: auto; }
.price-honest p { font-size: var(--t-micro); letter-spacing: .18em; color: var(--text-3); text-transform: uppercase; }
.price-honest ul { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s3); }
.price-honest li { color: var(--text-3); font-size: var(--t-small); }

/* ---------- faq ---------- */
.faq { margin-top: var(--s6); border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s4) 0; display: flex; align-items: flex-start; gap: var(--s4); font-size: var(--t-lede); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-hover); }
.faq summary::after { content: '+'; margin-left: auto; color: var(--accent); font-family: var(--mono); font-size: 1.2em; line-height: 1.2; }
.faq details[open] summary::after { content: '\2013'; }
.faq p { color: var(--text-2); padding-bottom: var(--s5); max-width: 68ch; }

/* ---------- final + footer ---------- */
.final { text-align: center; background: var(--surface); border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.final::before {
  content: ''; position: absolute; left: 50%; bottom: -320px; width: 1000px; height: 640px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(207,207,214,.09), rgba(207,207,214,0) 70%);
}
.final .wrap { position: relative; }
.final-mark { display: block; width: 46px; height: 46px; margin: 0 auto var(--s5); color: var(--accent); }
.final-mark svg { width: 100%; height: 100%; }
.final .hero-note { margin-top: var(--s5); }

.foot { border-top: 1px solid var(--border); padding-top: var(--s7); }
.foot-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: var(--s6); align-items: start; }
.foot-note { color: var(--text-3); font-size: var(--t-small); margin-top: var(--s3); max-width: 34ch; }
.foot-links { display: grid; gap: var(--s2); }
.foot-links a { color: var(--text-2); text-decoration: none; font-size: var(--t-small); }
.foot-links a:hover { color: var(--text); }
.support-block p { font-size: var(--t-micro); letter-spacing: .18em; color: var(--text-3); text-transform: uppercase; }
.support-block ul { list-style: none; margin-top: var(--s3); display: grid; gap: var(--s2); }
.support-block a, .support-block span { font-size: var(--t-small); color: var(--text-2); text-decoration: none; }
.support-block a:hover { color: var(--text); }
.foot-legal { padding: var(--s6) var(--pad); margin-top: var(--s6); border-top: 1px solid var(--border); }
.foot-legal p { font-size: var(--t-micro); color: var(--text-3); letter-spacing: .1em; }

/* ---------- legal pages ---------- */
.doc { padding: var(--s8) 0; }
.doc h1 { font-size: var(--t-h2); }
.doc h2 { font-size: var(--t-h3); margin-top: var(--s7); }
.doc p, .doc li { color: var(--text-2); margin-top: var(--s3); }
.doc ul { padding-left: var(--s4); }
.doc .note { margin-top: var(--s5); padding: var(--s4); border: 1px solid var(--border-strong); border-radius: var(--r); color: var(--text-3); font-size: var(--t-small); }
.doc .updated { font-size: var(--t-micro); color: var(--text-3); margin-top: var(--s3); }

/* ---------- reveal ----------
   Applied only when a script is running to remove it, so a no-JS visitor sees everything. */
.js .reveal { opacity: 0; transform: translateY(12px); }
.js .reveal.reveal-on { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ==========================================================================================
   RESPONSIVE
   ------------------------------------------------------------------------------------------
   Type needs no breakpoints — the clamp() scale already carries it. These rules only change
   what cannot be interpolated: how many columns a grid has, and whether the hero's side fans
   are on screen at all. Phone and desktop stay the same page.
   ========================================================================================== */
@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: var(--s6); }
  .split.reverse .split-copy { order: 0; }
  .showcase { grid-template-columns: 1fr; }
  .show-tall { grid-row: auto; }
  .steps, .grid { grid-template-columns: repeat(2, 1fr); }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  /* One fan instead of two: the stage stays a composition rather than becoming a lone phone. */
  .stage { grid-template-columns: 1fr auto; }
  .fan.left { display: none; }
  .fan.right { max-width: 240px; }
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  /* Below this the fanned covers would be thumbnails of thumbnails. The ticker two sections
     down already shows every cover, so the stage drops to the reel alone. */
  .stage { grid-template-columns: 1fr; }
  .fan { display: none; }
  .reel { width: min(300px, 74vw); }
}
@media (max-width: 760px) {
  :root { --s8: 78px; --s7: 54px; }
  .nav-links { display: none; }
  .nav-inner > .btn { display: none; }
  .menu { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--s5) 0; }
  .stats > div:nth-child(odd) { border-left: 0; }
  .foot-inner { grid-template-columns: 1fr; gap: var(--s5); }
  .price-card { padding: var(--s6) var(--s4); }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tour { grid-template-columns: 1fr; }
  .steps, .grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .show figcaption { padding: var(--s5) var(--s3) var(--s3); }
  .gallery-note { gap: var(--s2); }
}
