:root {
  color-scheme: light dark;
  --page: #f4f7f8;
  --surface: #ffffff;
  --surface-muted: #eaf0f1;
  --surface-strong: #dce7e8;
  --text: #10242b;
  --text-muted: #50666d;
  --border: #c6d3d6;
  --accent: #147d73;
  --accent-strong: #0b655d;
  --accent-soft: #d7efeb;
  --nav: rgb(244 247 248 / 94%);
  --code: #0b1824;
  --code-text: #d7f8f2;
  --shadow: 0 26px 70px rgb(42 73 78 / 13%);
  --radius: 12px;
  --page-width: 1220px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #07111a;
    --surface: #0c1823;
    --surface-muted: #101f2b;
    --surface-strong: #162b37;
    --text: #e8f2f2;
    --text-muted: #9eb1b5;
    --border: #263d47;
    --accent: #4bd8c6;
    --accent-strong: #74eadb;
    --accent-soft: #123c3a;
    --nav: rgb(7 17 26 / 94%);
    --code: #030a11;
    --code-text: #d7f8f2;
    --shadow: 0 32px 80px rgb(0 0 0 / 32%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  border-bottom: 1px solid var(--border);
  background: var(--nav);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--page-width));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.brand img {
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 620;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .nav-github {
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
}

.nav-toggle {
  display: none;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
  min-height: calc(100dvh - 72px);
  padding-block: 64px;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 5.5vw, 5.25rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-summary {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 720;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--accent);
  color: #04100f;
}

@media (prefers-color-scheme: light) {
  .button-primary {
    color: #ffffff;
  }
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
}

.hero-art {
  position: relative;
  margin: 0 -7vw 0 0;
}

.hero-art::before {
  position: absolute;
  inset: 14% 7% -10% 15%;
  z-index: -1;
  border-radius: var(--radius);
  background: var(--accent-soft);
  content: "";
  filter: blur(70px);
  opacity: 0.32;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #234253;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proof-strip {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

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

.proof-grid > div {
  padding: 30px 28px;
  border-right: 1px solid var(--border);
}

.proof-grid > div:first-child {
  padding-left: 0;
}

.proof-grid > div:last-child {
  border-right: 0;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--text);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.035em;
}

.proof-grid span {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 13px;
}

.section {
  padding-block: clamp(92px, 11vw, 150px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading h2,
.docs-section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.3rem);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading p,
.docs-section > div > p,
.final-cta p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 18px;
}

.compact-heading {
  max-width: 820px;
}

.data-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.data-path li {
  min-height: 265px;
  padding: 30px 30px 26px 0;
  border-top: 2px solid var(--border);
}

.data-path li:not(:last-child) {
  margin-right: 28px;
}

.path-index {
  display: block;
  margin-bottom: 46px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.data-path h3,
.feature h3,
.boundary-note h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.data-path p,
.feature p,
.boundary-note p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr;
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 16px;
}

.feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-primary {
  grid-row: span 2;
  justify-content: space-between;
  padding: 42px;
  background:
    linear-gradient(155deg, rgb(75 216 198 / 16%), transparent 48%),
    var(--surface-muted);
}

.feature-primary h3 {
  max-width: 470px;
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.feature-primary p {
  max-width: 470px;
  font-size: 17px;
}

.feature-tinted {
  background: var(--accent-soft);
}

.feature-grid-pattern {
  background:
    linear-gradient(90deg, rgb(75 216 198 / 10%) 1px, transparent 1px),
    linear-gradient(rgb(75 216 198 / 10%) 1px, transparent 1px),
    var(--surface);
  background-size: 26px 26px;
}

.feature-boundary {
  border-color: var(--accent);
}

.compatibility-section {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.compatibility-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.client-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}

.client-list > div {
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--border);
}

.client-list > div:nth-child(odd) {
  margin-right: 28px;
}

.client-list strong,
.client-list span {
  display: block;
}

.client-list strong {
  font-size: 17px;
}

.client-list span {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 14px;
}

.boundary-note {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.boundary-note a,
.installer-footer a {
  display: block;
  width: fit-content;
  margin-top: 18px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.installer {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.installer-controls {
  display: flex;
  gap: 58px;
  justify-content: space-between;
  padding: 26px 30px;
  border-bottom: 1px solid var(--border);
}

.selector {
  display: flex;
  align-items: center;
  gap: 16px;
}

.selector-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 690;
}

.button-group {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.button-group button,
.command-toolbar button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.button-group button[aria-pressed="true"] {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.command-panel {
  background: var(--code);
  color: var(--code-text);
}

.command-toolbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 8px 24px;
  border-bottom: 1px solid #1d3441;
  color: #9fb9bf;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}

.command-toolbar button {
  border-color: #2e4a56;
  color: #d7f8f2;
}

.command-toolbar button:hover {
  border-color: #4bd8c6;
}

.command-panel pre {
  min-height: 205px;
  margin: 0;
  padding: 28px 24px;
  overflow-x: auto;
  background: transparent;
  color: var(--code-text);
  font-size: 14px;
  line-height: 1.75;
}

.copy-status {
  min-height: 28px;
  margin: 0;
  padding: 0 24px 12px;
  color: #9fb9bf;
  font-size: 13px;
}

.installer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 30px;
}

.installer-footer p,
.installer-footer a {
  margin: 0;
  font-size: 14px;
}

.installer-footer p {
  color: var(--text-muted);
}

.installer-footer code {
  color: var(--text);
}

.docs-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.docs-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.docs-links a {
  min-height: 150px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.docs-links a:first-child {
  grid-column: span 2;
}

.docs-links a:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.docs-links strong,
.docs-links span {
  display: block;
}

.docs-links strong {
  font-size: 18px;
}

.docs-links span {
  max-width: 390px;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 14px;
}

.final-cta {
  padding-block: clamp(92px, 11vw, 150px);
  border-top: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgb(75 216 198 / 13%), transparent 55%),
    var(--surface);
}

.final-cta h2 {
  max-width: 860px;
}

.site-footer {
  padding-block: 34px;
  border-top: 1px solid var(--border);
  background: var(--page);
}

.footer-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-layout p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: hero-enter 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-art {
    animation: hero-enter 760ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-art {
    margin-right: -3vw;
  }

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

  .feature-primary {
    grid-row: span 2;
  }

  .feature-boundary {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .page-shell,
  .nav-shell {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .site-header {
    height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a,
  .nav-links .nav-github {
    padding: 12px;
    border: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 58px 72px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .hero-art {
    margin: 6px 0 0;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid > div,
  .proof-grid > div:first-child {
    padding: 22px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .proof-grid > div:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .proof-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .data-path,
  .feature-grid,
  .compatibility-layout,
  .docs-section {
    grid-template-columns: 1fr;
  }

  .data-path li {
    min-height: auto;
    padding: 24px 0 32px;
  }

  .data-path li:not(:last-child) {
    margin-right: 0;
  }

  .path-index {
    margin-bottom: 26px;
  }

  .feature-grid {
    grid-template-rows: auto;
  }

  .feature-primary,
  .feature-boundary {
    grid-row: auto;
    grid-column: auto;
  }

  .feature {
    min-height: 220px;
    padding: 28px;
  }

  .feature-primary {
    min-height: 390px;
  }

  .client-list {
    grid-template-columns: 1fr;
  }

  .client-list > div:nth-child(odd) {
    margin-right: 0;
  }

  .installer-controls,
  .selector,
  .installer-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .installer-controls {
    gap: 22px;
  }

  .selector {
    gap: 8px;
  }

  .button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .command-panel pre {
    min-height: 250px;
    font-size: 12px;
  }

  .docs-links {
    grid-template-columns: 1fr;
  }

  .docs-links a:first-child {
    grid-column: auto;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
