:root {
  color-scheme: light;
  --ink: #24334a;
  --forest: #c24a1f;
  --leaf: #fbeae1;
  --paper: #f2f2f7;
  --gold: #c24a1f;
  --line: #d9dee7;
  --muted: #6b7280;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Kaku Gothic ProN", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

:root:lang(zh), .languages a:lang(zh) {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
:root:lang(ja), .languages a:lang(ja) {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
p { line-height: 1.8; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; background: var(--ink); color: white; padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 1480px; margin: auto; padding: 1rem clamp(1.1rem, 4vw, 4rem); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; font-size: 1.17rem; white-space: nowrap; letter-spacing: -.02em; }
.brand-mark { display: block; width: 3rem; height: 3rem; flex: none; border-radius: 12px; }
.brand-wordmark { display: grid; gap: .25rem; }
.brand-wordmark strong { font-size: 1.2rem; line-height: 1.1; letter-spacing: -.04em; }
.brand-local { font-size: .78rem; font-weight: 650; line-height: 1.1; letter-spacing: .12em; }
.main-nav, .languages { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.7rem, 1.7vw, 1.8rem); }
.main-nav a, .languages a { text-decoration: none; font-size: .87rem; font-weight: 650; color: var(--muted); padding: .3rem 0; }
.main-nav a:hover, .languages a:hover, .main-nav [aria-current], .languages [aria-current] { color: var(--ink); box-shadow: inset 0 -2px var(--gold); }
.languages { gap: .6rem; border-left: 1px solid var(--line); padding-left: 1.1rem; }
.languages a { font-size: .75rem; }

.hero { max-width: 1400px; margin: auto; display: grid; grid-template-columns: 1.06fr .94fr; padding: 1.5rem clamp(1.1rem, 4vw, 4rem) 4rem; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.hero-copy { max-width: 650px; min-width: 0; position: relative; z-index: 1; }
.kicker { margin: 0 0 1.5rem; color: var(--forest); font-size: .88rem; font-weight: 800; letter-spacing: .06em; }
h1, h2, h3 { line-height: 1.17; letter-spacing: -.045em; }
.hero .kicker { font-size: .92rem; margin-bottom: 1.8rem; letter-spacing: .025em; }
.hero h1 { font-size: clamp(3.2rem, 5.5vw, 5.25rem); margin: 0; font-weight: 850; line-height: 1.14; }
.hero-title-intro { display: block; margin-bottom: .7em; font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.5; font-weight: 650; letter-spacing: -.025em; }
.hero-title-line, .hero-title-accent { display: block; }
.hero-title-accent { color: var(--forest); }
.hero-lead { max-width: 29rem; margin: 1.7rem 0 2rem; font-size: 1.05rem; line-height: 1.9; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem 1.5rem; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .65rem 1.35rem; background: var(--forest); color: white; font-weight: 750; text-decoration: none; border-radius: 12px; white-space: nowrap; transition: background .15s ease, transform .15s ease; }
.primary-link:hover { background: #a93f1b; }
.primary-link:active { transform: scale(.98); }
.plain-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; text-decoration-thickness: 1px; }
.hero-art { width: min(100%, 480px); aspect-ratio: 4 / 5; justify-self: end; }
.hero-illustration { display: block; width: 100%; height: auto; border-radius: 22px; }

.journey, .method, .boundary { padding: clamp(4rem, 8vw, 8rem) clamp(1.1rem, 4vw, 4rem); }
.journey { background: var(--ink); color: white; }
.journey > *, .method > *, .boundary > * { max-width: 1352px; margin-left: auto; margin-right: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2, .boundary h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.3rem); max-width: 15ch; }
.section-heading p { max-width: 34rem; margin: 0; color: inherit; opacity: .78; }
.stage-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; border-top: 1px solid #41536b; border-left: 1px solid #41536b; }
.stage-track li { display: flex; flex-direction: column; justify-content: space-between; min-height: 160px; padding: 1.15rem; border-right: 1px solid #41536b; border-bottom: 1px solid #41536b; }
.stage-track li:nth-child(4n+2), .stage-track li:nth-child(4n+4) { background: #2e4159; }
.stage-number { color: #f57d4d; font-size: .9rem; font-weight: 800; }
.stage-track strong { font-size: clamp(1.15rem, 1.6vw, 1.6rem); font-weight: 700; }
.method { background: var(--leaf); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; border-top: 1px solid var(--line); }
.pillar { padding-top: 2rem; max-width: 30rem; }
.pillar-glyph { font-size: 2.5rem; color: var(--forest); line-height: 1; }
.pillar h3 { font-size: clamp(1.55rem, 2vw, 2.1rem); margin: 1.6rem 0 .7rem; }
.pillar p { color: var(--muted); margin: 0; }
.boundary { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: center; }
.boundary p { max-width: 40rem; color: var(--muted); }
.boundary-note { color: var(--forest); border-left: 4px solid var(--gold); padding: 1.1rem 1.3rem; max-width: 20rem; font-weight: 650; line-height: 1.6; }

.document { max-width: 1480px; margin: auto; padding: 2rem clamp(1.1rem, 4vw, 4rem) 8rem; }
.document-head { padding: clamp(3rem, 5vw, 6rem) 0 4rem; border-bottom: 2px solid var(--ink); }
.document-head h1 { font-size: clamp(3rem, 5.5vw, 6rem); max-width: 14ch; margin: 0 0 1.5rem; }
.document-head > p:not(.kicker) { max-width: 48rem; color: var(--muted); font-size: 1.1rem; margin: 0 0 1.5rem; }
.effective { font-size: .85rem; color: var(--muted); font-weight: 700; }
.document-grid { display: grid; grid-template-columns: minmax(180px, .28fr) minmax(0, .72fr); gap: clamp(2rem, 5vw, 7rem); }
.toc { align-self: start; position: sticky; top: 2rem; display: grid; gap: .8rem; padding-top: 3rem; }
.toc span { color: var(--forest); font-size: .8rem; font-weight: 800; margin-bottom: .65rem; }
.toc a { font-size: .88rem; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.policy-section { display: grid; grid-template-columns: 3.5rem 1fr; gap: .65rem; border-bottom: 1px solid var(--line); padding: 2.9rem 0; scroll-margin-top: 2rem; }
.policy-number { padding-top: .4rem; font-size: .8rem; font-weight: 800; color: #c24a1f; }
.policy-section h2 { font-size: clamp(1.65rem, 2.3vw, 2.4rem); margin: 0 0 1.2rem; }
.policy-section p, .policy-section li { color: #3d4b5c; max-width: 44rem; line-height: 1.9; overflow-wrap: anywhere; }
.policy-section p { margin: 0 0 1rem; }
.policy-section ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.policy-section li { padding-left: .3rem; margin: .55rem 0; }
.contact-box { background: var(--leaf); padding: 2rem; display: grid; gap: .65rem; margin-top: 2.5rem; }
.contact-box span { color: var(--forest); font-size: .85rem; font-weight: 750; }
.contact-box a { font-size: clamp(1.2rem, 2vw, 2rem); overflow-wrap: anywhere; font-weight: 750; }

.footer { background: var(--ink); color: white; padding: 3rem clamp(1.1rem, 4vw, 4rem) 2rem; }
.footer-top, .footer-bottom { max-width: 1352px; margin: auto; display: flex; justify-content: space-between; gap: 2rem; }
.footer-top { align-items: start; padding-bottom: 3.5rem; }
.footer-brand { font-size: 1.5rem; font-weight: 850; }
.footer-top p { margin: 0; max-width: 28rem; opacity: .75; }
.footer-bottom { border-top: 1px solid #41536b; padding-top: 1.2rem; font-size: .79rem; color: #c4d2e0; }
.footer-bottom div { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .masthead { flex-wrap: wrap; }
  .brand { flex: 1; }
  .main-nav { order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: .85rem; }
  .languages { border-left: 0; padding-left: 0; }
  .hero { grid-template-columns: 1fr; padding-top: 3rem; gap: 2rem; }
  .hero-copy { max-width: 42rem; }
  .hero h1 { font-size: clamp(3.2rem, 8.2vw, 4.8rem); }
  .hero-art { justify-self: center; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1rem; }
  .stage-track { grid-template-columns: repeat(2, 1fr); }
  .stage-track li:nth-child(n) { background: transparent; }
  .stage-track li:nth-child(4n+2), .stage-track li:nth-child(4n+3) { background: #2e4159; }
  .document-grid { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; display: flex; overflow-x: auto; white-space: nowrap; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
  .toc span { display: none; }
}
@media (max-width: 640px) {
  .masthead { gap: .8rem; }
  .main-nav { gap: .7rem 1.3rem; }
  .hero { padding-top: 2rem; padding-bottom: 3rem; }
  .hero .kicker { margin-bottom: 1.3rem; font-size: .83rem; }
  .hero h1 { font-size: clamp(2.55rem, 10.5vw, 4rem); }
  .hero-title-intro { font-size: clamp(1.15rem, 4.7vw, 1.5rem); }
  .hero-lead { margin: 1.4rem 0 1.6rem; font-size: 1rem; }
  .stage-track li { min-height: 125px; }
  .pillars, .boundary { grid-template-columns: 1fr; }
  .pillars { gap: 1.8rem; }
  .boundary-note { margin-left: 0; }
  .policy-section { grid-template-columns: 2rem 1fr; gap: .4rem; }
  .footer-top, .footer-bottom { display: block; }
  .footer-top p { margin-top: 1.2rem; }
  .footer-bottom div { margin-top: 1rem; }
}
@media (max-width: 380px) {
  .brand { min-width: 0; }
  .brand-mark { width: 2.5rem; height: 2.5rem; }
  .brand-wordmark strong { font-size: 1rem; }
  .brand-local { font-size: .7rem; }
  .languages { gap: .5rem; }
  .main-nav { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-link { transition: none; }
}
