@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-900.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --black: #090706;
  --black-warm: #130b08;
  --paper: #f2e9d9;
  --dim: #a99c90;
  --ember: #f04b2f;
  --amber: #efb181;
  --wine: #4c1710;
  --line: rgba(242, 233, 217, .16);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 12%, rgba(115, 30, 18, .26), transparent 34rem),
    linear-gradient(120deg, #070605 0%, #120a08 53%, #080605 100%);
  font-family: var(--sans);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 25vw 100%;
  opacity: .5;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.film-grain {
  position: fixed;
  z-index: 20;
  inset: -30%;
  pointer-events: none;
  opacity: .085;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  animation: grain .24s steps(2) infinite;
}

@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(3%, -2%, 0); }
  50% { transform: translate3d(-2%, 3%, 0); }
  75% { transform: translate3d(1%, -3%, 0); }
  100% { transform: translate3d(-3%, 1%, 0); }
}

.test-masthead {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--paper);
  font: 900 22px/1 var(--sans);
  letter-spacing: -.055em;
  text-decoration: none;
}

.wordmark span { color: var(--ember); }

.test-masthead > p {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: var(--dim);
  font: 10px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.test-masthead b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  font-weight: 400;
}

main { position: relative; z-index: 2; }

.intro-screen {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100svh - 64px);
  margin: 0 auto;
  align-items: center;
}

.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 820px);
  padding: clamp(42px, 6vh, 72px) 0 clamp(44px, 7vh, 84px);
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--ember);
  font: 10px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; font-weight: 400; }

.intro-copy h1 {
  max-width: 800px;
  font-size: clamp(66px, 7.2vw, 104px);
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

h1 em, h2 em, h3 em {
  color: var(--amber);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -.03em;
  text-transform: none;
}

.intro-deck {
  max-width: 610px;
  margin: 34px 0 28px;
  color: var(--dim);
  font: 400 19px/1.45 var(--sans);
  letter-spacing: .01em;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  width: fit-content;
  min-width: 224px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--ember);
  color: var(--paper);
  background: var(--ember);
  cursor: pointer;
  font: 11px/1 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.primary-action:hover:not(:disabled) {
  color: var(--black);
  background: var(--amber);
  transform: translateY(-2px);
}

.primary-action:disabled {
  cursor: not-allowed;
  opacity: .28;
}

[data-start-copy] { white-space: nowrap; }

.intro-notes {
  display: flex;
  gap: 24px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--dim);
  font: 10px/1 var(--mono);
  letter-spacing: .08em;
  list-style: none;
  text-transform: uppercase;
}

.intro-notes li::before { content: "•"; margin-right: 8px; color: var(--ember); }

.intro-privacy-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--dim);
  font: 9px/1.3 var(--mono);
  letter-spacing: .04em;
  text-underline-offset: 3px;
}

.intro-privacy-link:hover { color: var(--paper); }

.offer-story {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(320px, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(100%, 940px);
  margin-top: clamp(38px, 6vh, 68px);
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 12%, rgba(240,75,47,.18), transparent 22rem),
    rgba(8, 6, 5, .58);
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
}

.offer-story .eyebrow { margin-bottom: 16px; }
.offer-story h2 {
  font-size: clamp(42px, 4.7vw, 66px);
  line-height: .84;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.offer-story-copy { align-self: end; }
.offer-story-copy > p:first-child {
  max-width: 610px;
  margin: 0;
  color: var(--dim);
  font: 400 18px/1.5 var(--sans);
  letter-spacing: .01em;
}
.offer-contract {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 20px;
  align-items: center;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font: 10px/1.45 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.offer-contract strong { color: var(--amber); font-weight: 400; }

.reward-reminder {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 18px 0 0;
  padding: 10px 13px;
  border: 1px solid rgba(239,177,129,.34);
  color: var(--amber);
  background: rgba(239,177,129,.07);
  font: 10px/1.4 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.reward-reminder-sticky {
  position: sticky;
  z-index: 9;
  top: 8px;
  margin: 0 0 10px auto;
}

.test-screen, .survey-screen, .reveal-screen {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 4vw, 58px) 0 72px;
}

.test-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: end;
  gap: 40px;
}

.test-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -16px; }
.test-heading h2, .survey-step h2, .reveal-hero h2 {
  font-size: clamp(48px, 5.2vw, 72px);
  line-height: .86;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.test-heading > p:last-child, .step-note, .reveal-hero > p:last-child {
  margin: 0;
  color: var(--dim);
  font: 400 17px/1.45 var(--sans);
  letter-spacing: .01em;
}

.player-shell {
  position: relative;
  margin-top: clamp(28px, 3.5vw, 42px);
  border: 1px solid var(--line);
  background: rgba(7, 6, 5, .62);
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
}

.variant-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.variant-switcher button {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 104px;
  padding: 16px 20px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--dim);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color .2s ease, background .2s ease;
}

