:root {
  color-scheme: dark;
  --bg: #151b23;
  --panel: #1d2530;
  --panel-2: #263241;
  --text: #f7f8fb;
  --muted: #a8b0bd;
  --line: rgba(255, 255, 255, 0.16);
  --cyan: #64e2ff;
  --green: #6df0a7;
  --coral: #ff7a7a;
  --violet: #a789ff;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --brand-mark-text: #050608;
  --button-text: #050608;
  --page-bg: #151b23;
  --panel-glass: rgba(29, 37, 48, 0.92);
  --feature-bg: rgba(29, 37, 48, 0.84);
  --field-bg: rgba(255, 255, 255, 0.075);
  --answer-bg: #2a333e;
  --ghost-bg: rgba(255, 255, 255, 0.09);
  --track-bg: rgba(255, 255, 255, 0.15);
  --hero-lead: #c8fbff;
  --hero-overlay-side: linear-gradient(90deg, rgba(21, 27, 35, 0.92) 0%, rgba(21, 27, 35, 0.8) 30%, rgba(21, 27, 35, 0.4) 58%, rgba(21, 27, 35, 0.1) 100%);
  --hero-overlay-bottom: linear-gradient(180deg, rgba(21, 27, 35, 0.04) 0%, #151b23 100%);
  --hero-overlay-mobile: linear-gradient(180deg, rgba(21, 27, 35, 0.92) 0%, rgba(21, 27, 35, 0.72) 52%, rgba(21, 27, 35, 0.24) 76%, #151b23 100%);
  --answer-hover-border: rgba(100, 226, 255, 0.42);
  --selected-bg: rgba(100, 226, 255, 0.11);
  --selected-ring: rgba(100, 226, 255, 0.08);
  --correct-border: rgba(109, 240, 167, 0.92);
  --correct-stroke: linear-gradient(135deg, #c8ffe1 0%, #6df0a7 42%, #64e2ff 100%);
  --correct-glow: 0 0 0 1px rgba(109, 240, 167, 0.18), 0 0 18px rgba(109, 240, 167, 0.32);
  --wrong-border: rgba(255, 67, 112, 0.95);
  --wrong-stroke: linear-gradient(135deg, #ffd1dc 0%, #ff4370 45%, #ff2b60 100%);
  --wrong-glow: 0 0 0 1px rgba(255, 67, 112, 0.18), 0 0 18px rgba(255, 67, 112, 0.34);
  --explanation-text: rgba(226, 251, 255, 0.94);
  --explanation-bg: linear-gradient(90deg, rgba(100, 226, 255, 0.1), rgba(109, 240, 167, 0.07));
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f5f8fb;
    --panel: #ffffff;
    --panel-2: #eef4f7;
    --text: #071018;
    --muted: #586575;
    --line: rgba(7, 16, 24, 0.14);
    --cyan: #009fd1;
    --green: #00b975;
    --coral: #e46161;
    --violet: #6f5fe6;
    --shadow: 0 24px 70px rgba(17, 31, 46, 0.16);
    --brand-mark-text: #071018;
    --button-text: #061018;
    --page-bg: #f5f8fb;
    --panel-glass: rgba(255, 255, 255, 0.9);
    --feature-bg: rgba(255, 255, 255, 0.82);
    --field-bg: rgba(255, 255, 255, 0.72);
    --answer-bg: #eef3f7;
    --ghost-bg: rgba(7, 16, 24, 0.055);
    --track-bg: rgba(7, 16, 24, 0.11);
    --hero-lead: #0c3946;
    --hero-overlay-side: linear-gradient(90deg, rgba(245, 248, 251, 0.98) 0%, rgba(245, 248, 251, 0.9) 34%, rgba(245, 248, 251, 0.48) 62%, rgba(245, 248, 251, 0.1) 100%);
    --hero-overlay-bottom: linear-gradient(180deg, rgba(245, 248, 251, 0.05) 0%, #f5f8fb 100%);
    --hero-overlay-mobile: linear-gradient(180deg, rgba(245, 248, 251, 0.98) 0%, rgba(245, 248, 251, 0.9) 50%, rgba(245, 248, 251, 0.42) 74%, #f5f8fb 100%);
    --answer-hover-border: rgba(0, 159, 209, 0.42);
    --selected-bg: rgba(0, 159, 209, 0.1);
    --selected-ring: rgba(0, 159, 209, 0.1);
    --correct-border: rgba(0, 185, 117, 0.82);
    --correct-stroke: linear-gradient(135deg, #7dffd0 0%, #00b975 44%, #009fd1 100%);
    --correct-glow: 0 0 0 1px rgba(0, 185, 117, 0.16), 0 0 16px rgba(0, 185, 117, 0.22);
    --wrong-border: rgba(228, 48, 88, 0.82);
    --wrong-stroke: linear-gradient(135deg, #ff9fb7 0%, #e43058 46%, #ff5b77 100%);
    --wrong-glow: 0 0 0 1px rgba(228, 48, 88, 0.15), 0 0 16px rgba(228, 48, 88, 0.2);
    --explanation-text: #07313b;
    --explanation-bg: linear-gradient(90deg, rgba(0, 159, 209, 0.11), rgba(0, 185, 117, 0.08));
  }
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overscroll-behavior: none;
}

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

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.page-shell {
  width: 100%;
  height: 100%;
  background: var(--page-bg);
  overflow: hidden;
}

.page-shell .site-header {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.site-header.compact {
  width: auto;
  min-height: 0;
  margin: 0;
  position: absolute;
  top: 10px;
  left: 28px;
  justify-content: flex-start;
}

.site-header.compact .brand {
  gap: 12px;
  font-size: 22px;
}

.site-header.compact .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 19px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 16px;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  color: #050608 !important;
  background: none !important;
  box-shadow: 0 0 18px rgba(100, 226, 255, 0.24);
  forced-color-adjust: none;
  -webkit-text-fill-color: #050608;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.header-nav a:hover {
  color: var(--text);
}

.hero {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  margin: 0;
  padding: 96px max(32px, calc((100vw - 1180px) / 2)) 46px;
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background-image:
    var(--hero-overlay-side),
    var(--hero-overlay-bottom),
    url('hero-fintech.png');
  background-image:
    var(--hero-overlay-side),
    var(--hero-overlay-bottom),
    image-set(
      url('hero-fintech.webp') type('image/webp'),
      url('hero-fintech.png') type('image/png')
    );
  background-position: center, center, center;
  background-size: cover, cover, cover;
  isolation: isolate;
}

.hero-copy {
  width: min(840px, 68vw);
  position: relative;
  z-index: 1;
  margin-top: clamp(72px, 12vh, 96px);
}

.eyebrow,
.question-tag,
.feature-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(38px, 3.55vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.46);
}

.hero-lead {
  max-width: 590px;
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--green);
  color: var(--hero-lead);
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 600;
  line-height: 1.38;
}

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

.hero-actions.centered {
  justify-content: center;
}

.primary-button,
.ghost-button {
  min-height: 52px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-button {
  color: var(--button-text);
  background: linear-gradient(135deg, var(--white), var(--cyan) 52%, var(--green));
}

.ghost-button {
  color: var(--text);
  background: var(--ghost-bg);
  border-color: var(--line);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 0.45;
}

.primary-button svg,
.ghost-button svg {
  width: 20px;
  height: 20px;
}

.full-width {
  width: 100%;
}

.feature-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--feature-bg);
}

.feature strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quiz-page,
.thanks-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 0%, rgba(167, 137, 255, 0.16), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(109, 240, 167, 0.14), transparent 24%),
    var(--bg);
  background-attachment: fixed;
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-size: 100vw 100vh;
  background-size: 100vw 100svh;
}

.quiz-page {
  overflow-x: hidden;
}

.quiz-main {
  width: 100vw;
}

.thanks-main {
  width: min(1060px, calc(100% - 32px));
}

.quiz-main,
.thanks-main {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 24px 0 40px;
}

.quiz-panel,
.thanks-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-glass);
  box-shadow: var(--shadow);
}

