:root {
    --brand: #B9473F;
    --brand-dark: #8F332D;
    --amber: #D89A45;
    --accent: #E06A3B;
    --ink: #1E2026;
    --text: #2B2D31;
    --muted: #6F706F;
    --paper: #F7F4EF;
    --paper-2: #EEE9E2;
    --white: #FFFDF9;
    --line: #DDD5CC;
    --dark-line: #393B42;
    --shadow: 0 20px 55px rgba(44, 38, 34, .09);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
code {
    padding: .12em .38em;
    border-radius: 5px;
    background: rgba(185, 71, 63, .08);
    color: var(--brand-dark);
    font-family: Consolas, "Courier New", monospace;
}
::selection { background: rgba(185, 71, 63, .18); }

.skip-link {
    position: fixed;
    left: 18px;
    top: 12px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-160%);
    transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(43, 45, 49, .08);
    background: rgba(247, 244, 239, .94);
    backdrop-filter: blur(16px);
}
.header-shell {
    width: min(var(--max), calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}
.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
}
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 1rem; color: var(--ink); letter-spacing: .02em; }
.brand small { margin-top: 5px; font-size: .7rem; color: var(--muted); }
.primary-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}
.primary-nav a {
    position: relative;
    padding: 9px 10px;
    color: #4C4D50;
    font-size: .88rem;
    border-radius: 9px;
    white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--brand); background: rgba(185, 71, 63, .06); }
.primary-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand);
}
.menu-toggle,
.search-open {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    border-radius: 999px;
    padding: 9px 15px;
    font-weight: 700;
    font-size: .86rem;
}
.search-open:hover, .menu-toggle:hover { border-color: var(--brand); color: var(--brand); }
.menu-toggle { display: none; }

.search-modal[hidden] { display: none !important; }
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: start center;
    padding: 14vh 20px 40px;
    background: rgba(30, 32, 38, .7);
}
.search-modal__panel {
    position: relative;
    width: min(650px, 100%);
    padding: 34px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 30px 100px rgba(0,0,0,.28);
}
.search-modal__panel h2 { margin: 0 45px 8px 0; font-size: 1.8rem; line-height: 1.25; }
.search-modal__panel p { margin: 0 0 20px; color: var(--muted); }
.search-close {
    position: absolute;
    right: 20px;
    top: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--ink);
    font-size: 1.55rem;
}
.search-form label,
.inline-search label { display: block; margin-bottom: 7px; font-size: .82rem; font-weight: 800; color: var(--ink); }
.search-form__row,
.inline-search > div {
    display: flex;
    gap: 10px;
}
.search-form input,
.inline-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
}
.search-form input:focus,
.inline-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(185, 71, 63, .1); }
.search-form button,
.inline-search button {
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
}

