/* MBTI研究院 · site.css
   Editorial research notebook: warm paper, ink, vermilion, one strong type grid.
   No external frameworks, no tracking, no stock imagery. */

/* 字体使用系统中文字体栈：Windows / macOS / Android 各自有合适的高质量字体。
   不打包 20MB+ 的中文字体，保证 IIS 拷贝部署后的首屏速度。 */

:root {
  --paper: #f5f0e4;
  --paper-2: #ece3d1;
  --paper-3: #fbf8f0;
  --white: #fffdf7;
  --ink: #191b17;
  --ink-2: #2d3028;
  --ink-soft: #494d43;
  --muted: #6d7164;
  --line: #d7cfbd;
  --line-strong: #bdb29a;
  --accent: #b0392a;
  --accent-dark: #8b2a1e;
  --accent-soft: #f1dfd8;
  --forest: #4f6353;
  --gold: #9b7137;
  --blue: #3e5668;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --wrap: 1240px;
  --shadow: 0 24px 70px rgba(25, 27, 23, 0.11);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink-2);
  background-color: var(--paper);
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--accent); color: var(--white); }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin-top: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(100% - 64px, var(--wrap));
  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;
}

[hidden] { display: none !important; }

.mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#test-app { scroll-margin-top: 96px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: #e4b6a9; }

.nowrap { white-space: nowrap; }

.text-link {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.text-link:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ---------- top line + masthead ---------- */

.topline {
  background: var(--ink);
  color: rgba(255, 253, 247, .62);
  font-size: 10.5px;
  letter-spacing: .06em;
}
.topline-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topline p { display: flex; align-items: center; gap: 8px; }
.topline strong { color: rgba(255, 253, 247, .9); font-weight: 500; }
.topline .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #c95b48;
  box-shadow: 0 0 0 3px rgba(201, 91, 72, .15);
}
.topline-meta span { color: rgba(255, 253, 247, .28); margin: 0 3px; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(245, 240, 228, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.masthead-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 38px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark { width: 38px; height: 38px; }
.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .09em;
  color: var(--ink);
}
.brand-text span {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .16em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 9px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transition: right .22s ease;
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}
.header-test {
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  white-space: nowrap;
}
.header-test:hover { color: var(--accent); border-color: var(--accent); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  padding: 0;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform .2s ease;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #33372e; }
.btn--line {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--line:hover { border-color: var(--ink); background: rgba(255, 253, 247, .55); }
.btn--paper { background: var(--white); color: var(--ink); }
.btn--paper:hover { background: var(--paper-3); }
.btn--sm { min-height: 40px; padding: 0 15px; font-size: 12px; }
.btn .sub {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .06em;
  opacity: .7;
}
.btn .arrow { font-size: 15px; line-height: 1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 76px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
  opacity: .55;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 68px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 86px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}
.h1-accent {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}
.h1-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: .07em;
  height: .09em;
  background: var(--accent);
  opacity: .22;
}
.hero-lede {
  max-width: 36em;
  margin-top: 28px;
  font-size: 17.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-note {
  max-width: 34em;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 27px;
  padding: 0;
  list-style: none;
  font-size: 11.5px;
  color: var(--muted);
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex: 0 0 auto;
}

.hero-aside {
  position: relative;
  margin-left: auto;
  width: 100%;
  max-width: 475px;
  padding-top: 10px;
}
.hero-aside::before {
  content: "16";
  position: absolute;
  top: -72px;
  right: -34px;
  z-index: 0;
  font-family: var(--serif);
  font-size: 280px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(25, 27, 23, .12);
  pointer-events: none;
}

.pro-card {
  position: relative;
  z-index: 2;
  padding: 27px 28px 23px;
  background: var(--ink);
  color: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: 22px 22px 0 rgba(176, 57, 42, .075);
  overflow: hidden;
}
.pro-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 253, 247, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 247, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.pro-card > * { position: relative; z-index: 1; }
.pro-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .13em;
  color: rgba(255, 253, 247, .52);
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
}
.pro-card h2 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.pro-card .pro-sub {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(255, 253, 247, .58);
}
.pro-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0 16px;
  border-top: 1px solid rgba(255, 253, 247, .15);
  border-bottom: 1px solid rgba(255, 253, 247, .15);
}
.pro-metric { padding: 15px 0 13px; }
.pro-metric + .pro-metric {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 253, 247, .15);
}
.pro-metric strong {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.pro-metric strong small { font-size: 16px; font-weight: 400; color: rgba(255, 253, 247, .7); }
.pro-metric span { display: block; margin-top: 4px; font-size: 10.5px; color: rgba(255, 253, 247, .48); }
.pro-list {
  display: grid;
  gap: 7px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: rgba(255, 253, 247, .72);
}
.pro-list li { display: flex; gap: 9px; }
.pro-list li::before { content: "—"; color: #d47765; flex: 0 0 auto; }
.pro-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 0 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease;
}
.pro-cta:hover { background: #c54a39; }
.pro-cta .arrow { font-size: 18px; }
.pro-note {
  margin-top: 10px;
  font-size: 9.5px;
  color: rgba(255, 253, 247, .38);
  text-align: center;
}

.quick-card {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: -12px 30px 0 -24px;
  padding: 15px 18px;
  background: var(--paper-3);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(25, 27, 23, .08);
  transition: transform .2s ease, border-color .2s ease;
}
.quick-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.quick-card .num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.quick-card .q-text { min-width: 0; }
.quick-card strong { display: block; font-size: 14px; color: var(--ink); }
.quick-card span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.quick-card .q-arrow { margin-left: auto; font-size: 18px; color: var(--accent); }

/* ---------- generic sections ---------- */

.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section--tight { padding: 64px 0; }
.section--flush { border-top: 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 410px);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}
.section-head--stack { grid-template-columns: 1fr; gap: 18px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(31px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}
.section-head .side {
  padding-bottom: 3px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}
.section-head .side p + p { margin-top: 10px; }
.section-head .side a { color: var(--ink); }

.section-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.section-foot p { font-size: 12px; color: var(--muted); }

/* ---------- proof ---------- */

.proof {
  padding: 68px 0 52px;
  background: var(--paper-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 64px;
  align-items: end;
}
.proof-top h2 {
  max-width: 16em;
  font-family: var(--serif);
  font-size: clamp(31px, 3.5vw, 47px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}
.proof-top .side { font-size: 13px; line-height: 1.85; color: var(--muted); }
.proof-top .side strong { color: var(--ink); font-weight: 600; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line);
}
.stat {
  padding: 24px 24px 0 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; padding-right: 0; }
.stat .k {
  display: block;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 53px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--ink);
}
.stat strong small { font-size: .42em; font-weight: 500; color: var(--accent); }
.stat p { margin-top: 9px; font-size: 11.5px; line-height: 1.65; color: var(--muted); }
.source-note {
  max-width: 90ch;
  margin-top: 24px;
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--muted);
}
.source-note a { color: var(--ink-soft); }

/* ---------- compare ---------- */

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 30px 30px 26px;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
.path--pro { background: var(--ink); color: var(--white); border-color: var(--ink); }
.path-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted);
}
.path--pro .path-top { color: rgba(255, 253, 247, .5); }
.path h3 {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}
.path .amount {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 62px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent);
}
.path--pro .amount { color: #d97865; }
.path .amount small { margin-left: 4px; font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0; }
.path--pro .amount small { color: rgba(255, 253, 247, .45); }
.path .path-desc { margin-top: 15px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.path--pro .path-desc { color: rgba(255, 253, 247, .62); }
.path .path-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.path--pro .path-list { border-color: rgba(255, 253, 247, .15); color: rgba(255, 253, 247, .72); }
.path .path-list li { display: flex; gap: 9px; }
.path .path-list li::before { content: "·"; color: var(--accent); font-weight: 700; }
.path .btn { margin-top: auto; width: 100%; }
.path--pro .btn--primary { background: var(--accent); }

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.proof-point {
  padding: 22px 28px 0 0;
  border-right: 1px solid var(--line);
}
.proof-point + .proof-point { padding-left: 28px; }
.proof-point:last-child { border-right: 0; padding-right: 0; }
.proof-point .n { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--accent); }
.proof-point h3 { margin-top: 9px; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); }
.proof-point p { margin-top: 7px; font-size: 12px; line-height: 1.75; color: var(--muted); }