.quiz-panel {
  width: min(1040px, calc(100vw - 70px));
  max-width: 1040px;
  justify-self: center;
  padding: 32px;
}

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

.quiz-top h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.12;
  letter-spacing: 0;
}

.step-pill {
  min-width: 76px;
  height: 38px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(100, 226, 255, 0.1);
  border: 1px solid rgba(100, 226, 255, 0.28);
  font-weight: 800;
}

.progress-track {
  height: 7px;
  margin: 22px 0 22px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--track-bg);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--coral));
  transition: width 220ms ease;
}

.question-view h2,
.lead-form h2 {
  margin: 0 0 22px;
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

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

.answer-button {
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  background: var(--answer-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.answer-button span {
  min-width: 0;
}

.answer-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

@media (max-height: 650px) and (min-width: 760px) {
  .site-header.compact {
    width: auto;
    min-height: 0;
    top: 8px;
    left: 26px;
  }

  .quiz-main {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    gap: 10px;
    padding: 18px 0 18px;
    overflow: visible;
  }

  .quiz-panel {
    width: min(900px, calc((100vw - 120px) / 1.16)) !important;
    max-width: none !important;
    padding: 30px 34px 26px !important;
    transform: translateY(8px) scale(1.16);
    transform-origin: center center;
  }

  .quiz-panel.has-answer {
    padding: 30px 34px 26px !important;
    transform: translateY(8px) scale(1.16);
  }

  .quiz-panel.is-last-question,
  .quiz-panel.is-last-question.has-answer {
    width: min(860px, calc((100vw - 220px) / 1.1)) !important;
    transform: translateY(14px) scale(1.1);
  }

  .quiz-panel.has-answer .progress-track {
    margin: 8px 0 14px;
  }

  .quiz-panel.has-answer .question-view h2 {
    margin-bottom: 14px;
    font-size: clamp(23px, 2.1vw, 29px);
  }

  .quiz-panel.has-answer .answers {
    gap: 9px;
  }

  .quiz-panel.has-answer .answer-button {
    min-height: 58px;
    padding: 13px 16px;
    font-size: 12.8px;
  }

  .quiz-panel.has-answer .explanation {
    margin-top: 10px;
    padding: 11px 14px;
    font-size: 13.2px;
    line-height: 1.34;
  }

  .quiz-panel.has-answer .panel-actions {
    margin-top: 10px;
    padding-top: 10px;
  }

  .quiz-panel.is-form-step {
    transform: translateY(8px) scale(1.12);
    width: min(900px, calc((100vw - 120px) / 1.12)) !important;
    padding: 30px 34px 28px !important;
  }

  .quiz-top h1 {
    display: none;
  }

  .quiz-top .eyebrow {
    margin-bottom: 0;
  }

  .step-pill {
    height: 32px;
    min-width: 66px;
  }

  .progress-track {
    height: 6px;
    margin: 10px 0 18px;
  }

  .question-view h2,
  .lead-form h2 {
    margin-bottom: 18px;
    font-size: clamp(25px, 2.35vw, 32px);
    line-height: 1.08;
  }

  .answer-button {
    min-height: 68px;
    padding: 17px 19px;
    font-size: 13.5px;
    line-height: 1.25;
  }

  .explanation {
    margin-top: 13px;
    padding: 13px 15px;
    font-size: 14px;
    line-height: 1.42;
  }

  .panel-actions {
    margin-top: 14px;
    padding-top: 14px;
  }

  .panel-actions .primary-button,
  .panel-actions .ghost-button {
    min-height: 40px;
  }

  .lead-form .form-intro h2 {
    margin-bottom: 20px;
    font-size: clamp(28px, 2.45vw, 34px);
    line-height: 1.02;
    white-space: nowrap;
  }

  .lead-form .form-intro p {
    max-width: 720px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.38;
  }

  .form-grid {
    gap: 10px 12px;
  }

  .form-grid label {
    gap: 6px;
    font-size: 12px;
  }

  .form-grid input {
    height: 44px;
  }

  .consent {
    margin: 10px 0 8px;
    font-size: 13px;
  }

  .form-error {
    min-height: 16px;
    margin-bottom: 8px;
    font-size: 13px;
  }

  .lead-form .primary-button {
    min-height: 44px;
  }
}

.answer-button:hover {
  border-color: var(--answer-hover-border);
  transform: translateY(-1px);
}

.answer-button.selected {
  border-color: var(--cyan);
  background: var(--selected-bg);
  box-shadow: inset 0 0 0 1px var(--selected-ring);
}

.answer-button.correct {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--answer-bg), var(--answer-bg)) padding-box,
    var(--correct-stroke) border-box;
  box-shadow: var(--correct-glow);
}

.answer-button.wrong {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--answer-bg), var(--answer-bg)) padding-box,
    var(--wrong-stroke) border-box;
  box-shadow: var(--wrong-glow);
}

