:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #07111c;
  --panel: rgba(11, 24, 39, 0.88);
  --panel-strong: rgba(9, 20, 33, 0.94);
  --line: rgba(149, 174, 207, 0.18);
  --text: #edf5ff;
  --muted: #9fb0c6;
  --soft: #c8d5e6;
  --amber: #f7931a;
  --blue: #7dd3fc;
  --green: #34d399;
  --layout-width: 1180px;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    linear-gradient(180deg, rgba(247, 147, 26, 0.12), transparent 360px),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.16), transparent 360px),
    var(--bg);
}

a {
  color: inherit;
}

.page {
  width: min(1180px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 59px 0 0;
}

.hero {
  min-height: calc(100vh - 59px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: center;
  padding: 44px 0;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  max-width: 760px;
  color: var(--soft);
  font-size: 19px;
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--amber);
  color: #111827;
  font-weight: 900;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(149, 174, 207, 0.24);
}

.signal-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.board-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(149, 174, 207, 0.14);
}

.board-head span,
.metric span {
  color: #8fa2ba;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status {
  color: var(--green);
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(149, 174, 207, 0.12);
}

.metric {
  min-height: 104px;
  padding: 16px;
  background: rgba(12, 26, 42, 0.96);
}

.metric strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
}

.metric small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.4;
}

.site-footer {
  margin-top: 0;
  padding: 0;
  border-top: 0;
  background: rgba(255, 255, 255, 0.02);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.site-footer-inner {
  width: min(calc(var(--layout-width) - 36px), calc(100vw - 32px));
  margin: 0 auto;
  padding: 14px 0;
  display: grid;
  gap: 10px;
  justify-items: stretch;
  text-align: center;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  width: 100%;
}

.footer-socials a {
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--amber);
  transform: translateY(-2px);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .page {
    padding-top: 96px;
  }

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

  .hero {
    min-height: 0;
    padding: 28px 0;
  }

  h1 {
    font-size: clamp(40px, 12vw, 64px);
    line-height: 1;
  }

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

  .metric {
    min-height: 0;
  }

  .metric strong {
    font-size: 24px;
  }

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

  .button {
    width: 100%;
  }

  .site-footer-inner {
    width: min(var(--layout-width), calc(100vw - 16px));
    padding-bottom: 12px;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100%, calc(100vw - 24px));
    padding-top: 118px;
  }

  .hero {
    padding: 24px 0;
  }

  .eyebrow {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(36px, 13vw, 52px);
  }

  .board-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-socials {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .footer-socials::-webkit-scrollbar {
    display: none;
  }

  .footer-socials a {
    flex: 0 0 auto;
    font-size: 14px;
  }
}
