:root {
  --ink: #17191c;
  --ink-soft: #3d4148;
  --muted: #5c636a;
  --line: #dde4e0;
  --line-strong: #c9d3ce;
  --wash: #ecf1ee;
  --white: #ffffff;
  --surface: var(--white);
  --brand: #0e4d35;
  --brand-deep: #0a3a28;
  --brand-soft: #8fb59f;
  --ink-deep: #101412;
  --signal: #c8f169;

  --tone-accept: #1f8a4c;
  --tone-warn: #c2620c;
  --tone-danger: #c0362c;
  --tone-violet: #7346d6;
  --tone-muted: #697078;
  --tone-idle: #c5cfca;

  --series-1: #2e9a5c;
  --series-2: #2f6fde;
  --series-3: #c0368c;

  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --shell: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 16px/1.55 var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg, canvas { display: block; }
[hidden] { display: none !important; }
code, pre, kbd, output { font-family: var(--mono); }
code { font-size: 0.88em; }

h1, h2, h3 { margin: 0; font-weight: 500; font-stretch: 88%; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; font-weight: 500; font-stretch: 82%; }
h1 span { display: block; white-space: nowrap; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; font-weight: 500; }
h2.large { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 16px; line-height: 1.35; }
p { margin: 0; }

.shell { width: min(100% - 48px, var(--shell)); margin-inline: auto; }
.centered { text-align: center; }

.eyebrow {
  font: 500 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(255 255 255 / 0.72);
  margin-bottom: 18px;
}
.eyebrow.dark { color: var(--muted); }

.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.fine a { color: var(--ink-soft); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 0;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.5s var(--ease), background-color 0.3s var(--ease);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(0.97); }
.nudge { display: inline-block; margin-left: 6px; transition: transform 0.4s var(--ease); }
a:hover > .nudge { transform: translateX(4px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--ink-deep); }
.button-light { background: var(--white); color: var(--brand); }
.button-light:hover { background: var(--signal); }

.command {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.06);
  color: var(--white);
  font: 14px/1 var(--mono);
  cursor: copy;
  transition: border-color 0.3s var(--ease);
}
.command span { opacity: 0.5; }
.command:hover { border-color: rgb(255 255 255 / 0.5); }
.command.dark { border-color: var(--line); background: var(--white); color: var(--ink); }
.command.dark:hover { border-color: var(--ink-soft); }
.command::after {
  content: "copied";
  position: absolute;
  inset: auto 0 calc(100% + 8px);
  margin-inline: auto;
  width: max-content;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.command.is-copied::after { opacity: 1; transform: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color 0.3s var(--ease), background-size 0.4s var(--ease); }
.nav-links a:hover { background-size: 100% 1px; }
.nav-links a:hover { color: var(--ink); }
.nav .button { height: 38px; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-link { display: inline-grid; place-items: center; width: 38px; height: 38px; margin: -9px; border-radius: var(--radius-sm); color: var(--ink-soft); transition: color 0.3s var(--ease), background-color 0.3s var(--ease); }
.icon-link:hover { color: var(--ink); background: var(--wash); }
.icon-link:active { transform: scale(0.92); }
.icon-link .icon { transition: transform 0.4s var(--ease); }
.icon-link:hover .icon { transform: rotate(-8deg); }

.hero { background: var(--brand); color: var(--white); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-block: 88px 96px;
}
.hero-lede { margin-top: 24px; max-width: 34em; font-size: 18px; line-height: 1.6; color: rgb(255 255 255 / 0.84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { margin-top: 22px; font-size: 14px; color: rgb(255 255 255 / 0.7); }
.hero-proof strong { color: var(--white); font-weight: 500; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgb(255 255 255 / 0.84); }
.hero-checks li::before { content: "✓"; margin-right: 8px; color: var(--signal); }

.sieve-card {
  --tone-idle: rgb(255 255 255 / 0.22);
  margin: 0;
  padding: 22px 22px 18px;
  border-radius: var(--radius-lg);
  background: var(--brand-deep);
  border: 1px solid rgb(255 255 255 / 0.08);
}
.sieve-head { display: flex; justify-content: space-between; font: 12px/1 var(--mono); color: rgb(255 255 255 / 0.6); }
.sieve-wave { width: 100%; height: 120px; margin-top: 18px; }
.sieve-mesh {
  height: 2px;
  margin: 16px 0 0;
  background-image: radial-gradient(circle, var(--signal) 1px, transparent 1.5px);
  background-size: 8px 2px;
  opacity: 0.8;
}
.sieve-rows { display: grid; gap: 8px; padding: 16px 0 18px; }
.sieve-label { font: 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: rgb(255 255 255 / 0.5); }
.sieve-label + .sieve-pills { margin-bottom: 6px; }
.sieve-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  font: 11px/1.2 var(--mono);
  white-space: nowrap;
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(255 255 255 / 0.1);
  opacity: 0;
  animation: settle 0.9s var(--ease) forwards;
  animation-delay: calc(0.3s + var(--order) * 0.12s);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tone-color); }
.pill.tone-accept { background: var(--signal); border-color: var(--signal); color: var(--brand-deep); }
.pill.tone-accept::before { background: var(--brand); }
.pill-time { opacity: 0.6; }
.pill-label { font-weight: 500; }
.pill-detail { opacity: 0.75; }
.sieve-summary { padding-top: 12px; border-top: 1px solid rgb(255 255 255 / 0.1); font: 12px/1.4 var(--mono); color: rgb(255 255 255 / 0.66); }

.tone-accept { --tone-color: var(--tone-accept); }
.tone-warn { --tone-color: var(--tone-warn); }
.tone-danger { --tone-color: var(--tone-danger); }
.tone-violet { --tone-color: var(--tone-violet); }
.tone-muted { --tone-color: var(--tone-muted); }

@keyframes settle {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

.section { padding-block: 88px; }
.section-tight { padding-block: 72px; }
.wash { --surface: var(--wash); background: var(--surface); }
.section-head { max-width: 760px; margin: 0 0 32px; }
.section-lede { margin-top: 14px; max-width: 36em; font-size: 17px; color: var(--muted); }

.demo {
  --tone-idle: #c5cfca;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--wash);
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.demo.is-dragging { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--wash)); }
.demo-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font: 500 14px/1 var(--sans);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.chip:hover { border-color: var(--ink-soft); }
.chip:active, .link-button:active, .tabs button:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.upload { height: 38px; font-size: 14px; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }

.track { position: relative; margin-top: 40px; }
.track-wave { width: 100%; height: 132px; }
.demo.is-loading .track { border-radius: var(--radius-sm); background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.7) 50%, transparent 70%) 0 0 / 200% 100%, color-mix(in srgb, var(--tone-idle) 35%, transparent); animation: shimmer 1.4s linear infinite; }
.demo.is-loading .track > * { visibility: hidden; }
@keyframes shimmer { to { background-position: -200% 0, 0 0; } }
.track-overlay { position: absolute; inset: 0; }
.table-wrap { align-self: start; }
.segment {
  position: absolute;
  top: 0;
  bottom: 0;
  padding: 0;
  border: 0;
  border-top: 2px solid var(--tone-color);
  background: color-mix(in srgb, var(--tone-color) 9%, transparent);
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}
.segment:hover,
.segment:focus-visible,
.segment.is-playing { background: color-mix(in srgb, var(--tone-color) 20%, transparent); outline: none; }
.segment .tag {
  position: absolute;
  top: -26px;
  left: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--tone-color);
  color: var(--white);
  font: 500 11px/1.2 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.segment { container-type: inline-size; }