.answer-button.answer-result-correct,
.answer-button.answer-result-selected.answer-result-correct {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--answer-bg), var(--answer-bg)) padding-box,
    var(--correct-stroke) border-box;
  box-shadow: var(--correct-glow);
}

.answer-button.answer-result-wrong {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--answer-bg), var(--answer-bg)) padding-box,
    var(--wrong-stroke) border-box;
  box-shadow: var(--wrong-glow);
}

.answer-button.answer-result-correct svg {
  color: var(--green);
  stroke-width: 3;
}

.answer-button.answer-result-wrong svg {
  color: var(--coral);
  stroke-width: 3;
}

.explanation {
  margin-top: 14px;
  border: 1px solid rgba(100, 226, 255, 0.3);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--explanation-text);
  background: var(--explanation-bg);
  line-height: 1.58;
}

.answer-feedback-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  background: rgba(5, 8, 12, 0.34);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  pointer-events: none;
}

.answer-feedback-card {
  position: relative;
  width: min(820px, calc(100vw - 32px));
  max-height: min(76vh, 560px);
  max-height: min(76svh, 560px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel-2);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
  pointer-events: auto;
  animation: feedback-pop 180ms ease-out;
}

.answer-feedback-card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: var(--cyan);
}

@keyframes feedback-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.answer-feedback-layer.feedback-correct .answer-feedback-card {
  border-color: var(--correct-border);
}

