:root {
  color-scheme: light;
  --ink: #171b1d;
  --muted: #5b6468;
  --paper: #f7f8f7;
  --white: #ffffff;
  --teal: #087f7a;
  --teal-dark: #075c59;
  --amber: #d18a22;
  --line: #d6dcda;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: var(--teal-dark); }

.topbar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 5vw;
  color: var(--ink);
}

.wordmark { font-weight: 800; font-size: 1rem; text-decoration: none; color: inherit; }
.topbar nav { display: flex; gap: 22px; }
.topbar nav a { color: inherit; text-decoration: none; font-size: 0.9rem; font-weight: 650; }

.hero {
  min-height: min(76vh, 760px);
  display: flex;
  align-items: center;
  background-image: url("hero-av-processor.png");
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid var(--teal);
}

.hero-copy { width: min(620px, 48vw); margin-left: 6vw; padding: 94px 0 70px; }
.eyebrow { margin: 0 0 10px; color: var(--teal-dark); font-weight: 800; text-transform: uppercase; font-size: 0.78rem; }
h1 { margin: 0; font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: 0.95; letter-spacing: 0; }
.lead { max-width: 570px; margin: 22px 0 28px; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 580; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font-weight: 750;
  text-decoration: none;
}
.button.primary { color: var(--white); background: var(--teal-dark); border-color: var(--teal-dark); }
.button:hover { transform: translateY(-1px); }

.release-strip { background: var(--ink); color: var(--white); }
.release-strip .inner {
  width: min(1120px, 90vw);
  min-height: 62px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 0.9rem;
}
.release-strip strong { color: #6ed3cb; }
.release-strip code { overflow-wrap: anywhere; }

main section { padding: 68px 5vw; }
.inner { width: min(1120px, 100%); margin: auto; }
h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: 0; }
.section-intro { max-width: 730px; color: var(--muted); margin: 0 0 34px; }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.install-grid > div { min-width: 0; }
.install-grid h3 { margin: 0 0 8px; font-size: 1.1rem; }
pre {
  overflow-x: auto;
  margin: 14px 0 10px;
  padding: 17px;
  border-left: 4px solid var(--amber);
  background: #202629;
  color: #f4f7f6;
  font: 0.88rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.steps { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step-num { color: var(--amber); font-size: 1.8rem; font-weight: 850; }
.step-grid h3 { margin: 4px 0 8px; font-size: 1.08rem; }
.step-grid p { margin: 0; color: var(--muted); }
.detail-list { columns: 2; column-gap: 54px; padding-left: 20px; }
.detail-list li { break-inside: avoid; margin-bottom: 10px; }
footer { padding: 28px 5vw 42px; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.9rem; }
footer .inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 760px) {
  .topbar { position: relative; padding: 0 20px; background: var(--white); }
  .topbar nav { gap: 14px; }
  .hero { min-height: 650px; align-items: flex-start; background-position: 58% center; }
  .hero-copy { width: 88vw; margin: 0 auto; padding-top: 62px; }
  .hero-copy h1, .hero-copy .lead, .hero-copy .eyebrow { max-width: 76%; }
  .hero-copy .lead { font-size: 1rem; }
  .install-grid, .step-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-list { columns: 1; }
  .release-strip .inner, footer .inner { align-items: flex-start; flex-direction: column; padding: 15px 0; }
}

@media (max-width: 470px) {
  .topbar nav a:first-child { display: none; }
  .hero-copy h1, .hero-copy .lead, .hero-copy .eyebrow { max-width: 100%; }
  .hero { background-position: 65% center; }
  .hero-copy { padding-top: 42px; text-shadow: 0 1px 0 rgba(255,255,255,0.8); }
  main section { padding: 52px 20px; }
}
