:root {
    --primary: #5B4BDB;
    --primary-soft: #8B7CF6;
    --ink: #1E1B2E;
    --text: #292734;
    --muted: #6F6B7A;
    --bg: #F7F7FB;
    --bg-soft: #EFEFFC;
    --accent: #F05A7E;
    --white: #FFFFFF;
    --line: rgba(30, 27, 46, .11);
    --shadow-sm: 0 8px 24px rgba(30, 27, 46, .08);
    --shadow-md: 0 20px 50px rgba(30, 27, 46, .11);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --content: 1180px;
    --narrow: 900px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(91,75,219,.36); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -100px; background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { top: 16px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(247,247,251,.91);
    border-bottom: 1px solid rgba(30,27,46,.08);
}
.site-header__inner {
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; }
.brand span { display: grid; line-height: 1.1; gap: 4px; }
.brand strong { font-size: 1.12rem; color: var(--ink); letter-spacing: .01em; }
.brand small { color: var(--muted); font-size: .76rem; }
.site-nav { display: flex; align-items: center; gap: 5px; }
.site-nav a { padding: 10px 13px; border-radius: 999px; color: var(--muted); font-size: .94rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); background: var(--bg-soft); }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 10px; padding: 8px 12px; }

.hero, .page-shell, .section, .site-footer__grid, .site-footer__bottom { width: min(var(--content), calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.hero { padding: 72px 0 60px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
.hero__copy { max-width: 700px; }
.eyebrow { margin: 0 0 12px; color: var(--primary); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); line-height: 1.22; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); margin: 0 0 18px; letter-spacing: -.025em; }
h3 { font-size: 1.22rem; margin: 0 0 10px; }
p { margin: 0 0 1em; }
.lead { max-width: 760px; margin: 24px 0 0; color: #4E4A5D; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 750; border: 1px solid transparent; }
.btn--primary { background: var(--primary); color: white; box-shadow: 0 12px 24px rgba(91,75,219,.24); }
.btn--primary:hover { color: white; background: #4D3DCD; transform: translateY(-1px); }
.btn--ghost { background: white; border-color: var(--line); color: var(--ink); }
.hero__quick { margin-top: 24px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero__quick a { text-decoration: underline; text-decoration-color: rgba(91,75,219,.3); text-underline-offset: 4px; }
.hero__media { margin: 0; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.hero__media img { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.hero__media figcaption { padding: 16px 18px 18px; color: var(--muted); font-size: .9rem; }

.section { padding: 74px 0; }
.section--soft { width: auto; max-width: none; padding-left: max(20px, calc((100% - var(--content))/2)); padding-right: max(20px, calc((100% - var(--content))/2)); background: var(--bg-soft); }
.section--narrow { width: min(var(--narrow), calc(100% - 40px)); }
.section-heading { max-width: 770px; margin-bottom: 32px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.02rem; }
.section-heading--split { max-width: none; display: grid; grid-template-columns: 1fr .75fr; gap: 60px; align-items: end; }
.section-heading--split > p { margin: 0 0 4px; }
.topic-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic-link { min-height: 160px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: grid; align-content: start; gap: 10px; transition: transform .18s ease, box-shadow .18s ease; }
.topic-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.topic-link strong { color: var(--ink); font-size: 1.08rem; }
.topic-link span { color: var(--muted); font-size: .94rem; }

.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--together { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-card { background: white; border: 1px solid rgba(30,27,46,.08); border-radius: var(--radius-md); overflow: clip; box-shadow: var(--shadow-sm); min-width: 0; }
.content-card[hidden] { display: none !important; }
.content-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e7e6f2; }
.content-card__body { padding: 22px; }
.content-card__body > p:not(.eyebrow) { color: #514D60; }
.compact-list { margin: 16px 0 0; padding: 14px 0 0 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.compact-list li + li { margin-top: 6px; }

.section--story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.story-copy { max-width: 620px; }
.story-copy > p { color: #4E4A5D; }
.inline-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.inline-links a { color: var(--primary); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }

.faq-list { display: grid; gap: 12px; }
.faq-item { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; color: var(--ink); font-weight: 750; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.25rem; }
.faq-item[open] summary::after { content: '–'; }
.faq-item div { padding: 0 34px 18px 0; color: var(--muted); }
.faq-item div p { margin: 0; }

.page-shell { padding-top: 24px; }
.breadcrumbs { padding: 16px 0 0; color: var(--muted); font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 8px; color: #aaa7b5; }
.breadcrumbs a { color: var(--primary); }
.page-hero { padding: 46px 0 64px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 4.7rem); }
.page-hero > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.notice-box, .reading-band, .status-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 34px; box-shadow: var(--shadow-sm); }
.notice-box { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.notice-box code { color: var(--primary); background: var(--bg-soft); padding: 3px 8px; border-radius: 7px; }
.notice-box span { color: var(--muted); }
.reading-band { border-left: 4px solid var(--primary); }
.reading-band strong { color: var(--ink); display: block; margin-bottom: 6px; }
.reading-band span { color: var(--muted); }
.prose-block { font-size: 1.03rem; }
.prose-block p { color: #4F4B5D; }

.check-list { display: grid; gap: 12px; }
.check-item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.check-item > span { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-soft); color: var(--primary); font-weight: 850; }
.check-item p { color: var(--muted); margin: 0; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 42px; }
.stack-links { display: grid; gap: 10px; margin-top: 24px; }
.stack-links a { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 4px; }
.stack-links strong { color: var(--ink); }
.stack-links span { color: var(--muted); font-size: .9rem; }
.side-note { background: var(--ink); color: white; border-radius: var(--radius-md); overflow: hidden; align-self: start; }
.side-note img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.side-note h2, .side-note p { color: white; margin-left: 20px; margin-right: 20px; }
.side-note h2 { font-size: 1.5rem; margin-top: 20px; }
.side-note p { opacity: .78; margin-bottom: 22px; }

.filter-box { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-sm); }
.filter-box label { display: block; color: var(--ink); font-weight: 800; margin-bottom: 12px; }
.filter-box__row { display: flex; gap: 10px; }
.filter-box input { flex: 1; min-width: 0; border: 1px solid #d7d4e1; border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--ink); }
.filter-box button { border: 0; border-radius: 12px; padding: 0 16px; background: var(--bg-soft); color: var(--primary); font-weight: 750; cursor: pointer; }
.filter-box p { color: var(--muted); margin: 10px 0 0; font-size: .88rem; }
.empty-state { padding: 20px; border-radius: 14px; background: white; border: 1px dashed #c9c5dc; color: var(--muted); }
.link-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.link-panels a { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 5px; }
.link-panels span { color: var(--primary); font-size: .82rem; font-weight: 800; }
.link-panels strong { color: var(--ink); }

.status-card { display: grid; grid-template-columns: 16px 1fr; gap: 14px; align-items: start; }
.status-card__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin-top: 7px; box-shadow: 0 0 0 5px rgba(240,90,126,.11); }
.status-card strong { color: var(--ink); }
.status-card p { color: var(--muted); margin: 4px 0 0; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.guide-card p { color: var(--muted); }
.guide-card ul { margin: 16px 0 0; padding: 14px 0 0 20px; border-top: 1px solid var(--line); color: #5D596A; }

.error-page { min-height: 66vh; display: grid; place-items: center; padding: 60px 20px; }
.error-card { width: min(680px, 100%); padding: 42px; border-radius: var(--radius-lg); background: white; border: 1px solid var(--line); box-shadow: var(--shadow-md); text-align: center; }
.error-card p:not(.eyebrow) { color: var(--muted); max-width: 540px; margin-left: auto; margin-right: auto; }
.error-card .hero__actions { justify-content: center; }

.site-footer { margin-top: 40px; background: var(--ink); color: rgba(255,255,255,.78); }
.site-footer__grid { padding: 54px 0 42px; display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 50px; }
.footer-brand { color: white; font-size: 1.5rem; font-weight: 900; }
.site-footer h2 { color: white; font-size: 1rem; margin: 0 0 12px; }
.site-footer p { max-width: 430px; font-size: .92rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: white; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 22px; display: flex; justify-content: space-between; gap: 16px; font-size: .86rem; }

@media (max-width: 980px) {
    .site-header__inner { width: min(100% - 28px, var(--content)); min-height: 68px; }
    .nav-toggle { display: inline-flex; }
    .site-nav { position: absolute; left: 14px; right: 14px; top: 62px; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); display: none; flex-direction: column; align-items: stretch; }
    .site-nav[data-open="true"] { display: flex; }
    .site-nav a { padding: 11px 12px; }
    .hero, .page-hero, .section--story, .two-col { grid-template-columns: 1fr; }
    .hero { gap: 34px; padding-top: 48px; }
    .page-hero { gap: 30px; }
    .page-hero > img, .hero__media img { max-height: 520px; }
    .topic-links { grid-template-columns: 1fr; }
    .card-grid, .card-grid--videos, .card-grid--together { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-heading--split { grid-template-columns: 1fr; gap: 14px; }
    .section--story .story-media { order: 2; }
    .section--story .story-copy { order: 1; }
    .link-panels { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .hero, .page-shell, .section, .site-footer__grid, .site-footer__bottom { width: min(100% - 28px, var(--content)); }
    .section--soft { width: auto; padding-left: 14px; padding-right: 14px; }
    .section--narrow { width: min(100% - 28px, var(--narrow)); }
    .brand small { display: none; }
    h1 { font-size: clamp(2.15rem, 11vw, 3.6rem); }
    .page-hero h1 { font-size: clamp(2rem, 10vw, 3.4rem); }
    .hero__actions { flex-direction: column; }
    .btn { width: 100%; }
    .hero { padding-top: 38px; padding-bottom: 42px; }
    .section { padding-top: 54px; padding-bottom: 54px; }
    .card-grid, .card-grid--videos, .card-grid--together, .guide-grid { grid-template-columns: 1fr; }
    .content-card__body { padding: 18px; }
    .page-hero { padding: 34px 0 48px; }
    .filter-box__row { flex-direction: column; }
    .filter-box button { min-height: 44px; }
    .check-item { grid-template-columns: 38px 1fr; gap: 12px; padding: 16px; }
    .check-item > span { width: 36px; height: 36px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; }
    .site-footer__bottom { flex-direction: column; }
    .error-card { padding: 30px 20px; }
}

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

.editorial-list {
    display: grid;
    gap: 18px;
}
.editorial-item {
    padding: 26px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}
.editorial-item h3 {
    font-size: clamp(1.24rem, 2vw, 1.58rem);
    margin-bottom: 14px;
}
.editorial-item > p:not(.eyebrow) {
    color: #514D60;
    line-height: 1.82;
}
.editorial-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
}
.editorial-points li {
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg-soft);
    color: #555064;
    font-size: .9rem;
}
@media (max-width: 640px) {
    .editorial-item { padding: 20px 18px; }
    .editorial-points { grid-template-columns: 1fr; }
}
@media print {
    .site-header, .site-footer, .nav-toggle, .filter-box, .hero__actions { display: none !important; }
    body { background: #fff; color: #111; }
    .section, .page-shell, .hero { width: 100%; padding: 18px 0; }
    .content-card, .editorial-item, .faq-item { box-shadow: none; break-inside: avoid; }
    a { text-decoration: underline; }
}
