/* ============================================================
   FastConvert — landing site
   "Neon Spectrum" design system
   Made by Jeet · free for everyone, forever, no limits
   ============================================================ */

@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('assets/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #060509;
  --bg-2: #0a0910;
  --ink: #f5f6fb;
  --muted: #a2a7ba;
  --dim: #6b7185;
  --faint: #3a3f52;

  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(14, 13, 22, 0.62);

  /* spectrum */
  --magenta: #ff2e97;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --lime: #a3e635;
  --spectrum: linear-gradient(100deg, #ff2e97 0%, #7c5cff 38%, #22d3ee 74%, #a3e635 100%);
  --spectrum-soft: linear-gradient(100deg, rgba(255, 46, 151, 0.9), rgba(124, 92, 255, 0.9), rgba(34, 211, 238, 0.9));

  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-spring: cubic-bezier(0.32, 0.72, 0, 1);

  --shell: min(1180px, calc(100% - 44px));
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --radius: var(--radius-lg);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 20px;
  --text-xl: 28px;
  --text-2xl: clamp(2.1rem, 4.4vw, 3.4rem);
  --text-display: clamp(3rem, 8vw, 6.2rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: #2a2f3d transparent;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', 'Segoe UI Variable Text', system-ui, sans-serif;
  font-feature-settings: 'ss01', 'cv01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}

::selection { background: rgba(124, 92, 255, 0.4); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.mono { font-family: 'Geist Mono', 'Cascadia Mono', Consolas, monospace; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb {
  background: #23283400; border-radius: 8px;
  border: 3px solid transparent; background-clip: content-box;
}
*:hover::-webkit-scrollbar-thumb { background: #2a3040; background-clip: content-box; }

/* ---------- ambient background (fixed, no scroll repaint) ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  will-change: transform;
}
.orb-1 {
  width: 720px; height: 720px;
  top: -260px; left: -180px;
  background: radial-gradient(closest-side, rgba(255, 46, 151, 0.28), transparent 72%);
  animation: drift1 26s var(--e-out) infinite alternate;
}
.orb-2 {
  width: 780px; height: 780px;
  top: -340px; right: -240px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.22), transparent 72%);
  animation: drift2 30s var(--e-out) infinite alternate;
}
.orb-3 {
  width: 640px; height: 640px;
  top: 44%; left: 30%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.22), transparent 72%);
  animation: drift3 34s var(--e-out) infinite alternate;
}
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-100px, 120px) scale(1.08); } }
@keyframes drift3 { to { transform: translate(80px, -90px) scale(1.12); } }

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

.grid-lines {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
}

/* ---------- reveal choreography ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out), filter 0.9s var(--e-out);
  transition-delay: var(--d, 0ms);
}

/* ---------- shell ---------- */
.shell { width: var(--shell); margin: 0 auto; }
section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .spark {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--spectrum);
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.9);
}

.grad-text {
  background: var(--spectrum);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hue 12s linear infinite;
}
@keyframes hue { to { background-position: 220% 0; } }

/* ---------- nav (fluid island) ---------- */
.nav {
  position: sticky;
  min-height: 74px;
  top: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  padding: 20px 22px 8px;
}
.nav-pill {
  display: flex;
  align-items: center;
  align-items: center;
  gap: 26px;
  padding: 9px 9px 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.6s var(--e-spring), box-shadow 0.6s var(--e-out);
}
.nav.shrunk .nav-pill { box-shadow: 0 14px 44px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.brand { display: flex; align-items: center; gap: 11px; cursor: pointer; user-select: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--spectrum);
  background-size: 180% 180%;
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.5s var(--e-spring);
  animation: hue 10s linear infinite;
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-mark svg { width: 18px; height: 18px; }
.brand-name { font-weight: 650; letter-spacing: -0.02em; font-size: var(--text-md); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s ease, background 0.3s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.6px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.5s var(--e-spring), opacity 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-1px) rotate(-45deg); }

/* mobile menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 32px;
  background: rgba(6, 5, 9, 0.86);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--e-out);
}
body.menu-open .menu-overlay { opacity: 1; pointer-events: auto; }
.menu-overlay a {
  font-size: clamp(2rem, 8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 10px 0;
  color: var(--ink);
  opacity: 0;
  transform: translateY(28px);
}
body.menu-open .menu-overlay a {
  opacity: 1; transform: none;
  transition: opacity 0.6s var(--e-out), transform 0.6s var(--e-out);
}
body.menu-open .menu-overlay a:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .menu-overlay a:nth-child(2) { transition-delay: 0.14s; }
body.menu-open .menu-overlay a:nth-child(3) { transition-delay: 0.2s; }
body.menu-open .menu-overlay a:nth-child(4) { transition-delay: 0.26s; }
body.menu-open .menu-overlay a:nth-child(5) { transition-delay: 0.32s; }

/* ---------- buttons ---------- */
.btn {
  --pad-x: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px var(--pad-x);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.5s var(--e-spring), box-shadow 0.5s var(--e-out),
    background 0.3s ease, border-color 0.3s ease, filter 0.3s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  padding-right: 8px;
  background: #fff;
  color: #08070c;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(124, 92, 255, 0.3); }
.btn-primary .cap {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: var(--radius-pill);
  background: #08070c;
  color: #fff;
  transition: transform 0.5s var(--e-spring);
}
.btn-primary:hover .cap { transform: translate(3px, -3px) scale(1.06); }
.btn-primary .cap svg { width: 15px; height: 15px; }

.btn-ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); border-color: var(--line-2); }

.btn-spectrum {
  padding-right: 8px;
  position: relative;
  background: var(--bg);
  color: #fff;
  border: 0;
  isolation: isolate;
}
.btn-spectrum::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-pill);
  padding: 1.5px;
  background: var(--spectrum);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.btn-spectrum::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-pill);
  background: var(--spectrum);
  opacity: 0;
  z-index: -2;
  filter: blur(16px);
  transition: opacity 0.4s ease;
}
.btn-spectrum:hover { transform: translateY(-2px); }
.btn-spectrum:hover::after { opacity: 0.55; }
.btn-spectrum .cap {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: var(--radius-pill);
  background: var(--spectrum);
  color: #08070c;
  transition: transform 0.5s var(--e-spring);
}
.btn-spectrum:hover .cap { transform: translate(3px, -3px) scale(1.06); }
.btn-spectrum .cap svg { width: 15px; height: 15px; }
.btn-lg { padding-top: 16px; padding-bottom: 16px; font-size: var(--text-md); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vh, 96px) 24px 40px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 5, 9, 0.12) 0%, rgba(6, 5, 9, 0.42) 52%, var(--bg) 100%),
    url("assets/hero-background.png") center top / cover no-repeat;
  opacity: 0.92;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-wave {
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 108%);
  height: 340px;
  z-index: -1;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 40%, #000 30%, transparent 80%);
}
.display {
  margin: 22px auto 0;
  max-width: 15ch;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 620;
}
.display .row { display: block; }
.hero-sub {
  max-width: 600px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: var(--text-md);
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--dim);
  font-size: var(--text-sm);
}
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 15px; height: 15px; color: var(--lime); }

