/* ==========================================================================
   反应测试网 · fanyingceshiwz.com
   设计语言：暖米色纸面、深墨绿文字、衬线大标题、细边框、克制的动效
   技术：原生 CSS，无外部字体、无框架
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  color-scheme: light;
  --ink: #0b4ddb;
  --ink-soft: #0a3fa8;
  --text: #12345a;
  --bg: #f8f6f2;
  --surface: #f2eee9;
  --surface-deep: #ebe4da;
  --accent: #cfe0ff;
  --line: #c9d4e4;
  --line-strong: #93a6c0;
  --muted: #4c5f7a;
  --muted-light: #6b7c95;
  --white: #fffdf9;
  --warn: #8f3b2b;
  --ok: #2f5d3a;
  --choice-red: #a33f2a;
  --choice-yellow: #8a6d1f;
  --choice-blue: #2f5d7a;
  --choice-green: #2f6b3f;

  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    "Source Han Serif CN", "SimSun", Georgia, "Times New Roman", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;

  --container: 1280px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --section-y: clamp(64px, 8vw, 112px);
  --section-y-lg: clamp(80px, 10vw, 144px);
  --gap: clamp(20px, 2.4vw, 32px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.4s;
  --dur-fast: 0.3s;
  --shadow-card: 0 4px 12px rgba(11, 77, 219, 0.10);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

img,
svg,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--ink);
}

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

button {
  cursor: pointer;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- 2. Typography & layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 920px;
}

.section {
  padding-block: var(--section-y);
}

.section--lg {
  padding-block: var(--section-y-lg);
}

.section--surface {
  background: var(--surface);
}

.section--ink {
  background: var(--ink-soft);
  color: var(--bg);
}

.section--line {
  border-top: 1px solid var(--line);
}

.display,
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

h1 {
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: 1.12;
}

h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.16;
  text-wrap: balance;
}

h3 {
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.3;
}

h4 {
  font-size: 20px;
  line-height: 1.35;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow--ink {
  color: var(--accent);
}

.section--ink .eyebrow,
.section--ink h1,
.section--ink h2,
.section--ink h3 {
  color: var(--bg);
}

.section--ink .lede {
  color: #d5e1f2;
}

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

.small {
  font-size: 14px;
  line-height: 1.6;
}

.caption {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.nowrap {
  white-space: nowrap;
}

.center {
  text-align: center;
}

.stack > * + * {
  margin-top: 16px;
}

.flow > * + * {
  margin-top: 24px;
}

.grid {
  display: grid;
  gap: var(--gap);
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.split--wide-left {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.28fr);
  gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(36px, 4.8vw, 64px);
}

.section-head__main {
  max-width: 820px;
}

.section-head__aside {
  text-align: right;
  padding-bottom: 8px;
}

.section-head p {
  margin-top: 18px;
}

.rule {
  border-top: 1px solid var(--line);
}

.rule--ink {
  border-color: rgba(207, 224, 255, 0.22);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.tag--ink {
  border-color: rgba(207, 224, 255, 0.28);
  color: var(--accent);
}

.tag--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.kicker-number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease);
}

a:hover .arrow,
button:hover .arrow {
  transform: translateX(5px);
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--bg);
}

/* ---------- 3. Top bar & header ---------- */
.topbar {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  padding-block: 6px;
}

.topbar__group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9cc3ff;
  flex: none;
  box-shadow: 0 0 0 3px rgba(207, 224, 143, 0.16);
}

.topbar a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 77, 219, 0.4);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 242, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(11, 35, 64, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  border-radius: 1px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
}

.nav-link {
  display: inline-block;
  height: 1.45em;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  text-decoration: none;
  vertical-align: top;
  flex: none;
}

.nav-link__track {
  display: block;
  transition: transform var(--dur) var(--ease);
}

.nav-link__line {
  display: block;
  height: 1.45em;
  white-space: nowrap;
}

.nav-link:hover .nav-link__track,
.nav-link:focus-visible .nav-link__track {
  transform: translateY(-1.45em);
}

.nav-link[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -1px 0 var(--ink);
}

.nav-link[aria-current="page"] .nav-link__track {
  transform: none;
}

.header-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 0;
  color: var(--ink);
}

