:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9e1df;
  --paper: #f7f8f5;
  --white: #ffffff;
  --green: #24745c;
  --green-dark: #13513f;
  --lime: #d9ef5b;
  --yellow: #f4c84b;
  --blue: #345c8c;
  --shadow: 0 24px 70px rgba(22, 32, 44, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--green-dark);
  font-weight: 800;
}

.brand__text {
  font-weight: 800;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a {
  text-decoration: none;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 34px 0 58px;
}

.hero__copy {
  min-width: 0;
  min-height: calc(100vh - 168px);
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(360px, 520px);
  grid-template-rows: auto auto auto auto 1fr;
  gap: 0 62px;
  align-content: center;
  align-items: center;
}

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

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

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin: 22px 0 24px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.48;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero__checks span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  color: #2d3743;
  font-size: 14px;
  font-weight: 700;
}

.visual-panel {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 6;
  max-width: 470px;
  margin-top: 0;
}

.visual-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric-strip {
  width: calc(100% - 36px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -36px auto 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 16px 34px rgba(22, 32, 44, 0.12);
}

.metric-strip span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.metric-strip strong {
  display: block;
  color: var(--green-dark);
  font-size: 24px;
}

.primary-cta {
  width: fit-content;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(19, 81, 63, 0.22);
}

.primary-cta:hover {
  background: #0d4334;
}

.quiz-section,
.leadmagnet-section,
.cases-section {
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.quiz-section--main {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding: 70px 0;
}

.quiz-layout,
.section-heading,
.gift-grid,
.case-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.quiz-title-block {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 28px;
  text-align: center;
}

.quiz-title-block h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.06;
}

.quiz-title-block p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.quiz-aside h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

.quiz-aside > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.score-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

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

.score-list div {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.score-list dt {
  margin: 0 0 6px;
  color: var(--green);
  font-weight: 800;
}

.score-list dd {
  margin: 0;
  color: var(--muted);
}

.quiz-shell {
  width: min(760px, calc(100% - 40px));
  min-height: 570px;
  margin: 0 auto;
  scroll-margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quiz-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.quiz-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

.quiz-counter {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 70px;
  height: 46px;
  border-radius: 6px;
  color: var(--green-dark);
  background: #edf7e1;
  font-weight: 900;
}

.progress {
  height: 8px;
  margin: 24px 0 30px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ece8;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--lime));
  transition: width 0.25s ease;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.step {
  display: none;
}

.step.is-active {
  display: block;
}

.field-label {
  display: block;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.field-label--inside {
  margin-top: 18px;
}

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

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

.option {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.option:hover {
  border-color: #9dbab0;
  transform: translateY(-1px);
}

.option input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.option span {
  font-weight: 750;
  line-height: 1.25;
}

.text-input {
  width: 100%;
  min-height: 60px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: #fbfcfa;
  color: var(--ink);
  font-size: 18px;
}

.text-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(36, 116, 92, 0.12);
}

.gift-step__intro {
  max-width: 620px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.gift-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gift-list li {
  position: relative;
  min-height: 48px;
  padding: 13px 16px 13px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  font-weight: 750;
}

.gift-list li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 16px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--green-dark);
}

.gift-list li::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 21px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

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

.legal-consent {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf5;
}

.legal-consent__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.legal-consent__check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--green-dark);
}

.legal-consent p {
  margin: 8px 0 0 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.legal-consent a {
  color: var(--green-dark);
  font-weight: 800;
}

.quiz-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.icon-btn,
.next-btn {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.icon-btn {
  width: 52px;
  height: 52px;
  background: #ecf0ed;
  color: var(--green-dark);
  font-size: 24px;
}

.icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.next-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: var(--white);
  background: var(--green-dark);
  text-decoration: none;
}

.next-btn:hover {
  background: #0d4334;
}

.is-hidden {
  display: none;
}

.enter-hint {
  color: var(--muted);
  font-size: 13px;
}

.error-text {
  min-height: 22px;
  margin-top: 14px;
  color: #b42318;
  font-weight: 800;
}

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

.section-heading h2 {
  max-width: 820px;
}

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

.gift-grid article,
.case-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.gift-grid span {
  color: var(--green);
  font-weight: 900;
}

.gift-grid h3,
.case-grid h3 {
  margin: 14px 0 10px;
  font-size: 22px;
}

.gift-grid p,
.case-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  color: var(--muted);
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 900;
}

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

.legal-wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 74px;
}

