/* ==========================================================================
   VeriX — static site
   Pure HTML/CSS/JS. No build step, no framework, no external requests.
   Palette: white / black / neutral grays + one functional green for pass states.
   ========================================================================== */

@font-face {
  font-family: "InterVar";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --ink: #0a0a0a;
  --ink-2: #101010;
  --ink-3: #171717;
  --paper: #ffffff;
  --paper-2: #f7f7f8;
  --paper-3: #f0f0f1;
  --paper-4: #e8e8ea;
  --line: rgba(10, 10, 10, 0.12);
  --line-strong: rgba(10, 10, 10, 0.22);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-dark-soft: rgba(255, 255, 255, 0.08);
  --muted: #6b6b70;
  --muted-2: #8b8b91;
  --muted-3: #a6a6ab;
  --on-dark: #f4f4f4;
  --on-dark-muted: rgba(255, 255, 255, 0.58);
  --on-dark-faint: rgba(255, 255, 255, 0.36);
  --signal: #22c55e;
  --signal-dark: #4ade80;
  --error: #f87171;
  --sans: "InterVar", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --mono: "JetBrains Mono", "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

code,
pre,
kbd {
  font-family: var(--mono);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
}

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

.section--ink :focus-visible,
.hero :focus-visible,
.footer :focus-visible,
.nav :focus-visible {
  outline-color: #fff;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: 0;
  background: rgba(8, 8, 8, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
  pointer-events: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav.is-scrolled {
  background: rgba(8, 8, 8, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  height: 64px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #fff;
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 38px;
}

.brand--footer .brand-logo {
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 8px;
}

.nav-links a,
.nav-doc,
.nav-login {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1;
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-doc:hover,
.nav-login:hover {
  color: #fff;
}

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

.nav-login {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 560;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn span {
  font-family: var(--mono);
  font-size: 12px;
  transition: transform 0.18s ease;
}

.btn:hover span {
  transform: translate(1px, -1px);
}

.btn--invert {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.btn--invert:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
}

.btn--sm {
  height: 38px;
  padding: 0 15px;
  font-size: 12.5px;
  border-radius: 7px;
}

.btn--light {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.btn--light:hover {
  background: #e6e6e6;
  border-color: #e6e6e6;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: #fff;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-burger span:first-child {
  top: 16px;
}

.nav-burger span:last-child {
  top: 21px;
}

.nav-burger[aria-expanded="true"] span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

.mobile-menu {
  width: 100%;
  margin: 0;
  padding: 12px 24px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: #0a0a0a;
  pointer-events: auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.mobile-menu a {
  padding: 11px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mobile-menu .mobile-cta {
  grid-column: 1 / -1;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  background: #fff;
  color: #000;
  font-weight: 560;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #080808;
  color: #fff;
  padding-top: 150px;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  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: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 82% 72% at 64% 38%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 82% 72% at 64% 38%, #000 0%, transparent 78%);
  z-index: -3;
}

.hero-wafer {
  position: absolute;
  top: 2%;
  right: -9%;
  width: min(760px, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.085) 0deg 0.34deg,
    transparent 0.34deg 5.6deg
  );
  -webkit-mask-image: radial-gradient(circle, transparent 0 31%, #000 31.5% 69%, transparent 69.5%);
  mask-image: radial-gradient(circle, transparent 0 31%, #000 31.5% 69%, transparent 69.5%);
  opacity: 0.55;
  z-index: -2;
  animation: wafer-spin 150s linear infinite;
}

.hero-wafer::before,
.hero-wafer::after {
  content: "";
  position: absolute;
  inset: 31%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-wafer::after {
  inset: 47%;
  border-style: dashed;
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  right: 2%;
  top: 4%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 62%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

@keyframes wafer-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 72px;
}

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

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.48);
}

.eyebrow--light::before {
  display: none;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
  flex-shrink: 0;
}

.hero h1 {
  margin: 24px 0 28px;
  max-width: 720px;
  font-size: clamp(50px, 6.35vw, 92px);
  line-height: 1.03;
  font-weight: 630;
  letter-spacing: -0.052em;
}

.hero h1 .u {
  text-decoration: underline;
  text-decoration-thickness: 0.045em;
  text-underline-offset: 0.14em;
  text-decoration-color: rgba(255, 255, 255, 0.42);
}

.hero-sub {
  max-width: 545px;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16.5px;
  line-height: 1.9;
  letter-spacing: 0.005em;
}

.hero-sub strong {
  color: #fff;
  font-weight: 520;
}

.hero-sub-proof {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.42);
}

.nowrap {
  white-space: nowrap;
}

.mobile-br {
  display: none;
}

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

.hero-tools {
  max-width: 545px;
  margin-top: 50px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

.hero-tools-label {
  width: 100%;
  margin-bottom: 2px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.3);
}

.hero-tools span:not(.hero-tools-label) {
  position: relative;
}

.hero-tools span:not(.hero-tools-label) + span {
  padding-left: 14px;
}

.hero-tools span:not(.hero-tools-label) + span::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
  position: relative;
  perspective: 1400px;
}

.run-badge {
  position: absolute;
  top: -30px;
  right: -10px;
  z-index: 3;
  width: 86px;
  height: 86px;
  display: grid;
  place-content: center;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-align: center;
  transform: rotate(8deg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.run-badge-ring {
  display: block;
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 2px;
}

.run-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: #101010;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform: rotateY(-2.4deg) rotateX(1.2deg);
  transform-origin: 60% 40%;
  transition: transform 0.5s var(--ease), border-color 0.3s ease;
}

.run-card:hover {
  transform: rotateY(0deg) rotateX(0deg);
  border-color: rgba(255, 255, 255, 0.24);
}

.run-head {
  height: 42px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #0d0d0d;
}

.run-dots {
  display: flex;
  gap: 4px;
}

.run-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.run-path {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.48);
}

.run-path span {
  padding: 0 3px;
  color: rgba(255, 255, 255, 0.2);
}

.run-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.38);
}

.run-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
}

.run-body {
  padding: 17px 17px 15px;
}

.run-prompt {
  display: flex;
  gap: 8px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.65;
  color: #fff;
}

.run-caret {
  color: rgba(255, 255, 255, 0.4);
}

.run-prompt code {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e2e2;
  font-size: 10.5px;
}

.run-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6.5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.055);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: run-line-in 0.55s var(--ease) forwards;
  animation-delay: calc(0.18s + var(--i) * 0.09s);
}

.run-glyph {
  color: rgba(255, 255, 255, 0.3);
}

.run-verb {
  width: 42px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.run-line code {
  color: #cfcfcf;
  font-size: 9.5px;
}

.run-text {
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.run-meta {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.27);
  font-size: 8px;
  letter-spacing: 0.04em;
}

@keyframes run-line-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.run-code {
  margin: 11px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: #0b0b0b;
  overflow: hidden;
}

.run-code-head {
  padding: 6px 9px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.28);
}

.run-code pre {
  margin: 0;
  padding: 9px 11px;
  font-size: 9.5px;
  line-height: 1.75;
  color: #a9a9a9;
  overflow-x: auto;
}

.run-code .ln {
  display: block;
}

.run-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  opacity: 0;
  animation: run-line-in 0.55s var(--ease) forwards;
  animation-delay: 0.52s;
}

.check {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.018);
  font-family: var(--mono);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.68);
}

