/* ==========================================================================
   SoundDeck — Marketing Site Design System
   Palette mirrors the desktop app + companion deck (slate, white, cobalt).
   ========================================================================== */

:root {
  --bg-0: #05070B;
  --bg-1: #080A0F;
  --bg-2: #0D1117;
  --bg-2h: #11161E;
  --bg-3: #161B22;
  --bg-4: #21262D;
  --line-1: #1B2028;
  --line-2: #2A3039;
  --line-3: #3D444D;
  --fg-0: #FFFFFF;
  --fg-1: #E6EDF3;
  --fg-2: #9AA4B0;
  --fg-3: #6E7681;
  --blue: #1F6FEB;
  --blue-hi: #388BFD;
  --blue-text: #58A6FF;
  --blue-wash: rgba(31, 111, 235, 0.12);
  --green: #3FB950;
  --green-wash: rgba(63, 185, 80, 0.12);
  --red: #DA3633;
  --red-hi: #F85149;
  --amber: #D29922;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.2, 0, 0, 1);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -24px rgba(0, 0, 0, 0.8), 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-3: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 60px 120px -40px rgba(0, 0, 0, 0.95), 0 24px 48px -24px rgba(0, 0, 0, 0.8);

  --container: 1200px;
  --gutter: 24px;
  --nav-h: 64px;
  --radius: 14px;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-1);
  color: var(--fg-1);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, video, svg, iframe { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(56, 139, 253, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border: 3px solid var(--bg-1); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-3); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--bg-1);
  font-weight: 700; font-size: 14px; transform: translateY(-160%); transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --h: 44px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 20px;
  border-radius: 11px;
  font-size: 14px; font-weight: 700; letter-spacing: -0.005em; white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.16s var(--ease-press), box-shadow 0.25s ease;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 15px; border-radius: 13px; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn-primary {
  background: var(--fg-0); color: var(--bg-1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -10px rgba(255, 255, 255, 0.35), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.btn-primary:hover { background: #E9EEF4; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 34px -10px rgba(255, 255, 255, 0.45), 0 2px 6px rgba(0, 0, 0, 0.4); }
.btn-secondary { background: var(--bg-3); color: var(--fg-0); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
.btn-secondary:hover { background: var(--bg-4); border-color: var(--line-3); }
.btn-ghost { color: var(--fg-2); }
.btn-ghost:hover { color: var(--fg-0); background: rgba(255, 255, 255, 0.05); }
.btn .kbd-hint { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--fg-3); padding-left: 2px; }
.btn[aria-busy="true"] { pointer-events: none; color: transparent !important; }
.btn[aria-busy="true"]::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(8, 10, 15, 0.25); border-top-color: var(--bg-1); animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled, .nav.menu-open {
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--line-1);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: -0.02em; color: var(--fg-0); }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2); transition: transform 0.25s var(--ease-out); }
.brand:hover img { transform: rotate(-4deg) scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--fg-2);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--fg-0); background: rgba(255, 255, 255, 0.04); }
.nav-links a.active { color: var(--fg-0); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--fg-0);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-link {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  color: var(--fg-2); transition: color 0.15s ease, background 0.15s ease;
}
.icon-link:hover { color: var(--fg-0); background: rgba(255, 255, 255, 0.06); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; color: var(--fg-0); border: 1px solid var(--line-2); background: var(--bg-3); }
.menu-btn .bars { position: relative; width: 16px; height: 12px; }
.menu-btn .bars i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease-out), opacity 0.2s ease, top 0.3s var(--ease-out); }
.menu-btn .bars i:nth-child(1) { top: 0; }
.menu-btn .bars i:nth-child(2) { top: 5px; }
.menu-btn .bars i:nth-child(3) { top: 10px; }
.nav.menu-open .menu-btn .bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav.menu-open .menu-btn .bars i:nth-child(2) { opacity: 0; }
.nav.menu-open .menu-btn .bars i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.mobile-panel {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  padding: 12px var(--gutter) 24px;
  background: rgba(8, 10, 15, 0.97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-1);
  transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease, visibility 0s linear 0.3s;
}
.nav.menu-open + .mobile-panel { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition: transform 0.35s var(--ease-out), opacity 0.25s ease; }
.mobile-panel a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; border-bottom: 1px solid var(--line-1);
  font-size: 17px; font-weight: 600; color: var(--fg-1);
}
.mobile-panel a.m-link span { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.mobile-panel .m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mobile-panel .m-actions .btn { width: 100%; }

@media (max-width: 980px) {
  .nav-links, .nav-actions .hide-md { display: none; }
  .menu-btn { display: grid; }
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgba(22, 27, 34, 0.7); border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.eyebrow .live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.eyebrow .live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--green); opacity: 0; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
.eyebrow .sep { width: 1px; height: 12px; background: var(--line-3); }
.eyebrow .dim { color: var(--fg-2); }

.kicker { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 18px; height: 1px; background: var(--line-3); }

.h-display {
  font-size: clamp(42px, 6.4vw, 80px);
  line-height: 0.98; font-weight: 800; letter-spacing: -0.045em; color: var(--fg-0);
  text-wrap: balance;
}
.h-display .soft { color: #7D8590; }
.h-section {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; color: var(--fg-0);
  text-wrap: balance;
}
.h-section .soft { color: #7D8590; }
.lead { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.lead b { color: var(--fg-1); font-weight: 600; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section.tight { padding-top: clamp(56px, 7vw, 88px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(64px, 9vw, 120px)) 0 clamp(72px, 10vw, 128px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 15%, transparent 72%);
}
.hero-bg::after {
  content: ''; position: absolute; left: 50%; top: 38%; width: 1500px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(31, 111, 235, 0.13), transparent 72%);
}

/* Centered copy block */
.hero-center { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero-center > .eyebrow { transition: border-color 0.2s ease, background 0.2s ease; }
.hero-center > .eyebrow:hover { border-color: var(--line-3); background: rgba(33, 38, 45, 0.8); }
.hero-title { font-size: clamp(40px, 6.1vw, 84px); line-height: 1.0; font-weight: 800; letter-spacing: -0.048em; color: var(--fg-0); }
.hero-title .line { display: block; }
.hero-title .soft { color: #7D8590; }
.hero-center .lead { max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.hero-facts li { list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--fg-2); }
.hero-facts svg { color: var(--fg-0); }

/* Product stage: the live soundboard, full width */
.hero-stage { position: relative; max-width: 1120px; margin: clamp(48px, 6vw, 76px) auto 0; }
.hero-stage::before {
  content: ''; position: absolute; left: 6%; right: 6%; top: -1px; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}
.app-window {
  position: relative; border-radius: 18px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 80px 160px -60px rgba(0, 0, 0, 0.95), 0 40px 80px -40px rgba(31, 111, 235, 0.18);
}
.win-bar {
  height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: #0A0D12; border-bottom: 1px solid var(--line-1);
}
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #262B33; }
.win-title { flex: 1; text-align: center; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--fg-3); letter-spacing: 0.06em; margin-right: 47px; }
.win-body { position: relative; height: clamp(520px, 44vw, 600px); background: var(--bg-2); }
.win-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.5s ease; }
.win-body.loaded iframe { opacity: 1; }
.win-skel { position: absolute; inset: 0; padding: 14px; display: grid; grid-template-rows: 44px 64px 30px 1fr; gap: 12px; transition: opacity 0.4s ease; }
.win-body.loaded .win-skel { opacity: 0; pointer-events: none; }
.win-skel .s { border-radius: 10px; background: linear-gradient(90deg, var(--bg-3) 0%, #1A2029 50%, var(--bg-3) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease infinite; }
.win-skel .s-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); grid-auto-rows: 128px; gap: 10px; overflow: hidden; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.demo-caption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--fg-3); text-align: center; }
.demo-caption b { color: var(--fg-1); font-weight: 600; }
.demo-caption .kbd { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--fg-1); padding: 1px 7px; border-radius: 5px; border: 1px solid var(--line-3); background: var(--bg-3); box-shadow: 0 1px 0 var(--line-3); }

@media (max-width: 560px) {
  .win-body { height: 540px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-center > .eyebrow .sep, .hero-center > .eyebrow .dim { display: none; }
  .app-window { border-radius: 14px; }
}
.eyebrow { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.nav.menu-open + .mobile-panel { box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.85); }

/* ---- Works-with marquee ---------------------------------------------- */
.marquee-wrap { border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); background: var(--bg-1); padding: 22px 0; }
.marquee-label { text-align: center; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--fg-3); text-transform: uppercase; margin-bottom: 16px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex-shrink: 0; gap: 56px; padding-right: 56px; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: #5D6570; white-space: nowrap; transition: color 0.2s ease; }
.marquee-track span:hover { color: var(--fg-1); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   Trailer Player
   ========================================================================== */
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: #000; border: 1px solid var(--line-2); box-shadow: var(--shadow-3);
  isolation: isolate;
}
.player video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.player-cover {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.15), rgba(5, 7, 11, 0.6)), var(--poster) center / cover no-repeat;
  color: #fff; transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.player.started .player-cover { opacity: 0; visibility: hidden; }
.play-orb {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.95); color: var(--bg-1);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.10), 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.player-cover:hover .play-orb { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.10), 0 24px 60px rgba(0, 0, 0, 0.6); }
.play-orb svg { margin-left: 5px; }
.player-cover-meta { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }

