:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #0d0e10;
  --panel-2: #111215;
  --text: #f5f5f3;
  --muted: #9a9ca3;
  --faint: #62656f;
  --line: rgba(255, 255, 255, 0.105);
  --line-soft: rgba(255, 255, 255, 0.055);
  --blue: #6c7cff;
  --green: #72e0a7;
  --yellow: #f3d46b;
  --red: #ff6b73;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    scroll-behavior: smooth;
  }
}

main {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 50% -260px, rgba(255, 255, 255, 0.075), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 420px);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, transparent 68%);
}

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

button {
  border: 0;
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(18px);
  transform: translateY(-10px);
  opacity: 0;
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-loaded .site-header {
  transform: translateY(0);
  opacity: 1;
}

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

.brand,
.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 680;
}

.brand img,
.app-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.nav-links span {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 17px;
  border-radius: 999px;
  color: #111;
  background: var(--text);
  font-weight: 650;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.signup:hover {
  transform: translateY(-1px);
  background: #fff;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 14px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--text);
}

.hero,
.manifesto,
.product-suite,
.figure-grid,
.work-section,
.quote-section,
.install-section,
.site-footer {
  width: min(calc(100% - 112px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  padding-top: 176px;
}

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

h1 {
  max-width: 920px;
  font-size: clamp(50px, 6.3vw, 82px);
  line-height: 0.98;
  font-weight: 560;
  letter-spacing: 0;
}

h1 span {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition:
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms ease;
}

body.is-loaded h1 span {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

body.is-loaded h1 span:nth-child(2) {
  transition-delay: 90ms;
}

.hero p {
  max-width: 700px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 800ms ease 220ms,
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1) 220ms;
}

body.is-loaded .hero p {
  opacity: 1;
  transform: translateY(0);
}

.release-link {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
  align-items: center;
  justify-self: end;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 800ms ease 320ms,
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1) 320ms;
}

body.is-loaded .release-link {
  opacity: 1;
  transform: translateY(0);
}

.release-link i {
  grid-row: span 2;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(108, 124, 255, 0.8);
  border-radius: 50%;
  background: rgba(108, 124, 255, 0.55);
  box-shadow: 0 0 18px rgba(108, 124, 255, 0.6);
  animation: beaconPulse 2400ms ease-in-out infinite;
}

.release-link span {
  color: var(--faint);
}

.app-shot {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 300px;
  min-height: 640px;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 40%),
    #0a0b0d;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 40px 120px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transform-style: preserve-3d;
  transition:
    opacity 900ms ease 420ms,
    transform 1000ms cubic-bezier(0.16, 1, 0.3, 1) 420ms,
    border-color 220ms ease;
}

body.is-loaded .app-shot {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.app-shot.is-tilting {
  transition:
    opacity 900ms ease 420ms,
    border-color 220ms ease;
}

.app-shot::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, transparent 42%, rgba(255, 255, 255, 0.08) 50%, transparent 58%, transparent 100%);
  opacity: 0;
  transform: translateX(-35%);
  animation: surfaceSweep 7600ms ease-in-out 1800ms infinite;
}

.app-shot::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -72px;
  left: -20px;
  height: 170px;
  background: linear-gradient(180deg, transparent, rgba(173, 180, 188, 0.34));
  filter: blur(20px);
  opacity: 0.72;
  animation: baseGlow 5600ms ease-in-out infinite;
}

.app-sidebar,
.app-main,
.app-inspector {
  position: relative;
  z-index: 1;
}

.app-sidebar {
  padding: 22px 18px;
  border-right: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
}

.app-brand {
  margin-bottom: 20px;
  font-size: 14px;
}

.app-brand img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.app-command,
.nav-item {
  width: 100%;
  min-height: 28px;
  border-radius: 5px;
  color: #989da8;
  background: transparent;
  text-align: left;
}

.app-command {
  margin-bottom: 6px;
  padding: 0 10px;
  border: 1px solid var(--line-soft);
  font-size: 12px;
}

.app-command.accent {
  color: #d9dce5;
  background: rgba(255, 255, 255, 0.04);
  animation: softCommand 4200ms ease-in-out infinite;
}

.nav-section {
  margin-top: 28px;
}

.nav-section span {
  display: block;
  margin-bottom: 9px;
  color: var(--faint);
  font-size: 11px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  padding: 0 9px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.nav-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  opacity: 0.55;
}

.nav-item.active {
  color: #f4f4f4;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.015) inset;
  animation: activeItem 5200ms ease-in-out infinite;
}

.nav-item.active::before {
  border-color: var(--yellow);
  background: rgba(243, 212, 107, 0.22);
}

.app-main {
  padding: 24px 0 24px 0;
  border-right: 1px solid var(--line-soft);
}

.app-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  align-items: center;
  min-height: 40px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.app-toolbar span:first-child {
  color: #d7d8dd;
  position: relative;
}

.app-toolbar span:first-child::after,
.search-box::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.1em;
  margin-left: 6px;
  vertical-align: -0.18em;
  background: rgba(245, 245, 243, 0.74);
  animation: cursorBlink 1100ms steps(2, end) infinite;
}

.issue-panel {
  max-width: 610px;
  padding: 64px 48px;
}

.eyebrow,
.figure-label {
  color: var(--faint);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.issue-panel h2 {
  max-width: 500px;
  margin-top: 18px;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 650;
}

.issue-panel p {
  max-width: 500px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.activity {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  position: relative;
}

.activity::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(108, 124, 255, 0.09), transparent);
  opacity: 0;
  transform: translateX(-100%);
  animation: resultScan 5200ms ease-in-out 2200ms infinite;
}

