:root {
  --ink: #1d2736;
  --muted: #5c687c;
  --paper: #ffffff;
  --page: #eef1f7;
  --panel: #e3e8f2;
  --indigo: #172553;
  --indigo-deep: #0f1838;
  --accent: #5267d9;
  --teal: #087f81;
  --gold: #d99b2b;
  --coral: #c94f58;
  --line: #c7d0df;
  --focus: #16a3a5;
  --wide: 1200px;
  --read: 780px;
  --shadow: 0 16px 38px rgba(24,37,78,.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.74;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #3349b5; text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { color: #1d2c86; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; background: #fff; color: var(--indigo); padding: 12px 18px; border-radius: 4px; }
.skip-link:focus { top: 14px; }
.site-header { background: var(--indigo-deep); color: #fff; border-bottom: 1px solid rgba(255,255,255,.14); }
.header-inner { max-width: 1400px; min-height: 82px; margin: 0 auto; padding: 10px clamp(18px,2vw,28px); display: flex; align-items: center; gap: 12px; }
.site-brand { flex: 0 0 auto; }
.custom-logo-link { display: block; }
.custom-logo { width: 200px; max-height: 62px; object-fit: contain; object-position: left center; }
.brand-fallback { color: #fff; font-weight: 800; font-size: 20px; text-decoration: none; }
.primary-nav { margin-left: auto; }
.menu-list, .footer-menu { list-style: none; margin: 0; padding: 0; }
.menu-list { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 4px; }
.menu-list a { display: flex; align-items: center; min-height: 48px; padding: 9px 6px; color: #f6f8ff; font-weight: 600; font-size: 12.5px; line-height: 1.25; text-decoration: none; border-radius: 6px; white-space: nowrap; }
.menu-list a:hover, .menu-list .current-menu-item a { background: rgba(255,255,255,.1); }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; background: transparent; color: #fff; font: inherit; padding: 8px 12px; }
.menu-toggle-label { margin-right: 8px; font-size: 14px; }
.hero-cover, .page-cover { background: linear-gradient(128deg, var(--indigo-deep), var(--indigo) 72%, #24356f); color: #fff; }
.hero-copy, .cover-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(54px,8vw,108px) clamp(18px,4vw,54px); }
.hero-copy { max-width: 1040px; }
.eyebrow { margin: 0 0 14px; color: #e9bd68; font-size: 14px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--indigo-deep); line-height: 1.16; letter-spacing: -.025em; text-wrap: balance; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem,5.4vw,4.25rem); }
.hero-cover h1, .page-cover h1 { color: #fff; max-width: 970px; }
.hero-deck, .page-deck { max-width: 760px; margin: 24px 0 0; color: #e2e7f5; font-size: clamp(1.03rem,1.5vw,1.25rem); }
.hero-link { display: inline-flex; align-items: center; min-height: 48px; margin-top: 30px; padding: 10px 18px; border: 1px solid #e9bd68; border-radius: 5px; color: #fff4d4; font-weight: 700; text-decoration: none; }
.hero-link:hover { color: #fff; background: rgba(224,168,74,.14); }
.article-content { width: min(var(--read), calc(100% - 40px)); margin: 0 auto; padding: clamp(44px,7vw,88px) 0 clamp(60px,9vw,112px); }
.home-content { width: min(1040px, calc(100% - 40px)); counter-reset: chapter; }
.article-content > p, .article-content > ul, .article-content > ol, .article-content > h2, .article-content > h3, .article-content > blockquote, .article-content > .faq-section { max-width: var(--read); margin-left: auto; margin-right: auto; }
.article-content h2 { counter-increment: chapter; position: relative; margin-top: clamp(64px,8vw,92px); margin-bottom: 22px; padding: 12px 0 12px 24px; border-left: 6px solid var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem,3.2vw,2.55rem); }
.home-content > h2::before { content: counter(chapter, decimal-leading-zero); display: block; margin-bottom: 8px; color: var(--teal); font: 800 13px/1 "Noto Sans", sans-serif; letter-spacing: .15em; }
.article-content h3 { margin-top: 40px; font-size: clamp(1.3rem,2vw,1.7rem); }
.article-content p { margin-top: 0; margin-bottom: 1.35em; }
.article-content li + li { margin-top: .55em; }
.article-content strong { color: var(--indigo-deep); }
.editorial-figure { width: min(1040px, 100%); margin: clamp(32px,5vw,58px) auto; overflow: hidden; border-radius: 8px; background: var(--indigo); box-shadow: var(--shadow); }
.editorial-figure img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.editorial-figure.is-portrait img { aspect-ratio: 4 / 3; object-position: center 45%; }
.editorial-figure figcaption { padding: 11px 16px 13px; color: #e8edf8; background: var(--indigo-deep); font-size: 14px; }
.primary-asset { max-width: 1040px; margin: 34px auto 48px; padding: clamp(18px,3vw,30px); border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: 8px; background: #f8fafc; box-shadow: var(--shadow); }
.primary-asset > :first-child { margin-top: 0; }
.primary-asset > :last-child { margin-bottom: 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 30px auto 42px; background: #fff; font-size: 15px; }
.article-content th, .article-content td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-content th { background: var(--indigo); color: #fff; font-weight: 700; }
.article-content tr:nth-child(even) td { background: #f3f6fa; }
.faq-section { margin-top: clamp(72px,9vw,108px); }
.faq-item { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 5px 14px rgba(24,37,78,.05); }
.faq-item summary { min-height: 52px; padding: 15px 48px 15px 18px; color: var(--indigo-deep); font-weight: 800; cursor: pointer; }
.faq-answer { padding: 0 18px 2px; }
.site-footer { background: var(--indigo-deep); color: #d9e0ef; }
.footer-inner { max-width: var(--wide); margin: 0 auto; padding: 56px clamp(18px,4vw,54px) 36px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr); gap: 48px; }
.footer-brand { margin-top: 0; color: #fff; font-size: 23px; font-weight: 800; }
.site-footer a { color: #f5d694; }
.footer-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 24px; }
.footer-menu a { display: flex; align-items: center; min-height: 44px; color: #e6ebf6; }
.copyright { max-width: var(--wide); margin: 0 auto; padding: 20px clamp(18px,4vw,54px) 30px; border-top: 1px solid rgba(255,255,255,.12); color: #aeb9d0; font-size: 14px; }
@media (max-width: 1220px) {
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav { display: none; width: 100%; margin: 0; }
  .primary-nav.is-open { display: block; }
  .menu-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); justify-content: stretch; }
  .menu-list a { padding-left: 14px; border: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 768px) {
  body { font-size: 16px; line-height: 1.7; }
  .custom-logo { width: 215px; }
  .hero-copy, .cover-inner { padding-top: 54px; padding-bottom: 58px; }
  .article-content, .home-content { width: min(100% - 32px, var(--read)); padding-top: 38px; }
  .article-content h2 { margin-top: 52px; padding-left: 17px; }
  .editorial-figure { margin: 28px auto 42px; }
  .editorial-figure img { aspect-ratio: 4 / 3; }
  .editorial-figure.is-portrait img { aspect-ratio: 5 / 4; }
  .primary-asset { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .article-content table { min-width: 640px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 520px) {
  .header-inner { min-height: 74px; padding-left: 16px; padding-right: 16px; }
  .custom-logo { width: 190px; }
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-list { grid-template-columns: 1fr; }
  .menu-list a { min-height: 48px; }
  h1 { font-size: clamp(2rem,11vw,2.65rem); }
  .article-content, .home-content { width: calc(100% - 32px); }
  .footer-menu { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