.nav-toggle:hover {
  background: var(--ink);
  color: var(--bg);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  justify-items: end;
  background: rgba(11, 35, 64, 0.42);
  opacity: 0;
  transition: opacity var(--dur-fast) ease-out;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav.is-open {
  opacity: 1;
}

.mobile-nav__panel {
  width: min(420px, 88vw);
  height: 100%;
  background: var(--bg);
  padding: 24px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(24px);
  transition: transform var(--dur) var(--ease);
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  padding-block: 12px;
}

.mobile-nav__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 22px;
  text-decoration: none;
  color: var(--ink);
}

.mobile-nav__links a span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.mobile-nav__foot {
  margin-top: auto;
  padding-top: 28px;
}

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 22px;
  border: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) ease-out, color var(--dur) ease-out,
    transform var(--dur-fast) ease-out, border-color var(--dur-fast) ease-out;
}

.btn:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.btn--ink:hover {
  background: transparent;
  color: var(--ink);
}

.btn--light {
  border-color: var(--bg);
  color: var(--bg);
}

.btn--light:hover {
  background: var(--bg);
  color: var(--ink);
}

.btn--sm {
  min-height: 38px;
  padding: 6px 14px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.btn--quiet {
  border-color: transparent;
  padding-inline: 4px;
  color: var(--muted);
}

.btn--quiet:hover {
  background: transparent;
  color: var(--ink);
  transform: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-slide {
  display: inline-block;
  height: 1.5em;
  overflow: hidden;
  vertical-align: top;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.link-slide__track {
  display: block;
  transition: transform var(--dur) var(--ease);
}

.link-slide__line {
  display: block;
  height: 1.5em;
  white-space: nowrap;
}

.link-slide:hover .link-slide__track,
.link-slide:focus-visible .link-slide__track {
  transform: translateY(-1.5em);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  font-size: 15px;
  color: var(--ink);
}

.link-arrow:hover {
  color: var(--text);
}

.link-underline {
  text-decoration: none;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  transition: background-size var(--dur-fast) ease-out;
}

.link-underline:hover {
  background-size: 0 1px;
}

/* ---------- 5. Hero ---------- */
.hero {
  padding-top: clamp(40px, 5vw, 76px);
  padding-bottom: var(--section-y);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -14vw;
  top: -12vw;
  width: 46vw;
  height: 46vw;
  min-width: 420px;
  min-height: 420px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(11, 77, 219, 0.12),
    rgba(11, 77, 219, 0) 68%
  );
  pointer-events: none;
  z-index: 0;
}

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

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.hero__copy {
  padding-top: clamp(4px, 2vw, 28px);
}

.hero h1 {
  max-width: 100%;
}

.hero h1 em {
  font-style: normal;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.hero__lede {
  margin-top: 24px;
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 32px;
}

.hero__note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-metric {
  padding: 18px 16px 18px 0;
}

.hero-metric + .hero-metric {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.hero-metric__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  color: var(--ink);
}

.hero-metric__label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Trust strip */
.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  gap: 12px 28px;
  flex-wrap: wrap;
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-strip__item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ---------- 6. Reaction test widget ---------- */
.test-shell {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(14px, 1.6vw, 22px);
  position: relative;
}

.test-shell__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.test-shell__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.test-shell__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.test-shell__best {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.test-shell__best strong {
  color: var(--ink);
  font-weight: 500;
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}

.mode-tab {
  min-height: 42px;
  padding: 7px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  transition: background-color var(--dur-fast) ease-out, color var(--dur-fast) ease-out,
    border-color var(--dur-fast) ease-out;
}

.mode-tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.mode-tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.test-stage {
  position: relative;
  min-height: 390px;
  border-radius: 2px;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  cursor: pointer;
  isolation: isolate;
}

.test-stage:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.test-stage[data-state="waiting"] {
  background: var(--ink);
  color: var(--bg);
  cursor: default;
}

.test-stage[data-state="go"] {
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}

.test-stage[data-state="early"] {
  background: var(--warn);
  color: var(--white);
}

.test-stage[data-state="result"] {
  background: var(--surface-deep);
  color: var(--ink);
}

.test-stage[data-state="error"] {
  background: #f0e3d6;
  color: var(--ink);
}

.test-stage[data-state="summary"] {
  background: var(--ink);
  color: var(--bg);
  cursor: default;
}

.stage-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(24px, 4vw, 40px);
}

.stage-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 16px;
}

.stage-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin: 0;
  color: inherit;
}

.stage-title--go {
  font-size: clamp(58px, 8vw, 96px);
  line-height: 1;
}

.stage-sub {
  max-width: 38ch;
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.82;
}

.stage-ms {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(54px, 8.2vw, 92px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: inherit;
}

.stage-ms small {
  font-family: var(--font-mono);
  font-size: 0.2em;
  letter-spacing: 0.08em;
  margin-left: 7px;
  vertical-align: 0.9em;
  opacity: 0.7;
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.stage-actions .btn {
  min-height: 44px;
}

.stage-hint {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.62;
}

.stage-start {
  margin-top: 24px;
}

.stage-start .btn {
  border-color: var(--ink);
  color: var(--ink);
}

.stage-start .btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.stage-progress {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
}

.stage-dot {
  width: 22px;
  height: 3px;
  background: currentColor;
  opacity: 0.22;
}

.stage-dot.is-done {
  opacity: 0.9;
}

.stage-dot.is-current {
  opacity: 0.55;
}

.stage-dot.is-bad {
  background: #f5b7a7;
  opacity: 0.95;
}

.stage-audio-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  pointer-events: none;
}

.audio-ring {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(207, 224, 255, 0.55);
  border-radius: 50%;
  animation: ring-out 0.9s var(--ease) forwards;
}

.audio-ring:nth-child(2) {
  animation-delay: 0.12s;
}

.audio-ring:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes ring-out {
  from {
    transform: scale(0.4);
    opacity: 0.9;
  }
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* Choice mode */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.choice-tile {
  min-height: 112px;
  border: 1px solid rgba(207, 224, 255, 0.32);
  background: transparent;
  color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  border-radius: 2px;
  transition: none;
  touch-action: manipulation;
}

.choice-tile__key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.66;
}

.choice-tile[data-active="true"] {
  color: var(--white);
  border-color: transparent;
}

.choice-tile[data-color="red"][data-active="true"] {
  background: var(--choice-red);
}

.choice-tile[data-color="yellow"][data-active="true"] {
  background: var(--choice-yellow);
}

.choice-tile[data-color="blue"][data-active="true"] {
  background: var(--choice-blue);
}

.choice-tile[data-color="green"][data-active="true"] {
  background: var(--choice-green);
}

.choice-tile[data-active="false"] {
  opacity: 0.42;
}

.choice-tile.is-missed {
  box-shadow: inset 0 0 0 2px #f5b7a7;
}

.test-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(207, 224, 255, 0.24);
  border: 1px solid rgba(207, 224, 255, 0.24);
  max-width: 460px;
  margin: 22px auto 0;
}

.test-summary-grid > div {
  background: var(--ink);
  padding: 12px 8px;
}

.test-summary-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--bg);
}

