:root {
  color-scheme: light;
  --ink: #15171a;
  --muted: #66707a;
  --paper: #f6f3ec;
  --line: #d8d2c6;
  --charcoal: #111418;
  --cyan: #1fb8c5;
  --amber: #d28b2d;
  --red: #c93a32;
  --green: #5f8f72;
  --steel: #eef1f2;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.48;
  overflow-x: hidden;
}

a { color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 28px;
  color: var(--white);
  background: rgba(17, 20, 24, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  overflow-x: auto;
  font-size: 13px;
}

nav a {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

nav a:hover { color: var(--white); }

.hero {
  position: relative;
  min-height: 79vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 15, 0.93) 0%, rgba(10, 12, 15, 0.70) 38%, rgba(10, 12, 15, 0.16) 77%),
    linear-gradient(0deg, rgba(10, 12, 15, 0.52) 0%, rgba(10, 12, 15, 0) 45%);
}

.hero-image-guard {
  position: absolute;
  inset: 0;
  z-index: 1;
  user-select: none;
  -webkit-user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 58px;
}

.kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(66px, 13vw, 148px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
}

.proof-line {
  max-width: 650px;
  margin: -8px 0 24px;
  padding-left: 12px;
  border-left: 4px solid var(--cyan);
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.section { padding: 58px 28px; }

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

.intro { padding: 34px 28px; }

.intro-grid,
.next-grid,
.quantum-layout,
.today-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: start;
}

.intro p,
.steps,
.section-note,
.quantum-layout p,
.metric-copy {
  color: var(--muted);
  font-size: 16px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.today-strip {
  padding: 42px 28px;
  color: var(--white);
  background: #15171a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.today-strip .eyebrow { color: #66d9df; }

.today-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.today-list article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.today-list strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 18px;
}

.today-list span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section-note {
  max-width: 380px;
  margin-bottom: 0;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tile {
  min-height: 246px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.tile-label {
  display: block;
  margin-bottom: 32px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tile p,
.model-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.model-band {
  background: #f8f6f0;
  border-top: 1px solid var(--line);
}

.model-grid {
  display: grid;
  grid-template-columns: 1.18fr repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.model-panel {
  min-height: 274px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.model-panel.priority {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.model-panel.priority .tile-label { color: #66d9df; }

.model-panel.priority p { color: rgba(255, 255, 255, 0.74); }

.status-note {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

.status-note strong { color: var(--ink); }

.console-band {
  color: var(--white);
  background: #16191d;
}

.console-band .eyebrow { color: #66d9df; }

.api-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: #6f4300;
  background: #fff1d4;
  font-size: 12px;
  font-weight: 800;
}

.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.55fr);
  gap: 12px;
  align-items: stretch;
}

.sim-stage {
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #07090b;
}

.sim-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
}

.sim-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mode-tab {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.mode-tab.active {
  background: var(--red);
  border-color: var(--red);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-row span,
.meter span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.metric-row strong {
  color: var(--white);
  font-size: 22px;
}

.meter {
  display: grid;
  gap: 7px;
}

.meter i {
  display: block;
  width: 52%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--amber), var(--red));
}

.metric-copy {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.registry-panel {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  min-width: 0;
}

.registry-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.registry-head h3 { margin-bottom: 0; }

.text-link {
  color: #70dce4;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(112, 220, 228, 0.42);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--white);
  font-size: 13px;
}

th,
td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  vertical-align: top;
}

th {
  color: rgba(255, 255, 255, 0.60);
  font-size: 12px;
  text-transform: uppercase;
}

td { color: rgba(255, 255, 255, 0.84); }

.quantum-band {
  color: var(--white);
  background: var(--charcoal);
}

.quantum-band .eyebrow { color: #66d9df; }

.quantum-layout p { color: rgba(255, 255, 255, 0.74); }

.quantum-layout .caveat {
  margin-bottom: 0;
  padding: 13px 14px;
  border-left: 4px solid var(--cyan);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.spec-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.spec-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.spec-panel div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.spec-panel dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.spec-panel dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.final-band { background: var(--steel); }

.steps {
  margin: 0;
  padding-left: 22px;
}

.steps li {
  margin-bottom: 10px;
  padding-left: 4px;
}

footer {
  padding: 22px 28px 32px;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

footer p {
  width: min(1120px, 100%);
  margin: 0 auto;
}

footer a {
  color: #1c6e76;
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 110, 118, 0.36);
}

@media (max-width: 1040px) {
  .tiles,
  .model-grid,
  .console-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .next-grid,
  .quantum-layout,
  .today-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-title { display: block; }

  .section-note {
    max-width: none;
    margin-top: 12px;
  }

  h2 { font-size: 29px; }
}

@media (max-width: 700px) {
  .site-header {
    width: 100vw;
    padding: 12px 16px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-content {
    width: min(342px, calc(100vw - 32px));
    margin-left: 16px;
    margin-right: 16px;
    padding-top: 84px;
    min-width: 0;
  }

  .section-inner {
    width: min(342px, calc(100vw - 32px));
    margin-left: 16px;
    margin-right: 16px;
  }

  .lead {
    max-width: 100%;
    font-size: 18px;
    overflow-wrap: break-word;
  }

  h2,
  h3,
  p {
    overflow-wrap: break-word;
  }

  .proof-line {
    font-size: 14px;
  }

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

  .button {
    width: 100%;
  }

  .section,
  .intro,
  .today-strip {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tiles,
  .model-grid,
  .console-layout,
  .today-list {
    grid-template-columns: 1fr;
  }

  .tile,
  .model-panel {
    min-height: auto;
  }

  .tile-label {
    margin-bottom: 18px;
  }

  .sim-stage,
  .sim-stage canvas {
    min-height: 300px;
  }

  .spec-panel div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
