/* ============================================================
   claws landing — shared CSS
   Builds on colors_and_type.css with page chrome + components
   used across the landing, product pages, pricing, etc.
   ============================================================ */

@import url("colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

main, footer, header { position: relative; z-index: 2; }
header { z-index: 100; }

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

/* ---------- skip link (WCAG bypass block) ---------- */
.skip-link {
  position: absolute;
  top: -120px;
  left: max(16px, env(safe-area-inset-left));
  z-index: 200;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus {
  outline: none;
}
.skip-link:focus-visible {
  top: min(104px, max(76px, 12px + env(safe-area-inset-top, 0px)));
  outline: 2px solid rgba(124, 92, 255, 0.95);
  outline-offset: 2px;
}

/* Visible focus rings (prefer keyboard / AT affordance over mouse-only outlines) */
.wordmark:focus-visible,
.site-header nav a:focus-visible,
.nav-toggle:focus-visible,
.nav-dropdown-trigger:focus-visible,
.btn-console:focus-visible,
.site-footer .footer-social-link:focus-visible,
.site-footer .footer-cols a:focus-visible,
.site-footer .footer-legal-links a:focus-visible {
  outline: 2px solid var(--hairline-emph);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn-console:focus-visible { border-radius: 999px; }
.nav-toggle:focus-visible { border-radius: 10px; }
.nav-dropdown-trigger:focus-visible { border-radius: 6px; }
.footer-social-link:focus-visible { border-radius: 999px; }
.snippet-copy:focus-visible {
  outline: 2px solid var(--hairline-emph);
  outline-offset: 2px;
}

/* ---------- container ---------- */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background-color 200ms, border-color 200ms, backdrop-filter 200ms;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  gap: 4px 12px;
}
.site-header nav {
  display: none;
  align-items: center;
  gap: 2px;
  font-size: 13.5px;
  color: rgba(231, 231, 231, 0.7);
  white-space: nowrap;
}
.site-header nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms, color 150ms;
}
.site-header nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.site-header nav a.is-active {
  color: #fff;
}

/* products dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  font-weight: inherit;
  color: rgba(231, 231, 231, 0.7);
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms, color 150ms;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.nav-dropdown-trigger.is-active {
  color: #fff;
}
.nav-dropdown-chevron {
  opacity: 0.65;
  transition: transform 200ms, opacity 200ms;
}
.nav-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 196px;
  padding: 6px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.95),
              0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms, transform 160ms, visibility 160ms;
  z-index: 120;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(231, 231, 231, 0.78);
  text-decoration: none;
  font-size: 13.5px;
  transition: background 150ms, color 150ms;
}
.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.nav-dropdown-item.is-active {
  background: rgba(124, 92, 255, 0.12);
  color: #fff;
}
.nav-dropdown-all {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-dropdown-all:hover {
  color: var(--accent);
}

@media (min-width: 900px) {
  .site-header nav { overflow: visible; }
}

/* header actions — burger + console */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 899px) {
  .header-actions { margin-left: auto; }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
  color: var(--fg);
  cursor: pointer;
  font-family: inherit;
  transition: background 150ms, border-color 150ms, transform 120ms;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}
.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 200ms, opacity 200ms, width 200ms;
}
.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.6);
}
.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.site-header.is-nav-open .nav-toggle {
  background: rgba(124, 92, 255, 0.1);
  border-color: rgba(124, 92, 255, 0.35);
  color: #fff;
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .site-header.is-nav-open {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--hairline);
  }

  .site-header nav {
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    margin: 0;
    border-top: 1px solid transparent;
    transition: max-height 260ms ease, opacity 200ms ease, padding 200ms ease, margin 200ms ease, border-color 200ms;
  }
  .site-header.is-nav-open nav {
    display: flex;
    max-height: min(85vh, 680px);
    overflow-y: auto;
    opacity: 1;
    padding: 10px 0 6px;
    margin-top: 2px;
    border-top-color: var(--hairline);
  }
  .site-header nav a {
    padding: 11px 10px;
    white-space: normal;
    font-size: 14px;
  }
  .site-header nav a.is-active {
    background: rgba(124, 92, 255, 0.1);
    color: #fff;
  }

  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 11px 10px;
    font-size: 14px;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    margin: 0 0 4px;
    padding: 0 0 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: max-height 240ms ease, padding 200ms ease;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 320px;
    padding: 2px 0 6px 8px;
    pointer-events: auto;
  }
  .nav-dropdown-item {
    padding: 9px 10px;
    font-size: 13.5px;
  }
  .nav-dropdown-all {
    margin-top: 2px;
    padding-top: 8px;
  }
}