main { overflow: hidden; }
.section {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 82px 0;
}
.section--intro { padding-top: 72px; padding-bottom: 72px; }
.section--muted,
.section--dark {
    width: 100%;
    max-width: none;
    padding-left: max(20px, calc((100% - var(--max))/2));
    padding-right: max(20px, calc((100% - var(--max))/2));
}
.section--muted { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #F9F5EF; }
.eyebrow {
    margin: 0 0 10px;
    color: var(--brand);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.section--dark .eyebrow { color: #F0AE5B; }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.22;
    letter-spacing: -.025em;
}
.section-heading--light h2 { color: #fff; }
.section-heading--split {
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
}
.section-heading p:last-child { color: var(--muted); }
.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--brand);
    font-weight: 800;
    text-underline-offset: 4px;
}
.text-link:hover { text-decoration: underline; }

.hero {
    width: min(1320px, calc(100% - 40px));
    margin: 28px auto 0;
    min-height: 640px;
    border-radius: 34px;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
}
.hero--home {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: stretch;
}
.hero__copy {
    padding: clamp(56px, 7vw, 96px);
    align-self: center;
}
.hero__copy .eyebrow { color: #F0AE5B; }
.hero h1,
.page-hero h1,
.topic-hero h1,
.article-header h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(2.35rem, 5.2vw, 4.9rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.hero__lead {
    max-width: 820px;
    margin: 24px 0 0;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255,255,255,.76);
}
.page-hero .hero__lead,
.topic-hero .hero__lead { color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--brand); color: #fff; }
.button--primary:hover { background: #C85249; }
.button--ghost { border: 1px solid rgba(255,255,255,.32); color: #fff; }
.button--ghost:hover { border-color: #fff; }
.button--secondary { border: 1px solid var(--brand); color: var(--brand); }
.button--secondary:hover { background: var(--brand); color: #fff; }
.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
    color: rgba(255,255,255,.65);
    font-size: .84rem;
}
.hero__facts li::before { content: "•"; margin-right: 8px; color: var(--amber); }
.hero__media { position: relative; margin: 0; min-height: 540px; background: #2A2C32; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30,32,38,.36), transparent 38%), linear-gradient(0deg, rgba(30,32,38,.74), transparent 42%);
    pointer-events: none;
}
.hero__media figcaption {
    position: absolute;
    z-index: 2;
    left: 32px;
    right: 32px;
    bottom: 28px;
    font-size: .88rem;
    color: rgba(255,255,255,.82);
}

.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero > .section { padding-top: 64px; padding-bottom: 64px; }
.page-hero--compact h1 { max-width: 920px; color: var(--ink); font-size: clamp(2.2rem, 4.5vw, 4.3rem); }
.page-hero--compact .hero__lead { max-width: 760px; }
.page-hero--split .section { align-items: center; }
.page-hero--split img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.page-hero h1 { color: var(--ink); font-size: clamp(2.15rem, 4.7vw, 4.35rem); }

.breadcrumbs { margin-bottom: 28px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: .78rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #ABA39B; }
.breadcrumbs a:hover { color: var(--brand); }

.editorial-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(34px, 6vw, 86px);
}
.editorial-columns > p,
.editorial-columns > div > p { margin-top: 0; font-size: 1.02rem; }
.editorial-columns > p:first-child::first-letter { font-size: 2.3em; line-height: .8; float: left; padding: .13em .1em 0 0; color: var(--brand); font-weight: 900; }

.portal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.portal-card {
    display: block;
    min-height: 250px;
    padding: 26px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    transition: transform .18s ease, background .18s ease;
}
.section:not(.section--dark) .portal-card {
    background: var(--white);
    color: var(--text);
    border-color: var(--line);
    box-shadow: var(--shadow);
}
.portal-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.portal-card > span { font-size: .75rem; font-weight: 900; color: var(--amber); letter-spacing: .12em; }
.portal-card h3 { margin: 42px 0 10px; font-size: 1.28rem; line-height: 1.25; }
.portal-card p { margin: 0 0 16px; color: rgba(255,255,255,.68); font-size: .92rem; }
.section:not(.section--dark) .portal-card p { color: var(--muted); }
.section:not(.section--dark) .portal-card a { color: var(--brand); font-weight: 800; }

.feature-band,
.discover-band,
.community-band,
.about-band {
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    gap: clamp(40px, 7vw, 90px);
    align-items: center;
}
.feature-band figure { margin: 0; }
.feature-band figure img,
.discover-band > img,
.community-band > img,
.about-band > img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow);
}
.feature-band h2,
.discover-band h2,
.community-band h2,
.about-band h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(1.8rem, 3.4vw, 3.1rem);
    line-height: 1.16;
    letter-spacing: -.03em;
}
.feature-band p,
.discover-band p,
.community-band p,
.about-band p { color: var(--muted); }

.article-list { border-top: 1px solid var(--line); }
.article-row {
    display: grid;
    grid-template-columns: 155px minmax(260px, .9fr) minmax(280px, 1.1fr) auto;
    gap: 26px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}
.article-row__meta { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: .76rem; }
.article-row__meta span { color: var(--brand); font-weight: 900; }
.article-row h3 { margin: 0; font-size: 1.13rem; line-height: 1.35; }
.article-row h3 a:hover { color: var(--brand); }
.article-row p { margin: 0; color: var(--muted); font-size: .9rem; }
.article-list--home .article-row { grid-template-columns: 150px minmax(260px, .95fr) minmax(300px, 1.2fr); }
.article-list--home .article-row .text-link { display: none; }

.topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.topic-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 12px 36px rgba(44,38,34,.05);
}
a.topic-card { transition: transform .2s ease, box-shadow .2s ease; }
a.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.topic-card img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; }
.topic-card > div,
.topic-card:not(a) { padding: 0; }
.topic-card > div { padding: 24px; }
.topic-card > span { display: block; padding: 22px 24px 0; color: var(--brand); font-size: .76rem; font-weight: 900; }
.topic-card > h3,
.topic-card > p { margin-left: 24px; margin-right: 24px; }
.topic-card > h3 { margin-top: 12px; margin-bottom: 8px; }
.topic-card > p { margin-top: 0; margin-bottom: 24px; color: var(--muted); }
.topic-card h3 { margin-top: 0; font-size: 1.25rem; }
.topic-card p { color: var(--muted); }
.topic-card div > span { color: var(--brand); font-size: .82rem; font-weight: 900; }

