:root {
  color-scheme: dark;

  --color-bg: #080809;
  --color-bg-soft: #0b0b0d;
  --color-surface: #101014;
  --color-surface-raised: #15151b;
  --color-surface-muted: #0d0d11;
  --color-border: rgba(248, 248, 250, 0.1);
  --color-border-strong: rgba(248, 248, 250, 0.16);
  --color-text: #f8f8fa;
  --color-text-soft: rgba(248, 248, 250, 0.82);
  --color-text-muted: rgba(248, 248, 250, 0.66);
  --color-text-dim: rgba(248, 248, 250, 0.48);
  --color-text-faint: rgba(248, 248, 250, 0.34);
  --color-accent: #4f7ff3;
  --color-accent-strong: #6f95ff;
  --color-accent-soft: rgba(79, 127, 243, 0.16);
  --color-live: #5ce176;
  --color-warning: #a7a7b5;

  --font-mono: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace;
  --font-sans: Geist, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1120px;
  --container-narrow: 720px;
  --nav-height: 68px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --space-section: 64px;
  --shadow-accent: 0 0 44px rgba(79, 127, 243, 0.18);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --transition-fast: 0.15s var(--ease-standard);
  --transition-base: 0.26s var(--ease-standard);
  --transition-reveal: 0.68s var(--ease-soft);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 84% 11%, rgba(79, 127, 243, 0.06), transparent 22rem),
    linear-gradient(180deg, var(--color-bg) 0%, #070708 100%);
  color: var(--color-text-soft);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(248, 248, 250, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 248, 250, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: 0 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 74%);
  animation: gridDrift 32s linear infinite;
  will-change: background-position;
}

body::after {
  position: fixed;
  right: -120px;
  top: 74px;
  z-index: -1;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(248, 248, 250, 0.045);
  border-radius: 50%;
  box-shadow:
    -90px 70px 0 -24px rgba(248, 248, 250, 0.02),
    -190px 110px 0 -90px rgba(79, 127, 243, 0.05);
  animation:
    floatSlow 12s var(--ease-soft) infinite,
    ambientPulse 9s ease-in-out infinite;
  will-change: transform;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: rgba(79, 127, 243, 0.32);
  color: var(--color-text);
}

.site-shell {
  overflow: hidden;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    backdrop-filter var(--transition-base);
}

.site-nav--scrolled {
  border-color: var(--color-border);
  background: rgba(8, 8, 9, 0.85);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 80px, var(--container));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
}

.nav-links a {
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(248, 248, 250, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(248, 248, 250, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base),
    color var(--transition-base),
    transform var(--transition-fast);
}

.button:hover,
.button:focus-visible {
  transform: none;
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--color-accent);
  color: var(--color-text);
  box-shadow: var(--shadow-accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-accent-strong);
  box-shadow:
    0 0 24px rgba(79, 127, 243, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.3);
}

.button-ghost {
  border-color: var(--color-border);
  background: rgba(8, 8, 9, 0.34);
  color: var(--color-accent-strong);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--color-accent);
  background: rgba(79, 127, 243, 0.08);
  box-shadow: 0 0 16px rgba(79, 127, 243, 0.08);
}

.hero {
  position: relative;
  padding: 96px 0 24px;
}

.section-inner {
  width: min(100% - 72px, var(--container));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 400px);
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.section-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot,
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-live);
  box-shadow: 0 0 18px rgba(92, 225, 118, 0.48);
}

.hero h1,
.section-heading,
.cta-heading {
  margin: 0;
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-family: var(--font-sans);
  font-size: clamp(36px, 3.7vw, 48px);
  font-weight: 650;
  line-height: 1.08;
}

.hero-sub {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--color-text-soft);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-products {
  align-self: center;
  display: grid;
  align-content: end;
  gap: 18px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(248, 248, 250, 0.036), rgba(248, 248, 250, 0.012)),
    rgba(16, 16, 20, 0.72);
}

.hero-products .section-label {
  margin-bottom: 12px;
}

.hero-products-header p {
  margin: 0;
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.utility-chips {
  display: grid;
  gap: 10px;
}

.utility-chip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(21, 21, 27, 0.72);
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
}

