:root {
  --ink: #060606;
  --panel: #111111;
  --paper: #f4f0e8;
  --line: #2b2b2b;
  --acid: #b7ff18;
  --red: #ff2e2e;
  --blue: #38c6ff;
  --amber: #ffb000;
  --muted: #a8a8a8;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Unbounded", "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input {
  font: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 72px;
  padding: 12px 24px;
  border-bottom: 2px solid rgba(244, 240, 232, 0.18);
  background: rgba(6, 6, 6, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 900;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--paper);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-cta {
  background: var(--red);
  color: var(--paper);
}

.button-primary {
  background: var(--acid);
  color: var(--ink);
  border-color: var(--acid);
}

.button-ghost {
  background: transparent;
  color: var(--paper);
}

.button-icon {
  font-size: 1rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 148px 6vw 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 56px;
  border-bottom: 2px solid var(--line);
}

.signal-canvas,
.scan-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.signal-canvas {
  opacity: 0.78;
}

.scan-lines {
  pointer-events: none;
  opacity: 0.24;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(244, 240, 232, 0.08) 0,
      rgba(244, 240, 232, 0.08) 1px,
      transparent 1px,
      transparent 9px
    );
}

.hero-copy,
.hero-console,
.next-hint {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--acid);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 5rem;
  line-height: 0.96;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-statement {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--paper);
  font-size: 1.55rem;
  font-weight: 800;
}

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

.hero-console {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  border: 2px solid var(--paper);
  background: rgba(6, 6, 6, 0.7);
  box-shadow: var(--shadow);
}

.console-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  background: var(--red);
  color: var(--paper);
  font-weight: 950;
}

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

.console-grid > div {
  min-height: 132px;
  padding: 18px;
  border-top: 2px solid var(--paper);
}