.check i {
  color: var(--signal-dark);
  font-style: normal;
}

.check em {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.28);
  font-style: normal;
  font-size: 7.5px;
}

.run-foot {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
  opacity: 0;
  animation: run-line-in 0.55s var(--ease) forwards;
  animation-delay: 0.66s;
}

.run-seal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(74, 222, 128, 0.82);
}

.run-seal i {
  font-style: normal;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.32);
}

/* --------------------------------------------------------------------------
   Proof
   -------------------------------------------------------------------------- */

.proof {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 46px 0 38px;
}

.proof-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.proof-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.proof-copy {
  margin: 0;
  max-width: 480px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  text-align: right;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.proof-item {
  padding: 22px 24px 0 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.proof-item + .proof-item {
  padding-left: 24px;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-num {
  font-size: 44px;
  font-weight: 610;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.proof-num em {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-left: 2px;
}

.proof-name {
  margin-top: 9px;
  font-size: 12px;
  font-weight: 540;
  color: var(--ink);
}

.proof-desc {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Shared section furniture
   -------------------------------------------------------------------------- */

.section {
  padding: 112px 0;
}

.section--white {
  background: var(--paper);
}

.section--gray {
  background: var(--paper-2);
}

.section--ink {
  background: #080808;
  color: #fff;
}

.section-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 44px;
  align-items: end;
}

.section-head h2 {
  margin: 15px 0 0;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 615;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.section-head h2.statement {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.22;
  font-size: clamp(32px, 3.2vw, 46px);
  text-wrap: balance;
}

.section-head:not(.section-head--split) .lede {
  max-width: 640px;
}

.section-head--light {
  color: #fff;
}

.lede {
  margin: 18px 0 0;
  max-width: 430px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.section-head--split > .lede {
  margin: 0;
  padding-bottom: 4px;
}

.lede--light {
  color: rgba(255, 255, 255, 0.52);
}

.statement--light {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Problems
   -------------------------------------------------------------------------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.problem {
  padding: 26px 32px 0 0;
  border-right: 1px solid var(--line);
}

.problem + .problem {
  padding-left: 32px;
}

.problem:last-child {
  border-right: 0;
}

.problem-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.problem h3 {
  margin: 14px 0 8px;
  font-size: 16px;
  font-weight: 560;
  letter-spacing: -0.015em;
}

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

/* --------------------------------------------------------------------------
   Bento
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.bento-card {
  grid-column: span 4;
  min-height: 292px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s ease, box-shadow 0.28s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 10, 10, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.bento-card--wide {
  grid-column: span 7;
}

.bento-card--dark {
  grid-column: span 5;
  background: #0b0b0b;
  border-color: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.bento-card--dark:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.bento-card--full {
  grid-column: span 12;
  min-height: 250px;
}

.card-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.bento-card--dark .card-kicker {
  color: rgba(255, 255, 255, 0.34);
}

.bento-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  font-weight: 580;
  line-height: 1.35;
  letter-spacing: -0.028em;
}

.bento-card--wide h3 {
  font-size: 24px;
  max-width: 540px;
}

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

.bento-card--dark p {
  color: rgba(255, 255, 255, 0.5);
}

.card-foot {
  margin-top: 10px !important;
  font-family: var(--mono);
  font-size: 8.5px !important;
  color: var(--muted-2) !important;
  letter-spacing: 0.02em;
}

.matrix {
  margin-top: auto;
  padding-top: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 9px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 54px 1.25fr 1fr 26px;
  align-items: center;
  padding: 7px 9px;
  border-bottom: 1px solid var(--line);
  color: #4a4a4f;
}

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

.matrix-head {
  background: #fafafa;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.matrix .ok {
  color: #15803d;
  font-weight: 600;
}

.mini-diff {
  margin-top: auto;
  padding-top: 20px;
}

.mini-diff > div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  overflow: hidden;
}

.mini-diff-head {
  display: flex;
  justify-content: space-between;
  padding: 6px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.mini-diff-head .err {
  color: #f87171;
}

.mini-line {
  display: flex;
  gap: 7px;
  padding: 6px 9px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.mini-line span {
  flex-shrink: 0;
  opacity: 0.5;
}

.mini-line code {
  white-space: pre-wrap;
  word-break: break-all;
}

.mini-line--bad {
  background: rgba(248, 113, 113, 0.08);
  color: rgba(252, 165, 165, 0.85);
}

.mini-line--good {
  background: rgba(34, 197, 94, 0.08);
  color: rgba(134, 239, 172, 0.85);
}

.mini-first {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(74, 222, 128, 0.75);
}

.mini-first i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal-dark);
}

.tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 20px;
}

.tool-cloud span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fafafa;
  font-family: var(--mono);
  font-size: 8.5px;
  color: #4b4b50;
}

.tool-cloud i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #15803d;
}

.tree {
  margin-top: auto;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fafafa;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.9;
  color: #4a4a4f;
}

.tree b {
  color: var(--ink);
  font-weight: 600;
}

.tree span {
  float: right;
  color: var(--muted-2);
  font-size: 8px;
}

.quote {
  margin: auto 0 0;
  padding: 20px 0 0 14px;
  border-left: 2px solid var(--ink);
}

.quote p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

.quote cite {
  display: block;
  margin-top: 9px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

.fabric {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 42px;
  align-items: center;
  width: 100%;
}

.fabric-copy h3 {
  font-size: 24px;
}

.fabric-copy p {
  max-width: 380px;
}

.fabric-graph {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}

.fabric-node {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.fabric-node em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 7px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.3);
}

.fabric-node--root,
.fabric-node--merge {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.fabric-branch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  position: relative;
}

.fabric-branch::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.fabric-stats {
  display: flex;
  gap: 18px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.fabric-stats strong {
  display: block;
  font-size: 26px;
  font-weight: 580;
  letter-spacing: -0.04em;
  line-height: 1;
}

.fabric-stats span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.32);
}

/* --------------------------------------------------------------------------
   Surface switcher
   -------------------------------------------------------------------------- */

.surface-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  overflow-x: auto;
  scrollbar-width: none;
}

.surface-tabs::-webkit-scrollbar {
  display: none;
}

.surface-tab {
  flex: 0 0 auto;
  padding: 14px 24px 15px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.surface-tab span {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.24);
}

.surface-tab:hover {
  color: rgba(255, 255, 255, 0.78);
}

.surface-tab.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

.surface-tab.is-active span {
  color: rgba(255, 255, 255, 0.5);
}

.surface-copy {
  min-height: 44px;
  padding: 16px 0 22px;
}

.surface-copy p {
  margin: 0;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.8;
}

.surface-stage {
  border-radius: 14px;
}

.window {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.window-bar {
  height: 42px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f0f0f;
}

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

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

.window-title {
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.4);
}

.window-mode {
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
}

.surface-panel {
  animation: panel-in 0.35s var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mock {
  min-height: 540px;
  font-family: var(--sans);
  font-size: 12px;
}

.mock--web {
  display: grid;
  grid-template-columns: 210px 1fr 230px;
}

.mock--desktop {
  display: grid;
  grid-template-columns: 205px 1fr;
}

.mock-side {
  background: #101010;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 14px;
  overflow: hidden;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.mock-brand svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.mock-new {
  margin: 15px 0 4px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.mock-label {
  margin: 15px 0 6px;
  padding: 0 4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.26);
}

.mock-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-item i {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.mock-item span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 7px;
  color: rgba(255, 255, 255, 0.24);
}

.mock-item.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92);
}

.mock-item.is-active i {
  background: var(--signal);
}

.mock-tree {
  padding: 2px 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.34);
}

.mock-tree span {
  color: rgba(255, 255, 255, 0.54);
}

.mock-tree.is-open {
  padding: 9px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
}

.mock-conn {
  margin-top: 20px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.36);
}

.mock-conn i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}

.mock-main {
  padding: 20px 22px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mock-prompt {
  display: flex;
  gap: 7px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
}

.mock-prompt > span:first-child {
  color: rgba(255, 255, 255, 0.35);
}

.mock-prompt code {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

.mock-msg {
  display: flex;
  gap: 8px;
  margin: 15px 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.75;
}

.mock-msg b {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  flex-shrink: 0;
}

.mock-msg p {
  margin: 0 0 4px;
}

.mock-dim {
  font-family: var(--mono);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.28);
}

.mock-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.015);
  font-family: var(--mono);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.42);
}

.mock-tool > span {
  width: 44px;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.mock-tool code {
  color: rgba(255, 255, 255, 0.46);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-tool em {
  margin-left: auto;
  font-style: normal;
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.mock-tool em.ok {
  color: var(--signal-dark);
}

.mock-answer {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.7;
}

.mock-answer b {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.mock-answer p {
  margin: 0 0 7px;
}

.mock-actions {
  display: flex;
  gap: 5px;
}

.mock-actions span {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.55);
}

.mock-composer {
  margin-top: auto;
  padding-top: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.26);
  font-size: 10.5px;
}

.mock-composer kbd {
  padding: 1px 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.35);
}

.mock-rail {
  padding: 18px 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: #101010;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5.5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.55);
}

.check-row i {
  color: var(--signal-dark);
  font-style: normal;
}

.check-row em {
  margin-left: auto;
  font-style: normal;
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.28);
}

.artifact {
  margin-bottom: 4px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.018);
  font-family: var(--mono);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-main--diff {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mock-diff-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
}

.diff-stat {
  display: flex;
  gap: 8px;
  font-size: 8px;
}

.diff-stat b {
  color: var(--signal-dark);
  font-weight: 500;
}

.diff-stat i {
  color: #f87171;
  font-style: normal;
}

.diff-view {
  flex: 1;
  padding: 12px 0;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 2;
}

.diff-line {
  display: flex;
  color: rgba(255, 255, 255, 0.48);
}

.diff-line .num {
  width: 44px;
  padding-right: 10px;
  text-align: right;
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  user-select: none;
}

.diff-line code {
  white-space: pre;
  padding-left: 12px;
}

.diff-line--del {
  background: rgba(248, 113, 113, 0.09);
  color: rgba(252, 165, 165, 0.8);
}

.diff-line--add {
  background: rgba(34, 197, 94, 0.09);
  color: rgba(134, 239, 172, 0.85);
}

.mock-diff-foot {
  display: flex;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.mock-diff-foot span:first-child {
  color: rgba(255, 255, 255, 0.6);
}

/* CLI */

.terminal-mock {
  min-height: 520px;
  background: #0a0a0a;
}

.terminal-head {
  height: 38px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.35);
}

.terminal-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.terminal-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}