/* ---------- type atlas ---------- */

.atlas { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.atlas-side { position: sticky; top: 118px; }
.atlas-side h2 {
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.035em;
  color: var(--ink);
}
.atlas-side .atlas-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin: 22px 0 24px;
  padding: 16px;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
.legend span { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: var(--muted); }
.legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.type-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 13px 14px 12px;
  background: var(--tone-soft);
  border: 1px solid transparent;
  border-top: 3px solid var(--tone);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.type-tile:hover {
  background: var(--white);
  border-color: var(--tone);
  transform: translateY(-2px);
}
.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: rgba(25, 27, 23, .43);
}
.tile-code {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .015em;
  color: var(--ink);
}
.tile-cn { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink-soft); }
.tile-bottom { margin-top: auto; padding-top: 12px; }
.tile-pct {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--tone);
}
.tile-pct em { font-family: var(--sans); font-size: 8.5px; font-style: normal; font-weight: 400; color: var(--muted); }
.tile-bar { height: 3px; margin-top: 6px; background: rgba(25, 27, 23, .09); }
.tile-bar i { display: block; height: 100%; background: var(--tone); }
.atlas .section-foot { grid-column: 1 / -1; }

/* ---------- covers + article cards ---------- */

.cover {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: var(--cover);
  color: var(--white);
  isolation: isolate;
}
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 253, 247, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 247, .08) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .55;
}
.cover::after {
  content: "";
  position: absolute;
  right: -16%;
  bottom: -32%;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 253, 247, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 253, 247, .04), 0 0 0 38px rgba(255, 253, 247, .025);
}
.cover-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: rgba(255, 253, 247, .64);
}
.cover-kicker .seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 253, 247, .38);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 10px;
  color: rgba(255, 253, 247, .8);
}
.cover-code {
  display: block;
  margin-top: auto;
  font-family: var(--serif);
  font-size: clamp(58px, 6vw, 82px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
}
.cover--large .cover-code { font-size: clamp(72px, 8vw, 108px); }
.cover-name {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  font-size: 12px;
  color: rgba(255, 253, 247, .75);
}
.cover-name em { font-family: var(--mono); font-size: 8px; font-style: normal; letter-spacing: .08em; opacity: .6; }
.cover--thumb { width: 82px; height: 82px; flex: 0 0 82px; padding: 10px; }
.cover--thumb .cover-code { font-size: 24px; }
.cover--thumb .cover-name { margin-top: 4px; font-size: 9px; }
.cover--thumb .cover-kicker { font-size: 6px; }
.cover--thumb .cover-kicker .seal { display: none; }

.feature {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.feature .cover { aspect-ratio: 16 / 10.4; }
.feature-body { padding-top: 20px; }
.feature-meta,
.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .07em;
  color: var(--muted);
}
.feature-meta .tag,
.story-meta .tag {
  color: var(--accent);
}
.feature h3 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 33px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
.feature p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}
.feature .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.read-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 42px;
  align-items: start;
}
.axes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.axes-grid .proof-point { padding-top: 22px; }
.axes-grid .proof-point:nth-child(4) { border-right: 0; }