.player-ui {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
}
.player.started:hover .player-ui, .player.started.paused .player-ui, .player.started:focus-within .player-ui { opacity: 1; transform: none; }
.player-row { display: flex; align-items: center; gap: 8px; }
.p-btn { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; transition: background 0.15s ease; }
.p-btn:hover { background: rgba(255, 255, 255, 0.14); }
.p-time { font-family: var(--mono); font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.9); font-variant-numeric: tabular-nums; margin-left: 4px; }
.p-spacer { flex: 1; }
.p-progress { --p: 0%; --b: 0%; position: relative; height: 16px; display: flex; align-items: center; cursor: pointer; }
.p-progress .rail { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); overflow: hidden; transition: height 0.15s ease; }
.p-progress:hover .rail { height: 6px; }
.p-progress .buf { position: absolute; inset: 0 auto 0 0; width: var(--b); background: rgba(255, 255, 255, 0.28); }
.p-progress .fill { position: absolute; inset: 0 auto 0 0; width: var(--p); background: #fff; }
.p-progress input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }

/* ==========================================================================
   Feature Bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), #0B0F15);
  border: 1px solid var(--line-1);
  box-shadow: var(--shadow-1);
  transition: border-color 0.25s ease, transform 0.4s var(--ease-out), box-shadow 0.3s ease;
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.05), transparent 45%);
  opacity: 0; transition: opacity 0.3s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card:hover::before { opacity: 1; }
.card.span-3 { grid-column: span 3; }
.card.span-2 { grid-column: span 2; }
.card.span-4 { grid-column: span 4; }
.card-viz { position: relative; height: 220px; border-bottom: 1px solid var(--line-1); background: var(--bg-1); overflow: hidden; display: grid; place-items: center; }
.card-viz::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 120%, transparent 40%, rgba(8, 10, 15, 0.6)); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-tag { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.card-title { font-size: 21px; font-weight: 750; letter-spacing: -0.02em; color: var(--fg-0); line-height: 1.2; }
.card-text { font-size: 15px; color: var(--fg-2); line-height: 1.6; }
.card-text b { color: var(--fg-1); font-weight: 600; }
.card-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--fg-0); }
.card-link svg { transition: transform 0.2s var(--ease-out); }
.card-link:hover svg { transform: translateX(3px); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.span-3, .card.span-2, .card.span-4 { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card-viz { height: 200px; }
}

/* ---- Viz: hotkeys ------------------------------------------------------ */
.viz-keys { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.keys-row { display: flex; gap: 10px; }
.keycap {
  min-width: 56px; height: 52px; padding: 0 14px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--fg-1);
  background: linear-gradient(180deg, #1C222B, #141920);
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 4px 0 #0A0D12, 0 6px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.12s var(--ease-press), box-shadow 0.12s var(--ease-press), background 0.2s ease, color 0.2s ease;
}
.keycap.down { transform: translateY(3px); color: var(--bg-1); background: #fff; border-color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 1px 0 #9AA4B0, 0 2px 6px rgba(0, 0, 0, 0.5); }
.keys-fired { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--fg-1); min-width: 260px; justify-content: center; }
.keys-fired .bars { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.keys-fired .bars i { width: 3px; border-radius: 1px; background: var(--fg-0); animation: eq 0.9s ease-in-out infinite; }
.keys-fired .bars i:nth-child(2) { animation-delay: -0.3s; }
.keys-fired .bars i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.keys-fired .lbl { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }

/* ---- Viz: replay -------------------------------------------------------- */
.viz-replay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 28px; gap: 14px; }
.replay-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--fg-3); }
.replay-head .rec { display: inline-flex; align-items: center; gap: 7px; color: var(--fg-1); }
.replay-head .rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.replay-canvas { width: 100%; height: 86px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-1); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5); }
.replay-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.replay-save { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 8px; background: #fff; color: var(--bg-1); font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; transition: transform 0.15s var(--ease-press); }
.replay-save.flash { transform: scale(0.94); }
.replay-saved { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--green); opacity: 0; transform: translateY(4px); transition: opacity 0.3s ease, transform 0.3s var(--ease-out); }
.replay-saved.show { opacity: 1; transform: none; }