.test-summary-grid span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.test-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  background: var(--line);
  border: 1px solid var(--line);
}

.test-stat {
  background: var(--bg);
  padding: 10px 10px 9px;
}

.test-stat__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.test-stat__value {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.test-stat__value small {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
  margin-left: 2px;
}

.test-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.test-foot__left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.test-foot__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
}

.test-panel-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.test-panel-note a {
  color: var(--ink);
}

/* Test result toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 250;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.5;
  max-width: min(90vw, 420px);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) ease-out, transform var(--dur-fast) var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 7. Cards, modes, steps ---------- */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mode-card {
  background: var(--bg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: background-color var(--dur) ease-out;
}

.mode-card:hover {
  background: var(--surface);
}

.mode-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: auto;
}

.mode-card__num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--line-strong);
}

.mode-card h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.mode-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.mode-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
}

.card--surface {
  background: var(--surface);
}

.card--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.card--ink h3,
.card--ink h4 {
  color: var(--bg);
}

.card--ink p {
  color: #d5e1f2;
}

.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
  color: inherit;
}

.card__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.card__title {
  margin-top: 18px;
  margin-bottom: 10px;
}

.card__text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  counter-reset: step;
}

.step {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
  position: relative;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.step h3 {
  margin-top: 22px;
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Distribution module */
.distribution {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(24px, 3.4vw, 44px);
}

.distribution__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.distribution__scale {
  margin-top: 34px;
}

.dist-bar {
  position: relative;
  height: 54px;
  display: flex;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}

.dist-bar__seg {
  flex: 1;
  border-right: 1px solid var(--line);
  position: relative;
}

.dist-bar__seg:last-child {
  border-right: 0;
}

.dist-bar__seg span {
  position: absolute;
  left: 8px;
  bottom: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.dist-bar__seg:nth-child(1) {
  background: #e6ddcf;
}

.dist-bar__seg:nth-child(2) {
  background: #ddd2c2;
}

.dist-bar__seg:nth-child(3) {
  background: #d2c5b2;
}

.dist-bar__seg:nth-child(4) {
  background: #c7b8a2;
}

.dist-bar__seg:nth-child(5) {
  background: #bcab92;
}

.dist-bar__seg:nth-child(6) {
  background: #b19e83;
}

.dist-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.percentile-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 30px;
}

.percentile-tool .btn {
  white-space: nowrap;
  flex: none;
}

.percentile-tool__form,
.percentile-tool__out {
  background: var(--bg);
  padding: clamp(20px, 2.4vw, 28px);
}

.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.field-row {
  display: flex;
  gap: 8px;
}

.input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color var(--dur-fast) ease-out, box-shadow var(--dur-fast) ease-out;
}

.input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(11, 35, 64, 0.16);
}

