:root {
  color-scheme: dark;
  --bg: #101512;
  --surface: #171e19;
  --line: #303a32;
  --text: #f2f4ef;
  --muted: #aab4aa;
  --accent: #d2f5ab;
  --fail: #ffb7a1;
  --font:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button,
video {
  font: inherit;
}
button,
a,
summary,
video {
  outline-offset: 5px;
}
:focus-visible {
  outline: 2px solid var(--accent);
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
p,
h1,
h2,
h3,
dl {
  margin: 0;
}
p + p {
  margin-top: 18px;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}
p {
  color: var(--muted);
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86em;
}
.wrap {
  width: min(1160px, calc(100% - 72px));
  margin-inline: auto;
}
.topbar {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.055em;
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.brand-mark rect {
  fill: var(--accent);
}
.brand-mark path {
  fill: none;
  stroke: #223428;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: #c8cfc7;
}
.intro {
  padding: 47px 0 33px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.105em;
  font-size: 12px;
  font-weight: 650;
  color: var(--accent);
  margin-bottom: 17px;
}
.eyebrow span {
  padding: 0 10px;
  color: var(--muted);
}
h1 {
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 620;
  margin-bottom: 17px;
}
.lede {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.lede strong {
  font-weight: 500;
  color: var(--text);
}
.source-link {
  flex-shrink: 0;
  align-self: center;
  font-size: 14px;
  border-bottom: 1px solid #57664f;
  padding-bottom: 8px;
  white-space: nowrap;
}
.source-link span {
  margin-left: 16px;
  color: var(--accent);
}
.demo {
  border: 1px solid #3b483b;
  border-radius: 12px;
  overflow: hidden;
  background: #060806;
  box-shadow: 0 18px 55px #0003;
  scroll-margin-top: 24px;
}
.player-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: #20291f;
  border-bottom: 1px solid #3b483b;
}
.player-heading h2 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.player-heading > span {
  font:
    12px/1.6 ui-monospace,
    monospace;
  white-space: nowrap;
  color: var(--accent);
}
.muted {
  color: var(--muted);
  padding: 0 7px;
}
video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  background: #060806;
  object-fit: contain;
}
.chapters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.chapters button {
  border: 0;
  border-right: 1px solid var(--line);
  background: none;
  text-align: left;
  color: var(--text);
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 9px;
  font-size: 14px;
  line-height: 1.5;
  transition: background 0.15s;
}
.chapters button:last-child {
  border-right: 0;
}
.chapters button > span:first-child {
  font:
    12px/1.6 ui-monospace,
    monospace;
  color: var(--accent);
}
.chapters button > span:last-child {
  margin-left: auto;
  color: var(--muted);
}
.chapters button:hover {
  background: #263223;
}
.chapters button:focus-visible {
  outline-offset: -3px;
}
.video-notes {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 35px;
  padding: 17px 0 0;
  font-size: 13px;
  line-height: 1.65;
}
.video-notes p {
  max-width: 790px;
}
.video-notes p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #c6d1c0;
}
.download-link {
  flex-shrink: 0;
  font-size: 14px;
}
.download-link span {
  margin-left: 14px;
  color: var(--accent);
}
.playback-status {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: 14px;
}
.results-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 37px;
  padding: 30px 0 35px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.results-strip dt {
  font-size: 13px;
  color: #c6cec2;
}
.results-strip dd {
  margin: 9px 0 0;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.12;
}
.results-strip dd span {
  display: block;
  margin-top: 9px;
  letter-spacing: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.section {
  padding: 75px 0;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 550;
  margin-bottom: 24px;
}
.evidence {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 75px;
}
.section-intro p:not(.eyebrow) {
  font-size: 16px;
}
.text-link {
  font-size: 14px;
  color: var(--accent);
  display: inline-block;
  margin-top: 24px;
}
.text-link span {
  margin-left: 8px;
}
.result-panel {
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
caption {
  text-align: left;
  padding: 19px 22px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
}
thead th {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
tbody th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}
tbody th {
  font-weight: 600;
  font-size: 16px;
}
td strong {
  font-size: 16px;
  font-weight: 500;
}
td span,
th span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 4px;
  color: var(--muted);
}
.pass {
  color: var(--accent);
}
.fail {
  color: var(--fail);
}
.rejected {
  background: #251e18;
}
.test-failure {
  padding: 20px 22px;
}
.failure-label {
  font-size: 12px;
  color: var(--fail);
  display: block;
  margin-bottom: 7px;
}
.test-failure > code {
  display: block;
  font-size: 12px;
  color: #e1c4b8;
  overflow-wrap: anywhere;
}
.test-failure p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.section-heading .text-link {
  margin: 0;
  flex-shrink: 0;
}
.architecture-lede {
  max-width: 750px;
  font-size: 17px;
}
.workflow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0;
  margin: 36px 0;
}
.workflow li {
  border-top: 2px solid #657b51;
  padding-top: 17px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.step-number {
  font:
    12px ui-monospace,
    monospace;
  color: var(--accent);
  margin-bottom: 21px;
}
.workflow h3 {
  font-size: 19px;
  font-weight: 550;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.workflow p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 23px;
}
.tech {
  display: block;
  margin-top: auto;
  color: #d1d9cc;
  font-size: 12px;
}
.voice-note {
  display: flex;
  gap: 22px;
  border-left: 2px solid var(--accent);
  padding: 10px 0 10px 22px;
  align-items: start;
}
.voice-label {
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 2px;
}
.voice-note p {
  font-size: 15px;
  max-width: 860px;
}
.scope {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 75px;
}
.scope-copy .scope-detail {
  font-size: 14px;
  color: #8f9e8e;
}
.resource-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 14px;
  color: var(--accent);
}
.transcript {
  margin: 26px 0 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}
.transcript summary {
  cursor: pointer;
  font-size: 14px;
  color: #c5cfc0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.transcript summary::-webkit-details-marker {
  display: none;
}
.transcript summary span {
  font-size: 24px;
  line-height: 1;
}
.transcript[open] summary span {
  transform: rotate(45deg);
}
#transcript-content {
  max-width: 800px;
}
#transcript-content h3 {
  font-size: 16px;
  margin: 23px 0 10px;
  font-weight: 500;
}
#transcript-content p {
  font-size: 15px;
}
.footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 34px;
}
.footer .brand {
  font-size: 18px;
}
.footer p,
.footer > a:last-child {
  font-size: 12px;
  color: var(--muted);
}
.footer p span {
  padding: 0 7px;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 18px;
  background: var(--accent);
  color: #111713;
  padding: 12px 18px;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.skip-link:hover {
  color: #111713;
}
@media (min-width: 1600px) {
  .wrap {
    width: min(1240px, calc(100% - 100px));
  }
}
@media (max-width: 950px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .intro {
    display: block;
    padding-top: 35px;
  }
  .source-link {
    display: none;
  }
  .lede {
    max-width: 740px;
  }
  .evidence,
  .scope {
    gap: 34px;
    grid-template-columns: 1fr 1.15fr;
  }
  .workflow {
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
  .chapters {
    grid-template-columns: repeat(2, 1fr);
  }
  .chapters button:nth-child(2) {
    border-right: 0;
  }
  .chapters button:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .section {
    padding-block: 54px;
  }
  .video-notes {
    gap: 24px;
  }
  .results-strip {
    gap: 18px;
  }
  .results-strip dt {
    font-size: 12px;
  }
  .results-strip dd span {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .topbar {
    height: 74px;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  nav {
    gap: 18px;
    font-size: 13px;
  }
  nav a:nth-child(2) {
    display: none;
  }
  .intro {
    padding: 28px 0 26px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
  }
  .eyebrow span {
    padding: 0 5px;
  }
  h1 {
    font-size: 37px;
    letter-spacing: -0.04em;
  }
  .lede {
    font-size: 16px;
  }
  .player-heading {
    padding: 12px;
  }
  .player-heading h2 {
    font-size: 12px;
  }
  .player-heading > span {
    font-size: 12px;
  }
  .muted {
    padding: 0 3px;
  }
  .demo {
    border-radius: 8px;
  }
  .chapters button {
    padding: 12px;
    font-size: 12px;
    gap: 3px 6px;
  }
  .chapters button > span:first-child {
    font-size: 12px;
  }
  .chapters button > span:last-child {
    display: none;
  }
  .video-notes {
    display: block;
    font-size: 12px;
    padding-top: 13px;
  }
  .download-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
  }
  .results-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
    margin-top: 26px;
    padding-block: 25px;
  }
  .results-strip dd {
    font-size: 39px;
  }
  .results-strip dt {
    font-size: 12px;
  }
  .section {
    padding-block: 43px;
  }
  .evidence,
  .scope {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .section h2 br {
    display: none;
  }
  .section-intro p,
  .scope-copy p {
    font-size: 16px;
  }
  .section-heading {
    display: block;
  }
  .section-heading .text-link {
    margin: 0 0 22px;
  }
  .architecture-lede {
    font-size: 16px;
  }
  .workflow {
    gap: 27px 20px;
    margin: 30px 0;
  }
  .workflow h3 {
    font-size: 18px;
  }
  .workflow p {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .workflow .tech {
    font-size: 12px;
  }
  .step-number {
    margin-bottom: 14px;
  }
  .voice-note {
    display: block;
    padding-left: 16px;
  }
  .voice-label {
    display: block;
    margin-bottom: 9px;
  }
  .voice-note p {
    font-size: 14px;
  }
  .scope {
    gap: 7px;
  }
  thead th {
    font-size: 12px;
    padding: 11px;
  }
  tbody th,
  td {
    padding: 14px 11px;
  }
  tbody th,
  td strong {
    font-size: 15px;
  }
  td span,
  th span {
    font-size: 12px;
  }
  .test-failure {
    padding: 18px;
  }
  caption {
    padding: 16px;
    font-size: 12px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 28px;
  }
  .footer p {
    order: 3;
    flex-basis: 100%;
  }
  .footer .brand {
    font-size: 18px;
  }
  .transcript {
    margin-top: 22px;
  }
  .resource-links {
    gap: 13px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