.console-label {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.console-grid strong {
  display: block;
  font-size: 1.42rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.next-hint {
  position: absolute;
  left: 6vw;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.next-hint span {
  width: 42px;
  height: 2px;
  background: var(--acid);
}

.prototype-shell,
.audit-lab,
.plan-board,
.metrics-wall {
  padding: 88px 6vw;
}

.prototype-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
  gap: 34px;
  align-items: start;
}

.prototype-intro h2,
.split-band h2,
.audit-lab h2,
.plan-board h2,
.metrics-wall h2 {
  margin: 0;
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.prototype-intro p {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 700;
}

.app-window {
  display: grid;
  grid-template-columns: 74px 1fr;
  min-height: 560px;
  border: 2px solid var(--paper);
  background: #0c0c0c;
  box-shadow: var(--shadow);
}

.app-rail {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
  border-right: 2px solid var(--paper);
  background: var(--paper);
}

.rail-button {
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
}

.rail-button.is-active {
  background: var(--ink);
  color: var(--acid);
}

.app-stage {
  position: relative;
  overflow: hidden;
}

.app-panel {
  display: none;
  min-height: 560px;
  padding: 32px;
}

.app-panel.is-active {
  display: block;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.panel-header strong {
  color: var(--acid);
}

.app-panel h3 {
  max-width: 720px;
  margin: 0;
  font-size: 2.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.panel-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.progress-stack,
.today-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.progress-stack div,
.today-list label,
.audit-mini div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 2px solid var(--line);
  background: #151515;
  font-weight: 900;
}

.progress-stack strong {
  color: var(--amber);
  text-transform: uppercase;
}

.audit-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.audit-mini div {
  display: block;
  min-height: 180px;
}

.audit-mini span,
.plan-grid span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.audit-mini strong {
  display: block;
  margin-top: 14px;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.audit-mini p,
.plan-grid p {
  color: var(--muted);
  font-weight: 700;
}

.mode-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mode-chip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 16px;
  border: 2px solid var(--line);
  background: #151515;
  color: var(--paper);
  font-weight: 950;
  text-align: left;
  cursor: pointer;
}

.mode-chip span {
  color: var(--acid);
}

.mode-chip.is-selected {
  border-color: var(--acid);
}

.mode-chip.is-locked {
  color: var(--muted);
  border-color: var(--red);
}

.today-list label {
  justify-content: flex-start;
  align-items: center;
}

.today-list input {
  width: 22px;
  height: 22px;
  accent-color: var(--acid);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 36px;
  padding: 88px 6vw;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.split-hot {
  background: var(--acid);
  color: var(--ink);
}

.split-hot .section-kicker {
  color: var(--red);
}

.manifesto p {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.06;
  font-weight: 950;
  text-transform: uppercase;
}

.manifesto-line {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 950;
  text-transform: uppercase;
}

.audit-lab {
  background: var(--paper);
  color: var(--ink);
}

.audit-lab .section-kicker {
  color: var(--red);
}

.audit-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 0.54fr);
  gap: 24px;
  margin-top: 34px;
}

.day-timeline {
  display: grid;
  gap: 12px;
}

.time-block {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 14px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.time-block.is-active {
  background: var(--ink);
  color: var(--paper);
}

.time-block span,
.time-block small {
  font-weight: 950;
  text-transform: uppercase;
}

.time-block strong {
  font-size: 1.12rem;
  text-transform: uppercase;
}

.audit-result {
  min-height: 372px;
  padding: 28px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.audit-result > span {
  color: var(--acid);
  font-weight: 950;
  text-transform: uppercase;
}

.audit-result h3 {
  margin: 24px 0 0;
  font-size: 3rem;
  line-height: 1;
  text-transform: uppercase;
}

.audit-result p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 800;
}

.impact-row,
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.impact-row div,
.metric-strip div {
  min-height: 94px;
  padding: 16px;
  border: 2px solid rgba(244, 240, 232, 0.18);
}

.impact-row strong,
.metric-strip strong {
  display: block;
  font-size: 1.7rem;
  color: var(--acid);
}

.impact-row span,
.metric-strip span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.plan-board {
  background: #101010;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.plan-grid article {
  min-height: 280px;
  padding: 20px;
  border: 2px solid var(--line);
  background: #161616;
}

.plan-grid article:nth-child(2) {
  border-color: var(--blue);
}

.plan-grid article:nth-child(3) {
  border-color: var(--acid);
}

.plan-grid article:nth-child(4) {
  border-color: var(--red);
}

.plan-grid h3 {
  margin: 24px 0 0;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.metrics-wall {
  background: var(--red);
  color: var(--paper);
}

.metrics-wall .section-kicker {
  color: var(--ink);
}

.metric-strip {
  grid-template-columns: repeat(4, 1fr);
}

.metric-strip div {
  border-color: rgba(244, 240, 232, 0.55);
  background: rgba(6, 6, 6, 0.16);
}

.metric-strip strong {
  color: var(--paper);
  font-size: 2.4rem;
}

.metric-strip span {
  color: var(--paper);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 6vw;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .hero,
  .prototype-layout,
  .split-band,
  .audit-layout {
    grid-template-columns: 1fr;
  }

  .hero-console {
    min-height: auto;
  }

  .plan-grid,
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 10px 14px;
  }

  .nav {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 94vh;
    padding: 112px 18px 74px;
    gap: 28px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-statement {
    font-size: 1.14rem;
  }

  .button {
    width: 100%;
  }

  .prototype-shell,
  .audit-lab,
  .plan-board,
  .metrics-wall,
  .split-band {
    padding: 64px 18px;
  }

  .prototype-intro h2,
  .split-band h2,
  .audit-lab h2,
  .plan-board h2,
  .metrics-wall h2 {
    font-size: 2.25rem;
  }

  .manifesto p,
  .audit-result h3 {
    font-size: 2rem;
  }

  .app-window {
    grid-template-columns: 1fr;
  }

  .app-rail {
    grid-template-columns: repeat(4, 48px);
    border-right: 0;
    border-bottom: 2px solid var(--paper);
  }

  .app-panel {
    min-height: 560px;
    padding: 22px;
  }

  .app-panel h3 {
    font-size: 2rem;
  }

  .audit-mini,
  .impact-row,
  .plan-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .time-block {
    grid-template-columns: 68px 1fr;
  }

  .time-block small {
    grid-column: 2;
  }
}