.terminal-body {
  margin: 0;
  padding: 24px 28px;
  font-size: 11.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.68);
  white-space: pre-wrap;
  overflow-x: auto;
}

.t-dim {
  color: rgba(255, 255, 255, 0.28);
}

.t-strong {
  color: #fff;
}

.t-prompt {
  color: #fff;
}

.t-glyph {
  color: rgba(255, 255, 255, 0.32);
}

.t-ok {
  color: var(--signal-dark);
}

.t-cursor {
  display: inline-block;
  width: 7px;
  color: rgba(255, 255, 255, 0.6);
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* VS Code */

.mock--code {
  display: grid;
  grid-template-columns: 42px 1fr 260px;
  min-height: 520px;
}

.code-activity {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
}

.code-activity .is-active {
  color: rgba(255, 255, 255, 0.8);
}

.code-editor {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.code-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #101010;
}

.code-tabs span {
  padding: 9px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.32);
}

.code-tabs .is-active {
  color: rgba(255, 255, 255, 0.78);
  background: #0d0d0d;
}

.code-body {
  flex: 1;
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.52);
  overflow: hidden;
}

.code-body > div {
  display: flex;
}

.code-body .num {
  width: 38px;
  padding-right: 10px;
  text-align: right;
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  user-select: none;
}