/* ---------- inline equalizer glyph ---------- */
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 0.66em;
  padding: 0.08em 0.16em;
  vertical-align: baseline;
  transform: translateY(0.04em);
  border-radius: 0.28em;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #16141f, #0a0910);
  cursor: pointer;
}
.eq i {
  width: 0.1em; min-width: 5px; height: 100%;
  border-radius: var(--radius-pill);
  background: var(--spectrum);
  transform-origin: bottom;
  transform: scaleY(0.3);
  animation: eqb 1.1s var(--e-out) infinite alternate;
}
.eq i:nth-child(2) { animation-delay: 0.16s; }
.eq i:nth-child(3) { animation-delay: 0.32s; }
.eq i:nth-child(4) { animation-delay: 0.48s; }
.eq i:nth-child(5) { animation-delay: 0.64s; }
@keyframes eqb { from { transform: scaleY(0.24); } to { transform: scaleY(1); } }

/* ---------- marquee ---------- */
.marquee {
  margin-top: 66px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
.marquee-group span {
  margin: 0 26px;
  font-family: 'Geist Mono', monospace;
  font-size: var(--text-sm);
  letter-spacing: 0.16em;
  color: #565d70;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.marquee-group span:hover { color: var(--ink); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- section heading ---------- */
.sec { padding: clamp(70px, 12vh, 130px) 0; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-title {
  margin: 16px 0 0;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.sec-desc { margin: 18px 0 0; color: var(--muted); font-size: var(--text-md); line-height: 1.6; }

/* ---------- double-bezel card ---------- */
.shell-card {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px;
  transition: transform 0.6s var(--e-spring), border-color 0.4s ease;
}
.shell-card .core {
  position: relative;
  height: 100%;
  border-radius: calc(var(--radius) - 7px);
  background: linear-gradient(180deg, rgba(20, 19, 30, 0.9), rgba(10, 9, 16, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 26px;
  overflow: hidden;
}
.shell-card::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--spectrum);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--e-out);
  pointer-events: none;
}
.shell-card { position: relative; }
.shell-card:hover { transform: translateY(-4px); }
.shell-card:hover::after { opacity: 0.8; }
.shell-card .glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  background: var(--spectrum);
  transition: opacity 0.5s var(--e-out);
  pointer-events: none;
  z-index: 0;
}
.shell-card:hover .glow { opacity: 0.18; }
.shell-card .core > * { position: relative; z-index: 1; }

/* ---------- bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.b-6 { grid-column: span 6; }
.b-4 { grid-column: span 4; }
.b-8 { grid-column: span 8; }
.b-5 { grid-column: span 5; }
.b-7 { grid-column: span 7; }
.b-tall .core { min-height: 340px; display: flex; flex-direction: column; }

.feat-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  margin-bottom: 20px;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-title { margin: 0; font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.02em; }
.feat-desc { margin: 10px 0 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }
.feat-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Geist Mono', monospace;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
}
.spacer { flex: 1; }

/* mini visualizer inside a card */
.mini-eq { display: flex; align-items: flex-end; gap: 5px; height: 90px; margin-top: auto; }
.mini-eq i {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: var(--spectrum);
  opacity: 0.85;
  transform-origin: bottom;
  animation: mbar 1.4s var(--e-out) infinite alternate;
}
.mini-eq i:nth-child(2n) { animation-delay: 0.2s; }
.mini-eq i:nth-child(3n) { animation-delay: 0.4s; }
.mini-eq i:nth-child(4n) { animation-delay: 0.6s; }
.mini-eq i:nth-child(5n) { animation-delay: 0.1s; }
@keyframes mbar { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }

.gpu-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.gpu-badge {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--text-xs);
  font-weight: 550;
  color: var(--muted);
}

.stat-num {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-label { margin-top: 10px; color: var(--muted); font-size: var(--text-sm); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step .core { display: flex; flex-direction: column; gap: 14px; }
.step-n {
  font-family: 'Geist Mono', monospace;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: transparent;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 700;
}
.step-title { margin: 0; font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.02em; }
.step-desc { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }
.step-glyph { width: 40px; height: 40px; color: var(--ink); opacity: 0.9; }
.step-glyph svg { width: 100%; height: 100%; }

/* ---------- comparison ---------- */
.compare .core { padding: 8px; }
.ctable { width: 100%; border-collapse: collapse; overflow: hidden; }
.ctable th, .ctable td { padding: 18px 22px; text-align: left; font-size: var(--text-sm); }
.ctable thead th { color: var(--dim); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.ctable thead th.us { color: var(--ink); }
.ctable thead th.us .chip-us {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--spectrum); color: #08070c; font-weight: 700; letter-spacing: -0.01em;
  text-transform: none; font-size: var(--text-sm);
}
.ctable tbody tr { border-top: 1px solid var(--line); }
.ctable td.metric { color: var(--muted); }
.ctable td.us { color: var(--ink); font-weight: 600; }
.ctable td.them { color: var(--dim); }
.ctable .yes { color: var(--lime); }
.ctable .no { color: #fb7185; }
.ctable td svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 7px; }
.ctable tbody tr td.us { background: linear-gradient(90deg, rgba(124, 92, 255, 0.08), rgba(34, 211, 238, 0.04)); }

/* ---------- format grid ---------- */
.fmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fmt-cat .card-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 16px;
}
.fmt-cat .card-label .n { color: var(--cyan); font-family: 'Geist Mono', monospace; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  cursor: default;
}
.pill:hover { color: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }

/* ---------- download CTA ---------- */
.download .core {
  text-align: center;
  padding: clamp(46px, 8vw, 76px) 26px;
  min-height: unset;
}
.download-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  letter-spacing: -0.045em;
  font-weight: 620;
  margin: 18px auto 0;
  max-width: 16ch;
  line-height: 1.02;
}
.download-sub { margin: 20px auto 0; max-width: 440px; color: var(--muted); font-size: var(--text-md); }
.download-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.download-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 26px; color: var(--dim); font-size: var(--text-sm);
}
.download-meta span { display: inline-flex; align-items: center; gap: 7px; }
.download-meta svg { width: 15px; height: 15px; }