.utility-chip:hover,
.utility-chip:focus-visible {
  border-color: rgba(79, 127, 243, 0.28);
  background: rgba(21, 21, 27, 0.94);
  box-shadow: 0 0 18px rgba(79, 127, 243, 0.08);
  transform: translateY(-1px);
}

.utility-chip-muted {
  background: rgba(13, 13, 17, 0.64);
  opacity: 0.86;
}

.chip-name {
  display: block;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.chip-name em {
  display: block;
  margin-top: 2px;
  color: var(--color-accent-strong);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.chip-desc {
  display: block;
  margin-top: 3px;
  color: var(--color-text-soft);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.chip-link {
  justify-self: end;
  color: var(--color-accent-strong);
}

.signal-feed {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  width: min(100% - 80px, var(--container));
  min-height: 52px;
  margin: 28px auto 0;
  padding: 0 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(8, 8, 9, 0.42);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.signal-label {
  color: var(--color-accent-strong);
  letter-spacing: 0.16em;
}

.signal-items {
  position: relative;
  min-height: 20px;
}

.signal-item {
  position: absolute;
  inset: 0 0 auto 0;
  opacity: 0;
  transform: translateX(-10px);
}

.signal-item--active {
  animation: tickerFade 0.42s var(--ease-soft) forwards;
}

.stats-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 0;
  width: min(100% - 80px, var(--container));
  margin: 0 auto;
  padding: 12px 0 28px;
  border-bottom: 1px solid var(--color-border);
}

.stats-intro {
  padding: 24px 28px 24px 0;
  border-right: 1px solid var(--color-border);
}

.stats-intro .section-label {
  margin-bottom: 12px;
}

.stats-intro p {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.stat {
  padding: 24px 28px;
  border-right: 1px solid var(--color-border);
}

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

.stat-value {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.section {
  padding: var(--space-section) 0;
  border-bottom: 1px solid var(--color-border);
}

.section-heading {
  max-width: 680px;
  font-family: var(--font-sans);
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 620;
  line-height: 1.24;
}

.section-sub {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--color-text-soft);
  font-size: 16px;
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.product-card {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(248, 248, 250, 0.035), rgba(248, 248, 250, 0.012)),
    var(--color-surface);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base),
    transform var(--transition-fast);
}

.product-card:nth-child(1) {
  grid-column: span 2;
  border-top-color: rgba(79, 127, 243, 0.36);
}

.product-card:nth-child(2) {
  border-top-color: rgba(145, 112, 255, 0.34);
}

.product-card:nth-child(3) {
  border-top-color: rgba(236, 169, 84, 0.3);
}

.product-card:nth-child(4) {
  border-top-color: rgba(114, 201, 153, 0.28);
}

.product-card:hover {
  border-color: rgba(79, 127, 243, 0.25);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    0 0 16px rgba(79, 127, 243, 0.08);
  transform: translateY(-2px);
}

.product-card-muted:hover {
  opacity: 0.7;
  border-color: var(--color-border);
  box-shadow: none;
  transform: none;
}

.product-card-muted {
  opacity: 0.56;
}

.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(79, 127, 243, 0.26);
  border-radius: var(--radius-xs);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 16px;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-live);
  font-family: var(--font-mono);
  font-size: 12px;
}

.product-status-muted {
  color: var(--color-text-muted);
}

.product-status-muted .status-dot {
  background: var(--color-text-muted);
  box-shadow: none;
}

.product-card h3 {
  margin: 8px 0 12px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.2;
}

.product-card p {
  max-width: 58ch;
  min-height: 52px;
  margin: 0;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.product-card:nth-child(1) p {
  max-width: 76ch;
}

.product-meta-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-meta-list strong {
  color: var(--color-text);
  font-weight: 600;
}

.product-kicker {
  margin-top: 22px;
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-mini {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(8, 8, 9, 0.38);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.workflow-mini::before {
  order: 2;
  content: "->";
  color: var(--color-accent);
}

.workflow-mini-links::before {
  color: #eca954;
}

.workflow-mini-paste::before {
  color: #72c999;
}

.workflow-mini span:first-child {
  order: 1;
}

.workflow-mini span:last-child {
  order: 3;
  color: var(--color-text-soft);
}

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

.tag {
  padding: 5px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 11px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 13px;
}

.directory-caption {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}

.browser-native {
  min-height: auto;
}

.product-visual-section {
  padding-top: 72px;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.visual-grid--slots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visual-slot {
  display: grid;
  gap: 20px;
  align-content: space-between;
  min-height: 320px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(248, 248, 250, 0.035), rgba(248, 248, 250, 0.012)),
    var(--color-surface);
}

.visual-slot--wide {
  grid-column: span 2;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 1fr);
  align-items: center;
}

.slot-copy h3 {
  margin: 14px 0 10px;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.25;
}

.slot-copy p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.slot-schematic,
.slot-code,
.slot-page,
.slot-trust {
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(248, 248, 250, 0.12);
  border-radius: var(--radius-md);
  background: rgba(8, 8, 9, 0.48);
}

.slot-schematic {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.slot-schematic i {
  width: 34px;
  height: 1px;
  background: var(--color-accent);
}

.slot-code {
  display: grid;
  gap: 8px;
  align-content: center;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.slot-code b {
  display: block;
  color: var(--color-accent-strong);
  font-weight: 500;
}

.slot-page {
  display: grid;
  align-content: center;
  gap: 10px;
}

.slot-page i,
.slot-page b {
  display: block;
  height: 9px;
  border-radius: 999px;
}

.slot-page--busy i {
  background: rgba(248, 248, 250, 0.12);
}

.slot-page--busy i:nth-child(2),
.slot-page--busy i:nth-child(5) {
  width: 54%;
}

.slot-page--busy i:nth-child(3) {
  width: 88%;
  background: rgba(79, 127, 243, 0.14);
}

.slot-page--reader strong {
  margin-bottom: 6px;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 13px;
}

.slot-page--reader b {
  height: 8px;
  background: rgba(248, 248, 250, 0.24);
}

.slot-page--reader b:nth-of-type(2) {
  width: 86%;
}

.slot-page--reader b:nth-of-type(3) {
  width: 68%;
}

.slot-trust {
  display: grid;
  gap: 10px;
  align-content: center;
}

.slot-trust span {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
}

.visual-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(248, 248, 250, 0.035), rgba(248, 248, 250, 0.012)),
    var(--color-surface);
}

.visual-copy h2,
.visual-copy h3 {
  margin: 14px 0 12px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.25;
}

.visual-copy p {
  margin: 0;
  color: var(--color-text-soft);
}

.extension-preview {
  overflow: hidden;
  border: 1px solid rgba(248, 248, 250, 0.13);
  border-radius: var(--radius-md);
  background: #0a0a0d;
  box-shadow: inset 0 0 0 1px rgba(79, 127, 243, 0.04);
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
}

.preview-topbar span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(248, 248, 250, 0.26);
}

.preview-topbar strong {
  margin-left: 8px;
  color: var(--color-text);
}

.preview-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.preview-button {
  min-height: 38px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.preview-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(248, 248, 250, 0.035);
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
}

.preview-row span {
  color: var(--color-text);
}

.preview-row em {
  color: var(--color-text-muted);
  font-style: normal;
}

.preview-note {
  padding-top: 4px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
}

.before-after > div {
  min-height: 190px;
  padding: 16px;
  background: #0a0a0d;
}

.preview-label {
  display: block;
  margin-bottom: 14px;
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.before-after i,
.before-after b {
  display: block;
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
}

.before-after i {
  background: rgba(248, 248, 250, 0.1);
}

.before-after i:nth-of-type(2) {
  width: 52%;
}

.before-after i:nth-of-type(3) {
  width: 88%;
  background: rgba(79, 127, 243, 0.12);
}

.before-after i:nth-of-type(4) {
  width: 42%;
}

.before-after p {
  margin: 0 0 16px;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 14px;
}

.before-after b {
  height: 8px;
  background: rgba(248, 248, 250, 0.22);
}

.before-after b:nth-of-type(2) {
  width: 92%;
}

.before-after b:nth-of-type(3) {
  width: 72%;
}

.page-main {
  padding-top: var(--nav-height);
}

.page-hero {
  padding: 78px 0 56px;
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
}

.page-sub {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--color-text-soft);
  font-size: 17px;
  line-height: 1.65;
}

.page-section {
  padding: 76px 0;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.page-aside {
  position: sticky;
  top: calc(var(--nav-height) + 28px);
  color: var(--color-text-soft);
}

.page-aside p {
  margin: 0 0 18px;
}

.content-panel {
  min-width: 0;
  max-width: 100%;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(248, 248, 250, 0.035), rgba(248, 248, 250, 0.012)),
    var(--color-surface);
}

.content-panel h2 {
  margin: 0 0 14px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.25;
}

.content-panel p {
  margin: 0;
  color: var(--color-text-soft);
  overflow-wrap: anywhere;
}

.content-panel p + p,
.content-panel ul + p {
  margin-top: 18px;
}

.content-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--color-text-soft);
}