.activity div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  min-height: 48px;
  align-items: center;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.027);
  font-size: 12px;
  transition:
    background 260ms ease,
    color 260ms ease;
}

.activity div:nth-child(1) {
  animation: resultFocus 5200ms ease-in-out infinite;
}

.activity div:nth-child(2) {
  animation: resultFocus 5200ms ease-in-out 1300ms infinite;
}

.activity div:nth-child(3) {
  animation: resultFocus 5200ms ease-in-out 2600ms infinite;
}

.activity div:nth-child(4) {
  animation: resultFocus 5200ms ease-in-out 3900ms infinite;
}

.activity b {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d9dce4;
  font-weight: 520;
}

.activity b::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.85), transparent 28%),
    linear-gradient(135deg, #4e5cff, #72e0a7);
  opacity: 0.76;
}

.activity span {
  color: var(--faint);
}

.app-inspector {
  padding: 34px 24px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d3d5dc;
  font-size: 12px;
}

.status-row span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(243, 212, 107, 0.45);
  animation: statusPulse 1800ms ease-in-out infinite;
}

dl {
  margin: 36px 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}

dt {
  color: var(--faint);
}

dd {
  margin: 0;
  color: #d8d9df;
}

.agent-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(260px 130px at 50% 0, rgba(255, 255, 255, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.035);
  animation: cardBreath 5200ms ease-in-out infinite;
}

.agent-card strong {
  font-size: 13px;
}

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

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.agent-card code {
  display: block;
  overflow: hidden;
  color: var(--faint);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-strip {
  width: min(calc(100% - 112px), var(--max));
  margin: 72px auto 0;
  overflow: hidden;
  color: #e7e8ec;
  font-size: 15px;
  font-weight: 650;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 800ms ease,
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.signal-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.signal-strip:hover .signal-track {
  animation-play-state: paused;
}

.signal-group {
  display: flex;
  justify-content: space-between;
  gap: clamp(72px, 12vw, 168px);
  min-width: var(--max);
  padding-right: clamp(72px, 12vw, 168px);
}

.signal-group span {
  white-space: nowrap;
  opacity: 0.88;
  transition: opacity 180ms ease;
}

.signal-group span:hover {
  opacity: 1;
}

.manifesto {
  margin-top: 84px;
}

.manifesto p {
  max-width: 1140px;
  font-size: clamp(32px, 4.25vw, 52px);
  line-height: 1.05;
  font-weight: 540;
}

.manifesto span {
  color: #757984;
}

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

.product-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 560px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(460px 260px at 74% 12%, rgba(255, 255, 255, 0.09), transparent 68%),
    #0b0c0e;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: auto 28px 170px 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
}

.product-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 34px;
  bottom: 34px;
  width: 184px;
  height: 184px;
  opacity: 0.58;
  pointer-events: none;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.database-card::after {
  border: 1px solid rgba(114, 224, 167, 0.45);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(114, 224, 167, 0.2), transparent 32%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(114, 224, 167, 0.18) 23px 24px);
  animation: cardBreath 5200ms ease-in-out infinite;
}

.runtime-card {
  background:
    radial-gradient(500px 260px at 72% 10%, rgba(243, 212, 107, 0.12), transparent 72%),
    #0b0c0e;
}

.runtime-card::after {
  border: 1px solid rgba(243, 212, 107, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(243, 212, 107, 0.2) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(243, 212, 107, 0.2) 50%, transparent 51%);
  transform: rotate(45deg) skew(-10deg, -10deg);
  animation: lineBreathe 5200ms ease-in-out infinite;
}

.product-card h2 {
  margin-top: 118px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  font-weight: 560;
}

.product-card p {
  max-width: 520px;
  margin-top: 22px;
  color: #c7c9d1;
  font-size: 17px;
  line-height: 1.58;
}

.product-card ul {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 38px 0 28px;
  padding: 0;
  list-style: none;
}

.product-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.product-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(114, 224, 167, 0.35);
}

.runtime-card li::before {
  background: var(--yellow);
  box-shadow: 0 0 16px rgba(243, 212, 107, 0.35);
}

.product-card a {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 14px;
  font-weight: 560;
}

.figure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 102px;
  border-top: 1px solid var(--line-soft);
}

.figure-grid article {
  min-height: 500px;
  padding: 34px 28px 0 28px;
  border-right: 1px solid var(--line-soft);
  transition:
    background 260ms ease,
    border-color 260ms ease;
}

.figure-grid article:hover {
  background: rgba(255, 255, 255, 0.018);
}

.figure-grid article:last-child {
  border-right: 0;
}

.diagram {
  position: relative;
  height: 250px;
  margin: 36px 0 42px;
  opacity: 0.88;
}

.diagram-stack i {
  position: absolute;
  right: 18%;
  left: 18%;
  height: 74px;
  border: 1px solid rgba(130, 135, 148, 0.5);
  transform: rotate(30deg) skewX(-28deg);
  animation: lineBreathe 4600ms ease-in-out infinite;
}

.diagram-stack i:nth-child(1) { top: 12px; }
.diagram-stack i:nth-child(2) { top: 32px; opacity: 0.8; }
.diagram-stack i:nth-child(3) { top: 52px; opacity: 0.65; }
.diagram-stack i:nth-child(4) { top: 72px; opacity: 0.48; }
.diagram-stack i:nth-child(5) { top: 92px; opacity: 0.32; }

.diagram-nodes i {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(130, 135, 148, 0.55);
  transform: rotate(30deg) skewX(-28deg);
  animation: lineBreathe 5200ms ease-in-out infinite;
}

.diagram-nodes i:nth-child(1) { top: 28px; left: 34%; }
.diagram-nodes i:nth-child(2) { top: 84px; left: 18%; }
.diagram-nodes i:nth-child(3) { top: 84px; right: 18%; }
.diagram-nodes i:nth-child(4) { top: 136px; left: 39%; }

