:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #1d2430;
  --muted: #697382;
  --line: #dde3eb;
  --line-strong: #c9d1dc;
  --blue: #1668d5;
  --blue-deep: #0f4da4;
  --blue-soft: #eaf2ff;
  --orange: #ef6b35;
  --orange-soft: #fff0e9;
  --green: #15936b;
  --shadow: 0 12px 32px rgba(28, 45, 69, 0.08);
  --radius: 8px;
  --content-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 48px), var(--content-width)); margin: 0 auto; }
.visually-hidden { 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: fixed; left: 16px; top: -48px; z-index: 10; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: 4px; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 5; background: rgba(246, 248, 251, .92); border-bottom: 1px solid rgba(221, 227, 235, .88); backdrop-filter: blur(16px); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 220px; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--blue); border-radius: 5px; font-size: 16px; font-weight: 800; }
.brand strong { display: block; font-size: 17px; line-height: 1.15; letter-spacing: .02em; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1; letter-spacing: .15em; }
.main-nav { display: flex; align-items: stretch; gap: 28px; margin-right: auto; height: 72px; }
.main-nav a { display: inline-flex; align-items: center; position: relative; color: var(--muted); font-size: 14px; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.is-active { color: var(--ink); }
.main-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue); }
.header-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 14px; font-weight: 700; }
.header-link span { font-size: 18px; line-height: 1; }

.hero-section { padding: 76px 0 90px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f6f8fb 0%, #f1f5fa 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 520px); align-items: center; gap: 80px; }
.eyebrow, .section-label { display: flex; align-items: center; gap: 10px; margin: 0 0 21px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-line { width: 28px; height: 2px; background: var(--blue); }
.hero-copy h1 { max-width: 650px; margin: 0; color: var(--ink); font-size: clamp(38px, 5vw, 64px); line-height: 1.12; letter-spacing: 0; font-weight: 750; }
.hero-intro { max-width: 580px; margin: 25px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 0 17px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 18px rgba(22, 104, 213, .2); }
.button-primary:hover, .button-primary:focus-visible { background: var(--blue-deep); box-shadow: 0 10px 23px rgba(22, 104, 213, .26); }
.button span { font-size: 18px; line-height: 1; }
.text-link { color: var(--ink); font-size: 14px; font-weight: 700; }
.text-link span { margin-left: 7px; color: var(--blue); font-size: 18px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 47px; color: var(--muted); font-size: 12px; }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--orange-soft); }

