/* ═══════════════════════════════════════════════════════════════════
   subMatik · cathead-website
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg:       #0A0A0B;
  --bg2:      #111114;
  --bg3:      #161618;
  --bg4:      #1A1A1E;
  --border:   #222226;
  --border2:  #2A2A30;
  --text:     #F0F0F2;
  --muted:    #8A8A93;
  --muted2:   #6B7280;
  --blue:     #3B82F6;
  --blue2:    #2563EB;
  --water:    #60A5FA;
  --suds:     #F5F7FA;
  --green:    #22C55E;

  --max:      1240px;
  --pad-h:    clamp(20px, 5vw, 60px);
  --section:  clamp(80px, 12vw, 160px);

  --display:  'Syne', ui-serif, Georgia, serif;
  --body:     'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:     'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease:     cubic-bezier(0.22, 1, 0.32, 1);
  --ease-in:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Surface tone — JS lerps this toward deep abyss as user scrolls. */
  background: #0A1428;
  transition: background 1200ms linear;
}
body {
  background: transparent; /* let #water-bg show through */
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── Wavy water background ───────────────────────────────────────
   Thin stroked sine-wave lines — identical visual language to the
   drum's ambient wave field (#3B82F6 stroke, very low opacity, wavy
   sin-curves). No filled blobs — just clean rolling lines.

   JS rebuilds path d-strings each frame, mixing drift + counter-flow
   + standing-wave components for a "natural water" look. Scroll adds
   parallax descent ("inen") + velocity-driven sway ("sallansın").

   Z-index: bg sits at 0, all content gets z-index:1. */
#water-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;   /* clips off-screen closing edges */
  width: 100%;
  height: 100%;
}
.water-trace {
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
/* Filled wave bands stack from back (deep navy) to front (pale sky).
   Each layer fills from its own surface down past the viewport bottom,
   so successive layers add tone — top of the water is a single dim
   navy, the bottom is the saturated mix of all five. The strokes
   draw a clean visible top edge for each wave, while the closing
   bottom/side edges are off-screen (xStart=-50, xEnd=w+50,
   fillTo=h+80) and clipped away by overflow:hidden. */
/* Deep-ocean palette — barely visible against #0A0A0B body bg.
   Each tone is a step toward a slightly less-dark navy so the layered
   stack still reads as a tonal gradient, but nothing is bright. */
/* Strokes removed entirely — visible wave edges were creating
   horizontal lines as they crossed the viewport during scroll.
   Only fills remain for the layered surface tone. */
.water-trace[data-i="0"] { fill: #050810; fill-opacity: 0.55; stroke: none; }
.water-trace[data-i="1"] { fill: #0A0F1C; fill-opacity: 0.50; stroke: none; }
.water-trace[data-i="2"] { fill: #0E1830; fill-opacity: 0.45; stroke: none; }
.water-trace[data-i="3"] { fill: #112045; fill-opacity: 0.42; stroke: none; }
.water-trace[data-i="4"] { fill: #152A5A; fill-opacity: 0.55; stroke: none; }
@media (prefers-reduced-motion: reduce) {
  .water-trace { animation: none; }
}

/* ─── Ocean inhabitants: kelp, fish, bubbles ──────────────────────
   Three layers added to #water-bg behind the wave traces. Kelp anchored
   to viewport edges (left + right), fish swim across, bubbles rise from
   bottom. JS spawns/animates everything; CSS just sets visual style. */
#water-bg .kelp-strand {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
/* Seabed base: solid only, no shadow — clean horizonless transition */
#water-bg .kelp-1 { stroke: #1f6336; opacity: 0.55; }
#water-bg .kelp-2 { stroke: #2d7a44; opacity: 0.50; }
#water-bg .kelp-3 { stroke: #15522b; opacity: 0.62; }
#water-bg .kelp-4 { stroke: #3d8c52; opacity: 0.45; }
#water-bg .kelp-purple { stroke: #4d2566; opacity: 0.55; }
#water-bg .kelp-red    { stroke: #5e2030; opacity: 0.50; }

#water-bg .fish {
  fill: rgba(165, 200, 235, 0.55);
  stroke: rgba(220, 240, 255, 0.35);
  stroke-width: 0.6;
}
#water-bg .fish-tail { fill: rgba(165, 200, 235, 0.50); }

#water-bg .bubble {
  fill: rgba(220, 240, 255, 0.10);
  stroke: rgba(220, 240, 255, 0.55);
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
}

/* Plankton / marine snow — tiny pale dots drifting downward */
#water-bg .plankton {
  fill: rgba(220, 235, 255, 0.45);
}

/* Jellyfish — translucent bell + drifting tentacles */
#water-bg .jelly-bell {
  fill: rgba(210, 195, 245, 0.18);
  stroke: rgba(220, 200, 255, 0.55);
  stroke-width: 1.2;
}
#water-bg .jelly-tent {
  stroke: rgba(220, 200, 255, 0.40);
  stroke-width: 1;
  fill: none;
  stroke-linecap: round;
}

/* Big shadow fish — distant silhouette */
#water-bg .bigfish {
  fill: rgba(8, 14, 26, 0.55);
  stroke: rgba(20, 32, 60, 0.28);
  stroke-width: 0.5;
}