.diagram-speed i {
  position: absolute;
  bottom: 24px;
  width: 17px;
  height: 116px;
  border: 1px solid rgba(130, 135, 148, 0.55);
  transform: skewY(-24deg);
  transform-origin: bottom;
  animation: speedBars 2600ms ease-in-out infinite;
}

.diagram-speed i:nth-child(1) { left: 19%; height: 36px; }
.diagram-speed i:nth-child(2) { left: 25%; height: 50px; }
.diagram-speed i:nth-child(3) { left: 31%; height: 64px; }
.diagram-speed i:nth-child(4) { left: 37%; height: 78px; }
.diagram-speed i:nth-child(5) { left: 43%; height: 92px; }
.diagram-speed i:nth-child(6) { left: 49%; height: 106px; }
.diagram-speed i:nth-child(7) { left: 55%; height: 120px; }
.diagram-speed i:nth-child(8) { left: 61%; height: 134px; }

.figure-grid h3 {
  margin-bottom: 13px;
  font-size: 17px;
  font-weight: 520;
}

.figure-grid p {
  max-width: 310px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.work-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  column-gap: 96px;
  row-gap: 44px;
  align-items: start;
  margin-top: 150px;
  padding-top: 86px;
  border-top: 1px solid var(--line-soft);
}

.work-section.reverse {
  grid-template-columns: 0.82fr 1fr;
}

.work-copy {
  display: contents;
}

.work-copy h2 {
  grid-column: 1;
}

.work-copy p,
.work-copy a {
  grid-column: 2;
}

.work-copy h2 {
  max-width: 430px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.02;
  font-weight: 540;
}

.work-copy p {
  max-width: 480px;
  margin-top: 0;
  color: #c7c9d1;
  font-size: 18px;
  line-height: 1.45;
}

.work-copy a {
  display: inline-block;
  margin-top: 0;
  color: var(--faint);
  font-size: 13px;
}

.wide-visual,
.metrics-panel {
  grid-column: 1 / -1;
  min-height: 420px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(580px 230px at 40% 0, rgba(255, 255, 255, 0.085), transparent 70%),
    #0b0c0e;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
  position: relative;
}

.wide-visual::before,
.metrics-panel::before,
.code-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08), transparent 80%);
  opacity: 0;
  transform: translateX(-60%);
  animation: panelSweep 8600ms ease-in-out infinite;
}

.search-visual {
  padding: 28px;
}

.search-box {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #dfe1e7;
  background: rgba(255, 255, 255, 0.035);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  position: relative;
}

.search-box span {
  color: var(--green);
}

.search-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 120px;
}

.search-columns article {
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(0);
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
  animation: floatCard 6200ms ease-in-out infinite;
}

.search-columns article:nth-child(2) {
  animation-delay: 900ms;
}

.search-columns article:nth-child(3) {
  animation-delay: 1800ms;
}

.search-columns article:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.052);
}

.search-columns b,
.memory-row b {
  display: block;
  color: #e3e5ea;
  font-size: 13px;
  font-weight: 560;
}

.search-columns small,
.memory-row small {
  display: block;
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
}

.search-columns p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.memory-visual {
  position: relative;
  padding: 30px;
}

.memory-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  margin-bottom: 10px;
  padding: 0 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.memory-row span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: statusPulse 2200ms ease-in-out infinite;
}

.memory-row.active {
  border-color: rgba(114, 224, 167, 0.32);
  background: rgba(114, 224, 167, 0.075);
  animation: memoryFocus 4600ms ease-in-out infinite;
}

.memory-row.muted {
  opacity: 0.42;
}

.memory-chart {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  align-items: end;
  height: 150px;
  opacity: 0.72;
}

.memory-chart i {
  display: block;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(108, 124, 255, 0.9), rgba(108, 124, 255, 0.05));
  transform-origin: bottom;
  animation: barPulse 3600ms ease-in-out infinite;
}

.memory-chart i:nth-child(1) { height: 40px; }
.memory-chart i:nth-child(2) { height: 68px; animation-delay: 140ms; }
.memory-chart i:nth-child(3) { height: 92px; animation-delay: 280ms; }
.memory-chart i:nth-child(4) { height: 124px; animation-delay: 420ms; }
.memory-chart i:nth-child(5) { height: 82px; animation-delay: 560ms; }
.memory-chart i:nth-child(6) { height: 58px; animation-delay: 700ms; }
.memory-chart i:nth-child(7) { height: 112px; animation-delay: 840ms; }

.metrics-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
}

.metrics-panel article {
  display: grid;
  align-content: space-between;
  min-height: 210px;
  padding: 24px;
  background:
    radial-gradient(300px 160px at 50% 0, rgba(255, 255, 255, 0.06), transparent 70%),
    #0b0c0e;
  transition: background 260ms ease;
}

.metrics-panel article:hover {
  background:
    radial-gradient(300px 160px at 50% 0, rgba(255, 255, 255, 0.105), transparent 70%),
    #0d0e10;
}

.metrics-panel span {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.95;
  font-weight: 650;
  animation: metricGlow 5200ms ease-in-out infinite;
}

.metrics-panel p {
  color: var(--muted);
  font-size: 13px;
}

.quote-section {
  width: min(calc(100% - 60px), 1900px);
  margin-top: 150px;
}

.quote-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.quote-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: clamp(460px, 34vw, 700px);
  overflow: hidden;
  border-radius: 8px;
  padding: 42px;
}

.quote-card p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: #08090b;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 470;
}