.legal-wrap h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.legal-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.legal-card {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.legal-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.18;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.legal-section p + p {
  margin-top: 10px;
}

.thanks-page {
  background: var(--paper);
}

.thanks-hero {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
  margin: 0 auto;
  padding: 48px 0 72px;
}

.thanks-confirm {
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
}

.thanks-confirm .eyebrow {
  color: var(--lime);
}

.thanks-confirm h1 {
  font-size: clamp(34px, 5vw, 60px);
}

.thanks-confirm p {
  max-width: 700px;
  color: #e9f3ef;
  font-size: 19px;
  line-height: 1.55;
}

.next-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.next-list li {
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.bonus-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.bonus-box h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.bonus-box p {
  color: var(--muted);
  line-height: 1.5;
}

.leadmagnet-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.leadmagnet-list li {
  position: relative;
  padding: 10px 10px 10px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf5;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.leadmagnet-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--lime);
}

.leadmagnet-list li::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 6px;
  height: 4px;
  border-left: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  transform: rotate(-45deg);
}

.thanks-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0;
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 30px;
}

.about-grid h2,
.thanks-section h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.about-grid p,
.thanks-section > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.fact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 750;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.secondary-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.case-stats span {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf5;
}

.case-stats strong {
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.05;
}

.case-stats small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

.case-source {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.case-source:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero,
  .quiz-layout,
  .thanks-hero,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .visual-panel {
    max-width: 620px;
    grid-column: auto;
    grid-row: auto;
    margin-top: 26px;
  }

  .gift-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .quiz-title-block,
  .quiz-layout,
  .section-heading,
  .gift-grid,
  .case-grid,
  .site-footer,
  .thanks-hero,
  .thanks-section {
    width: min(100% - 28px, 420px);
  }

  h1 {
    font-size: 34px;
    line-height: 1.06;
  }

  .hero__lead {
    font-size: 17px;
  }

  .visual-panel {
    display: none;
  }

  .metric-strip,
  .contact-grid,
  .options,
  .options--compact {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    margin-top: 12px;
    width: 100%;
  }

  .quiz-shell,
  .thanks-confirm {
    padding: 20px;
  }

  .quiz-head {
    display: block;
  }

  .quiz-counter {
    margin-top: 14px;
  }

  .quiz-actions {
    flex-wrap: wrap;
  }

  .next-btn {
    flex: 1 1 calc(100% - 66px);
  }

  .enter-hint {
    width: 100%;
    padding-left: 66px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

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

/* Current two-screen prototype */
body:not(.thanks-page) {
  color: var(--ink);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  background: #f4f5f0;
}

body:not(.thanks-page) .site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0;
  transform: translateX(-50%);
  color: var(--white);
}

body:not(.thanks-page) .brand {
  color: var(--white);
}

body:not(.thanks-page) .brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #17210c;
  background: var(--lime);
  font-weight: 900;
}

body:not(.thanks-page) .brand__text {
  font-weight: 900;
}

body:not(.thanks-page) .top-nav {
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
}

.top-nav__cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 900;
}

body:not(.thanks-page) .hero {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(280px, 440px);
  gap: 56px;
  align-items: center;
  margin: 0;
  padding: 68px max(32px, calc((100vw - 1180px) / 2)) 40px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 10, 16, 0.95) 0%, rgba(5, 10, 16, 0.86) 48%, rgba(5, 10, 16, 0.28) 100%),
    url("assets/hero-construction-leads.png") center / cover no-repeat;
}

body:not(.thanks-page) .hero__copy {
  min-width: 0;
  min-height: auto;
  display: block;
}

body:not(.thanks-page) .eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 11px;
  border: 1px solid rgba(217, 239, 91, 0.36);
  border-radius: 8px;
  color: var(--lime);
  background: rgba(217, 239, 91, 0.1);
  font-size: 12px;
  font-weight: 900;
}

body:not(.thanks-page) h1 {
  max-width: 640px;
  margin: 0;
  font-family: Unbounded, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(36px, 3.72vw, 50px);
  line-height: 1.12;
  font-weight: 800;
}

body:not(.thanks-page) .hero__lead {
  max-width: 610px;
  margin: 16px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
}

body:not(.thanks-page) .hero__checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

body:not(.thanks-page) .hero__checks article {
  min-height: 104px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

body:not(.thanks-page) .hero__checks span {
  width: 20px;
  height: 20px;
  display: block;
  position: relative;
  min-height: 0;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: var(--lime);
}

body:not(.thanks-page) .hero__checks span::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #17210c;
  border-bottom: 2px solid #17210c;
  transform: rotate(-45deg);
}

