:root {
  --bg: #eef7f6;
  --paper: #ffffff;
  --paper-soft: #f6fbfa;
  --ink: #0b2f38;
  --muted: #60777a;
  --line: rgba(11, 47, 56, 0.14);
  --accent: #0ea5a4;
  --accent-dark: #0b6f7f;
  --green: #0f766e;
  --green-dark: #0b5f58;
  --green-soft: #e5f5f2;
  --blue-soft: #e6f3fb;
  --trust-blue: #0b6f7f;
  --deep: #07323a;
  --shadow: 0 24px 70px rgba(7, 50, 58, 0.14);
  --shadow-soft: 0 18px 46px rgba(7, 50, 58, 0.09);
  --radius: 18px;
  --header: 96px;
  --footer: 54px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

.thanks-root {
  min-height: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  overflow: hidden;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 10%, rgba(14, 165, 164, 0.18), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(11, 111, 127, 0.16), transparent 32%),
    linear-gradient(135deg, #eef7f6 0%, #f7fbfa 48%, #e8f5f8 100%);
  color: var(--ink);
  font-family: Inter, Arial, "Helvetica Neue", sans-serif;
}

body.thanks-body {
  overflow-x: hidden;
  overflow-y: auto !important;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.site {
  min-height: 100svh;
  display: grid;
  grid-template-rows: var(--header) 4px 1fr auto;
}

body[data-current-screen="0"] .site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  min-height: 42px;
  padding: 8px clamp(16px, 3vw, 28px);
  border-top-color: rgba(11, 47, 56, 0.12);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 -14px 30px rgba(7, 50, 58, 0.1);
  backdrop-filter: blur(14px);
  font-size: 11px;
}

body[data-current-screen="0"] .site-footer span,
body[data-current-screen="0"] .site-footer address,
body[data-current-screen="0"] .site-footer a {
  white-space: normal;
}

body[data-current-screen="0"] .site {
  grid-template-rows: var(--header) 4px 1fr;
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(24px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(11, 47, 56, 0.11);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: clamp(220px, 30vw, 286px);
  height: auto;
  flex: 0 0 auto;
}

.brand span {
  display: none;
  gap: 2px;
  min-width: 0;
}

.brand strong {
  max-width: min(360px, 42vw);
  font-size: 18px;
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.brand em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.service-nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-nav::-webkit-scrollbar {
  display: none;
}

.service-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 9px;
  color: #56615e;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.service-nav a:hover {
  background: var(--paper-soft);
  color: var(--ink);
  transform: translateY(-1px);
}

.service-nav a.active {
  background: var(--green-soft);
  color: var(--green);
}

.service-status {
  display: none;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(230, 243, 251, .9), rgba(229, 245, 242, .9));
  color: #244f58;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.top-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--green);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.top-cta {
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 16px;
  background: linear-gradient(135deg, var(--trust-blue), var(--green));
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 111, 127, 0.18);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.global-progress {
  position: relative;
  z-index: 9;
  height: 4px;
  background: rgba(31, 41, 39, 0.08);
}

.global-progress div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--trust-blue), var(--accent), var(--green));
  transition: width 0.28s ease;
}

.screens {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px 26px 82px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.screen > * {
  min-width: 0;
}

.screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.screen-finish {
  overflow-y: auto;
  place-items: start center;
  padding-bottom: 64px;
}

.screen-finish.active {
  transform: none;
}

.screen-hero {
  place-items: stretch;
  padding: 0;
  overflow: hidden;
}

body[data-current-screen="0"] .screen-hero.active {
  height: 100%;
  min-height: 100%;
  padding: 0;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media picture,
.hero-media > img,
.hero-media picture > img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-media > img,
.hero-media picture > img {
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 38, 44, 0.94) 0%, rgba(5, 38, 44, 0.84) 42%, rgba(5, 38, 44, 0.48) 72%, rgba(5, 38, 44, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 38, 44, 0.34), rgba(5, 38, 44, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 500px);
  gap: clamp(28px, 4.6vw, 72px);
  align-items: center;
  align-self: stretch;
  width: min(1640px, 100%);
  height: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: clamp(24px, 4vh, 44px) clamp(22px, 4.2vw, 58px) calc(var(--footer) + 22px);
  color: #fff;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.step-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(14, 165, 164, 0.12);
  color: #0b6f7f;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.hero-content .eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  margin-top: 16px;
  max-width: 680px;
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 900;
}

h2 {
  margin-top: 18px;
  max-width: 760px;
  font-size: 44px;
  font-weight: 900;
}

.hero-lead,
.question-text,
#resultText,
.lead-note {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-lead {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.hero-outcomes {
  display: grid;
  gap: 8px;
  max-width: 590px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-outcomes li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.32;
}

.hero-outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #72d5c9;
  box-shadow: 0 0 0 5px rgba(114, 213, 201, 0.14);
}

.screen-hero.paid-traffic .hero-outcomes {
  max-width: 560px;
  margin-top: 12px;
  gap: 7px;
}

.screen-hero.paid-traffic .hero-outcomes li {
  font-size: 14px;
  line-height: 1.28;
}

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

.hero-side-panel {
  display: grid;
  gap: 16px;
  justify-self: end;
  min-width: 0;
  width: min(500px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(5, 38, 44, 0.34);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.hero-side-head {
  display: grid;
  gap: 8px;
}

.hero-side-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(114, 213, 201, 0.18);
  color: #aef5ed;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.hero-side-title {
  color: #fff;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.08;
}

.hero-side-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.hero-side-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-side-list li {
  position: relative;
  min-width: 0;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.34;
}

.hero-side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffc966;
  box-shadow: 0 0 0 5px rgba(255, 201, 102, 0.12);
}

.hero-side-panel .hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0;
}

.hero-side-panel .main-btn,
.hero-side-panel .ghost-btn {
  width: 100%;
  min-height: 54px;
  text-align: center;
  line-height: 1.1;
  white-space: normal;
}

.screen-hero.paid-traffic .hero-side-panel {
  gap: 12px;
  padding: 20px;
}

.screen-hero.paid-traffic .hero-side-head {
  gap: 6px;
}

.screen-hero.paid-traffic .hero-side-head p {
  font-size: 14px;
  line-height: 1.36;
}

.hero-product-badge {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.1);
}

