/* Layout: catalog shelf. Left-aligned 1240px container under a sticky header;
   product media sits in dark "3D viewport" frames, everything else stays quiet so the renders carry the colour. */
:root {
  --bg: #f2f4f8;
  --surface: #ffffff;
  --surface-2: #e9edf4;
  --ink: #141a2e;
  --ink-2: #4b5472;
  --ink-3: #737c97;
  --line: #d9dfe9;
  --accent: #ff7a1a;
  --accent-hover: #ff8f3d;
  --accent-ink: #141a2e;
  --accent-soft: #ffeadb;
  --ok: #0b8a7e;
  --no: #c23b3b;
  --edge: #141a2e;
  --vp-bg: #1a2033;
  --vp-ink: #c4cbe0;
  --vp-line: #313a58;
  --foot-bg: #141a2e;
  --foot-ink: #c4cbe0;
  --foot-dim: #8a93b0;
  --foot-line: #283050;
  --badge-free-bg: #0b8a7e;
  --badge-free-fg: #ffffff;
  --scrim: rgb(10 13 24 / 0.55);
  --shadow: 0 1px 2px rgb(20 26 46 / 0.06), 0 10px 28px -14px rgb(20 26 46 / 0.22);
  --logo-top: #ff7a1a;
  --logo-left: #141a2e;
  --logo-side: #34406a;
  --logo-eye: #ffffff;

  --font-display: 'Unbounded', 'Arial Black', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0e1220;
    --surface: #161b2c;
    --surface-2: #1e2539;
    --ink: #e9edf7;
    --ink-2: #aab2ca;
    --ink-3: #7f88a3;
    --line: #2a3249;
    --accent: #ff8a33;
    --accent-hover: #ffa25e;
    --accent-ink: #141a2e;
    --accent-soft: #3a2615;
    --ok: #3cc6b8;
    --no: #ff8080;
    --edge: #04060c;
    --vp-bg: #090c17;
    --vp-ink: #c4cbe0;
    --vp-line: #262e47;
    --foot-bg: #090c17;
    --foot-ink: #c4cbe0;
    --foot-dim: #7f88a3;
    --foot-line: #1f2740;
    --badge-free-bg: #3cc6b8;
    --badge-free-fg: #0e1220;
    --scrim: rgb(3 5 10 / 0.7);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 14px 34px -16px rgb(0 0 0 / 0.7);
    --logo-top: #ff8a33;
    --logo-left: #e9edf7;
    --logo-side: #8e9abc;
    --logo-eye: #141a2e;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0e1220;
  --surface: #161b2c;
  --surface-2: #1e2539;
  --ink: #e9edf7;
  --ink-2: #aab2ca;
  --ink-3: #7f88a3;
  --line: #2a3249;
  --accent: #ff8a33;
  --accent-hover: #ffa25e;
  --accent-ink: #141a2e;
  --accent-soft: #3a2615;
  --ok: #3cc6b8;
  --no: #ff8080;
  --edge: #04060c;
  --vp-bg: #090c17;
  --vp-ink: #c4cbe0;
  --vp-line: #262e47;
  --foot-bg: #090c17;
  --foot-ink: #c4cbe0;
  --foot-dim: #7f88a3;
  --foot-line: #1f2740;
  --badge-free-bg: #3cc6b8;
  --badge-free-fg: #0e1220;
  --scrim: rgb(3 5 10 / 0.7);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 14px 34px -16px rgb(0 0 0 / 0.7);
  --logo-top: #ff8a33;
  --logo-left: #e9edf7;
  --logo-side: #8e9abc;
  --logo-eye: #141a2e;
  color-scheme: dark;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--safe-top);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1 { font: 600 clamp(30px, 4vw, 46px)/1.08 var(--font-display); letter-spacing: -0.02em; }