.content-panel li::marker {
  color: var(--color-accent);
}

.content-panel code,
.status-card code {
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.legal-copy {
  display: grid;
  gap: 22px;
}

.legal-copy h2 {
  margin-bottom: -8px;
}

.page-grid .legal-copy {
  width: 100%;
  max-width: 780px;
}

.legal-copy p,
.legal-copy li {
  max-width: 72ch;
}

.text-link {
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  transition: color var(--transition-fast);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--color-text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.transparency-grid,
.status-grid,
.permission-grid,
.archive-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.transparency-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.status-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.permission-grid,
.archive-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.status-card,
.registry-card,
.archive-card,
.feed-entry,
.principle-card {
  min-width: 0;
  max-width: 100%;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(248, 248, 250, 0.035), rgba(248, 248, 250, 0.012)),
    var(--color-surface);
}

.status-card h3,
.registry-card h3,
.archive-card h3,
.feed-entry h3,
.principle-card h3 {
  margin: 18px 0 12px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.status-card p,
.registry-card p,
.archive-card p,
.feed-entry p,
.principle-card p {
  margin: 0;
  color: var(--color-text-soft);
  overflow-wrap: anywhere;
}

.status-card p + p,
.registry-card p + p,
.archive-card p + p,
.feed-entry p + p,
.principle-card p + p {
  margin-top: 14px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.status-badge--review {
  color: var(--color-live);
}

.status-badge--watching,
.status-badge--rejected {
  color: var(--color-text-soft);
}

.status-badge--rejected .status-dot,
.status-badge--watching .status-dot {
  background: var(--color-text-muted);
  box-shadow: none;
}

.meta-list,
.registry-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.meta-list li,
.registry-list li {
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-soft);
}

.meta-list strong,
.registry-list strong {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
}

.feed-list {
  display: grid;
  gap: 14px;
  margin-top: 48px;
}

.feed-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
}

.feed-date,
.archive-reason {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.permission-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.permission-table th,
.permission-table td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.permission-table th {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
}

.permission-table td {
  color: var(--color-text-soft);
}

.permission-table tr:last-child th,
.permission-table tr:last-child td {
  border-bottom: 0;
}

.notice-panel {
  margin-top: 44px;
  padding: 22px;
  border: 1px solid rgba(79, 127, 243, 0.22);
  border-radius: var(--radius-md);
  background: rgba(79, 127, 243, 0.06);
  color: var(--color-text-soft);
}

.notice-panel strong {
  color: var(--color-text);
}

.copy-stack {
  display: grid;
  gap: 18px;
  max-width: 720px;
  color: var(--color-text-soft);
  font-size: 16px;
}

.copy-stack p {
  margin: 0;
}

.route-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.product-page-hero {
  padding-bottom: 60px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: center;
}

.product-status-panel {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(21, 21, 27, 0.72);
}

.product-status-panel p {
  margin: 18px 0 0;
  color: var(--color-text-soft);
}

.product-icon-large {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  font-size: 22px;
}

.feature-list {
  display: grid;
  max-width: 620px;
  gap: 14px;
  margin-top: 36px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 13px;
}

.check {
  color: var(--color-accent);
}

.pipeline-grid {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.pipeline-stage {
  display: grid;
  grid-template-columns: 72px 132px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--color-border);
}

.stage-number,
.stage-title,
.stage-meta {
  font-family: var(--font-mono);
}

.stage-number {
  color: var(--color-accent);
  font-size: 18px;
}

.stage-title {
  color: var(--color-text);
  font-weight: 700;
}

.stage-copy {
  margin: 0;
  color: var(--color-text-soft);
}

.stage-meta {
  display: block;
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 12px;
}

.thesis-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: 40px;
  align-items: center;
}

.thesis-body {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  color: var(--color-text-soft);
  font-size: 16px;
}

.thesis-body p {
  margin: 0;
}

.demand-panel {
  position: relative;
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(rgba(248, 248, 250, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 248, 250, 0.03) 1px, transparent 1px),
    var(--color-surface-muted);
  background-size: 38px 38px;
  animation: gridDriftSmall 26s linear infinite;
}

.demand-panel-copy {
  max-width: 320px;
}

.demand-panel-copy .section-label {
  margin-bottom: 12px;
}

.demand-panel-copy p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.demand-node {
  position: absolute;
  padding: 8px 10px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xs);
  background: rgba(8, 8, 9, 0.74);
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
}

