:root {
  color-scheme: dark;
  --canvas: #0f0e14;
  --surface: #14121c;
  --surface-raised: #1a1823;
  --line: #35323e;
  --line-soft: rgba(255, 255, 255, 0.12);
  --text: #f7f5ef;
  --text-soft: #aaa6b2;
  --text-faint: #777280;
  --ember: #d87532;
  --ember-bright: #ef9a56;
  --blue-panel: #192234;
  --rust-panel: #291b18;
  --green-panel: #16251f;
  --purple-panel: #21182b;
  --success: #69d49b;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--canvas);
  background: var(--ember-bright);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f2bd91;
  outline-offset: 4px;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--canvas);
  background: var(--ember-bright);
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 4rem, 1160px);
  height: 88px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark,
.mini-mark {
  display: grid;
  place-items: center;
  color: var(--canvas);
  background: var(--text);
  font-family: var(--serif);
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.05rem;
}

.mini-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.72rem;
}

nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-left: clamp(3rem, 9vw, 8rem);
  font-size: 0.88rem;
}

.nav-main,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

nav a {
  color: #dedbe3;
  text-decoration: none;
  transition: color 150ms ease;
}

nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 0.54rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #181620;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 995px;
  margin: 0 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  background: #17151c;
}

.hero-landscape,
.final-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-landscape {
  object-position: center 53%;
  filter: brightness(0.48) saturate(0.78) contrast(1.13);
  transform: scale(1.015);
}

.hero-shade,
.final-shade {
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 13, 0.43);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding-top: 120px;
  text-align: center;
}

.eyebrow,
.scene-label,
.panel-kicker {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #f4c6a2;
}

.hero h1,
.scene h2,
.proof h2,
.trust h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.038em;
}

.hero h1 {
  margin-top: 0.85rem;
  font-size: clamp(3.5rem, 6vw, 5.6rem);
  line-height: 0.98;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero-lede {
  margin: 1.45rem 0 0;
  color: #ece7e2;
  font-size: clamp(1.05rem, 1.75vw, 1.32rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.85rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: #e59a5e;
  color: #1a0e07;
  background: var(--ember-bright);
}

.button-primary:hover {
  background: #ffad6c;
}

.button-secondary {
  background: rgba(11, 10, 15, 0.62);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(26, 23, 31, 0.88);
}

.product-window {
  position: absolute;
  z-index: 3;
  top: 475px;
  left: 50%;
  width: min(74vw, 1060px);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid #37333e;
  border-radius: 8px;
  color: #f1eef5;
  background: #0c0b11;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52);
  transform: translateX(-50%);
}

.window-bar,
.console-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 1rem;
  border-bottom: 1px solid #292631;
  font-size: 0.72rem;
}

.window-context {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-soft);
}

.window-context strong {
  color: var(--text);
}

.window-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #c6c1ca;
}

.window-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(105, 212, 155, 0.65);
}

.window-tabs {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.55rem;
  border-bottom: 1px solid #25222d;
  background: #111019;
}

.window-tabs button {
  padding: 0.48rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #8d8995;
  background: transparent;
  font-size: 0.72rem;
  cursor: pointer;
}

.window-tabs button[aria-selected="true"] {
  border-color: #4b3427;
  color: #f4c6a2;
  background: #26170f;
}

.window-body {
  min-height: 285px;
  padding: 1.5rem;
  background: #0e0d14;
}

.demo-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.95fr) auto minmax(190px, 0.65fr);
  gap: 1rem;
  align-items: center;
  min-height: 235px;
}

.demo-panel[hidden] {
  display: none;
}

.command-card,
.worker-card,
.log-card,
.sync-summary,
.digest-stack,
.transfer-card,
.build-command,
.build-steps,
.digest-card {
  border: 1px solid #302d37;
  border-radius: 7px;
  background: #17151f;
}

.command-card {
  padding: 1.15rem;
}

.command-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.3rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.success-dot {
  background: var(--success);
}

.command-card code,
.build-command code {
  display: block;
  color: #d9d4df;
  font-family: var(--mono);
  font-size: 0.77rem;
  white-space: nowrap;
}

.command-card code span,
.console-command code span {
  color: var(--ember-bright);
}

.command-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.flow-arrow {
  color: var(--ember-bright);
  font-family: var(--mono);
  font-size: 1.3rem;
}