/* Vignette removed — clean uniform underwater feel */
#depth-vignette { display: none; }

/* All page content must sit above the water bg (which is at z-index 0) */
.nav, .hero, .flavors, .pillars, .langs, .demo-section,
.format-section, .download, .pricing, .faq, .final-cta, .footer,
section { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
::selection { background: var(--blue); color: #fff; }

.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.kicker {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--blue);
}
.section-header {
  text-align: center; max-width: 760px; margin: 0 auto var(--section) auto;
  padding: 36px 40px;
  margin-bottom: clamp(40px, 6vw, 80px);
  opacity: 0; transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  /* Backdrop panel so titles read cleanly over the wavy water bg */
  background: rgba(8, 9, 12, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
.section-header.in { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .section-header { padding: 22px 18px; border-radius: 14px; }
}
.section-header h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.section-sub { font-size: 17px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  padding: 0 var(--pad-h);
  background: rgba(10,10,11,0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-left  { display: flex; align-items: center; gap: 14px; }
.nav-home  {
  font-size: 11px; font-weight: 500;
  color: var(--muted);
  text-transform: lowercase; letter-spacing: 0.04em;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}
.nav-home:hover {
  color: var(--text);
  border-color: var(--border2);
  background: rgba(255,255,255,0.03);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo  { width: 28px; height: auto; filter: invert(1); opacity: 0.95; }
.nav-wordmark {
  font-family: var(--display); font-weight: 800;
  font-size: 17px; letter-spacing: -0.01em;
}
.nav-wordmark .dot { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 26px; }
@media (max-width: 880px) { .nav-links { display: none; } }
.nav-link {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em;
  transition: color 200ms var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  background: var(--blue); color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.nav-cta:hover { background: var(--blue2); transform: translateY(-1px); }

/* ─── Language switcher (EN | TR) ─────────────────────────────────── */
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 16px; margin-right: 8px;
}
.lang-switch .lang-btn {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); opacity: 0.55;
  padding: 6px 8px;
  cursor: pointer;
  transition: opacity 180ms var(--ease), color 180ms var(--ease);
}
.lang-switch .lang-btn:hover { opacity: 0.9; }
.lang-switch .lang-btn.active {
  opacity: 1;
  color: var(--text);
  font-weight: 700;
}
.lang-switch .lang-sep {
  font-family: var(--mono);
  color: var(--muted); opacity: 0.35;
  font-size: 11px;
  user-select: none;
}
@media (max-width: 880px) {
  .lang-switch { margin-left: auto; }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: 120px var(--pad-h) 80px;
  position: relative;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 30% 0%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(60% 40% at 90% 100%, rgba(96,165,250,0.06), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
}
.hero-copy {
  max-width: 720px;
  /* keep all hero text inside the column; long TR copy used to spill out */
  min-width: 0;
  /* Backdrop panel so the long body text reads cleanly over the
     wavy water bg. Generous padding + soft border. */
  padding: 32px 36px;
  background: rgba(8, 9, 12, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.55);
}
@media (max-width: 720px) {
  .hero-copy { padding: 22px 20px; border-radius: 14px; }
}

/* Hero brand row — logo + wordmark above the kicker */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-brand-logo {
  width: 48px;
  height: auto;
  display: block;
  filter: invert(1);
  opacity: 0.95;
}
.hero-brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1;
}
.hero-brand-dot { color: var(--blue); }
@media (max-width: 720px) {
  .hero-brand { gap: 10px; margin-bottom: 16px; }
  .hero-brand-logo { width: 38px; }
  .hero-brand-name { font-size: 22px; }
}
.hero-title {
  font-family: var(--display); font-weight: 800;
  /* Capped tight so even long lines never crash into the drum column. */
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.05; letter-spacing: -0.025em;
  margin: 18px 0 24px;
  display: flex; flex-direction: column;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.hero-title span { display: block; }
.hero-title-accent { color: var(--blue); }
/* Slightly tighter for Turkish, where lines tend to be longer */
html[lang="tr"] .hero-title {
  font-size: clamp(26px, 3.8vw, 48px);
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted); max-width: 600px; line-height: 1.55;
}
.hero-sub strong { color: var(--text); font-weight: 700; }

.speed-callout {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px;
  font-size: 13px; color: var(--blue);
  padding: 8px 14px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.20);
  border-radius: 999px;
}
.speed-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(59,130,246,0.6);
  animation: pulseDot 1.6s var(--ease) infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(59,130,246,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(59,130,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}

.cta-row {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.cta-row--center { justify-content: center; }
/* Hero & download CTAs share the row equally (Mac and Windows buttons
   match width regardless of label length differences). The center variant
   keeps natural sizing — those buttons are small. */
.cta-row:not(.cta-row--center) > .cta {
  flex: 1 1 0;
  min-width: 220px;
}

.cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--border2); border-radius: 10px;
  background: var(--bg3);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}
.cta:hover { transform: translateY(-2px); border-color: var(--blue); background: var(--bg4); }
.cta-icon {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--blue); color: #fff;
  border-radius: 8px;
  font-weight: 700; font-size: 18px;
}
.cta-icon::before { content: '⬇'; }
.cta-stack {
  display: flex; flex-direction: column; align-items: flex-start;
  line-height: 1.1;
  min-width: 0;          /* allow children to truncate cleanly */
}
.cta-stack strong {
  font-size: 14px; font-weight: 700;
  white-space: nowrap;
}
.cta-stack small {
  font-size: 11px; color: var(--muted); margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cta-secondary .cta-icon { background: var(--bg4); color: var(--blue); border: 1px solid var(--blue); font-size: 16px; }
.cta-secondary .cta-icon::before { content: ''; }
.cta-primary  { /* default */ }

/* ─── DRUM ──────────────────────────────────────────────────────── */
.hero-drum-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 20px;
}
.drum-mount {
  width: clamp(280px, 36vw, 460px);
  aspect-ratio: 1;
  position: relative;
  transition: transform 220ms var(--ease);
  /* Generous touch target on mobile — extra padding around the SVG keeps
     the drum easy to hit even with a thumb. */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  cursor: pointer;
}
/* Force the SVG and every painted descendant to forward pointer events
   to the mount. Without this, iOS Safari sometimes drops taps that land
   on transparent SVG regions between strokes. */
.drum-mount svg,
.drum-mount svg * {
  pointer-events: none;
}
.drum-mount:active { transform: scale(0.985); }
.drum-mount:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 12px;
  border-radius: 50%;
}
.drum-mount .d-word { transition: opacity 220ms var(--ease); }
/* Hover affordances ONLY for hover-capable devices.
   Without this, iOS treats the first tap as hover and you have to
   tap twice — first time activates hover, second time fires click. */
@media (hover: hover) {
  .drum-mount:hover { transform: scale(1.015); }
  .drum-mount:hover .d-word { opacity: 0.92 !important; }
}
.drum-hint {
  font-size: 11px; color: var(--muted2); text-align: center;
  margin-top: 18px;
  /* Subtle shimmer so the user notices the prompt without it being pushy */
  animation: drum-hint-shimmer 4.5s ease-in-out infinite;
}
@keyframes drum-hint-shimmer {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.95; }
}
@media (prefers-reduced-motion: reduce) {
  .drum-hint { animation: none; opacity: 0.7; }
}

/* ═══════════════════════════════════════════════════════════════════
   STRIP
   ═══════════════════════════════════════════════════════════════════ */
.strip {
  /* Transparent so the underwater scene flows through. Borders +
     bg2 band removed — chips read as floating pills. */
  background: transparent;
  padding: 22px var(--pad-h);
  overflow: visible;
}
.strip-row {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 10px;
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em;
}
/* Each feature is its own bordered chip — separation is unambiguous,
   no need for · separators that visually disappeared. */
.strip-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: var(--bg3);
  white-space: nowrap;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.strip-chip:hover { border-color: var(--blue); color: var(--text); }
.strip-num { color: var(--blue); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════
   FLAVORS
   ═══════════════════════════════════════════════════════════════════ */
.flavors {
  padding: var(--section) var(--pad-h);
  max-width: var(--max);
  margin: 0 auto;
}
.flavor-grid {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
}
.flavor-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), border-color 220ms var(--ease);
}
.flavor-card.in { opacity: 1; transform: none; }
.flavor-card:hover { border-color: var(--blue); }
@media (max-width: 880px) {
  .flavor-card { grid-template-columns: 1fr; }
  .flavor-shot { order: -1; }
}
.flavor-text {
  padding: clamp(28px, 4vw, 50px);
  display: flex; flex-direction: column; gap: 16px;
  justify-content: center;
}
.flavor-text h3 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(24px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.02em;
  margin: 6px 0 6px;
}
.flavor-text p { color: var(--muted); font-size: 15px; }
.flavor-bullets { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.flavor-bullets li {
  position: relative; padding-left: 22px; color: var(--muted); font-size: 14px;
}
.flavor-bullets li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 12px; height: 2px; background: var(--blue);
}
.flavor-bullets strong { color: var(--text); font-weight: 700; }
.flavor-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cta-mini {
  font-family: var(--mono); font-size: 12px;
  padding: 10px 16px;
  border: 1px solid var(--border2); border-radius: 8px;
  background: var(--bg3);
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.cta-mini:hover { border-color: var(--blue); color: var(--blue); }

.flavor-shot {
  position: relative;
  background: linear-gradient(160deg, #161618 0%, #0E0E10 100%);
  display: grid; place-items: center;
  padding: clamp(20px, 3vw, 40px);
  overflow: hidden;
}
.flavor-shot::before {
  /* subtle ambient glow */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(59,130,246,0.08), transparent 70%);
  pointer-events: none;
}
.flavor-shot img {
  position: relative;
  width: 100%; height: auto; max-width: 540px;
  border-radius: 10px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7), 0 0 0 1px var(--border2);
}
.shot-corner-tag {
  position: absolute; bottom: 14px; right: 14px;
  font-size: 10px; color: var(--muted2);
  background: rgba(0,0,0,0.5);
  padding: 4px 8px; border-radius: 4px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── stylized Mac standalone window ───────────────────────────────── */
.mac-window {
  position: relative;
  width: 100%; max-width: 540px;
  background: #0E0E10;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
  font-size: 11px;
}
.mac-window-bar {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(#1d1d20, #15151a);
  border-bottom: 1px solid var(--border2);
  padding: 8px 14px; position: relative;
}
.mac-window-title {
  font-family: var(--display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.04em;
}
.traffic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 6px; }
.traffic i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.traffic .t-r { background: #FF5F57; }
.traffic .t-y { background: #FEBC2E; }
.traffic .t-g { background: #28C840; }
.mac-window-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }

.mac-toolbar {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mac-logo-tile {
  width: 40px; height: 32px;
  border: 1px solid var(--border2); border-radius: 6px;
  display: grid; place-items: center; color: var(--text);
  background: var(--bg3);
  flex-shrink: 0;
}
.mac-logo-tile svg { width: 22px; height: auto; }
.mac-tools { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.mac-tool {
  font-family: var(--mono);
  font-size: 9px;
  padding: 6px 8px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 4px; color: var(--muted);
  letter-spacing: 0.04em;
}
.mac-tool.active { color: var(--blue); border-color: var(--blue); background: rgba(59,130,246,0.06); }

.mac-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mac-field { display: flex; flex-direction: column; gap: 4px; }
.mac-field > span {
  font-family: var(--mono);
  font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
}
.mac-input {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 4px;
  padding: 7px 9px;
  font-size: 11px;
  display: flex; align-items: center; justify-content: space-between;
}
.mac-input--engine .key {
  font-family: var(--mono);
  font-size: 9px; color: var(--blue);
  background: var(--bg4); padding: 4px 8px;
  border-radius: 4px; font-style: normal;
  border: 1px solid var(--border2);
  margin-left: 10px;
}
.mac-cue {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 4px; padding: 7px 9px;
  display: flex; flex-direction: column; gap: 6px;
}
.mac-cue-title { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.mac-cue-row { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.mac-cue-row .cue-num {
  background: var(--bg); border: 1px solid var(--border2);
  padding: 2px 6px; border-radius: 4px; margin-left: auto;
  font-family: var(--mono);
}
.mac-cue-row .cue-mini {
  font-family: var(--mono); font-size: 9px; color: var(--blue); margin-left: auto;
}
.toggle {
  width: 24px; height: 14px;
  background: var(--bg4); border: 1px solid var(--border2);
  border-radius: 999px; position: relative;
  flex-shrink: 0;
}
.toggle::after {
  content: ''; position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted); top: 2px; left: 2px;
}
.toggle.on { background: var(--blue); border-color: var(--blue); }
.toggle.on::after { background: #fff; left: 12px; }

.mac-drop {
  border: 1.5px dashed var(--border2);
  border-radius: 8px;
  padding: 22px 14px;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.drop-arrow {
  color: var(--blue); font-size: 22px; line-height: 1;
  margin-bottom: 4px;
}
.mac-drop strong { font-size: 13px; }
.mac-drop small { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 2px; }

.mac-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: var(--muted);
  padding: 4px 0;
}
.ready { color: var(--green); }

.mac-buttons { display: flex; gap: 6px; }
.mac-btn {
  font-family: var(--mono); font-size: 10px;
  padding: 8px 12px;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 4px;
  flex: 1; text-align: center;
  color: var(--text);
}
.mac-btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; flex: 2; }
.mac-btn.danger { color: #FF5F57; }

/* ═══════════════════════════════════════════════════════════════════
   PILLARS
   ═══════════════════════════════════════════════════════════════════ */
.pillars {
  padding: var(--section) var(--pad-h);
  max-width: var(--max); margin: 0 auto;
}
.pillar-list {
  display: flex; flex-direction: column;
  gap: 24px;
}
.pillar {
  display: grid;
  grid-template-columns: clamp(120px, 11vw, 170px) 1.4fr 1fr;
  gap: clamp(20px, 3vw, 50px);
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg2);
  align-items: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), border-color 220ms var(--ease);
}
.pillar.in { opacity: 1; transform: none; }
.pillar:hover { border-color: var(--border2); }
@media (max-width: 880px) {
  .pillar { grid-template-columns: 1fr; }
  .pillar-num { font-size: 64px; }
  .pillar-visual { margin-top: 20px; }
}
.pillar-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(48px, 5vw, 88px);
  line-height: 1;
  color: var(--blue);
  opacity: 0.18;
  letter-spacing: -0.03em;
}
.pillar-body h3 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.pillar-body p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.pillar-body strong { color: var(--text); font-weight: 700; }
.pillar-visual {
  display: grid; place-items: center;
  min-height: 140px;
  background: var(--bg3); border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
}

/* trio */
.trio { display: flex; gap: 10px; }
.trio-tile {
  font-size: 11px; padding: 16px 18px;
  border: 1px solid var(--border2); border-radius: 8px;
  background: var(--bg2); color: var(--blue);
  letter-spacing: 0.08em;
}

/* drag-drop */
.dragdrop-anim {
  position: relative;
  width: 200px; height: 130px;
}
.dd-zone {
  position: absolute; inset: 30px 0 0 0;
  border: 1.5px dashed var(--blue);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--blue);
  text-align: center;
}
.dd-arrow { display: block; font-size: 18px; margin-bottom: 4px; }
.dd-file {
  position: absolute; left: 50%; top: -10px;
  width: 36px; height: 44px;
  background: var(--bg2);
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  margin-left: -18px;
  animation: drop 2.5s var(--ease) infinite;
}
.dd-file::after {
  content: 'mp4'; position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 7px; color: var(--blue); letter-spacing: 0.08em;
}
@keyframes drop {
  0%, 30% { transform: translateY(0) rotate(-4deg); opacity: 1; }
  60% { transform: translateY(70px) rotate(2deg); opacity: 1; }
  70% { transform: translateY(70px) rotate(0deg); opacity: 0; }
  71% { transform: translateY(0) rotate(-4deg); opacity: 0; }
  85% { transform: translateY(0) rotate(-4deg); opacity: 1; }
  100% { transform: translateY(0) rotate(-4deg); opacity: 1; }
}

/* accuracy compare */
.accuracy-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.accuracy-col {
  padding: 14px;
  background: var(--bg2);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.accuracy-col p { font-size: 13px; color: var(--text); line-height: 1.6; margin-top: 8px; }
.accuracy-col s { color: #ef4444; text-decoration-thickness: 1.5px; }
.accuracy-tag { font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; }
.accuracy-tag.bad { color: #ef4444; }
.accuracy-tag.good { color: var(--green); }

/* phone */
.phone-frame {
  width: 110px; height: 200px;
  border: 2px solid var(--border2); border-radius: 18px;
  padding: 6px;
  background: #000;
  position: relative;
}
.phone-frame::before {
  content: ''; position: absolute;
  width: 30px; height: 4px; background: var(--border2);
  top: 9px; left: 50%; transform: translateX(-50%);
  border-radius: 2px;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 12px;
  background: linear-gradient(180deg, #1f2937 0%, #0f172a 100%);
  position: relative; overflow: hidden;
}
.phone-vid {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 50% 30%, rgba(96,165,250,0.4), transparent 60%),
    radial-gradient(70% 50% at 50% 70%, rgba(59,130,246,0.2), transparent 70%);
}
.phone-sub {
  position: absolute; bottom: 28px; left: 12px; right: 12px;
  text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 13px;
  color: #fff; line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  letter-spacing: -0.01em;
}

/* speed */
.speed-bar { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.speed-row { display: flex; align-items: center; gap: 12px; font-size: 11px; }
.speed-label { width: 80px; color: var(--muted); flex-shrink: 0; }
.speed-track {
  flex: 1;
  height: 14px; background: var(--bg2);
  border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.speed-fill {
  height: 100%; width: var(--w);
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 8px;
  position: relative;
}
.speed-fill--gray { background: var(--border2); }
.speed-time {
  font-size: 9px; color: #fff; font-weight: 700;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════════
   LANGS
   ═══════════════════════════════════════════════════════════════════ */
.langs {
  padding: var(--section) var(--pad-h);
  max-width: var(--max); margin: 0 auto;
}
.lang-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 880px) { .lang-grid { grid-template-columns: 1fr; } }
.lang-mock {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), border-color 220ms var(--ease);
}
.lang-mock.in { opacity: 1; transform: none; }
.lang-mock:hover { border-color: var(--blue); }
.lang-mock-header { text-align: center; }
.lang-mock-title {
  font-family: var(--display); font-weight: 800;
  font-size: 24px; color: var(--blue);
  margin-bottom: 6px;
}
.lang-mock-header p { color: var(--muted); font-size: 13px; }
.lang-mock-toolbar {
  display: flex; align-items: center; gap: 8px;
}
.lang-btn {
  font-family: var(--mono); font-size: 11px;
  padding: 8px 14px;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 4px;
  color: var(--text);
}
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-count {
  margin-left: auto; font-size: 11px; color: var(--muted);
}
.lang-list {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  max-height: 320px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.lang-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}
.lang-list .check {
  width: 16px; height: 16px; flex-shrink: 0;
  background: var(--blue); border-radius: 3px;
  display: grid; place-items: center;
  position: relative;
}
.lang-list .check::after {
  content: ''; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}
.lang-more {
  color: var(--muted) !important; font-size: 11px !important;
  padding-top: 4px; border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   FORMATS
   ═══════════════════════════════════════════════════════════════════ */
.formats {
  padding: var(--section) var(--pad-h);
  max-width: var(--max); margin: 0 auto;
}
.format-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 880px) { .format-grid { grid-template-columns: 1fr; gap: 30px; } }
.format-mock {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  opacity: 0; transition: opacity 700ms var(--ease);
}
.format-mock.in { opacity: 1; }
.format-mock-title {
  font-size: 11px; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.format-mock-list { display: flex; flex-direction: column; gap: 12px; }
.format-mock-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
}
.format-mock-list em { color: var(--muted); font-style: normal; font-size: 12px; }
.format-mock-list .check {
  width: 16px; height: 16px; flex-shrink: 0;
  background: var(--bg); border: 1.5px solid var(--border2);
  border-radius: 3px;
}
.format-mock-list .checked .check {
  background: var(--blue); border-color: var(--blue);
  display: grid; place-items: center;
}
.format-mock-list .checked .check::after {
  content: ''; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}
.format-descs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 580px) { .format-descs { grid-template-columns: 1fr; } }
.format-descs li {
  border-left: 2px solid var(--blue);
  padding: 4px 0 4px 16px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.format-descs li.in { opacity: 1; transform: none; }
.format-descs strong {
  font-family: var(--display); font-weight: 800;
  font-size: 17px; display: block; margin-bottom: 4px;
}
.format-descs p { color: var(--muted); font-size: 13px; line-height: 1.55; }

/* ═══════════════════════════════════════════════════════════════════
   BIG DRUM
   ═══════════════════════════════════════════════════════════════════ */
/* (big-drum section removed — it was empty in idle and added no value) */

/* ═══════════════════════════════════════════════════════════════════
   PREMIERE PLUGIN EMPHASIS
   A dedicated callout that hammers the "plugin is bundled" point —
   placed between the two-flavors comparison and the pillars.
   ═══════════════════════════════════════════════════════════════════ */
.plugin-emp {
  padding: clamp(60px, 9vw, 120px) var(--pad-h);
  position: relative;
  /* Transparent so the underwater bg (kelp + bubbles + fish) flows
     through this section without visual cuts. */
  background: transparent;
  overflow: visible;
}
.plugin-emp::before {
  /* Subtle blue glow — quiet brand presence, not a spectacle */
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 50%, rgba(59,130,246,0.08), transparent 70%);
  pointer-events: none;
}
.plugin-emp-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.plugin-emp-tag {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.06);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.plugin-emp-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.plugin-emp-title em { font-style: normal; color: var(--blue); }
.plugin-emp-body {
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 640px;
}
.plugin-emp-shot {
  position: relative;
  max-width: 1100px;
  margin: 40px auto 28px;
  padding: 0 var(--pad-h);
}
.plugin-emp-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border2);
  border-radius: 12px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(59,130,246,0.18),
    0 0 60px rgba(59,130,246,0.10);
}
.plugin-emp-shot figcaption {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: 0.04em;
}
.plugin-emp-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  text-align: left;
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0 var(--pad-h);
}
.plugin-emp-list li {
  font-size: 14px; color: var(--text);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-left: 2px solid var(--blue);
  border-radius: 4px;
  background: var(--bg2);
}
.plugin-emp-list li strong { color: var(--text); font-weight: 700; }
@media (max-width: 720px) {
  .plugin-emp-list { grid-template-columns: 1fr; }
}

/* Download section — header removed; tiles speak for themselves */
.download--bare { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }

/* ═══════════════════════════════════════════════════════════════════
   DOWNLOAD
   ═══════════════════════════════════════════════════════════════════ */
.download {
  padding: var(--section) var(--pad-h);
  max-width: var(--max); margin: 0 auto;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.download-grid--two {
  /* Two installers (Mac + Windows). Premiere panel ships in both. */
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px; margin: 0 auto;
}
@media (max-width: 880px) {
  .download-grid,
  .download-grid--two { grid-template-columns: 1fr; }
}
.download-tile {
  display: flex; flex-direction: column; gap: 10px;
  padding: 36px 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: left;
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), border-color 220ms var(--ease);
}
.download-tile.in { opacity: 1; transform: none; }
.download-tile:hover { border-color: var(--blue); transform: translateY(-3px); }
.download-glyph {
  width: 48px; height: 48px;
  background: var(--blue); color: #fff;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
  margin-bottom: 6px;
}
.download-meta {
  font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.14em;
}
.download-name {
  font-family: var(--display); font-weight: 800;
  font-size: 22px; line-height: 1.15;
}
.download-foot {
  font-size: 11px; color: var(--muted); margin-top: 6px;
}
/* "+ Premiere panel included" badge on each download tile */
.download-bonus {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.25);
  background: rgba(59,130,246,0.08);
  border-radius: 6px;
  padding: 4px 8px;
  width: fit-content;
  margin-top: 4px;
}
.final-cta-note {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════ */
.faq {
  padding: var(--section) var(--pad-h);
  max-width: 880px; margin: 0 auto;
}
.faq-list { display: flex; flex-direction: column; gap: 6px; }
details {
  border-top: 1px solid var(--border);
  padding: 4px 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
details.in { opacity: 1; transform: none; }
details:last-child { border-bottom: 1px solid var(--border); }
details summary {
  list-style: none;
  padding: 22px 16px;
  font-family: var(--body); font-weight: 700; font-size: 17px;
  cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  transition: color 200ms var(--ease);
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-family: var(--mono); font-size: 24px; color: var(--blue);
  transition: transform 250ms var(--ease);
  font-weight: 400;
}
details[open] summary::after { transform: rotate(45deg); }
details summary:hover { color: var(--blue); }
details p {
  padding: 0 16px 22px;
  color: var(--muted); font-size: 15px; line-height: 1.65;
  max-width: 720px;
}
details em { color: var(--text); font-style: normal; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════════════ */
.final-cta {
  padding: var(--section) var(--pad-h);
  text-align: center;
  /* Fully transparent — no radial accent (was creating a faint blue
     band at the top edge). The underwater scene flows through. */
  background: transparent;
  position: relative;
}
.final-cta h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.0; letter-spacing: -0.025em;
  margin-bottom: 40px;
}
.final-cta .cta-accent { color: var(--blue); }
.final-cta .cta {
  padding: 16px 28px;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  padding: 60px var(--pad-h) 30px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--muted); font-size: 13px;
  transition: color 180ms var(--ease);
}
.footer-col a:hover { color: var(--text); }
.footer-tag { font-size: 11px; color: var(--muted2); margin-top: 6px; max-width: 280px; }
.footer-head { font-size: 10px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 4px; }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 11px; color: var(--muted2); text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   REDUCE MOTION
   ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .dd-file { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   IMAGE SWAPS — real screenshots replacing SVG/HTML mocks
   ═══════════════════════════════════════════════════════════════════ */
.flavor-shot picture,
.flavor-shot--standalone picture { display: block; width: 100%; }
.flavor-img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
}
.lang-mock--shot {
  padding: 0 !important;
  background: transparent !important;
  overflow: hidden;
}
.lang-mock--shot picture { display: block; }
.lang-mock--shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE PASS — comprehensive overrides for ≤720px viewports.
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {

  :root { --pad-h: 18px; }
  body { overflow-x: hidden; }

  /* ── Nav ── */
  .nav { height: 56px; padding: 0 14px; }
  .nav-logo { width: 22px; height: 22px; }
  .nav-wordmark { font-size: 15px; }
  .nav-cta { padding: 8px 12px; font-size: 10px; }
  .lang-switch { margin-left: 6px; margin-right: 4px; }

  /* ── Hero ── */
  .hero { padding: 92px 14px 48px; }
  .hero-grid { gap: 36px; }
  .hero-title { font-size: clamp(30px, 9vw, 44px); line-height: 1.06; }
  .hero-sub { font-size: 14.5px; line-height: 1.65; }
  .speed-callout { font-size: 11px; padding: 8px 12px; }

  .cta-row { gap: 10px; }
  .cta-row > .cta {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    width: 100%;
    justify-content: flex-start;
  }
  .cta { padding: 13px 16px; }
  .cta-stack { min-width: 0; }
  .cta-stack strong { font-size: 13px; white-space: normal; }
  .cta-stack small { font-size: 9.5px; white-space: normal; word-break: keep-all; }

  /* Drum stays centered + sized for thumb taps. Lower clamp min so
     the smallest phones (≤340px) don't violate the floor. */
  .hero-drum-wrap { padding: 8px; }
  .drum-mount { width: clamp(200px, 70vw, 320px); }
  .drum-hint { font-size: 10px; margin-top: 12px; }

  /* ── Trust strip ── */
  .strip { padding: 14px 14px; }
  .strip-row { gap: 6px 8px; font-size: 10px; }
  .strip-chip { padding: 6px 10px; }

  /* ── Section headers ── */
  .section-header { margin-bottom: 36px; padding: 0 6px; }
  .section-header h2 { font-size: clamp(26px, 7vw, 34px); }
  .section-header p  { font-size: 14.5px; line-height: 1.6; }
  .kicker { font-size: 10px; }

  /* ── Two flavors (standalone vs premiere) ── */
  .flavors { padding: 56px 14px; }
  .flavor-card { padding: 22px 18px; border-radius: 12px; }
  .flavor-text h3 { font-size: 22px; }
  .flavor-text p { font-size: 14px; line-height: 1.6; }
  .flavor-bullets li { font-size: 13.5px; padding: 9px 12px; }
  .flavor-ctas { gap: 8px; }
  .cta-mini { padding: 10px 14px; font-size: 11px; flex: 1 1 100%; text-align: center; }

  /* ── Plugin emphasis ── */
  .plugin-emp { padding: 56px 14px; }
  .plugin-emp-title { font-size: clamp(24px, 7vw, 32px); }
  .plugin-emp-body  { font-size: 14.5px; line-height: 1.65; }
  .plugin-emp-shot { padding: 0; margin: 28px auto 20px; }
  .plugin-emp-list li { font-size: 13.5px; padding: 10px 12px; }

  /* ── 5 Pillars ── */
  .pillars { padding: 56px 14px; }
  .pillar { padding: 24px 20px; border-radius: 12px; }
  .pillar-num { font-size: 56px; }
  .pillar-body h3 { font-size: 20px; }
  .pillar-body p { font-size: 14px; line-height: 1.6; }
  .pillar-visual { margin-top: 16px; }
  .trio { gap: 6px; }
  .trio-tile { font-size: 10px; padding: 6px 10px; }

  /* ── Languages section ── */
  .langs { padding: 56px 14px; }
  .lang-grid { gap: 24px; }
  .lang-mock { padding: 18px; border-radius: 12px; }

  /* ── Output formats ── */
  .formats { padding: 56px 14px; }
  .format-grid { gap: 28px; }
  .format-descs { gap: 14px; }
  .format-mock { padding: 18px; border-radius: 12px; font-size: 11.5px; }
  .format-mock-list li { padding: 6px 8px; font-size: 11px; }

  /* ── Download tiles ── */
  .download--bare { padding: 44px 14px; }
  .download-grid, .download-grid--two {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .download-tile { padding: 22px 20px; border-radius: 12px; }
  .download-name { font-size: 17px; }

  /* ── FAQ ── */
  .faq { padding: 56px 14px; }
  .faq-list { gap: 8px; }
  .faq-item { padding: 16px 20px; border-radius: 10px; }

  /* ── Final CTA ── */
  .final-cta { padding: 56px 14px; }
  .final-cta h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .final-cta p { font-size: 14.5px; }
  .final-cta .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .final-cta .cta { width: 100%; }

  /* ── Footer ── */
  .footer { padding: 36px 14px 24px; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-col { gap: 8px; }
}

/* Even tighter for very narrow phones (≤380px) */
@media (max-width: 380px) {
  .hero-title { font-size: clamp(26px, 8.4vw, 36px); }
  .drum-mount { width: clamp(200px, 78vw, 240px); }
  .flavor-text h3 { font-size: 20px; }
  .plugin-emp-title { font-size: 22px; }
}

/* ─── Universal overflow guard for phones ───────────────────────
   Belt-and-suspenders rule: catches any element that would push
   horizontal scroll on small viewports. Applied alongside the
   page-specific mobile overrides above. */
@media (max-width: 720px) {
  html, body { overflow-x: clip; max-width: 100vw; }
  p, li, h1, h2, h3, h4, h5, h6, span, a, label, td, th, dt, dd, figcaption {
    overflow-wrap: anywhere;
  }
  pre, code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
  }
  table { display: block; overflow-x: auto; max-width: 100%; }
  img, svg, video { max-width: 100%; height: auto; }
}