.demand-node-small {
  top: 118px;
  left: 38px;
}

.demand-node-local {
  top: 148px;
  right: 46px;
}

.demand-node-clear {
  bottom: 82px;
  left: 72px;
}

.demand-node-shipped {
  right: 72px;
  bottom: 42px;
}

.demand-line {
  position: absolute;
  inset: 50% 52px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 127, 243, 0.7), transparent);
}

.quote-section {
  padding-top: 0;
}

.quote-panel {
  padding: 64px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.quote-mark {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 52px;
  line-height: 1;
}

.quote-panel blockquote {
  max-width: 780px;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pillar-label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 12px;
}

.pillar p {
  margin: 0;
  color: var(--color-text-soft);
}

.cta {
  position: relative;
  padding: 84px 0;
}

.cta-panel {
  max-width: 760px;
}

.cta-heading {
  font-family: var(--font-sans);
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 620;
  line-height: 1.24;
}

.cta-copy {
  max-width: 620px;
  margin: 18px 0 28px;
  color: var(--color-text-soft);
  font-size: 16px;
}

.static-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  max-width: 620px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(8, 8, 9, 0.58);
}

.prompt {
  padding: 16px 18px;
  color: var(--color-accent);
  font-family: var(--font-mono);
}

.static-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-text-soft);
}

