:root {
  --bg: #0b0d0f;
  --bg-raised: #121517;
  --surface: #181d20;
  --surface-soft: #101416;
  --border: #242a2e;
  --border-control: #2b3236;
  --text: #e7ecea;
  --text-soft: #a6b0b2;
  --muted: #69757a;
  --mint: #63e0bd;
  --mint-bright: #7de8cb;
  --mint-deep: #2ea184;
  --mint-ink: #0b201a;
  --warning: #e0a163;
  --page: min(1180px, calc(100vw - 48px));
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-ui: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", monospace;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--mint-deep) var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
  border-radius: 3px;
}

::selection { color: var(--mint-ink); background: var(--mint); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--mint-ink);
  background: var(--mint);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.scroll-signal {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 2px;
  background: rgba(99, 224, 189, 0.08);
}

.scroll-signal span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(99, 224, 189, 0.65);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--page);
  margin-inline: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand-mark { width: 28px; height: 28px; overflow: visible; }
.brand-mark circle:first-child {
  fill: none;
  stroke: var(--mint);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 72 28;
  transform-origin: 20px 20px;
  transform: rotate(-55deg);
}
.brand-dot { fill: var(--mint); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a, .header-source {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease;
}
.site-nav a:hover, .header-source:hover { color: var(--text); }
.header-source { justify-self: end; display: inline-flex; align-items: center; gap: 7px; }
.header-source svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.hero {
  position: relative;
  min-height: max(760px, 100svh);
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 28px 60px;
  padding: calc(var(--header-height) + 68px) max(24px, calc((100vw - 1180px) / 2)) 30px;
  background:
    linear-gradient(90deg, rgba(11, 13, 15, 0.98) 0%, rgba(11, 13, 15, 0.82) 48%, rgba(11, 13, 15, 0.18) 100%),
    radial-gradient(circle at 82% 42%, rgba(99, 224, 189, 0.12), transparent 29%),
    #0b0d0f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, #000 52%, #000);
}

.hero-ambient {
  position: absolute;
  z-index: -1;
  width: 780px;
  height: 780px;
  right: -110px;
  top: 40px;
  border: 1px solid rgba(99, 224, 189, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(99, 224, 189, 0.025),
    0 0 0 170px rgba(99, 224, 189, 0.015);
}

.hero-word {
  position: absolute;
  z-index: -1;
  right: -0.035em;
  bottom: -0.19em;
  color: rgba(231, 236, 234, 0.023);
  font-size: clamp(150px, 24vw, 420px);
  line-height: 0.78;
  font-weight: 800;
  letter-spacing: -0.09em;
  white-space: nowrap;
  user-select: none;
}

.hero-copy { position: relative; z-index: 2; max-width: 670px; }

.eyebrow, .section-kicker {
  margin: 0 0 22px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 9px; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(99, 224, 189, 0.1), 0 0 18px rgba(99, 224, 189, 0.7);
  animation: live-pulse 2.2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.75); }
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(54px, 6.7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.067em;
  font-weight: 760;
}

.hero h1 em { color: var(--mint); font-style: normal; font-weight: 580; }

.hero-lede {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.52;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  font-weight: 720;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--mint-ink); background: var(--mint); box-shadow: 0 12px 35px rgba(99, 224, 189, 0.13); }
.button-primary:hover { background: var(--mint-bright); }
.button-secondary { color: var(--text); background: rgba(18, 21, 23, 0.7); border-color: var(--border-control); }
.button-secondary:hover { background: var(--surface); border-color: #455056; }

.hero-proof { margin: 18px 0 0; color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.035em; }

.hero-product {
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: center;
  width: min(100%, 455px);
  margin: 0;
  padding: 46px 26px 0;
  background: linear-gradient(180deg, rgba(23, 30, 33, 0) 0%, rgba(23, 30, 33, 0.42) 100%);
  border-inline: 1px solid rgba(255,255,255,0.05);
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 18% 5% 5%;
  z-index: -1;
  background: rgba(99, 224, 189, 0.13);
  filter: blur(58px);
}

.hero-product img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); }

