@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jbmono-var.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --r-btn: 14px;
  --r-tile: 20px;
  --ink: #0B0A0D;
  --surface: #121016;
  --raise: #0F0D13;
  --line: #232028;
  --line-strong: #322D3C;
  --text: #EFECF4;
  --muted: #9B95A8;
  --faint: #837D8F;
  --accent: #8C52FF;
  --accent-hi: #7B45E8;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  position: relative;
  background: var(--ink);
  color: var(--text);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent); color: var(--ink); }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

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

section[id] { scroll-margin-top: 72px; }

h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { left: 12px; top: 12px; }

.shell {
  width: min(1240px, 100% - 96px);
  margin-inline: auto;
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--ink) 74%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-in {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-logo {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  corner-shape: squircle;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.build {
  font-size: 11px;
  color: var(--faint);
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

.nav a { transition: color 100ms linear; }
.nav a:hover { color: var(--text); }

.nav .social { color: var(--faint); }
.nav .social:hover { color: var(--text); }

.nav-cta {
  color: var(--text) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  corner-shape: squircle;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 100ms linear, background-color 100ms linear;
}
.nav-cta:hover {
  border-color: rgba(140, 82, 255, 0.55);
  background: rgba(140, 82, 255, 0.12);
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: 64px;
  padding: 112px 0 104px;
  align-items: start;
}

h1 {
  font-size: 92px;
  line-height: 0.9;
  letter-spacing: -0.028em;
  font-weight: 700;
  font-stretch: 80%;
  font-variation-settings: "wdth" 80;
  margin-bottom: 34px;
}

.accent { color: var(--accent); }

.hero-sub {
  max-width: 48ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  font-family: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--r-btn);
  corner-shape: squircle;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.btn-fill {
  background: var(--accent);
  border-color: var(--accent);
  color: #0B0A0D;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.55);
}
.btn-fill:hover { background: var(--accent-hi); border-color: var(--accent-hi); }

.btn-line {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-line:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--faint);
}

.spec {
  margin-top: 10px;
  padding: 18px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-tile);
  corner-shape: squircle;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row span {
  font-size: 13px;
  color: var(--faint);
}

.spec-row b {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.spec-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--accent);
  transition: color 100ms linear;
}
.spec-link:hover { color: var(--text); }

.aside-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.aside-label {
  display: block;
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 10px;
}

.aside-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color 100ms linear;
}
.aside-list a:last-child { border-bottom: 0; }
.aside-list a:hover { color: var(--accent); }
.aside-list a i {
  font-style: normal;
  color: var(--faint);
  transition: color 100ms linear;
}
.aside-list a:hover i { color: var(--muted); }

/* ---------- sections ---------- */

.section { padding: 96px 0; }

.sec-head {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 22px;
}

.sec-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  transform-origin: 0 50%;
}

@supports (animation-timeline: view()) {
  .sec-head::after {
    animation: rule-in linear both;
    animation-timeline: view();
    animation-range: entry 8% entry 55%;
  }
}

@keyframes rule-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .sec-head::after { animation: none; }
}

.idx {
  font-size: 12px;
  color: var(--faint);
}

h2 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.024em;
}

.sec-note {
  font-size: 13px;
  color: var(--faint);
  text-align: right;
}

/* ---------- module rows ---------- */

.rows { border-bottom: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0 28px 112px;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background-color 100ms linear;
}
.rows .row:first-child { border-top: 0; }
.row:hover { background: var(--raise); }

.row-n {
  font-size: 12px;
  color: var(--faint);
  padding-top: 6px;
}

.row h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: color 100ms linear;
}
.row:hover h3 { color: var(--accent); }

.row p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
}

.row-name h3 { margin-bottom: 8px; }

.row-tags {
  display: block;
  font-size: 11px;
  color: var(--faint);
  line-height: 1.6;
  max-width: none;
}

/* ---------- coverage table ---------- */

.table-hint { display: none; }

.table-wrap {
  margin-top: 26px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.matrix {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
}

.matrix th,
.matrix td {
  text-align: left;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td { border-bottom: 0; }

.matrix thead th {
  font-weight: 400;
  color: var(--faint);
  border-bottom: 1px solid var(--line-strong);
}

.matrix thead th:first-child,
.matrix tbody th {
  width: 32%;
}

.matrix tbody th {
  font-family: Archivo, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
}

.matrix td { color: var(--faint); opacity: .75; }

.matrix td.on { color: var(--text); opacity: 1; }

.matrix td.all { color: var(--faint); opacity: 1; }

.matrix tbody tr { transition: background-color 100ms linear; }
.matrix tbody tr:hover { background: var(--raise); }

.table-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--faint);
  max-width: 62ch;
}

