:root {
  --ink: #10223f;
  --ink-soft: #42516a;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #d8e0ec;
  --blue: #2155d9;
  --blue-soft: #eaf0ff;
  --orange: #ff7a1a;
  --orange-soft: #fff0e3;
  --mint: #c9f4dd;
  --shadow: 0 22px 60px rgba(16, 34, 63, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  background: rgba(244, 247, 251, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 224, 236, .85);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px 9px 9px 2px; background: var(--ink); color: #fff; }
nav { display: flex; gap: 28px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
nav a:hover, nav a:focus-visible { color: var(--blue); }
.nav-cta { justify-self: end; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 8px; font-weight: 800; font-size: 14px; }

main, footer { max-width: 1280px; margin: 0 auto; }
.hero { min-height: 650px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(36px, 7vw, 96px); padding: 88px 48px 72px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-family: Consolas, "SFMono-Regular", monospace; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-family: "Microsoft YaHei UI", sans-serif; font-size: clamp(52px, 7vw, 92px); line-height: 1.02; letter-spacing: -.075em; }
h1 span { color: var(--blue); }
.hero-lead { max-width: 620px; margin-bottom: 32px; color: var(--ink-soft); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; padding: 12px 20px; border-radius: 9px; font-weight: 800; }
.button.primary { background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--orange); }
.button.primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--orange); }
.button.ghost { border: 1px solid var(--line); background: rgba(255,255,255,.65); }