.discover-band {
    width: min(1320px, calc(100% - 40px));
    padding: clamp(40px, 6vw, 70px);
    border-radius: 30px;
    background: var(--paper-2);
}
.inline-search { margin-top: 26px; }
.inline-search--wide { max-width: 720px; margin-top: 28px; }

.steps-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1px;
    padding: 1px;
    margin: 0;
    list-style: none;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}
.steps-list li {
    min-height: 250px;
    padding: 26px;
    background: var(--white);
}
.steps-list li > span { color: var(--brand); font-size: .8rem; font-weight: 900; letter-spacing: .1em; }
.steps-list h3 { margin: 44px 0 10px; font-size: 1.16rem; }
.steps-list p { color: var(--muted); font-size: .9rem; }
.steps-list a { color: var(--brand); font-size: .82rem; font-weight: 900; }

.community-band { grid-template-columns: 1.1fr .9fr; }
.community-band .button { margin-top: 12px; }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}
.faq-grid article {
    padding: 24px;
    border-top: 3px solid var(--brand);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(44,38,34,.05);
}
.faq-grid h3 { margin: 0 0 10px; font-size: 1.02rem; }
.faq-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.inline-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; }
.inline-links a { color: var(--brand); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(185,71,63,.24); text-underline-offset: 4px; }

.route-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}
.route-cards a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 150px;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--white);
    transition: border-color .18s ease, transform .18s ease;
}
.route-cards a:hover { transform: translateY(-3px); border-color: var(--brand); }
.route-cards strong { font-size: 1.08rem; color: var(--ink); }
.route-cards span { color: var(--muted); font-size: .9rem; }