.readlist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.readitem {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.readitem:hover .readitem-title { color: var(--accent); }
.readitem-title {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  transition: color .2s ease;
}
.readitem .story-meta { margin-top: 6px; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}
.story-card { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.story-card .cover { aspect-ratio: 16 / 10; margin-bottom: 15px; }
.story-card h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  transition: color .2s ease;
}
.story-card:hover h3 { color: var(--accent); }
.story-card p { margin-top: 7px; font-size: 12px; line-height: 1.75; color: var(--muted); }
.story-card .story-meta { margin-top: 10px; }

/* ---------- guide band ---------- */

.guide-band {
  padding: 78px 0;
  background: var(--ink);
  color: var(--white);
}
.guide-band .section-head { margin-bottom: 30px; }
.guide-band .eyebrow { color: #d97865; }
.guide-band h2 { color: var(--white); }
.guide-band .side { color: rgba(255, 253, 247, .58); }
.guide-band .side a { color: rgba(255, 253, 247, .86); }
.guide-list { border-top: 1px solid rgba(255, 253, 247, .18); }
.guide-list--light { border-top-color: var(--line); }
.guide-list--light .guide-row { border-bottom-color: var(--line); }
.guide-list--light .guide-title { color: var(--ink); }
.guide-list--light .guide-desc { color: var(--muted); }
.guide-list--light .guide-arrow,
.guide-list--light .guide-no { color: var(--accent); }
.guide-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 300px 24px;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 253, 247, .14);
  text-decoration: none;
  transition: background .2s ease, padding .2s ease;
}
.guide-row:hover { background: rgba(255, 253, 247, .035); padding-left: 10px; padding-right: 10px; }
.guide-no { font-family: var(--mono); font-size: 10px; color: #d97865; }
.guide-title { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--white); }
.guide-desc { font-size: 12px; line-height: 1.7; color: rgba(255, 253, 247, .5); }
.guide-arrow { font-size: 18px; color: #d97865; }

/* ---------- faq ---------- */

.faq-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 54px; align-items: start; }
.faq-layout .aside { position: sticky; top: 118px; }
.faq-layout h2 {
  font-family: var(--serif);
  font-size: clamp(31px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.035em;
  color: var(--ink);
}
.faq-layout .aside p { margin-top: 16px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { max-width: 76ch; padding: 0 0 22px; font-size: 13.5px; line-height: 1.9; color: var(--ink-soft); }
.faq-item .answer p + p { margin-top: 12px; }

/* ---------- closing ---------- */

.closing {
  position: relative;
  padding: 90px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.closing::before {
  content: "16";
  position: absolute;
  right: -2%;
  bottom: -34%;
  font-family: var(--serif);
  font-size: 400px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(25, 27, 23, .1);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 50px;
  align-items: end;
}
.closing h2 {
  max-width: 14em;
  font-family: var(--serif);
  font-size: clamp(33px, 4.2vw, 59px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.04em;
  color: var(--ink);
  text-wrap: balance;
}
.closing p { max-width: 36em; margin-top: 16px; font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
.closing .btn-row { margin-top: 25px; }

/* ---------- footer ---------- */

.footer { padding: 62px 0 26px; background: var(--ink); color: rgba(255, 253, 247, .58); font-size: 12.5px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text span { color: rgba(255, 253, 247, .36); }
.footer-brand p { max-width: 31em; margin-top: 17px; font-size: 12px; line-height: 1.85; color: rgba(255, 253, 247, .48); }
.footer h3 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  color: rgba(255, 253, 247, .38);
}
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255, 253, 247, .68); text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 253, 247, .13);
  font-size: 10px;
  line-height: 1.8;
  color: rgba(255, 253, 247, .34);
}
.footer-bottom p { max-width: 82ch; }
.footer-bottom a { color: rgba(255, 253, 247, .55); }

/* ---------- page hero / breadcrumb ---------- */

.page-hero { padding: 54px 0 46px; border-bottom: 1px solid var(--line); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 10.5px;
  color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 {
  max-width: 20em;
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 67px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.04em;
  color: var(--ink);
  text-wrap: balance;
}
.page-hero .lede {
  max-width: 48em;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.page-hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: 10.5px;
  color: var(--muted);
}
.page-hero .hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- filter bar ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 16px 0;
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filter-label { margin-right: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.filter-btn {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11.5px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.filter-btn:hover { border-color: var(--line-strong); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-count { margin-left: auto; font-size: 10.5px; color: var(--muted); }

/* ---------- index cards ---------- */

.type-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.type-index-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 20px;
  background: var(--tone-soft);
  border-top: 3px solid var(--tone);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.type-index-card:hover { transform: translateY(-3px); background: var(--white); }
.type-index-card .code {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.type-index-card .cn { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; font-size: 13px; color: var(--ink-soft); }
.type-index-card .cn em { font-family: var(--mono); font-size: 8px; font-style: normal; color: var(--muted); }
.type-index-card p { margin-top: 12px; font-size: 12px; line-height: 1.75; color: var(--ink-soft); }
.type-index-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 10px;
  color: var(--muted);
}
.type-index-card .card-foot strong { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--tone); }

/* ---------- article hero / prose ---------- */

.article-hero { padding: 50px 0 38px; border-bottom: 1px solid var(--line); }
.article-hero .article-head { max-width: 900px; }
.article-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--accent);
}
.article-kicker .sep { width: 18px; height: 1px; background: var(--line-strong); }
.article-kicker .muted { color: var(--muted); }
.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.04em;
  color: var(--ink);
  text-wrap: balance;
}
.article-hero .dek {
  max-width: 55em;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  font-size: 10.5px;
  color: var(--muted);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 290px;
  justify-content: space-between;
  gap: 62px;
  padding: 46px 0 84px;
  align-items: start;
}
.article-body { min-width: 0; font-size: 15.5px; line-height: 1.95; color: var(--ink-soft); }
.article-body > p:first-of-type { font-size: 17px; color: var(--ink-2); }
.article-body p { margin: 0 0 20px; }
.article-body h2 {
  margin: 42px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.025em;
  color: var(--ink);
  scroll-margin-top: 110px;
}
.article-body h3 {
  margin: 28px 0 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.article-body ul,
.article-body ol { margin: 0 0 22px; padding-left: 1.25em; }
.article-body li { margin-bottom: 8px; padding-left: 3px; }
.article-body li::marker { color: var(--accent); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--accent); text-underline-offset: 3px; }
.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--paper-3);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
}
.article-body .lead-quote {
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.65;
  color: var(--ink);
}
.article-body .scene-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  counter-reset: scene;
}
.article-body .scene-list li {
  counter-increment: scene;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.85;
}
.article-body .scene-list li::before {
  content: counter(scene, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent);
  padding-top: 3px;
}
.key-box {
  margin: 8px 0 32px;
  padding: 22px 24px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}