.quote-light {
  background:
    radial-gradient(900px 520px at 80% 48%, rgba(255, 255, 255, 0.42), transparent 42%),
    linear-gradient(140deg, #d8e7fb, #eee7ff);
}

.quote-light::after {
  content: "D";
  position: absolute;
  right: -60px;
  bottom: -160px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 720px;
  font-weight: 740;
  line-height: 0.8;
}

.quote-lime {
  background: #dfff00;
}

.quote-lime p {
  font-size: clamp(30px, 3.2vw, 46px);
}

.quote-person {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #0c0d10;
}

.quote-person img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.quote-person > span:not(.quote-symbol) {
  display: grid;
  gap: 5px;
  padding-left: 18px;
  border-left: 1px solid rgba(0, 0, 0, 0.11);
}

.quote-person strong {
  font-size: 16px;
  font-weight: 620;
}

.quote-person small {
  color: rgba(0, 0, 0, 0.56);
  font-size: 15px;
}

.quote-symbol {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
}

.quote-symbol::before {
  content: "";
  position: absolute;
  inset: 7px 4px 4px 4px;
  border-bottom: 10px solid #08090b;
  border-left: 10px solid #08090b;
  border-radius: 0 0 0 28px;
  transform: skewX(-18deg) rotate(-12deg);
}

.proof-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 52px;
  color: var(--muted);
  font-size: 17px;
}

.proof-row strong {
  color: var(--text);
}

.proof-row a {
  color: var(--muted);
  white-space: nowrap;
}

.install-section {
  width: min(calc(100% - 60px), 1900px);
  display: grid;
  place-items: center;
  min-height: 620px;
  margin-top: 170px;
  padding: 72px 0 112px;
}

.install-copy h2 {
  max-width: 780px;
  text-align: center;
  font-size: clamp(54px, 6.7vw, 96px);
  line-height: 0.98;
  font-weight: 540;
}

.install-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 560;
}

.primary-action {
  color: #080808;
  background: var(--text);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 28px rgba(0, 0, 0, 0.26);
}

.code-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0b0d;
}

