:root {
  --ink: #edfaff;
  --muted: #9fb4c8;
  --deep: #040a13;
  --navy: #07111f;
  --line: rgba(164, 221, 247, 0.14);
  --cyan: #31d9ff;
  --ice: #b8f4ff;
  --blue: #377dff;
  --green: #52e1b1;
  --shell: min(1160px, calc(100vw - 40px));

  /* Type scale. Eight steps replacing twenty-six values that differed
     by as little as 0.01rem — a sixth of a pixel, which is accretion
     rather than intent. The largest move this cost is 0.64px. */
  --text-3xs: 0.62rem;
  --text-2xs: 0.68rem;
  --text-xs: 0.74rem;
  --text-sm: 0.79rem;
  --text-md: 0.84rem;
  --text-lg: 0.9rem;
  --text-xl: 1.07rem;
  --text-2xl: 1.18rem;

  /* Display sizes stay exactly as authored: a clamp() is a decision
     about how a headline behaves between breakpoints, not a size. */
  --display-1: clamp(3.8rem, 7vw, 6.8rem);
  --display-2: clamp(2.35rem, 4.6vw, 4.25rem);
  --display-3: clamp(2.7rem, 5vw, 4.4rem);
  --display-4: clamp(2rem, 3.8vw, 3.45rem);
  --display-5: clamp(3.4rem, 7vw, 6.5rem);
  --display-6: clamp(2rem, 4vw, 3.4rem);
  --display-7: clamp(3.3rem, 15vw, 5rem);
  --display-8: clamp(3rem, 15vw, 4.5rem);

  /* Spacing follows a 4px grid. Large documentation rhythm values are named
     by role because rounding 70px or 88px would change the composition. */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-15: 60px;
  --space-20: 80px;
  --docs-layout-gap: 70px;
  --docs-section-space: 88px;
  --docs-section-space-mobile: 68px;

  /* Corner radii. Thirteen values became four steps plus the two
     shapes; the largest corner this moved is 2px. */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-round: 50%;
  --radius-pill: 999px;

  /* Tracking. Eight positive values became five steps, none moving
     more than 0.01em. */
  --track-tight: 0.02em;
  --track-wide: 0.09em;
  --track-wider: 0.12em;
  --track-widest: 0.15em;
  --track-ultra: 0.17em;
  --track-tight-neg: -0.02em;
  /* Large type is tracked optically, so these are tied to the display steps
     rather than to the positive scale. -0.05 and -0.052 were 0.2px apart on a
     100px headline and are now one value; the hero keeps its own. */

  /* Leading. Display headings are set by eye per size, so these are named
     rather than merged: snapping 0.93 to a shared step moved the hero by
     7.3px a line, which a render comparison caught. */
  --leading-hero: 0.93;
  --leading-display: 1;
  --leading-tight: 1.04;
  --leading-heading: 1.2;
  --leading-snug: 1.5;
  --leading-normal: 1.55;
  --leading-body: 1.6;
  --leading-relaxed: 1.8;
  --track-display: -0.051em;
  --track-display-hero: -0.066em;

}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -20%, #123050 0, transparent 38%),
    linear-gradient(180deg, var(--navy) 0%, var(--deep) 58%, #06101d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-80px);
  padding: 10px 16px;
  color: #03101c;
  background: var(--ice);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.aurora {
  position: absolute;
  z-index: -1;
  border-radius: var(--radius-round);
  filter: blur(80px);
  opacity: 0.16;
  pointer-events: none;
}

.aurora-one {
  width: 620px;
  height: 620px;
  top: 90px;
  right: -230px;
  background: #007dff;
}

.aurora-two {
  width: 430px;
  height: 430px;
  top: 760px;
  left: -260px;
  background: #00d9ff;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 10, 19, 0.68);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-size: var(--text-xl);
  font-weight: 760;
  letter-spacing: var(--track-tight-neg);
}

.brand img {
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #adc0d2;
  text-decoration: none;
  font-size: var(--text-lg);
  font-weight: 560;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-links .nav-github {
  padding: 8px 15px;
  border: 1px solid rgba(184, 244, 255, 0.3);
  border-radius: var(--radius-sm);
  color: var(--ice);
}

.menu-button {
  display: none;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--ink);
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px;
  background: currentColor;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 30px;
  padding-block: 78px 84px;
}

.eyebrow,
.kicker {
  color: var(--cyan);
  font-size: var(--text-xs);
  font-weight: 750;
  letter-spacing: var(--track-ultra);
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 27px;
  font-size: var(--display-1);
  line-height: var(--leading-hero);
  letter-spacing: var(--track-display-hero);
  font-weight: 770;
}

h1 em {
  color: transparent;
  background: linear-gradient(110deg, #fff 0%, #a9efff 45%, #31d9ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: var(--text-xl);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: var(--text-lg);
  font-weight: 720;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #00101a;
  background: linear-gradient(115deg, #d5f9ff, #39d9ff);
  box-shadow: 0 12px 40px rgba(49, 217, 255, 0.19);
}

.button-secondary {
  border: 1px solid rgba(184, 244, 255, 0.2);
  color: #d7ecf8;
  background: rgba(11, 28, 47, 0.44);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 35px;
  color: #7890a6;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
}

.hero-facts span {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero-facts span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 16px;
  border-radius: var(--radius-round);
  background: #456278;
}

.hero-facts b {
  color: #d8f5ff;
  font-size: var(--text-sm);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: var(--radius-round);
}

.hero-visual::before {
  inset: 4%;
  border: 1px solid rgba(100, 213, 255, 0.09);
  background:
    repeating-radial-gradient(circle, transparent 0 52px, rgba(90, 185, 228, 0.055) 53px 54px),
    radial-gradient(circle, rgba(29, 148, 255, 0.16), transparent 66%);
}

.hero-visual::after {
  inset: 18%;
  background: #0789d6;
  filter: blur(75px);
  opacity: 0.18;
}

.mark-halo {
  position: absolute;
  z-index: -1;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(112, 223, 255, 0.13);
  border-radius: var(--radius-round);
  box-shadow: 0 0 80px rgba(15, 147, 255, 0.12);
}

.hero-mark {
  width: min(92%, 540px);
  height: auto;
  filter: drop-shadow(0 22px 36px rgba(0, 7, 22, 0.6));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.signal-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
  padding: 10px 13px;
  border: 1px solid rgba(159, 222, 248, 0.17);
  border-radius: var(--radius-sm);
  background: rgba(4, 15, 29, 0.78);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.signal-card small,
.signal-card b {
  display: block;
  line-height: var(--leading-heading);
}

.signal-card small {
  color: #688198;
  font-size: var(--text-3xs);
  letter-spacing: var(--track-widest);
}

.signal-card b {
  margin-top: 4px;
  color: #dff8ff;
  font-size: var(--text-xs);
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  box-shadow: 0 0 13px currentColor;
}

.signal-dot.cyan { color: var(--cyan); background: var(--cyan); }
.signal-dot.blue { color: var(--blue); background: var(--blue); }
.signal-dot.white { color: var(--ice); background: var(--ice); }
.signal-one { top: 14%; right: 1%; }
.signal-two { bottom: 13%; left: 1%; }
.signal-three { right: 3%; bottom: 25%; }

.principle-band {
  border-block: 1px solid var(--line);
  background: rgba(9, 25, 43, 0.52);
}

.principle-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.principle-inner p {
  margin: 0;
  color: #aac1d3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--text-sm);
  letter-spacing: var(--track-tight);
}

.principle-inner span {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: var(--radius-round);
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.section {
  padding-block: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}

.kicker {
  margin-bottom: 15px;
}

h2 {
  margin-bottom: 0;
  font-size: var(--display-2);
  line-height: var(--leading-tight);
  letter-spacing: var(--track-display);
}

.section-heading > p,
.workflow-copy > p:not(.kicker),
.start-card > div > p:not(.kicker) {
  margin-bottom: 3px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 360px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(17, 43, 70, 0.66), rgba(6, 16, 29, 0.78));
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  top: 17%;
  right: -75px;
  border-radius: var(--radius-round);
  background: rgba(27, 162, 255, 0.09);
  filter: blur(30px);
}

.feature-number {
  color: #5d7890;
  font: 0.7rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.feature-card h3 {
  position: absolute;
  left: 27px;
  right: 27px;
  bottom: 76px;
  margin-bottom: 7px;
  font-size: var(--text-2xl);
}

.feature-card p {
  position: absolute;
  left: 27px;
  right: 27px;
  bottom: 20px;
  min-height: 48px;
  margin: 0;
  color: #8fa8bc;
  font-size: var(--text-md);
  line-height: var(--leading-snug);
}

.mini-graph {
  position: absolute;
  width: 220px;
  height: 150px;
  top: 57px;
  left: calc(50% - 110px);
}

.node {
  position: absolute;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 3px solid var(--ice);
  border-radius: var(--radius-round);
  background: #083051;
  box-shadow: 0 0 20px rgba(49, 217, 255, 0.34);
}

.n1 { left: 8px; top: 68px; }
.n2 { left: 102px; top: 12px; }
.n3 { left: 106px; bottom: 6px; }
.n4 { right: 6px; top: 66px; }

.edge {
  position: absolute;
  z-index: 1;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, #2d769d, var(--cyan));
}

.e1 { width: 110px; left: 17px; top: 73px; transform: rotate(-31deg); }
.e2 { width: 111px; left: 17px; top: 80px; transform: rotate(31deg); }
.e3 { width: 105px; left: 116px; top: 74px; }

.digest-visual {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(75, 203, 255, 0.17);
  border-radius: var(--radius-md);
  background: #071526;
}

.digest-visual code {
  color: #72dfff;
  font-size: var(--text-xs);
}

.digest-visual span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: var(--radius-round);
  color: #03151a;
  background: var(--green);
}

.platforms {
  margin-top: 61px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.platforms span {
  min-height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(114, 204, 242, 0.12);
  border-radius: var(--radius-sm);
  color: #7493aa;
  background: rgba(7, 21, 38, 0.75);
  font: 0.58rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.proof-section {
  width: 100%;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(rgba(8, 22, 39, 0.88), rgba(5, 14, 26, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(114, 198, 235, 0.04) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(114, 198, 235, 0.04) 80px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.metrics article {
  min-height: 220px;
  padding: 30px;
  background: rgba(5, 16, 29, 0.94);
}

.metric-label {
  display: block;
  margin-bottom: 22px;
  color: #7896ad;
  font-size: var(--text-2xs);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
}

.metrics strong {
  display: block;
  margin-bottom: 10px;
  color: transparent;
  background: linear-gradient(110deg, #fff, #52ddff);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: var(--display-3);
  line-height: var(--leading-display);
  letter-spacing: var(--track-display);
}

.metrics small {
  /* em, not a token: this scales with the metric beside it. */
  font-size: 0.38em;
}

.metrics p {
  margin: 0;
  color: #718ba1;
  font-size: var(--text-sm);
}

.proof-note {
  margin-top: 18px;
  color: #7892a8;
  font-size: var(--text-md);
}

.proof-note span {
  color: var(--ice);
  font-weight: 700;
}

.proof-note a,
.text-link {
  color: var(--cyan);
  text-decoration: none;
}

.proof-note a {
  margin-left: 8px;
}

.workflow-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 80px;
}

.workflow-copy h2 {
  margin-bottom: 25px;
}

.workflow-copy > p:not(.kicker) {
  margin-bottom: 24px;
}

.text-link {
  font-size: var(--text-lg);
  font-weight: 650;
}

.terminal {
  overflow: hidden;
  border: 1px solid rgba(152, 222, 252, 0.16);
  border-radius: var(--radius-lg);
  background: #030a12;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.terminal-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(152, 222, 252, 0.1);
  background: #091522;
}

.terminal-top span {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  background: #314c60;
}

.terminal-top span:first-child { background: #ff7474; }
.terminal-top span:nth-child(2) { background: #f3c65d; }
.terminal-top span:nth-child(3) { background: #4bd39a; }

.terminal-top b {
  margin-left: 7px;
  color: #6e879b;
  font-size: var(--text-2xs);
  font-weight: 600;
}

.terminal pre {
  min-height: 300px;
  margin: 0;
  padding: 31px;
  overflow-x: auto;
  color: #c3d9e8;
  font: 0.84rem/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.prompt,
.cyan-text { color: var(--cyan); }
.dim { color: #688196; }
.blue-text { color: #739dff; }
.green-text,
.success { color: var(--green); }

.start-section {
  padding-top: 30px;
}

.start-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 55px;
  padding: 55px;
  border: 1px solid rgba(130, 218, 255, 0.2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 95% 0%, rgba(35, 176, 255, 0.16), transparent 36%),
    linear-gradient(140deg, rgba(15, 39, 63, 0.83), rgba(6, 17, 30, 0.92));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.start-card h2 {
  margin-bottom: 15px;
  font-size: var(--display-4);
}

.install {
  overflow: hidden;
  border: 1px solid rgba(152, 222, 252, 0.14);
  border-radius: var(--radius-md);
  background: rgba(2, 9, 17, 0.72);
}

.install-tabs {
  display: flex;
  gap: 22px;
  padding: 0 19px;
  border-bottom: 1px solid rgba(152, 222, 252, 0.11);
}

.install-tabs button {
  position: relative;
  padding: 13px 0 11px;
  border: 0;
  color: #718a9e;
  background: transparent;
  font-size: var(--text-xs);
  cursor: pointer;
}

.install-tabs button.active {
  color: var(--ice);
}

.install-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
}

.command-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 20px 19px;
}

.command-row code {
  overflow-x: auto;
  color: #b7d3e3;
  font-size: var(--text-xs);
  white-space: nowrap;
}

.copy-button {
  padding: 6px 10px;
  border: 1px solid rgba(158, 225, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #91afc2;
  background: rgba(15, 42, 66, 0.72);
  font-size: var(--text-2xs);
  cursor: pointer;
}

.install > p {
  margin: 0;
  padding: 0 19px 18px;
  color: #667f93;
  font-size: var(--text-xs);
}

.install > p code {
  color: #9eddf1;
}

footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 140px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
}

.footer-inner > p {
  margin: 0;
  color: #607a90;
  font-size: var(--text-xs);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 21px;
}

.footer-links a {
  color: #829bae;
  text-decoration: none;
  font-size: var(--text-xs);
}

/* Documentation hub */

.nav-links .nav-current {
  color: #fff;
}

.nav-links .nav-current::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 5px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(49, 217, 255, 0.55);
}

.docs-main {
  padding-bottom: var(--space-20);
}

.docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  align-items: center;
  gap: var(--docs-layout-gap);
  padding-block: 92px var(--space-20);
}

.docs-hero > * {
  min-width: 0;
}

.docs-breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  color: #6f8ca3;
  font-size: var(--text-xs);
}

.docs-breadcrumbs a {
  color: #9ab8cc;
  text-decoration: none;
}

.docs-breadcrumbs span:last-child {
  color: var(--cyan);
}

.docs-hero h1 {
  max-width: 800px;
  margin-bottom: var(--space-6);
  font-size: var(--display-5);
}

.docs-hero h1 span {
  color: transparent;
  background: linear-gradient(110deg, #fff 0%, #a9efff 45%, #31d9ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.docs-hero-copy > p {
  max-width: 720px;
  margin-bottom: var(--space-8);
  color: var(--muted);
  font-size: var(--text-xl);
}

.docs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.docs-snapshot {
  position: relative;
  padding: var(--space-7);
  border: 1px solid rgba(143, 222, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 217, 255, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(14, 36, 60, 0.8), rgba(5, 15, 27, 0.9));
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.28);
}

.docs-snapshot-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  color: #91aec1;
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: var(--track-wider);
  text-transform: uppercase;
}

.docs-snapshot-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--radius-round);
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.docs-snapshot code {
  display: block;
  padding: var(--space-5);
  overflow-x: auto;
  border: 1px solid rgba(143, 222, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #b8eaff;
  background: rgba(2, 9, 17, 0.82);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  white-space: pre;
}

.docs-snapshot p {
  margin: var(--space-5) 0 0;
  color: #738da1;
  font-size: var(--text-sm);
}

.docs-rule {
  border-block: 1px solid var(--line);
  background: rgba(9, 25, 43, 0.52);
}

.docs-rule-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  color: #8da7ba;
  font-size: var(--text-md);
}

.docs-rule-inner strong {
  flex: 0 0 auto;
  color: var(--ice);
}

.docs-rule-inner span {
  width: 1px;
  height: 24px;
  flex: 0 0 auto;
  background: var(--line);
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: var(--docs-layout-gap);
  padding-top: 85px;
}

.docs-toc {
  position: sticky;
  top: var(--space-7);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.docs-toc > span {
  display: block;
  margin-bottom: var(--space-3);
  color: #58748a;
  font-size: var(--text-3xs);
  font-weight: 720;
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
}

.docs-toc a {
  display: block;
  padding: var(--space-2) 0;
  color: #829caf;
  text-decoration: none;
  font-size: var(--text-sm);
}

.docs-toc a:hover,
.docs-toc a:focus-visible {
  color: var(--ice);
}

.docs-content {
  min-width: 0;
}

.docs-section {
  padding-bottom: var(--docs-section-space);
  scroll-margin-top: var(--space-8);
}

.docs-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.55fr);
  align-items: end;
  gap: var(--space-10);
  margin-bottom: var(--space-8);
}

.docs-section-heading h2 {
  font-size: var(--display-6);
}

.docs-section-heading > p {
  margin: 0 0 2px;
  color: #7f9aae;
  font-size: var(--text-md);
}

.docs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.docs-card {
  position: relative;
  min-height: 225px;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: inherit;
  background:
    linear-gradient(145deg, rgba(16, 40, 66, 0.64), rgba(6, 16, 29, 0.78));
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.docs-card:hover,
.docs-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(49, 217, 255, 0.35);
}

.docs-card-tag {
  color: var(--cyan);
  font-size: var(--text-3xs);
  font-weight: 740;
  letter-spacing: var(--track-wider);
  text-transform: uppercase;
}

.docs-card h3 {
  margin: var(--space-10) 0 var(--space-2);
  font-size: var(--text-xl);
}

.docs-card p {
  margin: 0;
  color: #829caf;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.docs-card-arrow {
  margin-top: auto;
  padding-top: var(--space-5);
  color: var(--ice);
  font-size: var(--text-sm);
}

.docs-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.docs-group {
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 22, 38, 0.68);
}

.docs-group h3 {
  margin-bottom: var(--space-2);
  color: #dceff8;
  font-size: var(--text-lg);
}

.docs-group > p {
  margin-bottom: var(--space-5);
  color: #6f899e;
  font-size: var(--text-xs);
}

.doc-list {
  display: grid;
  gap: 1px;
}

.doc-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(164, 221, 247, 0.09);
  color: #a9c1d1;
  text-decoration: none;
  font-size: var(--text-sm);
}

.doc-list a::after {
  content: "↗";
  color: #54768d;
}

.doc-list a:hover,
.doc-list a:focus-visible {
  color: var(--ice);
}

.docs-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8);
  border: 1px solid rgba(82, 225, 177, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 95% 0%, rgba(82, 225, 177, 0.1), transparent 36%),
    rgba(7, 24, 36, 0.82);
}

.docs-callout h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
}

.docs-callout p {
  margin: 0;
  color: #7e99ac;
  font-size: var(--text-sm);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .feature-card-wide {
    grid-column: 1 / -1;
  }

  .workflow-section,
  .start-card {
    grid-template-columns: 1fr;
  }

  .workflow-section {
    gap: 55px;
  }

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

  .footer-inner > p {
    display: none;
  }

  .docs-hero {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .docs-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
  }

  .docs-toc > span {
    width: 100%;
  }

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

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 66px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 14px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(4, 12, 22, 0.98);
  }

  .nav-links.open {
    display: flex;
  }

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

  .nav-links .nav-current::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 58px 65px;
  }

  h1 {
    font-size: var(--display-7);
  }

  .hero-facts {
    gap: 11px;
  }

  .hero-facts span + span::before {
    margin-right: 5px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .signal-card {
    transform: scale(0.82);
  }

  .signal-one { top: 7%; right: -5%; }
  .signal-two { bottom: 6%; left: -5%; }
  .signal-three { right: -6%; bottom: 25%; }

  .principle-inner {
    min-height: 145px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .principle-inner span {
    display: none;
  }

  .section {
    padding-block: 80px;
  }

  .feature-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .feature-card-wide {
    grid-column: auto;
  }

  .metrics article {
    min-height: 180px;
  }

  .start-section {
    padding-top: 10px;
  }

  .start-card {
    padding: 28px 20px;
  }

  .command-row {
    grid-template-columns: 1fr;
  }

  .copy-button {
    justify-self: start;
  }

  .footer-inner {
    min-height: 170px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .docs-main {
    padding-bottom: var(--space-8);
  }

  .docs-hero {
    padding-block: var(--space-15);
  }

  .docs-hero h1 {
    font-size: var(--display-8);
  }

  .docs-rule-inner {
    min-height: 120px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2);
  }

  .docs-rule-inner span {
    display: none;
  }

  .docs-layout {
    padding-top: var(--space-15);
  }

  .docs-toc {
    display: none;
  }

  .docs-section {
    padding-bottom: var(--docs-section-space-mobile);
  }

  .docs-section-heading {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .docs-card-grid,
  .docs-groups {
    grid-template-columns: 1fr;
  }

  .docs-card {
    min-height: 205px;
  }

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

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

  .hero-mark {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
