:root {
  --authority: #0b1f53;
  --trust: #2563eb;
  --teal: #0f766e;
  --slate: #64748b;
  --background: #f8fafc;
  --white: #ffffff;
  --score-exceptional: #15803d;
  --score-excellent: #15803d;
  --score-good: #65a30d;
  --score-fair: #d97706;
  --score-weak: #dc2626;
  --score-needed: #991b1b;
  --border: rgba(100, 116, 139, 0.22);
  --shadow: 0 22px 55px rgba(11, 31, 83, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--authority);
  background: var(--background);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  display: block;
  width: clamp(170px, 18vw, 224px);
  height: auto;
}

.brand-icon,
.footer-logo {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--authority);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-nav a:hover,
.header-cta:hover {
  color: var(--trust);
}

.header-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--white);
  background: var(--trust);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero,
.audience,
.how-it-works,
.scoring,
.authority,
.example-report,
.display-rating,
.lead-capture {
  padding: clamp(62px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 560px);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 76px);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.eyebrow,
.label {
  margin: 0 0 12px;
  color: var(--trust);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--authority);
  font-size: clamp(2.7rem, 4.5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subhead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  font-weight: 500;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 12px 18px;
  font-weight: 800;
  text-align: center;
}

.button-primary {
  color: var(--white);
  background: var(--trust);
}

.button-secondary {
  color: var(--authority);
  background: var(--white);
  border-color: var(--border);
}

.authority-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.authority-row span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--authority);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.authority-row span::before,
.trust-list span::before {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.platform-card,
.info-card,
.lead-form,
.badge-example,
.score-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.platform-card {
  width: min(100%, 560px);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.brand-mini {
  color: var(--authority);
  font-size: 0.9rem;
}

.hero-scorecard {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
}

.score-badge {
  display: grid;
  justify-items: center;
  padding: 18px 16px;
  color: var(--score-good);
  text-align: center;
}

.score-exceptional,
.score-excellent {
  color: var(--score-excellent);
}

.score-good {
  color: var(--score-good);
}

.score-fair {
  color: var(--score-fair);
}

.score-weak {
  color: var(--score-weak);
}

.score-needed {
  color: var(--score-needed);
}

.score-icon {
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  margin-bottom: 4px;
}

.score-logo {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.score-badge p {
  margin: 0;
  color: currentColor;
  line-height: 1;
}

.score-badge strong {
  font-size: 2.9rem;
  font-weight: 800;
}

.score-badge span {
  color: var(--slate);
  font-size: 1.1rem;
  font-weight: 500;
}

.score-badge b {
  margin-top: 8px;
  color: currentColor;
  font-size: 1rem;
}

.score-badge small {
  max-width: 140px;
  margin-top: 20px;
  color: var(--authority);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}

.rating-summary h2 {
  margin: 0;
  color: var(--authority);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.trust-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  color: var(--authority);
  font-size: 0.86rem;
  font-weight: 800;
}

.trust-list span {
  display: flex;
  align-items: center;
}

.category-bars {
  display: grid;
  gap: 13px;
}

.category-bars div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  color: var(--authority);
  font-size: 0.82rem;
  font-weight: 800;
}

.category-bars strong {
  color: var(--score-color);
}

.category-bars i {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  overflow: hidden;
  background: rgba(100, 116, 139, 0.16);
  border-radius: 999px;
}

.category-bars i::before {
  display: block;
  width: var(--bar);
  height: 100%;
  background: var(--score-color);
  content: "";
}

.surface {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2,
.lead-copy h2,
.badge-copy h2 {
  margin: 0;
  color: var(--authority);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.audience-grid,
.steps-grid,
.authority-grid,
.category-grid,
.insight-columns,
.mini-scores {
  display: grid;
  gap: 16px;
}

.audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps-grid,
.insight-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.authority-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-grid {
  grid-template-columns: repeat(6, minmax(170px, 1fr));
  overflow-x: auto;
  padding-bottom: 4px;
}

.info-card {
  padding: 24px;
}

.info-card span:not(.step-number):not(.category-icon),
.info-card h3 {
  display: block;
  margin: 0 0 10px;
  color: var(--authority);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}

.audience-grid .info-card span {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.info-card p,
.lead-copy p,
.badge-copy p {
  margin: 0;
  color: var(--slate);
  font-weight: 600;
}

.step-number,
.category-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--authority);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
}

.category-icon {
  color: var(--trust);
  background: var(--background);
  border: 1px solid var(--border);
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 22px;
  align-items: start;
}

.report-badge {
  min-height: 360px;
  justify-content: center;
  box-shadow: var(--shadow);
}

.mini-scores {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-scores div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  min-height: 88px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.mini-scores span {
  color: var(--authority);
  font-size: 0.84rem;
  font-weight: 800;
}

.mini-scores strong {
  color: currentColor;
  font-size: 1.8rem;
}

.mini-scores small {
  grid-column: 1 / -1;
  color: currentColor;
  font-weight: 800;
}

.insight-columns {
  margin-top: 16px;
}

.insight-columns ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--slate);
  font-weight: 600;
}

.display-rating {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

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

.badge-copy p:last-child,
.lead-copy p:last-child {
  margin-top: 16px;
  font-size: 1.03rem;
}

.badge-example {
  padding: 24px;
  box-shadow: var(--shadow);
}

.badge-example > p {
  margin: 0 0 16px;
  color: var(--authority);
  font-weight: 800;
}

.compact-badge {
  min-height: 260px;
}

.lead-capture {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.lead-copy {
  max-width: 680px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--authority);
  font-size: 0.9rem;
  font-weight: 800;
}

.lead-form input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  color: var(--authority);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
}

.lead-form input:focus {
  border-color: var(--trust);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}

.lead-form .button {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

.submit-helper {
  margin: -4px 0 0;
  color: var(--authority);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.form-note {
  margin: 0;
  color: var(--slate);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
}

.disclaimer {
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--authority);
  background: var(--white);
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 600;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--authority);
  background: var(--background);
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .hero,
  .lead-capture,
  .display-rating,
  .report-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .authority-grid,
  .mini-scores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-cta {
    display: none;
  }

  .brand-logo {
    width: clamp(150px, 48vw, 188px);
  }

  .hero,
  .audience,
  .how-it-works,
  .scoring,
  .authority,
  .example-report,
  .display-rating,
  .lead-capture {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .authority-row span {
    width: 100%;
  }

  .hero-scorecard,
  .audience-grid,
  .steps-grid,
  .authority-grid,
  .mini-scores,
  .insight-columns {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
