:root {
  --ink: #07110f;
  --ink-2: #0b1714;
  --ink-3: #10201c;
  --surface: #f3f6f2;
  --paper: #fbfdf9;
  --white: #f8fbf8;
  --text: #15241f;
  --muted: #66736e;
  --line: #d8e0db;
  --green: #2ed47a;
  --green-dark: #0e8e4e;
  --green-soft: #dff8e9;
  --amber: #f3b84b;
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); color-scheme: dark; }
body { margin: 0; background: var(--ink); font-family: var(--body); line-height: 1.6; }
body.modalOpen { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
[hidden] { display: none !important; }

.page {
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 10%, rgba(46, 212, 122, 0.09), transparent 30%),
    var(--ink);
}

.skipLink {
  position: fixed;
  top: -90px;
  left: 16px;
  z-index: 300;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 16px;
  font-weight: 850;
}

.skipLink:focus {
  top: 16px;
}

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 17, 15, 0.7);
  backdrop-filter: blur(14px);
}

.headerInner {
  width: min(1160px, calc(100% - 40px));
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo b {
  color: var(--green);
}

.logoMark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--green);
  font-size: 0.72rem;
}

.headerActions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.78rem;
  font-weight: 780;
}

.headerActions > a {
  color: rgba(255, 255, 255, 0.64);
}

.headerActions > a:hover {
  color: var(--white);
}

.trustLabel {
  border: 1px solid rgba(46, 212, 122, 0.32);
  border-radius: 999px;
  background: rgba(46, 212, 122, 0.09);
  color: var(--green);
  padding: 7px 10px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 120px 0 42px;
}

.entryGrid {
  width: min(1160px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  margin-inline: auto;
}

.entryCopy h1,
.mechanismFrame h1,
.question h1,
.resultHero h1,
.loadingStage h1 {
  margin: 0;
  color: var(--white);
}

.entryCopy h1 {
  max-width: 720px;
  font-size: clamp(3rem, 5.3vw, 5.5rem);
}

.entryCopy > p {
  max-width: 650px;
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.entryCopy > small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

.eyebrow,
.cardLabel {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.primaryButton,
.secondaryButton {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 13px;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 880;
  line-height: 1.2;
  text-align: center;
}

.primaryButton {
  background: var(--green);
  color: #06130d;
  box-shadow: 0 14px 38px rgba(46, 212, 122, 0.18);
}

.primaryButton:hover {
  background: #43e88d;
  transform: translateY(-2px);
}

.secondaryButton {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.heroVisual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: var(--ink-2);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
}

.heroVisual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 17, 15, 0.68), transparent 55%);
  content: "";
}

.heroVisual picture,
.heroVisual img {
  width: 100%;
  height: 100%;
}

.heroVisual img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.heroRoute {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: rgba(7, 17, 15, 0.9);
  padding: 15px 16px;
  font-size: 0.72rem;
  font-weight: 820;
}

.heroRoute i {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.heroRoute i::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: var(--green);
  content: "";
  animation: route-pulse 3.4s ease-in-out infinite;
}

@keyframes route-pulse {
  0%, 100% { transform: translateX(-110%); }
  45%, 60% { transform: translateX(300%); }
}

