:root {
  --ink: #17201b;
  --paper: #f8faf6;
  --muted: #66736c;
  --line: rgba(23, 32, 27, 0.14);
  --pine: #1f6f53;
  --mint: #b9f4cf;
  --amber: #d39a31;
  --rust: #a85c43;
  --night: #111816;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(12, 18, 15, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #0f1714;
  background: var(--mint);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.hero {
  min-height: 88svh;
  display: flex;
  align-items: end;
  padding: 120px clamp(18px, 6vw, 76px) 76px;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(6, 10, 8, 0.93) 0%, rgba(6, 10, 8, 0.72) 44%, rgba(6, 10, 8, 0.28) 100%),
    url("/assets/hub-preview.png");
  background-size: cover;
  background-position: center;
}

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

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

.hero .eyebrow {
  color: var(--mint);
}

.warm {
  color: #f0be72;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 10vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.14;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.1vw, 25px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #0c1511;
  background: var(--mint);
  border-color: var(--mint);
}

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

.band {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

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

.intro-band {
  background: var(--paper);
}

.two-col,
.control-layout,
.status-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: start;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.light {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

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

.feature {
  min-height: 220px;
  padding: 24px;
  background: #fbfcf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--rust);
  font-weight: 900;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.dark {
  color: var(--white);
  background: var(--night);
}

.muted {
  color: rgba(255, 255, 255, 0.72);
}

.flow-list {
  display: grid;
  gap: 12px;
}

.flow-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(190px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.flow-row strong {
  color: #f5f3e8;
}

.flow-row span {
  color: rgba(255, 255, 255, 0.68);
}

.status-band {
  background: #eef3ee;
}

.status-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.status-panel strong,
.status-panel span {
  display: block;
}

.status-panel strong {
  font-size: 20px;
}

.status-panel span:last-child {
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.pulse {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(211, 154, 49, 0.16);
}

.pulse.ok {
  background: var(--pine);
  box-shadow: 0 0 0 8px rgba(31, 111, 83, 0.16);
}

.pulse.bad {
  background: var(--rust);
  box-shadow: 0 0 0 8px rgba(168, 92, 67, 0.16);
}

.footer {
  padding: 24px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: #0c1110;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

@media (max-width: 780px) {
  .topbar {
    height: auto;
    min-height: 60px;
    padding-block: 12px;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 86svh;
    padding-top: 104px;
    background-position: center top;
  }

  .two-col,
  .control-layout,
  .status-layout,
  .feature-grid,
  .flow-row {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
  }

  .feature-kicker {
    margin-bottom: 22px;
  }

  .footer-row {
    flex-direction: column;
  }
}