/* ---- Viz: studio trim -------------------------------------------------- */
.viz-trim { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 26px; }
.trim-stage { position: relative; width: 100%; height: 110px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-1); overflow: hidden; }
.trim-stage canvas { position: absolute; inset: 10px 8px; width: calc(100% - 16px); height: calc(100% - 20px); }
.trim-sel { position: absolute; top: 0; bottom: 0; left: 22%; right: 24%; border-left: 2px solid #fff; border-right: 2px solid #fff; background: rgba(255, 255, 255, 0.05); animation: trim 6s var(--ease-out) infinite alternate; }
.trim-sel::before, .trim-sel::after { content: ''; position: absolute; top: 50%; width: 10px; height: 26px; margin-top: -13px; border-radius: 3px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.trim-sel::before { left: -6px; }
.trim-sel::after { right: -6px; }
.trim-dim-l, .trim-dim-r { position: absolute; top: 0; bottom: 0; background: rgba(8, 10, 15, 0.65); }
@keyframes trim { 0% { left: 8%; right: 10%; } 100% { left: 26%; right: 30%; } }
.trim-badges { position: absolute; left: 26px; right: 26px; bottom: 18px; display: flex; gap: 6px; }
.trim-badges span { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--fg-2); padding: 3px 8px; border-radius: 5px; background: var(--bg-3); border: 1px solid var(--line-2); }
.trim-badges span.on { color: var(--bg-1); background: #fff; border-color: #fff; }

/* ---- Viz: voice -------------------------------------------------------- */
.viz-voice { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 20px; width: 100%; }
.voice-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 340px; }
.voice-chips span { font-size: 12px; font-weight: 600; color: var(--fg-2); padding: 6px 10px; border-radius: 8px; background: var(--bg-3); border: 1px solid var(--line-1); transition: all 0.25s var(--ease-out); }
.voice-chips span.on { color: var(--bg-1); background: #fff; border-color: #fff; transform: translateY(-1px); }
.voice-meter { display: flex; align-items: center; gap: 3px; height: 34px; }
.voice-meter i { width: 4px; border-radius: 2px; background: var(--line-3); height: 20%; transition: height 0.12s ease, background 0.2s ease; }
.voice-meter i.hot { background: var(--fg-0); }

/* ---- Viz: phone -------------------------------------------------------- */
.viz-phone { display: flex; align-items: flex-end; justify-content: center; height: 100%; padding-top: 26px; }
.mini-phone { width: 150px; height: 250px; border-radius: 26px; padding: 7px; background: linear-gradient(145deg, #2A2F37, #0B0D11); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 30px 60px -20px rgba(0, 0, 0, 0.9); transform: translateY(40px); transition: transform 0.6s var(--ease-out); }
.card:hover .mini-phone { transform: translateY(26px); }
.mini-screen { height: 100%; border-radius: 20px; background: var(--bg-1); padding: 22px 8px 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.mini-pad { height: 48px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-2); position: relative; }
.mini-pad::before { content: ''; position: absolute; left: 6px; top: 6px; width: 22px; height: 7px; border-radius: 2px; background: var(--bg-4); }
.mini-pad::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: 7px; height: 5px; border-radius: 2px; background: var(--bg-3); }
.mini-pad.on { border-color: #fff; background: var(--bg-3); }
.mini-pad.on::before { background: #fff; }

/* ---- Viz: workshop ----------------------------------------------------- */
.viz-packs { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 0 26px; }
.pack-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-1); }
.pack-art { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; font-weight: 800; color: var(--fg-0); flex-shrink: 0; }
.pack-meta { flex: 1; min-width: 0; }
.pack-meta b { display: block; font-size: 13px; color: var(--fg-0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pack-meta span { font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); }
.pack-pill { font-family: var(--mono); font-size: 10px; font-weight: 800; padding: 5px 9px; border-radius: 6px; background: #fff; color: var(--bg-1); white-space: nowrap; }
.pack-pill.done { background: transparent; color: var(--green); border: 1px solid rgba(63, 185, 80, 0.4); }
.share-code { display: inline-flex; align-items: center; gap: 8px; align-self: center; margin-top: 4px; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--fg-2); }
.share-code b { color: var(--fg-0); letter-spacing: 0.12em; padding: 3px 8px; border-radius: 6px; border: 1px dashed var(--line-3); }

/* ---- Viz: monitor / broadcast mixer ----------------------------------- */
.viz-mix { width: 100%; padding: 0 26px; display: flex; flex-direction: column; gap: 16px; }
.mix-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) 46px; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--fg-3); text-transform: uppercase; }
.mix-row b { color: var(--fg-1); text-align: right; font-weight: 700; }
.mix-track { position: relative; height: 6px; border-radius: 6px; background: var(--bg-3); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); }
.mix-track i { position: absolute; inset: 0 auto 0 0; width: var(--v, 50%); border-radius: inherit; background: #fff; transition: width 0.9s var(--ease-out); }
.mix-track i::after { content: ''; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--bg-1), 0 2px 6px rgba(0, 0, 0, 0.6); }
.mix-row.gate .mix-track i { background: var(--blue-hi); }
.mix-row.gate .mix-track i::after { background: var(--blue-hi); }
.mix-row.gate b { color: var(--blue-text); }