.answer-feedback-layer.feedback-correct .answer-feedback-card::after {
  background: var(--green);
}

.answer-feedback-layer.feedback-wrong .answer-feedback-card {
  border-color: var(--wrong-border);
}

.answer-feedback-layer.feedback-wrong .answer-feedback-card::after {
  background: var(--coral);
}

.answer-feedback-card h3 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}

.answer-feedback-layer.feedback-correct h3 {
  color: var(--green);
}

.answer-feedback-layer.feedback-wrong h3 {
  color: var(--coral);
}

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

.feedback-grid div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--field-bg);
}

.feedback-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.feedback-grid .feedback-correct-answer {
  border-color: rgba(109, 240, 167, 0.68);
  background:
    linear-gradient(135deg, rgba(109, 240, 167, 0.13), rgba(100, 226, 255, 0.055)),
    var(--field-bg);
  box-shadow: inset 0 0 0 1px rgba(109, 240, 167, 0.08);
}

.feedback-grid .feedback-correct-answer span {
  color: var(--green);
}

.feedback-grid strong {
  display: block;
  line-height: 1.35;
}

.feedback-actions {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(100, 226, 255, 0.08), rgba(109, 240, 167, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.feedback-next {
  width: 100%;
  min-height: 52px;
}

.panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.lead-form {
  display: block;
}

.form-intro p {
  max-width: 640px;
  margin: -6px 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.form-intro p:last-child {
  margin-bottom: 18px;
}

#email-title {
  margin-bottom: 10px;
  font-size: clamp(22px, 2.1vw, 29px);
}

.form-subtitle {
  margin-top: 0 !important;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  color: var(--text) !important;
  line-height: 1.12 !important;
}

.inline-contact {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.form-grid.single-field {
  grid-template-columns: minmax(0, 1fr);
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-grid input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--text);
  background: var(--field-bg);
  outline: none;
}

.form-grid input:focus {
  border-color: var(--cyan);
}

.form-grid input[readonly] {
  color: var(--muted);
  cursor: default;
  background: var(--ghost-bg);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 10px;
  color: var(--muted);
  line-height: 1.45;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--green);
}

.form-error {
  min-height: 20px;
  margin: 0 0 10px;
  color: var(--coral);
  font-weight: 700;
}

.thanks-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 58px 50px;
  text-align: center;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--brand-mark-text);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.success-icon svg {
  width: 34px;
  height: 34px;
}

