:root {
  --navy: #071f4f;
  --blue: #174ea6;
  --red: #d71920;
  --ink: #172033;
  --muted: #5b6577;
  --line: #d9e2f1;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 31, 79, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 241, 0.9);
  backdrop-filter: blur(18px);
}

.brand-link img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #33415d;
  font-size: 14px;
  font-weight: 700;
}

.login-button,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 800;
}

.login-button,
.primary-link {
  padding: 0 22px;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.18);
}

.secondary-link {
  padding: 0 20px;
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px) 64px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76)),
    url("brand/govbizscouter-logo-primary.png");
  background-repeat: no-repeat;
  background-position: 50% 48%;
  background-size: min(820px, 78vw) auto;
}

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

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
}

.hero-lede,
.section-intro p,
.atlas-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-lede {
  max-width: 720px;
  margin: 24px 0 0;
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-strip span {
  padding: 9px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-product,
.feature-card,
.signal-card,
.atlas-window {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-product {
  padding: 22px;
}

.product-topbar,
.window-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.radar-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.radar-card.hot {
  border-color: rgba(215, 25, 32, 0.3);
  background: #fff8f8;
}

.score {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.radar-card.hot .score {
  background: var(--red);
}

.radar-card strong,
.insight-panel strong,
.feature-card h3,
.signal-card strong {
  color: var(--navy);
}

.radar-card p,
.insight-panel p,
.feature-card p {
  color: var(--muted);
  line-height: 1.55;
}

.insight-panel {
  margin-top: 16px;
  padding: 18px;
  background: #eef5ff;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-band div {
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.metric-band strong {
  display: block;
  color: var(--red);
  font-size: 26px;
}

.metric-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section-block,
.atlas-section,
.radar-section,
.intelligence-section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.section-intro {
  max-width: 820px;
}

.section-intro.compact {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.section-intro h2,
.atlas-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
}

.feature-grid,
.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.feature-card,
.signal-card {
  padding: 24px;
}

.atlas-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  background: var(--soft);
}

.atlas-steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.atlas-steps div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.atlas-steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 900;
}

.atlas-window {
  padding: 22px;
}

.message {
  max-width: 88%;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  line-height: 1.5;
}

.message.agent {
  background: #eef5ff;
}

.message.user {
  margin-left: auto;
  color: var(--white);
  background: var(--blue);
}

.report-snippet {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(215, 25, 32, 0.24);
  border-radius: 8px;
  background: #fff8f8;
}

.report-snippet span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-card span {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 8px solid #dce8fb;
  border-top-color: var(--red);
  border-right-color: var(--blue);
  border-radius: 50%;
}

.intelligence-section {
  background: #f8fafc;
}

.site-footer {
  padding: 54px clamp(20px, 5vw, 72px) 26px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
}

.footer-brand {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 560px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-brand img {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 34px 0;
}

.footer-links div {
  display: grid;
  gap: 10px;
}

.footer-links h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

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

  .feature-grid,
  .signal-grid,
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
    padding: 14px 16px;
  }

  .brand-link img {
    width: 190px;
  }

  .login-button {
    min-width: 78px;
    padding: 0 14px;
  }

  .hero-section {
    min-height: auto;
    padding: 42px 16px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .metric-band,
  .feature-grid,
  .signal-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .section-block,
  .atlas-section,
  .radar-section,
  .intelligence-section {
    padding: 58px 16px;
  }

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