/* ═══════════════════════════════════════════════════════════════
   Buckotto — cinematic landing
   Near-black hero → white body · single orange accent · geometric sans
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Space Grotesk'; src: url('assets/fonts/space-grotesk-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('assets/fonts/space-grotesk-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --accent: #ff7a1f;
  --accent-bright: #ffb25c;
  --accent-deep: #d9560b;
  --accent-rgb: 255 122 31;
  --accent-tint: rgb(var(--accent-rgb) / 0.12);
  --ink: #06060b;
  --ink-2: #0b0b14;
  --paper: #fafafc;
  --text-dark: #101018;
  --dim-dark: rgba(16, 16, 24, 0.6);
  --line-dark: rgba(16, 16, 24, 0.09);
  --white-hi: rgba(255, 255, 255, 0.94);
  --white-dim: rgba(255, 255, 255, 0.64);
  --white-faint: rgba(255, 255, 255, 0.38);
  --line-light: rgba(255, 255, 255, 0.09);
  --display: 'Space Grotesk', 'Avenir Next', system-ui, sans-serif;
  --body: 'Inter', -apple-system, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--white-hi);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, #ff9b47, var(--accent) 55%, #e85d05);
  color: #fff;
  box-shadow: 0 8px 30px -6px rgb(var(--accent-rgb) / 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -6px rgb(var(--accent-rgb) / 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(130px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.3), transparent 65%);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-ghost {
  color: var(--white-hi);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08); }
.btn-outline { color: var(--text-dark); border: 1.5px solid rgba(16, 16, 24, 0.16); }
.btn-outline:hover { border-color: var(--accent-deep); color: var(--accent-deep); }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 19px 40px; font-size: 17px; }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 28px;
  transition: background 0.35s, box-shadow 0.35s;
}
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-glyph { width: 26px; height: 26px; }
.glyph-body { fill: var(--accent); }
.glyph-handle { color: var(--accent-bright); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.015em; color: #fff; transition: color 0.35s; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--white-dim); transition: color 0.25s; }
.nav-links a:hover { color: #fff; }
.nav.on-light { background: rgba(250, 250, 252, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line-dark); }
.nav.on-light .brand-name { color: var(--text-dark); }
.nav.on-light .nav-links a { color: var(--dim-dark); }
.nav.on-light .nav-links a:hover { color: var(--text-dark); }
.nav-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  box-shadow: 0 0 10px rgb(var(--accent-rgb) / 0.45);
  transform-origin: left; transform: scaleX(0);
}

/* Brand bucket "fills" on hover */
.glyph-fill { fill: var(--accent-bright); transform-box: fill-box; transform: translateY(101%); transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.brand:hover .glyph-fill { transform: translateY(26%); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { background: var(--ink); position: relative; }
.hero-stage { height: 100vh; height: 100svh; position: relative; overflow: hidden; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, transparent 40%, rgba(6, 6, 11, 0.72) 100%),
    linear-gradient(180deg, rgba(6, 6, 11, 0.5) 0%, transparent 18%, transparent 78%, var(--ink) 100%);
}

.hero-copy {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
}
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: 26px;
}
.hero-h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  line-height: 0.98; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hl { display: block; overflow: hidden; }
.hl-inner { display: block; }
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(115deg, var(--accent-bright) 10%, var(--accent) 55%, var(--accent-deep) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 560px; margin-top: 28px;
  font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--white-dim);
}
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; justify-content: center; }
.hero-meta { margin-top: 26px; font-size: 12.5px; color: var(--white-faint); letter-spacing: 0.04em; }

