:root {
  color-scheme: light;
  --ink: #16201d;
  --muted: #58635f;
  --line: #d8dfda;
  --paper: #f5f7f2;
  --panel: #ffffff;
  --field: #e7ece6;
  --night: #101818;
  --night-soft: #172323;
  --mint: #35b58f;
  --gold: #d7a13d;
  --rust: #b75a38;
  --blue: #27648f;
  --shadow: 0 24px 80px rgba(14, 24, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

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

.command-center {
  min-height: 84vh;
  overflow: hidden;
  padding: 24px 22px 72px;
  background:
    linear-gradient(rgba(16, 24, 24, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 24, 0.03) 1px, transparent 1px),
    var(--field);
  background-size: 44px 44px;
  border-bottom: 1px solid var(--line);
}

.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 850;
}

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

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a:hover,
footer a:hover {
  color: var(--blue);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 44px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 76px auto 0;
}

.ops-console {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 24, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.console-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #101818;
  color: #f8faf5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status {
  color: #8fd6c0;
}

.console-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.console-line {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.console-line span {
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.console-line p,
.console-callout p {
  margin: 0;
  color: #34403c;
}

.console-callout {
  border-radius: 8px;
  padding: 18px;
  background: var(--night);
  color: #f8faf5;
}

.console-callout strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.console-callout p {
  color: #cbd6d1;
}

.hero-copy {
  min-width: 0;
  max-width: 650px;
}

.kicker {
  max-width: 100%;
  margin-bottom: 14px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: 74px;
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-text {
  max-width: 690px;
  margin-bottom: 28px;
  color: #34403c;
  font-size: 22px;
  overflow-wrap: anywhere;
}

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

.primary-action,
.secondary-action {
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 850;
}

.primary-action {
  background: var(--night);
  color: #ffffff;
}

.secondary-action {
  border: 1px solid #b9c3bd;
  background: rgba(255, 255, 255, 0.7);
}

.notice-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 18px max(22px, calc((100vw - 1180px) / 2));
  background: var(--night);
  color: #dbe5df;
}

.notice-band p {
  margin: 0;
  font-size: 14px;
}

section:not(.command-center):not(.notice-band) {
  padding: 88px max(22px, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  max-width: 760px;
}

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

.contract-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}

.contract-board article {
  min-height: 260px;
  padding: 26px;
  background: var(--panel);
}

.contract-board span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 900;
}

.contract-board h3,
.platform-matrix h3,
.proof-list strong {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
}

.contract-board p,
.secondary-platforms p,
.proof-list span {
  color: var(--muted);
}

.install-strip {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.command-rail {
  display: grid;
  gap: 14px;
}

.command-rail article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid #283331;
  border-radius: 8px;
  overflow: hidden;
  background: var(--night);
}

.command-heading {
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 18px;
  background: #24302d;
  color: #f8faf5;
}

.command-heading h3 {
  margin: 0;
  font-size: 20px;
}

.command-heading button {
  width: max-content;
  border: 0;
  border-radius: 7px;
  padding: 9px 12px;
  background: var(--gold);
  color: #161d1b;
  font-weight: 900;
  cursor: pointer;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 24px;
  color: #f8faf5;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  white-space: pre;
}

.usage {
  background: var(--paper);
}

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

.use-grid article {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
}

.use-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.use-heading h3 {
  margin: 0;
  font-size: 24px;
}

.use-heading button {
  border: 0;
  border-radius: 7px;
  padding: 9px 12px;
  background: var(--night);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.use-grid ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.use-grid li::marker {
  color: var(--rust);
  font-weight: 900;
}

.use-grid pre {
  border-radius: 8px;
  background: #101818;
  white-space: pre-wrap;
}

.use-note {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.use-note strong {
  color: var(--rust);
  font-size: 12px;
  text-transform: uppercase;
}

.use-note span {
  color: var(--muted);
}

.platforms {
  background: var(--paper);
}

.platform-matrix {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
}

.primary-platforms,
.secondary-platforms {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--panel);
}

.primary-platforms ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-platforms li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.primary-platforms strong {
  color: var(--blue);
}

.primary-platforms span {
  color: var(--muted);
}

.secondary-platforms a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 850;
}

.proof {
  background: var(--night);
  color: #ffffff;
}

.proof .kicker {
  color: #8fd6c0;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #33403d;
  border-radius: 8px;
  overflow: hidden;
  background: #33403d;
}

.proof-list div {
  min-height: 180px;
  padding: 28px;
  background: var(--night-soft);
}

.proof-list strong {
  display: block;
  color: #ffffff;
}

.proof-list span {
  display: block;
  color: #c7d4ce;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 30px 20px;
  background: #ffffff;
  color: var(--muted);
  font-size: 14px;
}

footer a {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 980px) {
  .command-center {
    min-height: auto;
    padding-bottom: 62px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    margin-top: 66px;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 38px;
  }

  .notice-band,
  .section-heading,
  .contract-board,
  .command-rail article,
  .platform-matrix,
  .use-grid,
  .use-note,
  .proof-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .command-center {
    padding-right: 16px;
    padding-left: 16px;
  }

  .topbar,
  .nav-links,
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 10px;
  }

  .hero-stage,
  .hero-copy {
    width: min(100%, 340px);
    max-width: 340px;
    min-width: 0;
  }

  .hero-stage {
    margin: 52px 0 0;
  }

  .ops-console {
    display: none;
  }

  .kicker,
  h1,
  .hero-text {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-text {
    font-size: 18px;
  }

  .notice-band {
    grid-template-columns: 1fr;
    padding-right: 16px;
    padding-left: 16px;
  }

  .notice-band p,
  .section-heading,
  .contract-board,
  .command-rail,
  .platform-matrix,
  .use-grid,
  .use-note,
  .proof-list {
    width: min(100%, 340px);
    max-width: 340px;
  }

  .section-heading {
    gap: 18px;
  }

  section:not(.command-center):not(.notice-band) {
    padding-right: 16px;
    padding-left: 16px;
  }

  .console-bar,
  .console-line {
    grid-template-columns: 1fr;
  }

  .console-line {
    gap: 6px;
  }

  .use-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-platforms li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