.static-form button {
  border: 0;
  border-left: 1px solid var(--color-border);
  background: rgba(79, 127, 243, 0.14);
  color: var(--color-accent-strong);
  padding: 0 18px;
  font-family: var(--font-mono);
  cursor: not-allowed;
}

.contact-strip {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-width: min(100%, 420px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(8, 8, 9, 0.58);
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 13px;
}

.contact-strip a {
  padding: 16px 18px 16px 0;
  transition: color var(--transition-fast);
}

.contact-strip a:hover,
.contact-strip a:focus-visible {
  color: var(--color-text);
}

.cta-note {
  margin-top: 18px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.footer {
  border-top: 1px solid var(--color-border);
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, auto);
  align-items: start;
  width: min(100% - 80px, var(--container));
  margin: 0 auto;
  gap: 24px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.footer-inner > * {
  min-width: 0;
}

.footer-links,
.footer-status,
.footer-public-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links,
.footer-public-links {
  justify-content: flex-end;
}

.footer-status,
.footer-public-links {
  grid-column: 2;
  justify-self: end;
}

.footer-public-links {
  gap: 14px;
  color: var(--color-text-soft);
}

.footer-public-links a {
  padding: 4px 0;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--color-text);
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(0, -8px);
  }
}

@keyframes ambientPulse {
  0%,
  100% {
    opacity: 0.82;
  }

  50% {
    opacity: 1;
  }
}