.code-body code {
  white-space: pre;
  padding-left: 12px;
}

.code-body i {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.code-body b {
  color: #d4d4d4;
  font-weight: 500;
}

.code-body em {
  color: rgba(255, 255, 255, 0.3);
  font-style: normal;
}

.code-add {
  background: rgba(34, 197, 94, 0.08);
  border-left: 2px solid rgba(74, 222, 128, 0.6);
}

.code-problem {
  display: flex;
  gap: 10px;
  padding: 8px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.code-problem span:first-child {
  color: var(--signal-dark);
}

.code-problem span:last-child {
  margin-left: auto;
}

.code-panel {
  padding: 0 14px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: #101010;
}

.code-panel-head {
  height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.38);
}

.code-panel .mock-prompt {
  margin-top: 12px;
  font-size: 9px;
}

.code-panel .mock-msg {
  font-size: 9px;
}

.code-panel .check-row {
  font-size: 8px;
}

.code-panel-foot {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--mono);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.3);
  text-align: right;
}

/* --------------------------------------------------------------------------
   Pipeline
   -------------------------------------------------------------------------- */

.pipe-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: #fafafa;
}

.pipe-tab {
  padding: 13px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.pipe-tab:last-child {
  border-right: 0;
}

.pipe-tab span {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
}

.pipe-tab:hover {
  background: #fff;
}

.pipe-tab.is-active {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
}

.pipe-tab.is-active span {
  color: #fff;
}

.pipeline-panel {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  border: 1px solid var(--line);
  background: #fafafa;
  min-height: 340px;
}

.pipe-copy {
  padding: 32px 34px;
}

.pipe-index {
  margin: 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.pipe-copy h3 {
  margin: 15px 0 10px;
  font-size: 25px;
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.pipe-copy > p {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.pipe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 20px;
}

.pipe-tags span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
  background: #fff;
}

.pipe-out {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.pipe-out span {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.pipe-out b {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--ink);
}

.pipe-term {
  display: flex;
  flex-direction: column;
  background: #0b0b0b;
  border-left: 1px solid var(--line);
}

.pipe-term-head {
  height: 38px;
  padding: 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.32);
}

.pipe-term-head span:last-child {
  color: rgba(255, 255, 255, 0.25);
}

.pipe-term-prompt {
  margin-top: auto;
  padding: 0 22px 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
}

.pipe-term-prompt i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
  animation: blink 1.1s steps(2, start) infinite;
}

.pipe-term-foot {
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.28);
}

.pipe-term-foot span:nth-child(2) {
  color: rgba(74, 222, 128, 0.62);
}

.pipe-term pre {
  flex: 1;
  margin: 0;
  padding: 22px;
  font-size: 10.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
  white-space: pre-wrap;
  overflow-x: auto;
}

.loop-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  padding: 17px 19px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

.loop-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}

.loop-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.loop-note strong {
  color: var(--ink);
  font-weight: 560;
}

/* --------------------------------------------------------------------------
   EDA
   -------------------------------------------------------------------------- */

.eda-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 64px;
  align-items: start;
}

.eda-copy .statement {
  margin: 14px 0 20px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.35vw, 46px);
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: -0.025em;
}

.eda-copy .lede {
  max-width: 520px;
  margin: 0;
}

