:root { --ink: #101828; --muted: #475467; --soft: #667085; --line: #eaecf0; --pad-x: clamp(20px, 4vw, 64px); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.7 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.page-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px var(--pad-x); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.wordmark-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.all-chapters { font-size: 16px; font-weight: 600; text-decoration: none; }
.all-chapters:hover, .back-link:hover { text-decoration: underline; }
main { width: min(100% - 48px, 880px); margin: 0 auto; }
.story-hero { padding: 52px 0 0; }
.topline { display: flex; flex-wrap: wrap; gap: 10px; color: var(--soft); font-size: 13px; }
.topline span + span::before { content: "/"; margin-right: 10px; color: #b2b8c2; }
.eyebrow { margin: 52px 0 8px; color: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 820px; margin: 0 0 25px; font-size: clamp(34px, 5.2vw, 58px); line-height: 1.12; letter-spacing: -.045em; text-wrap: pretty; }
h1 span { color: #667085; }
.hero-lede { max-width: 750px; margin: 0 0 23px; color: var(--muted); font-size: clamp(18px, 2.1vw, 21px); line-height: 1.65; }
.byline { margin: 0 0 35px; color: var(--soft); font-size: 13px; }
.byline span { padding: 0 6px; }
.contents { display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 8px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.contents > span { color: var(--soft); }
.contents a { font-weight: 500; text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.story-section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section-index { margin: 0 0 15px; color: var(--soft); font-size: 12px; }
h2 { margin: 0 0 20px; font-size: clamp(27px, 3.5vw, 38px); line-height: 1.22; letter-spacing: -.035em; text-wrap: pretty; }
.section-lede { max-width: 740px; margin: 0 0 28px; color: var(--muted); }
.visual-note { margin: 0 0 28px; padding: 16px 19px; border-radius: 10px; background: #f9fafb; color: var(--muted); font-size: 13px; line-height: 1.6; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.proof-card { display: flex; flex-direction: column; min-height: 136px; padding: 23px 18px; border: 1px solid var(--line); border-radius: 15px; background: #f9fafb; }
.proof-card strong { font-size: clamp(26px, 3vw, 32px); letter-spacing: -.045em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.proof-card span { margin-top: auto; padding-top: 9px; color: var(--soft); font-size: 12px; line-height: 1.45; }
.fine-print { margin: 18px 0 0; color: var(--soft); font-size: 12px; line-height: 1.6; }
.insight-callout { margin-top: 38px; padding: 26px 30px; border-left: 3px solid var(--ink); background: #f9fafb; }
.callout-label { margin: 0 0 10px !important; color: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.insight-callout p:last-child { margin: 0; color: var(--muted); }
.insight-callout a { color: var(--ink); text-decoration-thickness: 1px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { padding-bottom: 0; }
.step-no { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f2f4f7; color: var(--muted); font-size: 12px; font-weight: 700; }
.steps h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--muted); }
.step-figure { margin: 22px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.step-figure > a { display: block; background: #f2f4f7; }
.step-figure > a:hover img { opacity: .9; }
.step-figure img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: top; transition: opacity .2s ease; }
.step-figure figcaption { padding: 14px 18px 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.step-figure figcaption strong { color: var(--ink); }
.step-figure figcaption span { display: block; margin-top: 6px; color: var(--soft); font-size: 12px; }
.step-figure figcaption a { font-weight: 600; }
.query-list { border-top: 1px solid var(--line); }
.query-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 21px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.query-row:hover strong, .query-row:hover em { text-decoration: underline; }
.query-row > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.query-row small { color: var(--soft); font-size: 12px; font-style: normal; }
.query-row strong { margin: 4px 0; font-size: 18px; line-height: 1.4; }
.query-row em { color: var(--muted); font-size: 12px; font-style: normal; }
.query-metrics { display: flex; flex-direction: column; flex: 0 0 125px; align-items: flex-end; text-align: right; }
.query-metrics b { font-size: 27px; line-height: 1.2; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.spot-check { margin: 18px 0 0; padding: 15px 18px; border-radius: 10px; background: #f9fafb; color: var(--muted); font-size: 13px; line-height: 1.6; }
.article-list { border-top: 1px solid var(--line); }
.article-result { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; gap: 15px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.article-result:hover .article-detail strong, .article-result:hover .article-detail em { text-decoration: underline; }
.article-rank { color: var(--soft); font-size: 12px; font-weight: 700; padding-top: 5px; }
.article-detail { display: flex; flex-direction: column; gap: 7px; }
.article-detail strong { font-size: 18px; line-height: 1.35; }
.article-detail small { max-width: 490px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.article-detail em { color: var(--ink); font-size: 12px; font-style: normal; font-weight: 600; }
.article-numbers { display: flex; flex-direction: column; gap: 6px; min-width: 105px; text-align: right; }
.article-numbers b { font-size: 20px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.article-numbers small { display: block; color: var(--soft); font-size: 11px; font-weight: 400; }
.authority-section > p:not(.section-index) { max-width: 750px; margin: 0 0 22px; color: var(--muted); }
.authority-table-wrap { overflow-x: auto; margin: 24px 0 20px; border: 1px solid var(--line); border-radius: 13px; }
.authority-table { width: 100%; min-width: 740px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.authority-table th, .authority-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.authority-table tr:last-child th, .authority-table tr:last-child td { border-bottom: 0; }
.authority-table th:first-child { text-align: left; }
.authority-table thead th { background: #f9fafb; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.4; }
.authority-table thead small { color: var(--soft); font-size: 10px; font-weight: 400; }
.authority-table tbody th { font-weight: 600; }
.authority-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.authority-figure { margin: 0 0 21px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.authority-figure > a { display: block; background: #f2f4f7; }
.authority-figure img { display: block; width: 100%; height: auto; }
.authority-figure figcaption { padding: 12px 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.authority-figure figcaption span { color: var(--soft); font-weight: 600; }
.authority-figure:last-child { grid-column: 1 / -1; }
.authority-section .authority-note { margin-bottom: 0 !important; font-size: 13px; line-height: 1.6; }
.limits-section p:not(.section-index) { max-width: 750px; color: var(--muted); margin: 0 0 20px; }
.back-link { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 600; text-decoration: none; }
.page-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 30px var(--pad-x); color: var(--soft); font-size: 12px; }
.page-footer .wordmark { color: var(--ink); }
.page-footer p { max-width: 410px; margin: 0; }
@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  main { width: calc(100% - 40px); }
  .page-header { padding: 12px 20px; }
  .page-header a { display: inline-flex; align-items: center; min-height: 44px; }
  .wordmark { font-size: 17px; }
  .all-chapters { font-size: 14px; }
  .story-hero { padding-top: 26px; }
  .eyebrow { margin-top: 34px; }
  h1 { font-size: clamp(34px, 8vw, 45px); }
  .hero-lede { font-size: 17px; }
  .contents { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .contents > span { grid-column: 1 / -1; }
  .contents a { min-height: 44px; display: flex; align-items: center; }
  .story-section { padding: 48px 0; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-card:last-child { grid-column: 1 / -1; min-height: 94px; }
  .proof-card { min-height: 118px; padding: 18px 16px; }
  .insight-callout { padding: 21px; margin-top: 28px; }
  .steps li { grid-template-columns: 34px minmax(0,1fr); gap: 13px; padding: 22px 0; }
  .step-no { width: 32px; height: 32px; }
  .steps h3 { font-size: 18px; }
  .step-figure { margin-top: 18px; }
  .step-figure img { max-height: 310px; }
  .step-figure figcaption { padding: 13px 14px 15px; }
  .query-row { gap: 12px; }
  .query-row strong { font-size: 16px; }
  .query-metrics { flex-basis: 85px; }
  .article-result { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .article-detail strong { font-size: 16px; }
  .article-numbers { grid-column: 2; flex-direction: row; gap: 20px; text-align: left; }
  .article-numbers b { font-size: 18px; }
  .authority-gallery { grid-template-columns: 1fr; }
  .authority-figure:last-child { grid-column: auto; }
  .page-footer p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