.checklist,
.issue-grid,
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}
.checklist article,
.issue-grid article,
.comparison-grid article {
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--white);
}
.checklist article > span { color: var(--brand); font-size: .76rem; font-weight: 900; }
.checklist h3,
.issue-grid h3,
.comparison-grid h3 { margin: 24px 0 8px; font-size: 1.1rem; }
.checklist p,
.issue-grid p,
.comparison-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.section--dark .issue-grid article { background: #292B31; border-color: var(--dark-line); }
.section--dark .issue-grid h3 { color: #fff; }
.section--dark .issue-grid p { color: #B7B4AE; }

.section-note {
    padding: 28px;
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: var(--white);
    box-shadow: 0 8px 26px rgba(44,38,34,.05);
}
.section-note h2,
.section-note h3 { margin-top: 0; color: var(--ink); }
.section-note p:last-child { margin-bottom: 0; }
.section-note ul { padding-left: 1.2em; margin-bottom: 0; color: var(--muted); }

.dark-list,
.related-panel {
    padding: 30px;
    border-radius: 22px;
    background: var(--ink);
    color: #fff;
}
.dark-list h3,
.related-panel h3 { margin-top: 0; }
.dark-list ul { margin: 0; padding-left: 1.2em; color: #C5C1BA; }
.dark-list li + li { margin-top: 10px; }
.related-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.related-panel a { color: #F0AE5B; font-weight: 800; }
.related-panel a:hover { text-decoration: underline; }

.editorial-list { padding-left: 1.2em; }
.editorial-list li + li { margin-top: 12px; }

.guide-timeline { position: relative; display: grid; gap: 16px; }
.guide-timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 30px;
    bottom: 30px;
    width: 1px;
    background: var(--line);
}
.guide-timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 22px;
    align-items: start;
}
.guide-timeline article > span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
}
.guide-timeline article > div { padding: 8px 0 22px; }
.guide-timeline h3 { margin: 0 0 7px; }
.guide-timeline p { margin: 0; color: var(--muted); }

.filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}
.filter-panel a {
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}
.filter-panel a:hover,
.filter-panel a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.hub-summary {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 46px;
}
.hub-summary > div:last-child { padding: 24px; border-radius: 20px; background: var(--paper-2); }

.topic-index { border-top: 1px solid var(--line); }
.topic-index__item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 28px;
    padding: 30px 0;
    align-items: start;
    border-bottom: 1px solid var(--line);
}
.topic-number { color: var(--brand); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.topic-index__item h2 { margin: 0 0 8px; font-size: 1.3rem; }
.topic-index__item p { margin: 0; color: var(--muted); }

.topic-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.topic-hero .section { padding-top: 64px; padding-bottom: 64px; }
.topic-points { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; }
.topic-points li { padding: 7px 12px; border-radius: 999px; background: rgba(185,71,63,.08); color: var(--brand-dark); font-size: .82rem; font-weight: 800; }

.article-page { overflow: visible; }
.article-header {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 66px 0 42px;
}
.article-header h1 { color: var(--ink); font-size: clamp(2.25rem, 4.7vw, 4.5rem); }
.article-deck { max-width: 820px; margin: 22px 0 0; color: var(--muted); font-size: 1.12rem; }
.meta-line { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; color: var(--muted); font-size: .8rem; }
.article-cover {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 44px;
}
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 28px; }
.article-layout {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 68px;
    align-items: start;
    padding-bottom: 80px;
}
.article-body { min-width: 0; }
.article-body > p { margin: 0 0 1.25em; font-size: 1.04rem; }
.article-body > p:first-child::first-letter { float: left; padding: .15em .1em 0 0; font-size: 3em; line-height: .72; color: var(--brand); font-weight: 900; }
.article-body h2 { margin: 2.2em 0 .7em; font-size: 1.7rem; color: var(--ink); }
.article-callout { margin: 34px 0; padding: 24px; border-radius: 16px; background: var(--paper-2); }
.article-callout h2,
.article-callout h3 { margin-top: 0; }
.article-aside { position: sticky; top: 112px; display: grid; gap: 14px; }
.article-aside > div { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); }
.article-aside h2,
.article-aside h3 { margin-top: 0; font-size: 1rem; }
.article-aside ul { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: .86rem; }
.article-related { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 0 0 90px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.related-grid a { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.related-grid a:hover { border-color: var(--brand); }
.related-grid strong { display: block; margin-bottom: 8px; color: var(--ink); }
.related-grid span { color: var(--muted); font-size: .85rem; }

.faq-accordion { display: grid; gap: 10px; }
.faq-accordion article { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font-weight: 900;
}
.faq-question::after { content: "+"; color: var(--brand); font-size: 1.4rem; font-weight: 500; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { padding: 0 20px 18px; color: var(--muted); }
.faq-answer p { margin: 0; }

.site-footer { margin-top: 20px; background: var(--ink); color: #fff; }
.footer-grid {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 46px;
    padding: 68px 0 54px;
}
.footer-grid section p { max-width: 430px; color: #B8B5AF; }
.footer-grid h2 { margin: 0 0 16px; font-size: .95rem; color: #fff; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid nav a { color: #B8B5AF; font-size: .86rem; }
.footer-grid nav a:hover { color: #F0AE5B; }
.footer-bottom {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 0 26px;
    border-top: 1px solid var(--dark-line);
    color: #8F8C87;
    font-size: .75rem;
}
.footer-bottom p { margin: 0; }
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

@media (max-width: 1180px) {
    .header-shell { gap: 16px; }
    .primary-nav a { padding-inline: 7px; font-size: .82rem; }
    .portal-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .article-row { grid-template-columns: 120px minmax(240px,.9fr) minmax(260px,1.1fr); }
    .article-row > .text-link { grid-column: 2 / -1; }
    .article-list--home .article-row { grid-template-columns: 120px minmax(240px,.95fr) minmax(280px,1.2fr); }
    .checklist, .issue-grid, .comparison-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 1024px) {
    .menu-toggle { display: inline-flex; margin-left: auto; }
    .primary-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 8px);
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--white);
        box-shadow: var(--shadow);
    }
    .primary-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .primary-nav a { padding: 11px 12px; }
    .primary-nav a[aria-current="page"]::after { display: none; }
    .hero { min-height: 0; }
    .hero--home { grid-template-columns: 1fr; }
    .hero__media { min-height: 440px; }
    .feature-band, .discover-band, .community-band, .about-band { grid-template-columns: 1fr; gap: 34px; }
    .community-band > img { order: 2; }
    .about-band > img { order: 2; }
    .steps-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .faq-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .article-layout { grid-template-columns: 1fr; gap: 30px; }
    .article-aside { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
}

@media (max-width: 768px) {
    .header-shell { width: min(100% - 28px, var(--max)); min-height: 72px; }
    .brand small { display: none; }
    .search-open { padding-inline: 12px; }
    .section { width: min(100% - 30px, var(--max)); padding: 60px 0; }
    .section--muted, .section--dark { width: 100%; padding-left: 15px; padding-right: 15px; }
    .hero { width: min(100% - 20px, 1320px); margin-top: 10px; border-radius: 24px; }
    .hero__copy { padding: 52px 28px; }
    .hero h1 { font-size: clamp(2.35rem, 10vw, 4rem); }
    .hero__media { min-height: 340px; }
    .hero__facts { display: grid; gap: 5px; }
    .section-heading--split { align-items: start; flex-direction: column; gap: 12px; }
    .editorial-columns { grid-template-columns: 1fr; gap: 28px; }
    .portal-grid, .topic-grid, .route-cards { grid-template-columns: 1fr; }
    .portal-card { min-height: 210px; }
    .article-row,
    .article-list--home .article-row { grid-template-columns: 1fr; gap: 10px; }
    .article-row > .text-link { grid-column: auto; }
    .article-row__meta { flex-direction: row; justify-content: space-between; }
    .discover-band { width: calc(100% - 20px); padding: 38px 24px; }
    .steps-list { grid-template-columns: 1fr; }
    .steps-list li { min-height: 200px; }
    .steps-list h3 { margin-top: 26px; }
    .faq-grid { grid-template-columns: 1fr; }
    .checklist, .issue-grid, .comparison-grid { grid-template-columns: 1fr; }
    .hub-summary { grid-template-columns: 1fr; }
    .topic-index__item { grid-template-columns: 60px 1fr; gap: 18px; }
    .topic-index__item > .text-link { grid-column: 2; }
    .article-header, .article-cover, .article-layout, .article-related { width: calc(100% - 30px); }
    .article-header { padding-top: 48px; }
    .article-cover img { border-radius: 20px; }
    .article-aside { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid section { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 600px) {
    .brand img { width: 38px; height: 38px; }
    .brand strong { font-size: .9rem; }
    .menu-toggle, .search-open { font-size: .78rem; padding: 8px 10px; }
    .primary-nav.is-open { grid-template-columns: 1fr; }
    .search-modal { padding: 10vh 14px 28px; }
    .search-modal__panel { padding: 28px 20px 22px; }
    .search-form__row, .inline-search > div { flex-direction: column; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .button { width: 100%; }
    .page-hero > .section, .topic-hero .section { padding-top: 46px; padding-bottom: 46px; }
    .page-hero h1, .article-header h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid section { grid-column: auto; }
}

@media (max-width: 375px) {
    .header-shell { width: calc(100% - 20px); gap: 8px; }
    .brand span { display: none; }
    .section { width: calc(100% - 24px); }
    .hero__copy { padding: 44px 20px; }
    .hero__media figcaption { left: 20px; right: 20px; bottom: 18px; }
    .portal-card, .checklist article, .issue-grid article, .section-note { padding: 20px; }
}

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