body:not(.thanks-page) .hero__checks p {
  margin: 0;
  color: var(--white);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

body:not(.thanks-page) .primary-cta,
.secondary-cta {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

body:not(.thanks-page) .primary-cta {
  width: auto;
  padding: 0 28px;
  color: #17210c;
  background: linear-gradient(180deg, #f4ff78 0%, #d9ef5b 100%);
  box-shadow: 0 18px 44px rgba(217, 239, 91, 0.26);
}

body:not(.thanks-page) .primary-cta:hover {
  background: linear-gradient(180deg, #fbff8c 0%, #d9ef5b 100%);
}

.secondary-cta {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.niche-line {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.45;
}

.hero-dashboard {
  min-height: 520px;
  position: relative;
}

.dash-card,
.dash-bars {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(8, 14, 22, 0.74);
  color: var(--white);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.dash-card {
  width: 210px;
  padding: 16px;
}

.dash-card span,
.dash-card p {
  display: block;
  margin: 0;
  color: #cbd5e1;
  font-size: 12px;
}

.dash-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 27px;
  line-height: 1.05;
}

.dash-card--lead {
  top: 58px;
  left: 0;
}

.dash-card--cost {
  top: 210px;
  right: 0;
}

.dash-card--audit {
  bottom: 154px;
  left: 28px;
}

.dash-bars {
  right: 0;
  bottom: 44px;
  width: min(100%, 300px);
  padding: 18px;
}

.dash-bars div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}

.dash-bars div + div {
  margin-top: 13px;
}

.dash-bars span {
  color: #d9e2ec;
  font-size: 13px;
  font-weight: 800;
}

.dash-bars b {
  height: 9px;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.dash-bars b::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime), var(--yellow));
}

body:not(.thanks-page) .quiz-section--main {
  min-height: 100vh;
  background: var(--paper);
}

@media (max-width: 960px) {
  body:not(.thanks-page) .site-header {
    position: static;
    width: min(100% - 34px, 760px);
    transform: none;
    color: var(--ink);
  }

  body:not(.thanks-page) .brand,
  body:not(.thanks-page) .top-nav,
  body:not(.thanks-page) .top-nav__cta {
    color: var(--ink);
  }

  body:not(.thanks-page) .top-nav__cta {
    border-color: var(--line);
    background: var(--white);
  }

  body:not(.thanks-page) .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 36px clamp(28px, 4vw, 40px) 60px;
  }

  .hero-dashboard {
    display: none;
  }
}

@media (max-width: 620px) {
  body:not(.thanks-page) .hero,
  body:not(.thanks-page) .site-header,
  body:not(.thanks-page) .quiz-title-block,
  body:not(.thanks-page) .quiz-shell {
    width: min(100% - 28px, 420px);
  }

  body:not(.thanks-page) .hero {
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 auto;
  }

  body:not(.thanks-page) h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  body:not(.thanks-page) .hero__checks {
    grid-template-columns: 1fr;
  }

  body:not(.thanks-page) .hero__checks article {
    min-height: auto;
  }

  body:not(.thanks-page) .primary-cta,
  .secondary-cta,
  .top-nav__cta {
    width: 100%;
  }
}

@media (max-width: 620px) {
  body:not(.thanks-page) .site-header {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 6px;
    gap: 8px;
  }

  body:not(.thanks-page) .brand {
    gap: 8px;
  }

  body:not(.thanks-page) .brand__mark {
    width: 34px;
    height: 34px;
  }

  body:not(.thanks-page) .top-nav {
    width: auto;
    flex: 0 0 auto;
  }

  body:not(.thanks-page) .top-nav a:not(.top-nav__cta) {
    display: none;
  }

  body:not(.thanks-page) .top-nav__cta {
    width: auto;
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  body:not(.thanks-page) .hero {
    padding-top: 18px;
    padding-bottom: 36px;
  }

  body:not(.thanks-page) .eyebrow {
    margin-bottom: 12px;
    padding: 7px 9px;
    font-size: 10px;
  }

  body:not(.thanks-page) h1 {
    font-size: 29px;
    line-height: 1.12;
  }

  body:not(.thanks-page) .hero__lead {
    margin: 12px 0 14px;
    font-size: 14px;
    line-height: 1.48;
  }

  body:not(.thanks-page) .hero__checks {
    gap: 8px;
    margin-bottom: 14px;
  }

  body:not(.thanks-page) .hero__checks article {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
  }

  body:not(.thanks-page) .hero__checks span {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
  }

  body:not(.thanks-page) .hero__checks span::after {
    top: 5px;
    left: 5px;
    width: 7px;
    height: 4px;
  }

  body:not(.thanks-page) .primary-cta {
    min-height: 58px;
    padding: 0 18px;
    font-size: 14px;
  }

  .niche-line {
    margin-top: 12px;
    font-size: 12px;
  }
}