.entryTrust {
  width: min(1160px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 34px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.entryTrust span {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0c1815;
  padding: 13px 17px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 780;
}

.entryTrust span::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.quizStage {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 112px 20px 44px;
}

.quizFrame {
  width: min(920px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(12, 27, 23, 0.92);
  padding: clamp(24px, 5vw, 54px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.quizTopline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 42px;
}

.backButton {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 780;
}

.backButton:hover {
  color: var(--white);
}

.progressBlock {
  width: 100%;
}

.progressCopy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.7rem;
  font-weight: 780;
}

.progressTrack {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.progressTrack span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green);
  transition: width 280ms ease;
}

.question h1,
.mechanismFrame h1 {
  max-width: 820px;
  margin-bottom: 34px;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

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

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

.answerCard {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px 1fr 26px;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  cursor: pointer;
  padding: 14px 16px;
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.answerCard:hover,
.answerCard[data-selected="true"] {
  border-color: rgba(46, 212, 122, 0.72);
  background: rgba(46, 212, 122, 0.1);
  transform: translateY(-2px);
}

.answerIcon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(46, 212, 122, 0.24);
  border-radius: 11px;
  background: rgba(46, 212, 122, 0.08);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.answerCheck {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: transparent;
  font-size: 0.72rem;
}

.answerCard[data-selected="true"] .answerCheck {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.clarification,
.reassurance {
  margin: 18px 0 0;
  border-left: 3px solid var(--green);
  background: rgba(46, 212, 122, 0.08);
  padding: 13px 15px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
}

.mechanismFrame > p {
  max-width: 760px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.66);
}

.mechanismDiagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 34px 0 24px;
}

.mechanismCard {
  position: relative;
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
}

.mechanismCard > span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.mechanismCard > strong {
  font-family: var(--display);
  font-size: 1.35rem;
}

.mechanismCard i {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mechanismCard[data-connection="primary"] i {
  animation: primary-status 3.8s ease-in-out infinite;
}

.mechanismCard[data-connection="reserve"] i {
  animation: reserve-status 3.8s ease-in-out infinite;
}

@keyframes primary-status {
  0%, 34%, 100% { background: var(--green); box-shadow: 0 0 0 5px rgba(46, 212, 122, 0.12); }
  46%, 68% { background: var(--amber); box-shadow: 0 0 0 5px rgba(243, 184, 75, 0.11); }
}

@keyframes reserve-status {
  0%, 52%, 100% { background: rgba(255, 255, 255, 0.25); box-shadow: none; }
  68%, 88% { background: var(--green); box-shadow: 0 0 0 5px rgba(46, 212, 122, 0.12); }
}

.manualSwitch {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.manualSwitch span {
  color: var(--green);
  font-size: 2rem;
  animation: manual-move 3.8s ease-in-out infinite;
}

.manualSwitch b {
  font-size: 0.66rem;
}

@keyframes manual-move {
  0%, 40%, 100% { transform: translateX(-16px); opacity: 0.42; }
  60%, 82% { transform: translateX(16px); opacity: 1; }
}

.mechanismNote {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(46, 212, 122, 0.2);
  border-radius: 14px;
  background: rgba(46, 212, 122, 0.08);
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
}

.mechanismNote strong {
  color: var(--green);
}

.disclaimer {
  margin: 14px 0 22px !important;
  color: rgba(255, 255, 255, 0.43) !important;
  font-size: 0.72rem;
}

.loadingStage {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 110px 20px 40px;
  text-align: center;
}

.loadingStage h1 {
  max-width: 720px;
  margin: 24px 0 12px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.loadingStage p {
  color: rgba(255, 255, 255, 0.5);
}

.loader {
  display: flex;
  gap: 7px;
}

.loader span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  animation: loader-dot 900ms ease-in-out infinite alternate;
}

.loader span:nth-child(2) { animation-delay: 140ms; }
.loader span:nth-child(3) { animation-delay: 280ms; }

@keyframes loader-dot {
  from { opacity: 0.28; transform: translateY(0); }
  to { opacity: 1; transform: translateY(-7px); }
}

.resultPage {
  padding-bottom: 0;
  background: var(--paper);
  color: var(--text);
}

.resultHero {
  padding: 142px 20px 72px;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 0, rgba(46, 212, 122, 0.13), transparent 38%),
    var(--ink);
}

.resultHeroInner,
.resultGrid,
.personalReason,
.proofGrid,
.riskReversal > div,
.footer {
  width: min(1080px, 100%);
  margin-inline: auto;
}

.recommendationLabel {
  width: max-content;
  margin: 0 0 16px;
  border: 1px solid rgba(46, 212, 122, 0.24);
  border-radius: 999px;
  background: rgba(46, 212, 122, 0.08);
  color: var(--green);
  padding: 7px 10px;
  font-size: 0.7rem;
  font-weight: 800;
}

.resultHero h1 {
  max-width: 840px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.resultHeroInner > p:last-child {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.resultSection,
.resultSectionDark,
.riskReversal {
  padding: 70px 20px;
}

.resultSection {
  background: var(--paper);
}

.resultGrid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 20px;
}

.summaryCard,
.setupCard {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(5, 23, 16, 0.08);
}

.cardLabel {
  color: var(--green-dark);
}

.summaryCard dl {
  margin: 0;
}

.summaryCard dl > div {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.summaryCard dl > div:last-child {
  border-bottom: 0;
}

.summaryCard dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 760;
}

.summaryCard dd {
  margin: 0;
  font-weight: 820;
}

.setupCard {
  border-color: rgba(14, 142, 78, 0.35);
}

.setupTopline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.setupTopline h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.setupTopline p {
  margin: 0;
  color: var(--green-dark);
  font-weight: 820;
}

.setupTopline > span {
  width: 56px;
  height: 56px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
}

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

.setupCard li {
  display: flex;
  gap: 9px;
  color: #34443e;
}

.setupCard li::before {
  color: var(--green-dark);
  content: "✓";
  font-weight: 900;
}

.setupClarification {
  margin: 20px 0 0;
  border-left: 3px solid var(--green-dark);
  background: var(--green-soft);
  padding: 12px 14px;
  color: #27513d;
  font-size: 0.76rem;
}

.resultSectionDark {
  color: var(--white);
  background: var(--ink-2);
}

.personalReason {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  column-gap: 70px;
}

.personalReason .eyebrow,
.personalReason h2 {
  grid-column: 1;
}

.personalReason h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.personalReason > p,
.personalReason > strong,
.personalReason > small {
  grid-column: 2;
}

.personalReason > p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.62);
}

.personalReason > strong {
  color: var(--white);
  font-size: 1.05rem;
}

.personalReason > small {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.42);
}

.proofGrid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 64px;
}

.proofGrid h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.proofGrid p {
  color: var(--muted);
}

.proofButton {
  position: relative;
  overflow: hidden;
  max-height: 420px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--ink);
  cursor: zoom-in;
  padding: 0;
  box-shadow: var(--shadow);
}