.eda-list {
  margin-top: 30px;
}

.eda-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.eda-item > span {
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
  padding-top: 3px;
}

.eda-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 540;
  letter-spacing: -0.01em;
}

.eda-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  line-height: 1.8;
}

.legal-note {
  margin: 22px 0 0;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.36);
  font-size: 10.5px;
  line-height: 1.75;
}

.eda-console {
  position: sticky;
  top: 100px;
}

.log-window {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #0b0b0b;
  overflow: hidden;
}

.log-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.log-tab {
  padding: 12px 12px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.log-tab:hover {
  color: rgba(255, 255, 255, 0.7);
}

.log-tab.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

.log-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
}

.log-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}

.log-body {
  margin: 0;
  padding: 17px 18px;
  min-height: 276px;
  font-size: 10.5px;
  line-height: 2.15;
  color: rgba(255, 255, 255, 0.52);
  white-space: pre-wrap;
  overflow-x: auto;
}

.log-line {
  display: block;
}

.ts {
  color: rgba(255, 255, 255, 0.24);
}

.tag {
  display: inline-block;
  width: 40px;
  color: rgba(255, 255, 255, 0.42);
}

.tag.t-ok {
  color: var(--signal-dark);
}

.log-foot {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.26);
}

.log-foot span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(74, 222, 128, 0.7);
}

.log-foot i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal-dark);
}

.eda-artifacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 9px;
}

.eda-art {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
}

.eda-art span {
  display: block;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
}

.eda-art strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.eda-art em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   RSI
   -------------------------------------------------------------------------- */

.rsi-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 56px;
  align-items: start;
}

.rsi-flow {
  padding-top: 2px;
}

.flow-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.flow-step > span {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted-2);
  padding-top: 3px;
}

.flow-step h3 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 550;
}

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

.flow-arrow {
  height: 7px;
  padding-left: 14px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted-3);
  line-height: 7px;
}

.rsi-data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.rsi-data strong {
  display: block;
  font-size: 20px;
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 1;
}

.rsi-data span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted-2);
}

.rsi-chart {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.04);
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.chart-head h3 {
  margin: 5px 0 0;
  font-size: 21px;
  font-weight: 580;
  letter-spacing: -0.03em;
}

.chart-badge {
  padding: 4px 7px;
  border: 1px solid rgba(21, 128, 61, 0.35);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  color: #15803d;
  background: rgba(34, 197, 94, 0.06);
}

.bars {
  padding: 22px 0 18px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.bar-label {
  width: 58px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
  flex-shrink: 0;
}

.bar-track {
  flex: 1;
  height: 28px;
  border-radius: 4px;
  background: #f2f2f3;
  overflow: hidden;
}

.bar {
  position: relative;
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 1.1s var(--ease);
}

.bar b {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.bar--base {
  background: #c9c9ce;
}

.bar--base b {
  color: #3a3a3f;
}

.bar--rsi {
  background: var(--ink);
}

.bar--rsi b {
  color: #fff;
}

.rsi-chart.is-in .bar {
  width: var(--w);
}

.chart-delta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.chart-delta strong {
  font-size: 22px;
  font-weight: 620;
  letter-spacing: -0.04em;
}

.chart-delta span {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted-2);
}

.chart-sub {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.chart-sub-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 540;
}

.ns {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  color: var(--muted-2);
}

.sub-bars {
  margin-top: 10px;
}

.sub-bar {
  display: grid;
  grid-template-columns: 58px 1fr 48px;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}

.sub-bar > span {
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted-2);
}

.sub-bar > div {
  height: 6px;
  border-radius: 999px;
  background: #f2f2f3;
  overflow: hidden;
}

.sub-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: #a8a8ae;
  transition: width 1s var(--ease);
}

.sub-bar:last-of-type i {
  background: var(--ink);
}

.rsi-chart.is-in .sub-bar i {
  width: var(--w);
}

.sub-bar b {
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 400;
  text-align: right;
  color: var(--muted);
}

.chart-sub p {
  margin: 9px 0 0;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted-2);
}

.chart-foot {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.8;
  color: var(--muted-3);
}

/* --------------------------------------------------------------------------
   Customer cases
   -------------------------------------------------------------------------- */

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

.case-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.case-card {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.28s var(--ease), border-color 0.28s ease, box-shadow 0.28s ease;
}

.case-card--wide {
  grid-column: span 7;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 10, 10, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.case-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.case-name {
  font-size: 13px;
  font-weight: 590;
  letter-spacing: -0.01em;
}

.case-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.case-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-3);
}

.case-status--strong {
  color: #15803d;
  border-color: rgba(21, 128, 61, 0.25);
  background: rgba(34, 197, 94, 0.05);
}

.case-status--strong i {
  background: var(--signal);
}

.case-card h3 {
  margin: 15px 0 6px;
  max-width: 520px;
  font-size: 22px;
  font-weight: 580;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.case-card--wide h3 {
  font-size: 24px;
}

.case-card p {
  margin: 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.case-metrics strong {
  display: block;
  font-size: 20px;
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 1;
}

.case-metrics span {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted-2);
}

.case-product {
  margin-top: auto;
  padding-top: 18px;
}

.case-product > .case-product-head,
.case-product > .case-line {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b0b0b;
}

.case-product-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px 7px 0 0;
  font-family: var(--mono);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.35);
}

.case-product-head .ok {
  color: var(--signal-dark);
}

.case-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5.5px 9px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
}

.case-line:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 7px 7px;
}