.capture-state {
  position: absolute;
  top: 12px;
  left: 27px;
  right: 27px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.capture-state-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.capture-state-time { color: var(--text-soft); }

.hero-signal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}
.signal-value { color: var(--mint); }
.signal-line {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
}
.signal-line i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--mint-deep), var(--mint) 72%, transparent);
  filter: blur(0.2px);
  transform: scaleX(0);
  transform-origin: left;
  animation: signal-prime 1.25s cubic-bezier(.2,.75,.2,1) 220ms both;
}
@keyframes signal-prime {
  from { opacity: 0.2; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

.section { width: var(--page); margin-inline: auto; padding-block: 140px; }
.section-kicker { margin-bottom: 34px; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.65fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 72px;
}

.section h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.057em;
  font-weight: 710;
}

.section-heading > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.6;
}

.problem { border-bottom: 1px solid var(--border); }
.problem-grid { display: grid; grid-template-columns: 1.45fr 0.72fr; gap: 90px; align-items: start; }
.problem h2 span { color: var(--mint); }
.problem-copy { padding-top: 10px; }
.problem-copy > p { margin: 0 0 24px; color: var(--text-soft); font-size: 18px; line-height: 1.7; }
.problem-copy .fine-print { padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

.recovery { padding-bottom: 160px; }
.state-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.state-track::before { content: ""; position: absolute; top: 16px; left: 2%; right: 2%; height: 1px; background: var(--border-control); }
.state-step { position: relative; padding: 60px 28px 0 0; border-top: 1px solid transparent; }
.state-step::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 1px var(--border-control);
}
.state-active::before { background: var(--mint); box-shadow: 0 0 18px rgba(99,224,189,0.6); }
.state-break::before { background: var(--warning); }
.state-retry::before { background: var(--bg); border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint); }
.state-index { display: block; margin-bottom: 18px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.state-step strong { display: block; margin-bottom: 13px; font-size: 18px; }
.state-step p { max-width: 230px; margin: 0; color: var(--text-soft); font-size: 14px; }

.capture {
  width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  background: var(--bg-raised);
  border-block: 1px solid var(--border);
}
.capture-media {
  position: relative;
  display: grid;
  place-items: center end;
  min-height: 820px;
  padding: 64px 58px 64px 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(99,224,189,0.11), transparent 45%),
    linear-gradient(135deg, rgba(255,255,255,0.02), transparent 48%);
  border-right: 1px solid var(--border);
}
.capture-media::after { content: ""; position: absolute; inset: 44px; border: 1px solid rgba(255,255,255,0.045); pointer-events: none; }
.capture-media img { position: relative; z-index: 1; width: min(100%, 404px); box-shadow: 0 28px 60px rgba(0,0,0,0.45); }
.media-annotation { position: absolute; z-index: 2; color: var(--mint); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; }
.media-annotation::before { content: ""; position: absolute; top: 50%; height: 1px; background: rgba(99,224,189,0.5); }
.annotation-source { top: 26%; left: 7%; }
.annotation-source::before { left: calc(100% + 8px); width: 44px; }
.annotation-rate { left: 7%; bottom: 16%; }
.annotation-rate::before { left: calc(100% + 8px); width: 44px; }
.capture-copy { align-self: center; max-width: 700px; padding: 110px clamp(48px, 7vw, 130px); }
.capture-copy h2 { margin-bottom: 70px; }
.mode-list article { display: grid; grid-template-columns: 45px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--border); }
.mode-list article:last-child { border-bottom: 1px solid var(--border); }
.mode-number { color: var(--mint); font-family: var(--font-mono); font-size: 12px; padding-top: 5px; }
.mode-list h3 { margin: 0 0 8px; font-size: 19px; }
.mode-list p { margin: 0; color: var(--text-soft); font-size: 15px; }