@media (max-width: 1000px) { .card.wide-md { grid-column: 1 / -1; } }
@media (max-width: 640px) { .card.wide-md { grid-column: auto; } }

/* ==========================================================================
   Companion duo
   ========================================================================== */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-1); box-shadow: var(--shadow-1); transition: border-color 0.25s ease, transform 0.4s var(--ease-out), box-shadow 0.3s ease; }
.duo-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.duo-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-1); border-bottom: 1px solid var(--line-1); }
.duo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 0.8s var(--ease-out); }
.duo-card:hover .duo-shot img { transform: scale(1.03); }
.duo-shot .badge { position: absolute; left: 16px; top: 16px; }
.duo-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.duo-title { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; color: var(--fg-0); }
.duo-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 4px 0 6px; }
.duo-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--fg-2); line-height: 1.5; }
.duo-list li svg { margin-top: 3px; color: var(--fg-0); }
.duo-body .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

.badge { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 7px; background: rgba(8, 10, 15, 0.8); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ==========================================================================
   Setup steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 30px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line-1); display: flex; flex-direction: column; gap: 12px; }
.step-num { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-family: var(--mono); font-size: 14px; font-weight: 800; color: var(--bg-1); background: #fff; box-shadow: 0 6px 18px -6px rgba(255, 255, 255, 0.5); }
.step h3 { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; color: var(--fg-0); margin-top: 6px; }
.step p { font-size: 15px; color: var(--fg-2); line-height: 1.6; }
.step code { font-family: var(--mono); font-size: 12.5px; color: var(--fg-0); background: var(--bg-3); border: 1px solid var(--line-2); padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 47px; right: -17px; width: 18px; height: 1px; background: var(--line-3); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step:not(:last-child)::after { display: none; } }

/* ==========================================================================
   Comparison
   ========================================================================== */
.compare { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-1); background: var(--bg-2); box-shadow: var(--shadow-1); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line-1); vertical-align: middle; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); background: var(--bg-1); }
.compare thead th.us { color: var(--fg-0); }
.compare td:first-child { font-size: 15px; font-weight: 600; color: var(--fg-1); width: 34%; }
.compare td.us { background: rgba(255, 255, 255, 0.025); border-left: 1px solid var(--line-1); border-right: 1px solid var(--line-1); }
.compare th.us { border-left: 1px solid var(--line-1); border-right: 1px solid var(--line-1); background: #0F141B; }
.c-yes { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--fg-0); }
.c-yes svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #fff; color: var(--bg-1); }
.c-no { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--fg-3); }
.c-no svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; border: 1px solid var(--line-3); color: var(--fg-3); }
.compare-note { margin-top: 16px; font-size: 13px; color: var(--fg-3); text-align: center; }
@media (max-width: 720px) {
  .compare th, .compare td { padding: 14px 14px; }
  .compare td:first-child { width: auto; font-size: 14px; }
  .c-yes, .c-no { font-size: 13px; align-items: flex-start; }
  .compare thead th { font-size: 10px; }
}