@media (min-width: 900px) {
  .site-header nav { display: flex; }
}

/* wordmark */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 600;
  letter-spacing: -0.04em;
  user-select: none;
  font-size: 24px;
  line-height: 1;
  color: var(--fg);
  text-decoration: none;
}
.wordmark img {
  display: inline-block;
  width: 28px;
  height: 20px;
  transform: translateY(8%);
  margin: 0 1px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: transform 100ms ease-out, filter 100ms ease-out,
              background 150ms, border-color 150ms;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #1a0d05;
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--fg);
  font-weight: 500;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }

/* console button — special compact treatment */
.btn-console {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 6px 7px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
  color: var(--fg);
  text-decoration: none;
  transition: all 150ms;
}
.btn-console:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}
.btn-console .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a0d05;
  font-size: 13px;
}

/* ---------- pills + tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(232, 93, 36, 0.06);
  line-height: 1;
  white-space: nowrap;
}
.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
.pill.is-soon {
  color: var(--muted);
  background: transparent;
}
.pill.is-soon .dot { background: var(--muted); animation: none; }
.pill.is-dev {
  color: oklch(84.5% 0.143 164.978);
  background: rgba(0, 187, 127, 0.04);
  border-color: rgba(0, 187, 127, 0.18);
}
.pill.is-dev .dot {
  background: oklch(76.5% 0.177 163.223);
  animation: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ---------- typography ---------- */
.text-display {
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
}
.text-h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.text-h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(232, 93, 36, 0.95);
}

/* ---------- cards ---------- */
.card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  transition: background 150ms, border-color 150ms, transform 150ms;
}
.card.is-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.card.is-link:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* ---------- hairline rules ---------- */
.hairline-t { border-top: 1px solid var(--hairline); }
.hairline-b { border-bottom: 1px solid var(--hairline); }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- inputs ---------- */
.input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--fg);
  outline: none;
  font-family: inherit;
  transition: border-color 150ms;
  width: 100%;
}
.input::placeholder { color: var(--muted); }
.input:focus { border-color: rgba(255, 255, 255, 0.22); }
.input:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  outline: 2px solid var(--hairline-emph);
  outline-offset: 2px;
}

