:root {
  color-scheme: dark;
  --canvas: #0d0f11;
  --sidebar: #171a1d;
  --surface: #15181b;
  --raised: #202428;
  --raised-2: #262b2f;
  --line: #383e42;
  --line-soft: #292e32;
  --text: #f3f5f6;
  --secondary: #c3c8cc;
  --muted: #92999f;
  --accent: #17b8c5;
  --accent-dark: #087680;
  --focus: #7adce4;
  --healthy: #62c571;
  --attention: #f3aa2f;
  --informational: #67acf1;
  --danger: #ef6865;
  --shell: 1180px;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0 auto 0 max(28px, calc((100vw - var(--shell)) / 2 - 28px));
  width: 1px;
  background: var(--line-soft);
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--accent);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--text);
  color: var(--canvas);
  transform: translateY(-160%);
}

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

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  backdrop-filter: blur(18px);
}

.site-header .shell {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--secondary);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--text);
}

.release-badge,
.eyebrow,
.capability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.release-badge {
  padding: 8px 11px;
}

.release-badge::before,
.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--attention);
  content: "";
}

.hero {
  padding: 92px 0 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 64px;
}

.eyebrow {
  margin-bottom: 24px;
  padding: 8px 12px;
}

.eyebrow::before {
  background: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 7.6vw, 7rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 32px;
  color: var(--secondary);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-aside {
  padding: 26px 0 8px 28px;
  border-left: 1px solid var(--line);
}

.hero-aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.hero-aside p {
  margin-bottom: 22px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.button:hover {
  border-color: var(--muted);
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.button-primary:hover {
  border-color: #0a8a95;
  background: #0a8a95;
}

.button.is-disabled {
  border-color: var(--line-soft);
  background: var(--raised);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
}

.product-frame {
  position: relative;
  margin-top: 72px;
  border: 1px solid #485055;
  border-radius: 18px;
  background: #111416;
  box-shadow: 0 26px 80px rgb(0 0 0 / 42%);
  overflow: hidden;
}

.product-frame img {
  width: 100%;
  height: auto;
}

.frame-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line-soft);
}

.proof {
  min-height: 126px;
  padding: 26px 30px;
}

.proof + .proof {
  border-left: 1px solid var(--line-soft);
}

.proof span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.proof p {
  margin: 0;
  color: var(--secondary);
}

.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 760px);
  gap: 32px;
  margin-bottom: 56px;
}

.section-number {
  padding-top: 10px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 700px;
  color: var(--secondary);
  font-size: 1.1rem;
}

.step-grid,
.lane-grid,
.trust-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.step-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step,
.lane,
.trust-card {
  background: var(--surface);
}

.step {
  min-height: 285px;
  padding: 30px;
}

.step-index {
  display: flex;
  margin-bottom: 72px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.step-index::after {
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  content: "";
}

.step p,
.lane p,
.trust-card p {
  color: var(--muted);
}

.step strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.lane-grid {
  grid-template-columns: repeat(4, 1fr);
}

.lane {
  min-height: 230px;
  padding: 26px;
}

.capability {
  margin-bottom: 46px;
  padding: 7px 9px;
}

.capability.install {
  border-color: color-mix(in srgb, var(--healthy) 50%, var(--line));
  color: var(--healthy);
}

.capability.handoff {
  border-color: color-mix(in srgb, var(--attention) 50%, var(--line));
  color: var(--attention);
}

.capability.detect {
  border-color: color-mix(in srgb, var(--informational) 50%, var(--line));
  color: var(--informational);
}

.capability.unknown {
  border-color: color-mix(in srgb, var(--danger) 50%, var(--line));
  color: var(--danger);
}

.trust-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.trust-card {
  min-height: 250px;
  padding: 30px;
}

.trust-card:first-child {
  background: var(--raised);
}

.trust-mark {
  display: block;
  margin-bottom: 50px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--raised);
}

.release-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.release-panel p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--secondary);
}

.subpage-hero {
  padding: 86px 0 70px;
  border-bottom: 1px solid var(--line-soft);
}

.subpage-hero h1 {
  max-width: 940px;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.subpage-hero p {
  max-width: 720px;
  color: var(--secondary);
  font-size: 1.18rem;
}

.prose {
  width: min(calc(100% - 48px), 900px);
  margin-inline: auto;
  padding: 80px 0 110px;
}

.prose h2 {
  margin-top: 66px;
  font-size: 2.25rem;
}

.prose h3 {
  margin-top: 34px;
}

.prose p,
.prose li {
  color: var(--secondary);
}

.prose li + li {
  margin-top: 8px;
}

.prose code,
.hash {
  font-family: var(--mono);
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

.callout {
  margin: 38px 0;
  padding: 24px 26px;
  border-left: 3px solid var(--accent);
  background: var(--raised);
}

.callout.attention {
  border-left-color: var(--attention);
}

.callout p:last-child {
  margin-bottom: 0;
}

.table-scroll {
  margin: 38px 0;
  border: 1px solid var(--line);
  overflow-x: auto;
}

.table-scroll:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.comparison-table {
  min-width: 1680px;
}

.comparison-table caption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.comparison-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 190px;
  background: var(--raised);
}

.comparison-table tbody th {
  color: var(--secondary);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.comparison-table td {
  min-width: 205px;
}

.comparison-table a,
.source-ref {
  color: var(--accent-bright);
}

.comparison-note {
  color: var(--muted);
  font-size: 14px;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--raised);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  color: var(--secondary);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.status-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-label.install { color: var(--healthy); }
.status-label.handoff { color: var(--attention); }
.status-label.detect { color: var(--informational); }
.status-label.unknown { color: var(--danger); }

.definition-list {
  display: grid;
  grid-template-columns: 210px 1fr;
  margin: 30px 0;
  border-top: 1px solid var(--line);
}

.definition-list dt,
.definition-list dd {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.definition-list dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.definition-list dd {
  color: var(--secondary);
}

.site-footer {
  padding: 54px 0 34px;
  background: #0a0c0e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 42px;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-column strong {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin-top: 9px;
  color: var(--secondary);
  font-size: 14px;
  text-decoration: none;
}

.footer-meta {
  display: flex;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

@media (max-width: 920px) {
  body::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-aside { max-width: 650px; }
  .section-heading { grid-template-columns: 1fr; gap: 8px; }
  .step-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step-index { margin-bottom: 34px; }
  .lane-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { min-height: 0; }
  .release-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .shell,
  .prose { width: min(calc(100% - 32px), var(--shell)); }
  .site-header .shell { min-height: 70px; flex-wrap: wrap; gap: 12px; padding-block: 12px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 18px; overflow-x: auto; }
  .site-nav a { white-space: nowrap; }
  .release-badge { margin-left: auto; }
  .hero { padding-top: 62px; }
  h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .product-frame { margin-top: 48px; border-radius: 10px; }
  .frame-caption { display: block; }
  .frame-caption span { display: block; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof + .proof { border-top: 1px solid var(--line-soft); border-left: 0; }
  .section { padding: 78px 0; }
  .lane-grid { grid-template-columns: 1fr; }
  .release-panel { padding: 28px; }
  .definition-list { grid-template-columns: 1fr; }
  .definition-list dt { padding-bottom: 4px; border-bottom: 0; }
  .definition-list dd { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; }
}
