:root {
  color: #171513;
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #171513; background: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.reading-shell { width: min(860px, calc(100% - 48px)); }

.site-header { position: sticky; top: 0; z-index: 50; height: 70px; border-bottom: 1px solid rgba(0, 0, 0, .07); background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: auto; height: 24px; }
.brand span { width: 1px; height: 20px; background: rgba(0, 0, 0, .16); }
.brand strong { font-size: 18px; letter-spacing: -.04em; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a { padding: 10px 12px; border-radius: 8px; color: #4f4a45; font-size: 13px; font-weight: 600; }
.desktop-nav a:hover, .desktop-nav a.current { color: #171513; background: #f6f4f1; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.language { display: inline-flex; align-items: center; gap: 7px; padding: 8px 6px; font-size: 13px; font-weight: 600; }
.button { min-height: 42px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(0, 0, 0, .12); font-size: 13px; font-weight: 650; transition: background-color .2s, color .2s, border-color .2s; }
.button.ghost { background: #fff; }
.button.ghost:hover { background: #f7f5f2; }
.button.dark { color: #fff; border-color: #171513; background: #171513; }
.button.dark:hover { background: #332f2b; }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { width: 42px; height: 42px; display: grid; place-content: center; gap: 4px; list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; width: 19px; height: 1.5px; background: #171513; }
.mobile-menu nav { position: absolute; top: 50px; right: 0; width: 240px; padding: 10px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; background: #fff; box-shadow: 0 20px 48px rgba(33, 27, 21, .12); }
.mobile-menu nav a { display: block; padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.mobile-menu nav a:hover { background: #f7f5f2; }

.blog-hero { padding-top: 112px; padding-bottom: 88px; }
.section-label, .eyebrow { color: #d94a16; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.blog-hero h1 { margin: 18px 0 0; max-width: 820px; font-size: clamp(48px, 6vw, 82px); line-height: 1.04; letter-spacing: -.065em; }
.hero-intro { max-width: 620px; margin: 28px 0 0; color: #69625c; font-size: 18px; line-height: 1.8; }
.featured-wrap { padding-bottom: 120px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.section-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.section-heading span { color: #817a73; font-size: 13px; }
.featured-card { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 490px; overflow: hidden; border-radius: 28px; background: #f3f0ec; }
.featured-image { min-width: 0; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.featured-card:hover .featured-image img { transform: scale(1.018); }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 72px); }
.featured-copy h2 { margin: 20px 0 0; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.16; letter-spacing: -.05em; }
.featured-copy p { margin: 22px 0 0; color: #69625c; font-size: 16px; line-height: 1.8; }
.text-link { margin-top: 34px; display: inline-flex; align-items: center; gap: 9px; color: #c74010; font-size: 14px; font-weight: 700; }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.article-grid:empty { display: none; }
.article-grid:has(.article-card:only-child) { grid-template-columns: 1fr; }
.article-card { overflow: hidden; border: 1px solid rgba(0,0,0,.08); border-radius: 18px; background: #fff; }
.article-card:only-child { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 380px; }
.article-card:only-child .card-image { min-height: 380px; aspect-ratio: auto; }
.article-card:only-child .card-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 68px); }
.article-card:only-child .card-copy h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
.card-image { aspect-ratio: 16/9; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-copy { padding: 24px; }
.card-copy h3 { margin: 14px 0 0; font-size: 22px; line-height: 1.35; letter-spacing: -.035em; }
.card-copy p { color: #69625c; font-size: 14px; line-height: 1.7; }

.article-page { padding-top: 0; }
.article-hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(36px, 5vw, 72px); align-items: center; padding-top: 64px; padding-bottom: 58px; }
.article-hero-copy { min-width: 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; color: #817a73; font-size: 13px; }
.breadcrumb a:hover { color: #c74010; }
.article-hero h1 { margin: 0; font-size: clamp(46px, 4.35vw, 62px); line-height: 1.08; letter-spacing: -.058em; text-wrap: balance; }
.article-deck { max-width: 620px; margin: 22px 0 0; color: #69625c; font-size: 17px; line-height: 1.7; }
.article-meta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: #817a73; font-size: 12px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-cover { min-width: 0; aspect-ratio: 16/10; margin: 0; overflow: hidden; border-radius: 24px; background: #f1ede8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 180px minmax(0, 720px) 150px; justify-content: space-between; gap: 34px; padding-top: 58px; }
.toc { position: sticky; top: 104px; align-self: start; }
.toc strong { font-size: 13px; }
.toc ol { margin: 16px 0 0; padding: 0; list-style: none; }
.toc li { margin-top: 11px; }
.toc a { color: #817a73; font-size: 12px; line-height: 1.55; }
.toc a:hover { color: #c74010; }
.share-note { position: sticky; top: 104px; align-self: start; display: flex; flex-direction: column; gap: 10px; color: #817a73; font-size: 12px; }
.share-note a, .share-note button { width: fit-content; padding: 0; border: 0; color: #4f4a45; background: none; cursor: pointer; }
.share-note a:hover, .share-note button:hover { color: #c74010; }
.prose { min-width: 0; color: #312d29; font-size: 17px; line-height: 1.95; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.55em; }
.prose h2 { scroll-margin-top: 100px; margin: 3em 0 .9em; color: #171513; font-size: 32px; line-height: 1.28; letter-spacing: -.045em; }
.prose h3 { margin: 2.25em 0 .7em; color: #171513; font-size: 22px; line-height: 1.4; letter-spacing: -.03em; }
.prose ul, .prose ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.prose li { margin: .45em 0; padding-left: .25em; }
.prose li::marker { color: #ef5b22; }
.prose blockquote { margin: 2em 0; padding: 24px 26px; border-left: 3px solid #ef5b22; border-radius: 0 12px 12px 0; color: #39342f; background: #fff4eb; }
.prose blockquote p { margin: 0; }
.prose a { color: #c74010; text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; margin: 1.8em 0 2.2em; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid rgba(0,0,0,.1); border-radius: 14px; font-size: 15px; line-height: 1.65; }
.prose th, .prose td { padding: 14px 16px; border-right: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); text-align: left; vertical-align: top; }
.prose th:last-child, .prose td:last-child { border-right: 0; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { color: #171513; background: #f3f0ec; font-size: 14px; font-weight: 700; }
.prose tbody tr:nth-child(even) { background: #fbfaf8; }
.article-cta { margin-top: 96px; margin-bottom: 120px; padding: 52px; border-radius: 24px; background: #f3f0ec; }
.article-cta h2 { margin: 14px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; letter-spacing: -.05em; }
.article-cta p:not(.section-label) { margin: 18px 0 0; color: #69625c; line-height: 1.75; }
.article-cta div { display: flex; gap: 10px; margin-top: 30px; }

.site-footer { padding: 72px 0 28px; border-top: 1px solid rgba(0,0,0,.08); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, .7fr); gap: 56px; }
.footer-grid > div:not(.footer-about) { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.footer-grid > div > strong { margin-bottom: 4px; }
.footer-grid > div > a { color: #716a64; }
.footer-grid > div > a:hover { color: #171513; }
.footer-about p { max-width: 390px; margin-top: 20px; color: #716a64; font-size: 13px; line-height: 1.7; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(0,0,0,.08); display: flex; justify-content: space-between; color: #817a73; font-size: 12px; }
.legal-note { margin-top: 14px; color: #928b85; font-size: 11px; line-height: 1.7; }

@media (max-width: 980px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-image { min-height: 420px; }
  .article-layout { grid-template-columns: minmax(0, 720px); justify-content: center; }
  .toc, .share-note { display: none; }
  .article-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; }
  .article-hero h1 { font-size: 46px; }
}

@media (max-width: 700px) {
  .shell, .reading-shell { width: min(100% - 32px, 1200px); }
  .site-header { height: 64px; }
  .brand img { height: 21px; }
  .brand strong { font-size: 16px; }
  .blog-hero { padding-top: 76px; padding-bottom: 58px; }
  .blog-hero h1 { font-size: 44px; line-height: 1.08; }
  .hero-intro { margin-top: 20px; font-size: 16px; }
  .featured-wrap { padding-bottom: 80px; }
  .featured-card { min-height: 0; border-radius: 18px; }
  .featured-image { min-height: auto; aspect-ratio: 16/10; }
  .featured-copy { padding: 28px 24px 32px; }
  .featured-copy h2 { margin-top: 14px; font-size: 30px; }
  .featured-copy p { margin-top: 16px; }
  .text-link { margin-top: 24px; }
  .article-grid { margin-top: 32px; }
  .article-card:only-child { grid-template-columns: 1fr; min-height: 0; }
  .article-card:only-child .card-image { min-height: 0; aspect-ratio: 16/9; }
  .article-card:only-child .card-copy { padding: 24px; }
  .article-card:only-child .card-copy h3 { font-size: 24px; }
  .article-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 42px; padding-bottom: 38px; }
  .breadcrumb { margin-bottom: 24px; }
  .article-hero h1 { font-size: 40px; }
  .article-deck { margin-top: 18px; font-size: 16px; }
  .article-meta { margin-top: 22px; }
  .article-cover { border-radius: 14px; }
  .article-layout { padding-top: 44px; }
  .prose { font-size: 16px; line-height: 1.9; }
  .prose h2 { font-size: 28px; }
  .prose h3 { font-size: 21px; }
  .prose table { display: block; width: 100%; overflow-x: auto; white-space: nowrap; font-size: 14px; }
  .article-cta { margin-top: 72px; margin-bottom: 80px; padding: 34px 24px; border-radius: 18px; }
  .article-cta div { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

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