.proofButton img {
  width: 100%;
  height: auto;
}

.proofButton > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 17, 15, 0.92);
  color: var(--white);
  padding: 8px 11px;
  font-size: 0.68rem;
  font-weight: 820;
}

.riskReversal {
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0, rgba(46, 212, 122, 0.14), transparent 42%),
    var(--ink);
}

.riskReversal > div {
  max-width: 860px;
  text-align: center;
}

.riskReversal .eyebrow {
  justify-content: center;
}

.riskReversal h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

.riskReversal p {
  max-width: 700px;
  margin: 0 auto 16px;
  color: rgba(255, 255, 255, 0.64);
}

.riskReversal > div > strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.resultActions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.resultActions .primaryButton > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.52rem;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 32px 20px 110px;
  color: var(--white);
}

.footer::before {
  position: absolute;
  right: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  content: "";
}

.footer > div {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
}

.footer > small {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.64rem;
  text-align: right;
}

.resultSticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 15, 0.98);
  color: var(--white);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.28);
}

.resultSticky > span {
  display: grid;
  line-height: 1.2;
}

.resultSticky strong {
  font-size: 0.75rem;
}

.resultSticky small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.59rem;
}

.resultSticky > a {
  min-height: 54px;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  background: var(--green);
  color: var(--ink);
  padding: 10px 14px;
  font-size: 0.76rem;
  font-weight: 880;
}

.resultSticky > a b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.5rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  background: rgba(2, 7, 5, 0.94);
  padding: 24px;
}

.lightboxPanel {
  overflow: hidden auto;
  max-width: min(760px, calc(100vw - 100px));
  max-height: 94vh;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: var(--ink-2);
}

.lightboxPanel img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(94vh - 78px);
  margin-inline: auto;
  object-fit: contain;
  touch-action: pinch-zoom;
}

.lightboxPanel > div {
  display: grid;
  gap: 2px;
  padding: 14px 17px 16px;
  color: var(--white);
}

.lightboxPanel span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
}

.lightboxClose {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
}

.cookieChoice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 140;
  width: min(470px, calc(100vw - 32px));
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
  background: rgba(7, 17, 15, 0.98);
  color: var(--white);
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.cookieChoice p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
}

.cookieActions {
  display: flex;
  gap: 9px;
}

