@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07070a;
  --bg-soft: #0b0b10;
  --bg-elev: #0e0e15;
  --surface: #101017;
  --surface-2: #14141d;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f3f1f7;
  --text-soft: #c8c3d3;
  --muted: #9b95a9;
  --muted-2: #8b8699;
  --accent: #a78bfa;
  --accent-strong: #8b5cf6;
  --accent-bright: #c4b5fd;
  --accent-soft: rgba(139, 92, 246, 0.11);
  --green: #7dd3a0;
  --amber: #e5c07b;
  --red: #f08a8a;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
  --font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1000px 560px at 50% -160px, rgba(139, 92, 246, 0.1), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: rgba(167, 139, 250, 0.32);
  color: #ffffff;
}

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

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #150d26;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(7, 7, 10, 0.86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
}

.nav-link {
  padding: 8px 11px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}

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

.nav-link[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.status-pill:hover {
  color: var(--text-soft);
  border-color: var(--line-strong);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(125, 211, 160, 0.55);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
}

.nav-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle-lines i {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #09090e;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.mobile-menu-inner {
  padding: 14px 0 24px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 16px;
  text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link[aria-current="page"] {
  color: var(--accent-bright);
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.mobile-menu-foot .button {
  width: 100%;
}

.mobile-menu-foot p {
  margin: 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Buttons, tags, shared type
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.button .icon {
  width: 16px;
  height: 16px;
}

.button-primary {
  background: var(--accent);
  color: #150d26;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 24px rgba(139, 92, 246, 0.17);
}

.button-primary:hover {
  background: #b9a2ff;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 30px rgba(139, 92, 246, 0.24);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.button-sm {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
}

.button-sm .icon {
  width: 14px;
  height: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.text-link:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
}

.text-link .icon {
  width: 15px;
  height: 15px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
  flex: none;
}

.lede {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.tag-available {
  border-color: rgba(125, 211, 160, 0.22);
  background: rgba(125, 211, 160, 0.06);
  color: #8fd6ad;
}

.tag-development {
  border-color: rgba(229, 192, 123, 0.24);
  background: rgba(229, 192, 123, 0.06);
  color: #e5c07b;
}

.tag-experimental {
  border-color: rgba(196, 181, 253, 0.24);
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-bright);
}

.tag-private {
  border-color: var(--line-strong);
  color: var(--muted);
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-tight {
  padding: 64px 0;
}

.page-hero + .section,
.docs-hero + .docs-shell {
  border-top: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.section-head-center .eyebrow {
  justify-content: center;
}

.section-head-center .lede {
  margin-inline: auto;
}

.section h2,
.arch-copy h2,
.cta-copy h2,
.feature-block h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.3vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-note {
  margin: 22px 0 0;
  color: var(--muted-2);
  font-size: 12.5px;
}

.section-note a {
  color: var(--muted);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.section-note a:hover {
  color: var(--accent-bright);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 760px;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 0%, #000 12%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 0%, #000 12%, transparent 76%);
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  top: -190px;
  left: 50%;
  width: 900px;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.18), transparent);
  transform: translateX(-50%);
  filter: blur(40px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-copy {
  max-width: 960px;
  margin-inline: auto;
}

.hero .eyebrow {
  justify-content: center;
}

.hero h1 {
  margin: 0 auto 24px;
  font-size: clamp(2.9rem, 6.7vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 .dim {
  color: transparent;
  background: linear-gradient(180deg, #ded8ea 0%, #8e879f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lede {
  max-width: 730px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 18px;
  margin: 24px 0 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}

.hero-visual {
  position: relative;
  z-index: 1;
  isolation: isolate;
  max-width: 1080px;
  margin: 52px auto 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 4% -6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.24), transparent 72%);
  filter: blur(54px);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  .hero-copy > *:nth-child(2) {
    animation-delay: 0.05s;
  }
  .hero-copy > *:nth-child(3) {
    animation-delay: 0.1s;
  }
  .hero-copy > *:nth-child(4) {
    animation-delay: 0.15s;
  }
  .hero-copy > *:nth-child(5) {
    animation-delay: 0.2s;
  }
  .hero-visual {
    animation: rise 0.85s 0.18s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
}

/* --------------------------------------------------------------------------
   Product frame
   -------------------------------------------------------------------------- */

.product-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--bg-soft);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.product-frame-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #0c0c12;
}

.window-dots {
  display: flex;
  gap: 5px;
  flex: none;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.window-dots i:first-child {
  background: rgba(240, 138, 138, 0.45);
}

.window-dots i:nth-child(2) {
  background: rgba(229, 192, 123, 0.4);
}

.window-dots i:nth-child(3) {
  background: rgba(125, 211, 160, 0.38);
}

.product-frame-title {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.frame-local {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.frame-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(125, 211, 160, 0.55);
}

.product-frame-body {
  background: #050507;
  line-height: 0;
}

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

.frame-caption {
  margin: 0;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  background: #0b0b10;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.55;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Stats, split, checks
   -------------------------------------------------------------------------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 64px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 24px 24px 26px;
  background: var(--bg);
}

.stat-value {
  color: var(--text);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.stat-value em {
  color: var(--accent);
  font-style: normal;
}

.stat-label {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.split-copy {
  min-width: 0;
}

.split-copy h2 {
  margin: 0;
}

.split-media {
  min-width: 0;
  margin: 0;
}

.check-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 13px;
}

.check-icon {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.check-icon .icon {
  width: 12px;
  height: 12px;
}

.check h3 {
  margin: 0 0 3px;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}

.check p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Feature grid
   -------------------------------------------------------------------------- */

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

.feature {
  display: flex;
  flex-direction: column;
  min-height: 226px;
  padding: 26px;
  background: var(--bg-soft);
  transition: background 0.2s ease;
}

.feature:hover {
  background: #0f0f17;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.feature-icon .icon {
  width: 18px;
  height: 18px;
}

.feature h3 {
  margin: 18px 0 8px;
  font-size: 16px;
  letter-spacing: -0.018em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
}

.feature-foot {
  margin-top: auto;
  padding-top: 20px;
}

/* --------------------------------------------------------------------------
   Flow
   -------------------------------------------------------------------------- */

.flow {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.flow-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.flow-num {
  padding-top: 2px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.flow-step h3 {
  margin: 0 0 3px;
  font-size: 14.5px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Architecture
   -------------------------------------------------------------------------- */

.arch-band {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #09090e;
}

.arch-band::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 640px;
  height: 640px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.13), transparent 72%);
  filter: blur(20px);
}

.arch-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 72px;
  align-items: center;
}

.arch-copy {
  min-width: 0;
}

.arch-copy .lede {
  max-width: 560px;
}

.arch-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.arch-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.arch-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--accent);
}

.arch-diagram {
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(11, 11, 17, 0.82);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.arch-node {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
}

.arch-node strong {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.arch-node small {
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.45;
}

.arch-kicker {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arch-connector {
  width: 1px;
  height: 14px;
  margin-inline: auto;
  background: var(--line-strong);
}

.arch-engines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.arch-engines span {
  padding: 9px 8px;
  background: #0d0d14;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.01em;
  text-align: center;
}

.arch-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.arch-note .icon {
  width: 12px;
  height: 12px;
  color: var(--green);
}

/* --------------------------------------------------------------------------
   Status columns
   -------------------------------------------------------------------------- */

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

.status-col {
  padding: 26px;
  background: var(--bg-soft);
}

.status-col h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.status-col h3 .status-dot {
  width: 6px;
  height: 6px;
}

.status-col-development .status-dot {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(229, 192, 123, 0.5);
}

.status-col-experimental .status-dot {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}

.status-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.status-item .icon {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  color: var(--muted-2);
}

.status-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-weight: 500;
}

.status-item span {
  display: block;
  color: var(--muted-2);
  font-size: 11.5px;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: center;
  overflow: hidden;
  padding: 42px 46px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.11), rgba(255, 255, 255, 0.018) 48%, rgba(255, 255, 255, 0.01));
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -4%;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.17), transparent 70%);
}

.cta-copy {
  position: relative;
  min-width: 0;
}

.cta-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.cta-copy p:last-child {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cta-actions .button {
  width: 100%;
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 54px;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 360px;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 55% 80% at 25% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 80% at 25% 0%, #000, transparent 75%);
  opacity: 0.5;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.page-hero .lede {
  max-width: 720px;
}

.page-meta {
  margin: 22px 0 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Feature page blocks
   -------------------------------------------------------------------------- */

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.feature-block:first-of-type {
  padding-top: 10px;
  border-top: 0;
}

.feature-block.reverse .feature-block-copy {
  order: 2;
}

.feature-block.reverse .feature-block-media {
  order: 1;
}

.feature-block-copy {
  min-width: 0;
}

.feature-block-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.feature-block-copy .lede {
  font-size: 15.5px;
}

.feature-block-media {
  min-width: 0;
}

.feature-block-media .product-frame {
  box-shadow: 0 26px 70px -20px rgba(0, 0, 0, 0.85);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  line-height: 1.55;
  vertical-align: top;
}

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

.data-table td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

.data-table .tag {
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   Principles, limits, access, roadmap
   -------------------------------------------------------------------------- */

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

.principle {
  padding: 24px;
  background: var(--bg-soft);
}

.principle .feature-icon {
  width: 32px;
  height: 32px;
}

.principle h3 {
  margin: 14px 0 7px;
  font-size: 14.5px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.limits-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.limits-list li {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.limits-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--amber);
}

.access-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.access-main {
  padding: 32px;
  background: var(--bg-soft);
}

.access-main h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.access-main p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.access-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-status .status-dot {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(229, 192, 123, 0.5);
}

.access-facts {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 32px;
  background: #0a0a10;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}

.fact-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-row span:first-child {
  color: var(--muted-2);
}

.fact-row span:last-child {
  color: var(--text);
  text-align: right;
}

.roadmap {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.roadmap-step {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 22px;
  background: var(--bg-soft);
}

.roadmap-step > span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.roadmap-step h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.roadmap-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Docs
   -------------------------------------------------------------------------- */

.docs-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 46px;
  border-bottom: 1px solid var(--line);
}

.docs-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 320px;
  pointer-events: none;
  background: radial-gradient(600px 280px at 15% 0%, rgba(139, 92, 246, 0.1), transparent 70%);
}

.docs-hero .container {
  position: relative;
}

.docs-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.docs-hero .lede {
  max-width: 700px;
}

.docs-shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 64px;
  padding: 44px 0 96px;
}

.docs-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  min-width: 0;
}

.docs-nav-label {
  margin: 0 0 10px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.docs-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-left: 1px solid var(--line);
}

.docs-nav a {
  display: block;
  margin-left: -1px;
  padding: 8px 12px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

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

.docs-nav a[aria-current="page"] {
  border-left-color: var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  color: var(--text);
}

.docs-nav-sep {
  height: 1px;
  margin: 14px 0;
  background: var(--line);
}

.docs-nav-back {
  display: inline-block;
  margin-top: 16px;
  color: var(--muted-2) !important;
  font-family: var(--font-mono);
  font-size: 9px !important;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.docs-nav-back:hover {
  color: var(--text) !important;
}

.docs-content {
  min-width: 0;
  max-width: 800px;
}

.doc-meta {
  margin: 0 0 26px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 48px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.prose h2:first-of-type {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  margin: 28px 0 10px;
  color: var(--text);
  font-size: 16.5px;
  letter-spacing: -0.015em;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 6px;
}

.prose li::marker {
  color: var(--muted-2);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--accent-bright);
  text-decoration-color: rgba(196, 181, 253, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.prose code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.86em;
}

.prose pre {
  overflow: auto;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #08080c;
  font-size: 12.5px;
  line-height: 1.65;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: none;
}

.prose blockquote {
  margin: 22px 0;
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
}

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

.prose .table-wrap {
  margin: 0 0 22px;
}

.prose .data-table {
  font-size: 12.5px;
}

.prose hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.doc-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.doc-pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.doc-pager a:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.doc-pager a:last-child {
  text-align: right;
}

.doc-pager span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.doc-pager strong {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
}

.doc-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--bg-soft);
  text-decoration: none;
  transition: background 0.18s ease;
}

.doc-card:hover {
  background: #101017;
}

.doc-card h2,
.doc-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 14.5px;
  letter-spacing: -0.01em;
}

.doc-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.doc-card span {
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Higher-specificity overrides for cards embedded in prose. */
.prose .doc-card {
  color: inherit;
  text-decoration: none;
}

.prose .doc-card h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.prose .doc-card p {
  margin: 0;
}

.prose .doc-card span {
  color: var(--accent);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Legal
   -------------------------------------------------------------------------- */

.legal-shell {
  padding: 52px 0 96px;
}

.legal {
  max-width: 780px;
}

.legal address {
  margin: 0 0 20px;
  color: var(--text-soft);
  font-style: normal;
  line-height: 1.9;
}

.notice {
  margin: 0 0 28px;
  padding: 14px 16px;
  border: 1px solid rgba(229, 192, 123, 0.24);
  border-radius: 10px;
  background: rgba(229, 192, 123, 0.055);
  color: #dcc08a;
  font-size: 13px;
  line-height: 1.65;
}

.placeholder {
  display: inline;
  border-bottom: 1px dashed rgba(229, 192, 123, 0.55);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.86em;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 64px 0 26px;
  border-top: 1px solid var(--line);
  background: #08080c;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
  gap: 64px;
}

.footer-brand p {
  max-width: 340px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.footer-brand .footer-version {
  margin-top: 18px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h2 {
  margin: 0 0 6px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a {
  color: var(--muted);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.16s ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

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

/* Content is always visible. Motion is limited to the hero entrance and
   interaction states so print, full-page capture and no-JS remain complete. */

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .header-inner {
    gap: 20px;
  }
  .status-pill {
    display: none;
  }
  .split,
  .arch-grid {
    gap: 44px;
  }
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .hero {
    padding-top: 64px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 9vw, 4.6rem);
  }
  .split,
  .arch-grid,
  .feature-block {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    gap: 40px;
  }
  .split-media {
    max-width: 760px;
  }
  .arch-grid {
    gap: 40px;
  }
  .arch-diagram {
    max-width: 620px;
  }
  .feature-block {
    gap: 32px;
    padding: 52px 0;
  }
  .feature-block.reverse .feature-block-copy,
  .feature-block.reverse .feature-block-media {
    order: initial;
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .status-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 32px;
  }
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cta-actions .button {
    width: auto;
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .docs-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 32px;
  }
  .docs-sidebar {
    position: static;
  }
  .docs-nav {
    flex-direction: row;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 6px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .docs-nav a {
    margin-left: 0;
    padding: 8px 10px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .docs-nav a[aria-current="page"] {
    border-bottom-color: var(--accent);
    background: none;
  }
  .docs-nav-label,
  .docs-nav-sep {
    display: none;
  }
  .access-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-hero {
    padding-top: 58px;
  }
  .page-hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.4rem);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 36px, 1180px);
  }
  .header-inner {
    height: 62px;
  }
  .brand-name {
    font-size: 12.5px;
  }
  .section {
    padding: 72px 0;
  }
  .section-tight {
    padding: 52px 0;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .hero {
    padding-top: 52px;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.9rem);
    letter-spacing: -0.045em;
  }
  .hero-lede {
    font-size: 15.5px;
  }
  .hero-actions .button {
    flex: 1 1 210px;
  }
  .hero-visual {
    margin-top: 38px;
  }
  .hero-meta {
    gap: 6px 12px;
  }
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 44px;
  }
  .stat {
    padding: 20px;
  }
  .stat-value {
    font-size: 26px;
  }
  .feature-grid,
  .principles {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature {
    min-height: 0;
    padding: 22px;
  }
  .arch-band {
    padding: 72px 0;
  }
  .arch-diagram {
    padding: 16px;
  }
  .cta-panel {
    padding: 26px 24px;
  }
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .button {
    width: 100%;
  }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .footer-bottom {
    margin-top: 38px;
  }
  .page-hero,
  .docs-hero {
    padding-top: 48px;
    padding-bottom: 38px;
  }
  .page-hero h1,
  .docs-hero h1 {
    font-size: clamp(2.15rem, 9vw, 3.2rem);
  }
  .lede {
    font-size: 15px;
  }
  .docs-shell {
    padding-bottom: 72px;
  }
  .prose {
    font-size: 15px;
  }
  .prose h2 {
    font-size: 21px;
    margin-top: 40px;
    padding-top: 24px;
  }
  .doc-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-pager a:last-child {
    text-align: left;
  }
  .access-main,
  .access-facts {
    padding: 24px;
  }
  .roadmap-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 18px 20px;
  }
  .product-frame-bar {
    height: 34px;
    padding: 0 11px;
  }
  .product-frame-title {
    max-width: 55%;
  }
  .frame-caption {
    padding: 10px 12px;
    font-size: 11px;
  }
  .legal-shell {
    padding: 40px 0 72px;
  }
}

@media (max-width: 520px) {
  .brand-name {
    display: none;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.2rem);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    flex: 0 0 auto;
    width: 100%;
  }
  .hero-meta {
    gap: 5px 12px;
  }
  .stat {
    padding: 18px 16px;
  }
  .stat-value {
    font-size: 24px;
  }
  .stat-label {
    font-size: 8px;
  }
  .feature-grid,
  .principles,
  .status-grid {
    border-radius: 12px;
  }
  .cta-panel {
    border-radius: 14px;
  }
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .product-frame-title {
    display: none;
  }
  .frame-local {
    margin-left: auto;
  }
  .arch-engines {
    grid-template-columns: minmax(0, 1fr);
  }
  .section h2,
  .arch-copy h2,
  .cta-copy h2,
  .feature-block h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }
  .page-meta {
    line-height: 1.7;
  }
  .doc-pager a:last-child {
    text-align: left;
  }
}

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