:root {
  color-scheme: dark;
  --bg: #161826;
  --bg-deep: #0e0f18;
  --sidebar: #12141f;
  --surface: #1b1d2c;
  --surface-raised: #232532;
  --line: rgba(233, 233, 237, 0.09);
  --line-strong: rgba(233, 233, 237, 0.15);
  --text: #e9e9ed;
  --strong: #f3f5fe;
  --muted: #9397ab;
  --faint: #75798c;
  --violet: #9184d9;
  --violet-soft: rgba(145, 132, 217, 0.14);
  --green: #65b58d;
  --amber: #d59b33;
  --red: #e56e77;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 10%, rgba(145, 132, 217, 0.08), transparent 28rem),
    var(--bg-deep);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
code, pre, .eyebrow, .tag, .card-label, .tier-number, .demo-row, .queue-head, .window-status { font-family: var(--mono); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-150%);
  background: var(--strong);
  color: var(--bg-deep);
}
.skip-link:focus { transform: none; }

.site-header,
.site-footer,
main > section {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 66px;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--strong);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.brand img { flex: none; }
.site-header nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.site-header nav a:hover,
.site-footer nav a:hover,
.text-link:hover { color: var(--strong); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--violet); color: #10111a; }
.button-primary:hover { background: #a196e5; }
.button-secondary { background: transparent; border-color: var(--line-strong); color: var(--text); }
.button-secondary:hover { border-color: var(--violet); background: var(--violet-soft); }
.button-small { min-height: 34px; padding-inline: 12px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 58px;
  min-height: 680px;
  padding-block: 74px 68px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 21px; }
.tag {
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.tag-accent { border-color: rgba(145, 132, 217, 0.5); color: #b8aff2; background: var(--violet-soft); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  color: var(--strong);
  font-size: clamp(42px, 4.35vw, 64px);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.025;
}
.hero-lede {
  max-width: 600px;
  margin-bottom: 27px;
  color: #b2b6ca;
  font-size: 17px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--faint); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(101, 181, 141, 0.55); }

.product-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}
.product-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.product-shot figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font: 9.5px var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.window-bar {
  display: flex;
  align-items: center;
  min-height: 45px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--sidebar);
}
.window-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 12px; font-weight: 600; }
.window-status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: var(--faint); font-size: 9.5px; text-transform: uppercase; }
.window-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pipeline-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 11px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.pipeline-head div { min-width: 0; }
.pipeline-head span, .pipeline-head strong { display: block; }
.pipeline-head span { margin-bottom: 3px; color: var(--faint); font: 9px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.pipeline-head strong { overflow: hidden; color: #d9dbea; font: 11px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.pipeline-head b { color: var(--faint); font-weight: 400; }
.queue-head,
.demo-row { display: grid; grid-template-columns: 64px minmax(180px, 1fr) 88px 92px 42px; gap: 10px; align-items: center; }
.queue-head { padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 8px; letter-spacing: 0.09em; text-transform: uppercase; }
.demo-row { min-height: 58px; padding: 8px 14px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 9.5px; }
.demo-row > * { min-width: 0; }
.demo-row time, .demo-row > span, .demo-row > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-row > b { color: #cfd2e3; font-weight: 500; text-align: right; }
.demo-row strong, .demo-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-row strong { color: #e3e5ef; font-family: var(--sans); font-size: 11.5px; font-weight: 550; }
.demo-row small { margin-top: 3px; color: var(--faint); font-size: 8.5px; }
.demo-row em { justify-self: start; padding: 3px 6px; border: 1px solid currentColor; border-radius: 4px; font-size: 8px; font-style: normal; text-transform: uppercase; }
.verdict-real { color: var(--red); background: rgba(229, 110, 119, 0.08); }
.verdict-uncertain { color: var(--amber); background: rgba(213, 155, 51, 0.08); }
.verdict-false { color: var(--green); background: rgba(101, 181, 141, 0.08); }
.demo-disclosure { margin: 0; padding: 9px 14px; color: var(--faint); font: 9px var(--mono); text-align: right; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.proof-strip div { padding: 25px 24px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { margin-bottom: 4px; color: var(--strong); font: 500 26px var(--mono); letter-spacing: -0.04em; }
.proof-strip span { color: var(--muted); font-size: 11px; }

.section { padding-block: 112px; border-bottom: 1px solid var(--line); }
.demo-section { text-align: center; }
.demo-section .section-heading { margin-inline: auto; }
.demo-gif {
  display: block;
  width: min(100%, 960px);
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}
.section-heading { max-width: 770px; margin-bottom: 40px; }
.compact-heading { max-width: 700px; }
.eyebrow, .card-label {
  margin-bottom: 12px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h2 { margin-bottom: 17px; color: var(--strong); font-size: clamp(31px, 3.4vw, 46px); font-weight: 520; letter-spacing: -0.035em; line-height: 1.1; }
.section-heading > p:last-child, .boundary-copy > p, .install-section > div > p { color: var(--muted); font-size: 16px; line-height: 1.7; }

.tier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tier-card { position: relative; min-height: 430px; padding: 35px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.tier-card-accent { background: linear-gradient(135deg, rgba(145, 132, 217, 0.08), transparent 42%), var(--surface); }
.tier-number { position: absolute; top: 24px; right: 28px; color: rgba(145, 132, 217, 0.17); font-size: 78px; line-height: 1; }
.tier-card h3 { position: relative; max-width: 380px; margin: 58px 0 16px; color: var(--strong); font-size: 27px; font-weight: 520; letter-spacing: -0.025em; }
.tier-card > p:not(.card-label) { max-width: 500px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tier-card ul { position: absolute; right: 35px; bottom: 29px; left: 35px; display: grid; gap: 8px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; color: #b2b6ca; font-size: 12px; }
.tier-card li::before { content: "·"; margin-right: 9px; color: var(--violet); }

.architecture-section { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); gap: 80px; }
.architecture-flow { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.architecture-flow li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.architecture-flow li > span { color: var(--violet); font: 11px var(--mono); }
.architecture-flow strong { display: block; margin-bottom: 6px; color: var(--strong); font-size: 15px; }
.architecture-flow p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
code { padding: 2px 5px; border-radius: 3px; background: var(--surface); color: #c5c8d8; font-size: 0.88em; }

.boundary-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: center; }
.text-link { color: #b6adf0; font-size: 13px; font-weight: 600; text-decoration: none; }
.control-list { border-block: 1px solid var(--line); }
.control-list > div { display: grid; grid-template-columns: 8px 1fr; gap: 16px; padding: 21px 5px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.control-list > div:last-child { border-bottom: 0; }
.control-list i { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(101, 181, 141, 0.24); }
.control-list strong { display: block; margin-bottom: 3px; color: var(--strong); font-size: 14px; }

.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.evidence-grid article { min-height: 190px; padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.evidence-grid article > span { display: inline-block; margin-bottom: 27px; color: var(--green); font: 9px var(--mono); letter-spacing: 0.1em; }
.evidence-grid strong { display: block; margin-bottom: 7px; color: var(--strong); font-size: 14px; }
.evidence-grid p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.evidence-grid .evidence-limit > span { color: var(--amber); }
.evidence-actions { display: flex; align-items: center; gap: 22px; margin-top: 24px; }

.install-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
.requirement-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.requirement-row span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--faint); font: 9.5px var(--mono); }
.terminal { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--sidebar); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.terminal-bar { display: flex; align-items: center; gap: 6px; min-height: 39px; padding: 0 13px; border-bottom: 1px solid var(--line); }
.terminal-bar span { width: 7px; height: 7px; border-radius: 50%; background: #3f424d; }
.terminal-bar b { margin-left: 5px; color: var(--faint); font: 9px var(--mono); }
.terminal pre { margin: 0; padding: 20px; overflow-x: auto; color: #ccd0e0; font: 12px/1.85 var(--mono); }
.terminal pre code { padding: 0; background: none; color: inherit; }
.terminal pre i { color: var(--faint); font-style: normal; }
.terminal > p { margin: 0; padding: 11px 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }

.final-cta { padding-block: 115px 125px; text-align: center; }
.final-cta > img { margin-bottom: 18px; }
.final-cta h2 { max-width: 760px; margin-inline: auto; }
.final-cta > p:not(.eyebrow) { max-width: 590px; margin: 0 auto 26px; color: var(--muted); }
.final-cta .hero-actions { justify-content: center; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; min-height: 100px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 18px; }
.footer-brand { font-size: 13px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 65px; }
  .hero-copy { max-width: 700px; }
  .product-window, .product-shot { width: 100%; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .architecture-section, .boundary-section, .install-section { grid-template-columns: 1fr; gap: 42px; }
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr auto; padding-block: 26px; }
  .site-footer p { grid-column: 1; }
  .site-footer nav { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 700px) {
  .site-header, .site-footer, main > section { width: min(calc(100% - 28px), var(--content)); }
  .site-header { gap: 14px; }
  .site-header nav { display: none; }
  .site-header > .button { margin-left: auto; }
  .hero { gap: 42px; padding-block: 52px; }
  h1 { font-size: clamp(39px, 12vw, 52px); }
  .hero-lede { font-size: 15px; }
  .product-window, .product-shot { margin-inline: -7px; width: calc(100% + 14px); }
  .pipeline-head { grid-template-columns: 1fr auto 1fr; }
  .pipeline-head div:last-child, .pipeline-head b:nth-of-type(2) { display: none; }
  .queue-head { display: none; }
  .demo-row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px; }
  .demo-row > span, .demo-row > b { display: none; }
  .demo-row em { justify-self: end; }
  .proof-strip { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .proof-strip div { padding: 20px 14px; }
  .proof-strip strong { font-size: 22px; }
  .section { padding-block: 78px; }
  .tier-grid, .evidence-grid { grid-template-columns: 1fr; }
  .tier-card { min-height: 390px; padding: 26px; }
  .tier-card ul { right: 26px; bottom: 25px; left: 26px; }
  .tier-card h3 { margin-top: 48px; }
  .evidence-grid article { min-height: 0; }
  .evidence-grid article > span { margin-bottom: 20px; }
  .evidence-actions { align-items: flex-start; flex-direction: column; }
  .site-footer { display: flex; align-items: flex-start; flex-direction: column; gap: 13px; }
  .site-footer nav { flex-wrap: wrap; }
}

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