/* ---------- atmosphere (hero only) ---------- */
.atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}
.atmosphere .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 0),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 0);
  background-size: 88px 88px;
  animation: grid-pan 36s linear infinite;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 80%);
}
.atmosphere .glow-orange {
  position: absolute;
  left: 50%;
  top: 12%;
  transform: translate(-50%, 0);
  width: min(900px, 90vw);
  height: 640px;
  background: radial-gradient(closest-side, rgba(232, 93, 36, 0.22), transparent 70%);
}
.atmosphere .glow-violet {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, 0);
  width: min(700px, 80vw);
  height: 420px;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.10), transparent 70%);
}
.atmosphere .fade-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0, transparent 65%, #000 100%);
}
@keyframes grid-pan {
  0% { background-position: 0 0; }
  100% { background-position: 88px 88px; }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  margin-top: 96px;
}
.site-footer .container {
  padding-block: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.footer-cols .footer-cols-heading {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 500;
}
.footer-cols a {
  display: block;
  font-size: 14px;
  color: rgba(231, 231, 231, 0.8);
  text-decoration: none;
  padding-block: 4px;
  transition: color 150ms;
}
.footer-cols a:hover { color: #fff; }
.footer-tagline {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.6;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-social-link {
  display: inline-flex;
  color: rgba(231, 231, 231, 0.72);
  transition: color 150ms;
}
.footer-social-link:hover {
  color: #fff;
}
.built-on {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 5px 12px;
}
.built-on .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 2fr; }
}

/* ---------- section spacing ---------- */
section { scroll-margin-top: 80px; }
.section { padding-block: 80px; }
.section-tight { padding-block: 56px; }
@media (max-width: 640px) {
  .section { padding-block: 64px; }
}

/* ---------- reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .atmosphere .grid,
  .pill .dot,
  .bar-fill {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .skip-link:focus-visible {
    transition: none !important;
    top: min(104px, max(76px, 12px + env(safe-area-inset-top, 0px)));
  }
  .site-header {
    transition: none !important;
  }
  .site-header nav {
    transition: none !important;
  }
  .nav-toggle-bar {
    transition: none !important;
  }
}

/* Console CTA mirrors nav “current” affordance without changing label */
.btn-console.is-current {
  border-color: rgba(232, 93, 36, 0.45);
  background: rgba(232, 93, 36, 0.08);
  color: var(--fg-strong);
}

/* ---------- marketing / subpages ---------- */
.specimen-note {
  margin: 0 0 28px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed rgba(232, 93, 36, 0.25);
  border-radius: 10px;
  background: rgba(232, 93, 36, 0.04);
  max-width: 840px;
}
.subpage-main {
  padding-top: 112px;
  padding-bottom: 48px;
  min-height: calc(100vh - 420px);
}
.subpage-main > .section:first-child,
.subpage-hero.section {
  padding-top: 0;
}
.inner-container {
  max-width: 800px;
  margin-inline: auto;
}
.inner-container-wide {
  max-width: 960px;
  margin-inline: auto;
}
.prose-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(231, 231, 231, 0.86);
}
.prose-stack h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 32px 0 0;
}
.prose-stack h2:first-child { margin-top: 0; }
.prose-stack h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 24px 0 8px;
}
.prose-stack p { margin: 0; color: rgba(231, 231, 231, 0.8); }
.prose-stack ul {
  margin: 0;
  padding-left: 1.35em;
  color: rgba(231, 231, 231, 0.8);
}
.prose-stack li { margin-block: 6px; }
.prose-stack strong { color: #fff; font-weight: 600; }

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: 1fr; }
}

.tier-card {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--hairline);
}
.tier-card .tier-price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.tier-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
.tier-card ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 14px;
  color: rgba(231, 231, 231, 0.78);
  line-height: 1.55;
}
.tier-card .tier-flag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.snippet-block {
  margin-top: 8px;
  padding: 12px 14px 44px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: #fff;
  background: #050505;
  border: 1px solid rgba(124, 92, 255, 0.12);
  border-radius: 10px;
  overflow-x: auto;
  white-space: pre;
  position: relative;
  max-width: 100%;
  box-shadow:
    inset 0 1px 0 rgba(232, 93, 36, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}
.snippet-block code {
  font-family: inherit;
  white-space: pre;
}
.snippet-copy {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 4px 8px;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 160ms, color 160ms, background 160ms;
}
.snippet-copy:hover {
  opacity: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.snippet-copy.is-copied {
  color: oklch(84.5% 0.143 164.978);
  border-color: oklch(50% 0.12 164);
}

.figure-card {
  margin: 28px 0;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(80% 60% at 10% 0%, rgba(232, 93, 36, 0.06), transparent 65%),
    rgba(255, 255, 255, 0.015);
}
.figure-caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.bar-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.2fr;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: rgba(231, 231, 231, 0.75);
}
.bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(124, 92, 255, 0.85));
  width: calc(var(--p, 0.5) * 100%);
  transition: width 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.status-table-wrap {
  margin-top: 20px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
}
.status-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.status-table-wrap th,
.status-table-wrap td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}
.status-table-wrap th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
}
.status-table-wrap tr:last-child td { border-bottom: 0; }
.status-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: oklch(76.5% 0.177 163.223);
}

.changelog-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.changelog-entry {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.018);
}
.changelog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.changelog-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.docs-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.docs-toc {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  padding-right: 8px;
}
.docs-toc a {
  color: rgba(231, 231, 231, 0.7);
  text-decoration: none;
  padding-block: 3px;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -4px;
  transition: color 150ms, border-color 150ms;
}
.docs-toc a:hover { color: #fff; }
.docs-toc a.is-active-doc {
  color: var(--accent);
  border-left-color: var(--accent);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 680px) { .related-grid { grid-template-columns: 1fr; } }

.footer-legal-links {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-legal-links a:hover { color: #fff; }

.product-split {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .product-split { grid-template-columns: 1fr; }
}
