:root {
  --ink: #172422;
  --ink-soft: #455a55;
  --paper: #f9fbf8;
  --mist: #eef4f3;
  --line: #d7e2df;
  --teal: #0f6f64;
  --teal-dark: #0a4c45;
  --gold: #f1c86b;
  --coral: #ff766f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 36, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  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;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 14px clamp(14px, 3.4vw, 48px);
}

.header-shell {
  display: flex;
  width: min(1840px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 10px 8px 12px;
  margin: 0 auto;
  border: 1px solid rgba(249, 251, 248, 0.16);
  border-radius: 999px;
  background: rgba(14, 23, 21, 0.82);
  box-shadow: 0 18px 54px rgba(6, 13, 12, 0.28);
  backdrop-filter: blur(18px) saturate(1.18);
  color: var(--paper);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(249, 251, 248, 0.22);
}

.nav-links {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(249, 251, 248, 0.12);
  border-radius: 999px;
  background: rgba(249, 251, 248, 0.08);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(249, 251, 248, 0.92);
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--gold);
  outline: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero-visual,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-visual {
  background-image: url("./assets/agent-risk-map.svg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 36, 34, 0.95) 0%, rgba(23, 36, 34, 0.78) 47%, rgba(23, 36, 34, 0.28) 100%),
    linear-gradient(0deg, rgba(23, 36, 34, 0.42), rgba(23, 36, 34, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 36px));
  padding: clamp(112px, 18vh, 170px) 0 74px;
  margin-left: clamp(18px, 6vw, 88px);
}

.eyebrow,
.section-kicker,
.price-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  max-width: 760px;
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(249, 251, 248, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

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

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

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffd97f;
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(249, 251, 248, 0.45);
  background: rgba(249, 251, 248, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(249, 251, 248, 0.16);
}

.button-tertiary {
  color: var(--teal-dark);
  border-color: var(--line);
  background: var(--white);
}

.button-tertiary:hover,
.button-tertiary:focus-visible {
  border-color: var(--teal);
}

.signal-list {
  display: grid;
  max-width: 780px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  margin: 0;
  background: rgba(249, 251, 248, 0.24);
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
}

.signal-list li {
  padding: 16px;
  background: rgba(23, 36, 34, 0.72);
}

.signal-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-list li {
  color: rgba(249, 251, 248, 0.86);
  font-size: 14px;
}
.band,
.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.problem-band {
  color: var(--paper);
  background: var(--teal-dark);
}

.fit-band {
  background: #e4ece8;
}

.scorecard-promo {
  background: var(--paper);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.section h2,
.band h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.copy-stack p,
.contact-inner p {
  color: inherit;
  font-size: clamp(17px, 1.6vw, 20px);
}

.copy-stack p:last-child,
.contact-inner p:last-of-type {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section-heading .section-kicker,
.fit-band .section-kicker {
  color: var(--teal);
}

.deliverable-grid,
.offer-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

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

.deliverable-card,
.offer-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 36, 34, 0.06);
}

.deliverable-card {
  min-height: 224px;
  padding: 24px;
}

.offer-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 360px;
  padding: 24px;
}

.offer-label {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card-index {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.deliverable-card h3,
.offer-card h3,
.price-card h3,
.process-list h3,
.fit-lists h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: 0;
}

.deliverable-card p,
.offer-card p,
.price-card p,
.process-list p,
.fit-lists li {
  color: var(--ink-soft);
}

.deliverable-card p,
.offer-card p,
.price-card p,
.process-list p {
  margin-bottom: 0;
}

.offer-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.muted-section {
  background: var(--mist);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-height: 246px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.process-list span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--teal);
  font-weight: 900;
}

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

.price-card {
  min-height: 218px;
  padding: 28px;
}

.price-card.highlighted {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.price-label {
  color: var(--teal);
}

.price-card h3 {
  font-size: clamp(26px, 3vw, 36px);
}

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

.fit-lists div {
  padding: 24px;
  border: 1px solid #c6d4cf;
  border-radius: 8px;
  background: rgba(249, 251, 248, 0.78);
}

.fit-lists ul {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  margin: 0;
}

.trust-section {
  background: var(--paper);
}

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

.trust-card {
  min-height: 196px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 36, 34, 0.06);
}

.trust-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.16;
}

.trust-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.contact-section {
  color: var(--paper);
  background: var(--ink);
}

.contact-inner {
  max-width: 760px;
  margin-left: clamp(0px, 6vw, 88px);
}

.contact-inner .section-kicker {
  color: var(--gold);
}

.contact-inner h2 {
  margin-bottom: 20px;
}

.contact-inner p {
  margin-bottom: 28px;
  color: rgba(249, 251, 248, 0.82);
}

.site-footer {
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(249, 251, 248, 0.72);
  background: #0e1715;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  width: min(1180px, 100%);
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-copy span:first-child {
  color: var(--paper);
  font-weight: 850;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 16px;
}

.footer-links a {
  color: rgba(249, 251, 248, 0.86);
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
  outline: none;
}

.legal-body {
  background: var(--mist);
}

.legal-page {
  padding: 132px clamp(18px, 4vw, 56px) 72px;
}

.legal-card {
  width: min(880px, 100%);
  padding: clamp(28px, 5vw, 52px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 36, 34, 0.06);
}

.legal-card h1 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 76px);
}

