:root {
  --night: #091018;
  --night-deep: #050a10;
  --ink: #e8eee8;
  --muted: #9aa8aa;
  --faint: #54636b;
  --line: rgba(201, 224, 218, 0.2);
  --line-strong: rgba(201, 224, 218, 0.48);
  --panel: rgba(17, 30, 39, 0.8);
  --panel-solid: #111e27;
  --amber: #ffcb69;
  --amber-soft: #f3dca8;
  --cyan: #86e4d4;
  --red: #ff8e76;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", monospace;
  --radius-large: 28px;
  --radius-medium: 16px;
  --shell: min(1220px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night-deep);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(134, 228, 212, 0.1), transparent 26rem),
    radial-gradient(circle at 10% 32%, rgba(255, 203, 105, 0.08), transparent 24rem),
    var(--night);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: -2;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(134, 228, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 228, 212, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

body::after {
  z-index: 30;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select,
input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
}

button:disabled,
select:disabled,
input:disabled {
  cursor: not-allowed;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-status,
.mono-label,
.eyebrow,
.instrument-facts,
.panel-note,
.summary-mark {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.header-status {
  color: var(--muted);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(134, 228, 212, 0.1);
}

.locale-picker select {
  min-height: 36px;
  padding: 4px 28px 4px 10px;
  color: var(--amber-soft);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.locale-picker select:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(134, 228, 212, 0.15);
}

.locale-picker option {
  color: var(--night);
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  min-height: 660px;
  padding-block: 86px 92px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--cyan);
}

.eyebrow span {
  padding-inline: 7px;
  color: var(--faint);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(3.8rem, 8.2vw, 8.25rem);
  line-height: 0.88;
}

h1 em {
  display: block;
  color: var(--amber);
  font-size: 0.58em;
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.intro-copy {
  max-width: 610px;
  margin-bottom: 34px;
  color: #c5cfcc;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, gap 160ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  gap: 18px;
  color: var(--cyan);
}

.text-link:focus-visible,
.wordmark:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.hero-instrument {
  display: grid;
  gap: 28px;
  align-self: center;
  min-height: 420px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background: rgba(12, 24, 32, 0.5);
  transform: rotate(1.5deg);
}

.instrument-orbit {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 203, 105, 0.11), transparent 8rem),
    #0a151d;
}

.instrument-orbit::before,
.instrument-orbit::after {
  position: absolute;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 70px 28px 0 rgba(232, 238, 232, 0.62), 146px 98px 0 var(--amber), 220px 48px 0 rgba(134, 228, 212, 0.78), 306px 160px 0 rgba(232, 238, 232, 0.7), 82px 188px 0 rgba(232, 238, 232, 0.45), 270px 224px 0 var(--amber);
}

.instrument-orbit::before { top: 36px; left: 28px; }
.instrument-orbit::after { right: 38px; bottom: 30px; width: 3px; height: 3px; opacity: 0.8; }

.orbit-ring,
.orbit-axis,
.orbit-star {
  position: absolute;
  display: block;
}

.orbit-ring {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(134, 228, 212, 0.48);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
}

.orbit-ring-one { width: 190px; height: 112px; }
.orbit-ring-two { width: 112px; height: 190px; border-color: rgba(255, 203, 105, 0.5); transform: translate(-50%, -50%) rotate(42deg); }

.orbit-axis {
  top: 50%;
  left: 50%;
  width: 230px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  transform: translate(-50%, -50%) rotate(-34deg);
}

.orbit-star { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.orbit-star-one { top: 24%; left: 25%; }
.orbit-star-two { top: 66%; left: 72%; width: 5px; height: 5px; background: var(--cyan); }
.orbit-star-three { top: 37%; left: 60%; width: 3px; height: 3px; background: var(--ink); }

.instrument-caption {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  padding-top: 4px;
}

.instrument-caption p {
  margin: 0;
  color: var(--amber-soft);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.instrument-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.section-rule {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.section-rule i {
  display: block;
  height: 1px;
  background: var(--line);
}

.section-rule-inner {
  width: var(--shell);
  margin: 0 auto 80px;
}

.survey-shell {
  padding-block: 110px 130px;
}

.section-heading {
  max-width: 670px;
  margin-bottom: 58px;
}

.section-heading h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.8rem, 5vw, 5.7rem);
  line-height: 0.92;
}

.section-heading > p:last-child {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading-wide {
  max-width: 780px;
}

form {
  min-width: 0;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.question-set {
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, rgba(17, 30, 39, 0.88), rgba(11, 24, 32, 0.55));
}

.question-set > legend,
.beta-fieldset > legend {
  max-width: 960px;
  padding: 0;
  margin-bottom: 30px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.question-index {
  display: inline-block;
  min-width: 2.3em;
  margin-right: 10px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.65em;
  letter-spacing: 0.08em;
  vertical-align: 0.2em;
}

.choice-grid {
  display: grid;
  gap: 10px;
}

.choice-grid-four { grid-template-columns: repeat(4, 1fr); }
.choice-grid-five { grid-template-columns: repeat(5, 1fr); }
.choice-grid-three { grid-template-columns: repeat(3, 1fr); }
.choice-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 440px; }

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  color: #bfcac7;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 14, 20, 0.38);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.choice-card:hover {
  color: var(--ink);
  border-color: rgba(134, 228, 212, 0.62);
  background: rgba(134, 228, 212, 0.08);
  transform: translateY(-2px);
}

.choice-card:has(input:focus-visible) {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(134, 228, 212, 0.12);
}

.choice-card:has(input:checked) {
  color: var(--night);
  border-color: var(--amber);
  background: var(--amber);
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-card span {
  width: 100%;
  font-size: 0.9rem;
  line-height: 1.28;
}

.field-note {
  margin: 14px 0 0;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.subquestion {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.subquestion > label,
.sublegend,
.reference-tools legend {
  display: block;
  margin-bottom: 14px;
  color: var(--amber-soft);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.subquestion select,
.subquestion textarea,
.conditional-input,
.beta-grid input,
.beta-grid select {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: rgba(5, 14, 20, 0.66);
}

.subquestion textarea {
  resize: vertical;
  line-height: 1.45;
}

.subquestion select:focus-visible,
.subquestion textarea:focus-visible,
.conditional-input:focus-visible,
.beta-grid input:focus-visible,
.beta-grid select:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(134, 228, 212, 0.12);
}

select option {
  color: var(--night);
  background: var(--ink);
}

.attention-check {
  padding-bottom: 10px;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button {
  min-height: 56px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button-primary {
  color: var(--night);
  background: var(--amber);
}

.button-primary:hover:not(:disabled),
.button-primary:focus-visible:not(:disabled) {
  background: var(--cyan);
  transform: translateY(-2px);
}

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

.button:disabled {
  color: var(--faint);
  border-color: var(--line);
  background: rgba(17, 30, 39, 0.6);
}

#open-disclosure {
  margin-top: 34px;
}

.disclosure-section {
  padding-top: 120px;
}

.disclosure-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background: rgba(17, 30, 39, 0.62);
  overflow: hidden;
}

.disclosure-card > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
  color: var(--amber-soft);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.7vw, 2.2rem);
  letter-spacing: -0.025em;
  list-style: none;
}

.disclosure-card > summary::-webkit-details-marker {
  display: none;
}

.disclosure-card > summary::after {
  width: 26px;
  height: 26px;
  content: "+";
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}

.disclosure-card[open] > summary {
  border-bottom: 1px solid var(--line);
}

.disclosure-card[open] > summary::after {
  content: "–";
}

.disclosure-card > summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -4px;
}

.summary-mark {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: var(--night);
  border-radius: 4px;
  background: var(--cyan);
}

.disclosure-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1px;
  background: var(--line);
}

.storyboard-panel,
.requirement-card {
  min-width: 0;
  padding: 28px;
  background: var(--panel-solid);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.mono-label { color: var(--cyan); }
.panel-note { color: var(--faint); text-align: right; }

.storyboard {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #071119;
}

.storyboard-svg {
  display: block;
  width: 100%;
  height: auto;
  color: rgba(134, 228, 212, 0.58);
}

.story-orbit {
  fill: none;
  stroke: rgba(134, 228, 212, 0.36);
  stroke-width: 1;
}

.story-orbit-inner { stroke: rgba(255, 203, 105, 0.46); stroke-dasharray: 4 8; }
.story-stars circle,
.rotation-stars circle { fill: var(--amber); }
.phone { fill: #1c3540; stroke: var(--amber); stroke-width: 2; }
.phone-screen { fill: #071119; stroke: rgba(134, 228, 212, 0.55); stroke-width: 1; }
.mount { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.clamp { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; }
.rotation-arc { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 8 8; }
.rotation-arrow { fill: var(--amber); }
.correction-line { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 5 5; }
.correction-knob { fill: var(--amber); }
.verify-ring { fill: rgba(134, 228, 212, 0.12); stroke: var(--cyan); stroke-width: 3; }
.verify-mark { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.no-result-card { fill: #0d2028; stroke: var(--red); stroke-width: 2; }
.no-result-line { fill: none; stroke: var(--muted); stroke-width: 4; stroke-linecap: round; }
.no-result-dot { fill: none; stroke: var(--red); stroke-width: 3; }
.no-result-slash { stroke: var(--red); stroke-width: 3; stroke-linecap: round; }

.story-stage { opacity: 0; }
.story-stage-attach { opacity: 1; }

.storyboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 54px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.storyboard-state {
  color: var(--amber-soft);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
}

.storyboard-track {
  display: flex;
  gap: 7px;
  flex: 0 0 auto;
}

.track-dot {
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid var(--faint);
  border-radius: 50%;
}

.track-dot.active { border-color: var(--amber); background: var(--amber); }

.demo-copy {
  margin: 22px 0 0;
  color: #c5cfcc;
  font-size: 0.95rem;
  line-height: 1.7;
}

.requirement-card {
  background: #0d1b23;
}

.requirement-card ul {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.requirement-card li {
  position: relative;
  padding-left: 24px;
  color: #c5cfcc;
  font-size: 0.95rem;
  line-height: 1.55;
}

.requirement-card li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--amber);
}

.requirement-card strong,
.demo-copy strong { color: var(--amber-soft); }

.disclosure-open-note {
  padding: 12px 16px;
  margin: 16px 0 -4px;
  color: var(--night);
  border-radius: 8px;
  background: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

#choice-fieldset {
  margin-top: 40px;
}

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

.choice-list .choice-card:first-child {
  grid-column: 1 / -1;
  border-color: rgba(255, 203, 105, 0.38);
}

.beta-fieldset {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.beta-fieldset > legend {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.beta-details {
  padding: 24px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(5, 14, 20, 0.44);
}

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

.beta-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 24px;
}

.reference-tools legend { flex-basis: 100%; }
.reference-tools label,
.consent-line { color: var(--muted); font-size: 0.86rem; }

.reference-tools input,
.consent-line input {
  accent-color: var(--amber);
}

.consent-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 22px;
  line-height: 1.5;
}

.button-submit {
  margin-top: 40px;
}

.submission-status {
  padding: 16px 18px;
  margin: 18px 0 0;
  color: var(--night);
  border-left: 4px solid var(--amber);
  background: var(--cyan);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 30px;
  padding-block: 40px 70px;
  border-top: 1px solid var(--line);
}

.footer-identity {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.2;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.footer-column p { margin: 0; }
.footer-column a { color: var(--amber-soft); text-decoration: none; }
.footer-column a:hover { color: var(--cyan); }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: reveal-copy 800ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero-instrument { animation: reveal-instrument 900ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .story-stage-attach { animation: storyboard-attach 12s infinite; }
  .story-stage-rotate { animation: storyboard-rotate 12s infinite; }
  .story-stage-correct { animation: storyboard-correct 12s infinite; }
  .story-stage-verify { animation: storyboard-verify 12s infinite; }
  .story-stage-no-result { animation: storyboard-no-result 12s infinite; }
}

@keyframes reveal-copy {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal-instrument {
  from { opacity: 0; transform: translateY(24px) rotate(1.5deg); }
  to { opacity: 1; transform: translateY(0) rotate(1.5deg); }
}

@keyframes storyboard-attach { 0%, 17% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes storyboard-rotate { 0%, 18% { opacity: 0; } 22%, 38% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes storyboard-correct { 0%, 40% { opacity: 0; } 44%, 58% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes storyboard-verify { 0%, 60% { opacity: 0; } 64%, 78% { opacity: 1; } 82%, 100% { opacity: 0; } }
@keyframes storyboard-no-result { 0%, 80% { opacity: 0; } 84%, 98% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 900px) {
  :root { --shell: min(calc(100% - 32px), 720px); }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 64px 70px; }
  .hero-instrument { max-width: 600px; min-height: 360px; }
  .choice-grid-four,
  .choice-grid-five { grid-template-columns: repeat(2, 1fr); }
  .disclosure-content { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); --radius-large: 20px; }
  .site-header { min-height: 70px; }
  .header-status { display: none; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero { padding-block: 54px 56px; }
  .hero-instrument { padding: 16px; transform: none; }
  .instrument-caption { grid-template-columns: 1fr; gap: 10px; }
  .instrument-caption p { font-size: 1.2rem; }
  .survey-shell { padding-block: 74px 90px; }
  .question-set { padding: 20px; }
  .question-set > legend { font-size: 1.65rem; }
  .choice-grid-four,
  .choice-grid-five,
  .choice-grid-three,
  .choice-grid-two,
  .choice-list,
  .beta-grid { grid-template-columns: 1fr; }
  .choice-list .choice-card:first-child { grid-column: auto; }
  .disclosure-section { padding-top: 78px; }
  .section-rule-inner { width: var(--shell); margin-bottom: 54px; }
  .disclosure-card > summary { align-items: flex-start; padding: 18px; font-size: 1.45rem; }
  .summary-mark { margin-top: 3px; }
  .storyboard-panel, .requirement-card { padding: 18px; }
  .panel-heading { display: block; }
  .panel-note { display: block; margin-top: 8px; text-align: left; }
  .storyboard-footer { display: block; }
  .storyboard-track { margin-top: 12px; }
  .site-footer { grid-template-columns: 1fr; gap: 26px; padding-block: 30px 54px; }
}

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