.code-tabs {
  display: flex;
  gap: 4px;
  padding: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.code-tab {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.code-tab:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.code-tab.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

pre {
  min-height: 242px;
  margin: 0;
  overflow: auto;
  padding: 28px;
  color: #dfe1e7;
  font-size: 13px;
  line-height: 1.75;
  animation: codeIn 260ms ease;
}

.copy-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.copy-button:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(6px);
  transition:
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal.is-visible.signal-strip {
  display: block;
}

.figure-grid article.reveal:nth-child(2),
.metrics-panel article.reveal:nth-child(2) {
  transition-delay: 100ms;
}

.figure-grid article.reveal:nth-child(3),
.metrics-panel article.reveal:nth-child(3) {
  transition-delay: 200ms;
}

.metrics-panel article.reveal:nth-child(4) {
  transition-delay: 300ms;
}

@keyframes beaconPulse {
  0%, 100% {
    opacity: 0.55;
    box-shadow: 0 0 14px rgba(108, 124, 255, 0.45);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 24px rgba(108, 124, 255, 0.85);
  }
}

@keyframes surfaceSweep {
  0%, 58% {
    opacity: 0;
    transform: translateX(-45%);
  }
  68% {
    opacity: 1;
  }
  86%, 100% {
    opacity: 0;
    transform: translateX(45%);
  }
}

@keyframes baseGlow {
  0%, 100% {
    opacity: 0.54;
    transform: translateY(0);
  }
  50% {
    opacity: 0.82;
    transform: translateY(-8px);
  }
}

@keyframes softCommand {
  0%, 100% {
    background: rgba(255, 255, 255, 0.04);
  }
  50% {
    background: rgba(255, 255, 255, 0.075);
  }
}

@keyframes activeItem {
  0%, 100% {
    background: rgba(255, 255, 255, 0.06);
  }
  50% {
    background: rgba(108, 124, 255, 0.11);
  }
}

@keyframes cursorBlink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes resultScan {
  0%, 35% {
    opacity: 0;
    transform: translateX(-100%);
  }
  45%, 62% {
    opacity: 1;
  }
  78%, 100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes resultFocus {
  0%, 18%, 100% {
    background: rgba(255, 255, 255, 0.027);
  }
  8% {
    background: rgba(255, 255, 255, 0.06);
  }
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 0.62;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes cardBreath {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.105);
  }
  50% {
    border-color: rgba(255, 255, 255, 0.18);
  }
}

@keyframes lineBreathe {
  0%, 100% {
    border-color: rgba(130, 135, 148, 0.4);
  }
  50% {
    border-color: rgba(210, 214, 224, 0.62);
  }
}

@keyframes speedBars {
  0%, 100% {
    opacity: 0.45;
    transform: skewY(-24deg) scaleY(0.82);
  }
  50% {
    opacity: 0.9;
    transform: skewY(-24deg) scaleY(1);
  }
}

@keyframes panelSweep {
  0%, 62% {
    opacity: 0;
    transform: translateX(-70%);
  }
  72% {
    opacity: 0.55;
  }
  92%, 100% {
    opacity: 0;
    transform: translateX(70%);
  }
}

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

@keyframes memoryFocus {
  0%, 100% {
    box-shadow: 0 0 0 rgba(114, 224, 167, 0);
  }
  50% {
    box-shadow: 0 0 30px rgba(114, 224, 167, 0.12);
  }
}

@keyframes barPulse {
  0%, 100% {
    transform: scaleY(0.72);
    opacity: 0.58;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes metricGlow {
  0%, 100% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    text-shadow: 0 0 28px rgba(255, 255, 255, 0.12);
  }
}

@keyframes codeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  .reveal,
  h1 span,
  .hero p,
  .release-link,
  .app-shot,
  .site-header {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .signal-track {
    animation: none;
  }
}

.site-footer {
  width: min(calc(100% - 60px), 1900px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 150px;
  padding: 88px 0 132px;
  border-top: 1px solid var(--line-soft);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: start;
  color: var(--text);
  font-size: 20px;
  font-weight: 650;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 72px;
}

.site-footer strong {
  display: block;
  margin-bottom: 22px;
  color: #d7d8dd;
  font-size: 13px;
  font-weight: 560;
}

.site-footer a {
  display: block;
  margin-bottom: 13px;
  color: var(--faint);
  font-size: 13px;
}

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

@media (max-width: 1020px) {
  .nav-inner,
  .hero,
  .manifesto,
  .product-suite,
  .figure-grid,
  .work-section,
  .quote-section,
  .install-section,
  .site-footer,
  .signal-strip {
    width: min(calc(100% - 44px), var(--max));
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-grid,
  .work-section,
  .work-section.reverse,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .quote-card {
    min-height: 360px;
  }

  .work-copy h2,
  .work-copy p,
  .work-copy a,
  .wide-visual,
  .metrics-panel {
    grid-column: 1;
  }

  .release-link {
    justify-self: start;
  }

  .app-shot {
    width: 1180px;
    max-width: none;
    grid-template-columns: 200px 520px 260px;
  }

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

  .product-suite {
    grid-template-columns: 1fr;
  }

  .figure-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .signal-strip {
    justify-content: flex-start;
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    width: calc(100% - 44px);
    height: 68px;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 24px;
    height: 24px;
  }

  .hero {
    padding-top: 124px;
    overflow: hidden;
  }

  h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero p {
    font-size: 16px;
  }

  .app-shot {
    margin-top: 44px;
    transform: translateX(-6px);
  }

  .signal-strip {
    margin-top: 48px;
    font-size: 15px;
  }

  .manifesto {
    margin-top: 72px;
  }

  .manifesto p {
    font-size: clamp(34px, 10vw, 46px);
  }

  .figure-grid {
    margin-top: 72px;
  }

  .product-suite {
    margin-top: 54px;
  }

  .product-card {
    min-height: 520px;
    padding: 26px;
  }

  .product-card h2 {
    margin-top: 96px;
    font-size: 44px;
  }

  .product-card p {
    font-size: 15px;
  }

  .product-card::after {
    right: 24px;
    bottom: 24px;
    width: 132px;
    height: 132px;
  }

  .work-section {
    gap: 44px;
    margin-top: 88px;
    padding-top: 66px;
  }

  .work-copy h2 {
    font-size: 34px;
  }

  .work-copy p {
    font-size: 16px;
  }

  .wide-visual,
  .metrics-panel {
    width: calc(100vw - 16px);
    margin-left: -14px;
  }

  .search-columns {
    grid-template-columns: repeat(3, 230px);
    margin-top: 82px;
  }

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

  .install-section {
    gap: 38px;
    margin-top: 96px;
    min-height: 420px;
    padding: 72px 0;
  }

  .install-copy h2 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .install-actions {
    flex-wrap: wrap;
  }

  .quote-section {
    margin-top: 96px;
  }

  .quote-card {
    min-height: 330px;
    padding: 28px;
  }

  .quote-card p,
  .quote-lime p {
    font-size: 30px;
  }

  .proof-row {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 28px;
    font-size: 15px;
  }

  .site-footer nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* Multi-page product system */
.home-hero,
.product-hero,
.suite-grid,
.principle-grid,
.product-nav,
.feature-band,
.metrics-section {
  width: min(calc(100% - 112px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 126px 0 80px;
}

.hero-copy h1,
.product-hero h1 {
  margin-top: 18px;
}

.hero-copy p,
.product-hero p {
  max-width: 680px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.system-map {
  position: relative;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(500px 300px at 50% 45%, rgba(255, 255, 255, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 48%),
    #0a0b0d;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.system-map::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.72;
}

.map-node,
.map-core,
.product-shot,
.product-nav,
.feature-list article,
.policy-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.map-node {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 9px;
  width: 250px;
  padding: 20px;
}

.map-node small,
.runtime-topbar,
.shot-command,
.timeline,
.diff-line {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.map-node small {
  color: var(--faint);
  font-size: 11px;
  text-transform: uppercase;
}

.map-node strong {
  font-size: 28px;
  line-height: 1;
}

.map-node span {
  color: var(--muted);
  font-size: 12px;
}

.map-db {
  top: 88px;
  left: 54px;
}

.map-runtime {
  right: 54px;
  bottom: 88px;
}

.map-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  color: #dfe1e7;
  transform: translate(-50%, -50%);
}

.map-core img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}

.map-link {
  position: absolute;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(114, 224, 167, 0.42), rgba(243, 212, 107, 0.35), transparent);
}

.map-link.one {
  top: 246px;
  left: 210px;
  width: 360px;
  transform: rotate(28deg);
}

.map-link.two {
  right: 210px;
  bottom: 246px;
  width: 360px;
  transform: rotate(28deg);
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 102px;
}

.suite-panel {
  min-height: 680px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(540px 280px at 70% 12%, rgba(255, 255, 255, 0.09), transparent 70%),
    #0b0c0e;
  overflow: hidden;
}

.suite-panel-runtime {
  background:
    radial-gradient(540px 280px at 70% 12%, rgba(243, 212, 107, 0.11), transparent 70%),
    #0b0c0e;
}

.suite-visual {
  position: relative;
  height: 260px;
  margin: 44px 0 52px;
}

.db-visual i {
  position: absolute;
  inset: calc(var(--n, 0) * 26px);
  border: 1px solid rgba(114, 224, 167, 0.24);
  border-radius: 50%;
}

.db-visual i:nth-child(1) { --n: 0; }
.db-visual i:nth-child(2) { --n: 1; }
.db-visual i:nth-child(3) { --n: 2; }
.db-visual i:nth-child(4) { --n: 3; background: rgba(114, 224, 167, 0.08); }

.runtime-visual i {
  position: absolute;
  width: 180px;
  height: 96px;
  border: 1px solid rgba(243, 212, 107, 0.22);
  border-radius: 8px;
  transform: rotate(32deg) skewX(-18deg);
}

.runtime-visual i:nth-child(1) { top: 20px; left: 12%; }
.runtime-visual i:nth-child(2) { top: 66px; left: 28%; }
.runtime-visual i:nth-child(3) { top: 112px; left: 44%; }
.runtime-visual i:nth-child(4) { top: 158px; left: 60%; }

.suite-panel h2,
.feature-copy h2,
.metrics-section h2 {
  max-width: 720px;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 0.98;
  font-weight: 540;
}

.suite-panel p,
.principle-grid p,
.feature-copy p,
.feature-list p {
  color: var(--muted);
  line-height: 1.65;
}

.suite-panel p {
  max-width: 560px;
  margin-top: 20px;
  font-size: 16px;
}

.suite-panel a {
  display: inline-block;
  margin-top: 30px;
  color: var(--text);
  font-weight: 560;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 120px;
  border-top: 1px solid var(--line-soft);
}

.principle-grid article {
  min-height: 260px;
  padding: 30px 26px;
  border-right: 1px solid var(--line-soft);
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-grid h3 {
  margin: 88px 0 14px;
  font-size: 18px;
  font-weight: 560;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(760px, 1fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 126px 0 72px;
}

.product-shot {
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(520px 260px at 50% 0, rgba(255, 255, 255, 0.08), transparent 70%),
    #0a0b0d;
}

.db-shot {
  display: grid;
  grid-template-columns: 190px 1fr;
}

.shot-sidebar {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 24px;
  border-right: 1px solid var(--line-soft);
}

.shot-sidebar strong {
  margin-bottom: 20px;
  color: var(--faint);
  font-size: 12px;
  text-transform: uppercase;
}

.shot-sidebar span {
  min-height: 34px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}

.shot-sidebar .active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.shot-main {
  padding: 34px;
}

.shot-command {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #dfe1e7;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
}

.result-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 74px;
  margin-top: 12px;
  padding: 0 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.result-row b {
  color: #e2e4ea;
  font-size: 13px;
  font-weight: 560;
}

.result-row small {
  color: var(--faint);
  font-size: 12px;
}

.runtime-shot {
  padding: 28px;
}

.runtime-topbar {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
}

.runtime-topbar b {
  color: var(--yellow);
}

.runtime-board {
  display: grid;
  gap: 12px;
  margin-top: 84px;
}

.runtime-board div {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
}

.runtime-board div.active {
  border-color: rgba(243, 212, 107, 0.36);
  background: rgba(243, 212, 107, 0.07);
}

.runtime-board small,
.timeline {
  color: var(--faint);
  font-size: 11px;
  text-transform: uppercase;
}

.runtime-board strong {
  color: #e5e7ed;
  font-size: 18px;
}

.runtime-board span {
  color: var(--muted);
  font-size: 12px;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
}

.timeline span,
.policy-grid span {
  padding: 10px 12px;
}

.product-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  min-height: 58px;
  margin-top: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.7fr);
  gap: 100px;
  align-items: start;
  margin-top: 150px;
  padding-top: 86px;
  border-top: 1px solid var(--line-soft);
}

.feature-copy p {
  max-width: 620px;
  margin-top: 28px;
  font-size: 18px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list article {
  padding: 22px;
}

.feature-list h3 {
  margin-bottom: 12px;
  font-size: 17px;
}

.feature-list p {
  font-size: 13px;
}

.split-feature {
  align-items: center;
}

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

.policy-grid span {
  min-height: 92px;
  color: #d8dbe2;
  font-size: 13px;
}

.review-visual {
  padding: 28px;
}

.diff-line {
  min-height: 42px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}

.diff-line.add {
  color: var(--green);
}

.diff-line.remove {
  color: var(--red);
}

.diff-line.keep {
  color: var(--muted);
}

.merge-panel {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(243, 212, 107, 0.28);
  border-radius: 8px;
  background: rgba(243, 212, 107, 0.07);
}

.merge-panel span {
  color: var(--muted);
}

.metrics-section {
  margin-top: 150px;
  padding-top: 86px;
  border-top: 1px solid var(--line-soft);
}

.metrics-section .metrics-panel {
  margin-top: 44px;
}

.install-copy .code-panel {
  width: min(720px, 100%);
  margin: 34px auto 0;
  text-align: left;
}

.compact-footer nav {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
}

.gui-frame {
  position: relative;
  display: grid;
  min-height: 660px;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    #090a0c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 40px 120px rgba(0, 0, 0, 0.5);
}

.gui-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, transparent 42%, rgba(255, 255, 255, 0.08) 50%, transparent 58%, transparent 100%);
  opacity: 0;
  transform: translateX(-35%);
  animation: surfaceSweep 7600ms ease-in-out 1800ms infinite;
}

.gui-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #f1f2f4;
  font-size: 13px;
  font-weight: 650;
}

.gui-brand img {
  width: 19px;
  height: 19px;
  border-radius: 5px;
}

.gui-command {
  width: 100%;
  min-height: 30px;
  margin-bottom: 7px;
  padding: 0 10px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  color: #989da8;
  background: transparent;
  text-align: left;
  font-size: 12px;
}

.gui-command.active {
  color: #e7e9ee;
  background: rgba(255, 255, 255, 0.055);
  animation: softCommand 4200ms ease-in-out infinite;
}

.gui-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  min-height: 42px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.gui-toolbar span:first-child {
  color: #d7d8dd;
}

.opendb-gui {
  grid-template-columns: 190px minmax(0, 1fr) 240px;
}

.gui-sidebar,
.runtime-rail {
  padding: 22px 18px;
  border-right: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
}

.gui-nav {
  display: grid;
  gap: 5px;
  margin-top: 28px;
}

.gui-nav small,
.runner-stack small {
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 11px;
  text-transform: uppercase;
}

.gui-nav span {
  min-height: 28px;
  padding: 7px 9px;
  border-radius: 5px;
  color: #90949e;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.gui-nav .selected {
  color: #f4f4f4;
  background: rgba(255, 255, 255, 0.06);
}

.gui-main {
  border-right: 1px solid var(--line-soft);
}

.query-panel {
  max-width: 590px;
  padding: 54px 34px;
}

.query-panel h2 {
  max-width: 500px;
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 650;
}

.query-panel p {
  max-width: 500px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.gui-results {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--line-soft);
}

.gui-results div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.027);
  font-size: 12px;
  animation: resultFocus 5200ms ease-in-out infinite;
}

.gui-results div:nth-child(2) { animation-delay: 1300ms; }
.gui-results div:nth-child(3) { animation-delay: 2600ms; }
.gui-results div:nth-child(4) { animation-delay: 3900ms; }

.gui-results b {
  color: #d9dce4;
  font-weight: 520;
}

.gui-results span {
  color: var(--faint);
}

.gui-inspector,
.runtime-review {
  padding: 34px 24px;
}

.runtime-gui {
  grid-template-columns: 180px minmax(0, 1fr) 240px;
}

.runtime-center {
  border-right: 1px solid var(--line-soft);
}

.runner-stack {
  display: grid;
  gap: 9px;
  margin-top: 30px;
}

.runner-stack div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.028);
}

.runner-stack b {
  color: #e2e4ea;
  font-size: 12px;
}

.runner-stack span {
  color: var(--green);
  font-size: 11px;
}

.runtime-session {
  padding: 44px 34px;
}

.session-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}

.session-header strong {
  color: #e2e4ea;
  font-size: 13px;
  font-weight: 560;
}

.event-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-left: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}