.cookieActions button {
  min-height: 46px;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  cursor: pointer;
  padding: 9px 12px;
  font-size: 0.72rem;
  font-weight: 800;
}

.cookieActions button:last-child {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

@media (max-width: 900px) {
  .entryGrid,
  .resultGrid,
  .proofGrid {
    grid-template-columns: 1fr;
  }

  .entry {
    align-content: start;
  }

  .heroVisual {
    min-height: 420px;
  }

  .entryTrust {
    grid-template-columns: repeat(2, 1fr);
  }

  .proofGrid {
    gap: 30px;
  }

  .proofButton {
    max-height: 460px;
  }

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

  .personalReason .eyebrow,
  .personalReason h2,
  .personalReason > p,
  .personalReason > strong,
  .personalReason > small {
    grid-column: 1;
  }

  .personalReason h2 {
    margin-bottom: 24px;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer > small {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .headerInner {
    width: calc(100% - 28px);
    min-height: 70px;
  }

  .headerActions {
    gap: 10px;
  }

  .trustLabel {
    display: none;
  }

  .headerActions > a {
    max-width: 100px;
    font-size: 0.68rem;
    text-align: right;
  }

  .entry {
    padding: 96px 0 32px;
  }

  .entryGrid,
  .entryTrust {
    width: calc(100% - 28px);
  }

  .entryGrid {
    gap: 30px;
  }

  .entryCopy h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

  .entryCopy > p {
    margin: 18px 0 22px;
    font-size: 0.95rem;
  }

  .entryCopy .primaryButton {
    width: 100%;
  }

  .heroVisual {
    min-height: 270px;
    border-radius: 20px;
  }

  .heroRoute {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 11px 12px;
  }

  .entryTrust {
    margin-top: 22px;
  }

  .entryTrust span {
    min-height: 66px;
    padding: 11px 12px;
    font-size: 0.68rem;
  }

  .quizStage {
    align-items: start;
    padding: 88px 12px 28px;
  }

  .quizFrame {
    border-radius: 20px;
    padding: 20px 16px 22px;
  }

  .quizTopline {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 28px;
  }

  .backButton {
    font-size: 0.72rem;
  }

  .question h1,
  .mechanismFrame h1 {
    margin-bottom: 24px;
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .answerGrid,
  .answerStack {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .answerCard {
    min-height: 62px;
    grid-template-columns: 38px 1fr 24px;
    gap: 10px;
    border-radius: 13px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .answerIcon {
    width: 34px;
    height: 34px;
  }

  .mechanismDiagram {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0 18px;
  }

  .mechanismCard {
    min-height: 100px;
    padding: 18px;
  }

  .manualSwitch {
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
  }

  .manualSwitch span {
    transform: rotate(90deg) !important;
    animation: none;
  }

  .loadingStage h1 {
    font-size: 2.6rem;
  }

  .resultHero {
    padding: 112px 16px 54px;
  }

  .resultHero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .resultSection,
  .resultSectionDark,
  .riskReversal {
    padding: 48px 16px;
  }

  .summaryCard,
  .setupCard {
    border-radius: 18px;
    padding: 22px 18px;
  }

  .setupTopline h2 {
    font-size: 2.2rem;
  }

  .personalReason h2,
  .proofGrid h2,
  .riskReversal h2 {
    font-size: 2.5rem;
  }

  .proofButton {
    max-height: 380px;
  }

  .resultActions {
    flex-direction: column;
  }

  .resultActions .primaryButton,
  .resultActions .secondaryButton {
    width: 100%;
  }

  .footer {
    padding: 28px 16px 110px;
  }

  .footer > div {
    flex-wrap: wrap;
  }

  .resultSticky {
    display: flex;
  }

  .lightbox {
    padding: 0;
  }

  .lightboxPanel {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    padding-top: 60px;
  }

  .lightboxPanel img {
    width: 100%;
    max-height: none;
  }

  .cookieChoice {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 16px;
  }

  .cookieActions {
    flex-direction: column-reverse;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heroRoute i::after,
  .mechanismCard i,
  .manualSwitch span,
  .loader span {
    animation: none;
  }

  .answerCard,
  .primaryButton,
  .progressTrack span {
    transition: none;
  }
}
