
.nav-link {
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
  transition: box-shadow .18s var(--ease-settle), color .18s var(--ease-settle);
}
.nav-link:hover { color: var(--ink); box-shadow: 3px 3px 7px var(--sh-d), -3px -3px 7px var(--sh-l); }
.nav-link[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 3px 3px 6px var(--sh-d), inset -3px -3px 6px var(--sh-l);
}
.page {
  position: relative;
  z-index: 1;
  max-width: var(--w-text);
  margin: 0 auto;
  padding: 0 24px;
}
.page-hero { padding-top: 146px; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-4);
}
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--hair-45); }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 {
  max-width: 21ch;
  margin: 20px 0 0;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -.033em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.lede {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.6;
  color: var(--ink-3);
  text-wrap: pretty;
}
.updated {
  margin: 14px 0 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--ink-4);
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform .32s var(--ease-settle), box-shadow .32s var(--ease-settle), color .2s var(--ease-settle);
}
.btn svg { flex-shrink: 0; }
.btn-primary {
  background: var(--acc, #005bea);
  color: var(--on-acc);
  box-shadow: 6px 6px 14px var(--sh-acc-d), -5px -5px 12px var(--sh-acc-l);
}
.btn-primary:hover { color: var(--on-acc); transform: translateY(-2px); box-shadow: 9px 9px 22px var(--sh-acc-d), -6px -6px 16px var(--sh-acc-l); }
.btn-quiet { color: var(--ink); box-shadow: 5px 5px 11px var(--sh-d), -5px -5px 11px var(--sh-l); }
.btn-quiet:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 7px 7px 15px var(--sh-d), -7px -7px 15px var(--sh-l); }
.btn:active { transform: translateY(0) scale(.978); }
.hero-rule {
  position: relative;
  height: 1px;
  margin-top: 56px;
  background: var(--hair);
  overflow: hidden;
}
.hero-rule::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -24%;
  width: 24%;
  background: linear-gradient(90deg, transparent, var(--acc-2), transparent);
  animation: rx-rule 2.6s var(--ease-out-strong) .3s 1 both;
}
@keyframes rx-rule { from { transform: translateX(0); } to { transform: translateX(520%); } }
.glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 0;
  margin: 40px 0 0;
  padding: 6px;
  border-radius: 20px;
  box-shadow: 9px 9px 18px var(--sh-d), -9px -9px 18px var(--sh-l);
}
.glance > div { padding: 16px 18px; }
.glance dt {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-4);
}
.glance dd {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink);
}
.glance dd small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.section { padding-top: 92px; }
.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 14px 40px;
  margin-bottom: 30px;
}
.section h2,
.prose h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.08;
  letter-spacing: -.026em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.section-head p { margin: 0; font-size: 16px; line-height: 1.62; color: var(--ink-3); text-wrap: pretty; }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 64px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 34px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
}
.prose h2 + p, .prose h3 + p { margin-top: 12px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.68; color: var(--ink-3); text-wrap: pretty; }
.prose li + li { margin-top: 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li::marker { color: var(--ink-4); }
.prose strong { font-weight: 600; color: var(--ink-2); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
code,
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.prose code,
.spec code {
  padding: 2px 6px;
  border-radius: 6px;
  font-size: .86em;
  color: var(--ink-2);
  overflow-wrap: anywhere;
  box-shadow: inset 2px 2px 4px var(--sh-d), inset -2px -2px 4px var(--sh-l);
}
:is(.table-wrap, .msgs, .notes, .cards) + :is(.prose, .callout) { margin-top: 24px; }
.prose + .callout { margin-top: 22px; }
.t-ok { color: var(--ok); font-weight: 600; }
.t-warn { color: var(--warn); font-weight: 600; }
.t-bad { color: var(--bad); font-weight: 600; }
.callout {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--tint-blue);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.callout.warn { background: var(--tint-amber); }
.callout strong { color: var(--ink); }
.table-wrap {
  margin-top: 8px;
  border-radius: 18px;
  box-shadow: 9px 9px 18px var(--sh-d), -9px -9px 18px var(--sh-l);
  overflow-x: auto;
  scrollbar-width: thin;
}
.spec {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.spec caption { padding: 16px 20px 0; text-align: left; font-size: 13px; color: var(--ink-4); }
.spec th,
.spec td { padding: 13px 16px; text-align: left; vertical-align: top; }
.spec thead th {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-4);
  white-space: nowrap;
  border-bottom: 1px solid var(--hair-2);
}
.spec tbody tr + tr > * { border-top: 1px solid var(--hair-4); }
.spec tbody th { font-weight: 600; color: var(--ink); }
.spec td { color: var(--ink-3); }
.spec th:first-child, .spec td:first-child { padding-left: 20px; }
.spec th:last-child, .spec td:last-child { padding-right: 20px; }
.spec .how { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.matrix { min-width: 860px; }
.matrix thead th { text-align: center; white-space: normal; line-height: 1.3; }
.matrix thead th:first-child { text-align: left; }
.matrix td { text-align: center; vertical-align: middle; }
.matrix tbody th { font-weight: 500; color: var(--ink-2); }
.matrix th a { color: var(--ink-2); }
.matrix th a:hover { color: var(--ink); }
.matrix tr > :first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--bg);
}
.yes, .no { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; }
.yes { color: var(--ok); box-shadow: inset 2px 2px 4px var(--sh-d), inset -2px -2px 4px var(--sh-l); }
.no { color: var(--ink-4); }
.term {
  margin-top: 8px;
  border-radius: 18px;
  background: #05080c;
  box-shadow: 9px 9px 18px var(--sh-d), -9px -9px 18px var(--sh-l);
  overflow: hidden;
}
.term-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: #0a0e12;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  color: #7c8a99;
}
.term-head b { font-weight: 700; color: #b8c4ce; }
.term ul {
  margin: 0;
  padding: 16px 18px 18px;
  list-style: none;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.9;
  color: #e8eef3;
  overflow-x: auto;
}
.term li { white-space: pre; }
.term li::before { content: "# "; color: #4a5764; }
.term .arg { color: #8cdffb; }
.term .remark { color: #7c8a99; }
.msgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; align-items: start; }
.msg { margin: 0; }
.msg li { white-space: pre-wrap; }
.msg li::before { content: none; }
.msgs + .updated { margin-top: 14px; }
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 44px; }
.notes > div { padding: 22px 0; border-top: 1px solid var(--hair-2); }
.notes h3 { margin: 0; font-size: 17.5px; line-height: 1.35; font-weight: 600; letter-spacing: -.012em; color: var(--ink); }
.notes p { margin: 8px 0 0; font-size: 15px; line-height: 1.62; color: var(--ink-3); text-wrap: pretty; }
.notes code { font-size: .88em; color: var(--ink-2); }
.steps { counter-reset: step; margin: 8px 0 0; padding: 0; list-style: none; }
.steps > li {
  position: relative;
  padding: 0 0 26px 52px;
  counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--acc-ink);
  box-shadow: inset 3px 3px 6px var(--sh-d), inset -3px -3px 6px var(--sh-l);
}
.steps > li > strong { display: block; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.steps > li > p { margin: 6px 0 0; max-width: 66ch; font-size: 15.5px; line-height: 1.62; color: var(--ink-3); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: 6px 6px 13px var(--sh-d), -6px -6px 13px var(--sh-l);
  transition: transform .3s var(--ease-settle), box-shadow .3s var(--ease-settle);
}
.card:has(a.card-link:hover) { transform: translateY(-3px); box-shadow: 9px 9px 18px var(--sh-d), -9px -9px 18px var(--sh-l); }
.card-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.card h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--acc-ink); outline-offset: 3px; }
.card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.card .tag { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--ink-4); }
.card .cmd {
  padding: 9px 11px;
  border-radius: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: inset 3px 3px 6px var(--sh-d), inset -3px -3px 6px var(--sh-l);
}
.card .more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--link); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 22px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: 22px;
  box-shadow: 6px 6px 13px var(--sh-d), -6px -6px 13px var(--sh-l);
}
.plan.recommended { box-shadow: 9px 9px 20px var(--sh-d), -8px -8px 18px var(--sh-l), inset 0 0 0 1.5px var(--acc, #005bea); }
.plan .badge {
  position: absolute;
  top: -11px;
  left: 26px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--acc, #005bea);
  color: var(--on-acc);
  font-size: 12px;
  font-weight: 700;
}
.plan h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.plan .tagline { margin-top: 5px; font-size: 13.5px; color: var(--ink-3); }
.plan .price { display: flex; align-items: baseline; gap: 7px; margin-top: 22px; }
.plan .price b { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.plan .price span { font-size: 13px; color: var(--ink-4); }
.plan ul { flex: 1; display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.plan li svg { flex-shrink: 0; margin-top: 4px; color: var(--acc-ink); }
.plan > .btn { justify-content: center; margin-top: 26px; }
.plan .inherits { margin-top: 18px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.plan .inherits + ul { margin-top: 11px; }
.planned {
  flex-shrink: 0;
  margin-top: 1px;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-4);
  box-shadow: inset 2px 2px 4px var(--sh-d), inset -2px -2px 4px var(--sh-l);
}
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px 48px;
  align-items: center;
  margin-top: 110px;
  padding: clamp(28px, 4.5vw, 54px);
  border-radius: 26px;
  background: linear-gradient(160deg, #04264c, #010b1d);
  box-shadow: 12px 12px 26px var(--sh-d3), -10px -10px 22px var(--sh-l3), inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
}
.cta-panel h2 { margin: 0; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; color: #e4edf3; text-wrap: balance; }
.cta-panel p { margin: 14px 0 0; max-width: 46ch; font-size: 15.5px; line-height: 1.62; color: #a9bccb; }
.cta-panel .actions { margin-top: 0; justify-content: flex-start; }
.cta-panel .btn-quiet { color: #e4edf3; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.cta-panel .btn-quiet:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.34); transform: translateY(-2px); }
.cta-panel .btn-primary { box-shadow: 6px 6px 14px rgba(0,0,0,.35); }
.cta-panel a:focus-visible { outline-color: #8cdffb; }
.legal { max-width: 70ch; padding-top: 56px; }
.legal h2 { margin-top: 52px; font-size: clamp(22px, 2.4vw, 27px); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 16px; }
@media (max-width: 640px) {
  .spec:not(.matrix) { min-width: 0; }
  .spec:not(.matrix) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec:not(.matrix) tr { display: block; padding: 15px 18px; }
  .spec:not(.matrix) tbody tr + tr { border-top: 1px solid var(--hair-4); }
  .spec:not(.matrix) tbody tr + tr > * { border-top: 0; }
  .spec:not(.matrix) :is(th, td) { display: block; padding: 0 !important; }
  .spec:not(.matrix) td { margin-top: 8px; }
  .spec:not(.matrix) td:empty { display: none; }
  .spec:not(.matrix) td:not([data-label=""])::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-4);
  }
  .spec caption { padding: 15px 18px 0; }
}
@media (max-width: 720px) {
  .page-hero { padding-top: 124px; }
  .section { padding-top: 72px; }
  .glance { border-radius: 18px; }
  .glance > div { padding: 13px 14px; }
  .term ul { font-size: 12px; }
  .cta-panel { margin-top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .card:has(a.card-link:hover), .btn:hover, .btn:active { transform: none; }
}