.codecs { padding-top: 160px; }
.codecs-heading h2 { max-width: 780px; }
.codec-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--border); }
.codec-strip article { min-height: 355px; padding: 28px 36px 38px 0; }
.codec-strip article + article { padding-left: 36px; border-left: 1px solid var(--border); }
.codec-order { color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.codec-strip h3 { margin: 66px 0 18px; color: var(--mint); font-family: var(--font-mono); font-size: clamp(54px, 7vw, 96px); line-height: 0.85; letter-spacing: -0.07em; font-weight: 500; }
.codec-strip p { max-width: 285px; margin: 0; color: var(--text-soft); font-size: 14px; }
.codec-footnote { margin: 20px 0 0; color: var(--muted); font-family: var(--font-mono); font-size: 10px; text-align: right; }

.controls { display: grid; grid-template-columns: 1fr minmax(330px, 0.72fr); gap: 100px; align-items: center; }
.controls-copy h2 { margin-bottom: 70px; }
.feature-lines { margin: 0; padding: 0; list-style: none; }
.feature-lines li { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 22px 0; border-top: 1px solid var(--border); }
.feature-lines li:last-child { border-bottom: 1px solid var(--border); }
.feature-lines strong { color: var(--text); font-size: 14px; }
.feature-lines span { color: var(--text-soft); font-size: 14px; }
.controls-media { position: relative; margin: 0; padding: 42px 42px 0; background: var(--bg-raised); border: 1px solid var(--border); overflow: hidden; }
.controls-media::before { content: "AUDIO / CONTROL"; position: absolute; top: 16px; left: 18px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; }
.controls-media img { width: 100%; box-shadow: 0 28px 55px rgba(0,0,0,0.45); }

.editor { width: 100%; padding: 140px max(24px, calc((100vw - 1380px) / 2)); background: #090b0c; border-block: 1px solid var(--border); }
.editor-heading { display: grid; grid-template-columns: 1.6fr 0.62fr; gap: 70px; align-items: end; max-width: 1380px; margin: 0 auto 70px; }
.editor-heading h2 { max-width: 900px; }
.editor-heading > p { margin: 0; color: var(--text-soft); }
.editor-media { max-width: 1380px; margin: 0 auto; }
.editor-media img { width: 100%; border: 1px solid var(--border); box-shadow: 0 40px 90px rgba(0,0,0,0.55); }

.privacy {
  position: relative;
  width: 100%;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-inline: 24px;
  color: var(--mint-ink);
  background: var(--mint);
}
.privacy::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(11,32,26,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(11,32,26,.5) 1px, transparent 1px);
  background-size: 64px 64px;
}
.privacy-word { position: absolute; z-index: 0; left: -0.04em; bottom: -0.17em; color: rgba(11,32,26,0.075); font-size: clamp(190px, 35vw, 560px); font-weight: 800; line-height: 0.8; letter-spacing: -0.1em; }
.privacy-copy { position: relative; z-index: 1; width: min(760px, 100%); text-align: center; }
.section-kicker-dark { color: rgba(11,32,26,0.66); }
.privacy-copy h2 { margin-bottom: 30px; font-size: clamp(54px, 8vw, 104px); }
.privacy-copy > p { margin: 0 auto; font-size: clamp(18px, 2vw, 24px); font-weight: 540; }
.privacy-copy .privacy-exception { max-width: 720px; margin-top: 30px; padding-top: 25px; border-top: 1px solid rgba(11,32,26,0.25); font-size: 13px; line-height: 1.65; font-weight: 500; }
.text-link { display: inline-flex; gap: 6px; margin-top: 28px; text-underline-offset: 4px; font-weight: 700; }
.text-link-dark { color: var(--mint-ink); }

.comparison-heading { margin-bottom: 50px; }
.comparison-heading h2 { max-width: 800px; }
.table-wrap { overflow-x: auto; outline-offset: 6px; }
table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
th, td { padding: 24px 22px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
thead th:first-child, tbody th { padding-left: 0; }
tbody th { width: 19%; color: var(--text-soft); font-size: 13px; font-weight: 600; }
tbody td { width: 27%; color: var(--text-soft); font-size: 14px; }
th.is-captail { color: var(--mint); }
td.is-captail { color: var(--text); background: linear-gradient(90deg, rgba(99,224,189,0.055), transparent); }
.comparison-sources { margin: 22px 0 0; color: var(--muted); font-size: 11px; }
.comparison-sources a { color: var(--text-soft); text-underline-offset: 3px; }

.compatibility { display: grid; grid-template-columns: 1.15fr 0.7fr; gap: 120px; align-items: start; border-top: 1px solid var(--border); }
.compatibility-main h2 { margin-bottom: 70px; }
.hardware-list { margin: 0; }
.hardware-list > div { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 20px; padding: 19px 0; border-top: 1px solid var(--border); }
.hardware-list > div:last-child { border-bottom: 1px solid var(--border); }
.hardware-list dt { color: var(--text-soft); font-size: 13px; }
.hardware-list dd { margin: 0; font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status.tested::before { background: var(--mint); box-shadow: 0 0 10px rgba(99,224,189,0.5); }
.status.pending::before { background: var(--warning); }
.limitations { margin-top: 92px; padding: 34px; background: var(--surface-soft); border: 1px solid rgba(224,161,99,0.3); border-radius: var(--radius-md); }
.warning-mark { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 28px; color: #241608; background: var(--warning); border-radius: 50%; font-family: var(--font-mono); font-weight: 800; }
.limitations h3 { margin: 0 0 24px; font-size: 22px; }
.limitations ul { margin: 0; padding-left: 19px; color: var(--text-soft); font-size: 13px; }
.limitations li + li { margin-top: 13px; }
.limitations p { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.limitations code { color: var(--text-soft); font-family: var(--font-mono); }

.quickstart { border-top: 1px solid var(--border); }
.quickstart h2 { max-width: 820px; margin-bottom: 80px; }
.quickstart-list { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.quickstart-list li { display: grid; grid-template-columns: 130px 1fr; gap: 40px; padding: 34px 0; border-top: 1px solid var(--border); }
.quickstart-list li:last-child { border-bottom: 1px solid var(--border); }
.quickstart-list > li > span { color: var(--mint); font-family: var(--font-mono); font-size: 12px; }
.quickstart-list h3 { margin: 0 0 7px; font-size: 24px; }
.quickstart-list p { max-width: 640px; margin: 0; color: var(--text-soft); }

.faq { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 100px; border-top: 1px solid var(--border); }
.faq-heading { position: sticky; top: 80px; align-self: start; }
.faq-heading h2 { font-size: clamp(42px, 5vw, 68px); }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; padding: 26px 52px 26px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 21px; color: var(--mint); font-family: var(--font-mono); font-size: 24px; font-weight: 400; transition: transform 180ms ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; margin: -3px 0 26px; color: var(--text-soft); font-size: 14px; }

.final-cta {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 24px;
  text-align: center;
  background: #0d1112;
  border-top: 1px solid var(--border);
}
.final-cta::before { content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; border: 1px solid rgba(99,224,189,0.08); box-shadow: 0 0 0 90px rgba(99,224,189,0.016), 0 0 0 210px rgba(99,224,189,0.01); }
.final-ring { position: absolute; width: 310px; height: 310px; border: 2px solid rgba(99,224,189,0.14); border-radius: 50%; }
.final-ring i { position: absolute; inset: 35px; border: 10px solid transparent; border-top-color: var(--mint); border-right-color: var(--mint); border-radius: 50%; transform: rotate(-45deg); filter: drop-shadow(0 0 18px rgba(99,224,189,0.3)); animation: ring-breathe 4s ease-in-out infinite; }
@keyframes ring-breathe { 50% { transform: rotate(-35deg) scale(1.035); opacity: 0.75; } }
.final-content { position: relative; z-index: 1; max-width: 850px; }
.final-content .eyebrow { justify-content: center; }
.final-cta h2 { margin-bottom: 24px; font-size: clamp(52px, 8vw, 104px); }
.final-content > p:not(.eyebrow) { color: var(--text-soft); font-size: 18px; }
.final-actions { justify-content: center; }

.site-footer {
  width: var(--page);
  margin-inline: auto;
  padding: 50px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: end;
  color: var(--muted);
  font-size: 11px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { display: block; color: var(--text); font-size: 14px; }
.footer-brand span { display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.site-footer nav a { color: var(--text-soft); text-decoration: none; }
.site-footer nav a:hover { color: var(--mint); }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--border); text-align: right; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 650ms cubic-bezier(.2,.7,.2,1), transform 650ms cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --page: min(100% - 36px, 760px); }
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr minmax(290px, 0.65fr); padding: 150px 24px 28px; gap: 50px 28px; }
  .hero h1 { font-size: clamp(54px, 8vw, 76px); }
  .hero-product { width: 100%; padding-inline: 14px; }
  .section { padding-block: 110px; }
  .problem-grid, .section-heading, .editor-heading { grid-template-columns: 1fr; gap: 36px; }
  .problem-copy { max-width: 620px; }
  .state-track { grid-template-columns: repeat(2, 1fr); gap: 50px 0; }
  .state-track::before { display: none; }
  .state-step { padding-top: 40px; border-top-color: var(--border); }
  .state-step::before { top: -8px; }
  .capture { grid-template-columns: minmax(300px, 0.8fr) 1.2fr; }
  .capture-media { min-height: 730px; padding-inline: 28px; }
  .capture-copy { padding: 80px 44px; }
  .capture-copy h2 { margin-bottom: 45px; }
  .controls { grid-template-columns: 1fr 0.7fr; gap: 45px; }
  .feature-lines li { grid-template-columns: 145px 1fr; }
  .editor { padding-block: 110px; }
  .compatibility { grid-template-columns: 1fr; gap: 50px; }
  .limitations { margin-top: 0; }
  .faq { grid-template-columns: 1fr; gap: 60px; }
  .faq-heading { position: static; }
}

@media (max-width: 720px) {
  :root { --page: calc(100% - 32px); --header-height: 64px; }
  .site-header { width: calc(100% - 32px); }
  .header-source { font-size: 12px; }
  .hero { display: block; padding: 116px 16px 24px; background: radial-gradient(circle at 50% 53%, rgba(99,224,189,0.1), transparent 33%), var(--bg); }
  .hero::before { background-size: 44px 44px; mask-image: linear-gradient(to bottom, transparent, #000 42%, transparent); }
  .hero-ambient { width: 470px; height: 470px; right: -230px; top: 350px; }
  .hero-word { top: 65px; bottom: auto; right: -0.02em; font-size: 34vw; }
  .eyebrow { margin-bottom: 18px; font-size: 9px; }
  .hero h1 { font-size: clamp(51px, 15vw, 72px); }
  .hero-lede { margin-top: 24px; font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .button { width: 100%; }
  .hero-proof { line-height: 1.65; }
  .hero-product { width: min(100%, 390px); margin: 58px auto 0; padding-top: 40px; }
  .capture-state { left: 16px; right: 16px; }
  .hero-signal { margin-top: 24px; gap: 10px; }
  .signal-label { display: none; }
  .hero-signal { grid-template-columns: 1fr auto; }

  .section { padding-block: 88px; }
  .section-kicker { margin-bottom: 24px; }
  .section h2 { font-size: clamp(39px, 12vw, 58px); }
  .problem-grid { gap: 38px; }
  .problem-copy > p { font-size: 16px; }
  .section-heading { margin-bottom: 52px; }
  .state-track { grid-template-columns: 1fr; gap: 36px; }
  .state-step { padding-right: 0; }
  .state-step p { max-width: none; }

  .capture { grid-template-columns: 1fr; }
  .capture-media { place-items: end center; min-height: 630px; padding: 64px 50px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .capture-media::after { inset: 20px; }
  .capture-copy { padding: 80px 16px; }
  .mode-list article { grid-template-columns: 30px 1fr; gap: 15px; }

  .codecs { padding-top: 100px; }
  .codec-strip { grid-template-columns: 1fr; }
  .codec-strip article { min-height: auto; padding: 26px 0 34px; }
  .codec-strip article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .codec-strip h3 { margin: 32px 0 14px; font-size: 66px; }
  .codec-footnote { text-align: left; line-height: 1.6; }

  .controls { grid-template-columns: 1fr; gap: 55px; }
  .controls-copy h2 { margin-bottom: 50px; }
  .feature-lines li { grid-template-columns: 1fr; gap: 7px; }
  .controls-media { width: min(100%, 430px); justify-self: center; padding: 38px 22px 0; }

  .editor { padding: 88px 16px; }
  .editor-heading { gap: 28px; margin-bottom: 45px; }
  .editor-media { overflow-x: auto; padding-bottom: 8px; }
  .editor-media img { width: 760px; max-width: none; }

  .privacy { min-height: 680px; }
  .privacy-copy h2 { font-size: clamp(50px, 15vw, 72px); }
  .privacy-copy > p { font-size: 18px; }
  .privacy-copy .privacy-exception { font-size: 12px; }

  th, td { padding: 18px 15px; }
  .compatibility { gap: 42px; }
  .compatibility-main h2 { margin-bottom: 50px; }
  .hardware-list > div { grid-template-columns: 120px 1fr; }
  .limitations { padding: 26px; }

  .quickstart h2 { margin-bottom: 55px; }
  .quickstart-list li { grid-template-columns: 50px 1fr; gap: 18px; padding: 28px 0; }
  .quickstart-list h3 { font-size: 20px; }

  .faq { gap: 45px; }
  .faq-list summary { font-size: 15px; }
  .final-cta { min-height: 660px; padding-inline: 16px; }
  .final-ring { width: 240px; height: 240px; }
  .final-cta h2 { font-size: clamp(50px, 15vw, 72px); }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; gap: 15px 20px; }
  .site-footer > p { text-align: left; }
}

@media (max-width: 390px) {
  .capture-media { min-height: 560px; padding-inline: 34px; }
  .hero h1 { font-size: 48px; }
  .hardware-list > div { grid-template-columns: 1fr; gap: 6px; }
}

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