.case-line b {
  width: 58px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.case-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-line .ok {
  color: var(--signal-dark);
}

.case-note {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  max-width: 880px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.8;
  color: var(--muted-3);
}

/* --------------------------------------------------------------------------
   Trial usage
   -------------------------------------------------------------------------- */

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

.usage-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.usage-copy {
  padding-top: 4px;
}

.usage-big {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.usage-big strong {
  font-size: 76px;
  font-weight: 620;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.usage-big em {
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.usage-big span {
  max-width: 100px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

.usage-copy > p {
  margin: 18px 0 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.usage-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.usage-facts strong {
  display: block;
  font-size: 24px;
  font-weight: 590;
  line-height: 1;
  letter-spacing: -0.035em;
}

.usage-facts span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted-2);
}

.usage-note {
  font-family: var(--mono);
  font-size: 8px !important;
  line-height: 1.8 !important;
  color: var(--muted-3) !important;
  margin-top: 16px !important;
}

.usage-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #0b0b0b;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

.usage-panel-head {
  height: 38px;
  padding: 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.usage-panel-head span:last-child {
  color: rgba(255, 255, 255, 0.25);
}

.usage-panel-body {
  padding: 20px;
}

.usage-week,
.usage-timeline,
.usage-toolmix {
  margin-bottom: 22px;
}

.usage-toolmix {
  margin-bottom: 16px;
}

.usage-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
}

.usage-label span:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.usage-split {
  height: 10px;
  border-radius: 999px;
  background: #1b1b1b;
  overflow: hidden;
}

.usage-split i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: #fff;
  transition: width 1s var(--ease);
}

.usage-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 7px;
  color: rgba(255, 255, 255, 0.28);
}

.usage-hours {
  position: relative;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: #151515;
  overflow: hidden;
}

.usage-hours .band {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 37.5%;
  width: 41.66%;
  background: rgba(255, 255, 255, 0.82);
}

.usage-axis--hours {
  position: relative;
  height: 14px;
  padding: 0;
}

.usage-axis--hours span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.usage-axis--hours span:nth-child(1) {
  left: 0;
  transform: none;
}

.usage-axis--hours span:nth-child(2) {
  left: 37.5%;
}

.usage-axis--hours span:nth-child(3) {
  left: 79.2%;
}

.usage-axis--hours span:nth-child(4) {
  right: 0;
  left: auto;
  transform: none;
}

.usage-chart-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding-bottom: 2px;
}

.usage-weekchart,
.usage-donut-wrap {
  min-width: 0;
}

.usage-bars {
  height: 96px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  align-items: end;
}

.usage-bars > div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.usage-bars i {
  display: block;
  width: 100%;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: #fff;
  opacity: 0.7;
}

.usage-bars > div:nth-child(3) i,
.usage-bars > div:nth-child(4) i {
  opacity: 1;
}

.usage-bars > div:nth-child(6) i,
.usage-bars > div:nth-child(7) i {
  opacity: 0.14;
}

.usage-bars span {
  font-family: var(--mono);
  font-size: 7px;
  color: rgba(255, 255, 255, 0.28);
}

.usage-chart-note {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 7px;
  color: rgba(255, 255, 255, 0.25);
}

.usage-donut-wrap .usage-label {
  margin-bottom: 5px;
}

.usage-donut {
  width: 104px;
  aspect-ratio: 1;
  margin: 2px auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(
    #fff 0 34%,
    #b9b9b9 34% 58%,
    #6f6f6f 58% 65%,
    #22c55e 65% 71%,
    #2b2b2b 71% 100%
  );
}

.usage-donut::before {
  content: "";
  grid-area: 1 / 1;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0b0b0b;
}

.usage-donut-hole {
  grid-area: 1 / 1;
  z-index: 1;
  text-align: center;
}

.usage-donut-hole strong {
  display: block;
  font-size: 13px;
  font-weight: 590;
  letter-spacing: -0.03em;
  line-height: 1;
}

.usage-donut-hole span {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 6.5px;
  color: rgba(255, 255, 255, 0.35);
}

.usage-legend {
  display: grid;
  gap: 4px;
}

.usage-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.usage-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.usage-legend b {
  margin-left: auto;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
}

.usage-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.flow-node {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow-node span {
  display: block;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.flow-node strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 590;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.flow-node em {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-style: normal;
  font-size: 7.5px;
  color: var(--muted);
}

.usage-flow > i {
  align-self: center;
  flex-shrink: 0;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  color: var(--muted-3);
}

.usage-flow-note {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted-3);
}

.usage-bar {
  display: grid;
  grid-template-columns: 86px 1fr 44px;
  gap: 9px;
  align-items: center;
  margin-bottom: 7px;
}

.usage-bar > span {
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.usage-bar > div {
  height: 5px;
  border-radius: 999px;
  background: #1b1b1b;
  overflow: hidden;
}

.usage-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: #fff;
}

.usage-bar b {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

.usage-panel-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Needs
   -------------------------------------------------------------------------- */

.needs-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

.needs-head {
  position: sticky;
  top: 120px;
}

.needs-head .statement {
  margin: 15px 0 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.9vw, 50px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.needs-head .lede {
  max-width: 340px;
}

.needs-list {
  border-top: 1px solid var(--line);
}

.need {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 18px 10px 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease;
}

.need:hover {
  background: #fafafa;
}

.need-num {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted-2);
  padding-top: 4px;
}

.need h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 550;
  letter-spacing: -0.015em;
}

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

.need-tag {
  margin-top: 3px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Security
   -------------------------------------------------------------------------- */

.security-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  margin-top: 10px;
}

.sec-lead {
  padding: 32px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.sec-lead h3 {
  margin: 16px 0 12px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.sec-lead p {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.sec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 24px;
}

.sec-tags span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
  background: #fafafa;
}

.sec-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sec-card {
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.sec-card > span {
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.28);
}

.sec-card h3 {
  margin: 11px 0 5px;
  font-size: 14px;
  font-weight: 540;
}

.sec-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.75;
}

.topology {
  position: relative;
  margin-top: 14px;
  padding: 30px 20px 22px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  text-align: center;
}

.topo-label {
  position: absolute;
  top: -7px;
  left: 20px;
  padding: 0 8px;
  background: #080808;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.32);
}

.topo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.topo-clients span,
.topo-tools span {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.02);
}

.topo-line {
  width: 1px;
  height: 16px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.16);
}