.variant-switcher button:last-child { border-right: 0; }
.variant-switcher button:hover { color: var(--paper); background: rgba(255,255,255,.025); }
.variant-switcher button[aria-pressed="true"] {
  color: var(--paper);
  background: linear-gradient(155deg, rgba(240,75,47,.24), rgba(240,75,47,.03));
  box-shadow: inset 0 -3px var(--ember);
}

.variant-switcher span {
  font: 400 clamp(56px, 6vw, 76px)/.75 var(--sans);
  letter-spacing: -.06em;
}

.variant-switcher small {
  font: 9px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.variant-switcher small.is-heard { color: var(--amber); }
.variant-switcher small.is-heard::after { content: " · heard"; }
html[lang="ru"] .variant-switcher small.is-heard::after { content: " · прослушано"; }

.transport {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.play-button {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ember);
  border-radius: 50%;
  background: var(--ember);
  cursor: pointer;
}

.timeline-wrap { flex: 1; min-width: 0; }
.time-row { display: flex; justify-content: space-between; color: var(--dim); font: 9px/1 var(--mono); letter-spacing: .08em; }
.time-row span:nth-child(2) { color: var(--paper); }

[data-seek] {
  width: 100%;
  height: 22px;
  margin: 7px 0 -2px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
[data-seek]::-webkit-slider-runnable-track { height: 1px; background: rgba(242,233,217,.35); }
[data-seek]::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -5.5px; appearance: none; border: 2px solid var(--black); border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 1px var(--ember); }
[data-seek]::-moz-range-track { height: 1px; background: rgba(242,233,217,.35); }
[data-seek]::-moz-range-thumb { width: 10px; height: 10px; border: 2px solid var(--black); border-radius: 50%; background: var(--ember); }

.heatline { height: 14px; overflow: hidden; opacity: .42; }
.heatline i { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(90deg, transparent 0 3px, var(--ember) 3px 4px); mask-image: linear-gradient(0deg, transparent, #000 40%, transparent 90%); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scaleY(.35); opacity: .4; } }

.player-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 48px;
  padding: 10px 20px;
  color: var(--dim);
  font: 10px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.downloads { position: relative; }
.downloads summary { color: var(--paper); cursor: pointer; list-style: none; }
.downloads summary::-webkit-details-marker { display: none; }
.downloads summary::after { content: " +"; color: var(--ember); }
.downloads[open] summary::after { content: " −"; }
.downloads > div { position: absolute; z-index: 5; right: 0; bottom: calc(100% + 10px); display: grid; width: 190px; border: 1px solid var(--line); background: #100a08; box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.downloads a { padding: 14px; border-bottom: 1px solid var(--line); color: var(--paper); text-decoration: none; }
.downloads a:last-child { border-bottom: 0; }
.downloads a:hover { color: var(--amber); }

.continue-wrap {
  display: grid;
  justify-items: end;
  gap: 12px;
  margin-top: 24px;
}
.continue-action { margin-left: auto; }
.continue-hint {
  max-width: 340px;
  margin: 0;
  color: rgba(242, 233, 217, .68);
  font: 11px/1.5 var(--mono);
  letter-spacing: .035em;
  text-align: right;
}

.survey-screen { width: min(1040px, calc(100% - 40px)); }
.survey-player {
  position: sticky;
  z-index: 8;
  top: 14px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(10,7,6,.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0,0,0,.3);
}
.survey-player > button { width: 42px; height: 42px; border: 1px solid var(--ember); border-radius: 50%; background: var(--ember); cursor: pointer; }
.survey-player > div:nth-child(2) { display: grid; gap: 4px; }
.survey-player b { font: 10px/1 var(--mono); letter-spacing: .1em; }
.survey-player span { color: var(--dim); font: 9px/1 var(--mono); }
.mini-switcher { display: flex !important; gap: 4px !important; }
.mini-switcher button { width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.mini-switcher button[aria-pressed="true"] { border-color: var(--ember); color: var(--amber); background: rgba(240,75,47,.12); }

.survey-step { animation: rise .45s cubic-bezier(.2,.75,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.survey-step .eyebrow { margin-bottom: 16px; }
.survey-step h2 { max-width: 900px; }
.step-note { max-width: 560px; margin-top: 18px; }

.rating-grid { display: grid; gap: 10px; margin: 30px 0 26px; }
.rating-card {
  display: grid;
  grid-template-columns: 88px 64px 1fr;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
}
.rating-card legend { float: left; width: 100%; padding: 0; font: 400 38px/.8 var(--sans); }
.inline-listen { min-height: 36px; border: 1px solid var(--line); color: var(--dim); background: transparent; cursor: pointer; font: 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.inline-listen:hover { color: var(--paper); border-color: var(--amber); }
.rating-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.rating-scale label { position: relative; cursor: pointer; }
.rating-scale input { position: absolute; opacity: 0; pointer-events: none; }
.rating-scale span { display: grid; min-height: 58px; padding: 8px 6px; border: 1px solid rgba(242,233,217,.24); place-items: center; color: rgba(242,233,217,.82); font: 11px/1.3 var(--mono); text-align: center; transition: .18s ease; }
.rating-scale label:hover span { color: var(--paper); border-color: rgba(239,177,129,.6); }
.rating-scale input:checked + span { border-color: var(--ember); color: var(--paper); background: rgba(240,75,47,.2); box-shadow: inset 0 -2px var(--ember); }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 34px 0 26px; }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { display: grid; min-height: 136px; border: 1px solid var(--line); place-items: center; color: var(--dim); font-size: 72px; line-height: 1; transition: .2s ease; }
.choice-grid label:hover span { color: var(--paper); border-color: var(--amber); }
.choice-grid input:checked + span { color: var(--paper); border-color: var(--ember); background: linear-gradient(155deg, rgba(240,75,47,.28), transparent); box-shadow: inset 0 -4px var(--ember); }

.option-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.survey-step fieldset { margin: 30px 0 0; padding: 0; border: 0; }
.survey-step fieldset legend { font: 400 17px/1.4 var(--sans); }
.survey-step fieldset legend small { color: var(--dim); }
.option-cloud label { position: relative; cursor: pointer; }
.option-cloud input { position: absolute; opacity: 0; }
.option-cloud span { display: block; padding: 13px 16px; border: 1px solid var(--line); color: var(--dim); font: 11px/1.2 var(--mono); letter-spacing: .02em; }
.option-cloud input:checked + span { color: var(--paper); border-color: var(--ember); background: rgba(240,75,47,.18); }
.survey-step fieldset + fieldset { margin-top: 28px; }
.survey-step [type="submit"] { margin-top: 30px; }
.form-error { min-height: 18px; margin: 20px 0 0; color: var(--ember); font: 11px/1.4 var(--mono); }

.reveal-screen { width: min(1120px, calc(100% - 40px)); }
.reveal-hero { display: grid; grid-template-columns: 1fr minmax(260px, 380px); align-items: end; gap: 40px; }
.reveal-hero .eyebrow { grid-column: 1 / -1; margin-bottom: -12px; }
.identity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 42px 0 66px; background: var(--line); border: 1px solid var(--line); }
.identity-card { min-height: 210px; padding: 18px; background: var(--black-warm); }
.identity-card.is-choice { background: linear-gradient(155deg, rgba(240,75,47,.28), #100907 70%); }
.identity-card > span { display: block; color: var(--dim); font: 10px/1 var(--mono); letter-spacing: .08em; }
.identity-card b { display: block; margin: 26px 0 8px; font: 400 clamp(54px, 6vw, 72px)/.7 var(--sans); }
.identity-card h3 { max-width: 240px; font: 400 25px/.95 var(--sans); text-transform: uppercase; }
.identity-card p { margin-top: 16px; color: var(--dim); font: 10px/1.5 var(--mono); }

.crowd-results { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; padding: 60px 0; border-top: 1px solid var(--line); }
.section-heading h3, .beta-card h3 { font-size: clamp(44px, 4.5vw, 62px); line-height: .84; letter-spacing: -.045em; text-transform: uppercase; }
.result-bars { display: grid; gap: 26px; }
.result-row header { display: flex; justify-content: space-between; margin-bottom: 9px; font: 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.result-row header span:last-child { color: var(--amber); }
.result-bar { height: 8px; background: rgba(242,233,217,.1); }
.result-bar i { display: block; width: var(--value); height: 100%; background: var(--ember); box-shadow: 0 0 16px rgba(240,75,47,.45); }
.human-score { margin: 34px 0 0; color: var(--dim); font: 12px/1.6 var(--mono); }
.human-score strong { color: var(--paper); }
.warming { display: grid; min-height: 180px; border: 1px solid var(--line); place-items: center; color: var(--dim); font: 12px/1.6 var(--mono); text-align: center; }

.beta-card { padding: clamp(34px, 4.5vw, 56px); border: 1px solid var(--line); background: radial-gradient(circle at 80% 20%, rgba(240,75,47,.2), transparent 24rem), #100a08; }
.beta-card > p:not(.eyebrow):not(.beta-status):not(.privacy-note) { max-width: 520px; margin: 22px 0; color: var(--dim); font: 400 17px/1.5 var(--sans); }
.beta-card form { display: flex; max-width: 680px; border-bottom: 1px solid var(--paper); }
.beta-card input { flex: 1; min-width: 0; padding: 18px 4px; border: 0; color: var(--paper); background: transparent; outline: none; font: 16px/1 var(--mono); }
.beta-card button { padding: 0 18px; border: 1px solid var(--ember); background: var(--ember); cursor: pointer; font: 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.beta-status, .privacy-note { color: var(--dim); font: 11px/1.5 var(--mono); }
.privacy-note a { color: var(--paper); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

.reveal-actions { display: flex; justify-content: space-between; padding: 28px 0; }
.reveal-actions button, .reveal-actions a { border: 0; color: var(--dim); background: transparent; cursor: pointer; font: 10px/1 var(--mono); letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.reveal-actions button:hover, .reveal-actions a:hover { color: var(--paper); }

@media (max-width: 820px) {
  .test-masthead { min-height: 64px; }
  .test-masthead > p span { display: none; }
  .intro-screen { width: min(100% - 36px, 680px); min-height: calc(100svh - 64px); }
  .intro-copy { min-height: auto; padding: 38px 0 44px; }
  .intro-copy h1 { font-size: clamp(54px, 17vw, 76px); line-height: .83; }
  .intro-deck { margin: 26px 0 24px; font-size: 17px; line-height: 1.4; }
  .primary-action { width: 100%; }
  [data-start] { gap: 18px; font-size: 9px; letter-spacing: .1em; }
  .intro-notes { flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; }
  .offer-story { grid-template-columns: 1fr; gap: 24px; margin-top: 38px; padding: 26px 20px; }
  .offer-story h2 { font-size: clamp(42px, 12vw, 56px); }
  .offer-story-copy > p:first-child { font-size: 16px; }
  .offer-contract { grid-template-columns: 1fr; gap: 6px; }
  .reward-reminder-sticky { position: static; margin: 0 0 10px; }
  .test-screen, .survey-screen, .reveal-screen { width: min(100% - 28px, 680px); padding: 34px 0 56px; }
  .test-heading, .reveal-hero { display: block; }
  .test-heading .eyebrow, .reveal-hero .eyebrow { margin-bottom: 14px; }
  .test-heading h2, .survey-step h2, .reveal-hero h2 { font-size: clamp(43px, 12.5vw, 58px); line-height: .88; }
  .test-heading > p:last-child, .reveal-hero > p:last-child { margin-top: 20px; font-size: 16px; }
  .player-shell { margin-top: 26px; }
  .variant-switcher button { min-height: 90px; padding: 12px; }
  .variant-switcher span { font-size: 52px; }
  .variant-switcher small { display: none; }
  .transport { gap: 12px; padding: 14px 12px; }
  .play-button { flex-basis: 44px; width: 44px; height: 44px; }
  .player-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .downloads > div { right: auto; left: 0; }
  .survey-player { top: 8px; grid-template-columns: 42px 1fr; }
  .mini-switcher { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(3, 1fr); }
  .mini-switcher button { width: auto; }
  .survey-player { margin-bottom: 28px; }
  .rating-grid { margin: 26px 0 22px; }
  .rating-card { grid-template-columns: 1fr auto; padding: 10px; }
  .rating-card legend { font-size: 34px; }
  .rating-scale { grid-column: 1 / -1; }
  .continue-wrap { justify-items: stretch; }
  .continue-hint { max-width: none; font-size: 10px; text-align: left; }
  .rating-scale span { min-height: 64px; padding: 7px 4px; font-size: 9px; }
  .choice-grid { gap: 6px; }
  .choice-grid span { min-height: 104px; font-size: 58px; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-grid { margin: 34px 0 50px; }
  .identity-card { min-height: 172px; }
  .crowd-results { display: block; padding: 48px 0; }
  .crowd-results [data-results-body] { margin-top: 34px; }
  .beta-card { padding: 32px 20px; }
  .beta-card form { align-items: stretch; flex-direction: column; border-bottom: 0; }
  .beta-card input { border-bottom: 1px solid var(--paper); }
  .beta-card button { min-height: 52px; margin-top: 12px; }
}

@media (max-width: 420px) {
  .test-masthead { padding: 0 18px; }
  .wordmark { font-size: 20px; }
  .intro-screen { width: calc(100% - 36px); }
  .eyebrow { margin-bottom: 18px; }
  .intro-notes { font-size: 9px; }
  .test-screen, .survey-screen, .reveal-screen { width: calc(100% - 24px); }
  .rating-scale { gap: 3px; }
  .rating-scale span { font-size: 9px; }
  .player-footer { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Listening Journal — local design study. Existing controls and ballot logic stay intact. */
:root { --black:#17203a; --black-warm:#f7e9c7; --paper:#17203a; --dim:#48505d; --ember:#c63325; --amber:#173b9c; --line:rgba(23,32,58,.35); --mono:"Barlow Condensed", "Arial Narrow", sans-serif; }
html { background:#eadab8; }
body { color:var(--paper); background:#eadab8 url('/new-main/design-c/texture-paper-plain.webp') center/480px; font-size:18px; }
body::before,.film-grain { display:none; }
.test-masthead { border-bottom:2px solid #17203a; }
.test-masthead > p { color:#48505d; font-size:13px; font-weight:900; }
.test-masthead b { color:#17203a; border:2px solid #17203a; }
.wordmark { color:#17203a; }
.intro-screen { gap:5%; min-height:calc(100svh - 64px); }
.intro-screen::after { content:""; display:block; flex:1 1 46%; min-width:0; min-height:440px; align-self:center; border:3px solid #17203a; box-shadow:10px 10px #c63325; background:#173b9c url('/blind-test/scenes/listener-intro-v3.webp') center bottom/contain no-repeat; }
.intro-copy { width:50%; flex:0 1 50%; }
.intro-copy h1,.test-heading h2,.survey-step h2,.reveal-hero h2,.section-heading h3,.beta-card h3 { color:#173b9c; font-weight:900; line-height:.95; letter-spacing:-.025em; }
h1 em,h2 em,h3 em { color:#c63325; }
.eyebrow { color:#ae3024; font-size:14px; font-weight:900; letter-spacing:.12em; }
.intro-deck,.test-heading > p:last-child,.step-note,.reveal-hero > p:last-child { color:#303847; font-size:20px; }
.intro-notes,.intro-privacy-link { color:#303847; font-size:13px; }
.primary-action { min-height:52px; color:#fff2d2; background:#c63325; border:2px solid #17203a; box-shadow:4px 4px #17203a; font-size:15px; font-weight:900; letter-spacing:.06em; }
.primary-action:hover:not(:disabled) { background:#173b9c; color:#fff2d2; }
.primary-action:disabled { opacity:.48; }
.offer-story { background:#f8eac6; box-shadow:6px 6px #173b9c; border:2px solid #17203a; }
.offer-story-copy > p:first-child,.offer-contract { color:#303847; }
.reward-reminder { color:#17203a; background:#f4d444; border:2px solid #17203a; font-size:13px; }
.test-heading,.reveal-hero { display:block; min-height:180px; border-bottom:2px solid #17203a; padding-bottom:20px; }
.test-heading::after,.reveal-hero::after,.survey-step::before { content:""; float:right; width:180px; height:180px; margin:-150px 0 12px 20px; background-position:center; background-size:contain; background-repeat:no-repeat; }
.test-heading::after { background-image:url('/blind-test/scenes/listener-listening-v2.webp'); }
.reveal-hero::after { background-image:url('/blind-test/scenes/listener-screenprint-v1.webp'); }
.test-heading h2,.test-heading > p,.reveal-hero h2,.reveal-hero > p { max-width:calc(100% - 210px); }
.test-heading .eyebrow,.reveal-hero .eyebrow { margin-bottom:14px; }
.test-heading > p:last-child,.reveal-hero > p:last-child { margin-top:16px; }
.player-shell { padding:24px; background:#173b9c; border:3px solid #17203a; box-shadow:8px 8px #c63325; color:#f8eac6; }
.variant-switcher { gap:10px; }
.variant-switcher button { min-height:95px; border:2px solid #17203a; background:#f4e5be; color:#17203a; box-shadow:4px 4px #10245d; }
.variant-switcher button:last-child { border-right:2px solid #17203a; }
.variant-switcher button:hover { color:#17203a; background:#faedcf; }
.variant-switcher button[aria-pressed="true"] { color:#17203a; background:#f4d444; box-shadow:4px 4px #10245d; }
.variant-switcher small.is-heard { color:#173b9c; }
.transport { border-color:#8eabe0; margin-top:18px; }
.play-button,.survey-player > button { background:#c63325; border:2px solid #17203a; color:#fff2d2; }
.time-row,.player-footer { color:#f7e8c5; font-size:13px; }
.time-row span:nth-child(2),.downloads summary { color:#fff2d2; }
[data-seek]::-webkit-slider-runnable-track { background:#f5dfb2; height:3px; }
[data-seek]::-moz-range-track { background:#f5dfb2; height:3px; }
.heatline i { background:repeating-linear-gradient(90deg, transparent 0 3px, #f4d444 3px 4px); }
.downloads > div { background:#17203a; }
.downloads a { color:#fff2d2; }
.continue-hint { color:#303847; font-size:14px; }
.survey-player { background:#17254b; border:2px solid #17203a; color:#fff2d2; box-shadow:4px 4px #c63325; }
.survey-player span { color:#e5d7b8; }
.mini-switcher button { color:#fff2d2; border-color:#8eabe0; }
.mini-switcher button[aria-pressed="true"] { color:#17203a; background:#f4d444; border-color:#f4d444; }
.survey-step { display:flow-root; background:#f8eac6; border:2px solid #17203a; box-shadow:8px 8px #173b9c; padding:clamp(22px,3.2vw,40px); }
.survey-step::before { width:150px; height:150px; margin:0 0 12px 20px; }
.survey-step[data-step="readiness"]::before { background-image:url('/blind-test/scenes/listener-rating-v3.webp'); }
.survey-step[data-step="preference"]::before { background-image:url('/blind-test/scenes/listener-thinking-v2.webp'); }
.survey-step[data-step="origin"]::before { background-image:url('/blind-test/scenes/listener-guess-v3.webp'); }
.survey-step[data-step="profile"]::before { background-image:url('/blind-test/scenes/listener-profile-v3.webp'); }
.rating-grid,.choice-grid,.survey-step fieldset { clear:both; }
.rating-card { border:2px solid #17203a; background:#f3e1b5; }
.inline-listen { border-color:#17203a; color:#17203a; }
.inline-listen:hover { color:#173b9c; }
.rating-scale span { border:1px solid #17203a; color:#17203a; background:#fff2d3; font-size:13px; }
.rating-scale label:hover span { color:#17203a; border-color:#173b9c; }
.rating-scale input:checked + span { color:#fff2d2; background:#173b9c; border-color:#17203a; }
.rating-scale input:focus-visible + span,.choice-grid input:focus-visible + span,.option-cloud input:focus-visible + span { outline:3px solid #c63325; outline-offset:3px; }
.choice-grid span { border:2px solid #17203a; color:#173b9c; background:#f3e1b5; font-weight:900; }
.choice-grid label:hover span { color:#173b9c; border-color:#173b9c; }
.choice-grid input:checked + span { color:#17203a; background:#f4d444; border-color:#17203a; box-shadow:4px 4px #17203a; }
.option-cloud span { border:1px solid #17203a; background:#fff2d3; color:#17203a; font-size:15px; }
.option-cloud input:checked + span { color:#fff2d2; background:#173b9c; border-color:#17203a; }
.form-error { font-size:14px; }
.identity-grid { gap:10px; background:none; border:0; }
.identity-card,.identity-card.is-choice { color:#fff2d2; background:#173b9c; border:2px solid #17203a; }
.identity-card.is-choice { background:#c63325; }
.identity-card > span,.identity-card p { color:#f7e8c5; }
.result-bar { background:#c6b995; }.result-bar i { background:#c63325; box-shadow:none; }
.human-score,.privacy-note { color:#303847; }.human-score strong,.privacy-note a { color:#17203a; }
.beta-card { background:#f8eac6; border:2px solid #17203a; box-shadow:8px 8px #173b9c; }
.beta-card > p:not(.eyebrow):not(.beta-status):not(.privacy-note),.beta-status { color:#303847; }
.beta-card form { border-color:#17203a; }.beta-card input { color:#17203a; }.beta-card button { color:#fff2d2; background:#c63325; }
.reveal-actions button,.reveal-actions a { color:#17203a; font-size:13px; }
@media(max-width:820px) {
 .intro-screen { display:flex; flex-direction:column; align-items:stretch; gap:0; min-height:0; }
 .intro-copy { width:100%; padding-bottom:30px; }
 .intro-screen::after { flex:none; width:100%; min-height:300px; margin-bottom:45px; }
 .test-heading::after,.reveal-hero::after { width:100px; height:100px; margin:-105px 0 5px 8px; }
 .test-heading,.reveal-hero { min-height:125px; }
 .test-heading h2,.test-heading > p,.reveal-hero h2,.reveal-hero > p { max-width:calc(100% - 110px); }
 .test-heading > p:last-child,.reveal-hero > p:last-child { max-width:100%; clear:both; padding-top:14px; }
 .survey-step::before { width:100px; height:100px; margin:0 0 8px 10px; }
 .survey-step h2 { font-size:clamp(37px,9vw,58px); }
 .player-shell { padding:14px; }.variant-switcher { gap:5px; }.variant-switcher button { padding:9px; }
 .rating-scale span { font-size:11px; }.beta-card input { border-color:#17203a; }
}
.survey-step .rating-card { border:2px solid #17203a; padding:12px; margin:0; }
@media(max-width:820px) { .survey-step .rating-card { padding:10px; } }

/* Mobile refinements: legible choices, compact transport and an unobstructed reveal. */
@media (max-width: 820px) {
  .survey-player { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; padding: 8px; margin-bottom: 22px; }
  .survey-player > div:nth-child(2) { min-width: 0; }
  .survey-player b { font-size: 12px; }
  .survey-player span { font-size: 11px; }
  .mini-switcher { grid-column: auto; display: flex !important; gap: 4px !important; }
  .mini-switcher button { width: 36px; height: 42px; }
  .survey-step .rating-card { gap: 12px; }
  .rating-scale { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .rating-scale label:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rating-scale span { min-height: 44px; padding: 8px; font-size: 15px; line-height: 1.2; }
  .inline-listen { min-width: 58px; min-height: 44px; font-size: 12px; }
  .variant-switcher button { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 94px; }
  .variant-switcher small { display: block; font-size: 10px; line-height: 1.2; letter-spacing: .02em; }
  .reveal-hero { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 0 12px; align-items: center; }
  .reveal-hero .eyebrow, .reveal-hero h2 { grid-column: 1 / -1; max-width: none; }
  .reveal-hero h2 { overflow-wrap: anywhere; }
  .reveal-hero > p:last-child { grid-column: 1; max-width: none; clear: none; margin: 12px 0 0; padding: 0; }
  .reveal-hero::after { grid-column: 2; grid-row: 3; float: none; width: 100px; height: 100px; margin: 0; }
  .identity-card { min-height: 150px; }
}
@media (max-width: 360px) {
  .survey-player { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 5px; }
  .survey-player > button { width: 38px; height: 38px; }
  .mini-switcher button { width: 32px; }
  .reveal-hero { grid-template-columns: minmax(0, 1fr) 82px; }
  .reveal-hero::after { width: 82px; height: 82px; }
}
@media (max-width: 820px) {
  .survey-step::before { width: 80px; height: 80px; }
  .survey-step h2 { clear: both; }
  .test-heading { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 0 12px; align-items: center; }
  .test-heading .eyebrow, .test-heading h2 { grid-column: 1 / -1; max-width: none; }
  .test-heading > p:not(.eyebrow):not(.reward-reminder) { grid-column: 1; max-width: none; margin: 12px 0 0; color: #303847; font: 400 17px/1.4 var(--sans); }
  .test-heading::after { grid-column: 2; grid-row: 3; float: none; width: 100px; height: 100px; margin: 0; }
  .test-heading .reward-reminder { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .survey-step::before { width: 72px; height: 72px; }
  .survey-step h2 { font-size: 34px; line-height: .96; }
  .test-heading { grid-template-columns: minmax(0, 1fr) 82px; }
  .test-heading::after { width: 82px; height: 82px; }
}

/* Desktop polish: preserve the first action and readable supporting details. */
html { color-scheme: light; }
@media (min-width: 821px) {
  .intro-screen { align-items: flex-start; }
  .intro-screen::after { align-self: flex-start; margin-top: clamp(40px, 8vh, 80px); min-height: 420px; }
  .intro-copy { padding: clamp(40px, 7vh, 70px) 0 56px; }
  .intro-copy h1 { font-size: clamp(60px, 5.5vw, 78px); line-height: .94; }
  .intro-deck { margin: 24px 0; font-size: 20px; }
  .offer-story { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 36px; }
  .offer-story h2 { font-size: 48px; }
  .variant-switcher small, .time-row { font-size: 13px; }
  .player-footer { font-size: 15px; }
  .survey-player b { font-size: 13px; }
  .survey-player span { font-size: 12px; }
  .survey-step .rating-card legend { font-size: 20px; }
  .inline-listen { min-height: 42px; font-size: 13px; }
  .rating-scale span { font-size: 16px; }
  .option-cloud span { font-size: 16px; }
  .identity-card > span, .identity-card p { font-size: 14px; line-height: 1.35; }
  .identity-card h3 { font-size: 27px; }
  .result-row header { font-size: 15px; }
  .human-score, .privacy-note, .beta-status { font-size: 14px; }
  .beta-card button, .reveal-actions button, .reveal-actions a { font-size: 14px; }
}
@media (min-width: 821px) {
  .intro-screen:has(.offer-story[hidden]) { align-items: center; }
  .intro-screen:has(.offer-story[hidden])::after { align-self: center; margin-top: 0; }
  .rating-scale span { height: 100%; }
}