.download-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 170px));
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
}
.download-stat {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
}
.download-stat-label { display: block; color: var(--dim); font-size: var(--text-sm); }
.download-stat-value { display: block; margin-top: 4px; font-size: var(--text-lg); letter-spacing: -0.02em; }
.download-stats-note { margin: 9px auto 0; color: var(--dim); font-size: var(--text-xs); max-width: 560px; }
@media (max-width: 560px) {
  .download-stats { grid-template-columns: 1fr; max-width: 260px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.qa {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.qa:hover { border-color: var(--line-2); }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--text-md);
  font-weight: 550;
  letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa .plus {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  transition: transform 0.5s var(--e-spring);
}
.qa .plus::before, .qa .plus::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  background: var(--muted);
}
.qa .plus::before { width: 11px; height: 1.6px; }
.qa .plus::after { width: 1.6px; height: 11px; transition: transform 0.5s var(--e-spring); }
.qa[open] .plus { transform: rotate(180deg); border-color: var(--violet); }
.qa[open] .plus::after { transform: scaleY(0); }
.qa .ans { padding: 0 24px 24px; color: var(--muted); font-size: var(--text-md); line-height: 1.65; max-width: 68ch; }
.qa .ans a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 300px; }
.footer-brand .brand { cursor: default; }
.footer-brand p { margin: 16px 0 0; color: var(--dim); font-size: var(--text-sm); line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h2, .footer-col h4 {
  margin: 0 0 14px; font-size: var(--text-xs); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dim); font-weight: 600;
}
.footer-col a { display: block; padding: 5px 0; color: var(--muted); font-size: var(--text-sm); transition: color 0.25s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
  margin-top: 54px; padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--dim); font-size: var(--text-xs);
}
.made-by {
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}
.made-by:hover { color: var(--ink); }
.made-by b { font-weight: 600; }
.made-by .heart { color: var(--magenta); }