.event-line span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--faint);
}

.event-line.done span {
  background: var(--green);
  box-shadow: 0 0 16px rgba(114, 224, 167, 0.35);
}

.event-line.active {
  color: #e9ebef;
}

.event-line.active span {
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(243, 212, 107, 0.4);
  animation: statusPulse 1800ms ease-in-out infinite;
}

.terminal-card {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(320px 130px at 50% 0, rgba(255, 255, 255, 0.07), transparent 70%),
    rgba(255, 255, 255, 0.035);
}

.terminal-card code {
  color: #e7e9ee;
  font-size: 12px;
}

.terminal-card small {
  color: var(--faint);
  font-size: 11px;
}

.diff-summary {
  display: grid;
  gap: 12px;
  margin: 34px 0 18px;
  padding: 16px;
  border: 1px solid rgba(243, 212, 107, 0.26);
  border-radius: 8px;
  background: rgba(243, 212, 107, 0.06);
}

.diff-summary strong {
  color: #f1f2f4;
  font-size: 14px;
}

.diff-summary span {
  color: var(--muted);
  font-size: 12px;
}

.review-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.review-actions button {
  min-height: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  color: #dfe1e7;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
}

.mini-diff {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.mini-diff span {
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.026);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.mini-diff .add {
  color: var(--green);
}

.mini-diff .remove {
  color: var(--red);
}

/* Refined product GUI pass */
.product-shot.gui-frame {
  min-height: 560px;
  border-color: rgba(139, 146, 162, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%),
    #08090d;
  color: #eef0f4;
  font-family:
    ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.018) inset,
    0 34px 90px rgba(0, 0, 0, 0.48);
}