@container (max-width: 64px) {
  .segment .tag { width: 10px; height: 10px; top: -18px; padding: 0; border-radius: 50%; color: transparent; }
}
.demo-status { margin-top: 12px; min-height: 1.5em; font-size: 14px; color: var(--muted); }
.demo-status.is-error { color: var(--tone-danger); }
[data-hero][data-failed] .sieve-card { display: none; }
[data-demo][data-failed] [data-status]::after { content: "The in-browser demo could not start. Try a recent Chrome, Firefox or Safari."; color: var(--tone-danger); }

.demo-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0 0;
  border-block: 1px solid var(--line-strong);
}
.demo-stats div { padding: 12px 14px 12px 0; min-width: 0; }
.demo-stats dt { font-size: 12px; color: var(--muted); }
.demo-stats dd { margin: 4px 0 0; font: 500 14px/1.3 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.demo-grid { display: grid; gap: 28px; margin-top: 24px; }
.table-wrap { overflow-x: auto; }
.clips { width: 100%; border-collapse: collapse; font: 13px/1.4 var(--mono); }
.clips th { padding: 0 12px 11px; text-align: right; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.clips td { padding: 9px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.clips tr:last-child td { border-bottom: 0; }
.clips .verdict { color: var(--tone-color); font-weight: 500; text-align: left; }
.clips th:nth-last-child(-n + 2) { text-align: left; }
.clips :is(th, td):first-child { padding-left: 0; }
.clips .detail { text-align: left; color: var(--muted); }
.clips tbody tr { cursor: pointer; transition: background-color 0.2s var(--ease); }
.clips tbody tr:hover,
.clips tbody tr:focus-visible,
.clips tbody tr.is-playing { background: color-mix(in srgb, var(--brand) 7%, transparent); outline: none; }

.policy-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line-strong); }
.link-button { padding: 0; border: 0; background: none; color: var(--muted); font: 13px var(--sans); text-decoration: underline; cursor: pointer; }
.link-button:hover { color: var(--ink); }
[data-policy] { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); column-gap: 28px; }
.policy-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; padding: 12px 0 4px; }
.policy-label { display: grid; font-size: 14px; }
.policy-label code { font-size: 11px; color: var(--muted); }
.policy-row output { font-size: 13px; align-self: start; }
.policy-row input { grid-column: 1 / -1; width: 100%; accent-color: var(--brand); }
.policy .fine { margin-top: 10px; }
.demo-drop { margin-top: 6px; }
.demo + .fine { margin-top: 14px; }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.feature { padding: 24px 40px 28px 0; border-bottom: 1px solid var(--line); }
.feature h3 { margin-top: 16px; font-size: 18px; }
.feature p { max-width: 42ch; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: 1 / -1; }
.feature-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 6px 40px; border-bottom: 0; }
.feature-wide .mock { grid-row: span 2; }
.feature-wide h3 { align-self: end; margin-top: 0; }
.feature-wide p { align-self: start; }
.mock {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
  height: 108px;
  overflow: hidden;
}
.mock-flow { gap: 18px; }
.formats { display: grid; grid-template-columns: repeat(3, auto); gap: 6px; }
.formats span, .mock-files code, .mock-limits span {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--wash);
  font: 12px/1.2 var(--mono);
}
.arrow { font-size: 22px; color: var(--muted); }
.target { display: grid; gap: 2px; padding: 14px 16px; border-radius: 10px; background: var(--brand); color: var(--white); font: 13px/1.3 var(--mono); white-space: nowrap; }
.target span { opacity: 0.7; font-size: 12px; }
.mock-meter { flex-direction: column; justify-content: center; gap: 10px; }
.meter { position: relative; width: 100%; height: 12px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 62%; border-radius: inherit; background: var(--tone-accept); }
.meter-mark { position: absolute; top: -6px; bottom: -6px; left: 33%; width: 2px; background: var(--ink); }
.meter-scale { display: flex; justify-content: space-between; width: 100%; font: 11px var(--mono); color: var(--muted); }
.mock-clip svg { width: 100%; max-width: 240px; height: 100%; overflow: visible; }
.mock-clip path { fill: none; stroke: var(--tone-danger); stroke-width: 2.4; stroke-linejoin: round; }
.mock-clip line { stroke: var(--ink); stroke-dasharray: 3 4; stroke-width: 1; opacity: 0.4; }
.mock-spectrum { gap: 22px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 84px; }
.bars i { width: 9px; height: var(--h); border-radius: 3px 3px 0 0; background: var(--tone-accept); }
.bars.tone i { background: var(--tone-violet); }
.mock-segments svg { width: 100%; max-width: 300px; height: auto; overflow: visible; }
.mock-segments .wave { stroke: var(--ink-soft); stroke-width: 2; stroke-linecap: round; }
.mock-segments rect { fill: color-mix(in srgb, var(--tone-accept) 10%, transparent); }
.mock-segments line { stroke: var(--tone-accept); stroke-width: 2; }
.mock-segments text { fill: var(--muted); font: 11px var(--mono); }
.mock-files, .mock-limits { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
.mock-files .dim { color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-limits span::before { content: "✓"; margin-right: 8px; color: var(--tone-accept); }

[data-reveal] { transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), transform 0.9s var(--ease); }
.can-reveal [data-reveal]:not([data-reveal="stagger"], .is-visible) { opacity: 0; filter: blur(8px); transform: translateY(28px); }

.stagger > *, [data-reveal="stagger"] > * { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(0.25s + var(--i, 0) * 0.08s); }
:is(.stagger, [data-reveal="stagger"]) > :nth-child(2) { --i: 1; }
:is(.stagger, [data-reveal="stagger"]) > :nth-child(3) { --i: 2; }
:is(.stagger, [data-reveal="stagger"]) > :nth-child(4) { --i: 3; }
:is(.stagger, [data-reveal="stagger"]) > :nth-child(5) { --i: 4; }
:is(.stagger, [data-reveal="stagger"]) > :nth-child(6) { --i: 5; }
:is(.stagger, [data-reveal="stagger"]) > :nth-child(7) { --i: 6; }
.can-reveal [data-reveal]:not(.is-visible) .stagger > *,
.can-reveal [data-reveal="stagger"]:not(.is-visible) > * { opacity: 0; transform: translateY(10px); }
.can-reveal [data-reveal]:not(.is-visible) .bars.stagger > * { transform: scaleY(0); }
.bars i { transform-origin: bottom; }

.mock-clip path, .mock-segments .wave { stroke-dasharray: 1; transition: stroke-dashoffset 1.4s var(--ease) 0.2s; }
.can-reveal .feature:not(.is-visible) :is(.mock-clip path, .mock-segments .wave) { stroke-dashoffset: 1; }
.meter-fill { transform-origin: left; transition: transform 1.2s var(--ease) 0.3s; }
.meter-mark { transition: opacity 0.6s var(--ease) 0.9s; }
.can-reveal .feature:not(.is-visible) .meter-fill { transform: scaleX(0); }
.can-reveal .feature:not(.is-visible) .meter-mark { opacity: 0; }
.target, .arrow { transition: opacity 0.6s var(--ease) 0.75s, transform 0.6s var(--ease) 0.75s; }
.can-reveal .feature:not(.is-visible) :is(.target, .arrow) { opacity: 0; transform: translateX(-8px); }

.snr-chart .series-line { stroke-dasharray: 1; animation: draw 1.3s var(--ease) both; }
.snr-chart .series-dot { animation: settle-in 0.5s var(--ease) 0.8s both; transform-box: fill-box; transform-origin: center; }
.can-reveal .result:not(.is-visible) :is(.series-line, .series-dot) { animation-play-state: paused; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes settle-in { from { opacity: 0; transform: scale(0.4); } }

.steps::before { transform-origin: top; transition: transform 1.6s var(--ease) 0.2s; }
.can-reveal .steps:not(.is-visible)::before { transform: scaleY(0); }

.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.split-head .section-lede { max-width: 28em; }
.results { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; margin-block: 48px; }
.verdict-line { max-width: 40ch; margin: 0 0 32px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; font-stretch: 92%; color: var(--ink-soft); }
.verdict-line strong { display: block; margin-bottom: 10px; white-space: nowrap; font-size: clamp(34px, 8.6vw, 92px); line-height: 1; font-weight: 500; font-stretch: 78%; letter-spacing: -0.03em; color: var(--brand); }
.table-scroll { overflow-x: auto; }
.bars-table .source { display: block; font: 12px var(--sans); color: var(--muted); }
.bars-table strong { font-weight: 500; }
.bars-table .strong { font-weight: 500; color: var(--brand); }
.chart-switch { margin-top: 14px; }
.chart-switch .chip { height: 30px; padding: 0 12px; font-size: 13px; }
.snr-chart { position: relative; margin: 10px 0 0; }
.snr-chart svg { width: 100%; height: auto; overflow: visible; font: 11px var(--mono); }
.snr-chart .axes text { fill: var(--muted); }
.snr-chart .axis-title { font-family: var(--sans); font-size: 12px; }
.snr-chart .grid { stroke: var(--line); stroke-width: 1; }
.snr-chart .identity { stroke: var(--ink-soft); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0.5; }
.snr-chart .identity-label { fill: var(--muted); font-family: var(--sans); font-size: 11px; }
.snr-chart .series-line { fill: none; stroke: var(--color); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.snr-chart .series-dot { fill: var(--color); stroke: var(--surface); stroke-width: 2; }
.snr-chart .series-label { fill: var(--ink-soft); font: 500 12px var(--sans); }
.snr-chart .hit { fill: transparent; cursor: crosshair; outline: none; }
.snr-chart .hit:focus-visible { stroke: var(--ink); stroke-width: 1.5; }
.chart-tip {
  position: absolute;
  z-index: 2;
  max-width: 260px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font: 12px/1.4 var(--sans);
  transform: translate(-50%, calc(-100% - 12px));
  pointer-events: none;
}
.findings { display: grid; gap: 18px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: finding; }
.findings li { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.findings li:first-child { padding-top: 0; border-top: 0; }
.findings h4 { margin: 0; font-size: 15px; font-weight: 500; }
.findings p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.before-after { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px !important; padding-top: 12px; border-top: 1px dashed var(--line-strong); color: var(--ink-soft) !important; }
.before-after b { font: 500 20px var(--mono); color: var(--brand); }
.reproduce { margin-top: 18px; }
.result { padding-top: 22px; border-top: 1px solid var(--ink); }
.result h3 { font-size: 18px; }
.result > .fine { margin-top: 6px; }
.result-speed { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 32px; align-items: baseline; }
.result-speed h3 { grid-column: 1 / -1; }
.result-speed .big-number { grid-row: span 3; font: 450 72px/1 var(--sans); letter-spacing: -0.04em; color: var(--brand); }
.result-speed .mini-stats { grid-column: 1 / -1; }
.note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-strong); font-size: 14px; color: var(--ink-soft); }
.bars-table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 14px; }
.bars-table th { padding: 8px 0; text-align: left; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.bars-table td { padding: 8px 12px 8px 0; white-space: nowrap; border-top: 1px solid var(--line-strong); font-family: var(--mono); font-size: 13px; }
.bars-table td:first-child { font-family: var(--sans); font-size: 14px; }
.bars-table .bar { display: inline-block; width: calc(var(--v) * 80px); height: 8px; margin-right: 8px; border-radius: 4px; background: var(--brand); vertical-align: middle; }
.bars-table .bar.alt { background: var(--brand-soft); }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 18px 0 0; }
.mini-stats div { display: flex; flex-direction: column; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.mini-stats dt { font-size: 13px; color: var(--muted); }
.mini-stats dd { margin: auto 0 0; padding-top: 2px; font: 500 20px var(--mono); }

.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; }
.steps { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 6px; width: 2px; background: linear-gradient(var(--brand), var(--signal)); }
.steps li { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 24px; padding: 4px 0 30px; }
.steps li:last-child { padding-bottom: 0; }
.step-node { width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--white); border: 3px solid var(--brand); }
.steps h3 { font-size: 18px; }
.steps p { margin-top: 6px; color: var(--muted); }
.steps code { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--brand); }