.hero-caption {
  position: absolute; left: 0; right: 0; top: 46%; margin-inline: auto; translate: 0 -50%;
  z-index: 6; width: max-content; max-width: 90vw; text-align: center;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.8rem); letter-spacing: -0.02em;
  color: var(--white-hi); opacity: 0; pointer-events: none;
}
.hero-caption .accent { color: var(--accent-bright); }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--white-faint);
}
.scroll-cue i {
  width: 1px; height: 44px; background: linear-gradient(180deg, var(--accent), transparent);
  animation: cueDrop 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  transform-origin: top;
}
@keyframes cueDrop { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Ghost bucket-explorer window (assembles at end of hero scrub) */
.hero-window {
  position: absolute; left: 0; right: 0; top: 50%; margin-inline: auto; translate: 0 -50%;
  width: min(680px, 88vw);
  z-index: 4; opacity: 0;
  background: rgba(13, 13, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8), 0 0 90px -30px rgb(var(--accent-rgb) / 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.hw-titlebar { position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line-light); }
.traffic { display: inline-flex; gap: 7px; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; }
.t-red { background: #ff5f57; } .t-yellow { background: #febc2e; } .t-green { background: #28c840; }
.hw-title { position: absolute; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--white-faint); pointer-events: none; }
.hw-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; background: rgba(255, 255, 255, 0.06); }
.hw-progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.9);
  animation: heartbeat 1.15s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { filter: brightness(1); box-shadow: 0 0 10px rgb(var(--accent-rgb) / 0.7); }
  38% { filter: brightness(1.55); box-shadow: 0 0 22px rgb(var(--accent-rgb) / 1); }
  55% { filter: brightness(1.1); }
  70% { filter: brightness(1.4); }
}
.hw-body { display: grid; grid-template-columns: 168px 1fr; }
.hw-side { padding: 12px 10px; border-right: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 3px; }
.hw-side-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-faint); padding: 4px 8px 6px; }
.hw-side-item { font-size: 12.5px; color: var(--white-dim); padding: 6px 8px; border-radius: 7px; }
.hw-side-item.is-active { background: var(--accent); color: #fff; font-weight: 500; box-shadow: 0 4px 14px -3px rgb(var(--accent-rgb) / 0.6); }
.hw-rows { padding: 8px 10px; }
.hw-rows li { display: flex; align-items: center; gap: 10px; padding: 6.5px 8px; border-radius: 7px; font-size: 12.5px; opacity: 0; }
.hw-rows li:nth-child(odd) { background: rgba(255, 255, 255, 0.025); }
.hw-rows .n { color: var(--white-hi); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-rows .s { color: var(--white-faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }

/* File-type icons (shared) */
.ico { width: 17px; height: 17px; border-radius: 5px; flex: none; position: relative; }
.ico::after { content: ''; position: absolute; inset: 4.5px; border-radius: 2.5px; background: rgba(255, 255, 255, 0.85); }
.ico-img { background: #38bdf8; } .ico-vid { background: #f472b6; }
.ico-doc { background: #94a3b8; } .ico-pkg { background: #fbbf24; }
.ico-aud { background: #34d399; }

/* Hero entrance choreography (one-shot, gated on html.anim-ready set by JS) */
html.anim-ready .hero-copy .hl-inner { transform: translateY(112%); }
html.anim-ready .hero-copy :is(.eyebrow, .hero-sub, .hero-cta, .hero-meta) { opacity: 0; transform: translateY(18px); }
html.anim-ready .scroll-cue { opacity: 0; }
html.hero-in .hero-copy .hl-inner { transform: translateY(0); transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1); }
html.hero-in .hero-copy .hl:nth-child(2) .hl-inner { transition-delay: 0.09s; }
html.hero-in .hero-copy :is(.eyebrow, .hero-sub, .hero-cta, .hero-meta) { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
html.hero-in .eyebrow { transition-delay: 0.05s; }
html.hero-in .hero-sub { transition-delay: 0.38s; }
html.hero-in .hero-cta { transition-delay: 0.5s; }
html.hero-in .hero-meta { transition-delay: 0.62s; }
html.hero-in .scroll-cue { opacity: 1; transition: opacity 1s ease 1.05s; }

/* Word-reveal masks (JS splits section h2s into .w > .wi) */
.w { display: inline-block; overflow: hidden; vertical-align: top; }
.wi { display: inline-block; will-change: transform; }

/* ── Logos ───────────────────────────────────────────────────── */
.logos { background: var(--ink); padding: 96px 0 88px; position: relative; }
.logos-label { text-align: center; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white-faint); margin-bottom: 44px; font-weight: 500; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track { display: inline-flex; align-items: center; gap: 84px; padding-right: 84px; white-space: nowrap; animation: slide 30s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
.mk { color: var(--white-faint); flex: none; transition: color 0.3s; }
.mk-1 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.mk-2 { font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: 0.34em; }
.mk-3 { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: 0.02em; }
.mk-4 { font-family: var(--display); font-weight: 700; font-size: 20px; font-style: italic; }
.mk-5 { font-family: var(--body); font-weight: 600; font-size: 13.5px; letter-spacing: 0.28em; }
.mk-6 { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: 0.06em; }
.mk-7 { font-family: var(--body); font-weight: 600; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── The Signal — pinned feature film ────────────────────────── */
.signal { background: var(--ink); position: relative; }
.signal-stage { height: 100vh; height: 100svh; position: relative; overflow: hidden; }

.stream { position: absolute; inset: 0; }
.stream-col { position: absolute; top: -12%; bottom: -12%; width: 30%; }
.stream-col ul { display: flex; flex-direction: column; animation: streamUp linear infinite; }
.stream-col .stream-row { margin-bottom: 10px; }
@keyframes streamUp { to { transform: translateY(-50%); } }
.stream-col.c-0 { left: 3%; filter: blur(3.5px); opacity: 0.3; transform: scale(0.92); }
.stream-col.c-1 { left: 35%; opacity: 0.85; transform: scale(1.04); z-index: 2; }
.stream-col.c-1 ul { animation-duration: 26s; }
.stream-col.c-0 ul { animation-duration: 19s; }
.stream-col.c-2 { left: 68%; filter: blur(2.5px); opacity: 0.4; transform: scale(0.96); }
.stream-col.c-2 ul { animation-duration: 22s; }
.stream-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px; padding: 11px 14px; font-size: 13px;
}
.stream-row .n { color: rgba(255, 255, 255, 0.78); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stream-row .s { color: var(--white-faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }

.stream-hit {
  position: absolute; left: 0; right: 0; top: 44%; margin-inline: auto; translate: 0 -50%; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  width: min(420px, 80vw); padding: 14px 18px; font-size: 13.5px;
  background: rgb(var(--accent-rgb) / 0.16);
  border: 1px solid rgb(var(--accent-rgb) / 0.65);
  border-radius: 12px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 60px -8px rgb(var(--accent-rgb) / 0.65);
  opacity: 0;
}
.stream-hit .n { color: #fff; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stream-hit .s { color: var(--accent-bright); font-variant-numeric: tabular-nums; }
.hit-ring { position: absolute; inset: -9px; border: 1px solid rgb(var(--accent-rgb) / 0.7); border-radius: 16px; animation: ringPulse 1.7s cubic-bezier(0.22, 1, 0.36, 1) infinite; pointer-events: none; }
@keyframes ringPulse { 0% { transform: scale(0.94); opacity: 0.9; } 100% { transform: scale(1.12); opacity: 0; } }

.signal-scrim {
  position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background:
    radial-gradient(ellipse 100% 80% at 50% 40%, transparent 30%, rgba(6, 6, 11, 0.8) 100%),
    linear-gradient(180deg, var(--ink) 0%, transparent 16%, transparent 80%, var(--ink) 100%);
}

.feature-slide {
  position: absolute; z-index: 5;
  left: max(6vw, 40px); bottom: 14vh;
  max-width: 620px;
  visibility: hidden; opacity: 0;
}
.f-index { font-size: 13px; font-weight: 600; letter-spacing: 0.3em; color: var(--accent-bright); margin-bottom: 10px; }
.f-word {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: 1; letter-spacing: -0.03em;
  color: #fff; text-shadow: 0 10px 60px rgba(0, 0, 0, 0.6);
}
.f-line {
  margin-top: 20px; max-width: 460px;
  font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; color: var(--white-dim);
  background: rgba(10, 10, 18, 0.44);
  border: 1px solid var(--line-light);
  border-radius: 16px; padding: 18px 22px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.signal-dots { position: absolute; right: max(4vw, 28px); top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; gap: 12px; }
.signal-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); transition: background 0.3s, box-shadow 0.3s, transform 0.3s; }
.signal-dots i.is-on { background: var(--accent); box-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.9); transform: scale(1.35); }

/* ── Dark → light transition ─────────────────────────────────── */
.fade-band { height: 46vh; background: linear-gradient(180deg, var(--ink) 0%, #302418 42%, #a99a8b 72%, var(--paper) 100%); }

/* ── Light body ──────────────────────────────────────────────── */
.light-part { background: var(--paper); color: var(--text-dark); }
.light-part section { padding: 130px 24px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px; }
.section-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.04; letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-sub { margin-top: 16px; font-size: 15px; color: var(--dim-dark); }

/* Metrics */
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1080px; margin: 0 auto; }
.metric {
  position: relative; text-align: center; padding: 54px 28px 46px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-dark); border-radius: 26px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px -22px rgba(16, 16, 24, 0.14);
}
.metric::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 52px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
}
.metric-value { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 5.4vw, 4.8rem); letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.metric-value .unit { font-size: 1.15rem; font-weight: 500; color: var(--accent-deep); letter-spacing: 0; }
.metric-cap { margin-top: 14px; font-size: 15px; color: var(--dim-dark); }
.count { font-variant-numeric: tabular-nums; }

/* Product — macOS window mockup */
.macwindow-wrap { max-width: 1020px; margin: 0 auto; perspective: 1400px; }
.macwindow {
  background: #fcfcfe;
  border: 1px solid rgba(16, 16, 24, 0.1);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 70px 160px -30px rgba(28, 20, 70, 0.35), 0 30px 60px -30px rgba(16, 16, 24, 0.2);
  font-size: 13px;
  transform-origin: 50% 20%;
}
.mw-titlebar { position: relative; display: flex; align-items: center; height: 44px; padding: 0 16px; background: linear-gradient(180deg, #f6f6f9, #f0f0f4); border-bottom: 1px solid var(--line-dark); }
.mw-title { position: absolute; left: 0; right: 0; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--dim-dark); pointer-events: none; }
.mw-tools { margin-left: auto; display: flex; gap: 8px; }
.mw-tools i { width: 22px; height: 14px; border-radius: 4px; background: rgba(16, 16, 24, 0.08); }
.mw-toolbar { display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line-dark); }
.mw-nav { color: rgba(16, 16, 24, 0.4); font-size: 17px; letter-spacing: 6px; }
.mw-crumbs { color: var(--dim-dark); font-size: 12.5px; }
.mw-crumbs b { color: rgba(16, 16, 24, 0.3); font-weight: 400; padding: 0 3px; }
.mw-search {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; color: var(--accent-deep);
  background: var(--accent-tint); border: 1px solid rgb(var(--accent-rgb) / 0.4);
  padding: 6px 14px; border-radius: 999px;
}
.mw-upload { font-size: 12.5px; font-weight: 600; color: #fff; background: var(--accent); padding: 7px 16px; border-radius: 999px; box-shadow: 0 4px 12px -3px rgb(var(--accent-rgb) / 0.5); }
.mw-search input {
  background: none; border: 0; outline: none; font: inherit; color: inherit;
  width: 96px; padding: 0;
}
.mw-search input::placeholder { color: rgb(var(--accent-rgb) / 0.6); }
.mw-search:focus-within { box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.18); }
.mw-row { transition: opacity 0.25s; }
.mw-row.row-dim { opacity: 0.2; }
.mw-body { display: grid; grid-template-columns: 196px 1fr; min-height: 380px; }
.mw-side { background: #f5f5f8; border-right: 1px solid var(--line-dark); padding: 14px 10px; }
.mw-side-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(16, 16, 24, 0.38); padding: 10px 10px 6px; }
.mw-side-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(16, 16, 24, 0.75); padding: 7px 10px; border-radius: 8px; }
.mw-side-item i { width: 9px; height: 9px; border-radius: 3px; background: rgba(16, 16, 24, 0.18); flex: none; }
.mw-side-item.is-active { background: var(--accent); color: #fff; font-weight: 500; box-shadow: 0 5px 16px -4px rgb(var(--accent-rgb) / 0.55); }
.mw-side-item.is-active i { background: rgba(255, 255, 255, 0.85); }
.mw-main { display: flex; flex-direction: column; padding: 6px 0; }
.mw-thead { display: grid; grid-template-columns: 30px 1fr 90px 110px; gap: 10px; padding: 8px 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(16, 16, 24, 0.4); border-bottom: 1px solid var(--line-dark); }
.mw-thead span:first-child { grid-column: 1 / 3; }
.mw-row { display: grid; grid-template-columns: 30px 1fr 90px 110px; gap: 10px; align-items: center; padding: 8.5px 18px; }
.mw-row:nth-child(even) { background: #f7f7fa; }
.mw-row .n { font-weight: 500; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-row .s, .mw-row .d { font-size: 12px; color: var(--dim-dark); font-variant-numeric: tabular-nums; }
.mw-row.is-hit { background: rgb(var(--accent-rgb) / 0.1); box-shadow: inset 3px 0 0 var(--accent); }
.mw-row.is-hit .n { color: var(--accent-deep); }
.mw-status { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 16px; border-top: 1px solid var(--line-dark); font-size: 11.5px; color: var(--dim-dark); background: #f9f9fb; }
.mw-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-deep); font-weight: 600; background: var(--accent-tint); padding: 4px 12px; border-radius: 999px; }
.mw-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: heartbeat 1.15s ease-in-out infinite; }

.chips { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 52px; }
.chips li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 500; color: var(--text-dark);
  background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line-dark);
  padding: 10px 18px; border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chips li::before { content: '✓'; color: var(--accent-deep); font-weight: 700; }

.kbd-row { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 24px; }
.kbd-row li { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dim-dark); }
.kbd-row kbd {
  font-family: var(--body); font-size: 11px; font-weight: 600; color: var(--text-dark);
  background: #fff; border: 1px solid var(--line-dark); border-bottom-width: 2.5px;
  border-radius: 6px; padding: 3px 7px; min-width: 24px; text-align: center;
}
.kbd-hint { font-style: italic; color: rgba(16, 16, 24, 0.42); }
.kbd-row kbd { transition: transform 0.12s, border-bottom-width 0.12s, background 0.12s; }
.kbd-row kbd.pressed { transform: translateY(2px); border-bottom-width: 1px; background: #f2f2f5; }

/* Film strip — In motion */
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1120px; margin: 0 auto; }
.film-card {
  margin: 0; background: #fff; border: 1px solid var(--line-dark); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 70px -26px rgba(16, 16, 24, 0.16);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.film-card:hover { transform: translateY(-6px); box-shadow: 0 34px 90px -26px rgba(16, 16, 24, 0.24); }
.fc-chrome { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); background: #f6f6f9; }
.fc-chrome i { width: 10px; height: 10px; border-radius: 50%; }
.fc-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #0a0a12; }
.film-card figcaption { padding: 18px 20px 20px; }
.film-card h3 { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.film-card figcaption p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--dim-dark); }

/* Pricing */
.pricing { background: linear-gradient(180deg, var(--paper) 0%, #f7f1ea 100%); }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin: -20px auto 56px; }
.bt-label { font-size: 14.5px; font-weight: 500; color: var(--dim-dark); transition: color 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.bt-label.is-on { color: var(--text-dark); font-weight: 600; }
.save-badge { font-style: normal; font-size: 11px; font-weight: 600; color: var(--accent-deep); background: var(--accent-tint); padding: 3px 9px; border-radius: 999px; }
.bt-switch { position: relative; width: 54px; height: 30px; border-radius: 999px; background: rgba(16, 16, 24, 0.16); transition: background 0.3s; flex: none; }
.bt-switch[aria-checked="true"] { background: var(--accent); box-shadow: 0 4px 16px -2px rgb(var(--accent-rgb) / 0.5); }
.bt-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.bt-switch[aria-checked="true"] .bt-knob { transform: translateX(24px); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1120px; margin: 0 auto; align-items: stretch; }
.plan {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
  position: relative; display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-dark); border-radius: 26px;
  padding: 38px 34px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px -26px rgba(16, 16, 24, 0.16);
}
.plan h3 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.price { display: flex; align-items: baseline; gap: 3px; margin-top: 20px; font-family: var(--display); }
.price .cur { font-size: 1.4rem; font-weight: 500; color: var(--dim-dark); }
.price .amount { font-size: 3.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { font-size: 1rem; color: var(--dim-dark); margin-left: 4px; }
.price .per i { font-style: normal; font-size: 0.8rem; display: block; margin-top: 2px; }
.bill-note { min-height: 20px; margin-top: 10px; font-size: 12.5px; color: var(--dim-dark); }
.plan ul { margin: 26px 0 34px; flex: 1; }
.plan ul li { display: flex; gap: 11px; padding: 8px 0; font-size: 14.5px; color: rgba(16, 16, 24, 0.78); }
.plan ul li::before { content: '✓'; color: var(--accent-deep); font-weight: 700; flex: none; }
.plan .btn { justify-content: center; }
.plan.featured {
  border: 1.5px solid rgb(var(--accent-rgb) / 0.6);
  box-shadow: 0 40px 110px -28px rgb(var(--accent-rgb) / 0.45), 0 24px 70px -26px rgba(16, 16, 24, 0.16);
  transform: translateY(-14px);
  background: rgba(255, 255, 255, 0.94);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 34px 90px -26px rgba(16, 16, 24, 0.22); }
.plan.featured { animation: featuredBreath 4.5s ease-in-out infinite; }
.plan.featured:hover { transform: translateY(-20px); }
@keyframes featuredBreath {
  0%, 100% { box-shadow: 0 40px 110px -28px rgb(var(--accent-rgb) / 0.45), 0 24px 70px -26px rgba(16, 16, 24, 0.16); }
  50% { box-shadow: 0 46px 122px -26px rgb(var(--accent-rgb) / 0.62), 0 24px 70px -26px rgba(16, 16, 24, 0.16); }
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  padding: 5px 15px; border-radius: 999px;
  box-shadow: 0 6px 20px -4px rgb(var(--accent-rgb) / 0.6);
  white-space: nowrap;
}
.amount.swap, .bill-note.swap { animation: priceSwap 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes priceSwap { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }

/* FAQ */
.accordion { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line-dark); }
.acc-item { border-bottom: 1px solid var(--line-dark); transition: box-shadow 0.3s; }
.acc-item:hover { box-shadow: inset 3px 0 0 var(--accent); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 6px; font-size: 17px; font-weight: 600; color: var(--text-dark); text-align: left; transition: padding-left 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s; }
.acc-item:hover .acc-btn { padding-left: 14px; }
.acc-btn svg { flex: none; color: rgba(16, 16, 24, 0.45); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s; }
.acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--accent-deep); }
.acc-btn:hover { color: var(--accent-deep); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { min-height: 0; overflow: hidden; }
.acc-inner p { padding: 0 6px 26px; max-width: 680px; font-size: 15.5px; line-height: 1.7; color: var(--dim-dark); }

/* ── Final CTA — the calm ────────────────────────────────────── */
.cta { position: relative; min-height: 96vh; display: grid; place-items: center; padding: 120px 24px; overflow: hidden; background: var(--paper); }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
.cta-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.15) 50%, transparent 58%);
  transform: translateX(-70%);
  animation: ctaSweep 9s ease-in-out infinite;
}
@keyframes ctaSweep { 0%, 55% { transform: translateX(-70%); } 90%, 100% { transform: translateX(70%); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(1.5%, -1.5%); } }
.cta-media.no-img img { display: none; }
.cta-media.no-img {
  background:
    radial-gradient(ellipse 60% 50% at 78% 22%, rgba(255, 214, 165, 0.55), transparent 70%),
    radial-gradient(ellipse 50% 60% at 18% 80%, rgb(var(--accent-rgb) / 0.16), transparent 70%),
    linear-gradient(160deg, #fdfbf7 0%, #f3f1fa 55%, #ece9f6 100%);
}
#steamCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250, 250, 252, 0.18) 0%, rgba(250, 250, 252, 0.05) 40%, rgba(250, 250, 252, 0.6) 82%, var(--paper) 100%); }
.cta-copy {
  position: relative; z-index: 2; text-align: center; max-width: 660px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 32px; padding: 58px 54px;
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  box-shadow: 0 40px 110px -30px rgba(28, 20, 70, 0.35);
}
.cta-copy h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1.02; color: var(--text-dark); }
.cta-copy p { margin: 20px auto 0; max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--dim-dark); }
.cta-copy .btn-xl { margin-top: 34px; }
.cta-meta { font-size: 12.5px !important; color: rgba(16, 16, 24, 0.45) !important; margin-top: 18px !important; letter-spacing: 0.03em; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--ink); padding: 72px 24px 56px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.brand-footer .brand-name { color: #fff; }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13.5px; color: var(--white-dim); transition: color 0.25s; }
.footer-links a:hover { color: #fff; }
.footer-note { font-size: 12.5px; line-height: 1.8; color: var(--white-faint); }

/* ── Film grain ──────────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .metric-grid { grid-template-columns: 1fr; max-width: 460px; }
  .film-grid { grid-template-columns: 1fr; max-width: 460px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-6px); }
  .mw-body { grid-template-columns: 150px 1fr; }
  .feature-slide { left: 6vw; right: 6vw; bottom: 10vh; }
}
@media (max-width: 640px) {
  .mw-thead, .mw-row { grid-template-columns: 26px 1fr 74px; }
  .mw-thead span:last-child, .mw-row .d { display: none; }
  .mw-side { display: none; }
  .mw-body { grid-template-columns: 1fr; }
  .mw-crumbs, .mw-nav { display: none; }
  .mw-toolbar { gap: 10px; }
  .mw-search { margin-left: 0; flex: 1; min-width: 0; }
  .mw-search input { width: 100%; flex: 1; min-width: 0; }
  .mw-upload { flex: none; }
  .hero-cta .btn-ghost { display: none; }
  .cta-copy { padding: 40px 26px; }
  .stream-col.c-0 { display: none; }
  .stream-col.c-1 { left: 8%; width: 84%; }
  .stream-col.c-2 { left: 55%; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plan.featured { animation: none; }
  .cta-media::after { animation: none; display: none; }
  html.anim-ready .hero-copy .hl-inner { transform: none; }
  html.anim-ready .hero-copy :is(.eyebrow, .hero-sub, .hero-cta, .hero-meta) { opacity: 1; transform: none; }
  html.anim-ready .scroll-cue { opacity: 1; }
  .marquee-track { animation: none; flex-wrap: wrap; white-space: normal; justify-content: center; }
  .cta-media img { animation: none; }
  .scroll-cue, .hit-ring { display: none; }
  .hw-progress i, .mw-pill::before { animation: none; }
  .stream-col ul { animation: none; }
}