@keyframes gridDrift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 80px 80px;
  }
}

@keyframes gridDriftSmall {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 38px 38px;
  }
}

@keyframes tickerFade {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  animation: none;
  animation-delay: var(--reveal-delay, 0ms);
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  :root {
    --space-section: 68px;
  }

  .nav-inner,
  .section-inner,
  .stats-inner,
  .footer-inner {
    width: min(100% - 40px, var(--container));
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(12, 12, 15, 0.96);
    backdrop-filter: blur(18px);
  }

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

  .nav-links a {
    padding: 14px 12px;
  }

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

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 96px 0 38px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .hero-products {
    width: 100%;
    max-width: 640px;
  }

  .product-grid,
  .card-grid,
  .transparency-grid,
  .status-grid,
  .permission-grid,
  .archive-grid,
  .page-grid,
  .product-hero-grid,
  .thesis-grid,
  .pillar-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .product-card:nth-child(1),
  .visual-slot--wide {
    grid-column: auto;
  }

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

  .visual-slot--wide {
    grid-template-columns: 1fr;
  }

  .page-aside {
    position: static;
  }

  .pipeline-stage {
    grid-template-columns: 64px 1fr;
  }

  .feed-entry {
    grid-template-columns: 1fr;
  }

  .stage-copy {
    grid-column: 2;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    padding: 0 0 24px;
  }

  .stats-intro {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
    padding: 24px 0;
  }

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

@media (max-width: 640px) {
  .nav-inner,
  .section-inner,
  .stats-inner,
  .footer-inner {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    font-size: 14px;
  }

  .lang-toggle {
    display: none;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .page-hero h1,
  .section-heading,
  .cta-heading {
    font-size: 24px;
  }

  .page-hero {
    padding: 68px 0 44px;
  }

  .page-section {
    padding: 58px 0;
  }

  .content-panel,
  .product-status-panel,
  .status-card,
  .registry-card,
  .archive-card,
  .feed-entry,
  .principle-card {
    padding: 20px;
  }

  .section-label,
  .eyebrow {
    align-items: flex-start;
    max-width: 100%;
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: 0.08em;
  }

  .section-label span:last-child,
  .eyebrow span:last-child {
    min-width: 0;
  }

  .hero-sub,
  .section-sub,
  .cta-copy {
    font-size: 16px;
  }

  .hero-content,
  .hero-actions,
  .hero-sub {
    max-width: min(100%, 360px);
  }

  .hero-products {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .hero-actions,
  .product-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .utility-chip {
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 12px;
  }

  .chip-link {
    display: none;
  }

  .chip-desc {
    display: block;
    font-size: 11px;
  }

  .signal-feed {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 108px;
    padding: 14px 0;
  }

  .signal-items {
    width: 100%;
    max-width: min(100%, 360px);
    min-height: auto;
  }

  .signal-item {
    position: relative;
    display: none;
    inset: auto;
    transform: none;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .signal-item--active {
    display: block;
  }

  .product-card {
    min-height: auto;
  }

  .workflow-mini {
    grid-template-columns: 1fr;
  }

  .workflow-mini::before,
  .workflow-mini span:first-child,
  .workflow-mini span:last-child {
    order: initial;
  }

  .visual-card {
    padding: 22px;
  }

  .visual-slot {
    min-height: auto;
    padding: 20px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .before-after > div {
    min-height: 150px;
  }

  .pipeline-stage {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stage-copy {
    grid-column: auto;
  }

  .quote-panel {
    padding: 34px 24px;
  }

  .static-form {
    grid-template-columns: auto 1fr;
  }

  .static-form button {
    grid-column: 1 / -1;
    min-height: 46px;
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

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

  .footer-links,
  .footer-status,
  .footer-public-links {
    grid-column: 1;
    justify-content: flex-start;
    justify-self: start;
  }

  .permission-table,
  .permission-table tbody,
  .permission-table tr,
  .permission-table th,
  .permission-table td {
    display: block;
  }

  .permission-table th {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  .permission-table td {
    padding-top: 0;
  }
}