.topo-box {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.topo-box b {
  display: block;
  font-size: 10px;
  font-weight: 540;
  letter-spacing: -0.01em;
}

.topo-box em {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.32);
}

.topo-gateway {
  border-color: rgba(255, 255, 255, 0.28);
}

.topo-engines .topo-box {
  min-width: 112px;
}

.topo-eda {
  border-color: rgba(255, 255, 255, 0.28);
}

.topo-note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Start
   -------------------------------------------------------------------------- */

.start-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.start-term {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

.start-term-head {
  height: 36px;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
}

.start-term pre {
  margin: 0;
  padding: 22px 24px;
  font-size: 10.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
  white-space: pre-wrap;
  overflow-x: auto;
}

.start-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-card {
  display: block;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.cta-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.cta-card strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7px;
  font-size: 16px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.cta-card strong span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  transition: transform 0.18s ease;
}

.cta-card:hover strong span {
  transform: translate(1px, -1px);
}

.cta-card em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted);
}

.cta-card--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.cta-card--primary .cta-kicker {
  color: rgba(255, 255, 255, 0.42);
}

.cta-card--primary em {
  color: rgba(255, 255, 255, 0.52);
}

.cta-card--primary:hover {
  border-color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.start-note {
  margin: 8px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted-2);
}

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

.footer {
  background: #080808;
  color: #fff;
  padding-top: 64px;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 44px;
}

.brand--footer {
  color: #fff;
}

.footer-brand p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--serif);
  font-size: 16px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.38);
}

.footer-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-cols h4 {
  margin: 0 0 13px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.32);
}

.footer-cols a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-size: 11.5px;
  transition: color 0.18s ease;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.32);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-note {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.24);
}

