@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f6f6f3;
  --ink: #242620;
  --muted: #66685f;
  --line: #dcded5;
  --accent: #ad3718;
  --highlight: #e6ebcd;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.8; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button, input { font: inherit; }
button, a, input, label, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--highlight); color: var(--ink); }
[hidden] { display: none !important; }
.icon { display: block; width: 1.125rem; height: 1.125rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1200px, calc(100% - 112px)); 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; }
.skip-link { position: absolute; top: .5rem; left: 1rem; z-index: 10; padding: .5rem 1rem; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: white; }
.site-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; min-height: 96px; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-size: 1rem; font-weight: 650; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: var(--accent); border: 1px solid var(--line); border-radius: 8px; }
.brand-mark .icon { width: 23px; height: 23px; }
.site-header nav { display: flex; justify-content: flex-end; gap: 2rem; font-size: .875rem; }
.site-header nav a { text-decoration: none; padding-block: .6rem; }
.home-link, .back-to-top { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.home-link .icon { width: 1rem; height: 1rem; transform: rotate(45deg); }
.site-header > .home-link { padding-left: 2rem; border-left: 1px solid var(--line); }
h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.3; letter-spacing: -.035em; font-weight: 700; margin-block: 0 1.1rem; }
/* Example measurements use the width of each comparison card. */
.bar-chart { margin-top: 6cqi; display: grid; gap: 3.2cqi; }
.bar-row { display: grid; grid-template-columns: 8cqi 1fr 10.8cqi; align-items: center; gap: 3.2cqi; font-size: 3.5cqi; }
.bar-row > span { color: #62655c; }
.bar-track { height: 5.75cqi; }
.bar { display: block; height: 100%; }
.baseline { width: 60%; background: #d3d8ca; }
.pilot { width: 80%; background: var(--accent); }
.bar-row strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar-row:last-child strong { color: var(--accent); }
.section-space { padding-block: 72px; }
.page-intro { padding-block: 40px; }
.page-intro > p { max-width: 48rem; }
.intro-lead { font-size: 1.125rem; line-height: 1.9; }
.guide-section { padding-top: 0; }
.section-heading h2 { font-size: clamp(1.65rem, 2.6vw, 2.1rem); line-height: 1.4; letter-spacing: -.035em; }
.guide-steps { list-style: none; padding: 0; margin: 0; }
.guide-step { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 5rem; padding-block: 2.25rem; border-top: 1px solid var(--line); }
.guide-step:last-child { padding-bottom: 0; }
.step-number { display: block; color: var(--accent); font: 400 1.25rem/1.5 Georgia, serif; }
.step-heading h3 { font-size: 1.65rem; line-height: 1.5; letter-spacing: -.03em; margin-block: .75rem; }
.step-body { min-width: 0; container-type: inline-size; }
.step-body > p { color: #56594f; }
.step-body > p > strong { color: var(--ink); font-weight: 600; }
.ratio-stage { margin-block: 1.5rem; }
.ratio-stage { display: flex; align-items: center; gap: 2rem; background: #eeefe8; padding: 1.5rem; }
.ratio-frame { display: grid; place-items: center; height: 96px; background: #fff; border: 1px solid #b6bdae; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.ratio-standard { aspect-ratio: 4/3; }
.ratio-wide { aspect-ratio: 16/9; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .875rem; }
.do-dont > p strong, .compare-label { display: flex; align-items: center; gap: .35rem; font-size: .75rem; letter-spacing: .06em; color: #456134; margin-bottom: .3rem; }
.compare-label .icon { width: .875rem; height: .875rem; }
.do-dont > p:nth-child(2) strong, .comparison-item:nth-child(2) .compare-label { color: var(--accent); }
.comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comparison-item { display: grid; grid-template-rows: auto auto; align-content: start; gap: .9rem; min-width: 0; container-type: inline-size; }
.example-canvas { width: 100%; aspect-ratio: 16 / 9; min-height: 0; min-width: 0; align-self: start; border: 1px solid var(--line); background: white; padding: 6cqi; font-size: 3.5cqi; overflow: hidden; }
.ratio-demo { padding: 0; background: #242620; }
.ratio-demo svg { display: block; width: 100%; height: 100%; }
.script-example { display: flex; flex-direction: column; }
.script-example h4 { font-size: 4cqi; font-weight: 600; margin-bottom: 4cqi; }
.script-bullets ul { display: grid; gap: 2.2cqi; margin: 0; padding-left: 1.2em; font-size: 4.5cqi; line-height: 1.6; }
.script-manuscript p { font-size: 3cqi; line-height: 1.85; }
.example-lines { display: grid; gap: 1.75cqi; margin-top: 3cqi; }
.example-lines i { display: block; height: 1.25cqi; background: #d8ddcf; }
.example-lines i:last-child { width: 68%; }
.density-split { position: relative; background: #eeefe8; }
.stack-page { position: absolute; width: 76%; aspect-ratio: 16 / 9; border: 1px solid #c5cbbd; background: white; font-size: 2.5cqi; line-height: 1.2; }
.stack-page > span { margin-right: 2.4cqi; color: var(--muted); font-size: 2.75cqi; }
.stack-third { inset: 4% 5% auto auto; padding: .35cqi 2.5cqi; }
.stack-second { inset: 11.5% auto auto 11.5%; padding: .35cqi 2.5cqi; }
.stack-first { inset: 19% auto auto 4%; padding: 3cqi 4cqi; line-height: 1.8; }
.stack-first > span { display: block; }
.stack-first > b { display: block; font-size: 4.8cqi; margin-top: .75cqi; }
.stack-first .example-lines { margin-top: 2cqi; gap: 1.5cqi; }
.density-packed { display: grid; place-items: center; background: #eeefe8; padding: 0; }
.packed-page { width: 94%; aspect-ratio: 16 / 9; padding: 2cqi; background: white; border: 1px solid #c5cbbd; line-height: 1.3; }
.packed-page > b { display: block; font-size: 2.6cqi; }
.packed-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5cqi; margin-block: 1.5cqi; font-size: 1.75cqi; }
.packed-columns b { display: block; font-size: 1.9cqi; margin-bottom: .7cqi; }
.packed-columns ul { margin: .7cqi 0 0; padding-left: 1.2em; }
.packed-page table { width: 100%; border-collapse: collapse; font-size: 1.4cqi; text-align: left; }
.packed-page th, .packed-page td { border: 1px solid #dcded5; padding: .4cqi .6cqi; }
.packed-footnote { font-size: 1.25cqi; margin-top: .8cqi; }
.image-example { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 2cqi; padding: 4cqi; }
.image-example > b { font-weight: 550; }
.image-example img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 65%; }
.grouping-good { display: grid; grid-template-columns: 1fr 1fr; gap: 8cqi; align-content: center; }
.grouping-good b { display: block; padding-bottom: 2.6cqi; margin-bottom: 2cqi; border-bottom: 1px solid var(--line); font-weight: 600; }
.grouping-good span { display: block; color: #56594f; line-height: 1.85; }
.grouping-bad { display: grid; align-content: center; gap: 4cqi; }
.grouping-bad > b { text-align: center; }
.grouping-bad > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqi; }
.grouping-bad span { border: 2px solid #7e8474; text-align: center; padding: 1.6cqi .4cqi; font-weight: 700; }
.example-group + .example-group, .title-guideline, .reveal-guideline { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.example-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.example-heading h4 { font-size: 1.05rem; font-weight: 600; }
.example-heading a { flex-shrink: 0; font-size: .75rem; color: var(--muted); }
.example-guidance { color: #56594f; font-size: .875rem; margin-top: .4rem; }
.example-group .comparison { margin-top: .9rem; padding-top: 0; border-top: 0; }
.example-group .example-canvas { padding: 5cqi; }
.consistency-example { display: flex; align-items: center; justify-content: center; gap: 2.6cqi; }
.consistency-example > span { display: grid; place-items: center; width: 17.5cqi; height: 14.5cqi; font-size: 3.75cqi; flex-shrink: 0; }
.consistency-good > span { background: #e8ebdf; border: 1px solid #c5cbbd; border-radius: 3px; font-weight: 500; }
.consistency-bad > span:first-child { width: 14.5cqi; border-radius: 50%; background: #e8ebdf; font-weight: 700; }
.consistency-bad > span:nth-child(2) { height: 9cqi; border: 1px solid #8b9380; font-size: 3cqi; }
.consistency-bad > span:last-child { background: #424a36; color: white; font-size: 5cqi; font-weight: 700; }
.hierarchy-example { display: flex; flex-direction: column; justify-content: center; gap: 2cqi; }
.hierarchy-good > span { font-size: 3cqi; color: var(--muted); }
.hierarchy-good > b { font-size: 7cqi; line-height: 1.4; }
.hierarchy-good > p { color: #56594f; font-size: 3.5cqi; }
.hierarchy-bad > * { font-size: 5.2cqi; line-height: 1.5; font-weight: 700; }
.alignment-example { display: flex; flex-direction: column; justify-content: center; gap: 2cqi; }
.alignment-example > b { font-size: 4cqi; }
.alignment-example > div { display: flex; gap: 6cqi; font-size: 3.5cqi; }
.alignment-example > div > span:first-child { color: #62655c; }
.alignment-good { position: relative; }
.alignment-good::before { content: ""; position: absolute; top: 4.25cqi; bottom: 4.25cqi; left: 3cqi; border-left: 1px dashed #a4af8e; }
.alignment-bad > b { text-align: right; }
.alignment-bad > div:nth-of-type(2) { justify-content: center; }
.alignment-bad > div:last-child { justify-content: flex-end; }
.font-example { display: flex; align-items: center; font-size: 6.2cqi; line-height: 1.8; }
.font-good { font-weight: 500; }
.font-bad > span { font-family: "Kaiti SC", KaiTi, STKaiti, serif; font-style: italic; letter-spacing: .13em; transform: skewX(-10deg) scaleX(.85); transform-origin: left center; }
.type-example { display: flex; align-items: center; background: #242620; border-color: #242620; }
.type-large, .type-small, .contrast-good, .contrast-bad { color: #f6f6f3; line-height: 1.6; font-weight: 600; }
.type-large { font-size: 7.6cqi; }
.type-small { font-size: 3cqi; }
.contrast-good, .contrast-bad { font-size: 6cqi; }
.contrast-bad { color: #666b5d; }
.status-example { display: flex; flex-direction: column; justify-content: center; gap: 5.6cqi; font-size: 3.5cqi; }
.status-example > div { display: flex; justify-content: space-between; align-items: center; gap: 2cqi; }
.status-example b { display: flex; align-items: center; gap: 1.6cqi; font-weight: 500; }
.status-done { color: #456134; }
.status-pending { color: var(--accent); }
.status-good .icon { width: 4.5cqi; height: 4.5cqi; }
.status-dot { width: 3.5cqi; height: 3.5cqi; border-radius: 50%; background: currentColor; margin-right: .8cqi; }
.focus-example { display: flex; flex-direction: column; justify-content: center; }
.focus-example h4 { font-size: 4cqi; font-weight: 600; }
.focus-bad .baseline { background: var(--accent); }
.focus-bad h4, .focus-bad .bar-row strong { color: var(--accent); }
.example-data-note { margin-top: .8rem; font-size: .8125rem; }
.reveal-demo { width: 100%; max-width: 640px; margin-top: 1rem; container-type: inline-size; }
.reveal-slide > h4 { font-size: 4.5cqi; font-weight: 600; line-height: 1.4; }
.reveal-points { display: grid; gap: 3cqi; list-style: none; padding: 0; margin: 4cqi 0 0; }
.reveal-points li { display: flex; align-items: baseline; gap: 3cqi; }
.reveal-points li > span { font-size: 2.8cqi; font-variant-numeric: tabular-nums; color: var(--muted); }
.reveal-points b { display: block; font-size: 3.6cqi; font-weight: 600; line-height: 1.4; }
.reveal-points p { font-size: 2.8cqi; line-height: 1.5; color: #56594f; }
.reveal-points .is-current b, .reveal-points .is-current > span { color: var(--accent); }
.reveal-points .is-current { animation: reveal-point 180ms ease-out; }
.reveal-points .is-pending { visibility: hidden; }
.reveal-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 640px; margin-top: 1rem; }
.reveal-controls p { font-size: .8125rem; color: var(--muted); }
.reveal-controls button { flex-shrink: 0; min-width: 7rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: white; font-size: .875rem; }
.reveal-controls button:hover { background: #42463b; }
@keyframes reveal-point { from { opacity: 0; } to { opacity: 1; } }
@container (max-width: 520px) {
  .comparison { grid-template-columns: 1fr; gap: 1.5rem; }
}
.step-body > .source-note { font-size: .8125rem; color: var(--muted); margin-top: 1rem; }
.step-body > .rule-note { font-size: .875rem; color: #56594f; padding-left: 1rem; border-left: 2px solid #a4af8e; margin-top: 1.3rem; }
.support-section { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 5rem; padding-block: 48px 64px; border-top: 1px solid var(--line); }
.faq-list { min-width: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; font-weight: 550; list-style: none; }
.faq-list details:first-child summary { padding-top: 0; }
.faq-list summary::marker { content: ""; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--muted); width: 1.25rem; height: 1.25rem; }
.faq-list .faq-collapse { display: none; }
.faq-list details[open] .faq-expand { display: none; }
.faq-list details[open] .faq-collapse { display: block; color: var(--accent); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { color: #56594f; padding: 0 2.75rem 1.2rem 0; }
.check-progress { font-size: .8125rem; color: var(--muted); margin-top: 1rem; font-variant-numeric: tabular-nums; }
.check-progress strong { color: var(--ink); font-size: 1rem; font-weight: 600; }
.checklist { border: 0; padding: 0; margin: 0; min-width: 0; }
.checklist-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.checklist-group + .checklist-group { margin-top: 1.75rem; }
.checklist-group legend { padding: 0 0 .75rem; font-size: .875rem; font-weight: 600; color: var(--muted); }
.checklist label { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.checklist label:first-of-type { border-top: 1px solid var(--line); }
.checklist label:hover { color: var(--accent); }
.checklist input { grid-area: 1 / 1; appearance: none; margin: .25rem 0 0; width: 20px; height: 20px; border: 1.5px solid var(--muted); border-radius: 4px; background: transparent; cursor: pointer; }
.checklist input:checked { background: var(--ink); border-color: var(--ink); }
.checklist-tick { grid-area: 1 / 1; margin: .375rem 2px 0; width: 16px; height: 16px; color: white; visibility: hidden; pointer-events: none; }
.checklist input:checked + .checklist-tick { visibility: visible; }
.checklist label > span { grid-area: 1 / 2; }
.checklist input:checked ~ span { color: var(--muted); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; }
.site-footer a { text-decoration: none; }
.site-footer nav { display: flex; align-items: center; gap: 2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 650; }
.footer-brand .icon { color: var(--muted); }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .guide-step, .support-section { grid-template-columns: 220px minmax(0, 1fr); gap: 2.5rem; }
  .ratio-stage { gap: 1.5rem; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { grid-template-columns: 1fr auto; gap: .5rem 1rem; padding-top: 1rem; }
  .wordmark { font-size: .9375rem; gap: .6rem; }
  .site-header > .home-link { grid-area: 1 / 2; padding-left: 0; border-left: 0; }
  .site-header nav { grid-area: 2 / 1 / 3 / -1; justify-content: space-between; gap: 1rem; font-size: .875rem; }
  .site-header nav a { padding-block: .75rem; }
  h1 { font-size: 2rem; }
  .page-intro { padding-block: 36px; }
  .intro-lead { font-size: 1rem; }
  .section-space { padding-block: 48px; }
  .guide-section { padding-top: 0; }
  .guide-steps { margin-top: 0; }
  .guide-step { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 2rem; }
  .step-heading h3 { font-size: 1.45rem; margin-block: .4rem; }
  .step-heading h3 br { display: none; }
  .ratio-stage { justify-content: center; padding: 1.25rem 1rem; gap: 1.25rem; }
  .ratio-frame { height: 80px; }
  .do-dont { gap: 1rem; }
  .support-section { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 32px 48px; }
  .check-progress { margin-top: .5rem; }
  .site-footer { flex-direction: column; align-items: stretch; gap: .5rem; }
  .site-footer nav { justify-content: space-between; gap: 1rem; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .ratio-frame { height: 72px; }
  .ratio-stage { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .reveal-points .is-current { animation: none; }
}
@media (forced-colors: active) {
  .checklist input { appearance: auto; }
  .checklist-tick { display: none; }
}
@media print {
  :root { background: white; color: black; }
  body { font-size: 10pt; }
  .wrap { width: 100%; }
  .site-header nav, .check-progress, .back-to-top, .reveal-controls { display: none !important; }
  .site-header { min-height: 48px; }
  .site-header > .home-link { grid-column: 3; }
  .page-intro { padding-block: 24px; }
  h1 { font-size: 24pt; }
  .section-space { padding-block: 28px; }
  .guide-step, .support-section { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; }
  .support-section { padding-block: 28px; }
  .guide-step { padding-block: 24px; }
  .step-heading h3 { font-size: 17pt; }
  .ratio-stage, .do-dont, .checklist label, .comparison-item { break-inside: avoid; }
  .comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example-canvas { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .reveal-points .is-pending { visibility: visible; }
  .reveal-points .is-current { animation: none; }
  a { text-decoration: none; }
  .site-footer { padding-block: 16px; }
}