/* ---------- band ---------- */

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

.band-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: end;
}

.band-lead {
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.012em;
  max-width: 46ch;
}

.band-stats {
  display: flex;
  gap: 40px;
}

.band-stats div {
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}

.band-stats dt {
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 6px;
}

.band-stats dd {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: var(--text);
}

/* ---------- changelog ---------- */

.log { border-bottom: 1px solid var(--line); }

.rel {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background-color 100ms linear;
}
.log .rel:first-child { border-top: 0; }
.rel:hover { background: var(--raise); }

.rel-head h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.rel.current .rel-head h3 { color: var(--accent); }

.rel-tag {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--accent);
}

.rel-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 10px;
}

.rel-body li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}

.rel-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--line-strong);
}

.rel-link {
  text-align: right;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  padding-top: 2px;
}

.rel-link a {
  color: var(--muted);
  transition: color 100ms linear;
}
.rel-link a:hover { color: var(--accent); }

.rel-link .dash { color: var(--line-strong); }

/* ---------- pricing ---------- */

.pricing {
  border-top: 1px solid var(--line);
  background: var(--raise);
  padding: 88px 0 96px;
}

.pricing-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 72px;
  align-items: start;
}

.sec-head.tight {
  grid-template-columns: 88px minmax(0, 1fr);
  border-bottom: 0;
  padding-bottom: 0;
}

.pricing-lead {
  margin: 26px 0 16px;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.018em;
  font-weight: 500;
  max-width: 32ch;
}

.pricing p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
}

.price-block {
  align-self: end;
  text-align: right;
  padding: 22px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-tile);
  corner-shape: squircle;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.price-label {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 18px;
}

.price {
  display: block;
  font-size: 86px;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--accent);
}

.price-note {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--faint);
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
}

.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  color: var(--faint);
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
}

.foot-logo {
  display: block;
  border-radius: 5px;
  corner-shape: squircle;
}

.foot-links {
  display: flex;
  gap: 24px;
}

.foot-links a { transition: color 100ms linear; }
.foot-links a:hover { color: var(--text); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  h1 { font-size: 72px; }
  .hero { gap: 48px; grid-template-columns: minmax(0, 1fr) 236px; }
  .row { grid-template-columns: 200px minmax(0, 1fr); padding-left: 112px; }
  .row-tags { max-width: none; }
  .band-in { grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
  .pricing-in { grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; }
}

@media (max-width: 820px) {
  .shell { width: min(1240px, 100% - 48px); }

  .nav > a:not(.social):not(.nav-cta) { display: none; }

  .nav { gap: 0; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding: 72px 0 64px;
  }

  h1 { font-size: 54px; margin-bottom: 24px; }

  .hero-sub { font-size: 16px; }

  .spec { max-width: 340px; }

  .section { padding: 64px 0; }

  .sec-head {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
  }
  .sec-note { display: none; }

  h2 { font-size: 27px; }

  .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 24px 0;
  }
  .row-tags { grid-column: auto; }
  .row h3 { font-size: 20px; }
  .row p { font-size: 14px; }
  .row-tags { padding-top: 2px; max-width: none; grid-column: auto; }

  .band { padding: 40px 0; }
  .band-lead { font-size: 18px; }
  .band-stats { flex-wrap: wrap; gap: 24px 28px; }

  .table-hint {
    display: block;
    margin-top: 22px;
    font-size: 11px;
    color: var(--faint);
  }
  .table-wrap { margin-top: 10px; }

  .rel {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 24px 0;
  }
  .rel-head h3 { font-size: 14px; }

  .pricing { padding: 56px 0 64px; }
  .pricing-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sec-head.tight { grid-template-columns: 40px minmax(0, 1fr); }
  .pricing-lead { font-size: 22px; }
  .price-block { text-align: left; }
  .price { font-size: 60px; }

  .foot-in { flex-wrap: wrap; gap: 14px 24px; }
  .foot-note { width: 100%; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 40px); }

  .topbar-in { height: 58px; gap: 12px; }

  .brand { font-size: 14px; gap: 8px; }
  .build { display: none; }

  .nav .social { display: none; }
  .nav-cta { padding: 6px 12px; font-size: 13px; }

  h1 { font-size: 44px; letter-spacing: -0.022em; }

  .actions .btn { flex: 1 1 100%; }
  .actions .btn-line { flex: 1 1 calc(50% - 5px); }
}