.gui-frame::before {
  display: none;
}

.opendb-gui,
.runtime-gui {
  grid-template-columns: 176px minmax(0, 1fr) 230px;
}

.gui-sidebar,
.runtime-rail {
  padding: 18px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), transparent 38%),
    #0c0d12;
}

.gui-main,
.runtime-center {
  background: #090a0e;
}

.gui-inspector,
.runtime-review {
  padding: 22px 18px;
  background: #090a0e;
}

.gui-brand {
  gap: 9px;
  margin-bottom: 18px;
  color: #f2f3f6;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

.gui-brand img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.gui-command {
  min-height: 28px;
  margin-bottom: 6px;
  padding: 0 9px;
  border-color: rgba(139, 146, 162, 0.15);
  border-radius: 6px;
  color: #858b98;
  background: transparent;
  font-size: 11px;
  line-height: 1;
}

.gui-command.active {
  border-color: rgba(139, 146, 162, 0.28);
  color: #f0f2f6;
  background: rgba(255, 255, 255, 0.055);
  animation: none;
}

.gui-nav {
  gap: 4px;
  margin-top: 24px;
}

.gui-nav small,
.runner-stack small,
.runtime-board small,
.session-header .eyebrow,
.query-panel .eyebrow {
  color: #68707d;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.gui-nav span {
  min-height: 25px;
  padding: 6px 8px;
  color: #89909b;
  font-size: 10px;
  letter-spacing: 0;
}

.gui-nav .selected {
  color: #f1f3f7;
  background: rgba(255, 255, 255, 0.055);
}

.gui-toolbar {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  min-height: 38px;
  padding: 0 22px;
  color: #727987;
  font-size: 10px;
  letter-spacing: 0;
}

.gui-toolbar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gui-toolbar span:first-child {
  color: #d5d8df;
}

.query-panel {
  max-width: none;
  padding: 48px 30px 30px;
}

.query-panel h2 {
  max-width: 420px;
  margin-top: 12px;
  color: #f3f4f7;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: 0;
}

.query-panel p {
  max-width: 410px;
  margin-top: 14px;
  color: #8f95a1;
  font-size: 12px;
  line-height: 1.58;
}

.gui-results {
  max-width: 430px;
  margin-top: 26px;
  border-color: rgba(139, 146, 162, 0.14);
  border-radius: 7px;
  background: rgba(139, 146, 162, 0.14);
}

.gui-results div {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 42px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.026);
  font-size: 11px;
  animation: none;
}

