:root {
  --page-bg: #e9e9e9;
  --card-bg: #ffffff;
  --line: #cfcfcf;
  --muted: #666666;
  --dark: #1e2837;
  --text: #1a1a1a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--page-bg);
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 20px 12px;
}

.card {
  width: 100%;
  max-width: 720px;
  background: var(--card-bg);
  border: 1px solid #bfbfbf;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.topbar {
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, #f8f8f8, #efefef);
}

.brand {
  text-align: center;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 10px;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.meta-text {
  font-size: 15px;
  color: #555555;
}

.trust-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.flag {
  font-size: 20px;
  line-height: 1;
}

.shield {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shield svg {
  width: 20px;
  height: 20px;
  fill: #4a6da7;
}

.shield .check {
  fill: #ffffff;
}

.shield-image {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.headline-block {
  background: var(--dark);
  color: #ffffff;
  padding: 18px 18px 16px;
  text-align: center;
}

.headline-block h1 {
  margin: 0;
  font-size: clamp(24px, 4.6vw, 42px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.headline-top,
.headline-bottom-wrap {
  display: block;
}

.headline-bottom-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.headline-bottom {
  display: inline-block;
}

.headline-line {
  width: 58px;
  height: 2px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  flex: 0 0 auto;
}

.subheadline-block {
  padding: 16px 18px 20px;
  border-top: 1px solid #404856;
  background: #ffffff;
  text-align: center;
}

.subheadline-block p {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.5;
  font-style: italic;
  color: #333333;
}

.hero-block {
  padding: 0 14px 0;
  background: #ffffff;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 4px;
}

.hero-caption {
  background: #3d3d3d;
  color: #ffffff;
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
  font-style: italic;
  font-weight: 700;
  padding: 12px 18px;
  margin-bottom: 10px;
}

.content-section {
  padding: 4px 18px 18px;
  border-top: 1px solid var(--line);
}

.content-section h2 {
  margin: 14px 0 14px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: #2a2a2a;
}

.content-section p,
.content-section li {
  font-size: 27px;
  line-height: 1.55;
  color: #2f2f2f;
}

.content-section p {
  margin: 0 0 18px;
}

.content-section ul {
  margin: 0 0 18px 0;
  padding-left: 34px;
}

.content-section li {
  margin: 0 0 12px;
}

.problem-section {
  padding-top: 2px;
}

.results-table-block {
  margin: 8px 0 2px;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #ffffff;
}

.results-table th:nth-child(1),
.results-table td:nth-child(1) {
  width: 16%;
}

.results-table th:nth-child(2),
.results-table td:nth-child(2) {
  width: 19%;
}

.results-table th:nth-child(3),
.results-table td:nth-child(3) {
  width: 12%;
}

.results-table th:nth-child(4),
.results-table td:nth-child(4) {
  width: 18%;
}

.results-table th:nth-child(5),
.results-table td:nth-child(5) {
  width: 27%;
}

.results-table th:nth-child(6),
.results-table td:nth-child(6) {
  width: 8%;
}

.results-table th,
.results-table td {
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.15;
  color: #151515;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.results-table thead th {
  font-weight: 800;
  border-bottom: 2px solid #dfdfdf;
}

.results-table tbody td {
  border-bottom: 1px solid #ececec;
}

.results-table tbody tr:last-child td {
  border-bottom: 0;
}

.results-table .featured-row td:nth-child(1),
.results-table .featured-row td:nth-child(2),
.results-table .featured-row td:nth-child(3),
.results-table .featured-row td:nth-child(4),
.results-table .featured-row td:nth-child(5),
.results-table .featured-row td:nth-child(6) {
  font-weight: 800;
}

.rating-cell {
  text-align: center;
  white-space: nowrap;
  font-weight: 700;
  padding-left: 2px;
  padding-right: 2px;
}

.cta-wrap {
  margin: 26px 0 8px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 520px;
  padding: 18px 26px;
  border-radius: 12px;
  border: 1px solid #1f5a17;
  border-bottom-color: #12380e;
  background: linear-gradient(to bottom, #5cab44 0%, #3b8f2d 48%, #256f1b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 5px 12px rgba(28, 83, 20, 0.22);
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.cta-button:hover {
  background: linear-gradient(to bottom, #63b84a 0%, #429733 48%, #2a781f 100%);
}

.cta-note {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: #5d5d5d;
  text-align: center;
}

.comments-section {
  background: linear-gradient(to bottom, #fbfbfb 0%, #f3f3f3 100%);
}

.comments-intro {
  margin-bottom: 20px;
  color: #4f4f4f;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.comment-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 64px;
  border: 2px solid #e5e5e5;
  background: #dcdcdc;
}

.comment-body {
  min-width: 0;
  flex: 1 1 auto;
}

.comment-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.comment-name {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  color: #222222;
}

.comment-location {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #6f6f6f;
}

.comment-body p {
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
  color: #303030;
}

body.quiz-open {
  overflow: hidden;
}

body.quiz-open .page {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.quiz-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.quiz-gate.is-active {
  display: flex;
}

.quiz-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 30, 0.56);
  backdrop-filter: blur(3px);
}

.quiz-shell {
  position: relative;
  width: min(450px, 100%);
  max-height: 92vh;
  border-radius: 22px;
  border: 1px solid #dbe5ef;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 22%);
  box-shadow: 0 24px 64px rgba(11, 31, 56, 0.34);
  overflow: hidden;
}

.quiz-screen {
  display: none;
  padding: 24px 20px 22px;
  max-height: 92vh;
  overflow: auto;
}

.quiz-screen.is-active {
  display: block;
  animation: quiz-fade-up 0.3s ease;
}

.quiz-kicker {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3c75ad;
}

.quiz-title {
  margin: 6px 0 0;
  color: #17395d;
  font-size: 31px;
  line-height: 1.15;
  font-weight: 800;
}

.quiz-copy {
  margin: 10px 0 0;
  color: #2e455f;
  font-size: 16px;
  line-height: 1.45;
}

.quiz-progress {
  margin-top: 16px;
  height: 10px;
  background: #e4edf7;
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2b6ea9, #5fa7ec);
  transition: width 0.14s linear;
}

.quiz-primary-btn,
.quiz-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
}

.quiz-primary-btn {
  color: #ffffff;
  background: linear-gradient(180deg, #377dbd, #28679f);
  box-shadow: 0 10px 24px rgba(30, 87, 136, 0.33);
}

.quiz-primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.quiz-primary-btn--accent {
  color: #3f3100;
  background: linear-gradient(180deg, #ffe27a, #f4c531);
  box-shadow: 0 12px 26px rgba(141, 107, 19, 0.35);
}

.quiz-primary-btn--accent:hover {
  filter: brightness(1.03);
}

.quiz-secondary-btn {
  color: #285c8f;
  background: #eff5fc;
  border: 1px solid #cdddf0;
  box-shadow: none;
}

.quiz-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.quiz-step-count,
.quiz-step-select {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.quiz-step-count {
  color: #2e6aa5;
}

.quiz-step-select {
  color: #667b93;
}

.quiz-question {
  margin: 2px 0 0;
  color: #18385a;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
}

.quiz-options {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.quiz-option {
  width: 100%;
  border: 1px solid #cdddef;
  background: #ffffff;
  color: #173f67;
  text-align: left;
  border-radius: 12px;
  padding: 12px 13px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.quiz-option:hover {
  border-color: #8fb5dd;
}

.quiz-option.is-selected {
  border-color: #2c72ad;
  background: #f0f7ff;
  box-shadow: 0 0 0 2px rgba(45, 118, 180, 0.15);
  transform: translateY(-1px);
}

.quiz-options--dense .quiz-option {
  font-size: 15px;
  line-height: 1.3;
}

.quiz-options--multi .quiz-option {
  position: relative;
  padding-left: 44px;
}

.quiz-options--multi .quiz-option::before,
.quiz-options--multi .quiz-option::after {
  content: "";
  position: absolute;
  top: 50%;
}

.quiz-options--multi .quiz-option::before {
  left: 14px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #9db8d6;
  background: #ffffff;
  transform: translateY(-50%);
}

.quiz-options--multi .quiz-option::after {
  left: 20px;
  width: 7px;
  height: 11px;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: translateY(-58%) rotate(40deg);
}

.quiz-options--multi .quiz-option.is-selected::before {
  border-color: #2b6ea9;
  background: #2b6ea9;
}

.quiz-options--multi .quiz-option.is-selected::after {
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

.quiz-next-btn {
  margin-top: 14px;
}

.quiz-benefits {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.quiz-benefits li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 16px;
  line-height: 1.35;
  color: #1d436c;
  border: 1px solid #d6e5f4;
  background: #f7fbff;
  border-radius: 11px;
  padding: 10px 12px;
}

.quiz-benefits li::before {
  content: "✔ ";
  color: #1e6cae;
}

.quiz-benefits li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.quiz-screen--warning .quiz-title {
  color: #6a2f1a;
}

.quiz-screen--warning .quiz-copy {
  color: #58433a;
}

.is-hidden {
  display: none;
}

@keyframes quiz-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@media (max-width: 560px) {
  .page {
    padding: 0;
  }

  .card {
    border-left: 0;
    border-right: 0;
  }

  .topbar {
    padding: 10px 12px 8px;
  }

  .brand {
    font-size: 23px;
    margin-bottom: 8px;
  }

  .meta-text {
    font-size: 13px;
  }

  .headline-block {
    padding: 14px 12px;
  }

  .headline-block h1 {
    font-size: 19px;
  }

  .headline-bottom-wrap {
    gap: 8px;
    margin-top: 5px;
  }

  .headline-line {
    width: 28px;
  }

  .subheadline-block {
    padding: 12px;
  }

  .subheadline-block p {
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-block {
    padding: 0 12px;
  }

  .hero-caption {
    font-size: 17px;
    padding: 8px 12px;
    margin-bottom: 8px;
  }

  .content-section {
    padding: 2px 14px 16px;
  }

  .content-section h2 {
    font-size: 19px;
    margin: 12px 0 10px;
  }

  .content-section p,
  .content-section li {
    font-size: 16px;
    line-height: 1.5;
  }

  .content-section p {
    margin-bottom: 12px;
  }

  .content-section ul {
    padding-left: 20px;
    margin-bottom: 12px;
  }

  .content-section li {
    margin-bottom: 8px;
  }

  .results-table th,
  .results-table td {
    padding: 6px 3px;
    font-size: 11px;
    line-height: 1.05;
  }

  .results-table thead th {
    border-bottom-width: 1px;
  }

  .results-table .featured-row td {
    font-size: 10px;
  }

  .rating-cell {
    font-size: 11px;
  }

  .cta-wrap {
    margin-top: 18px;
  }

  .cta-button {
    padding: 14px 16px;
    font-size: 18px;
    border-radius: 10px;
  }

  .cta-note {
    margin-top: 10px;
    font-size: 13px;
  }

  .comments-intro {
    margin-bottom: 14px;
  }

  .comments-list {
    gap: 10px;
  }

  .comment-card {
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
  }

  .comment-avatar {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .comment-meta {
    gap: 6px;
    margin-bottom: 4px;
  }

  .comment-name {
    font-size: 15px;
  }

  .comment-location {
    font-size: 11px;
  }

  .comment-body p {
    font-size: 14px;
    line-height: 1.4;
  }

  .quiz-gate {
    padding: 8px;
  }

  .quiz-shell {
    width: min(420px, 100%);
    max-height: calc(100vh - 16px);
    border-radius: 18px;
  }

  .quiz-screen {
    padding: 18px 15px 16px;
    max-height: calc(100vh - 16px);
  }

  .quiz-kicker {
    font-size: 11px;
  }

  .quiz-title {
    font-size: 24px;
  }

  .quiz-copy {
    margin-top: 8px;
    font-size: 15px;
  }

  .quiz-primary-btn,
  .quiz-secondary-btn {
    min-height: 46px;
    margin-top: 12px;
    font-size: 16px;
    border-radius: 10px;
  }

  .quiz-step-row {
    gap: 6px;
    margin-bottom: 6px;
  }

  .quiz-step-count,
  .quiz-step-select {
    font-size: 12px;
  }

  .quiz-question {
    font-size: 21px;
  }

  .quiz-options {
    margin-top: 9px;
    gap: 6px;
  }

  .quiz-option {
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 15px;
    line-height: 1.25;
  }

  .quiz-options--dense .quiz-option {
    font-size: 14px;
    line-height: 1.2;
  }

  .quiz-options--multi .quiz-option {
    padding-left: 38px;
  }

  .quiz-options--multi .quiz-option::before {
    left: 12px;
    width: 15px;
    height: 15px;
    border-radius: 4px;
  }

  .quiz-options--multi .quiz-option::after {
    left: 17px;
    width: 5px;
    height: 9px;
  }

  .quiz-benefits li {
    font-size: 14px;
    padding: 8px 10px;
  }
}