.key-box .k {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--accent);
}
.key-box ul { margin: 0; padding-left: 1.15em; }
.key-box li { font-size: 13.5px; line-height: 1.8; }
.key-box li + li { margin-top: 5px; }
.key-box p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink); }
.source-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.8;
}
.source-list li { display: grid; grid-template-columns: 14px 1fr; gap: 6px; }
.source-list li::before { content: "↗"; color: var(--accent); font-size: 10px; }
.source-list a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.source-list a:hover { color: var(--accent); }

.prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
}
.prevnext a {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper-3);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}
.prevnext a:hover { border-color: var(--ink); }
.prevnext .mono { color: var(--accent); font-family: var(--mono); font-size: 8px; }
.prevnext a:last-child { text-align: right; }

.sitemap-list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  font-size: 13px;
}
.sitemap-list a { color: var(--ink-soft); text-decoration: none; }
.sitemap-list a:hover { color: var(--accent); }

.type-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.type-fact { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); }
.type-fact:nth-child(odd) { border-right: 1px solid var(--line); }
.type-fact:nth-child(even) { padding-left: 14px; }
.type-fact:nth-last-child(-n+2) { border-bottom: 0; }
.type-fact .k { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; color: var(--muted); }
.type-fact strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.type-fact p { margin: 3px 0 0; font-size: 11.5px; line-height: 1.65; color: var(--muted); }