/* ---------- easter egg overlay ---------- */
.egg {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(6, 5, 9, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--e-out);
}
.egg.show { opacity: 1; pointer-events: auto; }
.egg-card {
  position: relative;
  text-align: center;
  padding: 54px 60px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(20, 19, 30, 0.96), rgba(10, 9, 16, 0.96));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  transform: scale(0.9);
  transition: transform 0.6s var(--e-spring);
}
.egg.show .egg-card { transform: scale(1); }
.egg-card::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 30px; padding: 1.5px;
  background: var(--spectrum);
  background-size: 240% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hue 6s linear infinite;
}
.egg-eq { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 70px; margin-bottom: 26px; }
.egg-eq i {
  width: 9px; border-radius: 5px 5px 0 0;
  background: var(--spectrum);
  transform-origin: bottom;
  animation: mbar 0.9s var(--e-out) infinite alternate;
}
.egg-title { margin: 0; font-size: var(--text-xl); font-weight: 650; letter-spacing: -0.03em; }
.egg-sub { margin: 12px 0 0; color: var(--muted); font-size: var(--text-md); }
.egg-hint { margin: 20px 0 0; font-family: 'Geist Mono', monospace; font-size: var(--text-xs); color: var(--dim); letter-spacing: 0.1em; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .bento { gap: 12px; }
  .b-6, .b-4, .b-8, .b-5, .b-7 { grid-column: span 12; }
  .steps { grid-template-columns: 1fr; }
  .fmt-grid { grid-template-columns: 1fr; }
  .ctable th, .ctable td { padding: 14px 14px; font-size: var(--text-sm); }
}
@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); }
  .display { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .hero-cta .btn, .download-cta .btn { width: 100%; justify-content: center; }
  .footer-cols { gap: 36px; }
  .egg-card { padding: 40px 28px; }
}

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