.input::placeholder {
  color: var(--muted-light);
}

.percentile-out__value {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.percentile-out__label {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.percentile-out__bar {
  height: 6px;
  background: var(--line);
  margin-top: 18px;
  overflow: hidden;
}

.percentile-out__fill {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--ink);
  transition: width var(--dur) var(--ease);
}

.percentile-out__meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* Science timeline */
.science-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.timeline {
  border-left: 1px solid var(--line-strong);
  margin: 0;
  padding: 0 0 0 24px;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 26px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--ink);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline__time {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.timeline__title {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
}

.timeline__text {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* Factor grid */
.factor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.factor {
  background: var(--bg);
  padding: clamp(20px, 2.2vw, 28px);
  min-height: 220px;
}

.factor__num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.factor h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 21px;
}

.factor p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* Comparison table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--bg);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 14px;
  line-height: 1.6;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
}

.data-table td:first-child {
  color: var(--ink);
  font-weight: 500;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Checklist */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  background: var(--bg);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.checklist li::before {
  content: "□";
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1.2;
  color: var(--ink);
}

.checklist strong {
  color: var(--ink);
  font-weight: 500;
}

/* Evidence cards */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.evidence {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
}

.evidence__source {
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.evidence h3 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 23px;
}

.evidence p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* Device module */
.device-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  border: 1px solid rgba(207, 224, 255, 0.25);
}

.device-panel__copy {
  padding: clamp(28px, 4vw, 56px);
  border-right: 1px solid rgba(207, 224, 255, 0.18);
}

.device-panel__tool {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.refresh-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  color: var(--bg);
  font-variant-numeric: tabular-nums;
}

.refresh-display small {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-left: 6px;
  color: var(--accent);
}

.refresh-meta {
  margin-top: 14px;
  min-height: 44px;
  font-size: 13px;
  line-height: 1.65;
  color: #d5e1f2;
}

.section--ink .btn--light:hover {
  color: var(--ink);
}

.section--ink .link-arrow {
  color: var(--bg);
  border-color: var(--bg);
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.4;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  flex: none;
  transition: transform var(--dur-fast) ease-out;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--text);
}

.faq-item__body {
  max-width: 78ch;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

/* Article cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(20px, 2.4vw, 30px);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  color: inherit;
}

.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.article-card h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 23px;
}

.article-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.article-card__foot {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* CTA band */
.cta-band {
  background: var(--ink-soft);
  color: var(--bg);
  padding-block: clamp(56px, 7vw, 92px);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--bg);
  max-width: 16ch;
}

.cta-band p {
  color: #d5e1f2;
  margin-top: 14px;
  max-width: 52ch;
}