.hero-product-badge img {
  width: 72px;
  height: 82px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  padding: 6px;
}

.hero-product-badge strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.12;
}

.hero-product-badge p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.24;
}

.hero-product-badge ul {
  display: grid;
  gap: 3px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.hero-product-badge li {
  position: relative;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 820;
  line-height: 1.18;
}

.hero-product-badge li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffc966;
}

.screen-hero.paid-traffic .hero-lead-panel {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.screen-hero.paid-traffic .hero-lead-panel::before,
.screen-hero.paid-traffic .hero-lead-panel .lead-head,
.screen-hero.paid-traffic .hero-lead-panel .lead-note,
.screen-hero.paid-traffic .hero-lead-panel .lead-assurance,
.screen-hero.paid-traffic .hero-lead-panel .compact-phone {
  display: none;
}

.screen-hero.paid-traffic .hero-lead-panel .form-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.screen-hero.paid-traffic .hero-lead-panel .form-grid .field-label:nth-child(2) {
  display: none;
}

.screen-hero.paid-traffic .hero-lead-panel .field-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.screen-hero.paid-traffic .hero-lead-panel input,
.screen-hero.paid-traffic .hero-lead-panel select {
  min-height: 54px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.96);
  font-size: 16px;
}

.screen-hero.paid-traffic .hero-lead-panel .main-btn.full {
  min-height: 60px;
  margin-top: 0;
  background: linear-gradient(135deg, #ffb13d 0%, #ff5a1f 58%, #f24217 100%);
  box-shadow: 0 18px 42px rgba(255, 92, 31, 0.36), 0 0 0 8px rgba(255, 171, 55, 0.1);
}

.screen-hero.paid-traffic .hero-lead-panel .privacy {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.32;
}

.screen-hero.paid-traffic .hero-lead-panel .privacy-link {
  color: #bdf8ef;
}

.screen-hero.paid-traffic .hero-side-panel .hero-actions {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.screen-hero.paid-traffic .hero-side-panel .quiz-route-btn,
.screen-hero.paid-traffic .hero-side-panel .ghost-btn {
  min-height: 54px;
  padding-inline: 16px;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  line-height: 1.08;
}

.screen-hero.paid-traffic .hero-side-list {
  gap: 7px;
}

.screen-hero.paid-traffic .hero-side-list li {
  font-size: 13px;
  line-height: 1.28;
}

.screen-hero.paid-traffic .hero-side-panel .hero-proof {
  display: none;
}

.main-btn,
.ghost-btn,
.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: var(--radius);
  border: 0;
  padding: 0 22px;
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
  font-weight: 850;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.main-btn {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  box-shadow: 0 18px 38px rgba(14, 165, 164, 0.28);
}

.screen-hero .main-btn {
  background: linear-gradient(135deg, #ff8a00 0%, #ff4d1d 100%);
  color: #fff;
  box-shadow: 0 18px 46px rgba(255, 103, 28, 0.34), 0 0 0 8px rgba(255, 138, 0, 0.08);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ghost-btn.dark,
.back-btn {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.main-btn:hover,
.ghost-btn:hover,
.back-btn:hover,
.answer:hover,
.brand-chip:hover,
.top-cta:hover {
  transform: translateY(-1px);
}

.main-btn:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.main-btn:focus-visible,
.ghost-btn:focus-visible,
.back-btn:focus-visible,
.question-back-btn:focus-visible,
.answer:focus-visible,
.brand-chip:focus-visible,
.top-cta:focus-visible,
.service-nav a:focus-visible,
.top-phone:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.26);
  outline-offset: 2px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(640px, 100%);
  margin: 24px 0 0;
}

.hero-proof div {
  min-width: 0;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-proof dt,
.hero-proof dd {
  margin: 0;
}

.hero-proof dt {
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hero-proof dd {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hero-side-panel .hero-proof {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  width: 100%;
  margin: 0;
  padding-top: 4px;
}

.hero-side-panel .hero-proof div {
  min-height: 0;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.hero-side-panel .hero-proof dt {
  font-size: 20px;
  line-height: 1.05;
}

.hero-side-panel .hero-proof dd {
  max-width: 140px;
  font-size: 11px;
  line-height: 1.22;
}

.quiz-shell,
.finish-shell {
  width: min(1160px, 100%);
  min-width: 0;
  min-height: min(650px, calc(100svh - var(--header) - var(--footer) - 94px));
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.quiz-shell {
  grid-template-columns: minmax(0, 1fr) 350px;
}

.finish-shell {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.screen-finish .finish-shell {
  min-height: auto;
  align-self: start;
}

.question-panel,
.master-panel,
.result-panel,
.lead-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.question-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.question-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.question-step-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.question-back-btn {
  min-height: 34px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--green);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.question-back-btn:hover {
  border-color: rgba(15, 118, 110, 0.34);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.auto-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.question-text {
  max-width: 690px;
  margin: 14px 0 0;
}

.question-value-note {
  max-width: 690px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 12px;
  background: rgba(229, 245, 242, 0.64);
  color: #335f59;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.42;
}

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

.answer,
.brand-chip {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(7, 50, 58, 0.06);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.answer {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
  text-align: left;
}

.answer img {
  width: 42px;
  height: 42px;
}

.answer span {
  min-width: 0;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.22;
  overflow-wrap: break-word;
}

.answer small {
  display: block;
  grid-column: 2;
  margin-top: -7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.answers.compact .answer {
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}

.answers.compact .answer small {
  grid-column: auto;
  margin-top: 0;
}

.answer.selected,
.brand-chip.selected {
  border-color: rgba(14, 165, 164, 0.74);
  background: linear-gradient(180deg, #eefafa, #ffffff);
  box-shadow: 0 12px 34px rgba(14, 165, 164, 0.16);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 14px;
  text-align: center;
  font-size: 16px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.master-panel {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.master-person,
.lead-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.master-person img {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  border: 2px solid rgba(14, 165, 164, 0.18);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(7, 50, 58, 0.12);
  object-fit: cover;
  object-position: 64% 24%;
}

.lead-head img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border: 2px solid rgba(14, 165, 164, 0.18);
  border-radius: 16px;
  object-fit: cover;
  object-position: 64% 24%;
}

.master-person div,
.lead-head div {
  display: grid;
  gap: 3px;
}

.master-person span,
.lead-head span {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.master-person strong,
.lead-head strong {
  font-size: 17px;
  line-height: 1.18;
}

.master-panel p {
  margin: 22px 0 0;
  color: #4b5653;
  font-size: 16px;
  line-height: 1.55;
}

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

.check-list li {
  position: relative;
  padding-left: 20px;
  color: #3d4946;
  font-size: 14px;
  line-height: 1.38;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.side-bonus {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: var(--radius);
  background: var(--green-soft);
  color: #24564f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.side-bonus img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.back-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  box-shadow: none;
}

.result-panel,
.lead-panel {
  padding: 30px;
}

.result-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#resultText {
  max-width: 760px;
  margin: 16px 0 0;
}

#resultTitle {
  font-size: 38px;
  line-height: 1.08;
}

.recommendation-panel {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(232, 248, 245, 0.88), rgba(255, 255, 255, 0.98));
}

.recommendation-head h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.12;
}

.recommendation-head p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.recommendation-source {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.recommendation-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.recommendation-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(31, 41, 39, 0.14);
  border-radius: 8px;
  background: #fff;
}

.recommendation-card.is-primary {
  border-color: rgba(15, 118, 110, 0.36);
  box-shadow: 0 16px 34px rgba(7, 50, 58, 0.08);
}

.recommendation-badge {
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.recommendation-model {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.recommendation-price {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(232, 248, 245, 0.72);
}

.recommendation-price span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.recommendation-price strong {
  color: var(--accent-dark);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.recommendation-price em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
}

.recommendation-specs {
  display: grid;
  gap: 6px;
  margin: 0;
}

.recommendation-specs div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(31, 41, 39, 0.08);
  font-size: 13px;
  line-height: 1.25;
}

.recommendation-specs dt {
  color: var(--muted);
}

.recommendation-specs dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.recommendation-note {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.recommendation-fit {
  margin: -2px 0 0;
  color: #2f5d57;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.result-value-panel,
.result-factor-panel,
.result-mistakes-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(13, 80, 85, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.result-value-panel h3,
.result-factor-panel h3,
.result-mistakes-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.16;
}

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

.result-value-grid article {
  min-width: 0;
  padding: 13px;
  border-radius: 12px;
  background: var(--paper-soft);
}

.result-value-grid strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.result-value-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.result-factor-panel ul,
.result-mistakes-panel ul,
.lead-assurance {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-factor-panel li,
.result-mistakes-panel li,
.lead-assurance li {
  position: relative;
  padding-left: 22px;
  color: #3d5652;
  font-size: 14px;
  line-height: 1.38;
}

.result-factor-panel li::before,
.result-mistakes-panel li::before,
.lead-assurance li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.result-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.result-trust div {
  display: grid;
  gap: 9px;
  min-height: 124px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.result-trust img {
  width: 34px;
  height: 34px;
}

.result-trust span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.result-trust strong {
  display: block;
  color: var(--ink);
}

.summary-box {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  border: 1px dashed rgba(31, 41, 39, 0.22);
  border-radius: var(--radius);
  background: #fff;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.summary-row strong {
  color: var(--ink);
  text-align: right;
}

.evidence-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.evidence-card,
.evidence-quote {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.evidence-media {
  position: relative;
}

.evidence-media > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.evidence-card div {
  padding: 14px;
}

.evidence-card h3,
.evidence-quote blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.22;
}

.evidence-card p,
.evidence-quote figcaption {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.evidence-quote {
  grid-column: 1 / -1;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, var(--paper-soft));
}

.evidence-quote blockquote {
  position: relative;
  padding-left: 18px;
}

.evidence-quote blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 4px;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.lead-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.screen-finish .lead-panel {
  position: sticky;
  top: 18px;
  align-self: start;
  max-height: calc(100svh - var(--header) - var(--footer) - 36px);
  overflow-y: auto;
  border-color: rgba(14, 165, 164, 0.24);
  background:
    linear-gradient(180deg, rgba(232, 248, 245, 0.98), rgba(255, 255, 255, 0.98) 46%),
    #fff;
  box-shadow: 0 28px 74px rgba(7, 50, 58, 0.18);
  scroll-margin-top: 18px;
}

.result-contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  align-items: start;
  gap: 16px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(14, 165, 164, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(229, 245, 242, 0.96), rgba(230, 243, 251, 0.72)),
    #fff;
}

.result-contact-strip div:first-child {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.result-contact-strip strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.16;
}

.result-contact-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.result-contact-facts {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-contact-facts li {
  position: relative;
  min-width: 0;
  padding: 9px 10px 9px 30px;
  border: 1px solid rgba(14, 165, 164, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.result-contact-facts li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.mobile-lead-bar {
  display: none;
}

.lead-note {
  margin: 16px 0 20px;
  font-size: 16px;
}

.lead-assurance {
  margin: 14px 0 2px;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 14px;
  background: rgba(229, 245, 242, 0.72);
}

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

.lead-panel .field-label {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
  color: #3e4946;
  font-size: 14px;
  font-weight: 800;
}

.lead-panel input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #60706c;
  border-bottom: 2px solid #60706c;
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.lead-panel select {
  width: 100%;
  min-height: 50px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 46px 0 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  outline: 0;
  font-weight: 760;
}

.lead-panel input:focus,
.lead-panel select:focus {
  border-color: rgba(15, 118, 110, 0.62);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.09);
}

.lead-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.main-btn.full {
  width: 100%;
  margin-top: 6px;
}

.privacy {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.privacy-link,
.footer-link {
  color: var(--green);
  text-decoration: none;
  font-weight: 800;
}

.privacy-link:hover,
.footer-link:hover {
  text-decoration: underline;
}

.call-note,
.success-message {
  margin-top: 14px;
  padding: 13px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: #24564f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.lead-panel.submitted .privacy,
.lead-panel.submitted .compact-phone {
  display: none;
}

.phone-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  margin: 8px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  color: var(--ink);
  text-decoration: none;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.compact-phone {
  min-height: auto;
  margin: 12px 0 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 14px;
  line-height: 1.35;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: var(--footer);
  padding: 12px 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.site-footer span,
.site-footer address,
.site-footer a {
  margin: 0;
  font-style: normal;
  white-space: nowrap;
}

.site-footer span:not(:first-child),
.site-footer address,
.site-footer a {
  position: relative;
  padding-left: 16px;
}

.site-footer span:not(:first-child)::before,
.site-footer address::before,
.site-footer a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(31, 41, 39, 0.26);
  transform: translateY(-50%);
}

.policy-body {
  overflow: auto;
}

.policy-site {
  display: block;
  min-height: 100svh;
}

.policy-main {
  min-width: 0;
  padding: 34px 20px 48px;
}

.policy-article {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.policy-article h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: 48px;
  overflow-wrap: anywhere;
}

.policy-lead {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.policy-article section {
  margin-top: 28px;
}

.policy-article h2 {
  margin-top: 0;
  font-size: 25px;
  line-height: 1.12;
}

.policy-article p {
  margin: 12px 0 0;
  color: #475552;
  font-size: 16px;
  line-height: 1.65;
}

.policy-updated {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: 13px !important;
}

.thanks-body {
  height: auto;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto !important;
  background:
    linear-gradient(120deg, rgba(14, 165, 164, 0.14), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(11, 111, 127, 0.18), transparent 30%),
    var(--bg);
}

.thanks-page {
  height: auto;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  display: block;
  grid-template-rows: var(--header) 1fr auto;
  overflow: visible;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.thanks-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.thanks-header-phone {
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.thanks-main {
  display: grid;
  align-items: start;
  gap: 44px;
  padding: 34px 28px 72px;
  min-width: 0;
}

.thanks-hero {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 48px;
  align-items: center;
  min-width: 0;
}

.thanks-copy h1 {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.94;
  overflow-wrap: anywhere;
}

.thanks-copy {
  min-width: 0;
  max-width: 100%;
}

.thanks-lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: #3f504d;
  font-size: 21px;
  line-height: 1.5;
}

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

.thanks-actions .main-btn,
.thanks-actions .ghost-btn {
  min-width: 230px;
  text-decoration: none;
}

.thanks-actions .ghost-btn {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  box-shadow: none;
}

.thanks-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 34px 0 0;
}

.thanks-proof div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
  border-top: 1px solid rgba(31, 41, 39, 0.16);
}

.thanks-proof dt {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.thanks-proof dd {
  margin: 0;
  color: #52615e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.thanks-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: #dbe8e3;
  box-shadow: var(--shadow);
}

.thanks-visual > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.thanks-status {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 3px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.thanks-status span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.thanks-status strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.thanks-status em {
  color: #52615e;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.thanks-trust-section,
.thanks-principles-section,
.thanks-info-section,
.thanks-docs-section,
.thanks-clients-section,
.thanks-final-cta {
  width: min(1120px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.thanks-section-head {
  max-width: 780px;
}

.thanks-section-head h2,
.thanks-prep-panel h2,
.thanks-faq-panel h2,
.thanks-docs-copy h2,
.thanks-final-cta h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.05;
}

.thanks-section-head p:not(.eyebrow),
.thanks-prep-panel p:not(.eyebrow),
.thanks-faq-panel p:not(.eyebrow),
.thanks-docs-copy p:not(.eyebrow),
.thanks-final-cta p:not(.eyebrow) {
  margin: 14px 0 0;
  color: #52615e;
  font-size: 18px;
  line-height: 1.55;
}

.thanks-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.thanks-trust-grid article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 38px rgba(13, 48, 52, 0.06);
}

.thanks-trust-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 128, 125, 0.1);
  color: var(--green);
  font-weight: 950;
}

.thanks-trust-grid h3,
.thanks-client-card h3 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
}

.thanks-trust-grid p,
.thanks-client-card p {
  margin: 10px 0 0;
  color: #536662;
  font-size: 15px;
  line-height: 1.45;
}

.thanks-docs-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 32px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 247, 246, 0.84)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.thanks-doc-preview {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(13, 80, 85, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.thanks-doc-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  object-fit: cover;
}

.thanks-doc-preview span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.thanks-doc-preview strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.08;
}

.thanks-doc-preview p {
  margin: 12px 0 0;
  color: #52615e;
  font-size: 16px;
  line-height: 1.5;
}

.thanks-principles-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.thanks-principles-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 34px rgba(7, 50, 58, 0.06);
}

.thanks-principles-list span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  font-weight: 950;
}

.thanks-principles-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

.thanks-principles-list p {
  margin: 8px 0 0;
  color: #536662;
  font-size: 16px;
  line-height: 1.48;
}

.thanks-info-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.thanks-prep-panel,
.thanks-faq-panel {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

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

.thanks-check-list li {
  position: relative;
  padding-left: 34px;
  color: #3f504d;
  font-size: 16px;
  line-height: 1.45;
}

.thanks-check-list li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 43%, #fff 43% 57%, transparent 57%) 6px 5px / 9px 9px no-repeat,
    var(--green);
}

.thanks-lead-summary {
  padding: 14px 16px;
  border: 1px solid rgba(11, 128, 125, 0.2);
  border-radius: 8px;
  background: rgba(229, 245, 242, 0.78);
  color: var(--deep) !important;
  font-size: 15px !important;
  font-weight: 800;
}

.thanks-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.thanks-faq-list details {
  border: 1px solid rgba(13, 80, 85, 0.14);
  border-radius: 8px;
  background: #fff;
}

.thanks-faq-list summary {
  cursor: pointer;
  padding: 16px 44px 16px 16px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  list-style: none;
}

.thanks-faq-list summary::-webkit-details-marker {
  display: none;
}

.thanks-faq-list summary::after {
  content: "+";
  float: right;
  margin-right: -28px;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}

.thanks-faq-list details[open] summary::after {
  content: "-";
}

.thanks-faq-list details p {
  margin: 0;
  padding: 0 16px 16px;
  color: #52615e;
  font-size: 15px;
  line-height: 1.5;
}

.thanks-docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.thanks-docs-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 15px;
  border: 1px solid rgba(11, 128, 125, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(13, 48, 52, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.thanks-docs-actions a:hover,
.thanks-docs-actions a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(11, 128, 125, 0.42);
  box-shadow: 0 18px 34px rgba(13, 48, 52, 0.1);
}

.thanks-certificates-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: start;
}

.thanks-cert-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 12px;
}

.thanks-cert-card {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(13, 80, 85, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(13, 48, 52, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.thanks-cert-card:hover,
.thanks-cert-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(11, 128, 125, 0.36);
  box-shadow: 0 20px 42px rgba(13, 48, 52, 0.13);
}

.thanks-cert-card.primary {
  grid-row: span 2;
}

.thanks-cert-card.warranty {
  grid-column: 1 / -1;
}

.thanks-cert-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(13, 80, 85, 0.1);
  border-radius: 6px;
  background: #f8fbfa;
  object-fit: cover;
  object-position: center;
}

.thanks-cert-card.warranty img {
  aspect-ratio: 16 / 10;
}

.thanks-cert-card span {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.thanks-cert-card strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
}

.thanks-cert-card em {
  display: block;
  margin-top: 7px;
  color: #61726e;
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.thanks-client-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.thanks-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.thanks-client-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.thanks-client-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.thanks-client-card > div {
  padding: 18px;
}

.thanks-case-card {
  display: grid;
  align-content: start;
  background: rgba(255, 255, 255, 0.9);
}

.thanks-case-card img {
  aspect-ratio: 16 / 9;
  min-height: 260px;
  object-position: center;
}

.thanks-case-body {
  display: grid;
  gap: 16px;
}

.thanks-case-body h3 {
  margin-top: 0;
  font-size: 25px;
  line-height: 1.1;
}

.case-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

.case-badges em {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(229, 245, 242, 0.82);
  color: var(--green-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.case-details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.case-details div {
  padding: 14px;
  border: 1px solid rgba(13, 80, 85, 0.12);
  border-radius: 8px;
  background: rgba(246, 251, 250, 0.88);
}

.case-details dt {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.case-details dd {
  margin: 7px 0 0;
  color: #52615e;
  font-size: 15px;
  line-height: 1.48;
}

.thanks-final-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(11, 128, 125, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 128, 125, 0.12), rgba(255, 255, 255, 0.9)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.thanks-final-copy {
  grid-column: 1 / -1;
  max-width: 760px;
}

.thanks-final-contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 76px minmax(220px, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(11, 128, 125, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.thanks-final-contact img {
  width: 76px;
  height: 76px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: #dbe8e3;
  box-shadow: 0 14px 30px rgba(13, 48, 52, 0.16);
  object-fit: cover;
  object-position: 64% 24%;
}

.thanks-final-contact span {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.1;
}

.thanks-final-contact > div {
  min-width: 0;
}

.thanks-final-contact strong,
.thanks-final-contact em {
  display: block;
  margin-top: 4px;
  color: #52615e;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.25;
}

.thanks-final-contact em {
  color: var(--green-dark);
}

.thanks-final-cta .main-btn {
  grid-column: auto;
  min-width: 220px;
  text-decoration: none;
  white-space: nowrap;
}

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

@media (min-width: 1021px) and (max-height: 840px) {
  .screen {
    padding-top: 18px;
    padding-bottom: 86px;
  }

  .quiz-shell {
    min-height: 0;
    align-items: start;
  }

  .question-panel {
    padding: 24px 28px;
  }

  .question-panel h2 {
    font-size: 38px;
    line-height: 1.04;
  }

  .question-text {
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.44;
  }

  .question-value-note {
    margin-top: 12px;
    padding: 10px 12px;
  }

  .answers {
    gap: 10px;
    margin-top: 18px;
  }

  .answer {
    min-height: 70px;
    padding: 12px 14px;
  }

  .master-panel {
    padding: 16px 18px;
  }

  .master-person img {
    width: 72px;
    height: 72px;
  }

  .master-panel p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.45;
  }

  .check-list {
    gap: 8px;
    margin-top: 16px;
  }

  .side-bonus {
    margin-top: 18px;
    padding: 12px;
  }

  .back-btn {
    min-height: 42px;
    margin-top: 10px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 470px);
    gap: 34px;
    padding-top: 18px;
    padding-bottom: calc(var(--footer) + 14px);
  }

  .hero-content h1 {
    margin-top: 12px;
    font-size: 44px;
    line-height: 1;
  }

  .hero-lead,
  .hero-outcomes {
    margin-top: 12px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.42;
  }

  .hero-outcomes {
    gap: 6px;
  }

  .hero-outcomes li {
    font-size: 13px;
    line-height: 1.25;
  }

  .hero-actions {
    margin-top: 0;
  }

  .hero-side-panel {
    gap: 12px;
    padding: 18px;
  }

  .hero-side-title {
    font-size: 22px;
  }

  .hero-side-head p,
  .hero-side-list li {
    font-size: 13px;
    line-height: 1.32;
  }

  .hero-side-panel .main-btn,
  .hero-side-panel .ghost-btn {
    min-height: 48px;
    font-size: 14px;
  }

  .hero-side-panel .hero-proof {
    gap: 0 12px;
  }

  .hero-side-panel .hero-proof div {
    padding: 7px 0;
  }

  .hero-side-panel .hero-proof dt {
    font-size: 17px;
  }

  .hero-side-panel .hero-proof dd {
    font-size: 10px;
  }

}

@media (max-width: 1020px) {
  body {
    overflow: auto;
  }

  .site {
    grid-template-rows: auto 4px 1fr;
  }

  .topbar {
    padding: 12px 16px;
  }

  .policy-site .service-status {
    display: none;
  }

  .brand strong {
    max-width: 300px;
    font-size: 15px;
  }

  .screens {
    overflow: visible;
  }

  .screen {
    position: relative;
    display: none;
    min-height: calc(100svh - 126px);
    padding: 18px 14px 32px;
    width: 100%;
    max-width: 100vw;
  }

  .screen.active {
    display: block;
  }

  .screen-hero.active {
    display: block;
    min-height: calc(100svh - 126px);
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    height: auto;
    align-self: start;
    padding: 32px 16px 24px;
  }

  .hero-side-panel {
    width: min(560px, 100%);
    padding: 18px;
  }

  .hero-side-title {
    font-size: 23px;
  }

  .hero-media > img {
    object-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 50, 58, 0.92) 0%, rgba(7, 50, 58, 0.68) 46%, rgba(7, 50, 58, 0.12) 100%),
      linear-gradient(90deg, rgba(7, 50, 58, 0.36), rgba(7, 50, 58, 0));
  }

  h1 {
    max-width: 520px;
    font-size: 42px;
  }

  h2 {
    font-size: 38px;
  }

  .quiz-shell,
  .finish-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .screen-finish {
    padding-bottom: 112px;
  }

  .screen-finish .lead-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .result-contact-strip {
    grid-template-columns: 1fr;
  }

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

  .mobile-lead-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(14, 165, 164, 0.26);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 58px rgba(7, 50, 58, 0.24);
    backdrop-filter: blur(16px);
  }

  .mobile-lead-bar div {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .mobile-lead-bar strong {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.12;
  }

  .mobile-lead-bar span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.22;
  }

  .mobile-lead-bar .main-btn {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .thanks-header {
    padding: 12px 16px;
  }

  .thanks-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    max-width: 100%;
  }

  .thanks-trust-section,
  .thanks-principles-section,
  .thanks-info-section,
  .thanks-docs-section,
  .thanks-clients-section,
  .thanks-final-cta {
    width: 100%;
  }

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

  .thanks-docs-section {
    grid-template-columns: 1fr;
  }

  .thanks-doc-preview {
    grid-template-columns: 1fr;
  }

  .thanks-certificates-section {
    grid-template-columns: 1fr;
  }

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

  .thanks-cert-card.primary {
    grid-row: auto;
  }

  .thanks-info-section {
    grid-template-columns: 1fr;
  }

  .thanks-client-grid {
    grid-template-columns: 1fr;
  }

  .thanks-final-copy {
    max-width: 100%;
  }

  .thanks-final-contact {
    grid-template-columns: 76px minmax(0, 1fr) auto;
  }

  .thanks-final-contact .main-btn {
    grid-column: auto;
    min-width: 220px;
  }

  .thanks-visual {
    min-height: 360px;
  }

  .thanks-visual > img {
    min-height: 360px;
  }

  .question-panel,
  .result-panel,
  .lead-panel {
    padding: 24px;
  }

  .master-panel {
    padding: 18px;
  }

  .side-bonus {
    margin-top: 20px;
  }
}

@media (max-width: 680px) {
  :root {
    --header: 62px;
  }

  .topbar {
    gap: 10px;
    min-height: var(--header);
    padding: 3px 14px;
  }

  .brand img {
    width: min(160px, calc(100vw - 28px));
    height: auto;
  }

  .top-actions {
    display: none;
  }

  .screen-hero.paid-traffic .hero-content {
    padding-top: 166px;
    padding-bottom: 18px;
    gap: 12px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .screen-hero.paid-traffic .hero-content h1 {
    font-size: 28px;
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.42;
  }

  .screen-hero.paid-traffic .hero-lead {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.32;
  }

  .hero-outcomes {
    gap: 6px;
  }

  .hero-outcomes li {
    font-size: 13px;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .thanks-header-phone {
    display: none;
  }

  .thanks-main {
    padding: 24px 14px;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
    gap: 28px;
  }

  .thanks-copy h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1.02;
  }

  .thanks-lead {
    max-width: 100%;
    font-size: 17px;
  }

  .thanks-actions {
    display: grid;
  }

  .thanks-actions .main-btn,
  .thanks-actions .ghost-btn {
    width: 100%;
    min-width: 0;
  }

  .thanks-proof {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .thanks-proof div {
    min-height: 62px;
    padding: 10px 0;
  }

  .thanks-section-head h2,
  .thanks-prep-panel h2,
  .thanks-faq-panel h2,
  .thanks-docs-copy h2,
  .thanks-final-cta h2 {
    font-size: 30px;
  }

  .thanks-section-head p:not(.eyebrow),
  .thanks-prep-panel p:not(.eyebrow),
  .thanks-faq-panel p:not(.eyebrow),
  .thanks-docs-copy p:not(.eyebrow),
  .thanks-final-cta p:not(.eyebrow) {
    font-size: 16px;
  }

  .thanks-trust-grid,
  .thanks-cert-grid {
    grid-template-columns: 1fr;
  }

  .thanks-trust-grid article {
    min-height: auto;
  }

  .thanks-docs-section,
  .thanks-prep-panel,
  .thanks-faq-panel,
  .thanks-final-cta {
    padding: 18px;
  }

  .thanks-principles-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .thanks-principles-list span {
    width: 42px;
    height: 42px;
  }

  .thanks-principles-list h3 {
    font-size: 18px;
  }

  .thanks-cert-card {
    padding: 10px;
  }

  .thanks-docs-actions {
    display: grid;
  }

  .thanks-docs-actions a {
    width: 100%;
  }

  .thanks-client-card > div {
    padding: 16px;
  }

  .thanks-case-card img {
    min-height: 210px;
  }

  .thanks-case-body {
    gap: 14px;
  }

  .thanks-case-body h3 {
    font-size: 21px;
  }

  .case-details div {
    padding: 12px;
  }

  .case-details dd {
    font-size: 14px;
  }

  .thanks-final-contact {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .thanks-final-contact img {
    width: 68px;
    height: 68px;
  }

  .thanks-final-cta .main-btn {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
  }

  .thanks-visual {
    min-height: 280px;
  }

  .thanks-visual > img {
    min-height: 280px;
  }

  .top-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .screen {
    min-height: calc(100svh - 120px);
  }

  .screen-hero.active {
    min-height: calc(100svh - 120px);
  }

  body[data-current-screen="0"] .site {
    grid-template-rows: auto 4px auto auto;
  }

  body[data-current-screen="0"] .site-footer {
    position: static;
    min-height: auto;
    padding: 12px 16px;
    box-shadow: none;
    backdrop-filter: none;
  }

  .screen-hero {
    overflow: visible;
    background: #052b32;
  }

  .screen-hero.active {
    min-height: auto;
  }

  .hero-media {
    inset: 0 0 auto;
    height: 276px;
    overflow: hidden;
  }

  .hero-media picture > img,
  .hero-media > img {
    object-position: 56% center;
    filter: saturate(1.08) contrast(1.08);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 22, 26, 0.08) 0%, rgba(3, 22, 26, 0.18) 38%, rgba(4, 31, 36, 0.94) 276px, #052b32 100%),
      linear-gradient(90deg, rgba(3, 22, 26, 0.48), rgba(3, 22, 26, 0.04) 58%, rgba(3, 22, 26, 0.22));
  }

  .hero-content {
    padding: 210px 14px 18px;
    gap: 18px;
  }

  .hero-copy .hero-outcomes {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(35px, 9.2vw, 41px);
    line-height: 0.98;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
  }

  h2 {
    margin-top: 14px;
    font-size: 30px;
    line-height: 1.08;
  }

  #resultTitle {
    font-size: 30px;
  }

  .hero-lead,
  .question-text,
  #resultText {
    font-size: 16px;
  }

  .hero-lead {
    margin-top: 14px;
    color: rgba(245, 255, 253, 0.96);
    font-weight: 720;
    line-height: 1.42;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.26);
  }

  .hero-outcomes {
    gap: 7px;
    margin-top: 14px;
  }

  .hero-outcomes li {
    font-size: 13px;
  }

  .hero-content .eyebrow {
    min-height: 32px;
    padding: 0 11px;
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(5, 43, 50, 0.7);
    font-size: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
  }

  .hero-actions,
  .final-actions {
    display: grid;
    gap: 8px;
    margin-top: 20px;
  }

  .hero-side-panel .hero-actions {
    order: 2;
    margin-top: 0;
  }

  .hero-side-list {
    order: 3;
  }

  .hero-side-panel .hero-proof {
    order: 4;
  }

  .screen-hero.paid-traffic .hero-side-head {
    order: 1;
  }

  .screen-hero.paid-traffic .hero-lead-panel {
    order: 2;
  }

  .screen-hero.paid-traffic .hero-side-panel .hero-actions {
    order: 3;
    grid-template-columns: 1fr;
  }

  .screen-hero.paid-traffic .hero-side-list {
    order: 4;
    display: none;
  }

  .screen-hero.paid-traffic .hero-side-panel {
    gap: 10px;
    padding: 14px;
  }

  .screen-hero.paid-traffic .hero-side-title {
    font-size: 20px;
  }

  .screen-hero.paid-traffic .hero-side-head p {
    display: none;
  }

  .hero-product-badge {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 9px;
    padding: 8px;
    border-color: rgba(11, 47, 56, 0.1);
    background: #eef8f6;
  }

  .hero-product-badge img {
    width: 54px;
    height: 58px;
    border: 1px solid rgba(11, 47, 56, 0.08);
    padding: 4px;
  }

  .hero-product-badge strong {
    color: var(--ink);
    font-size: 14px;
  }

  .hero-product-badge p {
    color: #52706c;
    font-size: 11px;
  }

  .hero-product-badge ul {
    display: none;
  }

  .screen-hero.paid-traffic .hero-lead-panel input,
  .screen-hero.paid-traffic .hero-lead-panel select {
    min-height: 50px;
  }

  .screen-hero.paid-traffic .hero-lead-panel .field-label {
    color: #314340;
  }

  .screen-hero.paid-traffic .hero-lead-panel .main-btn.full {
    min-height: 54px;
    font-size: 16px;
  }

  .screen-hero.paid-traffic .hero-lead-panel .field-label:nth-of-type(2),
  .screen-hero.paid-traffic .hero-lead-panel .privacy {
    display: none;
  }

  .screen-hero.paid-traffic .hero-side-panel .quiz-route-btn {
    display: flex;
    min-height: 44px;
    font-size: 14px;
  }

  .hero-side-panel {
    gap: 14px;
    padding: 16px;
    border-color: rgba(11, 47, 56, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, #f3fbf9 100%);
    color: var(--ink);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
    backdrop-filter: none;
  }

  .hero-side-kicker {
    background: #e5f5f2;
    color: var(--green-dark);
  }

  .hero-side-title {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.08;
  }

  .hero-side-head p {
    color: #506866;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.42;
  }

  .hero-side-list {
    gap: 8px;
  }

  .hero-side-list li {
    padding-left: 28px;
    color: #173c40;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.34;
  }

  .hero-side-list li::before {
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(14, 165, 164, 0.12);
  }

  .hero-side-panel .ghost-btn {
    display: none;
    border-color: rgba(11, 47, 56, 0.16);
    background: #fff;
    color: var(--ink);
  }

  .hero-side-panel .hero-proof {
    gap: 0 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: #eaf7f4;
  }

  .hero-side-panel .hero-proof div {
    padding: 7px 0;
    border-top-color: rgba(11, 47, 56, 0.1);
  }

  .hero-side-panel .hero-proof dt {
    color: var(--green-dark);
    font-size: 16px;
  }

  .hero-side-panel .hero-proof dd {
    color: #52706c;
    font-size: 10px;
  }

  .mobile-lead-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  .mobile-lead-bar .main-btn {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .mobile-lead-bar span {
    display: none;
  }

  .result-contact-facts {
    grid-template-columns: 1fr;
  }

  .main-btn,
  .ghost-btn,
  .back-btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 16px;
  }

  .hero-proof div {
    min-height: 58px;
    padding: 8px 10px;
  }

  .hero-proof dt {
    font-size: 15px;
  }

  .hero-proof dd {
    margin-top: 3px;
    font-size: 10px;
  }

  .question-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }

  .auto-note {
    text-align: left;
  }

  .answers,
  .brand-grid,
  .result-trust,
  .evidence-panel,
  .result-value-grid {
    grid-template-columns: 1fr;
  }

  .evidence-quote {
    grid-column: auto;
  }

  .answer {
    min-height: 76px;
    padding: 13px;
  }

  .brand-chip {
    min-height: 56px;
  }

  .summary-row {
    display: grid;
    gap: 3px;
  }

  .summary-row strong {
    text-align: left;
  }

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

  .thanks-doc-preview {
    padding: 12px;
  }

  .thanks-doc-preview strong {
    font-size: 22px;
  }

  .phone-number {
    min-height: 62px;
    font-size: 23px;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: flex-start;
    gap: 7px;
    padding: 12px 16px;
    text-align: left;
  }

  .site-footer span,
  .site-footer address,
  .site-footer a {
    white-space: normal;
  }

  .site-footer span:not(:first-child),
  .site-footer address,
  .site-footer a {
    padding-left: 0;
  }

  .site-footer span:not(:first-child)::before,
  .site-footer address::before,
  .site-footer a::before {
    display: none;
  }

  .policy-main {
    padding: 20px 14px 28px;
  }

  .policy-article {
    padding: 22px;
  }

  .policy-article h1 {
    font-size: 34px;
  }

  .policy-lead {
    font-size: 16px;
  }

  .policy-article h2 {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .thanks-hero {
    max-width: 360px;
    margin: 0;
  }
}

@media (max-width: 380px) {
  .top-cta {
    padding: 0 10px;
  }

  h1 {
    max-width: 300px;
    font-size: 30px;
  }

  h2 {
    font-size: 28px;
  }

  #resultTitle {
    font-size: 28px;
  }

  .question-panel,
  .result-panel,
  .lead-panel {
    padding: 18px;
  }

  .phone-number {
    font-size: 21px;
  }

  .policy-article {
    padding: 18px;
  }
}

/* Финальная доверительная полировка */
.brand img {
  filter: drop-shadow(0 10px 18px rgba(7, 50, 58, 0.12));
}

.top-phone {
  background: rgba(229, 245, 242, 0.72);
  border: 1px solid rgba(14, 165, 164, 0.16);
  border-radius: 999px;
  padding-inline: 16px;
}

.question-panel::before,
.result-panel::before,
.lead-panel::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--trust-blue), var(--accent));
}

.lead-panel .main-btn.full {
  min-height: 58px;
}

.answer.selected span,
.brand-chip.selected {
  color: var(--deep);
}

@media (max-width: 680px) {
  .question-panel::before,
  .result-panel::before,
  .lead-panel::before {
    margin-bottom: 12px;
  }
}

@media (max-width: 1020px) {
  .mobile-lead-bar {
    isolation: isolate;
    overflow: hidden;
    border: 2px solid rgba(112, 236, 225, 0.88);
    background:
      radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.24), transparent 28%),
      linear-gradient(135deg, rgba(4, 83, 94, 0.98), rgba(9, 142, 139, 0.98) 54%, rgba(10, 112, 117, 0.98));
    box-shadow:
      0 22px 58px rgba(7, 50, 58, 0.28),
      0 0 0 1px rgba(255, 255, 255, 0.26) inset,
      0 0 34px rgba(14, 165, 164, 0.32);
    color: #fff;
  }

  .mobile-lead-bar::before {
    content: "";
    position: absolute;
    inset: -45% auto -45% -62%;
    z-index: -1;
    width: 48%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.08) 31%, rgba(255, 255, 255, 0.74) 48%, rgba(186, 255, 247, 0.42) 58%, transparent 76%);
    filter: blur(0.2px);
    opacity: 0.78;
    pointer-events: none;
    transform: skewX(-18deg);
    animation: leadBarLens 4.2s ease-in-out infinite;
  }

  .mobile-lead-bar::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -2;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%);
    pointer-events: none;
  }

  .mobile-lead-bar div,
  .mobile-lead-bar .main-btn {
    position: relative;
    z-index: 1;
  }

  .mobile-lead-bar strong {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 36, 42, 0.32);
  }

  .mobile-lead-bar span {
    color: rgba(237, 255, 252, 0.84);
  }

  .mobile-lead-bar .main-btn {
    border: 1px solid rgba(255, 255, 255, 0.74);
    background: linear-gradient(135deg, #ffffff, #dffcf6);
    color: #055f66;
    box-shadow:
      0 12px 26px rgba(0, 45, 50, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.42) inset;
    text-shadow: none;
    animation: leadButtonPulse 2.8s ease-in-out infinite;
  }
}

@keyframes leadBarLens {
  0%,
  44% {
    transform: translateX(0) skewX(-18deg);
  }

  72%,
  100% {
    transform: translateX(430%) skewX(-18deg);
  }
}

@keyframes leadButtonPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 12px 26px rgba(0, 45, 50, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.42) inset;
  }

  50% {
    transform: translateY(-1px);
    box-shadow:
      0 16px 32px rgba(0, 45, 50, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.54) inset,
      0 0 22px rgba(255, 255, 255, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-lead-bar::before,
  .mobile-lead-bar .main-btn {
    animation: none;
  }
}