.hero-file { position: relative; transform: rotate(1.5deg); padding: 50px 42px 36px; background: var(--white); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; box-shadow: var(--shadow); }
.hero-file::before { content: ""; position: absolute; inset: 14px; pointer-events: none; border: 1px dashed #bcc9db; }
.file-tab { position: absolute; top: -32px; left: -1px; padding: 8px 28px 7px 18px; background: var(--blue); color: #fff; border-radius: 10px 20px 0 0; font-family: Consolas, monospace; font-size: 12px; letter-spacing: .08em; }
.file-kicker { position: relative; margin-bottom: 22px; font-weight: 900; }
.hero-file ol { position: relative; list-style: none; margin: 0; padding: 0; }
.hero-file li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 700; }
.hero-file li span { color: var(--orange); font-family: Consolas, monospace; }
.file-note { position: relative; display: inline-block; margin: 24px 0 0; padding: 5px 9px; background: var(--mint); font-size: 13px; font-weight: 800; transform: rotate(-1deg); }

.proof-strip { display: grid; grid-template-columns: repeat(3, minmax(110px, 180px)) 1fr; align-items: center; gap: 24px; padding: 28px 48px; background: var(--ink); color: #fff; border-radius: 18px; }
.proof-strip div { display: flex; align-items: baseline; gap: 8px; }
.proof-strip strong { font-size: 28px; color: #fff; }
.proof-strip span, .proof-strip p { margin: 0; color: #afbdd2; font-size: 13px; }
.proof-strip p { text-align: right; }

.case-section { padding: 100px 48px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 38px; }
h2 { margin-bottom: 16px; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; letter-spacing: -.045em; }
.section-heading > p { max-width: 380px; color: var(--ink-soft); }
.filters { display: grid; grid-template-columns: minmax(280px, 1fr) 1.5fr; gap: 20px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.search-box span { color: var(--blue); font-size: 24px; }
.search-box input { width: 100%; padding: 12px 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 700; }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.result-row { display: flex; justify-content: space-between; margin: 22px 2px 16px; color: var(--ink-soft); font-size: 13px; }
.result-row p { margin: 0; }
.result-row button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-weight: 700; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.radar-card time { color: var(--ink-soft); font-size: .78rem; }
.post-author { color: var(--ink) !important; font-weight: 800; }
.radar-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.radar-metrics span { color: var(--ink-soft); font-size: .72rem; }
.radar-metrics strong { display: block; margin-top: .2rem; color: var(--ink); font-size: .92rem; }
.source-link { display: inline-block; margin-top: .95rem; color: var(--blue); font-size: .82rem; font-weight: 900; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.case-card:hover, .case-card:focus-visible { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(16, 34, 63, .10); outline: none; }
.case-card::after { content: attr(data-index); position: absolute; right: -7px; bottom: -24px; color: #eef2f8; font: 900 96px/1 Consolas, monospace; pointer-events: none; }
.card-top { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 8px; margin-bottom: 30px; }
.tag { padding: 5px 9px; border-radius: 5px; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 800; }
.difficulty { color: var(--ink-soft); font-size: 11px; font-family: Consolas, monospace; }
.case-card h3 { position: relative; z-index: 1; margin-bottom: 14px; font-size: 21px; line-height: 1.4; }
.case-card > p { position: relative; z-index: 1; color: var(--ink-soft); font-size: 14px; }
.card-facts { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.card-facts div { padding: 10px; background: var(--paper); border-radius: 7px; }
.card-facts span { display: block; color: #77849a; font-size: 10px; }
.card-facts strong { display: block; margin-top: 2px; font-size: 13px; }
.empty-state { padding: 60px; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: 12px; }

.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; margin: 0 48px 100px; padding: 70px; background: var(--orange-soft); border-radius: 20px; }
.method-intro > p:last-child { color: var(--ink-soft); }
.method-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #edc6a8; border: 1px solid #edc6a8; }
.method-list article { padding: 24px; background: #fff8f1; }
.method-list span { color: var(--orange); font-family: Consolas, monospace; font-size: 12px; font-weight: 900; }
.method-list h3 { margin: 10px 0 6px; font-size: 18px; }
.method-list p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.join { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; margin: 0 48px 80px; padding: 58px; color: #fff; background: var(--blue); border-radius: 20px; overflow: hidden; }
.join .eyebrow { color: #bcd0ff; }
.join p { max-width: 720px; color: #d9e4ff; }
.qr-placeholder { display: grid; place-items: center; width: 150px; aspect-ratio: 1; color: var(--ink); background: repeating-conic-gradient(#fff 0 25%, #dce5f8 0 50%) 0/18px 18px; border: 10px solid #fff; text-align: center; font-weight: 900; }
.qr-placeholder span { padding: 8px; background: #fff; }

footer { display: flex; justify-content: space-between; gap: 40px; padding: 42px 48px 56px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
footer strong { color: var(--ink); font-size: 18px; }
footer p { margin: 4px 0; }
footer > div:last-child { text-align: right; }

.topbar nav .active { color: var(--blue); }
.page-hero { padding: 92px 48px 36px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero > p:last-child { max-width: 720px; color: var(--ink-soft); font-size: 18px; }
.listing-page { padding-top: 28px; }
.radar-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 72px 30px 28px; }
.radar-intro h1 { margin: 0; font-size: clamp(44px, 6vw, 72px); }
.radar-intro > p { max-width: 420px; margin-bottom: 10px; color: var(--ink-soft); }
.library-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; padding: 0 30px 90px; }
.library-panel, .library-aside > section, .trust-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 36px rgba(16,34,63,.07); }
.category-rail { display: flex; gap: 8px; padding: 18px 20px; overflow-x: auto; border-bottom: 1px solid #e8edf5; scrollbar-width: thin; }
.category-rail .chip { flex: 0 0 auto; padding: 8px 17px; color: #68768f; background: #f2f5fa; border-color: transparent; }
.category-rail .chip[aria-pressed="true"] { color: #fff; background: #ed5a0b; }
.case-list { min-height: 104px; }
.library-row { display: grid; grid-template-columns: 34px 50px minmax(0,1fr) 112px 98px; align-items: center; gap: 14px; padding: 22px 24px; }
.case-rank { color: #a6b1c3; font-size: 14px; font-weight: 900; text-align: center; }
.author-avatar { display: grid; place-items: center; width: 46px; height: 46px; color: #fff; background: linear-gradient(145deg, #122748, #ed5a0b); border: 3px solid #eef2f8; border-radius: 50%; font-weight: 900; }
.case-copy { min-width: 0; }
.case-copy h3 { margin: 0 0 7px; overflow: hidden; color: #0c1c37; font-size: 19px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.case-copy p { margin: 0; overflow: hidden; color: #8490a4; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.case-copy p strong { color: #35445e; }
.case-copy p span { margin: 0 5px; }
.case-copy .tag { display: inline-block; margin: 0 3px; padding: 2px 8px; }
.case-result { text-align: right; }
.case-result strong { display: block; color: #ed5a0b; font-size: 25px; line-height: 1.15; }
.case-result span { display: block; margin-top: 4px; color: #929db0; font-size: 11px; }
.read-analysis { padding: 9px 12px; color: #ed5a0b; border: 1px solid #ff9b62; border-radius: 10px; text-align: center; font-size: 13px; font-weight: 900; }
.read-analysis:hover { color: #fff; background: #ed5a0b; }
.library-aside { display: grid; align-content: start; gap: 18px; }
.recommend-card { padding: 22px; }
.recommend-card > div { margin: -42px 0 0 54px; }
.recommend-avatar { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--ink); border-radius: 50%; font-weight: 900; }
.recommend-card strong { display: block; margin-bottom: 16px; font-size: 16px; }
.recommend-card p { color: #7b879b; font-size: 13px; }
.recommend-card > a { display: block; margin-top: 18px; padding: 11px; color: #fff; background: #5262ed; border-radius: 10px; text-align: center; font-weight: 900; }
.trial-card { position: relative; overflow: hidden; padding: 28px 24px 24px; background: linear-gradient(160deg, #effdf8, #d5f8ec 55%, #b5eee0) !important; }
.trial-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -60px; border: 28px solid rgba(255,255,255,.45); border-radius: 50%; }
.trial-kicker { margin-bottom: 12px; color: #067866; font-weight: 900; }
.trial-card h2 { position: relative; z-index: 1; margin-bottom: 14px; color: #087967; font-size: 38px; line-height: 1.05; }
.trial-card > p:not(.trial-kicker) { position: relative; z-index: 1; color: #397f73; font-size: 13px; }
.trial-seal { display: grid; place-items: center; width: 104px; height: 104px; margin: 22px auto; background: repeating-conic-gradient(#087967 0 10%, #fff 0 20%) 0/12px 12px; border: 8px solid #fff; box-shadow: 0 10px 22px rgba(8,121,103,.14); }
.trial-seal span, .trial-seal small { padding: 0 4px; color: #087967; background: #fff; font-weight: 900; }
.trial-card > a { display: block; position: relative; z-index: 1; padding: 11px; color: #fff; background: #087967; border-radius: 10px; text-align: center; font-weight: 900; }
.trust-card { margin: 0; padding: 12px 22px; }
.trust-card div { display: flex; justify-content: space-between; padding: 13px 0; }
.trust-card div + div { border-top: 1px solid #edf0f5; }
.trust-card dt { color: #617087; }
.trust-card dd { margin: 0; color: #ed5a0b; font-weight: 900; }

/* 案例库按参考稿采用独立的双栏目录布局 */
.directory-page { min-width: 1180px; background: #f5f6f8; overflow-x: auto; }
.directory-page main { max-width: none; margin: 0; }
.directory-page .library-layout { grid-template-columns: minmax(760px, 1fr) 377px; gap: 24px; min-height: 100vh; padding: 7px 18px; }
.directory-page .library-panel { display: flex; flex-direction: column; min-height: calc(100vh - 14px); border-radius: 18px; }
.directory-page .category-rail { height: 77px; align-items: center; gap: 10px; padding: 0 25px; overflow: hidden; }
.directory-page .category-rail .chip { padding: 8px 19px; color: #526581; background: #f2f4f8; border: 0; font-size: 15px; font-weight: 500; }
.directory-page .category-rail .chip[aria-pressed="true"] { color: #fff; background: #ef5708; font-weight: 800; }
.directory-page .case-list { min-height: 0; }
.directory-page .library-row { grid-template-columns: 36px 50px minmax(0,1fr) 120px 98px; height: 99px; gap: 13px; padding: 0 25px; border-bottom: 1px solid #edf0f5; }
.directory-page .case-rank { font-size: 14px; }
.directory-page .author-avatar { width: 46px; height: 46px; border: 2px solid #edf1f6; }
.directory-page .case-copy h3 { margin-bottom: 5px; font-size: 19px; line-height: 1.25; }
.directory-page .case-copy p { font-size: 13px; }
.directory-page .case-result strong { color: #eb6500; font-size: 25px; }
.directory-page .case-result span { font-size: 11px; }
.directory-page .read-analysis { padding: 9px 12px; border-color: #ff9b62; border-radius: 11px; font-size: 14px; }
.directory-page .library-aside { display: block; }
.directory-page .library-aside > section, .directory-page .trust-card { margin-bottom: 18px; border-radius: 18px; box-shadow: 0 10px 25px rgba(16,34,63,.055); }
.directory-page .recommend-card { height: 268px; padding: 30px 24px 26px; }
.directory-page .recommend-card > div { margin: -42px 0 0 62px; }
.directory-page .recommend-avatar { width: 44px; height: 44px; }
.directory-page .recommend-card strong { margin: 7px 0 30px; font-size: 17px; }
.directory-page .recommend-card p { margin-left: -62px; color: #8090a8; font-size: 14px; line-height: 2; }
.directory-page .recommend-card > a { margin-top: 18px; padding: 12px; font-size: 16px; }
.directory-page .trial-card { height: 594px; padding: 27px 24px; text-align: center; background: #fff !important; }
.directory-page .trial-card::after { display: none; }
.directory-page .trial-kicker { margin-bottom: 2px; color: var(--ink); font-size: 17px; }
.directory-page .trial-subtitle { margin: 0 0 18px !important; color: #8190a7 !important; font-size: 14px !important; }
.directory-page .trial-poster { position: relative; width: 263px; height: 446px; margin: 0 auto; padding: 28px 18px; overflow: hidden; color: #fff; background: linear-gradient(155deg, #02796a 0%, #08a98f 53%, #7ee4d1 100%); border-radius: 13px; box-shadow: 0 12px 24px rgba(4,127,108,.18); text-align: left; }
.directory-page .trial-poster::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, rgba(255,255,255,.20), transparent 34%), linear-gradient(125deg, transparent 55%, rgba(255,255,255,.12)); }
.directory-page .trial-poster > * { position: relative; z-index: 1; }
.directory-page .trial-poster > small { font-size: 9px; font-weight: 800; }
.directory-page .trial-poster h2 { margin: 38px 0 14px; color: #fff8dc; font-size: 39px; line-height: 1.2; letter-spacing: -.04em; }
.directory-page .trial-poster p { color: #e8fff9 !important; font-size: 11px !important; font-weight: 700; }
.directory-page .poster-line { margin-top: 40px; padding: 5px 8px; color: #087a6a; background: #fff; border-radius: 999px; font-size: 10px; font-weight: 900; text-align: center; }
.directory-page .trial-seal { position: absolute; left: 20px; bottom: 24px; width: 86px; height: 86px; margin: 0; }
.directory-page .trust-card { height: 170px; padding: 9px 24px; }
.directory-page .trust-card div { padding: 14px 0; }
.directory-page .trust-card dt { font-size: 14px; }
.directory-page .trust-card dd { font-size: 14px; }
.directory-page .case-pagination { display: flex; justify-content: center; gap: 10px; margin-top: auto; padding: 18px 0; border-top: 1px solid #edf0f5; }
.directory-page .case-pagination button { min-width: 46px; height: 40px; padding: 0 15px; color: #51647f; background: #fff; border: 1px solid #dce3ed; border-radius: 999px; font-size: 14px; }
.directory-page .case-pagination button.current { min-width: 40px; padding: 0; color: #fff; background: #ef5708; border-color: #ef5708; font-weight: 900; }
.directory-page .case-pagination button:disabled { color: #b5becc; cursor: default; }
.detail-shell { min-height: 70vh; padding: 60px 48px 100px; }
.breadcrumbs { display: flex; gap: 10px; margin-bottom: 38px; color: var(--ink-soft); font-size: 13px; }
.breadcrumbs a:hover { color: var(--blue); }
.detail-page { max-width: 920px; margin: 0 auto; padding: 54px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.detail-page header h1 { max-width: 760px; font-size: clamp(42px, 6vw, 72px); }
.detail-lead { max-width: 760px; color: var(--ink-soft); font-size: 18px; }
.detail-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; }
.digest-shell { max-width: 980px; min-height: 70vh; padding: 54px 48px 110px; }
.digest-detail { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.detail-loading, .detail-missing { padding: 64px; }
.detail-missing h1 { font-size: clamp(38px, 6vw, 64px); }
.digest-header { padding: 56px 58px 44px; }
.digest-header h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(38px, 6vw, 64px); line-height: 1.18; letter-spacing: -.055em; }
.digest-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--ink-soft); font-size: 14px; }
.digest-meta strong { color: var(--ink); font-size: 17px; }
.block-label { margin-bottom: 22px; color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.achievement-board { margin: 0 24px; padding: 30px 34px 34px; color: #fff; background: var(--ink); border-radius: 16px; box-shadow: 0 18px 36px rgba(16,34,63,.18); }
.achievement-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.achievement-grid > div { padding: 8px 28px; text-align: center; }
.achievement-grid > div + div { border-left: 1px solid rgba(255,255,255,.18); }
.achievement-grid strong { display: block; color: #ffb067; font-size: clamp(34px, 6vw, 54px); line-height: 1.15; }
.achievement-grid span { display: block; margin-top: 8px; color: #c0cbdd; font-size: 13px; }
.achievement-empty { grid-column: 1 / -1; margin: 5px 0 0; color: #c0cbdd; text-align: center; }
.digest-block { padding: 48px 58px; border-bottom: 1px solid var(--line); }
.digest-summary { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 2; }
.question-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; counter-reset: digest-question; }
.question-list li { position: relative; padding: 18px 22px 18px 68px; font-weight: 800; counter-increment: digest-question; }
.question-list li + li { border-top: 1px solid var(--line); }
.question-list li::before { content: counter(digest-question); position: absolute; left: 22px; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; color: var(--blue); background: var(--blue-soft); border-radius: 8px; font: 800 13px Consolas, monospace; }
.quote-list { display: grid; gap: 14px; }
.quote-list blockquote { position: relative; margin: 0; padding: 22px 26px; background: #fff7ef; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; font-size: 17px; font-weight: 800; }
.answer-gate { padding: 48px 58px 56px; text-align: center; background: linear-gradient(135deg, #f8fbff, #fff6ed); }
.answer-gate strong { display: block; font-size: 27px; }
.answer-gate p { margin: 8px auto 24px; color: var(--ink-soft); }
.experience-cta { display: inline-flex; padding: 14px 24px; color: #fff; background: var(--orange); border-radius: 999px; box-shadow: 0 10px 24px rgba(255,122,26,.25); font-weight: 900; }
.experience-cta:hover { transform: translateY(-2px); }
.detail-box ol { margin: 0; padding-left: 22px; color: var(--ink-soft); font-size: 14px; }
.about-hero { min-height: 480px; display: flex; flex-direction: column; justify-content: center; }
.about-hero h1 span { color: var(--blue); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 48px 100px; background: var(--line); border: 1px solid var(--line); }
.about-grid article { min-height: 260px; padding: 42px; background: #fff; }
.about-grid article > span { color: var(--orange); font: 800 13px Consolas, monospace; }
.about-grid h2 { margin: 34px 0 10px; font-size: 26px; }
.about-grid p { color: var(--ink-soft); }

dialog { width: min(760px, calc(100vw - 32px)); max-height: 88vh; padding: 0; border: 0; border-radius: 18px; box-shadow: var(--shadow); color: var(--ink); }
dialog::backdrop { background: rgba(6, 20, 42, .62); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; float: right; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; font-size: 24px; }
.dialog-body { padding: 52px; }
.dialog-body h2 { padding-right: 36px; }
.dialog-summary { color: var(--ink-soft); font-size: 16px; }
.dialog-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0; }
.dialog-facts div { padding: 16px; background: var(--paper); border-radius: 9px; }
.dialog-facts span { display: block; color: #77849a; font-size: 11px; }
.dialog-facts strong { display: block; margin-top: 5px; }
.detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-box { padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.detail-box h3 { margin-bottom: 10px; font-size: 16px; }
.detail-box ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 14px; }
.demo-warning { margin-top: 24px; padding: 13px 16px; background: var(--orange-soft); border-left: 3px solid var(--orange); font-size: 13px; }

:focus-visible { outline: 3px solid rgba(33,85,217,.35); outline-offset: 3px; }
@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-file { margin: 30px 12px 0; }
  .proof-strip { grid-template-columns: repeat(3, 1fr); border-radius: 0; }
  .proof-strip p { grid-column: 1 / -1; text-align: left; }
  .filters { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: 1fr; gap: 32px; padding: 44px; }
  .library-layout { grid-template-columns: 1fr; }
  .library-aside { grid-template-columns: 1fr 1fr; }
  .trust-card { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .radar-metrics { grid-template-columns: repeat(2, 1fr); }
  .topbar { height: 62px; padding: 0 18px; }
  .brand { font-size: 16px; }
  .nav-cta { padding: 7px 11px; }
  .hero, .case-section { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: auto; padding-top: 58px; padding-bottom: 64px; }
  h1 { font-size: 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-file { padding: 42px 25px 28px; }
  .proof-strip { gap: 12px; padding: 24px 20px; }
  .proof-strip div { display: block; }
  .proof-strip strong, .proof-strip span { display: block; }
  .section-heading { display: block; }
  .case-grid { grid-template-columns: 1fr; }
  .method { margin: 0 20px 70px; padding: 30px 20px; }
  .method-list { grid-template-columns: 1fr; }
  .join { grid-template-columns: 1fr; margin: 0 20px 60px; padding: 34px 24px; }
  .qr-placeholder { width: 132px; }
  footer { display: block; padding: 32px 20px; }
  footer > div:last-child { margin-top: 20px; text-align: left; }
  .dialog-body { padding: 40px 22px 28px; }
  .dialog-facts, .detail-columns { grid-template-columns: 1fr; }
  .page-hero, .detail-shell { padding-left: 20px; padding-right: 20px; }
  .digest-shell { padding: 34px 14px 70px; }
  .digest-header, .digest-block, .answer-gate { padding-left: 24px; padding-right: 24px; }
  .achievement-board { margin: 0 10px; padding: 26px 18px; }
  .achievement-grid { grid-template-columns: 1fr; }
  .achievement-grid > div { padding: 16px 8px; }
  .achievement-grid > div + div { border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
  .detail-page { padding: 34px 22px; }
  .detail-actions { flex-direction: column; }
  .about-grid { grid-template-columns: 1fr; margin: 0 20px 70px; }
  .radar-intro { display: block; padding: 48px 18px 22px; }
  .radar-intro > p { margin-top: 14px; }
  .library-layout { padding: 0 12px 60px; }
  .library-row { grid-template-columns: 24px 42px minmax(0, 1fr); gap: 10px; padding: 18px 12px; }
  .author-avatar { width: 42px; height: 42px; }
  .case-copy h3 { white-space: normal; }
  .case-copy p { display: -webkit-box; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .case-result { grid-column: 2; text-align: left; }
  .read-analysis { grid-column: 3; justify-self: start; }
  .library-aside { grid-template-columns: 1fr; }
  .trust-card { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