/* Footnote / sources */
.sources {
  counter-reset: source;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.sources li {
  counter-increment: source;
  position: relative;
  padding: 15px 0 15px 38px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.sources li::before {
  content: "[" counter(source) "]";
  position: absolute;
  left: 0;
  top: 15px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink);
}

.sources a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

.sources a:hover {
  text-decoration-color: var(--ink);
}

/* Methodology note */
.method-note {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: var(--gap);
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}

.method-note p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.method-note h3 {
  font-size: 24px;
}

/* ---------- 8. Inner pages ---------- */
.page-hero {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs span {
  color: var(--line-strong);
}

.page-hero h1 {
  max-width: 28ch;
  font-size: clamp(34px, 5.2vw, 64px);
}

.page-hero .lede {
  margin-top: 22px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}

.toc__title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  border-bottom: 1px solid var(--line);
}

.toc a {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.5;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--line-strong);
  flex: none;
  padding-top: 2px;
}

.toc a:hover,
.toc a.is-active {
  color: var(--ink);
}

.prose {
  max-width: 76ch;
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  margin-top: clamp(48px, 6vw, 72px);
  margin-bottom: 18px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose h3 {
  font-size: clamp(21px, 2vw, 26px);
  margin-top: 36px;
  margin-bottom: 12px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose p,
.prose li {
  font-size: 16.5px;
  line-height: 1.8;
}

.prose p {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
  margin: 0 0 1.15em;
}

.prose li {
  margin-bottom: 0.45em;
  color: var(--text);
}

.prose li::marker {
  color: var(--ink);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--accent) 62%);
}

.prose blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.45;
  color: var(--ink);
}

.prose blockquote p {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.prose figure {
  margin: 32px 0;
}

.prose figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}

.prose hr {
  margin: 40px 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  margin: 26px 0;
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.prose th {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--surface);
}

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.note strong {
  color: var(--ink);
}

.note--warn {
  border-left-color: var(--warn);
  background: #f4eae3;
}

.note p:last-child {
  margin-bottom: 0;
}

.key-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 32px 0;
}

.key-points > div {
  background: var(--surface);
  padding: 20px;
}

.key-points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 6px;
}

.key-points span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px 28px;
  margin: 40px 0;
}

.inline-cta h2,
.inline-cta h3 {
  font-size: 25px;
  margin: 0;
}

.inline-cta p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 36px;
}

.related-links a {
  background: var(--bg);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--dur-fast) ease-out;
}

.related-links a:hover {
  background: var(--surface);
  color: inherit;
}

.related-links span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.related-links strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
}

.history-tool {
  border: 1px solid var(--line);
  background: var(--bg);
}

.history-tool__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.history-tool__head h3 {
  font-size: 21px;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 90px 90px 70px;
  gap: 12px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.history-item:last-child {
  border-bottom: 0;
}

.history-item__date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.history-item__mode {
  color: var(--ink);
}

.history-item__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.history-item__num span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.history-empty {
  padding: 28px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Static pages */
.static-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(24px, 3vw, 40px);
}

.static-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.static-grid > div {
  background: var(--bg);
  padding: clamp(22px, 2.6vw, 32px);
}

.static-grid h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.static-grid p,
.static-grid li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.static-grid ul {
  padding-left: 1.2em;
  margin: 0;
}

.contact-block {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-block__mail {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-block__mail:hover {
  color: var(--text);
}

/* 404 */
.error-page {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: grid;
  place-items: center;
  padding-block: 80px;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 220px);
  line-height: 0.9;
  color: var(--ink);
}

.error-page h1 {
  margin-top: 18px;
  font-size: clamp(34px, 4vw, 50px);
}

.error-page p {
  max-width: 46ch;
  margin: 18px auto 0;
  color: var(--muted);
}

/* ---------- 9. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-top: clamp(48px, 6vw, 80px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  padding-bottom: clamp(44px, 5vw, 64px);
}

.footer-brand__tagline {
  margin-top: 18px;
  max-width: 40ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-mail:hover {
  color: var(--text);
}

.footer-mail svg {
  width: 24px;
  height: 24px;
  flex: none;
  transition: transform var(--dur-fast) var(--ease);
}

.footer-mail:hover svg {
  transform: translateX(6px);
}

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

.footer-col h2 {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
}

.footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px 24px;
}

.footer-legal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-disclaimer {
  margin-top: 12px;
  max-width: 92ch;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}

/* Back to top */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--dur-fast) ease-out, transform var(--dur-fast) var(--ease),
    background-color var(--dur-fast) ease-out, color var(--dur-fast) ease-out;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--ink);
  color: var(--bg);
}