.gui-results b {
  overflow: hidden;
  color: #e5e7ec;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gui-results span {
  color: #747b88;
  white-space: nowrap;
}

.status-row {
  color: #d9dce4;
  font-size: 11px;
}

.status-row span {
  width: 7px;
  height: 7px;
  background: #8090ff;
  box-shadow: 0 0 16px rgba(128, 144, 255, 0.35);
}

.gui-inspector dl {
  margin: 28px 0;
}

.gui-inspector dl div {
  padding: 10px 0;
  border-color: rgba(139, 146, 162, 0.13);
  font-size: 11px;
}

.agent-card {
  padding: 15px;
  border-color: rgba(139, 146, 162, 0.2);
  background: rgba(255, 255, 255, 0.035);
  animation: none;
}

.agent-card p {
  margin: 10px 0 13px;
  color: #9aa0aa;
  font-size: 11px;
}

.agent-card code {
  color: #6f7682;
  font-size: 10px;
}

.runner-stack {
  gap: 8px;
  margin-top: 28px;
}

.runner-stack div {
  gap: 3px;
  padding: 10px;
  border-color: rgba(139, 146, 162, 0.15);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.026);
}

.runner-stack b {
  color: #e4e6eb;
  font-size: 11px;
}

.runner-stack span {
  color: #6dd69b;
  font-size: 10px;
}

.runtime-session {
  padding: 38px 28px 28px;
}

.session-header {
  margin-bottom: 24px;
}

.session-header strong {
  color: #f0f2f6;
  font-size: 12px;
}

.event-line {
  gap: 11px;
  min-height: 42px;
  padding: 0 10px;
  border-left-color: rgba(139, 146, 162, 0.16);
  color: #8d94a1;
  font-size: 12px;
}

.event-line span {
  width: 7px;
  height: 7px;
}

.event-line.done span {
  background: #6dd69b;
  box-shadow: none;
}

.event-line.active {
  color: #f0f2f6;
}

.event-line.active span {
  background: #8090ff;
  box-shadow: 0 0 14px rgba(128, 144, 255, 0.35);
}

.terminal-card {
  max-width: 360px;
  gap: 7px;
  margin-top: 28px;
  padding: 14px;
  border-color: rgba(139, 146, 162, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.terminal-card code {
  color: #e6e8ee;
  font-size: 11px;
}

.terminal-card small {
  color: #737b88;
  font-size: 10px;
}

.diff-summary {
  gap: 9px;
  margin: 28px 0 14px;
  padding: 14px;
  border-color: rgba(128, 144, 255, 0.34);
  border-radius: 7px;
  background: rgba(128, 144, 255, 0.06);
}

.diff-summary strong {
  color: #f2f3f7;
  font-size: 13px;
}

.diff-summary span {
  color: #8f95a1;
  font-size: 11px;
}

.review-actions {
  gap: 5px;
}

.review-actions button {
  min-height: 28px;
  border-color: rgba(139, 146, 162, 0.18);
  border-radius: 6px;
  color: #d8dbe2;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
}

.mini-diff {
  margin-top: 22px;
  border-color: rgba(139, 146, 162, 0.14);
  border-radius: 7px;
}

.mini-diff span {
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.022);
  font-size: 10px;
  line-height: 1.35;
}

.mini-diff .add {
  color: #77e0a7;
}

.mini-diff .remove {
  color: #ff7d87;
}

@media (max-width: 1020px) {
  .home-hero,
  .product-hero,
  .suite-grid,
  .principle-grid,
  .product-nav,
  .feature-band,
  .metrics-section {
    width: min(calc(100% - 44px), var(--max));
  }

  .home-hero,
  .product-hero,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .product-hero {
    overflow: hidden;
  }

  .system-map,
  .product-shot {
    min-height: 560px;
  }

  .suite-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 640px) {
  .home-hero,
  .product-hero {
    min-height: auto;
    padding: 96px 0 54px;
  }

  .hero-actions,
  .product-nav,
  .merge-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .system-map,
  .product-shot {
    min-height: 500px;
  }

  .map-node {
    width: 220px;
  }

  .map-db {
    top: 46px;
    left: 24px;
  }

  .map-runtime {
    right: 24px;
    bottom: 46px;
  }

  .map-core {
    width: 130px;
    height: 130px;
  }

  .suite-panel {
    min-height: 560px;
    padding: 26px;
  }

  .db-shot {
    grid-template-columns: 1fr;
  }

  .shot-sidebar {
    display: none;
  }

  .result-row {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 76px;
  }

  .feature-band,
  .metrics-section {
    margin-top: 94px;
    padding-top: 62px;
  }

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

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

  .opendb-gui,
  .runtime-gui {
    width: 1080px;
    max-width: none;
    grid-template-columns: 190px 520px 250px;
    transform: translateX(-10px);
  }

  .gui-frame {
    min-height: 600px;
  }

  .query-panel {
    padding: 52px 38px;
  }
}