.data-table-wrap { margin: 26px 0; overflow-x: auto; border: 1px solid var(--line); background: var(--paper-3); }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 12px; }
.data-table caption { padding: 13px 15px; text-align: left; font-size: 10px; color: var(--muted); border-bottom: 1px solid var(--line); }
.data-table th,
.data-table td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { font-family: var(--mono); font-size: 8.5px; font-weight: 500; letter-spacing: .08em; color: var(--muted); background: rgba(236, 227, 209, .35); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.num { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.data-table td.bar-cell { width: 34%; }
.mini-bar { height: 4px; background: rgba(25, 27, 23, .09); }
.mini-bar i { display: block; height: 100%; background: var(--tone, var(--accent)); }
.table-note { margin-top: -16px; font-size: 10px; line-height: 1.7; color: var(--muted); }

.article-side { position: sticky; top: 112px; display: grid; gap: 16px; }
.article-side .side-links { display: grid; gap: 8px; }
.article-side .side-links a { font-size: 11.5px; line-height: 1.55; color: var(--ink-soft); text-decoration: none; }
.article-side .side-links a:hover { color: var(--accent); }
.side-card { padding: 18px; background: var(--paper-3); border: 1px solid var(--line); }
.side-card .k { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--muted); }
.side-type { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.side-type .code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  flex: 0 0 52px;
  background: var(--tone-soft);
  border-top: 2px solid var(--tone);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.side-type strong { display: block; font-family: var(--serif); font-size: 16px; color: var(--ink); }
.side-type span { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
.side-card p { font-size: 11.5px; line-height: 1.75; color: var(--muted); }
.side-card .btn { width: 100%; margin-top: 12px; }
.toc { display: grid; gap: 7px; }
.toc a { font-size: 11.5px; line-height: 1.6; color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.toc a.sub { padding-left: 12px; font-size: 11px; color: var(--muted); }
.article-disclaimer {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.85;
  color: var(--muted);
}
.article-disclaimer strong { color: var(--ink-soft); }
.author-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 18px;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
.author-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 12px;
}
.author-box strong { display: block; font-size: 12px; color: var(--ink); }
.author-box p { margin: 3px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.copyright-line {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--muted);
}
.copyright-line a { color: var(--ink-soft); }
.copy-note { margin-left: auto; font-size: 9.5px; color: var(--muted); }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.share-row button,
.share-row a {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font-size: 10.5px;
  text-decoration: none;
}
.share-row button:hover,
.share-row a:hover { border-color: var(--ink); color: var(--ink); }
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 120;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .1s linear;
}

/* ---------- type profile ---------- */

.type-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 54px;
  background: var(--tone-soft);
  border-bottom: 1px solid var(--line);
}
.type-hero::before {
  content: attr(data-code);
  position: absolute;
  right: -1%;
  top: -12%;
  font-family: var(--serif);
  font-size: clamp(210px, 29vw, 430px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(25, 27, 23, .08);
  pointer-events: none;
}
.type-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 58px;
  align-items: end;
}
.type-hero .breadcrumb { margin-bottom: 24px; }
.type-group-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--tone);
}
.type-group-label::before { content: ""; width: 24px; height: 1px; background: var(--tone); }
.type-code-title {
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 132px);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.05em;
  color: var(--ink);
}
.type-title-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.type-title-line h1 { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.2; color: var(--ink); }
.type-title-line span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.type-tagline { max-width: 34em; margin-top: 12px; font-family: var(--serif); font-size: 18px; line-height: 1.7; color: var(--tone); }
.type-summary { max-width: 47em; margin-top: 17px; font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.type-plate {
  padding: 22px 24px;
  background: rgba(255, 253, 247, .82);
  border: 1px solid rgba(25, 27, 23, .2);
  box-shadow: 12px 12px 0 rgba(255, 253, 247, .5);
}
.type-plate .plate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(25, 27, 23, .14);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.plate-share { display: flex; align-items: baseline; gap: 5px; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--tone); }
.plate-share small { font-family: var(--sans); font-size: 9px; font-weight: 400; color: var(--muted); }
.dim-plate { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 4px; }
.dim-plate div { padding: 11px 0; border-bottom: 1px solid rgba(25, 27, 23, .1); }
.dim-plate div:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(25, 27, 23, .1); }
.dim-plate div:nth-last-child(-n+2) { border-bottom: 0; }
.dim-plate strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.dim-plate span { display: block; margin-top: 2px; font-size: 9.5px; color: var(--muted); }
.stack-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 13px; padding-top: 13px; border-top: 1px solid rgba(25, 27, 23, .14); }
.stack-line .k { margin-right: 3px; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; color: var(--muted); }
.stack-line span { padding: 3px 6px; border: 1px solid rgba(25, 27, 23, .14); font-family: var(--mono); font-size: 8px; color: var(--ink-soft); }
.type-body { padding: 56px 0 84px; }
.type-content { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.type-main { min-width: 0; }
.type-block { padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.type-block:last-child { border-bottom: 0; margin-bottom: 0; }
.type-block h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.025em;
  color: var(--ink);
}
.type-block h3 { margin: 22px 0 8px; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.type-block p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.95; color: var(--ink-soft); }
.type-block p:last-child { margin-bottom: 0; }
.type-experiences { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.type-experiences li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 13px 15px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
}
.type-experiences li::before { content: "→"; color: var(--tone); font-size: 13px; }
.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.list-card { padding: 20px; background: var(--paper-3); border: 1px solid var(--line); }
.list-card.good { border-top: 3px solid var(--tone); }
.list-card.watch { border-top: 3px solid var(--ink); }
.list-card h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 18px; color: var(--ink); }
.list-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.list-card li { display: grid; grid-template-columns: 16px 1fr; gap: 7px; font-size: 12.5px; line-height: 1.75; color: var(--ink-soft); }
.list-card li::before { content: "·"; color: var(--tone); font-weight: 700; }
.list-card.watch li::before { color: var(--ink); }
.growth-list { counter-reset: grow; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.growth-list li {
  counter-increment: grow;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.8;
}
.growth-list li::before { content: counter(grow, decimal-leading-zero); font-family: var(--mono); font-size: 9px; color: var(--tone); padding-top: 4px; }
.type-quote {
  margin: 20px 0 0;
  padding: 20px 22px;
  border-left: 3px solid var(--tone);
  background: var(--tone-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.type-side { position: sticky; top: 112px; display: grid; gap: 14px; }
.type-side .side-card h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.type-side .side-links { display: grid; gap: 8px; }
.type-side .side-links a { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--ink-soft); text-decoration: none; }
.type-side .side-links a:hover { color: var(--accent); }
.type-articles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.type-article-row { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.type-article-row:hover h3 { color: var(--accent); }
.type-article-row .n { font-family: var(--mono); font-size: 9px; color: var(--muted); padding-top: 6px; }
.type-article-row h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.55; color: var(--ink); transition: color .2s ease; }
.type-article-row p { margin-top: 4px; font-size: 11px; color: var(--muted); }

/* ---------- test ---------- */

.test-hero { padding: 48px 0 34px; border-bottom: 1px solid var(--line); }
.test-hero .hero-split { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 50px; align-items: end; }
.test-hero h1 {
  max-width: 17em;
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.04em;
  color: var(--ink);
  text-wrap: balance;
}
.test-hero .lede { max-width: 49em; margin-top: 16px; font-size: 15px; line-height: 1.9; color: var(--ink-soft); }
.test-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 10.5px; color: var(--muted); }
.test-facts span { display: inline-flex; align-items: center; gap: 7px; }
.test-facts b { color: var(--ink); font-weight: 600; }
.test-hero .side-note { padding-left: 20px; border-left: 1px solid var(--line); font-size: 11.5px; line-height: 1.8; color: var(--muted); }
.test-hero .side-note strong { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--accent); }

.test-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
  padding: 38px 0 80px;
}
.test-shell {
  position: relative;
  min-height: 560px;
  background: var(--paper-3);
  border: 1px solid var(--line-strong);
  box-shadow: 14px 14px 0 rgba(25, 27, 23, .035);
}
.test-intro { padding: 40px 42px 36px; }
.test-intro .intro-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--accent); }
.test-intro h2 {
  max-width: 15em;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.025em;
  color: var(--ink);
}
.test-intro > p { max-width: 45em; margin-top: 14px; font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }
.intro-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-point { padding: 16px 18px 16px 0; border-right: 1px solid var(--line); }
.intro-point + .intro-point { padding-left: 18px; }
.intro-point:last-child { border-right: 0; padding-right: 0; }
.intro-point .n { font-family: var(--mono); font-size: 8px; letter-spacing: .08em; color: var(--accent); }
.intro-point h3 { margin-top: 7px; font-family: var(--serif); font-size: 16px; color: var(--ink); }
.intro-point p { margin-top: 5px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.intro-actions .resume-note { font-size: 11px; color: var(--muted); }
.resume-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  font-size: 11.5px;
  color: var(--ink-soft);
}
.resume-bar button { border: 0; background: transparent; color: var(--accent); font-size: 11.5px; text-decoration: underline; padding: 0; }
.test-privacy { margin-top: 12px; font-size: 10px; color: var(--muted); }