h2 { font: 600 clamp(22px, 2.3vw, 30px)/1.15 var(--font-display); letter-spacing: -0.015em; }
h3 { font: 700 18px/1.3 var(--font-body); }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }
.mono { font-family: var(--font-mono); font-feature-settings: 'zero' 0; }
.small { font-size: 13px; }
.muted { color: var(--ink-3); }
.eyebrow {
  font: 500 12px/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  margin: 0;
}
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: calc(12px + var(--safe-top)); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.is-pixel { image-rendering: pixelated; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font-body);
  padding: 13px 20px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--edge); box-shadow: 0 3px 0 var(--edge); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-lg { padding: 16px 24px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-ext { font-size: 0.9em; opacity: 0.7; }
.btn .gumroad-button-logo, .btn .logo-full { display: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px;
  border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer;
}
.icon-btn:hover { color: var(--ink); background: var(--surface-2); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.15s; }
.text-link:hover svg { transform: translateX(3px); }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: var(--safe-top); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 30px; height: 30px; stroke: none; }
.logo-word { font: 600 19px/1 var(--font-display); letter-spacing: -0.02em; display: inline-flex; align-items: flex-start; gap: 3px; }
.logo-tag { font: 500 10px/1 var(--font-mono); background: var(--accent); color: var(--accent-ink); padding: 3px 4px; border-radius: 4px; letter-spacing: 0.02em; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--accent); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.search-trigger { border-color: var(--line); background: var(--surface); padding: 0 8px 0 12px; min-width: 200px; justify-content: flex-start; color: var(--ink-3); }
.search-trigger svg { order: -1; width: 18px; height: 18px; }
.search-trigger kbd { margin-left: auto; font: 500 11px/1 var(--font-mono); border: 1px solid var(--line); border-radius: 5px; padding: 4px 6px; color: var(--ink-3); }
.search-label { font-size: 14px; }
.header-cta { margin-left: 6px; }
.menu-btn { display: none; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu nav { display: grid; padding-block: 8px 16px; }
.mobile-menu a { padding: 13px 0; font-size: 18px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  padding-block: clamp(32px, 5vw, 64px) 32px;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 36px; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; flex-direction: column-reverse; gap: 2px; }
.hero-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.hero-facts dd { margin: 0; font: 600 24px/1.1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }

.viewport { margin: 0; background: var(--vp-bg); border: 1px solid var(--vp-line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow); color: var(--vp-ink); min-width: 0; }
.vp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 10px 10px; flex-wrap: wrap; }
.vp-title { font-size: 12px; color: var(--vp-ink); }
.vp-title::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.vp-modes { display: flex; gap: 2px; background: color-mix(in srgb, var(--vp-line) 55%, transparent); padding: 3px; border-radius: 9px; }
.vp-modes button { font: 500 12px/1 var(--font-mono); color: var(--vp-ink); background: transparent; border: 0; border-radius: 7px; padding: 7px 10px; cursor: pointer; }
.vp-modes button:hover { color: #fff; }
.vp-modes button[aria-selected='true'] { background: var(--vp-line); color: #fff; }
.vp-stage { position: relative; aspect-ratio: 1320 / 630; border-radius: 11px; overflow: hidden; background: #d8eff0; }
.vp-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s ease; }
.vp-layer.is-on { opacity: 1; }
.vp-gizmo { position: absolute; left: 12px; bottom: 10px; width: 44px; height: 44px; stroke-width: 2.6; pointer-events: none; }
.vp-gizmo .gx { stroke: #e5484d; } .vp-gizmo .gy { stroke: #46a758; } .vp-gizmo .gz { stroke: #3e7be0; }
.vp-gizmo .f.gx { fill: #e5484d; } .vp-gizmo .f.gy { fill: #46a758; } .vp-gizmo .f.gz { fill: #3e7be0; }
.vp-readout { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 10px 10px 4px; font-size: 12px; color: var(--vp-ink); }
.vp-readout b { color: #fff; font-weight: 500; }

/* ---------- engine strip ---------- */
.engine-strip { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; padding-block: 16px 8px; }
.engine-strip ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.engine-strip a {
  display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  text-decoration: none; transition: border-color 0.15s;
}
.engine-strip a:hover { border-color: var(--ink); }
.engine-name { font-weight: 600; font-size: 15px; }
.engine-count { font-size: 12px; color: var(--ink-3); }

/* ---------- sections ---------- */
.shelf, .types, .why, .faq-teaser { padding-block: clamp(48px, 6vw, 88px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head > div { display: grid; gap: 8px; }

.feature {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center;
}
.feature-media { display: block; border-radius: 16px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.feature-media img { width: 100%; transition: transform 0.4s ease; }
.feature-media:hover img { transform: scale(1.015); }
.feature-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.feature-copy > p:not(.eyebrow) { color: var(--ink-2); }
.feature-buy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }

.ticks, .crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.ticks svg { width: 20px; height: 20px; color: var(--ok); stroke-width: 2.4; margin-top: 2px; }
.ticks-sm { gap: 7px; font-size: 14px; }
.ticks-sm svg { width: 17px; height: 17px; }
.crosses li { position: relative; padding-left: 30px; }
.crosses li::before { content: '×'; position: absolute; left: 4px; top: -2px; font: 600 20px/1.4 var(--font-mono); color: var(--no); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--ink-3); box-shadow: var(--shadow); transform: translateY(-2px); }
.card:focus-within { border-color: var(--ink-3); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.card-media img, .card-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-clip { opacity: 0; transition: opacity 0.25s ease; }
.card-clip.is-playing { opacity: 1; }
.card-play {
  position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgb(20 26 46 / 0.72); color: #fff; transition: opacity 0.2s;
}
.card-play svg { width: 14px; height: 14px; margin-left: 2px; }
.card:hover .card-play { opacity: 0; }
.badge {
  position: absolute; top: 10px; left: 10px;
  font: 500 11px/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 8px; border-radius: 6px; background: var(--ink); color: var(--bg);
}
.badge-new { background: var(--accent); color: var(--accent-ink); }
.badge-free { background: var(--badge-free-bg); color: var(--badge-free-fg); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-kicker { font-size: 12px; color: var(--ink-3); }
.card-title { font: 700 18px/1.25 var(--font-body); }
.card-title a { text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-title a:focus-visible { outline: none; }
.card-title a:focus-visible::after { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: var(--radius); }
.card-formats { font-size: 12px; color: var(--ink-2); }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); }
.engine-dots { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; min-width: 0; }
.engine-dots li { font: 500 11px/1 var(--font-mono); padding: 4px 6px; border-radius: 5px; background: var(--surface-2); color: var(--ink-2); }
.price { font: 600 18px/1 var(--font-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-lg { font-size: 34px; }
.price-free { color: var(--ok); }
.price-was { color: var(--ink-3); font-size: 0.62em; font-weight: 500; }
.price-note { font-size: 12px; color: var(--ink-3); }
.card-compact .card-body { padding: 12px 12px 14px; }
.card-compact .card-title { font-size: 15px; }
.card-compact .card-formats, .card-compact .engine-dots, .card-compact .badge { display: none; }
.card-compact .card-foot { padding-top: 8px; }
.card-compact .price { font-size: 15px; }

/* ---------- types ---------- */
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.type-tile {
  display: flex; flex-direction: column; text-decoration: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.15s;
}
.type-tile:hover { border-color: var(--ink-3); }
.type-tile img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.type-meta { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.type-name { font: 600 18px/1.2 var(--font-display); }
.type-meta .mono { font-size: 12px; color: var(--ink-3); }
.type-soon .wave { aspect-ratio: 16 / 9; }
.wave { display: flex; align-items: center; gap: 3px; background: var(--vp-bg); padding: 18px; }
.wave i { flex: 1; height: var(--h); background: var(--accent); border-radius: 2px; opacity: 0.9; }
.wave i:nth-child(3n) { opacity: 0.55; }

/* ---------- free band ---------- */
.free-band {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 3vw, 40px); align-items: center;
}
.free-band > * { min-width: 0; }
.free-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.free-copy > p:not(.eyebrow) { color: var(--ink-2); }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; }
.why-grid > div { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.why-grid h3 { font-size: 17px; }
.why-grid p { color: var(--ink-2); font-size: 15px; }
.why-grid a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font: 500 20px/1 var(--font-mono); color: var(--ink-3); flex: none; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details > p { color: var(--ink-2); padding-bottom: 14px; max-width: 68ch; }
.faq-list details > p:last-child { padding-bottom: 20px; }
.faq-list a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- breadcrumbs / page heads ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--ink-3); padding-block: 20px 12px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.catalog-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 28px; }
.catalog-head .crumbs { padding-bottom: 4px; }
.guide { margin-top: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 10px; max-width: 860px; }
.guide > p { color: var(--ink-2); }
.guide ol { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 8px; }
.guide li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 8px; font-size: 15px; }
.guide li::before { content: counter(step); font: 500 12px/22px var(--font-mono); width: 22px; height: 22px; text-align: center; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); }

/* ---------- catalog ---------- */
.catalog { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + var(--safe-top) + 20px); display: flex; flex-direction: column; gap: 22px; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding-bottom: 12px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-close { display: none; }
.filter-group { border: 0; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-group legend { margin-bottom: 8px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.check .count { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.check.is-empty { color: var(--ink-3); }
.filters-reset { align-self: flex-start; }
.results { min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.search-inline { position: relative; flex: 1 1 240px; display: block; }
.search-inline svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); width: 18px; height: 18px; }
.search-inline input, .sort select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px 11px 40px;
}
.search-inline input:focus, .sort select:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.sort { display: flex; align-items: center; gap: 8px; color: var(--ink-3); }
.sort select { padding: 10px 34px 10px 12px; width: auto; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: right 15px center, right 10px center; background-size: 5px 5px; background-repeat: no-repeat; }
.filters-open { display: none; }
.result-count { font-size: 12px; color: var(--ink-3); margin-bottom: 16px; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; display: grid; gap: 10px; justify-items: start; }
.empty p { color: var(--ink-2); }
.filters-scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 59; }

.soon-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.soon-panel > div { display: grid; gap: 14px; justify-items: start; }
.soon-panel p { color: var(--ink-2); }
.wave-lg { height: 220px; border-radius: 16px; padding: 28px; }

/* ---------- product page ---------- */
.pp-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(24px, 3.5vw, 44px); align-items: start; padding-bottom: 40px; }
.gallery { min-width: 0; }
.stage { position: relative; aspect-ratio: 16 / 9; background: var(--vp-bg); border-radius: 16px; overflow: hidden; }
.stage-item { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.stage-item.is-on { display: block; }
.stage video.stage-item, .stage-zoom img { width: 100%; height: 100%; object-fit: contain; }
.stage-zoom { border: 0; padding: 0; background: none; cursor: zoom-in; }
.stage-3d { background: radial-gradient(120% 90% at 50% 20%, #24304f 0%, var(--vp-bg) 70%); }
.stage-3d model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.stage-3d-hint { position: absolute; inset: auto 0 14px; text-align: center; font-size: 12px; color: var(--vp-ink); pointer-events: none; }
.anim-picker { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 24px); }
.anim-picker button { font: 500 12px/1 var(--font-mono); background: rgb(255 255 255 / 0.1); color: #fff; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 7px; padding: 7px 9px; cursor: pointer; }
.anim-picker button[aria-pressed='true'] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.anim-picker select { font: 500 13px/1.2 var(--font-mono); background: rgb(10 13 24 / 0.72); color: #fff; border: 1px solid rgb(255 255 255 / 0.24); border-radius: 7px; padding: 7px 9px; max-width: 100%; cursor: pointer; }
.anim-picker select option { background: #141826; color: #fff; }
.stage-caption { font-size: 12px; color: var(--ink-3); padding-block: 10px; min-height: 38px; }
.thumbs { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.thumb {
  position: relative; display: block; width: 104px; aspect-ratio: 16 / 9; padding: 0; overflow: hidden;
  border: 2px solid transparent; border-radius: 9px; background: var(--surface-2); cursor: pointer; flex: none;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { border-color: var(--accent); }
.thumb:hover:not(.is-on) { border-color: var(--line); }
.thumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgb(10 13 24 / 0.25); }
.thumb-play svg { width: 18px; height: 18px; }
.thumb-3d { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--vp-bg); color: var(--vp-ink); }
.thumb-3d .mono { font-size: 11px; }

.buy {
  position: sticky; top: calc(var(--header-h) + var(--safe-top) + 16px);
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 2vw, 26px);
}
.buy h1 { font-size: clamp(26px, 2.5vw, 34px); }
.buy-short { color: var(--ink-2); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding-block: 14px; border-block: 1px solid var(--line); }
.stat-row div { display: flex; flex-direction: column-reverse; gap: 2px; min-width: 0; }
.stat-row dt { font-size: 11px; color: var(--ink-3); line-height: 1.3; }
.stat-row dd { margin: 0; font: 600 20px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.buy-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.buy-secure { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: -6px; }
.buy-alt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px;
  color: var(--ink-2); text-decoration: none; font-size: 14px;
}
.buy-alt strong { color: var(--ink); }
.buy-alt svg { width: 16px; height: 16px; }
.buy-alt:hover { border-color: var(--ink-3); }

.pp-tabs {
  position: sticky; top: calc(var(--header-h) + var(--safe-top)); z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.pp-tabs .wrap { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.pp-tabs a { flex: none; padding: 14px 0 12px; font: 500 13px/1 var(--font-mono); color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.pp-tabs a:hover { color: var(--ink); }
.pp-tabs a.is-current { color: var(--ink); border-bottom-color: var(--accent); }
.pp-body { max-width: 900px; }
.pp-section { padding-block: 40px; border-bottom: 1px solid var(--line); display: grid; gap: 18px; }
.pp-section h2 { font-size: clamp(20px, 2vw, 24px); }
.prose { display: grid; gap: 14px; max-width: 68ch; color: var(--ink-2); font-size: 16.5px; }
.prose h2 { color: var(--ink); font-size: 20px; margin-top: 18px; }
.prose .eyebrow { font-size: 12px; margin-top: 0; color: var(--ink-2); }
.prose .eyebrow.ok { color: var(--ok); }
.prose .eyebrow.no { color: var(--no); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contents-group { display: grid; gap: 10px; }
.contents-group .count { color: var(--ink-3); margin-left: 6px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.chips li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 14px; }
.anim-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.anim-list li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.anim-name { font-weight: 600; }
.anim-note { color: var(--ink-2); }
.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 34%; font-weight: 500; color: var(--ink-2); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }
.files-h { margin-top: 10px; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.file-list li { position: relative; padding-left: 18px; }
.file-list li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; background: var(--accent); border-radius: 1px; }
.engine-table { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.engine-table li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.engine-table .engine-name { text-decoration: none; }
.engine-table .engine-name:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.engine-how { color: var(--ink-2); }
.formats-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.formats-line .muted { margin-right: 6px; }
.format { font: 500 13px/1 var(--font-mono); padding: 5px 8px; background: var(--surface-2); border-radius: 6px; }
.license-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.license-mini > div, .license-cols > section { display: grid; gap: 12px; align-content: start; }
.license-mini .crosses { font-size: 14px; gap: 7px; }
.license-mini .crosses li::before { font-size: 17px; }
.eyebrow.ok { color: var(--ok); }
.eyebrow.no { color: var(--no); }
.ai-note { max-width: 68ch; }
.bundle-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.bundle-part { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: var(--surface); }
.bundle-part:hover { border-color: var(--ink-3); }
.bundle-part img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.bundle-part > span { display: grid; gap: 2px; min-width: 0; }
.bundle-part .mono { font-size: 12px; color: var(--ink-3); }
.related { padding-top: 56px; }

.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgb(0 0 0 / 0.5);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.buy-bar-row { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.buy-bar-title { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(6 8 16 / 0.88); }
.lightbox img { max-width: 96vw; max-height: 90vh; width: auto; height: auto; border-radius: 10px; }
.lightbox-close { position: absolute; top: -48px; right: 0; color: #fff; }
.lightbox-close:hover { background: rgb(255 255 255 / 0.12); color: #fff; }

/* ---------- simple pages ---------- */
.page-simple main > .wrap { padding-bottom: 24px; display: grid; gap: 18px; }
.page-simple .prose { margin-top: 8px; }
.license-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-block: 12px; color: var(--ink); }
.faq-full { margin-top: 8px; }
.notfound { padding-block: 48px 24px; }

/* ---------- search ---------- */
.search-layer {
  position: fixed; inset: 0; z-index: 100; background: var(--scrim);
  display: flex; justify-content: center; align-items: flex-start;
  padding: calc(10vh + var(--safe-top)) var(--gutter) 24px;
}
.search-panel { width: min(640px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 18px/1.4 var(--font-body); color: var(--ink); padding: 8px 0; }
.search-field input:focus { outline: none; }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: 58vh; overflow: auto; }
.search-results a { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; }
.search-results a:hover, .search-results a.is-active { background: var(--surface-2); }
.search-results img { width: 80px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.search-results .r-title { font-weight: 600; display: block; }
.search-results .r-kind { font: 400 12px/1.4 var(--font-mono); color: var(--ink-3); }
.search-results .r-price { font: 600 14px/1 var(--font-display); }
.search-results .r-empty { padding: 16px 10px; color: var(--ink-2); }
.search-hint { font-size: 12px; color: var(--ink-3); padding: 10px 16px; border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer {
  margin-top: clamp(64px, 8vw, 112px); background: var(--foot-bg); color: var(--foot-ink);
  --logo-left: #e9edf7; --logo-side: #8e9abc; --logo-eye: #141a2e;
}
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); gap: 28px; padding-block: 56px 36px; }
.foot-brand { display: grid; gap: 14px; align-content: start; max-width: 32ch; }
.foot-brand .logo { color: #fff; }
.foot-brand p { color: var(--foot-dim); font-size: 15px; }
.foot-brand a:not(.logo) { color: var(--foot-ink); }
.foot-col h2 { color: var(--foot-dim); margin-bottom: 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--foot-ink); text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 22px; border-top: 1px solid var(--foot-line); font-size: 13px; color: var(--foot-dim); }

/* ---------- custom orders ---------- */
.hero-custom {
  display: flex; align-items: center; gap: 12px; max-width: 36em;
  padding: 12px 14px; border: 1px dashed var(--ink-3); border-radius: 12px;
  color: var(--ink-2); text-decoration: none; font-size: 15px; line-height: 1.4;
  transition: border-color 0.15s, background-color 0.15s;
}
.hero-custom:hover { border-color: var(--ink); background: var(--surface); }
.hero-custom strong { color: var(--ink); }
.hero-custom > svg { width: 18px; height: 18px; margin-left: auto; color: var(--ink); transition: transform 0.15s; }
.hero-custom:hover > svg { transform: translateX(3px); }
.hero-custom-tag {
  flex: none; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 8px; border-radius: 6px; background: var(--accent); color: var(--accent-ink);
}

.custom-band {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center;
  padding: clamp(22px, 3.4vw, 44px); border-radius: 20px; background: var(--vp-bg); color: var(--vp-ink);
}
.custom-band-copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.custom-band h2 { color: #fff; }
.custom-band .eyebrow { color: var(--accent); }
.custom-band p { color: var(--vp-ink); max-width: 40em; }
.custom-band-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.custom-band-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 15px; }
.custom-band-list strong { color: #fff; }
.custom-band-list svg { color: var(--accent); stroke-width: 2.4; margin-top: 2px; }
.custom-band-compact { grid-template-columns: minmax(0, 1fr); }
.btn-on-dark { color: #fff; border-color: rgb(255 255 255 / 0.28); }
.btn-on-dark:hover { border-color: #fff; }

.badge-first { background: var(--ink); color: var(--bg); }
.badge-first::before { content: '★ '; color: var(--accent); }
.first-note { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); }
.first-note .badge-first { justify-self: start; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 7px; border-radius: 6px; }
.buy-custom { border-style: solid; }

.custom-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  padding-block: clamp(8px, 2vw, 24px) 8px;
}
.custom-hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.custom-hero-copy h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; }
.custom-hero-media { margin: 0; display: grid; gap: 10px; min-width: 0; }
.custom-hero-media img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); background: var(--surface-2); }
.custom-hero-media figcaption { color: var(--ink-3); }

.kind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.kind-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.kind-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--surface-2); }
.kind-card > div { display: grid; gap: 6px; padding: 14px 16px 18px; }
.kind-card h3 { font-size: 17px; }
.kind-card p { color: var(--ink-2); font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 8px; align-content: start; }
.step-n { font-size: 13px; color: var(--accent); font-weight: 500; }
.steps h3 { font-size: 17px; }
.steps p { color: var(--ink-2); font-size: 15px; }

.order {
  margin-top: clamp(48px, 6vw, 88px); scroll-margin-top: calc(var(--header-h) + 16px);
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start;
}
.order-side { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); min-width: 0; }
.order-side > p:not(.eyebrow) { color: var(--ink-2); }
.order-side .eyebrow { margin-top: 6px; }
.order-side a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.order-form {
  display: grid; gap: 16px; min-width: 0;
  padding: clamp(18px, 2.6vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fld { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fld > span, .fld > legend { font-weight: 600; font-size: 14px; color: var(--ink); padding: 0; }
.fld .muted { font-weight: 400; }
.req { color: var(--accent); }
.order-form .field {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; min-width: 0;
}
.order-form select.field {
  appearance: none; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: right 17px center, right 12px center; background-size: 5px 5px; background-repeat: no-repeat;
}
.order-form textarea.field { resize: vertical; min-height: 140px; line-height: 1.5; }
.order-form .field:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 32%, transparent); }
.order-form .field::placeholder { color: var(--ink-3); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.check { position: relative; display: inline-flex; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); background: var(--bg); transition: border-color 0.12s, background-color 0.12s; }
.check:hover span { border-color: var(--ink-3); }
.check input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { text-align: center; margin-top: -4px; }
.form-status { padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.form-status.is-ok { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); }
.form-status.is-error { background: color-mix(in srgb, var(--no) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--no) 40%, transparent); }
.form-status a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.order-form button:disabled { opacity: 0.7; cursor: default; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .search-trigger { min-width: 0; }
  .search-label, .search-trigger kbd { display: none; }
  .main-nav { gap: 16px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1200px) {
  .catalog .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 58px; }
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .free-band { grid-template-columns: minmax(0, 1fr); }
  .pp-top { grid-template-columns: minmax(0, 1fr); }
  .buy { position: static; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters {
    position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); max-height: none;
    background: var(--bg); padding: calc(18px + var(--safe-top)) 20px 24px; transform: translateX(-102%);
    transition: transform 0.25s ease; border-right: 1px solid var(--line);
  }
  .filters.is-open { transform: none; }
  .filters-close, .filters-open { display: inline-flex; }
  .soon-panel { grid-template-columns: minmax(0, 1fr); }
  .wave-lg { height: 160px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-3, .catalog .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .lede { font-size: 17px; }
  .hero-facts { gap: 8px 22px; }
  .hero-facts dd { font-size: 20px; }
  .vp-bar { padding-left: 6px; }
  .vp-title { display: none; }
  .vp-modes { width: 100%; justify-content: space-between; }
  .vp-modes button { flex: 1; }
  .anim-list li, .engine-table li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .license-mini, .license-cols { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-lg { font-size: 30px; }
  .stat-row dd { font-size: 18px; }
  .toolbar .sort span { display: none; }
  .search-trigger { padding: 0 8px; }
}

@media (max-width: 900px) {
  .custom-band, .custom-hero, .order { grid-template-columns: minmax(0, 1fr); }
  .order-side { position: static; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .hero-custom { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .card:hover, .feature-media:hover img { transform: none; }
}
