:root {
    --primary: #6F5AE8;
    --primary-soft: #9A8CF2;
    --ink: #242433;
    --text: #30303A;
    --muted: #70707D;
    --bg: #F8F8FC;
    --panel: #FFFFFF;
    --soft: #F0EEFA;
    --accent: #F29A4A;
    --line: #E3E0F0;
    --shadow: 0 16px 48px rgba(36, 36, 51, .10);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: var(--text); background: var(--bg); line-height: 1.75; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--primary); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(111,90,232,.28); outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(227,224,240,.9); background: rgba(248,248,252,.92); backdrop-filter: blur(16px); }
.header-inner { width: min(var(--max), calc(100% - 40px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 12px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.primary-nav a { color: var(--muted); font-size: 15px; font-weight: 650; text-decoration: none; padding: 24px 0 22px; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--ink); border-bottom-color: var(--primary); }
.search-open, .menu-toggle { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 15px; cursor: pointer; font-weight: 700; }
.menu-toggle { display: none; }
main { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.hero, .page-hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); align-items: center; gap: 58px; padding: 72px 0 54px; }
.home-hero { min-height: 650px; }
.hero-copy h1, .page-hero h1, .article-header h1, .not-found h1 { margin: 12px 0 22px; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.08; letter-spacing: -.035em; color: var(--ink); }
.page-hero h1 { font-size: clamp(38px, 4.4vw, 60px); }
.article-header h1 { font-size: clamp(38px, 4.5vw, 64px); max-width: 940px; }
.eyebrow { margin: 0 0 8px; color: var(--primary); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lead { margin: 0; color: #4b4b57; font-size: 19px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); color: inherit; }
.button.primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(111,90,232,.22); }
.button.accent { background: var(--accent); color: #2d1d10; box-shadow: 0 10px 26px rgba(242,154,74,.22); }
.button.ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.hero-notes { display: grid; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero-notes li { position: relative; padding-left: 22px; }
.hero-notes li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-soft); }
.hero-media, .page-hero > img, .article-cover { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.hero-media img, .page-hero > img, .article-cover img { width: 100%; object-fit: cover; }
.hero-media figcaption { padding: 12px 16px; color: var(--muted); font-size: 13px; background: #fff; }
.section { padding: 74px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.compact { max-width: 680px; }
.section-heading h2, .split-feature h2, .guide-summary h2, .article-prose h2, .article-aside h2, .mini-route h2 { margin: 8px 0 14px; color: var(--ink); font-size: clamp(29px, 3.2vw, 44px); line-height: 1.2; letter-spacing: -.02em; }
.section-heading p:last-child { color: var(--muted); font-size: 17px; }
.intro-band { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: start; }
.intro-columns { columns: 2 320px; column-gap: 32px; }
.intro-columns p { margin-top: 0; break-inside: avoid; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.topic-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; min-width: 0; }
.topic-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.topic-card-body { padding: 24px; }
.topic-card h3 { margin: 0 0 10px; font-size: 24px; color: var(--ink); }
.topic-card p { color: var(--muted); }
.text-link { display: inline-block; margin-top: 8px; color: var(--primary); font-weight: 800; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-feature.reverse > div { order: 2; }
.split-feature.reverse > img { order: 1; }
.split-feature img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.editorial-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 42px; border-top: 1px solid var(--line); }
.editorial-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.editorial-item h3 { margin: 6px 0 10px; font-size: 24px; line-height: 1.35; }
.editorial-item h3 a { text-decoration: none; }
.editorial-item p { margin: 0; color: var(--muted); }
.guide-band { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; background: var(--soft); padding-left: 46px; padding-right: 46px; border-radius: var(--radius-lg); margin: 74px 0; border-top: 0; }
.guide-band figure { margin: 0; }
.guide-band img { border-radius: var(--radius-md); width: 100%; }
.step-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 16px; }
.step-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; border-top: 1px solid rgba(111,90,232,.18); padding-top: 14px; }
.step-list strong { color: var(--ink); }
.step-list span { color: var(--muted); }
.knowledge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.knowledge-grid article { padding: 28px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); }
.knowledge-grid h3 { margin-top: 0; font-size: 23px; }
.knowledge-grid p { color: var(--muted); }
.knowledge-grid a { font-weight: 800; color: var(--primary); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative; font-weight: 800; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 17px; font-size: 26px; color: var(--primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }
.center-link { text-align: center; margin-top: 26px; }
.about-band { display: grid; grid-template-columns: 1fr .9fr; gap: 56px; align-items: center; }
.about-band img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.breadcrumbs { padding-top: 24px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #aaa7b6; }
.breadcrumbs a { text-decoration: none; }
.compact-hero { min-height: auto; padding-top: 48px; }
.prose-section { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.prose-section.single-column { grid-template-columns: minmax(0, 860px); justify-content: center; }
.article-prose { font-size: 17px; line-height: 1.9; }
.article-prose.narrow { max-width: 820px; margin: 0 auto; }
.article-prose h2 { font-size: 31px; margin-top: 44px; }
.article-prose h2:first-child { margin-top: 0; }
.article-prose h3 { color: var(--ink); }
.article-prose p, .article-prose li { color: #484854; }
.article-prose a { color: var(--primary); font-weight: 750; }
.article-aside { position: sticky; top: 100px; padding: 24px; background: var(--soft); border-radius: var(--radius-md); }
.article-aside h2 { font-size: 23px; }
.article-aside ul { padding-left: 20px; color: var(--muted); }
.article-aside img { border-radius: var(--radius-sm); margin-bottom: 18px; }
.definition-list { display: grid; gap: 14px; }
.definition-list article { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.definition-list h3 { margin: 0 0 6px; }
.definition-list p { margin: 0; }
.callout { margin-top: 40px; padding: 28px; border-left: 4px solid var(--primary); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--soft); }
.callout.warm { border-left-color: var(--accent); background: #fff5ea; }
.callout h2 { margin-top: 0; font-size: 24px; }
.checklist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.checklist-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.checklist-grid span { display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--soft); color: var(--primary); font-weight: 900; }
.checklist-grid h3 { font-size: 20px; margin-bottom: 8px; }
.checklist-grid p { margin-bottom: 0; color: var(--muted); }
.feature-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-detail { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.feature-detail h2 { margin-top: 0; color: var(--ink); }
.feature-detail p, .feature-detail li { color: var(--muted); }
.compatibility-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.compatibility-grid article { padding: 30px; background: linear-gradient(180deg, #fff 0%, #f7f5fe 100%); border: 1px solid var(--line); border-radius: var(--radius-md); }
.compatibility-grid h2 { margin-top: 0; color: var(--ink); }
.guide-index { padding-bottom: 34px; }
.tag-links { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-links a { padding: 10px 14px; border: 1px solid var(--line); background: #fff; border-radius: 999px; text-decoration: none; font-weight: 750; }
.guide-sections { display: grid; gap: 22px; }
.guide-block { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); scroll-margin-top: 110px; }
.guide-number { font-size: 46px; line-height: 1; color: var(--primary-soft); font-weight: 900; }
.guide-block h2 { margin-top: 0; color: var(--ink); }
.guide-block ol { padding-left: 22px; }
.guide-block li { padding: 7px 0; }
.faq-page { max-width: 920px; margin: 0 auto; }
.mini-route { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; align-items: center; padding: 34px; background: var(--soft); border-radius: var(--radius-md); margin-bottom: 74px; }
.mini-route-links { display: grid; gap: 10px; }
.mini-route-links a { padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 800; }
.safety-timeline { display: grid; gap: 0; }
.safety-timeline article { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.safety-timeline span { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; }
.safety-timeline h2 { margin: 0 0 4px; color: var(--ink); }
.safety-timeline p { margin: 0; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.contact-card.caution { background: #fff8f0; border-color: #f2d0aa; }
.contact-card h2 { margin-top: 0; }
.article-page { padding: 58px 0 20px; }
.article-header { max-width: 980px; margin-bottom: 32px; }
.article-cover { max-width: 980px; margin-bottom: 54px; }
.search-page-hero { grid-template-columns: 1fr .65fr; }
.search-form label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 750; }
.search-form.inline { margin-top: 24px; max-width: 620px; }
.search-row { display: flex; gap: 8px; }
.search-row input { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; background: #fff; color: var(--ink); }
.search-row button { border: 0; border-radius: 999px; padding: 0 20px; background: var(--primary); color: #fff; font-weight: 800; cursor: pointer; }
.search-result-list { display: grid; gap: 16px; }
.search-result-list article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.search-result-list span { color: var(--primary); font-size: 13px; font-weight: 800; }
.search-result-list h2 { margin: 6px 0 8px; font-size: 24px; }
.search-result-list h2 a { text-decoration: none; }
.search-result-list p { margin: 0; color: var(--muted); }
.empty-state { padding: 42px; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-md); }
.not-found { min-height: 620px; display: grid; grid-template-columns: 1fr .9fr; gap: 50px; align-items: center; }
.not-found img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.search-modal[hidden] { display: none !important; }
.search-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: start center; padding: 120px 20px 20px; }
.search-backdrop { position: absolute; inset: 0; background: rgba(36,36,51,.58); backdrop-filter: blur(5px); }
.search-dialog { position: relative; z-index: 1; width: min(620px, 100%); padding: 34px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 26px 90px rgba(0,0,0,.25); }
.search-dialog h2 { margin: 0 0 22px; color: var(--ink); font-size: 32px; }
.search-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; font-size: 24px; }
.helper { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.site-footer { margin-top: 60px; background: var(--ink); color: #d8d7e2; }
.footer-grid { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 56px 0 36px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.footer-grid section { min-width: 0; }
.footer-grid h2 { color: #fff; font-size: 16px; margin-top: 0; }
.footer-grid a { display: block; color: #d8d7e2; text-decoration: none; margin: 8px 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand { color: #fff !important; font-size: 19px; }
.footer-grid p { color: #aaa8b8; max-width: 360px; }
.footer-bottom { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #908f9f; font-size: 13px; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; font-weight: 900; }
@media (max-width: 1100px) {
    .header-inner { gap: 16px; }
    .primary-nav { gap: 14px; }
    .primary-nav a { font-size: 14px; }
    .hero, .page-hero { gap: 38px; }
    .checklist-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .header-inner { min-height: 68px; }
    .menu-toggle { display: inline-flex; margin-left: auto; }
    .search-open { padding: 9px 12px; }
    .primary-nav { display: none; position: absolute; top: 68px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { padding: 12px 14px; border-bottom: 0; border-radius: 10px; }
    .primary-nav a.is-active { background: var(--soft); }
    .hero, .page-hero, .split-feature, .about-band, .prose-section, .not-found, .search-page-hero { grid-template-columns: 1fr; }
    .home-hero { min-height: auto; }
    .page-hero > img { max-height: 470px; }
    .hero-media { order: -1; }
    .page-hero img { order: -1; }
    .intro-band { grid-template-columns: 1fr; gap: 20px; }
    .topic-grid, .feature-detail-grid { grid-template-columns: 1fr; }
    .split-feature.reverse > div, .split-feature.reverse > img { order: initial; }
    .guide-band { grid-template-columns: 1fr; padding: 36px; }
    .knowledge-grid, .compatibility-grid, .contact-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; }
    .mini-route { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    main { width: min(100% - 28px, var(--max)); }
    .header-inner { width: min(100% - 28px, var(--max)); }
    .brand span { font-size: 15px; }
    .brand img { width: 38px; height: 38px; }
    .search-open { font-size: 0; width: 42px; height: 42px; padding: 0; }
    .search-open::after { content: "⌕"; font-size: 20px; }
    .hero, .page-hero { padding: 44px 0 36px; }
    .hero-copy h1, .page-hero h1, .article-header h1, .not-found h1 { font-size: clamp(34px, 11vw, 48px); }
    .lead { font-size: 17px; }
    .section { padding: 52px 0; }
    .editorial-list { grid-template-columns: 1fr; }
    .guide-band { margin: 52px 0; padding: 28px; }
    .step-list li { grid-template-columns: 1fr; gap: 4px; }
    .checklist-grid { grid-template-columns: 1fr; }
    .guide-block { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
    .guide-number { font-size: 34px; }
    .article-prose { font-size: 16px; }
    .article-prose h2 { font-size: 28px; }
    .search-row { flex-direction: column; }
    .search-row button { min-height: 46px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .search-modal { padding-top: 84px; }
    .search-dialog { padding: 26px; }
}
@media (max-width: 420px) {
    .header-inner { width: calc(100% - 20px); }
    main { width: calc(100% - 24px); }
    .menu-toggle { padding: 8px 11px; font-size: 14px; }
    .hero-actions .button { width: 100%; }
    .section-heading h2, .split-feature h2, .guide-summary h2 { font-size: 30px; }
    .topic-card-body { padding: 20px; }
    .guide-band { padding: 22px; }
    .mini-route { padding: 24px; }
}
