:root {
  color-scheme: light;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --secondary: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-soft: #e8f2ff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 4px; }
.page-width { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 14px 20px; background: white; z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250,250,252,.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.header-inner { width: min(1180px, calc(100% - 96px)); height: 66px; display: flex; align-items: center; margin: auto; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 20px; letter-spacing: -.5px; }
.brand img { border-radius: 8px; }
.header-label { color: var(--secondary); font-size: 14px; border-left: 1px solid var(--line); padding-left: 24px; }
.download-link { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--blue); min-height: 44px; }
.download-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.overview { padding-top: 68px; padding-bottom: 64px; }
.intro { max-width: 900px; }
.updated { color: var(--secondary); font-size: 14px; margin: 0 0 18px; }
h1 { margin: 0; font-size: clamp(38px, 4.8vw, 62px); line-height: 1.2; font-weight: 650; letter-spacing: -2.2px; }
.intro-description { margin: 22px 0 0; font-size: 22px; line-height: 1.7; color: var(--secondary); max-width: 780px; }
.overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 42px; }
.overview-card { background: var(--surface); border-radius: 22px; padding: 25px 24px 22px; display: flex; flex-direction: column; transition: box-shadow .18s ease; }
.overview-card:hover { box-shadow: 0 8px 26px rgba(0,0,0,.07); }
.card-meta { display: flex; align-items: center; justify-content: space-between; color: var(--secondary); gap: 12px; font-size: 13px; }
.card-meta > span:first-child { color: var(--blue); font-size: 23px; font-weight: 650; letter-spacing: -.5px; }
.overview-card h2 { font-size: 23px; font-weight: 600; letter-spacing: -.5px; line-height: 1.3; margin: 20px 0 12px; }
.overview-card p { font-size: 14px; line-height: 1.75; margin: 0 0 24px; color: var(--secondary); }
.card-outcome { margin-top: auto; border-top: 1px solid #eeeeef; padding-top: 15px; display: flex; align-items: center; gap: 12px; justify-content: space-between; font-size: 13px; line-height: 1.65; }
.card-outcome span { color: var(--blue); font-size: 20px; }
.sequence-note { margin: 20px 0 0; max-width: 970px; color: var(--secondary); font-size: 14px; line-height: 1.9; }
.document-layout { display: grid; grid-template-columns: 208px minmax(0,1fr); gap: 64px; align-items: start; }
.sidebar { position: sticky; top: 96px; padding: 4px 0; }
.nav-title { font-size: 13px; margin: 0 0 17px 14px; color: var(--secondary); }
.section-nav { display: flex; flex-direction: column; gap: 4px; }
.section-nav a { font-size: 14px; padding: 11px 14px; line-height: 1.5; border-radius: 9px; color: var(--secondary); }
.section-nav a:hover { background: rgba(0,0,0,.035); color: var(--ink); }
.section-nav a[aria-current="location"] { color: var(--blue); background: var(--blue-soft); font-weight: 550; }
.reader-actions { border-top: 1px solid var(--line); margin: 25px 14px 0; padding-top: 18px; }
.reader-actions[hidden] { display: none; }
.reader-actions button { display: flex; width: 100%; align-items: center; justify-content: space-between; text-align: left; padding: 8px 0; border: 0; background: none; color: var(--blue); cursor: pointer; font-size: 14px; min-height: 44px; }
.reader-actions button span { font-size: 19px; }
.document { min-width: 0; padding-bottom: 16px; }
.text-section { margin-bottom: 80px; }
.text-section h2 { font-size: 28px; line-height: 1.4; font-weight: 600; letter-spacing: -.7px; margin: 0 0 25px; }
.prose { font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { margin: 18px 0 24px; padding-left: 1.4em; }
.prose li { margin: 8px 0; padding-left: .25em; }
.prose li::marker { color: var(--secondary); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.baseline { border-top: 1px solid var(--line); padding-top: 32px; }
.baseline .prose { color: #515154; }
.stage { margin-bottom: 80px; }
.stage-heading { margin-bottom: 28px; }
.stage-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: var(--secondary); font-size: 14px; }
.priority-badge { display: inline-flex; color: var(--blue); background: var(--blue-soft); padding: 6px 13px; border-radius: 8px; font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -.5px; }
.meta-divider { margin-inline: 10px; color: #b0b0b5; }
.stage-heading h2 { font-size: 34px; line-height: 1.4; font-weight: 600; letter-spacing: -.85px; margin: 0; text-wrap: balance; }
.stage-heading p { font-size: 17px; color: var(--secondary); line-height: 1.7; margin: 13px 0 0; }
.project-list { background: white; border-radius: 22px; overflow: clip; }
.project + .project { border-top: 1px solid #e8e8ed; }
.project summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 30px; }
.project summary::-webkit-details-marker { display: none; }
.project summary:hover { color: var(--blue); }
.project summary:focus-visible { outline-offset: -5px; }
.project h3 { font-size: 19px; line-height: 1.55; font-weight: 550; letter-spacing: -.2px; margin: 0; }
.expand-icon { position: relative; display: block; width: 23px; height: 23px; flex: 0 0 23px; border-radius: 50%; background: #f5f5f7; color: var(--secondary); }
.expand-icon::before, .expand-icon::after { content: ''; position: absolute; background: currentColor; top: 11px; left: 6px; width: 11px; height: 1px; }
.expand-icon::after { transform: rotate(90deg); }
.project[open] .expand-icon::after { display: none; }
.project[open] summary { padding-bottom: 16px; }
.project-body { padding: 0 30px 32px; color: #424245; }
.project-body p:has(> strong:first-child) { background: #f5f5f7; border-radius: 12px; padding: 17px 20px; color: var(--ink); margin-block: 24px; }
.project-body p:has(> strong:first-child) strong { display: block; margin-bottom: 5px; font-size: 14px; color: var(--secondary); }
.project-body > p:last-child:not(:has(strong)) { color: var(--secondary); font-size: 14px; line-height: 1.85; }
.ideas { padding-top: 12px; }
.prose table { width: 100%; border-collapse: collapse; margin: 28px 0 0; text-align: left; font-size: 15px; line-height: 1.85; }
.prose th { color: var(--secondary); font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line); padding: 0 20px 14px 0; }
.prose td { border-bottom: 1px solid #e2e2e6; padding: 19px 20px 19px 0; vertical-align: top; }
.prose td:first-child { font-weight: 550; width: 31%; }
.prose td:last-child { color: #515154; padding-right: 0; }
.start { background: var(--surface); border-radius: 22px; padding: 34px; }
.results ol { list-style: none; counter-reset: result; padding-left: 0; }
.results li { counter-increment: result; position: relative; padding: 16px 0 16px 48px; margin: 0; border-bottom: 1px solid #e2e2e6; }
.results li::before { content: counter(result); position: absolute; left: 0; top: 16px; font-size: 18px; color: var(--blue); font-weight: 550; }
.results .prose > p:last-child { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px 36px; display: flex; gap: 24px; align-items: center; color: var(--secondary); font-size: 13px; }
.site-footer a { margin-left: auto; color: var(--blue); padding: 10px 0; }
@media (min-width: 1440px) {
  .overview { padding-top: 84px; }
}
@media (max-width: 1100px) {
  .page-width, .header-inner { width: calc(100% - 64px); }
  .overview-grid { gap: 12px; }
  .overview-card { padding: 22px 18px 20px; }
  .overview-card h2 { font-size: 21px; }
  .card-meta { flex-wrap: wrap; gap: 5px 12px; }
  .document-layout { grid-template-columns: 176px minmax(0,1fr); gap: 36px; }
}
@media (max-width: 820px) {
  .page-width, .header-inner { width: calc(100% - 48px); }
  .overview { padding-top: 44px; padding-bottom: 42px; }
  h1 { font-size: 43px; letter-spacing: -1.6px; }
  .intro-description { font-size: 19px; }
  .overview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 30px; }
  .overview-card { padding: 23px; }
  .overview-card h2 { font-size: 23px; margin-top: 16px; }
  .overview-card p { margin-bottom: 18px; }
  .document-layout { display: block; }
  .sidebar { position: sticky; top: 66px; z-index: 10; margin-inline: -24px; padding: 0 24px; background: rgba(245,245,247,.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
  .section-nav { flex-direction: row; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
  .section-nav::-webkit-scrollbar { display: none; }
  .section-nav a { white-space: nowrap; padding: 9px 12px; }
  .nav-title { display: none; }
  .reader-actions { margin: 0; padding: 0 0 8px; border: 0; }
  .reader-actions button { width: auto; gap: 10px; min-height: 32px; padding: 3px 8px; font-size: 13px; }
  .document { padding-top: 40px; }
  html { scroll-padding-top: 181px; }
  .text-section, .stage { margin-bottom: 60px; }
  .baseline { border-top: 0; padding-top: 0; }
  .stage-heading h2 { font-size: 30px; }
}
@media (max-width: 480px) {
  .page-width, .header-inner { width: calc(100% - 40px); }
  .header-inner { height: 60px; gap: 14px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .header-label { padding-left: 14px; font-size: 13px; }
  .download-link { font-size: 13px; gap: 4px; }
  .download-link svg { display: none; }
  .overview { padding-top: 36px; padding-bottom: 34px; }
  .updated { font-size: 13px; margin-bottom: 15px; }
  h1 { font-size: 34px; line-height: 1.3; letter-spacing: -1px; }
  .intro-description { font-size: 17px; line-height: 1.85; margin-top: 16px; }
  .overview-grid { gap: 12px; margin-top: 26px; }
  .overview-card { padding: 19px 17px; border-radius: 18px; }
  .card-meta { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 12px; }
  .card-meta > span:first-child { font-size: 22px; }
  .overview-card h2 { font-size: 20px; line-height: 1.4; margin-top: 14px; letter-spacing: -.6px; }
  .overview-card p { font-size: 13px; margin-bottom: 16px; }
  .card-outcome { font-size: 12px; line-height: 1.6; gap: 4px; }
  .card-outcome span { font-size: 17px; }
  .sequence-note { font-size: 13px; line-height: 1.85; margin-top: 18px; }
  .sidebar { top: 60px; margin-inline: -20px; padding-inline: 20px; }
  .section-nav a { font-size: 13px; }
  .text-section h2 { font-size: 25px; }
  .stage-heading h2 { font-size: 27px; letter-spacing: -.6px; }
  .stage-heading p { font-size: 16px; }
  .project-list { border-radius: 18px; }
  .project summary { padding: 22px 21px; gap: 16px; }
  .project h3 { font-size: 18px; }
  .project-body { padding-inline: 21px; padding-bottom: 26px; }
  .prose { font-size: 16px; line-height: 1.9; }
  .project-body p:has(> strong:first-child) { padding: 14px 16px; }
  .prose table { font-size: 14px; }
  .prose th { font-size: 13px; }
  .prose td { padding-block: 16px; }
  .prose td:first-child { width: 35%; }
  .start { padding: 25px 23px; border-radius: 18px; }
  .site-footer { flex-wrap: wrap; gap: 6px 20px; font-size: 12px; }
  .site-footer span:nth-child(2) { margin-left: auto; }
  .site-footer a { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .overview-card { transition: none; }
}
@media print {
  :root { background: white; }
  .site-header, .sidebar, .skip-link, .site-footer a { display: none; }
  .page-width { width: 100%; }
  .overview { padding: 0 0 24px; }
  h1 { font-size: 30px; }
  .intro-description { font-size: 16px; }
  .overview-grid { gap: 10px; margin-top: 20px; }
  .overview-card { padding: 14px; border: 1px solid var(--line); }
  .overview-card h2 { font-size: 18px; }
  .document-layout { display: block; }
  .document { padding: 0; }
  .text-section, .stage { margin-bottom: 32px; }
  .stage-heading h2 { font-size: 25px; }
  .project summary { padding: 18px 0; }
  .project-body { padding: 0 0 20px; }
  .project-list { overflow: visible; }
  .expand-icon { display: none; }
  .prose { font-size: 11pt; }
  .start { padding: 0; }
  h2, h3, summary { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  .overview-card, .project-body p:has(strong), tr { break-inside: avoid; }
}
