:root {
  --ink: #050505;
  --paper: #f4f2ea;
  --white: #fff;
  --yellow: #ffd400;
  --muted: #68665f;
  --line: 2px solid var(--ink);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover, a:focus-visible { background: var(--yellow); color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
img { display: block; width: 100%; height: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--yellow); padding: .7rem 1rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.site-header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 2rem;
  border-bottom: var(--line);
  padding: 0 max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: baseline; gap: .05em; font-size: 2rem; font-weight: 950; line-height: 1; text-decoration: none; }
.brand span { color: var(--ink); background: var(--yellow); padding: .08em .22em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.6rem, 2vw, 1.7rem); font-size: .82rem; font-weight: 800; }
.primary-nav a, .verify-link { text-decoration: none; white-space: nowrap; }
.verify-link { background: var(--ink); color: var(--white); padding: .7rem 1rem; }
main { overflow: hidden; }
.hero, .proof-strip, .quick-nav, .core-content, .deep-dive, .faq, .comments-demo,
.listing-hero, .listing-body, .cross-nav, .article-layout, .related, .tag-index-grid,
.author-grid, .profile-hero, .utility-hero, .utility-sections, .status-note,
.policy-hero, .policy-content, .not-found {
  max-width: var(--max);
  margin: 0 auto;
  border-left: var(--line);
  border-right: var(--line);
}
.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
}
.hero-copy { padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 7rem); position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1rem; font-size: .73rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(7rem, 18vw, 17rem); line-height: .72; letter-spacing: -.09em; font-weight: 950; }
.hero-mark { color: var(--yellow); }
.hero-lead { max-width: 650px; margin: 3rem 0 2rem; font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-block; border: 2px solid currentColor; padding: .75rem 1rem; text-decoration: none; font-weight: 900; }
.button-primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.hero-visual { margin: 0; border-left: 2px solid var(--white); display: flex; flex-direction: column; align-self: stretch; }
.hero-visual img { height: 100%; object-fit: cover; flex: 1; }
.hero-visual figcaption { padding: .8rem 1rem; border-top: 2px solid var(--white); font-size: .75rem; }
.hero-index { position: absolute; right: 1rem; bottom: -1.2rem; font-size: 9rem; font-weight: 950; color: var(--yellow); line-height: 1; opacity: .9; }
.proof-strip { display: grid; grid-template-columns: .8fr 1.2fr .9fr; gap: 2rem; align-items: center; padding: 2rem; background: var(--yellow); border-bottom: var(--line); }
.proof-strip h2 { margin: 0; max-width: 400px; font-size: 1.5rem; line-height: 1.2; }
.proof-strip dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.proof-strip dl div { border-left: var(--line); padding-left: 1rem; }
.proof-strip dt { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 950; line-height: 1; }
.proof-strip dd { margin: .4rem 0 0; font-size: .8rem; font-weight: 800; }
.proof-strip > p { margin: 0; font-size: .85rem; }
.quick-nav, .core-content, .faq, .comments-demo, .related, .listing-body { padding: clamp(3rem, 7vw, 7rem) clamp(1.2rem, 5vw, 5rem); border-bottom: var(--line); }
.section-heading { display: grid; grid-template-columns: .4fr 1fr 1fr; gap: 1rem; align-items: end; margin-bottom: 3rem; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 5vw, 4.5rem); line-height: .95; letter-spacing: -.04em; }
.section-heading > p:last-child { max-width: 520px; margin: 0; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--line); border-left: var(--line); }
.quick-item { min-height: 200px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: .5rem 1rem; padding: 1.5rem; border-right: var(--line); border-bottom: var(--line); text-decoration: none; }
.quick-item > span { grid-row: 1 / 3; font-size: 3rem; font-weight: 950; line-height: 1; color: var(--muted); }
.quick-item strong { font-size: 1.35rem; }
.quick-item small { font-size: .86rem; line-height: 1.6; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--line); border-left: var(--line); margin-bottom: 2rem; }
.content-card { position: relative; min-height: 390px; padding: 1.5rem; border-right: var(--line); border-bottom: var(--line); display: flex; flex-direction: column; }
.card-number { margin-left: auto; font-size: 4.5rem; font-weight: 950; line-height: 1; color: var(--yellow); -webkit-text-stroke: 1px var(--ink); }
.content-card h3 { margin: auto 0 1rem; font-size: 1.45rem; line-height: 1.25; }
.content-card p:not(.eyebrow) { font-size: .9rem; }
.text-link { margin-top: auto; font-size: .8rem; font-weight: 900; text-decoration: none; }
.deep-dive { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--ink); color: var(--white); border-bottom: var(--line); }
.deep-number { display: grid; place-items: center; color: var(--yellow); font-size: clamp(4rem, 10vw, 9rem); font-weight: 950; border-right: 2px solid var(--white); }
.deep-dive > div:last-child { padding: clamp(3rem, 7vw, 7rem); }
.deep-dive h2 { max-width: 900px; margin: 0 0 2rem; font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1; }
.deep-dive p { max-width: 850px; font-size: 1.08rem; }
.number-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; list-style-position: inside; padding: 0; margin: 3rem 0 0; background: var(--white); }
.number-list li { background: var(--ink); padding: 1.2rem; font-weight: 800; }
.faq-list { border-top: var(--line); }
.faq-list details { border-bottom: var(--line); padding: 1.2rem 0; }
.faq-list summary { cursor: pointer; font-size: 1.2rem; font-weight: 900; }
.faq-list p { max-width: 800px; margin-left: 2rem; }
.comment-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: var(--line); }
.comment-grid blockquote { margin: 0; padding: 2rem; min-height: 190px; }
.comment-grid blockquote + blockquote { border-left: var(--line); }
.comment-grid p { font-size: 1.2rem; font-weight: 750; }
.comment-grid cite { font-size: .8rem; font-style: normal; }
.listing-hero, .profile-hero, .utility-hero { min-height: 440px; display: grid; grid-template-columns: .7fr 1.3fr; border-bottom: var(--line); }
.giant-index { display: grid; place-items: center; margin: 0; background: var(--yellow); font-size: clamp(7rem, 18vw, 16rem); font-weight: 950; line-height: 1; letter-spacing: -.08em; border-right: var(--line); }
.listing-hero > div, .profile-hero > div, .utility-hero > div { align-self: end; padding: clamp(2rem, 6vw, 6rem); }
.listing-hero h1, .profile-hero h1, .utility-hero h1 { margin: 0; font-size: clamp(3.5rem, 9vw, 8rem); line-height: .9; letter-spacing: -.06em; }
.listing-lead { max-width: 760px; margin: 2rem 0 0; font-size: 1.2rem; }
.cross-nav { padding: 2rem; border-bottom: var(--line); display: grid; grid-template-columns: 1fr 3fr; }
.cross-nav h2 { margin: 0; font-size: 1rem; }
.cross-nav div { display: flex; flex-wrap: wrap; gap: 1rem; }
.article-layout { border-bottom: var(--line); }
.article-header { min-height: 590px; padding: clamp(2rem, 6vw, 6rem); background: var(--ink); color: var(--white); display: flex; flex-direction: column; justify-content: end; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: auto; font-size: .8rem; }
.article-header h1 { max-width: 1180px; margin: 1rem 0; font-size: clamp(3rem, 7vw, 7rem); line-height: .95; letter-spacing: -.055em; }
.article-deck { max-width: 820px; font-size: 1.25rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--muted); font-size: .8rem; }
.article-visual { margin: 0; border-bottom: var(--line); }
.article-visual img { max-height: 620px; object-fit: cover; }
.article-visual figcaption { padding: .7rem 1rem; border-top: var(--line); font-size: .78rem; }
.article-content { display: grid; grid-template-columns: 280px 1fr; }
.article-toc { position: sticky; top: 84px; align-self: start; padding: 2rem; border-right: var(--line); display: flex; flex-direction: column; gap: .9rem; font-size: .85rem; }
.prose { padding: clamp(2rem, 6vw, 6rem); max-width: 1050px; }
.prose section { margin-bottom: 5rem; }
.prose h2 { margin: 0 0 1.5rem; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.prose h3 { margin-top: 2rem; font-size: 1.5rem; }
.prose p { max-width: 760px; font-size: 1.08rem; }
.note { margin: 2rem 0; padding: 1.5rem; border: var(--line); background: var(--yellow); }
.note p { margin-bottom: 0; }
.process-list { list-style: none; padding: 0; margin: 2rem 0; border-top: var(--line); }
.process-list li { display: grid; grid-template-columns: 100px 1fr; align-items: center; border-bottom: var(--line); }
.process-list span { display: grid; place-items: center; align-self: stretch; font-size: 2.4rem; font-weight: 950; background: var(--yellow); border-right: var(--line); }
.process-list p { padding: 1rem; }
.article-tags { display: flex; flex-wrap: wrap; gap: .7rem; padding-top: 2rem; border-top: var(--line); }
.article-tags a { padding: .4rem .7rem; border: var(--line); text-decoration: none; font-size: .8rem; font-weight: 900; }
.tag-index-grid, .author-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: var(--line); }
.tag-index-card, .author-card { min-height: 230px; padding: 1.5rem; border-right: var(--line); border-bottom: var(--line); display: flex; flex-direction: column; text-decoration: none; }
.tag-index-card span, .author-card > span { margin-left: auto; font-size: 2rem; font-weight: 950; color: var(--muted); }
.tag-index-card strong { margin-top: auto; font-size: 1.4rem; }
.tag-index-card small { margin-top: .5rem; }
.author-card:nth-child(3n), .tag-index-card:nth-child(3n) { border-right: 0; }
.author-card h2 { margin: auto 0 .5rem; font-size: 2rem; }
.empty-note { padding: 2rem; border: var(--line); }
.utility-sections, .policy-content { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: var(--line); }
.utility-sections section, .policy-content section { min-height: 330px; padding: 2rem; border-right: var(--line); }
.utility-sections section:last-child, .policy-content section:last-child { border-right: 0; }
.utility-sections h2, .policy-content h2 { margin-top: auto; font-size: 1.6rem; line-height: 1.2; }
.status-note { padding: 2rem; background: var(--yellow); border-bottom: var(--line); display: grid; grid-template-columns: 1fr 3fr; }
.status-note p { margin: 0; }
.policy-hero { padding: clamp(4rem, 10vw, 10rem) clamp(2rem, 6vw, 6rem); background: var(--ink); color: var(--white); border-bottom: var(--line); }
.policy-hero h1 { margin: 0; font-size: clamp(4rem, 10vw, 9rem); line-height: .9; }
.not-found { min-height: 700px; display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--line); }
.not-found > div { align-self: center; padding: 4rem; }
.not-found h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 1; margin: 0 0 2rem; }
.site-footer { max-width: var(--max); margin: 0 auto; padding: 3rem; background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-brand { font-size: 4rem; font-weight: 950; line-height: 1; }
.footer-brand span { color: var(--yellow); font-size: 1rem; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 1.2rem; }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 2rem; border-top: 1px solid var(--muted); font-size: .8rem; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; padding: 1rem; }
  .primary-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; overflow-x: auto; padding-bottom: .5rem; }
  .hero, .proof-strip, .deep-dive, .listing-hero, .profile-hero, .utility-hero, .not-found { grid-template-columns: 1fr; }
  .hero-visual, .deep-number, .giant-index { border-left: 0; border-right: 0; border-top: var(--line); }
  .proof-strip { gap: 1.5rem; }
  .section-heading { grid-template-columns: 1fr; }
  .quick-grid, .card-grid, .tag-index-grid, .author-grid { grid-template-columns: repeat(2, 1fr); }
  .article-content { grid-template-columns: 1fr; }
  .article-toc { position: static; border-right: 0; border-bottom: var(--line); }
  .utility-sections, .policy-content { grid-template-columns: 1fr; }
  .utility-sections section, .policy-content section { border-right: 0; border-bottom: var(--line); min-height: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .verify-link { display: none; }
  .site-header { grid-template-columns: 1fr; }
  .primary-nav { grid-column: 1; }
  .hero { min-height: auto; }
  .hero-copy { padding: 4rem 1.2rem; }
  .hero h1 { font-size: 8rem; }
  .hero-index { font-size: 5rem; }
  .proof-strip dl, .quick-grid, .card-grid, .tag-index-grid, .author-grid, .comment-grid, .site-footer { grid-template-columns: 1fr; }
  .quick-item, .content-card { min-height: 250px; }
  .comment-grid blockquote + blockquote { border-left: 0; border-top: var(--line); }
  .cross-nav, .status-note { grid-template-columns: 1fr; gap: 1rem; }
  .article-header { min-height: 520px; padding: 2rem 1.2rem; }
  .article-header h1 { font-size: 3rem; }
  .process-list li { grid-template-columns: 68px 1fr; }
  .footer-links { justify-content: flex-start; }
}

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