.footer-word {
  margin-top: 16px;
  margin-bottom: -2.2vw;
  font-size: clamp(96px, 21vw, 300px);
  font-weight: 650;
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
  user-select: none;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1120px) {
  .nav-links {
    gap: 18px;
  }

  .hero-inner {
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(48px, 6.4vw, 78px);
  }

  .bento-card--wide {
    grid-column: span 7;
  }

  .fabric {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .fabric-stats {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0 0;
  }

  .eda-grid,
  .rsi-grid {
    gap: 38px;
  }

  .needs-grid {
    gap: 44px;
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-doc,
  .nav-login {
    display: none;
  }

  .nav-burger {
    display: block;
  }

  .nav-inner {
    gap: 12px;
  }

  .nav-actions {
    gap: 10px;
  }

  .hero {
    padding-top: 130px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-bottom: 60px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(52px, 9vw, 86px);
  }

  .hero-visual {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .run-card {
    transform: none;
  }

  .run-badge {
    display: none;
  }

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

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(3),
  .proof-item:nth-child(4) {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .proof-item:nth-child(3) {
    padding-left: 0;
  }

  .section {
    padding: 88px 0;
  }

  .section-head--split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-head h2.statement {
    font-size: clamp(34px, 4.8vw, 44px);
  }

  .section-head--split > .lede {
    max-width: 540px;
    padding-bottom: 0;
  }

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

  .problem,
  .problem + .problem {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .problem:last-child {
    border-bottom: 0;
  }

  .bento-card,
  .bento-card--wide,
  .bento-card--dark {
    grid-column: span 6;
  }

  .bento-card--full {
    grid-column: span 12;
  }

  .case-card,
  .case-card--wide {
    grid-column: span 6;
  }

  .usage-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .usage-panel {
    max-width: 680px;
  }

  .usage-big strong {
    font-size: 64px;
  }

  .usage-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .usage-flow > i {
    display: none;
  }

  .flow-node:last-child {
    grid-column: span 2;
  }

  .bento-card--wide h3 {
    font-size: 21px;
  }

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

  .fabric-stats {
    display: flex;
  }

  .mock--web {
    grid-template-columns: 168px 1fr;
  }

  .mock-rail {
    display: none;
  }

  .mock-main {
    border-right: 0;
  }

  .mock--code {
    grid-template-columns: 42px 1fr;
  }

  .code-panel {
    display: none;
  }

  .pipeline-panel {
    grid-template-columns: 1fr;
  }

  .pipe-term {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 260px;
  }

  .eda-grid,
  .rsi-grid,
  .start-grid {
    grid-template-columns: 1fr;
  }

  .eda-console {
    position: static;
  }

  .eda-artifacts {
    grid-template-columns: repeat(4, 1fr);
  }

  .needs-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .needs-head {
    position: static;
  }

  .needs-head .lede {
    max-width: 480px;
  }

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

  .sec-lead {
    min-height: 260px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .nav {
    padding-top: 0;
  }

  .nav-inner {
    width: calc(100% - 32px);
    height: 60px;
    padding: 0;
  }

  .brand-logo {
    height: 32px;
  }

  .mobile-menu {
    width: 100%;
    padding: 12px 16px 18px;
  }

  .btn--sm {
    display: none;
  }

  .hero {
    padding-top: 116px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 64px);
    letter-spacing: -0.045em;
    margin: 20px 0 22px;
  }

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

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 150px;
    padding: 0 14px;
    font-size: 12.5px;
  }

  .hero-tools {
    margin-top: 34px;
  }

  .hero-bottom {
    font-size: 7.5px;
  }

  .hero-bottom .hero-mono {
    display: none;
  }

  .run-badge {
    display: none;
  }

  .run-badge-ring {
    font-size: 13px;
  }

  .run-line {
    gap: 6px;
  }

  .run-text {
    display: none;
  }

  .proof {
    padding-top: 34px;
  }

  .proof-top {
    display: block;
  }

  .proof-copy {
    margin-top: 10px;
    text-align: left;
  }

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

  .proof-num {
    font-size: 36px;
  }

  .proof-item {
    padding-right: 14px;
  }

  .proof-item + .proof-item {
    padding-left: 14px;
  }

  .proof-item:nth-child(3) {
    padding-left: 0;
  }

  .section {
    padding: 70px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .mobile-br {
    display: inline;
  }

  .eda-copy .statement {
    font-size: 30px;
  }

  .section-head h2.statement {
    font-size: clamp(32px, 5.2vw, 40px);
  }

  .bento-card,
  .bento-card--wide,
  .bento-card--dark,
  .bento-card--full {
    grid-column: span 12;
    min-height: 0;
  }

  .bento-card--wide h3 {
    font-size: 21px;
  }

  .bento-card {
    padding: 21px;
  }

  .case-card,
  .case-card--wide {
    grid-column: span 12;
    min-height: 0;
    padding: 21px;
  }

  .case-card h3,
  .case-card--wide h3 {
    font-size: 21px;
  }

  .usage-big strong {
    font-size: 56px;
  }

  .usage-panel-body {
    padding: 16px;
  }

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

  .usage-donut-wrap {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 14px;
    align-items: center;
  }

  .usage-donut-wrap .usage-label {
    grid-column: 1 / -1;
  }

  .usage-donut {
    grid-column: 1;
    grid-row: 2;
    margin: 0 auto;
  }

  .usage-legend {
    grid-column: 2;
    grid-row: 2;
  }

  .usage-flow {
    grid-template-columns: 1fr;
  }

  .flow-node:last-child {
    grid-column: auto;
  }

  .fabric-branch {
    grid-template-columns: 1fr 1fr;
  }

  .fabric-stats {
    flex-wrap: wrap;
    gap: 14px;
  }

  .surface-tab {
    padding: 12px 16px 13px;
  }

  .surface-copy {
    min-height: 62px;
  }

  .window-bar {
    height: 38px;
  }

  .window-title {
    max-width: 58%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mock {
    min-height: 440px;
  }

  .mock--web,
  .mock--desktop,
  .mock--code {
    grid-template-columns: 1fr;
  }

  .mock-side {
    display: none;
  }

  .mock-main {
    padding: 15px;
  }

  .mock-rail,
  .code-activity,
  .code-panel {
    display: none;
  }

  .code-tabs span:not(.is-active) {
    display: none;
  }

  .terminal-body,
  .start-term pre {
    padding: 18px;
    font-size: 10px;
  }

  .pipe-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 10px 10px 0 0;
  }

  .pipe-tabs::-webkit-scrollbar {
    display: none;
  }

  .pipe-tab {
    flex: 0 0 108px;
  }

  .pipe-copy {
    padding: 24px 22px;
  }

  .pipe-copy h3 {
    font-size: 21px;
  }

  .pipe-term pre {
    padding: 18px;
    font-size: 9.5px;
  }

  .eda-artifacts {
    grid-template-columns: 1fr 1fr;
  }

  .rsi-data {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .rsi-chart {
    padding: 20px;
  }

  .bar-label,
  .sub-bar > span {
    width: 50px;
  }

  .need {
    grid-template-columns: 28px 1fr;
  }

  .need-tag {
    display: none;
  }

  .sec-lead {
    padding: 24px;
  }

  .sec-lead h3 {
    font-size: 40px;
  }

  .sec-cards {
    grid-template-columns: 1fr;
  }

  .topology {
    padding: 26px 12px 20px;
  }

  .topo-engines .topo-box {
    min-width: 90px;
    padding: 8px 10px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }

  .footer-legal {
    display: block;
  }

  .footer-legal > * {
    display: block;
    margin-bottom: 6px;
  }

  .footer-note {
    margin-left: 0;
  }

  .footer-word {
    margin-bottom: -1vw;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-tools span:not(.hero-tools-label):nth-child(n + 7) {
    display: none;
  }

  .proof-item {
    padding-top: 16px;
  }

  .proof-num {
    font-size: 32px;
  }

  .proof-name {
    font-size: 11px;
  }

  .proof-desc {
    font-size: 8px;
  }

  .run-checks {
    grid-template-columns: 1fr;
  }

  .surface-tab {
    padding: 10px 13px;
    font-size: 9px;
  }

  .surface-tab span {
    font-size: 9px;
  }

  .mock-msg,
  .mock-answer {
    font-size: 9.5px;
  }

  .chart-delta {
    display: block;
  }

  .chart-delta span {
    display: block;
    margin-top: 4px;
  }

  .footer-word {
    font-size: 28vw;
  }
}

@media (max-width: 360px) {
  .case-section .section-head h2.statement {
    font-size: 28px;
  }

  .case-line {
    align-items: flex-start;
  }

  .case-line span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .usage-section .section-head h2.statement {
    font-size: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .bar,
  .sub-bar i {
    width: var(--w) !important;
  }
}

/* Document-page additions are appended in docs.css; keep this file for the landing page. */
.nav-links a.is-current {
  color: #fff;
}