.hero-visual { min-height: 450px; position: relative; padding: 26px 28px 22px; overflow: hidden; color: #fff; background: #202a38; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-visual::before { content: ""; position: absolute; top: -90px; right: -70px; width: 310px; height: 310px; border-radius: 50%; background: rgba(22, 104, 213, .2); }
.hero-visual::after { content: ""; position: absolute; left: 14%; bottom: -110px; width: 250px; height: 250px; border-radius: 50%; background: rgba(239, 107, 53, .13); }
.visual-topline, .visual-heading, .chart-area, .visual-footer { position: relative; z-index: 1; }
.visual-topline, .visual-footer { display: flex; justify-content: space-between; align-items: center; color: #9eacbd; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.visual-status { display: inline-flex; align-items: center; gap: 7px; color: #93d6bb; letter-spacing: .04em; }
.visual-status i { width: 6px; height: 6px; border-radius: 50%; background: #4bd29e; }
.visual-heading { margin-top: 58px; }
.visual-kicker { display: block; color: #a9b6c6; font-size: 12px; }
.visual-heading strong { display: block; margin-top: 11px; font-size: 28px; line-height: 1.35; letter-spacing: 0; }
.chart-area { height: 190px; margin-top: 35px; padding-left: 42px; }
.chart-y-labels { position: absolute; left: 0; top: 4px; bottom: 25px; display: flex; flex-direction: column; justify-content: space-between; color: #7d8b9d; font-size: 10px; }
.chart-lines { position: absolute; left: 42px; right: 0; top: 0; bottom: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-lines i { display: block; border-top: 1px solid rgba(169, 182, 198, .2); }
.chart-bars { position: absolute; left: 60px; right: 10px; top: 10px; bottom: 28px; display: flex; align-items: end; justify-content: space-around; gap: 10px; }
.chart-bars b { display: block; width: 22px; background: linear-gradient(180deg, #4a94f2 0%, #1668d5 100%); border-radius: 2px 2px 0 0; box-shadow: 0 0 18px rgba(22, 104, 213, .25); }
.chart-bars b:nth-child(2n) { background: linear-gradient(180deg, #f28a59 0%, #ef6b35 100%); }
.chart-bars b:nth-child(1) { height: 34%; }
.chart-bars b:nth-child(2) { height: 49%; }
.chart-bars b:nth-child(3) { height: 43%; }
.chart-bars b:nth-child(4) { height: 70%; }
.chart-bars b:nth-child(5) { height: 61%; }
.chart-bars b:nth-child(6) { height: 86%; }
.chart-bars b:nth-child(7) { height: 79%; }
.chart-bars b:nth-child(8) { height: 96%; }
.chart-x-labels { position: absolute; bottom: 0; left: 42px; right: 0; display: flex; justify-content: space-between; color: #7d8b9d; font-size: 10px; }
.visual-footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(169, 182, 198, .2); font-size: 10px; letter-spacing: .03em; }

.section-section { padding: 92px 0 98px; background: var(--surface); }
.topics-section { background: var(--bg); border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 35px; }
.section-heading .section-label { margin-bottom: 12px; }
.section-heading h2, .path-intro h2 { margin: 0; font-size: 32px; line-height: 1.25; letter-spacing: 0; }
.section-aside { max-width: 310px; margin: 0; color: var(--muted); text-align: right; font-size: 14px; }
.featured-slot { min-height: 280px; }
.featured-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(250px, .92fr); min-height: 300px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(28, 45, 69, .04); }
.featured-card .article-card-body { padding: 37px 42px 36px; }
.featured-card .article-card-title { max-width: 580px; font-size: 35px; }
.featured-card .article-card-excerpt { max-width: 570px; font-size: 16px; }
.featured-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; color: #fff; background: #263448; }
.featured-panel-kicker { color: #93a4b8; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.featured-panel-figure { margin-top: 25px; }
.featured-panel-figure strong { display: block; font-size: 46px; line-height: 1; letter-spacing: 0; }
.featured-panel-figure span { display: block; margin-top: 11px; color: #aebccd; font-size: 12px; }
.mini-chart { display: flex; align-items: end; gap: 8px; height: 70px; margin-top: 30px; }
.mini-chart i { width: 20px; background: var(--orange); border-radius: 2px 2px 0 0; }
.mini-chart i:nth-child(2n) { background: #4a94f2; }
.mini-chart i:nth-child(1) { height: 32%; }
.mini-chart i:nth-child(2) { height: 46%; }
.mini-chart i:nth-child(3) { height: 40%; }
.mini-chart i:nth-child(4) { height: 63%; }
.mini-chart i:nth-child(5) { height: 57%; }
.mini-chart i:nth-child(6) { height: 84%; }
.mini-chart i:nth-child(7) { height: 75%; }
.featured-panel-footer { display: flex; justify-content: space-between; padding-top: 16px; color: #aebccd; border-top: 1px solid rgba(174, 188, 205, .2); font-size: 11px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; }
.article-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; color: var(--blue); background: var(--blue-soft); border-radius: 3px; font-size: 11px; font-weight: 800; }
.article-tag.orange { color: #c74d1c; background: var(--orange-soft); }
.article-tag.green { color: #097252; background: #e7f7f1; }
.article-card-title { margin: 18px 0 12px; font-size: 24px; line-height: 1.35; letter-spacing: 0; }
.article-card-excerpt { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.article-card-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 23px; color: var(--blue); font-size: 13px; font-weight: 800; }
.article-card-link span { font-size: 18px; line-height: 1; transition: transform .18s ease; }
.article-card:hover .article-card-link span, .article-card:focus-visible .article-card-link span { transform: translateX(3px); }

.compact-heading { margin-bottom: 23px; }
.article-count { color: var(--muted); font-size: 13px; }
.topic-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; }
.filter-button { min-height: 32px; padding: 0 12px; color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 13px; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.filter-button:hover, .filter-button:focus-visible { color: var(--blue); border-color: var(--blue); }
.filter-button.is-active { color: #fff; background: var(--blue); border-color: var(--blue); }
.article-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.search-field { display: flex; align-items: center; gap: 9px; width: min(100%, 360px); min-height: 42px; padding: 0 12px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px; }
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 104, 213, .11); }
.search-icon { color: var(--muted); font-size: 23px; line-height: 1; transform: translateY(-1px); }
.search-field input { width: 100%; min-width: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 14px; }
.search-field input::placeholder { color: #9aa4b2; }
.toolbar-result { color: var(--muted); font-size: 12px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.article-card { display: flex; flex-direction: column; min-height: 313px; padding: 26px 25px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.article-card:hover, .article-card:focus-visible { border-color: #abc6ea; box-shadow: var(--shadow); transform: translateY(-3px); }
.article-card .article-card-link { margin-top: auto; }
.loading-block { display: grid; place-items: center; min-height: 180px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 14px; }
.empty-state { padding: 42px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty-state strong, .empty-state span { display: block; }
.empty-state strong { color: var(--ink); font-size: 16px; }
.empty-state span { margin-top: 5px; font-size: 13px; }

.path-section { padding: 92px 0; color: #fff; background: #263448; }
.path-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.path-intro .section-label { color: #79abed; }
.path-intro h2 { font-size: 38px; }
.path-intro p:last-child { max-width: 310px; margin: 22px 0 0; color: #aebccd; font-size: 14px; }
.path-list { border-top: 1px solid rgba(174, 188, 205, .22); }
.path-item { display: grid; grid-template-columns: 62px 1fr 30px; align-items: center; gap: 14px; min-height: 93px; border-bottom: 1px solid rgba(174, 188, 205, .22); }
.path-item:hover .path-arrow, .path-item:focus-visible .path-arrow { color: #fff; transform: translate(2px, -2px); }
.path-index { color: #79abed; font-size: 12px; font-weight: 800; }
.path-item strong, .path-item small { display: block; }
.path-item strong { font-size: 17px; }
.path-item small { margin-top: 4px; color: #aebccd; font-size: 12px; }
.path-arrow { justify-self: end; color: #79abed; font-size: 20px; transition: transform .18s ease; }
.disclaimer-section { background: #f0f3f7; border-top: 1px solid var(--line); }
.disclaimer-inner { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.disclaimer-mark { display: grid; flex: 0 0 auto; place-items: center; width: 20px; height: 20px; color: var(--blue); border: 1px solid #9bb9e5; border-radius: 50%; font-size: 12px; font-weight: 800; }
.disclaimer-inner p { margin: 0; color: var(--muted); font-size: 12px; }
.site-footer { color: #8a95a3; background: #e9edf2; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; min-height: 58px; align-items: center; font-size: 11px; }

/* Article pages */
.article-page .site-header { background: rgba(246, 248, 251, .96); }
.article-header { padding: 74px 0 55px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: var(--blue); }
.breadcrumbs span { color: #9da8b6; }
.article-header h1 { max-width: 880px; margin: 0; font-size: clamp(35px, 5vw, 58px); line-height: 1.16; letter-spacing: 0; }
.article-standfirst { max-width: 780px; margin: 23px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.article-header .article-meta { margin-top: 29px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 90px; padding: 64px 0 100px; }
.article-body { min-width: 0; }
.article-body h2 { margin: 42px 0 16px; font-size: 27px; line-height: 1.3; letter-spacing: 0; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 30px 0 11px; font-size: 19px; }
.article-body p { margin: 0 0 18px; color: #485363; font-size: 16px; line-height: 1.9; }
.article-body ul, .article-body ol { margin: 15px 0 25px; padding-left: 22px; color: #485363; }
.article-body li { margin: 9px 0; padding-left: 5px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--blue); text-decoration: underline; text-decoration-color: #a8c6ed; text-underline-offset: 3px; }
.article-callout { margin: 28px 0; padding: 22px 24px; color: #31445d; background: var(--blue-soft); border-left: 3px solid var(--blue); }
.article-callout p { margin: 0; color: inherit; font-size: 15px; }
.article-callout.orange { color: #704026; background: var(--orange-soft); border-color: var(--orange); }
.formula-box { margin: 25px 0 29px; padding: 24px; text-align: center; background: #202a38; border-radius: 5px; }
.formula-box code { color: #dbeaff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(18px, 3vw, 27px); }
.article-table-wrap { overflow-x: auto; margin: 24px 0 31px; border: 1px solid var(--line); border-radius: 5px; }
.article-table { width: 100%; min-width: 490px; border-collapse: collapse; background: var(--surface); text-align: left; }
.article-table th, .article-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.article-table th { color: var(--ink); background: #f0f3f7; font-weight: 800; }
.article-table td { color: var(--muted); }
.article-table tr:last-child td { border-bottom: 0; }
.article-sidebar { align-self: start; position: sticky; top: 104px; }
.sidebar-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sidebar-card + .sidebar-card { margin-top: 15px; }
.sidebar-label { margin: 0 0 14px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.sidebar-card h2 { margin: 0; font-size: 18px; line-height: 1.4; }
.sidebar-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.sidebar-card li { display: flex; gap: 9px; margin: 12px 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.sidebar-card li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; margin-top: 8px; background: var(--orange); border-radius: 50%; }
.sidebar-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; color: var(--blue); font-size: 13px; font-weight: 800; }
.article-end { margin-top: 45px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.article-back { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 13px; font-weight: 800; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy h1 { max-width: 760px; }
  .hero-visual { max-width: 620px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-grid { gap: 50px; }
  .article-layout { gap: 44px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--content-width)); }
  .header-inner { min-height: 64px; flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; }
  .brand { min-width: 0; margin-right: auto; }
  .brand small { display: none; }
  .header-link { display: inline-flex; font-size: 13px; }
  .main-nav { display: flex; order: 3; width: 100%; height: 42px; margin: 0; gap: 22px; overflow-x: auto; white-space: nowrap; }
  .main-nav a { flex: 0 0 auto; font-size: 13px; }
  .hero-section { padding: 42px 0 48px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-note { margin-top: 27px; }
  .hero-visual { display: none; }
  .section-section, .path-section { padding: 64px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 25px; }
  .section-aside { text-align: left; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .article-card-body { padding: 28px 24px 26px; }
  .featured-card .article-card-title { font-size: 27px; }
  .featured-panel { min-height: 245px; }
  .article-toolbar { align-items: stretch; flex-direction: column; gap: 11px; }
  .search-field { width: 100%; }
  .article-grid { grid-template-columns: 1fr; gap: 11px; }
  .article-card { min-height: 275px; padding: 23px 21px 21px; }
  .path-grid { grid-template-columns: 1fr; gap: 43px; }
  .path-intro h2 { font-size: 32px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; min-height: 72px; }
  .article-header { padding: 49px 0 38px; }
  .article-header h1 { font-size: 38px; }
  .article-standfirst { font-size: 16px; }
  .article-layout { grid-template-columns: 1fr; gap: 38px; padding: 45px 0 65px; }
  .article-sidebar { position: static; order: -1; }
  .article-body p { font-size: 15px; }
  .article-body h2 { margin-top: 35px; font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
