:root {
  --bg: #0b211c;
  --bg-2: #14382f;
  --surface: #fff9ef;
  --surface-soft: #efe4d5;
  --ink: #17231f;
  --muted: #616961;
  --line: rgba(23, 35, 31, 0.14);
  --accent: #bd5e20;
  --accent-strong: #84380f;
  --blue: #1f637d;
  --shadow: 0 34px 100px rgba(5, 18, 15, 0.42);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(140deg, rgba(189, 94, 32, 0.3), transparent 34%),
    linear-gradient(310deg, rgba(31, 99, 125, 0.32), transparent 30%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}

.funnel-shell {
  width: min(920px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 28px 0;
}

.funnel-card {
  width: 100%;
  min-height: min(720px, calc(100vh - 56px));
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.brand-mark,
.quiz-progress,
.step-kicker,
.result-box-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex: 0 0 auto;
}

.brand-mark,
.step-kicker,
.result-box-label {
  color: var(--accent-strong);
}

.quiz-progress {
  color: var(--blue);
}

.progress-track {
  height: 10px;
  background: var(--surface-soft);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transition: width 240ms ease;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(28px, 5vw, 64px);
}

.screen[hidden] {
  display: none;
}

h1 {
  max-width: 17ch;
  margin: 14px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.28rem, 6vw, 5rem);
  line-height: 0.98;
}

.lead-copy {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.answer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: auto;
  padding-top: 40px;
}

.answer-button,
.purchase-button {
  min-height: 82px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  padding: 18px 20px;
  text-align: left;
  font: inherit;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.answer-button:hover,
.answer-button:focus-visible {
  border-color: var(--accent);
  background: #fff0dd;
  transform: translateY(-2px);
  outline: none;
}

.answer-button-primary {
  width: fit-content;
  min-height: 56px;
  margin-top: 32px;
  background: var(--accent);
  color: #fff9ef;
  border-color: var(--accent);
  text-align: center;
}

.transition-screen {
  min-height: 420px;
}

.transition-screen h1 {
  max-width: 12ch;
}

.result-box {
  display: grid;
  gap: 8px;
  margin: 28px 0;
  padding: 20px;
  background: #e4efe9;
  color: #12382f;
}

.result-box strong {
  font-size: 1.14rem;
}

.result-box span {
  color: var(--muted);
  line-height: 1.6;
}

.sales-screen {
  justify-content: flex-start;
  gap: 34px;
}

.sales-hero {
  max-width: 820px;
}

.sales-hero h1 {
  max-width: 18ch;
}

.sales-offer {
  display: grid;
  gap: 24px;
}

.sales-offer h2 {
  max-width: 20ch;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
}

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

.sales-grid article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.sales-grid strong {
  font-size: 1.05rem;
}

.sales-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.model-showcase {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #17231f;
  color: #fff9ef;
  overflow: hidden;
}

.showcase-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff9ef;
}

.showcase-heading span {
  color: rgba(255, 249, 239, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.marquee {
  width: 100%;
  overflow: hidden;
}

.model-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: marquee 42s linear infinite;
}

.marquee-reverse .model-track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.model-pill {
  flex: 0 0 auto;
  max-width: 360px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 249, 239, 0.18);
  background: rgba(255, 249, 239, 0.08);
  color: #fff9ef;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.authority-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(135deg, #12382f, #0b211c);
  color: #fff9ef;
}

.authority-media {
  justify-self: center;
  aspect-ratio: 1;
  width: 140px;
  overflow: hidden;
  background: rgba(255, 249, 239, 0.08);
}

.authority-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.authority-copy {
  display: grid;
  gap: 10px;
}

.authority-copy .step-kicker {
  color: #efc47e;
}

.authority-copy h3 {
  max-width: 38ch;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.08;
}

.authority-copy p {
  max-width: 64ch;
  margin: 0;
  color: rgba(255, 249, 239, 0.78);
  line-height: 1.62;
}

.authority-points,
.authority-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.authority-points span,
.authority-links a {
  padding: 7px 10px;
  border: 1px solid rgba(255, 249, 239, 0.14);
  background: rgba(255, 249, 239, 0.08);
  color: #fff9ef;
  font-size: 0.88rem;
  font-weight: 800;
}

.authority-links a {
  border-color: rgba(239, 196, 126, 0.3);
  background: rgba(239, 196, 126, 0.14);
  color: #efc47e;
  text-decoration: none;
}

.sales-cta {
  display: grid;
  gap: 14px;
  align-items: start;
  padding: 22px;
  background: #fff0dd;
  border: 1px solid rgba(189, 94, 32, 0.26);
}

.sales-cta p {
  max-width: 58ch;
  margin: 0;
  color: var(--accent-strong);
  line-height: 1.6;
}

.price-anchor {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  color: var(--accent-strong);
}

.price-anchor strong {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
}

.old-price {
  color: rgba(132, 56, 15, 0.68);
  font-weight: 800;
  text-decoration: line-through;
}

.price-note {
  flex-basis: 100%;
  color: var(--muted);
  font-weight: 800;
}

.purchase-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 58px;
  background: var(--accent);
  color: #fff9ef;
  text-decoration: none;
  text-align: center;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.noscript-message {
  width: min(920px, calc(100% - 28px));
  margin: 0 auto 24px;
  padding: 16px;
  background: #fff0dd;
  color: var(--accent-strong);
  font-weight: 800;
}

@media (max-width: 720px) {
  .funnel-shell {
    width: min(100% - 20px, 920px);
    align-items: stretch;
    padding: 10px 0;
  }

  .funnel-card {
    min-height: calc(100vh - 20px);
  }

  .topline {
    flex-direction: column;
  }

  h1,
  .result-screen h1 {
    max-width: 100%;
  }

  .answer-list,
  .sales-grid {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .sales-grid {
    padding-top: 0;
  }

  .showcase-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .authority-card {
    grid-template-columns: 1fr;
  }

  .authority-media {
    width: min(180px, 100%);
    margin: 0 auto;
  }

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

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