/* ==========================================================================
   Specs
   ========================================================================== */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec-card { border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line-1); overflow: hidden; }
.spec-card.rec { border-color: var(--line-2); background: linear-gradient(180deg, #10151C, var(--bg-2)); }
.spec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line-1); }
.spec-head h3 { font-size: 17px; font-weight: 750; letter-spacing: -0.015em; color: var(--fg-0); }
.spec-head .badge { background: var(--bg-3); }
.spec-list { padding: 8px 24px 16px; }
.spec-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line-1); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); padding-top: 2px; }
.spec-row dd { font-size: 14.5px; color: var(--fg-1); line-height: 1.5; }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr; } .spec-row { grid-template-columns: 100px 1fr; } }

/* ==========================================================================
   VIP recruitment
   ========================================================================== */
.vip { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(160deg, #0F141C 0%, #0A0D12 60%); box-shadow: var(--shadow-2); isolation: isolate; }
.vip::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 0% 0%, #000 10%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000 10%, transparent 60%); }
.vip-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4.5vw, 56px); align-items: center; }
.vip-copy { display: flex; flex-direction: column; gap: 20px; }
.perks { list-style: none; display: grid; gap: 12px; margin-top: 4px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perk-ico { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--fg-0); }
.perks b { display: block; font-size: 15px; color: var(--fg-0); font-weight: 650; }
.perks span { font-size: 14px; color: var(--fg-2); }