.thanks-panel h1 {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 6px;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

.thanks-panel h1 span {
  display: block;
  color: var(--green);
  font-size: 0.62em;
  font-weight: 800;
}

.thanks-panel h1 strong {
  display: block;
  font: inherit;
  font-weight: 800;
}

.thanks-copy {
  max-width: 580px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.thanks-consult {
  max-width: 560px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.thanks-phone {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 10px auto 0;
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.result-summary {
  display: grid;
  gap: 10px;
  max-width: 480px;
  margin: 28px auto 0;
  text-align: left;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--field-bg);
}

.summary-row span {
  color: var(--muted);
}

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

@media (max-width: 900px) {
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    margin-top: 0;
    padding: 100px 24px 24px;
    align-items: flex-start;
    background-image:
      var(--hero-overlay-mobile),
      url('hero-fintech.png');
    background-image:
      var(--hero-overlay-mobile),
      image-set(
        url('hero-fintech.webp') type('image/webp'),
        url('hero-fintech.png') type('image/png')
      );
    background-position: center, 68% bottom;
    background-size: cover, auto 48%;
  }

  .hero-copy {
    width: min(100%, 620px);
    margin-top: 44px;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  html {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: auto;
  }

  body {
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: auto;
  }

  .quiz-page,
  .thanks-page {
    height: auto !important;
    background-attachment: scroll;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .site-header.compact {
    width: 100%;
    min-height: 38px;
    margin: 0;
    position: relative;
    top: auto;
    left: auto;
    align-self: flex-start;
  }

  .site-header.compact .brand {
    gap: 9px;
    font-size: 18px;
  }

  .site-header.compact .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 15px;
  }

  .header-nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero,
  .feature-band,
  .quiz-main,
  .thanks-main {
    width: min(100% - 24px, 1180px);
  }

  .quiz-main,
  .thanks-main {
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    overflow: visible !important;
    justify-content: flex-start;
    gap: 12px;
    padding: max(18px, env(safe-area-inset-top)) 0 max(26px, env(safe-area-inset-bottom));
  }

  .hero h1 {
    font-size: clamp(31px, 9.5vw, 52px);
  }

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

  .hero-actions,
  .panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .hero {
    width: 100%;
    min-height: 520px;
    padding: 104px 12px 170px;
  }

  .quiz-panel {
    width: 100%;
    padding: 18px;
  }

  .quiz-top {
    flex-direction: column;
  }

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

  .answer-button {
    min-height: 76px;
  }

  .answer-feedback-layer {
    align-items: center;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  .answer-feedback-card {
    width: 100%;
    max-height: calc(100vh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100svh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 22px 18px 18px;
  }

  .answer-feedback-card::after {
    left: 18px;
    right: 18px;
  }

  .answer-feedback-card h3 {
    margin-bottom: 14px;
  }

  .feedback-grid div {
    padding: 14px;
  }

  .feedback-actions {
    padding: 12px;
  }

  .thanks-panel {
    padding: 30px 18px;
  }

  .thanks-panel h1 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .thanks-copy {
    font-size: 16px;
  }

  .summary-row {
    display: grid;
  }

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