.code-card { max-width: 820px; border-radius: var(--radius); background: var(--ink-deep); color: #e6ece8; overflow: hidden; }
.tabs { position: relative; display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.tabs button { height: 32px; padding: 0 14px; border-radius: 8px; border: 0; background: none; color: rgb(255 255 255 / 0.6); font: 500 13px var(--sans); cursor: pointer; }
.tabs button { position: relative; transition: color 0.3s var(--ease); }
.tabs button:hover { color: rgb(255 255 255 / 0.85); }
.tabs button[aria-selected="true"] { color: var(--white); }
.tab-indicator { position: absolute; top: 10px; left: 0; width: var(--w, 0); height: 32px; border-radius: 8px; background: rgb(255 255 255 / 0.1); transform: translateX(var(--x, 0)); transition: transform 0.45s var(--ease), width 0.45s var(--ease); }
.code-card pre:not([hidden]) { animation: panel-in 0.4s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
.code-card pre { margin: 0; padding: 22px 24px 26px; overflow-x: auto; font-size: 13px; line-height: 1.7; }
.code-card .c { color: rgb(255 255 255 / 0.45); }
.code-card .ok { color: var(--signal); }

.limits { font-size: 17px; color: var(--ink-soft); }
.limits ul { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.limits li { padding-left: 22px; position: relative; }
.limits li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.text-link { display: inline-block; margin-top: 22px; font-weight: 500; text-underline-offset: 4px; transition: text-underline-offset 0.3s var(--ease); }
.text-link:hover { text-underline-offset: 6px; }

.closing h2 { margin-top: 4px; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 34px 0 18px; }

.footer { padding-block: 40px 56px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: start; }
.footer-brand p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

@media (max-width: 960px) {
  .hero-inner, .split, .results, .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { padding-block: 64px 72px; gap: 44px; }
  .split { gap: 32px; }
  .demo-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .span-2, .span-3, .span-4 { grid-column: span 3; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
  .nav .icon-link { margin-left: auto; }
  .section { padding-block: 64px; }
  .section-tight { padding-block: 56px; }
  .demo { padding: 16px; }
  .demo-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .span-2, .span-3, .span-4 { grid-column: auto; }
  .feature { padding-right: 0; }
  .mock-flow { gap: 10px; }
  .result-speed { grid-template-columns: 1fr; }
  .result-speed .big-number { grid-row: auto; }
  .mini-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results { gap: 40px; margin-block: 40px; }
  .bars-table td { padding-right: 8px; }
  .bars-table .bar { width: calc(var(--v) * 40px); margin-right: 6px; }
  .snr-chart svg { font-size: 17px; }
  .snr-chart .axis-title, .snr-chart .identity-label { font-size: 17px; }
  .snr-chart .series-label { font-size: 18px; }
  .hero-actions .button, .hero-actions .command { width: 100%; justify-content: center; }
  .chip { height: 44px; }
  .clips th:is(:nth-child(4), :nth-child(5), :nth-child(6), :nth-child(8)),
  .clips td:is(:nth-child(4), :nth-child(5), :nth-child(6), :nth-child(8)) { display: none; }
  .feature-wide { grid-template-columns: minmax(0, 1fr); }
  .feature-wide .mock { grid-row: auto; }
  .feature-wide h3 { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pill { opacity: 1; }
}
