:root {
    --brand: #B93A4A;
    --brand-soft: #D9828D;
    --ink: #2B2528;
    --body: #332D2F;
    --muted: #756B6E;
    --bg: #FFF9F7;
    --soft: #F6ECEB;
    --accent: #E45B4F;
    --line: #E9D9D8;
    --white: #FFFFFF;
    --shadow: 0 18px 50px rgba(91, 43, 48, .10);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.75; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #922d3b; }
button, input { font: inherit; }
button { cursor: pointer; }
code { background: var(--soft); padding: .1em .35em; border-radius: 5px; font-size: .94em; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; transform: translateY(-150%); z-index: 9999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,249,247,.95); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(185,58,74,.10); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.brand-mark { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark img { width: 46px; height: 46px; object-fit: contain; }
.brand-mark span { display: grid; line-height: 1.2; }
.brand-mark strong { font-size: 1.08rem; }
.brand-mark small { color: var(--muted); margin-top: 4px; font-size: .75rem; }
.site-nav { display: flex; justify-content: center; gap: 6px; }
.site-nav a { color: var(--body); text-decoration: none; padding: 9px 11px; border-radius: 9px; font-size: .94rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a.is-active { background: var(--soft); color: var(--brand); }
.search-open, .menu-toggle { border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 10px 15px; }
.menu-toggle { display: none; }
.section { padding-block: 88px; }
.soft-section { background: var(--soft); }
.hero-section { padding: 74px 0 54px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
.hero-copy h1, .page-hero h1, .article-hero h1, .not-found h1 { color: var(--ink); font-size: clamp(2.35rem, 5vw, 4.4rem); line-height: 1.12; letter-spacing: -.045em; margin: 14px 0 22px; }
.hero-lead, .page-hero p, .article-hero p { font-size: 1.12rem; color: #51474A; max-width: 760px; }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 800; letter-spacing: .11em; text-transform: uppercase; font-size: .78rem; }
.eyebrow.light { color: #FFE8E3; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 760; border: 1px solid transparent; }
.button.primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(185,58,74,.22); }
.button.primary:hover { background: #9f3140; color: #fff; }
.button.secondary { background: #fff; color: var(--brand); border-color: #E1C7C8; }
.button.light-button { background: #fff; color: var(--brand); }
.button.wide { width: 100%; }
.text-link, .arrow-link { font-weight: 760; text-decoration: none; }
.arrow-link::after { content: " →"; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 0; }
.hero-facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.hero-facts dt { font-size: .78rem; color: var(--muted); }
.hero-facts dd { margin: 4px 0 0; font-weight: 750; color: var(--ink); }
.hero-media { margin: 0; background: linear-gradient(145deg, #F6ECEB, #fff); padding: 18px; border-radius: 34px; box-shadow: var(--shadow); }
.hero-media img { border-radius: 24px; aspect-ratio: 760/620; object-fit: cover; }
.hero-media figcaption { color: var(--muted); font-size: .88rem; padding: 10px 4px 0; }
.section-heading { margin-bottom: 34px; max-width: 850px; }
.section-heading h2, .editorial-copy h2, .band-grid h2, .two-column h2, .topic-layout h2, .closing-section h2, .related-panel h2 { margin: 7px 0 0; color: var(--ink); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.24; letter-spacing: -.03em; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr .75fr; gap: 50px; align-items: end; }
.split-heading > p { margin: 0; color: var(--muted); }
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.core-card { background: #fff; border: 1px solid #F0DFDD; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 30px rgba(87,50,55,.06); }
.core-card > img { width: 100%; aspect-ratio: 560/340; object-fit: cover; }
.core-card-body { padding: 24px; }
.card-label { display: inline-block; color: var(--brand); background: #FBEAEC; border-radius: 999px; padding: 5px 10px; font-size: .76rem; font-weight: 780; }
.core-card h3, .guide-list h3, .guide-feature-list h3 { margin: 12px 0 8px; font-size: 1.3rem; line-height: 1.35; }
.core-card h3 a, .guide-list h3 a, .guide-feature-list h3 a { color: var(--ink); text-decoration: none; }
.core-card p { color: var(--muted); min-height: 6.2em; }
.editorial-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 62px; align-items: center; }
.editorial-media img, .editorial-grid > img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.editorial-copy p { color: #51494B; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 900; }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step-list li { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.45); }
.step-list > li > span { font-size: 1.55rem; font-weight: 850; color: var(--brand-soft); }
.step-list h3 { margin: 0 0 6px; color: var(--ink); }
.step-list p { margin: 0; color: var(--muted); }
.accent-band { background: var(--brand); color: #fff; }
.band-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 58px; align-items: center; }
.band-grid h2 { color: #fff; }
.band-grid p { color: #FCE7E7; max-width: 700px; }
.band-grid img { border-radius: 26px; border: 1px solid rgba(255,255,255,.2); }
.guide-list { display: grid; gap: 16px; }
.guide-list article { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; background: #fff; border-bottom: 1px solid var(--line); padding: 18px; border-radius: var(--radius-md); }
.guide-list img { width: 220px; height: 142px; object-fit: cover; border-radius: 14px; }
.guide-list p { color: var(--muted); margin: 7px 0 8px; }
.two-column { display: grid; grid-template-columns: 1fr .95fr; gap: 58px; align-items: center; }
.framed-media { margin: 0; background: #fff; padding: 16px; border-radius: 30px; box-shadow: var(--shadow); }
.framed-media img { border-radius: 20px; }
.notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
.notice-grid article { border-top: 4px solid var(--brand); background: #fff; padding: 25px; box-shadow: 0 8px 26px rgba(90,44,49,.06); }
.notice-grid h3 { margin-top: 0; color: var(--ink); }
.notice-grid p { margin-bottom: 0; color: var(--muted); }
.topic-section { background: #2B2528; color: #fff; }
.topic-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 62px; align-items: center; }
.topic-layout > img { border-radius: 28px; }
.topic-layout h2 { color: #fff; }
.topic-links { display: grid; gap: 10px; margin-top: 26px; }
.topic-links a { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; }
.topic-links a:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.topic-links span { color: #CFC3C6; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 18px; text-align: left; padding: 20px 0; border: 0; background: transparent; color: var(--ink); font-weight: 760; }
.faq-answer { padding: 0 0 20px; color: var(--muted); }
.faq-answer p { margin: 0; max-width: 900px; }
.search-feature { display: grid; grid-template-columns: 1fr .8fr; gap: 56px; align-items: center; }
.search-feature img { border-radius: 28px; }
.search-inline label { display: block; font-weight: 700; margin: 18px 0 7px; }
.search-inline > div { display: flex; gap: 10px; }
.search-inline input { flex: 1; min-width: 0; border: 1px solid #D8C2C3; background: #fff; border-radius: 12px; padding: 12px 14px; outline: none; }
.search-inline input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(185,58,74,.12); }
.search-inline button { border: 0; background: var(--brand); color: #fff; border-radius: 12px; padding: 12px 18px; font-weight: 760; }
.closing-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.closing-links { display: grid; gap: 10px; }
.closing-links a { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; font-weight: 720; }
.breadcrumbs { width: min(var(--container), calc(100% - 40px)); margin: 24px auto 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 8px; font-size: .86rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #C2AFB2; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.page-hero { padding-block: 66px 54px; }
.compact-hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: center; }
.compact-hero img { border-radius: 28px; box-shadow: var(--shadow); width: 100%; max-height: 460px; object-fit: cover; }
.compact-hero h1 { font-size: clamp(2.15rem, 4vw, 3.8rem); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; align-items: start; padding-top: 42px; }
.prose { font-size: 1.02rem; }
.prose h2 { color: var(--ink); font-size: 1.65rem; line-height: 1.35; margin: 2.35em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink); }
.prose p, .prose li { color: #4D4547; }
.prose li + li { margin-top: .55em; }
.prose a { font-weight: 700; }
.wide-prose { max-width: 900px; }
.article-aside { display: grid; gap: 22px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.aside-card h2 { margin-top: 0; color: var(--ink); font-size: 1.2rem; }
.sticky-card { position: sticky; top: 104px; }
.aside-card dl { margin: 0 0 18px; }
.aside-card dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.aside-card dt { color: var(--muted); font-size: .78rem; }
.aside-card dd { margin: 2px 0 0; font-weight: 720; color: var(--ink); word-break: break-word; }
.article-aside > img, .aside-image img { border-radius: 18px; width: 100%; }
.info-table { display: grid; margin: 24px 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.info-table > div { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; padding: 15px 17px; background: #fff; }
.info-table > div + div { border-top: 1px solid var(--line); }
.mini-list { padding-left: 20px; }
.related-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: center; }
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-links a, .link-strip a { display: flex; flex-direction: column; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; }
.related-links strong, .link-strip strong { color: var(--ink); }
.related-links span, .link-strip span { color: var(--muted); font-size: .9rem; }
.four-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.four-grid section { background: #fff; border: 1px solid var(--line); padding: 18px; border-radius: 14px; }
.four-grid h3 { margin: 0 0 7px; }
.four-grid p { margin: 0; }
.guide-feature-list { display: grid; gap: 28px; }
.guide-feature-list article { display: grid; grid-template-columns: 60px 300px 1fr; gap: 24px; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
.guide-feature-list img { width: 300px; height: 190px; object-fit: cover; border-radius: 18px; }
.guide-number { font-size: 2rem; font-weight: 900; color: var(--brand-soft); }
.link-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.article-hero { padding: 68px 0 8px; max-width: 930px; }
.article-hero h1 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.numbered-prose h2 { scroll-margin-top: 110px; }
.compact-steps { padding-left: 20px; }
.compact-steps li + li { margin-top: 8px; }
.faq-page-list { display: grid; gap: 58px; padding-top: 32px; }
.faq-group h2 { color: var(--ink); font-size: 1.75rem; margin: 0 0 14px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 65px; align-items: start; }
.feedback-template { background: var(--soft); border-radius: 22px; padding: 26px; position: sticky; top: 104px; }
.feedback-template h2 { margin-top: 0; color: var(--ink); }
.template-box { background: #fff; border: 1px solid var(--line); padding: 18px; border-radius: 14px; }
.template-box p { margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.template-box p:last-child { border-bottom: 0; }
.small-note { color: var(--muted); font-size: .88rem; }
.search-page-hero { max-width: 900px; }
.prominent-search { max-width: 720px; }
.search-results { padding-top: 28px; min-height: 420px; }
.result-count { color: var(--muted); margin-bottom: 18px; }
.result-list { display: grid; gap: 14px; }
.result-list article { background: #fff; border: 1px solid var(--line); padding: 22px; border-radius: 16px; }
.result-list h2 { margin: 0 0 7px; font-size: 1.25rem; }
.result-list h2 a { color: var(--ink); text-decoration: none; }
.result-list p { color: var(--muted); }
.empty-state { background: var(--soft); padding: 36px; border-radius: 18px; max-width: 760px; }
.empty-state h2 { margin-top: 0; color: var(--ink); }
.not-found { padding: 100px 0 120px; text-align: center; }
.error-code { font-size: 5.5rem; line-height: 1; font-weight: 900; color: var(--brand-soft); }
.not-found h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.not-found p { max-width: 760px; margin-inline: auto; color: var(--muted); }
.not-found .hero-actions { justify-content: center; }
.not-found .link-strip { margin-top: 50px; text-align: left; }
.search-modal[hidden]{ display:none !important; }
.search-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: start center; background: rgba(43,37,40,.62); padding: 10vh 20px 20px; }
.search-panel { width: min(650px, 100%); background: var(--bg); border-radius: 24px; padding: 30px; box-shadow: 0 30px 80px rgba(0,0,0,.25); position: relative; }
.search-panel h2 { color: var(--ink); margin-top: 0; font-size: 1.7rem; }
.search-panel > p { color: var(--muted); }
.search-close { position: absolute; right: 18px; top: 18px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 11px; }
.search-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-row input { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.search-row button { border: 0; background: var(--brand); color: #fff; border-radius: 12px; padding: 12px 18px; font-weight: 740; }
.site-footer { background: #241F21; color: #D8CFD1; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 48px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #E9DDDF; text-decoration: none; }
.site-footer p { color: #BFAFB3; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #40373A; margin-top: 38px; padding-top: 22px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.back-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
body.modal-open { overflow: hidden; }
@media (max-width: 1120px) {
    .site-nav { gap: 2px; }
    .site-nav a { padding-inline: 8px; font-size: .88rem; }
    .hero-grid, .compact-hero { gap: 36px; }
    .article-layout { grid-template-columns: minmax(0,1fr) 285px; gap: 42px; }
}
@media (max-width: 960px) {
    .header-inner { grid-template-columns: auto auto 1fr; }
    .menu-toggle { display: inline-flex; justify-self: end; }
    .search-open { justify-self: end; }
    .site-nav { display: none; position: absolute; top: 78px; left: 20px; right: 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 18px; padding: 12px; flex-direction: column; }
    .site-nav.is-open { display: flex; }
    .hero-grid, .compact-hero, .editorial-grid, .two-column, .band-grid, .topic-layout, .search-feature, .closing-section, .contact-grid { grid-template-columns: 1fr; }
    .reverse-mobile > img { order: -1; }
    .hero-media { max-width: 760px; }
    .core-grid, .notice-grid { grid-template-columns: 1fr 1fr; }
    .split-heading, .related-panel { grid-template-columns: 1fr; gap: 20px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { grid-template-columns: repeat(2, 1fr); }
    .sticky-card, .feedback-template { position: static; }
    .guide-feature-list article { grid-template-columns: 50px 240px 1fr; }
    .guide-feature-list img { width: 240px; height: 155px; }
    .link-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .container, .breadcrumbs { width: min(100% - 28px, var(--container)); }
    .section { padding-block: 62px; }
    .hero-section { padding-top: 46px; }
    .header-inner { min-height: 70px; gap: 10px; }
    .brand-mark small { display: none; }
    .brand-mark img { width: 40px; height: 40px; }
    .search-open { padding: 9px 12px; font-size: .86rem; }
    .site-nav { top: 70px; left: 14px; right: 14px; }
    .hero-copy h1, .page-hero h1, .article-hero h1, .not-found h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-facts { grid-template-columns: 1fr; }
    .core-grid, .notice-grid, .step-list, .related-links, .article-aside, .four-grid { grid-template-columns: 1fr; }
    .core-card p { min-height: 0; }
    .guide-list article { grid-template-columns: 1fr; }
    .guide-list img { width: 100%; height: auto; aspect-ratio: 16/9; }
    .topic-links a { grid-template-columns: 1fr; gap: 3px; }
    .guide-feature-list article { grid-template-columns: 1fr; }
    .guide-feature-list img { width: 100%; height: auto; aspect-ratio: 16/10; }
    .guide-number { font-size: 1.35rem; }
    .info-table > div { grid-template-columns: 1fr; gap: 4px; }
    .link-strip { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom { flex-direction: column; }
    .search-row, .search-inline > div { grid-template-columns: 1fr; display: grid; }
}
@media (max-width: 430px) {
    .brand-mark strong { font-size: .95rem; }
    .menu-toggle { padding: 8px 10px; font-size: .84rem; }
    .search-open { font-size: 0; width: 38px; height: 38px; padding: 0; }
    .search-open::after { content: "⌕"; font-size: 1.1rem; }
    .hero-actions { align-items: stretch; }
    .hero-actions .button { width: 100%; }
    .hero-actions .text-link { padding: 10px 4px; }
    .search-panel { padding: 24px 18px; }
}