.test-stage { display: none; padding: 30px 38px 34px; }
.test-stage.is-active { display: block; }
.test-progress { height: 3px; background: var(--line); overflow: hidden; }
.test-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s ease; }
.test-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--muted);
}
.test-topline .q-index { color: var(--accent); }
.question-wrap { padding: 30px 0 22px; }
.question-dim { font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; color: var(--muted); }
.question-text {
  max-width: 20em;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(25px, 3.1vw, 36px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
.options { display: grid; gap: 8px; margin-top: 26px; }
.option {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 13.5px;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.option:hover { border-color: var(--line-strong); background: var(--paper); }
.option .key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px; height: 23px;
  flex: 0 0 23px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}
.option .dot {
  width: 13px; height: 13px;
  flex: 0 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  margin-left: auto;
}
.option[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.option[aria-checked="true"] .key { border-color: var(--accent); color: var(--accent); }
.option[aria-checked="true"] .dot { border: 4px solid var(--accent); background: var(--white); }
.test-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.test-controls .hint { font-size: 10px; color: var(--muted); }
.test-controls .controls { display: flex; gap: 8px; margin-left: auto; }
.test-controls button { min-height: 42px; padding: 0 18px; font-size: 12px; }
.test-warning { min-height: 17px; margin-top: 10px; font-size: 11px; color: var(--accent); }
.test-side { position: sticky; top: 112px; display: grid; gap: 14px; }
.test-side .side-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 18px; color: var(--ink); }
.test-side .side-card p { font-size: 11.5px; line-height: 1.8; color: var(--muted); }
.test-side .side-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 11px; color: var(--muted); }
.test-side .side-list li { display: flex; gap: 8px; }
.test-side .side-list li::before { content: "·"; color: var(--accent); }
.test-side .pro-mini { background: var(--ink); color: rgba(255, 253, 247, .72); border-color: var(--ink); }
.test-side .pro-mini h3 { color: var(--white); }
.test-side .pro-mini p { color: rgba(255, 253, 247, .56); }
.test-side .pro-mini .btn { margin-top: 12px; width: 100%; }

/* result */

.test-result { display: none; }
.test-result.is-active { display: block; }
.result-head {
  position: relative;
  overflow: hidden;
  padding: 34px 38px 30px;
  background: var(--ink);
  color: var(--white);
}
.result-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 253, 247, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 247, .05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.result-head > * { position: relative; z-index: 1; }
.result-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; color: rgba(255, 253, 247, .5); }
.result-code { margin-top: 18px; font-family: var(--serif); font-size: clamp(76px, 10vw, 118px); font-weight: 700; line-height: .82; letter-spacing: -.06em; }
.result-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
.result-name h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--white); }
.result-name span { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: rgba(255, 253, 247, .48); }
.result-tagline { max-width: 34em; margin-top: 9px; font-size: 12px; line-height: 1.7; color: rgba(255, 253, 247, .6); }
.result-body { padding: 28px 38px 36px; }
.result-intro { font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.result-dims { display: grid; gap: 16px; margin: 24px 0 28px; }
.dim-row .dim-labels { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--muted); }
.dim-row .dim-labels b { font-family: var(--mono); font-size: 10px; color: var(--ink); }
.dim-row .dim-labels span { font-size: 10.5px; }
.dim-track { position: relative; height: 7px; margin: 8px 0 5px; background: var(--paper-2); }
.dim-track i { position: absolute; top: 0; bottom: 0; display: block; height: 100%; background: var(--tone, var(--accent)); transition: width .6s ease; }
.dim-track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--ink); opacity: .35; }
.dim-note { display: flex; justify-content: space-between; gap: 10px; font-size: 9.5px; color: var(--muted); }
.dim-note strong { color: var(--ink-soft); font-weight: 500; }
.borderline-note { margin: 0 0 20px; padding: 11px 13px; background: var(--paper); border-left: 2px solid var(--gold); font-size: 11px; line-height: 1.75; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.result-card { padding: 18px; background: var(--paper); border: 1px solid var(--line); }
.result-card h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.result-card p { font-size: 12px; line-height: 1.8; color: var(--ink-soft); }
.result-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.result-card li { display: grid; grid-template-columns: 15px 1fr; gap: 7px; font-size: 12px; line-height: 1.75; color: var(--ink-soft); }
.result-card li::before { content: "·"; color: var(--accent); font-weight: 700; }
.result-cta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.result-cta .btn { flex: 1 1 auto; }
.result-fine { margin-top: 13px; font-size: 10px; line-height: 1.7; color: var(--muted); }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.result-actions button { min-height: 34px; padding: 0 11px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-size: 10px; }
.result-actions button:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- professional page ---------- */

.pro-hero { padding: 58px 0 52px; background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.pro-hero::before {
  content: "106";
  position: absolute;
  right: -1%;
  bottom: -22%;
  font-family: var(--serif);
  font-size: 380px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 253, 247, .12);
}
.pro-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: end; }
.pro-hero .eyebrow { color: #d97865; }
.pro-hero .breadcrumb,
.pro-hero .breadcrumb a { color: rgba(255, 253, 247, .48); }
.pro-hero .breadcrumb a:hover { color: var(--white); }
.pro-hero .breadcrumb li + li::before { color: rgba(255, 253, 247, .26); }
.pro-hero h1 {
  max-width: 14em;
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.045em;
  color: var(--white);
  text-wrap: balance;
}
.pro-hero .lede { max-width: 44em; margin-top: 18px; font-size: 15px; line-height: 1.9; color: rgba(255, 253, 247, .64); }
.pro-hero .btn-row { margin-top: 26px; }
.pro-facts { border-top: 1px solid rgba(255, 253, 247, .18); }
.pro-fact { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 253, 247, .14); }
.pro-fact span { font-size: 10.5px; color: rgba(255, 253, 247, .48); }
.pro-fact strong { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--white); }
.pro-fact strong small { font-family: var(--sans); font-size: 9px; color: rgba(255, 253, 247, .45); }