.legal-intro {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 18px;
}

.legal-card section {
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
}

.legal-card p {
  max-width: 720px;
  color: var(--ink-soft);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.scorecard-body {
  background: var(--mist);
}

.scorecard-page {
  padding: 118px clamp(18px, 4vw, 56px) 72px;
}

.scorecard-hero,
.scorecard-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.scorecard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: end;
  padding: 54px 0 34px;
}

.scorecard-intro h1 {
  max-width: 860px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
}

.scorecard-intro p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
}

.scorecard-summary,
.scorecard-form-panel,
.score-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 36, 34, 0.06);
}

.scorecard-summary {
  padding: 24px;
}

.scorecard-summary h2,
.score-result h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.scorecard-summary ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: var(--ink-soft);
}

.scorecard-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.scorecard-form-panel,
.score-result {
  padding: clamp(22px, 3vw, 34px);
}

.scorecard-section-heading {
  margin-bottom: 28px;
}

.scorecard-section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
}

.scorecard-section-heading p {
  max-width: 760px;
  color: var(--ink-soft);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.field-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.full-field {
  grid-column: 1 / -1;
}

.field-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.field-grid input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 111, 100, 0.16);
}

.question-list {
  display: grid;
  gap: 16px;
}

.question-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.question-card legend {
  float: left;
  width: 100%;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.3;
}

.question-card legend span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  clear: both;
}

.option-pill {
  position: relative;
  display: grid;
  min-height: 70px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px 13px 42px;
  color: var(--ink-soft);
  background: var(--white);
  cursor: pointer;
}

.option-pill input {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: 0;
  transform: translateY(-50%);
  accent-color: var(--teal);
}

.option-pill:has(input:checked) {
  border-color: var(--teal);
  color: var(--ink);
  background: #e9f5ef;
  box-shadow: 0 0 0 3px rgba(15, 111, 100, 0.12);
}

.scorecard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.form-error {
  margin: 0;
  color: #9f2f2a;
  font-weight: 800;
}

.score-result {
  position: sticky;
  top: 96px;
}

.score-result p {
  color: var(--ink-soft);
}

.score-result-ready {
  border-color: var(--teal);
}

.score-result-ready h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.score-low {
  border-color: #92c7ad;
}

.score-medium {
  border-color: var(--gold);
}

.score-high,
.score-critical {
  border-color: var(--coral);
}

.score-meter {
  height: 12px;
  margin: 20px 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mist);
}

.score-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #52c087, var(--gold), var(--coral));
}

@media (max-width: 1120px) {
  .offer-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.category-results {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
}

.category-results div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.category-results span {
  color: var(--ink-soft);
}

.category-results strong {
  color: var(--ink);
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(720px, calc(100% - 36px));
    padding-top: 112px;
    margin: 0 auto;
  }

  .hero-overlay {
    background: rgba(23, 36, 34, 0.86);
  }

  .signal-list,
  .two-column,
  .deliverable-grid,
  .offer-grid,
  .process-list,
  .pricing-grid,
  .fit-lists,
  .trust-grid,
  .scorecard-hero,
  .scorecard-shell,
  .field-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .scorecard-page {
    padding-top: 92px;
  }

  .score-result {
    position: static;
  }

  .process-list li,
  .deliverable-card,
  .offer-card,
  .price-card {
    min-height: auto;
  }

  .contact-inner {
    margin-left: auto;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .band,
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