/* Reading progress */
.read-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 0%;
  background: var(--ink);
  z-index: 210;
  pointer-events: none;
}

/* ---------- 10. Motion & reveal ---------- */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__copy > * {
  animation: rise-in 0.8s var(--ease) both;
}

.hero__copy > :nth-child(2) {
  animation-delay: 0.06s;
}

.hero__copy > :nth-child(3) {
  animation-delay: 0.12s;
}

.hero__copy > :nth-child(4) {
  animation-delay: 0.18s;
}

.hero__copy > :nth-child(5) {
  animation-delay: 0.24s;
}

.test-shell {
  animation: rise-in 0.8s var(--ease) 0.1s both;
}

/* ---------- 11. Responsive ---------- */
@media (max-width: 1180px) {
  .site-nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 14px;
  }

  .brand__sub {
    display: none;
  }

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

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    min-height: 68px;
  }

  :root {
    --header-h: 68px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero__copy {
    padding-top: 0;
  }

  .test-shell {
    max-width: 720px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    order: -1;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 18px 20px;
  }

  .toc ol {
    columns: 2;
    column-gap: 24px;
  }

  .toc li {
    break-inside: avoid;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-head__aside {
    text-align: left;
    padding-bottom: 0;
  }

  .split,
  .split--wide-left,
  .science-grid,
  .device-panel {
    grid-template-columns: 1fr;
  }

  .device-panel__copy {
    border-right: 0;
    border-bottom: 1px solid rgba(207, 224, 255, 0.18);
  }

  .mode-grid,
  .steps,
  .evidence-grid,
  .article-grid,
  .key-points,
  .related-links {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-item {
    grid-template-columns: 80px minmax(0, 1fr) 76px 76px;
  }

  .history-item__num:last-child {
    display: none;
  }
}

@media (max-width: 700px) {
  .btn--sm {
    min-height: 44px;
  }

  :root {
    --section-y: 60px;
    --section-y-lg: 72px;
  }

  h1 {
    font-size: clamp(38px, 10.4vw, 52px);
  }

  h2 {
    font-size: clamp(30px, 8.2vw, 42px);
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar__group:last-child {
    display: none;
  }

  .hero {
    padding-top: 32px;
  }

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

  .hero-metric {
    padding: 14px 0;
  }

  .hero-metric + .hero-metric {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .test-stage {
    min-height: 340px;
  }

  .test-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .test-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .test-summary-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .factor-grid,
  .checklist,
  .static-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .percentile-tool {
    grid-template-columns: 1fr;
  }

  .method-note {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-legal {
    flex-direction: column;
  }

  .history-item {
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
  }

  .history-item__date {
    grid-column: 1 / -1;
  }

  .history-item__num {
    text-align: left;
  }

  .history-item__num:last-child {
    display: block;
  }

  .toc ol {
    columns: 1;
  }

  .prose p,
  .prose li {
    font-size: 16px;
  }

  .cta-band__inner {
    align-items: flex-start;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 430px) {
  .brand__name {
    font-size: 20px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .mode-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .mode-tab {
    min-height: 44px;
  }

  .test-shell {
    padding: 12px;
  }

  .stage-inner {
    padding: 20px 16px;
  }

  .stage-title {
    font-size: 31px;
  }

  .stage-title--go {
    font-size: 56px;
  }

  .test-stage {
    min-height: 320px;
  }

  .choice-tile {
    min-height: 96px;
  }

  .btn-group .btn {
    width: 100%;
  }

  .field-row {
    flex-direction: column;
  }

  .field-row .btn {
    width: 100%;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .link-slide__track,
  .nav-link__track {
    transition: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .mobile-nav,
  .test-shell,
  .to-top,
  .cta-band,
  .site-footer,
  .read-progress {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .page-hero,
  .section {
    padding-block: 20px;
  }

  .article-layout {
    display: block;
  }

  .toc {
    display: none;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* 测试状态与深色背景下的按钮补充 */
.test-stage[data-state="go"][data-mode="auditory"],
.test-stage[data-state="go"][data-mode="choice"] {
  background: var(--ink);
  color: var(--bg);
}

.test-stage[data-state="summary"] .btn,
.test-stage[data-state="early"] .btn {
  border-color: var(--bg);
  color: var(--bg);
}

.test-stage[data-state="summary"] .btn:hover,
.test-stage[data-state="early"] .btn:hover {
  background: var(--bg);
  color: var(--ink);
}

.test-stage[data-state="result"] .btn,
.test-stage[data-state="error"] .btn {
  border-color: var(--ink);
  color: var(--ink);
}

.test-stage[data-state="result"] .btn:hover,
.test-stage[data-state="error"] .btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.test-foot__stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.test-foot__stat strong {
  color: var(--ink);
  font-weight: 500;
}

/* 防止网格/弹性子项被宽表格撑开（移动端出现横向溢出） */
.article-layout > *,
.prose,
.grid > *,
.split > *,
.science-grid > *,
.device-panel > *,
.method-note > *,
.related-links > * {
  min-width: 0;
}

.table-wrap,
.prose .table-wrap {
  max-width: 100%;
}

/* 无 JavaScript 时的移动端导航回退 */
.no-js .header-inner {
  flex-wrap: wrap;
}

.no-js .site-nav {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px 18px;
  padding-bottom: 12px;
}

.no-js .nav-toggle {
  display: none;
}

.no-js .stage-start {
  display: none;
}

.no-js .stage-inner noscript .stage-sub {
  opacity: 1;
  font-size: 14px;
}

.no-js .mobile-nav {
  display: none;
}

.btn.is-armed {
  border-color: var(--warn);
  color: var(--warn);
  background: #f4eae3;
}

/* 分享失败时的手动复制对话框 */
.share-dialog {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 35, 64, 0.44);
}

.share-dialog__panel {
  width: min(92vw, 560px);
  background: var(--bg);
  border: 1px solid var(--ink);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 12px 40px rgba(11, 35, 64, 0.18);
}

.share-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.share-dialog__head h2 {
  font-size: 26px;
}

.share-dialog__note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.share-dialog__text {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
}

.share-dialog__text:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(11, 35, 64, 0.16);
}

.share-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 36px;
  }

  .page-hero h1 {
    font-size: 30px;
  }
}

/* 避免 DOI / 长链接在窄屏撑开布局 */
.prose a,
.sources a {
  overflow-wrap: anywhere;
}

.br-narrow {
  display: none;
}

@media (max-width: 360px) {
  .br-narrow {
    display: inline;
  }
}

.mobile-nav__links a[aria-current="page"] {
  color: var(--text);
}

/* ==========================================================================
   Typography refinement
   降低 H1/H2 的展示字号，抬高正文、标签、表格与页脚的可读字号
   ========================================================================== */
body {
  font-size: 17px;
}

h1 {
  font-size: clamp(40px, 4.4vw, 56px);
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
}

h3 {
  font-size: clamp(21px, 1.8vw, 25px);
}

h4 {
  font-size: 19px;
}

.hero h1 {
  font-size: clamp(38px, 4.4vw, 56px);
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 50px);
}

.lede {
  font-size: clamp(18px, 1.25vw, 20px);
}

.eyebrow,
.caption {
  font-size: 12px;
}

.small {
  font-size: 15px;
}

.topbar {
  font-size: 11px;
}

.brand__sub {
  font-size: 10px;
}

.nav-link {
  font-size: 16px;
}

.btn {
  font-size: 16px;
}

.btn--sm {
  font-size: 14px;
}

.link-slide,
.link-arrow,
.link-underline {
  font-size: 16px;
}

.hero-metric__value {
  font-size: clamp(24px, 2.2vw, 30px);
}

.hero-metric__label {
  font-size: 10.5px;
}

.trust-strip__inner {
  font-size: 11px;
}

.test-shell__label {
  font-size: 10.5px;
}

.test-shell__best {
  font-size: 11px;
}

.mode-tab {
  font-size: 14px;
}

.stage-eyebrow {
  font-size: 11px;
}

.stage-title {
  font-size: clamp(30px, 3.2vw, 44px);
}

.stage-title--go {
  font-size: clamp(52px, 6.2vw, 76px);
}

.stage-sub {
  font-size: 15.5px;
}

.stage-ms {
  font-size: clamp(48px, 6.6vw, 78px);
}

.stage-hint {
  font-size: 11px;
}

.test-stat__label {
  font-size: 10px;
}

.test-stat__value {
  font-size: 22px;
}

.test-stat__value small {
  font-size: 10px;
}

.test-summary-grid strong {
  font-size: 23px;
}

.test-summary-grid span {
  font-size: 10px;
}

.test-foot {
  font-size: 10.5px;
}

.test-panel-note {
  font-size: 13.5px;
}

.mode-card p {
  font-size: 15px;
}

.mode-card__num {
  font-size: 40px;
}

.card__index,
.card__foot,
.step__num,
.factor__num,
.evidence__source,
.article-card__meta,
.article-card__foot,
.related-links span,
.toc__title,
.page-meta,
.breadcrumbs {
  font-size: 10.5px;
}

.card__text,
.step p,
.checklist li,
.evidence p,
.method-note p,
.static-grid p,
.static-grid li,
.history-empty,
.inline-cta p {
  font-size: 15px;
}

.factor p {
  font-size: 15px;
}

.factor h3,
.evidence h3,
.article-card h3,
.static-grid h2 {
  font-size: 22px;
}

.data-table,
.prose table {
  font-size: 15px;
}

.data-table th,
.prose th {
  font-size: 10.5px;
}

.refresh-meta {
  font-size: 14px;
}

.faq-item summary {
  font-size: clamp(20px, 1.6vw, 22px);
}

.faq-item__body {
  font-size: 16px;
}

.article-card p {
  font-size: 14.5px;
}

.sources li {
  font-size: 14.5px;
}

.toc a {
  font-size: 14px;
}

.toc a::before {
  font-size: 10px;
}

.prose h2 {
  font-size: clamp(27px, 2.6vw, 36px);
}

.prose h3 {
  font-size: clamp(21px, 1.8vw, 24px);
}

.prose p,
.prose li {
  font-size: 17.5px;
}

.prose blockquote {
  font-size: clamp(20px, 2.2vw, 25px);
}

.prose figcaption {
  font-size: 11.5px;
}

.note {
  font-size: 15px;
}

.key-points strong {
  font-size: 22px;
}

.key-points span {
  font-size: 13px;
}

.inline-cta h2,
.inline-cta h3 {
  font-size: 24px;
}

.related-links strong {
  font-size: 20px;
}

.history-item {
  font-size: 14px;
}

.history-item__date {
  font-size: 11px;
}

.history-item__num span {
  font-size: 9.5px;
}

.error-page h1 {
  font-size: clamp(32px, 3.6vw, 44px);
}

.footer-brand__tagline {
  font-size: 15px;
}

.footer-col h2 {
  font-size: 10.5px;
}

.footer-col a {
  font-size: 14px;
}

.footer-legal {
  font-size: 12px;
}

.footer-disclaimer {
  font-size: 11.5px;
}

.contact-block__mail {
  font-size: clamp(22px, 2.6vw, 32px);
}

@media (max-width: 1080px) {
  h1,
  .hero h1 {
    font-size: clamp(36px, 4.6vw, 50px);
  }

  .page-hero h1 {
    font-size: clamp(32px, 4.2vw, 46px);
  }
}

@media (max-width: 700px) {
  h1,
  .hero h1 {
    font-size: clamp(34px, 9vw, 42px);
  }

  h2 {
    font-size: clamp(26px, 6.6vw, 32px);
  }

  .page-hero h1 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .prose p,
  .prose li {
    font-size: 17px;
  }

  .footer-legal {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 34px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 26px;
  }
}

.refresh-display {
  font-size: clamp(44px, 5vw, 64px);
}

.tag {
  font-size: 11.5px;
}

.field-label {
  font-size: 10.5px;
}

.percentile-out__value {
  font-size: clamp(32px, 3.6vw, 44px);
}

.percentile-out__label {
  font-size: 14.5px;
}

.percentile-out__meta {
  font-size: 10.5px;
}

.dist-bar__seg span {
  font-size: 9.5px;
}

.dist-axis {
  font-size: 10.5px;
}

.page-meta,
.breadcrumbs {
  font-size: 11.5px;
}

.toc__title {
  font-size: 11px;
}

.history-item__num span {
  font-size: 10px;
}

.evidence__source {
  font-size: 11px;
}

.input {
  font-size: 17px;
}

.article-card p {
  font-size: 15px;
}

.test-panel-note {
  font-size: 14px;
}

.share-dialog__note {
  font-size: 14px;
}

.share-dialog__text {
  font-size: 14px;
}