.evidence-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 12px; background: var(--paper-3); border: 1px solid var(--line); }
.evidence-table th,
.evidence-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.evidence-table th { width: 23%; font-family: var(--mono); font-size: 8.5px; font-weight: 500; letter-spacing: .08em; color: var(--muted); background: rgba(236, 227, 209, .35); }
.evidence-table tr:last-child td,
.evidence-table tr:last-child th { border-bottom: 0; }
.evidence-table strong { color: var(--ink); font-weight: 600; }
.evidence-note { margin-top: 13px; font-size: 10.5px; line-height: 1.8; color: var(--muted); }
.pro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pro-feature { padding: 22px; background: var(--paper-3); border: 1px solid var(--line); }
.pro-feature .n { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--accent); }
.pro-feature h3 { margin-top: 9px; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.pro-feature p { margin-top: 8px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit-card { padding: 22px; border: 1px solid var(--line); background: var(--paper-3); }
.fit-card.no { border-top: 3px solid var(--ink); }
.fit-card.yes { border-top: 3px solid var(--accent); }
.fit-card h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.fit-card ul { margin: 13px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.fit-card li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: 12.5px; line-height: 1.8; color: var(--ink-soft); }
.fit-card li::before { content: "·"; color: var(--accent); font-weight: 700; }
.disclosure { padding: 18px 20px; background: var(--accent-soft); border-left: 3px solid var(--accent); font-size: 11.5px; line-height: 1.85; color: var(--ink-soft); }
.disclosure strong { color: var(--ink); }

/* ---------- prose pages ---------- */

.prose-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 62px; align-items: start; padding: 50px 0 84px; }
.prose { font-size: 14.5px; line-height: 1.95; color: var(--ink-soft); }
.prose h2 { margin: 38px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.prose h3 { margin: 26px 0 9px; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 1.25em; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 24px 0; padding: 18px 20px; background: var(--paper-3); border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 19px; line-height: 1.7; color: var(--ink); }
.prose .note-box { margin: 24px 0; padding: 18px 20px; border: 1px solid var(--line); background: var(--paper-3); font-size: 12.5px; line-height: 1.8; }
.prose .note-box strong { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--accent); }
.prose-side { position: sticky; top: 112px; display: grid; gap: 14px; }
.prose-side .side-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.prose-side .side-card p { font-size: 11.5px; line-height: 1.75; color: var(--muted); }
.prose-side .side-links { display: grid; gap: 7px; }
.prose-side .side-links a { font-size: 11.5px; color: var(--ink-soft); text-decoration: none; }
.prose-side .side-links a:hover { color: var(--accent); }

/* ---------- misc ---------- */

.cta-note { font-size: 11px; color: var(--muted); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .07em;
  color: var(--muted);
  text-decoration: none;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.empty-state { padding: 48px 0; text-align: center; color: var(--muted); font-size: 13px; }

.redirect-page {
  min-height: 66vh;
  display: flex;
  align-items: center;
  padding: 70px 0;
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
}
.redirect-inner { max-width: 760px; }
.redirect-mark {
  float: right;
  margin: 0 0 20px 30px;
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
}
.redirect-page h1 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
  color: var(--ink);
}
.redirect-page p {
  max-width: 42em;
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.redirect-page .btn-row { margin-top: 28px; }
.redirect-page .redirect-note { margin-top: 18px; font-size: 11px; color: var(--muted); }

.error-page { min-height: 62vh; display: flex; align-items: center; padding: 70px 0; }
.error-inner { max-width: 720px; }
.error-code { font-family: var(--serif); font-size: clamp(100px, 18vw, 220px); font-weight: 600; line-height: .8; color: var(--accent); }
.error-page h1 { margin-top: 18px; font-family: var(--serif); font-size: 37px; color: var(--ink); }
.error-page p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--muted); }