.form-card { position: relative; border-radius: 20px; padding: 28px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-3); }
.form-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--fg-0); }
.form-card .sub { font-size: 14px; color: var(--fg-2); margin-top: 4px; }
.vip-form { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.f-label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; display: block; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles label {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 12px;
  border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line-2); cursor: pointer;
  font-size: 13px; font-weight: 650; color: var(--fg-2);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s var(--ease-press);
}
.roles label:hover { color: var(--fg-0); border-color: var(--line-3); }
.roles label:active { transform: scale(0.97); }
.roles label svg { color: var(--fg-3); transition: color 0.15s ease; }
.roles input:checked + label { color: var(--bg-1); background: #fff; border-color: #fff; }
.roles input:checked + label svg { color: var(--bg-1); }
.roles input:focus-visible + label { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--fg-3); pointer-events: none; }
.input {
  width: 100%; height: 50px; padding: 0 16px 0 42px; border-radius: 12px;
  background: var(--bg-1); border: 1px solid var(--line-2); color: var(--fg-0); font-size: 15px;
  outline: none; transition: border-color 0.15s ease, box-shadow 0.2s ease;
}
.input::placeholder { color: var(--fg-3); }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-wash); }
.input[aria-invalid="true"] { border-color: var(--red-hi); box-shadow: 0 0 0 4px rgba(248, 81, 73, 0.12); }
.form-msg { min-height: 0; font-size: 13px; font-weight: 600; color: var(--red-hi); }
.form-msg:empty { display: none; }
.vip-form .btn { width: 100%; }
.consent { font-size: 12.5px; color: var(--fg-3); line-height: 1.55; }
.consent a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--fg-0); }
.or { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--fg-3); letter-spacing: 0.1em; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line-1); }
.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 20px 4px 4px; }
.success-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--green); background: var(--green-wash); border: 1px solid rgba(63, 185, 80, 0.4); animation: popIn 0.5s var(--ease-out) both; }
@keyframes popIn { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.form-success h3 { margin-top: 4px; }
.form-success p { font-size: 14.5px; color: var(--fg-2); max-width: 340px; }
.form-success .btn { margin-top: 8px; }
@media (max-width: 960px) { .vip-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .roles { grid-template-columns: 1fr; } .roles label { flex-direction: row; justify-content: center; } }

/* ---- Reviews ----------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.review { padding: 26px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line-1); display: flex; flex-direction: column; gap: 18px; }
.review blockquote { font-size: 15.5px; line-height: 1.6; color: var(--fg-1); flex: 1; }
.review blockquote::before { content: '“'; display: block; font-size: 44px; line-height: 0.6; color: var(--line-3); font-weight: 800; margin-bottom: 10px; }
.review-who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-1); }
.avatar { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line-2); font-family: var(--mono); font-weight: 800; font-size: 13px; color: var(--fg-0); flex-shrink: 0; }
.review-who b { display: block; font-size: 14px; color: var(--fg-0); }
.review-who span { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 32px); display: flex; flex-direction: column; gap: 18px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-1); }
.faq { border-bottom: 1px solid var(--line-1); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; color: var(--fg-1);
  transition: color 0.15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--fg-0); }
.faq .chev { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--fg-2); transition: transform 0.3s var(--ease-out), background 0.2s ease, color 0.2s ease; }
.faq[open] .chev { transform: rotate(45deg); background: #fff; color: var(--bg-1); border-color: #fff; }
.faq-a { overflow: hidden; }
.faq-a > div { padding: 0 2px 24px; font-size: 15.5px; line-height: 1.7; color: var(--fg-2); max-width: 680px; }
.faq-a b { color: var(--fg-1); font-weight: 600; }
.faq-a code { font-family: var(--mono); font-size: 13px; color: var(--fg-0); background: var(--bg-3); border: 1px solid var(--line-2); padding: 1px 6px; border-radius: 5px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-aside { position: static; } }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final { position: relative; text-align: center; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; isolation: isolate; }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(31, 111, 235, 0.10), transparent 70%); }
.final::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 50% 60% at 50% 70%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 70%, #000 10%, transparent 70%); }
.final .h-display { max-width: 900px; margin: 0 auto; }
.final .lead { max-width: 560px; margin: 22px auto 0; }
.final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--line-1); background: var(--bg-0); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: var(--fg-3); max-width: 300px; line-height: 1.6; }
.footer h4 { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a, .footer ul button { font-size: 14px; color: var(--fg-3); text-align: left; transition: color 0.15s ease; }
.footer ul a:hover, .footer ul button:hover { color: var(--fg-0); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--fg-3); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Toast
   ========================================================================== */
.site-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 150;
  display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  padding: 12px 16px; border-radius: 12px;
  background: rgba(22, 27, 34, 0.96); border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
  font-size: 14px; font-weight: 600; color: var(--fg-0);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}
.site-toast.show { transform: translate(-50%, 0); opacity: 1; }
.site-toast svg { color: var(--green); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
