/* Light review theme layered over the existing quiz, gate and media styles. */
:root {
  --ink: #21170c;
  --night: #fff8ee;
  --raised: #ffffff;
  --cream: #24180b;
  --muted: #66533a;
  --dim: #876f50;
  --gold: #9f6a10;
  --gold2: #d79a32;
  --peach: #c76d42;
  --line: rgba(36, 24, 11, .12);
  --line2: rgba(159, 106, 16, .24);
  --green: #2f8a62;
  --yellow: #a96e00;
  --red: #a43a1b;
}

html { background: #f4eadb; }
body {
  background:
    radial-gradient(900px 520px at 16% 0%, rgba(255,255,255,.94), transparent 66%),
    radial-gradient(720px 420px at 92% 12%, rgba(226,184,112,.28), transparent 64%),
    linear-gradient(180deg, #fbf6ee 0%, #f3e8d7 48%, #ead9c1 100%);
  color: #24180b;
}

.site-head {
  min-height: 82px;
  color: #24180b;
}
.brand img { box-shadow: 0 10px 30px rgba(65, 42, 16, .16); }
.brand small { color: #806a4b; }
.review {
  color: #7b520e;
  border-color: rgba(123,82,14,.22);
  background: rgba(255,255,255,.48);
}

.hero { padding: 36px 0 78px; }
.hero-art {
  background: #141823;
  box-shadow: 0 34px 90px rgba(92, 63, 27, .24), inset 0 0 0 1px rgba(159,106,16,.28);
}
.hero-art:after {
  background: linear-gradient(to bottom, transparent 48%, rgba(31,20,9,.48));
}
.hero-copy .lead,
.close p,
.cred p { color: #5f4c33; }
.eyebrow { color: #8b5c0d; }
h1, h2 { color: #20150a; }
.facts span {
  color: #5c4930;
  background: rgba(255,255,255,.62);
  border-color: rgba(36,24,11,.11);
}

.button-primary {
  background: linear-gradient(180deg, #24170a, #110a03);
  color: #f5cf88;
  box-shadow: 0 20px 44px rgba(67, 42, 13, .22);
}
.button-primary:hover { transform: translateY(-1px); }

.benefits,
.cred,
.close,
.quiz-shell,
.result-shell {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(36,24,11,.1);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(92, 63, 27, .12);
  backdrop-filter: blur(16px);
}
.benefits { padding: clamp(26px, 4vw, 44px); margin-bottom: 44px; }
.cred { padding: clamp(24px, 4vw, 42px); }
.cred img { box-shadow: 0 20px 50px rgba(92, 63, 27, .18); }
.close { padding: clamp(28px, 5vw, 54px); margin-top: 44px; margin-bottom: 64px; }
.benefit-grid article,
.insights article,
.result-note,
.next {
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(36,24,11,.1);
  box-shadow: 0 16px 40px rgba(92,63,27,.08);
}
.benefit-grid article p,
.insights article p,
.result-summary,
.result-note,
.next p { color: #5e4b33; }
.benefit-grid article i,
.insights article i { color: #8b5c0d; }

.quiz-view {
  min-height: calc(100svh - 82px);
  padding: 24px 0 56px;
  background: transparent;
}
.quiz-shell { color: #24180b; }
.quiz-nav .back,
.retake {
  color: #6a5334;
}
.progress {
  background: rgba(36,24,11,.12);
}
.progress i {
  background: linear-gradient(90deg, #c88a28, #24170a);
}
#questionCount,
.step,
.hint { color: #70583a; }
.option {
  background: rgba(255,255,255,.78);
  color: #24180b;
  border-color: rgba(36,24,11,.12);
  box-shadow: 0 16px 34px rgba(92,63,27,.08);
}
.option:hover,
.option.is-selected {
  border-color: rgba(159,106,16,.5);
  background: #fff;
  box-shadow: 0 18px 42px rgba(92,63,27,.14);
}
.option span {
  background: #f0dfc4;
  color: #6b4610;
}
textarea,
.gate-shell form input {
  background: #fff;
  color: #24180b;
  border-color: rgba(36,24,11,.18);
}
textarea::placeholder { color: #8b785a; }
/* Keep the light theme legible and the interaction state explicit. */
.quiz-shell { padding: clamp(22px, 4vw, 40px); }
.question h1 { font-size: clamp(26px, 3.5vw, 40px); line-height: 1.22; }
.option { min-height: 56px; box-shadow: none; }
.option.is-selected { border: 2px solid #80530c; background: #f8ecd8; }
.option.is-selected span { background: #80530c; color: #fff; }
.button:disabled { opacity: 1; background: #e0d7c8; color: #63533d; box-shadow: none; }
:is(button,a,textarea,input):focus-visible { outline: 3px solid #80530c; outline-offset: 4px; }
.question h1:focus, #resultTitle:focus, #gateTitle:focus { outline: none; }
.gate-shell form label {
  position: static; width: auto; height: auto; padding: 0; margin: 4px 0 -4px;
  overflow: visible; clip: auto; white-space: normal;
  color: #392815; font-size: 14px; font-weight: 700;
}
textarea::placeholder, .gate-shell form input::placeholder { color: #726045; }
.gate-note { font-size: 13px; text-align: left; }
.gate-seal { width: min(180px, 48%); }
.gate-shell h1 { font-size: clamp(34px, 8vw, 52px); line-height: 1.12; }
.gate-shell .retake, .retake { min-height: 44px; }
.brand small { color: #66533a; }
.activation-note a { color: #784b08; text-decoration: underline; min-height: 44px; }
.wistia-frame { min-height: 0; }
.result-shell h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.12; }
@media (max-width: 600px) {
  .site-head { gap: 10px; flex-wrap: wrap; padding-block: 14px; }
  .review { font-size: 9px; letter-spacing: .08em; }
  .brand { gap: 8px; }
  .brand small { font-size: 8px; }
  .quiz-shell { width: calc(100% - 24px); padding: 20px 16px 24px; }
  .result-shell { width: calc(100% - 24px); padding: 24px 16px; }
  .quiz-nav { gap: 12px; }
  .option { padding: 14px 12px; }
  .option b { font-size: 15px; line-height: 1.5; }
  .next { padding: 20px 16px; }
  .next .button-primary { width: 100%; padding-inline: 14px; font-size: 15px; }
  .activation-head { display: block; }
  .activation-icon { margin-bottom: 12px; }
  .gate-view { padding-top: 28px; }
}

.result-view {
  padding: 26px 0 70px;
  background: transparent;
}
.result-shell { padding: clamp(24px, 4vw, 46px); }
.score-mark.clear { color: #2f8a62; }
.score-mark.partial { color: #b17013; }
.score-mark.repeat { color: #a24a2a; }
.result-note { border-left: 4px solid #c88a28; }
.next .button-primary { display: inline-flex; }

.result-media-wrap,
.activation-card {
  background: rgba(255,255,255,.74);
  border-color: rgba(159,106,16,.22);
  box-shadow: 0 24px 70px rgba(92,63,27,.14);
}
.result-media-copy p:last-child,
.activation-copy p:last-child { color: #5e4b33; }
.wistia-frame {
  background: #ead9c1;
}
.wistia-frame wistia-player:not(:defined) {
  background: linear-gradient(135deg, #f4eadb, #d9c09a);
}
.activation-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(215,154,50,.2), transparent 34%),
    rgba(255,255,255,.78);
}
.activation-icon {
  color: #24180b;
  background: linear-gradient(135deg, #f3ce8e, #d79a32);
}
.activation-note,
footer { color: #745d3c; }

footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 30px;
  border: 0;
}
footer a { color: #5f3d0b; }

body[data-view="gateView"] {
  background: #efe5d6;
}
body[data-view="gateView"] .site-head,
body[data-view="gateView"] > footer {
  display: none;
}

@media (max-width: 760px) {
  .benefits,
  .cred,
  .close,
  .quiz-shell,
  .result-shell {
    border-radius: 22px;
  }
  .hero { padding-top: 22px; }
  .benefits { margin-bottom: 28px; }
  .close { margin-bottom: 36px; }
}