@media (max-width: 1120px) {
  .hero-inner { gap: 42px; }
  .hero-aside { max-width: 430px; }
  .type-grid { grid-template-columns: repeat(4, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .type-content { grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; }
}

@media (max-width: 980px) {
  .wrap { width: min(100% - 44px, var(--wrap)); }
  .nav { display: none; }
  .header-test { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .masthead.nav-open .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 12px 22px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 35px rgba(25, 27, 23, .08);
  }
  .masthead.nav-open .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .masthead.nav-open .nav a::after { display: none; }
  .hero { padding: 54px 0 66px; }
  .hero::before { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .read-grid { grid-template-columns: 1fr; gap: 32px; }
  .axes-grid { grid-template-columns: 1fr 1fr; }
  .axes-grid .proof-point:nth-child(2) { border-right: 0; }
  .hero-copy { max-width: 760px; }
  .hero-aside { margin: 0; max-width: 560px; }
  .hero-aside::before { top: -50px; right: 0; font-size: 220px; }
  .section-head,
  .proof-top { grid-template-columns: 1fr; gap: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .stat:nth-child(3) { padding-top: 20px; }
  .stat:nth-child(4) { padding-top: 20px; }
  .paths { grid-template-columns: 1fr; }
  .path { min-height: 0; }
  .proof-points { grid-template-columns: 1fr; }
  .proof-point { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-point + .proof-point { padding-left: 0; }
  .proof-point:last-child { border-bottom: 0; }
  .atlas { grid-template-columns: 1fr; gap: 34px; }
  .atlas-side { position: static; }
  .atlas-side h2 { max-width: 18em; }
  .legend { max-width: 380px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-layout .aside { position: static; }
  .closing-inner { grid-template-columns: 1fr; gap: 28px; }
  .guide-row { grid-template-columns: 36px minmax(0, 1fr) 24px; gap: 16px; }
  .guide-desc { display: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-side { position: static; grid-template-columns: 1fr 1fr; }
  .article-side .side-card:first-child { grid-column: 1 / -1; }
  .type-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .type-plate { max-width: 540px; }
  .type-content { grid-template-columns: 1fr; gap: 34px; }
  .type-side { position: static; grid-template-columns: 1fr 1fr; }
  .test-hero .hero-split { grid-template-columns: 1fr; gap: 24px; }
  .test-hero .side-note { padding-left: 0; border-left: 0; max-width: 46em; }
  .test-layout { grid-template-columns: 1fr; }
  .test-side { position: static; grid-template-columns: 1fr 1fr; }
  .test-side .pro-mini { grid-column: auto; }
  .pro-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .pro-facts { max-width: 460px; }
  .prose-layout { grid-template-columns: 1fr; gap: 32px; }
  .prose-side { position: static; grid-template-columns: 1fr 1fr; }
  .type-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .topline-inner { min-height: 29px; }
  .topline .topline-meta { display: none; }
  .masthead-inner { height: 66px; gap: 12px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-text strong { font-size: 17px; }
  .brand-text span { font-size: 6.5px; }
  .header-actions .btn { min-height: 36px; padding: 0 10px; font-size: 10.5px; }
  .header-actions .btn .sub { display: none; }
  .hero { padding: 42px 0 52px; }
  .hero h1 { font-size: clamp(38px, 9.4vw, 52px); }
  .hero-lede { margin-top: 20px; font-size: 15px; }
  .hero-note { font-size: 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 7px 14px; font-size: 10.5px; }
  .hero-aside::before { display: none; }
  .pro-card { padding: 22px 20px 19px; box-shadow: 10px 10px 0 rgba(176, 57, 42, .075); }
  .pro-card h2 { font-size: 29px; }
  .pro-metric strong { font-size: 33px; }
  .quick-card { margin: -9px 14px 0 0; padding: 13px 14px; }
  .quick-card .num { font-size: 30px; }
  .section, .guide-band, .closing { padding: 58px 0; }
  .section--tight { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 32px; }
  .proof { padding: 50px 0 38px; }
  .proof-top h2 { font-size: 31px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .stat { padding: 18px 14px 16px 0; }
  .stat strong { font-size: 36px; }
  .stat p { font-size: 10.5px; }
  .path { padding: 22px 20px; }
  .path .amount { font-size: 52px; }
  .type-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .type-tile { min-height: 122px; padding: 11px 12px; }
  .tile-code { font-size: 22px; margin-top: 9px; }
  .tile-cn { font-size: 10.5px; }
  .tile-pct { font-size: 17px; }
  .article-grid { grid-template-columns: 1fr; gap: 30px; }
  .readitem { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; }
  .cover--thumb { width: 68px; height: 68px; flex-basis: 68px; }
  .cover--thumb .cover-code { font-size: 20px; }
  .guide-row { grid-template-columns: 28px minmax(0, 1fr) 18px; }
  .guide-title { font-size: 17px; }
  .faq-item summary { font-size: 17px; }
  .closing h2 { font-size: 35px; }
  .footer { padding: 44px 0 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { display: block; }
  .footer-bottom { flex-direction: column; gap: 10px; margin-top: 30px; }
  .page-hero { padding: 38px 0 32px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero .lede { font-size: 14px; }
  .type-index-grid { grid-template-columns: 1fr; }
  .filter-count { width: 100%; margin-left: 0; }
  .article-hero { padding: 34px 0 28px; }
  .article-hero h1 { font-size: 34px; }
  .article-hero .dek { font-size: 14px; }
  .article-layout { padding: 30px 0 54px; }
  .article-body { font-size: 14.5px; }
  .article-body h2 { font-size: 24px; margin-top: 32px; }
  .article-side { grid-template-columns: 1fr; }
  .article-side .side-card:first-child { grid-column: auto; }
  .read-grid { grid-template-columns: 1fr; }
  .axes-grid { grid-template-columns: 1fr; }
  .axes-grid .proof-point { border-right: 0; }
  .prevnext, .sitemap-list { grid-template-columns: 1fr; }
  .key-box { padding: 18px; }
  .type-title-line h1 { font-size: 27px; }
  .type-hero { padding: 32px 0 38px; }
  .type-code-title { font-size: 76px; }
  .type-plate { padding: 18px; }
  .type-body { padding: 36px 0 58px; }
  .type-block h2 { font-size: 25px; }
  .split-list { grid-template-columns: 1fr; }
  .type-side { grid-template-columns: 1fr; }
  .test-intro { padding: 26px 20px; }
  .test-stage { padding: 22px 18px 24px; }
  .test-result .result-head { padding: 26px 20px 24px; }
  .result-body { padding: 22px 20px 26px; }
  .intro-points { grid-template-columns: 1fr; }
  .intro-point { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-point + .intro-point { padding-left: 0; }
  .intro-point:last-child { border-bottom: 0; }
  .question-wrap { padding: 22px 0 14px; }
  .question-text { font-size: 24px; }
  .option { min-height: 45px; font-size: 12.5px; }
  .test-controls { flex-wrap: wrap; }
  .test-controls .hint { width: 100%; order: 3; }
  .result-grid { grid-template-columns: 1fr; }
  .result-cta .btn { flex-basis: 100%; }
  .test-side { grid-template-columns: 1fr; }
  .pro-hero { padding: 40px 0 38px; }
  .pro-hero::before { font-size: 220px; bottom: -10%; }
  .pro-grid, .fit-grid { grid-template-columns: 1fr; }
  .prose-layout { padding: 32px 0 58px; }
  .prose-side { grid-template-columns: 1fr; }
  .data-table { font-size: 11px; }
  .evidence-table th { width: 34%; }
  .footer-grid > div:last-child { display: none; }
}

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

@media print {
  body { background: #fff; color: #000; }
  .topline, .masthead, .footer, .test-side, .test-hero, .test-intro, .test-stage,
  .result-actions, .result-cta, .share-row, .breadcrumb, .site-nav, .menu-toggle { display: none !important; }
  .test-result, .test-result.is-active { display: block !important; }
  .test-layout { display: block; padding: 0; }
  .test-shell { border: 0; box-shadow: none; }
  .result-head { background: #fff !important; color: #000 !important; border-bottom: 2px solid #000; padding: 0 0 18px; }
  .result-head::before { display: none; }
  .result-code { color: #000; font-size: 58px; }
  .result-name h2, .result-name span, .result-kicker, .result-tagline { color: #000 !important; }
  .result-body { padding: 20px 0; }
  .result-card { break-inside: avoid; }
}