/* ----------- shared audit fixes ----------- */
.btn-sm { min-height: 40px; }
.nav-cta { border-color: var(--line-2); color: var(--muted); background: rgba(255,255,255,0.015); }
.nav-cta:hover { color: var(--ink); background: rgba(255,255,255,0.05); box-shadow: none; }
.hero-title-wrap { position: relative; display: grid; place-items: center; }
.hero-decoration { position: absolute; top: 50%; right: max(4vw, 12px); transform: translateY(-50%); width: min(170px, 16vw); opacity: 0.22; pointer-events: none; }
.hero-title-wrap .display { position: relative; z-index: 1; }
.hero-sub { max-width: 54ch; font-size: var(--text-md); }

/* Use a true three-column base grid so shared gutters remain on the same vertical lines. */
.bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); align-items: stretch; }
.b-8 { grid-column: span 2; }
.b-7 { grid-column: span 2; }
.b-6, .b-5, .b-4 { grid-column: span 1; }
.bento .core { padding: var(--space-7); }
.feat-title, .stat-title { font-size: var(--text-lg); }
.feat-desc, .stat-label, .step-desc { font-size: var(--text-md); }
.feat-tag { font-size: var(--text-xs); }
.stat-card { display: flex; flex-direction: column; justify-content: flex-start; gap: var(--space-3); }
.stat-title { margin: 0; font-weight: 650; letter-spacing: -0.03em; }
.stat-label { margin: 0; color: var(--muted); line-height: 1.6; }

/* Comparison header baseline and clearer competitor label. */
.ctable thead th { vertical-align: middle; }
.ctable thead th.them-head { color: var(--muted); font-size: var(--text-sm); letter-spacing: 0.02em; text-transform: none; }
.ctable .none { color: var(--ink); }

/* Format support is deliberately airy rather than a wall of tags. */
.format-link-wrap { margin: 12px 0 0; }
.inline-link { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.fmt-grid { align-items: stretch; }
.fmt-cat .card-label { font-size: var(--text-xs); margin-bottom: var(--space-5); }
.pills { gap: 10px; }
.pill { padding: 8px 14px; font-size: var(--text-xs); }
.footer-col h2 { margin: 0 0 16px; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.footer-col a { padding: 6px 0; font-size: var(--text-sm); }

@media (max-width: 940px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-8, .b-7 { grid-column: span 2; }
  .b-6, .b-5, .b-4 { grid-column: span 1; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .b-8, .b-7, .b-6, .b-5, .b-4 { grid-column: span 1; }
  .bento .core { padding: var(--space-6); }
  .hero-decoration { display: none; }
  .hero-sub { max-width: 46ch; }
}


:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.nav-toggle:focus-visible, .qa summary:focus-visible, .btn:focus-visible, .nav-links a:focus-visible, .menu-overlay a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 5, 9, 0.2) 0%, rgba(6, 5, 9, 0.58) 55%, var(--bg) 100%),
      url("assets/hero-background.png") 58% top / auto 100% no-repeat;
    opacity: 0.82;
  }
}