.worker-card {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.worker-card strong {
  margin: 0.45rem 0;
  font-family: var(--mono);
  font-size: 0.92rem;
}

.worker-card span:last-child,
.worker-label {
  color: var(--text-faint);
  font-size: 0.66rem;
}

.worker-label {
  color: var(--success);
  text-transform: uppercase;
}

.log-card {
  grid-column: 1 / -1;
  padding: 0.85rem 1rem;
}

.log-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  color: #c9c5ce;
  font-size: 0.67rem;
}

.log-card code {
  display: inline-block;
  margin-right: 1.3rem;
  color: #d9d4df;
  font-family: var(--mono);
  font-size: 0.66rem;
}

.log-muted {
  color: #787381;
}

.log-good {
  color: var(--success);
}

.sync-summary,
.transfer-card,
.build-command,
.digest-card {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem;
}

.panel-kicker {
  color: #a9a4b0;
  font-size: 0.61rem;
}

.sync-summary strong,
.transfer-card strong {
  margin: 0.35rem 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.sync-summary span:last-child,
.transfer-card span:last-child,
.digest-card span,
.build-command span {
  color: var(--text-faint);
  font-size: 0.66rem;
}

.digest-stack {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.digest-stack span {
  padding: 0.45rem 0.65rem;
  border: 1px solid #302d37;
  color: #9e99a7;
  background: #100f16;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.digest-stack .digest-hit {
  color: var(--success);
  text-align: center;
}

.build-command {
  grid-column: span 2;
}

.build-command code {
  margin-top: 1.2rem;
  line-height: 1.8;
}

.build-steps {
  display: grid;
  gap: 0.7rem;
  align-self: stretch;
  padding: 1.2rem;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.build-steps .complete {
  color: var(--success);
}

.build-steps .active {
  color: var(--ember-bright);
}

.digest-card {
  grid-column: 1 / -1;
  min-height: auto;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.digest-card strong {
  font-family: var(--mono);
  font-size: 0.78rem;
}

.queue-demo {
  grid-template-columns: 1fr;
  gap: 0;
  width: min(100%, 720px);
  margin: 0 auto;
}

.queue-entry {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 47px;
  padding: 0 1rem;
  border: 1px solid #302d37;
  border-bottom: 0;
  color: #777280;
  background: #121019;
  font-family: var(--mono);
  font-size: 0.67rem;
}

.queue-entry.running {
  color: #e7e3ea;
  background: #191620;
}

.queue-entry em {
  color: #837e89;
  font-style: normal;
  text-transform: uppercase;
}

.queue-entry.running em {
  color: var(--success);
}

.queue-worker {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid #4b3427;
  color: #f4c6a2;
  background: #26170f;
  font-family: var(--mono);
  font-size: 0.63rem;
}

.hero-facts {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 13, 18, 0.74);
  backdrop-filter: blur(16px);
}

.hero-facts div {
  display: flex;
  min-height: 95px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.hero-facts span {
  color: #aaa5ae;
  font-size: 0.68rem;
}

.standards-strip {
  margin: 0 16px;
  padding: 4.5rem 0 1rem;
}

.standards-strip > p {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  font-size: 0.76rem;
  text-align: center;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #111018;
}

.standards-grid span {
  display: grid;
  min-height: 100px;
  place-items: center;
  border-right: 1px solid var(--line);
  color: #c4c0ca;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.standards-grid span:last-child {
  border-right: 0;
}

.journey {
  position: relative;
  padding: 6rem 16px 0;
}

.journey::before {
  position: absolute;
  z-index: 2;
  top: 6rem;
  bottom: 0;
  left: max(70px, calc((100vw - 1160px) / 2 + 28px));
  width: 3px;
  background: #383644;
  content: "";
}

.scene {
  position: relative;
  width: 100%;
  max-width: 1408px;
  margin: 0 auto 1.5rem;
  padding: 7.2rem max(3rem, calc((100% - 1000px) / 2)) 3.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.scene-execute {
  min-height: 980px;
  background: var(--blue-panel);
}

.scene-sync {
  min-height: 690px;
  background: var(--rust-panel);
}

.scene-queue {
  min-height: 690px;
  background: var(--green-panel);
}

.scene-build {
  min-height: 830px;
  background: var(--purple-panel);
}

.journey-marker {
  position: absolute;
  z-index: 3;
  top: 116px;
  left: max(52px, calc((100% - 1160px) / 2 + 11px));
  width: 18px;
  height: 18px;
  border: 3px solid var(--text);
  border-radius: 50%;
  background: #334a62;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.025);
}

.scene-sync .journey-marker {
  background: var(--ember);
}

.scene-queue .journey-marker {
  background: #4e9c73;
}

.scene-build .journey-marker {
  background: #9e6ec3;
}

.scene-copy {
  max-width: 670px;
  margin-left: 90px;
}

.scene-label {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #e0dce5;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.66rem;
  letter-spacing: 0;
  text-transform: none;
}

.scene h2,
.proof h2,
.trust h2,
.final-cta h2 {
  margin-top: 1.5rem;
  font-size: clamp(2.45rem, 4.5vw, 4.2rem);
  line-height: 1.04;
}

.scene-copy > p:not(.scene-label) {
  max-width: 620px;
  margin: 1.25rem 0 0;
  color: #b8b5c0;
  font-size: 1rem;
}

.scene-copy > a,
.proof-heading > a {
  display: inline-block;
  margin-top: 1rem;
  color: #f2edf5;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.scene-copy > a:hover,
.proof-heading > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.console-stage {
  width: min(100% - 60px, 1120px);
  min-height: 450px;
  margin: 5rem auto 0;
  overflow: hidden;
  border: 1px solid #3a3a4a;
  border-radius: 8px;
  background: #0d0c13;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.console-toolbar {
  justify-content: flex-start;
  gap: 0.65rem;
  color: #aaa6b2;
}

.console-live {
  margin-left: auto;
  color: var(--success);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.console-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 402px;
}

.console-command {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  border-right: 1px solid #292631;
  background: #121019;
}

.console-command code {
  margin-top: 1.2rem;
  color: #ded9e4;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 2;
}

.console-output {
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: 2.5rem;
}

.console-output > div {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border: 1px solid #2e2b35;
  border-radius: 6px;
  background: #15131c;
  font-family: var(--mono);
  font-size: 0.65rem;
}

.console-output span {
  color: var(--text-faint);
}

.console-output em {
  color: var(--success);
  font-style: normal;
}

.scene-footnotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scene-footnotes > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 1rem;
}

.scene-footnotes strong {
  font-size: 0.76rem;
}

.scene-footnotes span {
  color: #8f8a98;
  font-size: 0.68rem;
}

.split-scene {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(400px, 1.1fr);
  gap: 6rem;
  align-items: center;
}

.split-scene .scene-copy {
  margin-left: 90px;
}

.split-scene.reverse .scene-copy {
  order: 2;
}

.cas-visual,
.scheduler-visual {
  min-height: 360px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: rgba(12, 10, 14, 0.48);
}

.cas-visual {
  display: grid;
  grid-template-columns: 1fr 70px 1.25fr;
  grid-template-rows: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cas-source,
.cas-result {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  border: 1px solid #4e3931;
  border-radius: 6px;
  background: #1b1210;
}

.cas-source span,
.cas-result span {
  color: #a58e84;
  font-size: 0.68rem;
}

.cas-source strong,
.cas-result strong {
  font-family: var(--mono);
}

.cas-path {
  display: flex;
  align-items: center;
}

.cas-path span {
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--ember-bright);
}

.cas-store {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid #4e3931;
  border-radius: 6px;
  background: #17100f;
}

.cas-store code {
  display: flex;
  justify-content: space-between;
  padding: 0.48rem 0.6rem;
  border: 1px solid #3f302c;
  color: #c8b6ae;
  background: #110d0c;
  font-size: 0.65rem;
}

.cas-store em {
  color: var(--success);
  font-style: normal;
}

.cas-result {
  grid-column: 1 / -1;
  min-height: auto;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
}

.cas-result strong {
  color: var(--ember-bright);
  font-size: 1.45rem;
}

.scene-footnotes.compact {
  margin-top: 4rem;
}

.scheduler-visual {
  padding: 0;
  overflow: hidden;
}

.scheduler-header,
.capacity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 1.2rem;
  border-bottom: 1px solid #31453b;
  color: #a6bbae;
  font-family: var(--mono);
  font-size: 0.66rem;
}

.scheduler-header strong {
  color: var(--text);
}

.scheduler-visual ol {
  margin: 0;
  padding: 1.2rem;
  list-style: none;
}

.scheduler-visual li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 62px;
  padding: 0 1rem;
  border: 1px solid #30423a;
  border-bottom: 0;
  color: #718079;
  background: #111914;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.scheduler-visual li:last-child {
  border-bottom: 1px solid #30423a;
}

.scheduler-visual li.active {
  color: var(--text);
  background: #17251e;
}

.scheduler-visual li em {
  color: #75877c;
  font-style: normal;
  text-transform: uppercase;
}

.scheduler-visual li.active em {
  color: var(--success);
}

.capacity-bar {
  position: relative;
  border-top: 1px solid #31453b;
  border-bottom: 0;
  overflow: hidden;
}

.capacity-bar span {
  position: absolute;
  inset: 0 18% 0 0;
  background: rgba(105, 212, 155, 0.13);
}

.capacity-bar strong {
  position: relative;
  margin-left: auto;
  color: #b8ccbf;
  font-size: 0.62rem;
}

.build-stage {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  gap: 1.5rem;
  align-items: center;
  width: min(100% - 60px, 1060px);
  min-height: 320px;
  margin: 5rem auto 0;
  padding: 2rem;
  border: 1px solid #44364f;
  border-radius: 9px;
  background: #100d14;
}

.build-stage-command,
.build-stage-result {
  min-height: 180px;
  padding: 1.4rem;
  border: 1px solid #3d3047;
  border-radius: 7px;
  background: #18111f;
}

.build-stage-command {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.build-stage-command code {
  margin-top: 1.2rem;
  color: #ddd4e4;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.8;
}

.build-timeline {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 2px;
  background: #5b416d;
}

.build-timeline span {
  width: 11px;
  height: 11px;
  border: 2px solid #c599e8;
  border-radius: 50%;
  background: #21182b;
}

.build-stage-result {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.result-check {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #3e7658;
  border-radius: 50%;
  color: var(--success);
  background: #15231c;
}

.build-stage-result div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.build-stage-result code {
  overflow: hidden;
  color: #9b91a2;
  font-size: 0.6rem;
  text-overflow: ellipsis;
}

.build-stage-result em {
  color: #c9a0e6;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-style: normal;
}

.proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(600px, 1.2fr);
  gap: 5rem;
  margin: 1.5rem 16px 0;
  padding: 8rem max(3rem, calc((100% - 1160px) / 2));
  border: 1px solid #46323f;
  border-radius: 15px;
  background: #291a22;
}

.proof .eyebrow {
  color: #dda6bd;
}

.proof-heading > p:not(.eyebrow) {
  color: #bbaeb5;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #5a3d4b;
  border-left: 1px solid #5a3d4b;
}

.proof-grid article {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  border-right: 1px solid #5a3d4b;
  border-bottom: 1px solid #5a3d4b;
}

.proof-grid strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.proof-grid span {
  max-width: 180px;
  color: #beacb5;
  font-size: 0.76rem;
}

.proof-note {
  grid-column: 2;
  margin: -3.5rem 0 0;
  color: #917f88;
  font-size: 0.68rem;
}

.trust {
  margin: 1.5rem 16px 0;
  padding: 8rem max(3rem, calc((100% - 1160px) / 2));
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #14121c;
}

.trust-copy {
  max-width: 780px;
}

.trust-copy .eyebrow {
  color: var(--ember-bright);
}

.trust-copy > p:last-child {
  max-width: 680px;
  color: var(--text-soft);
  font-size: 1rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.trust-grid article {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  padding: 1.7rem;
  background: #181620;
}

.trust-grid article > span {
  color: var(--ember-bright);
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.trust-grid strong {
  margin-top: auto;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.trust-grid p {
  margin: 0.4rem 0 0;
  color: var(--text-soft);
  font-size: 0.76rem;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 600px;
  place-items: center;
  margin: 1.5rem 16px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 15px;
  text-align: center;
}

.final-cta > img {
  object-position: center 58%;
  filter: brightness(0.38) saturate(0.74);
}

.final-shade {
  background: rgba(9, 8, 13, 0.48);
}

.final-cta > div:last-child {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 2rem;
}

.final-cta .eyebrow {
  color: #f4c6a2;
}

.final-cta p:not(.eyebrow) {
  color: #d3ccd0;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  width: min(100% - 4rem, 1160px);
  margin: 0 auto;
  padding: 7rem 0 2rem;
}

.footer-brand p {
  max-width: 300px;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links strong {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.footer-links a,
.footer-bottom {
  color: var(--text-soft);
  font-size: 0.72rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 1040px) {
  .site-header {
    width: min(100% - 2rem, 1160px);
  }

  nav {
    margin-left: 3rem;
  }

  .nav-main {
    gap: 1.2rem;
  }

  .nav-main a:nth-child(4) {
    display: none;
  }

  .product-window {
    width: min(88vw, 960px);
  }

  .split-scene {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .split-scene.reverse .scene-copy {
    order: 0;
  }

  .split-scene .scene-copy {
    margin-left: 90px;
  }

  .cas-visual,
  .scheduler-visual {
    width: min(100% - 90px, 720px);
    margin-left: 90px;
  }

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

  .proof-note {
    grid-column: auto;
    margin: -2.5rem 0 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    z-index: 20;
    height: 70px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 5px;
    border: 0;
    color: var(--text);
    background: transparent;
    cursor: pointer;
  }

  .menu-button span:not(.sr-only) {
    width: 15px;
    height: 1px;
    background: currentColor;
    transition: transform 150ms ease;
  }

  .menu-button[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  nav {
    position: absolute;
    top: 62px;
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #15131d;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }

  nav[data-open] {
    display: grid;
  }

  .nav-main,
  .nav-actions {
    display: grid;
    gap: 0;
  }

  nav a {
    padding: 0.75rem;
    border-bottom: 1px solid #292630;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero {
    min-height: 790px;
    margin: 0 16px;
  }

  .hero-landscape {
    object-position: 46% center;
  }

  .hero-shade {
    background: rgba(9, 8, 13, 0.38);
  }

  .hero-copy {
    padding: 88px 1.2rem 0;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.5rem);
    line-height: 0.96;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .button {
    min-height: 52px;
  }

  .product-window {
    top: 465px;
    width: calc(100% - 40px);
    min-height: 205px;
  }

  .window-bar {
    min-height: 40px;
  }

  .window-status {
    display: none;
  }

  .window-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .window-tabs button {
    padding: 0.42rem 0.75rem;
  }

  .window-body {
    min-height: 130px;
    padding: 0.75rem;
  }

  .demo-panel {
    display: block;
    min-height: 120px;
  }

  .command-card,
  .sync-summary,
  .build-command {
    min-height: 120px;
  }

  .command-meta,
  .flow-arrow,
  .worker-card,
  .log-card,
  .digest-stack,
  .transfer-card,
  .build-steps,
  .digest-card {
    display: none;
  }

  .queue-demo {
    display: grid;
    min-height: 0;
  }

  .queue-entry {
    min-height: 34px;
  }

  .queue-worker {
    padding: 0.5rem 0.7rem;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
  }

  .hero-facts div {
    min-height: 59px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-facts strong {
    font-size: 1rem;
  }

  .hero-facts span {
    font-size: 0.58rem;
  }

  .standards-strip {
    padding-top: 3.5rem;
  }

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

  .standards-grid span {
    min-height: 74px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .standards-grid span:nth-child(even) {
    border-right: 0;
  }

  .standards-grid span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .journey {
    padding-top: 4rem;
  }

  .journey::before {
    top: 4rem;
    left: 32px;
  }

  .scene {
    min-height: auto;
    padding: 5rem 1.2rem 2rem 3.7rem;
  }

  .journey-marker {
    top: 82px;
    left: 7px;
  }

  .scene-copy,
  .split-scene .scene-copy {
    margin-left: 0;
  }

  .scene h2,
  .proof h2,
  .trust h2,
  .final-cta h2 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .console-stage {
    width: 100%;
    min-height: auto;
    margin-top: 3rem;
  }

  .console-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .console-command {
    padding: 1.5rem;
    border-right: 0;
    border-bottom: 1px solid #292631;
  }

  .console-command code {
    overflow-x: auto;
    font-size: 0.64rem;
  }

  .console-output {
    padding: 1rem;
  }

  .console-output > div {
    grid-template-columns: 52px 1fr auto;
    padding: 0.65rem;
    font-size: 0.58rem;
  }

  .scene-footnotes,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .scene-footnotes > div {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .split-scene {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cas-visual,
  .scheduler-visual {
    width: 100%;
    min-height: auto;
    margin-left: 0;
  }

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

  .cas-path {
    justify-content: center;
    transform: rotate(90deg);
  }

  .build-stage {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 3rem;
    padding: 1rem;
  }

  .build-timeline {
    width: 2px;
    height: 90px;
    flex-direction: column;
    justify-self: center;
  }

  .build-stage-result {
    min-width: 0;
  }

  .proof,
  .trust {
    margin-right: 16px;
    margin-left: 16px;
    padding: 5rem 1.5rem;
  }

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

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

  .proof-grid article {
    min-height: 140px;
  }

  .proof-note {
    margin-top: -1.5rem;
  }

  .trust-grid article {
    min-height: 190px;
  }

  .final-cta {
    min-height: 580px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 3rem;
    width: min(100% - 2rem, 1160px);
    padding-top: 5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
