:root {
    --brand: #B9473F;
    --brand-dark: #96372F;
    --amber: #D89A45;
    --accent: #E06A3B;
    --ink: #1E2026;
    --text: #2B2D31;
    --muted: #6F706F;
    --paper: #F7F4EF;
    --paper-2: #EEE9E2;
    --white: #fffdf9;
    --line: #D9D2C8;
    --line-dark: #3B3D45;
    --success: #52725B;
    --shadow-sm: 0 8px 26px rgba(30, 32, 38, .08);
    --shadow-md: 0 18px 52px rgba(30, 32, 38, .13);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shell: min(1180px, calc(100% - 48px));
    --reading: min(860px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, p, figure, dl, dd { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.24; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 4.65rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.55rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.08rem, 1.6vw, 1.35rem); margin-bottom: 10px; }
p { margin-bottom: 18px; }
ul, ol { margin-top: 0; }
::selection { background: rgba(185, 71, 63, .18); }

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 1000;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 8px;
    color: white;
    background: var(--ink);
    text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.container, .section-shell { width: var(--shell); margin-inline: auto; }
.reading-width { width: var(--reading); }
.site-main, main { min-height: 62vh; }
.section { padding: 76px 0; }
.section-shell { padding-top: 78px; padding-bottom: 78px; }
.section-shell > .breadcrumbs:first-child { margin-top: -45px; margin-bottom: 34px; }
.wide-band { width: 100%; }
.warm-band { background: var(--paper-2); border-block: 1px solid rgba(30, 32, 38, .07); }
.dark-band { background: var(--ink); color: #F2EEE8; }
.dark-band h2, .dark-band h3 { color: #FFF9F1; }
.dark-band .eyebrow { color: #F0B365; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(30, 32, 38, .09);
    background: rgba(247, 244, 239, .94);
    backdrop-filter: blur(16px);
}
.header-shell {
    width: var(--shell);
    min-height: 76px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: max-content;
    text-decoration: none;
}
.brand-lockup img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: grid; gap: 1px; line-height: 1.18; }
.brand-text strong { color: var(--ink); font-size: 1.04rem; }
.brand-text small { color: var(--muted); font-size: .72rem; }
.primary-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 3px;
}
.primary-nav a {
    padding: 9px 11px;
    border-radius: 9px;
    color: #4C4D50;
    font-size: .93rem;
    text-decoration: none;
    white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--brand); background: rgba(185, 71, 63, .07); }
.primary-nav a[aria-current="page"] { color: var(--brand-dark); background: rgba(185, 71, 63, .11); font-weight: 700; }
.search-open, .menu-toggle {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    color: var(--ink);
    background: transparent;
    font-weight: 700;
}
.search-open:hover, .menu-toggle:hover { border-color: var(--brand); color: var(--brand); }
.menu-toggle { display: none; }

.hero {
    width: var(--shell);
    margin-inline: auto;
    padding: clamp(62px, 8vw, 116px) 0 84px;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, .87fr);
    align-items: center;
    gap: clamp(42px, 6vw, 86px);
}
.hero-copy { max-width: 710px; }
.hero-home h1 { font-size: clamp(2.55rem, 5vw, 5.25rem); }
.eyebrow {
    margin-bottom: 13px;
    color: var(--brand);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.hero-lead, .lead {
    color: #55575A;
    font-size: clamp(1.03rem, 1.6vw, 1.23rem);
    line-height: 1.82;
}
.hero-actions, .button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
.button, .button-primary, .button-secondary, .button-ghost, .button-light, .button-accent,
.button--primary, .button--secondary {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.button:hover, .button-primary:hover, .button-secondary:hover, .button-ghost:hover, .button-light:hover,
.button-accent:hover, .button--primary:hover, .button--secondary:hover { transform: translateY(-1px); }
.button-primary, .button--primary { color: #fff; background: var(--brand); }
.button-primary:hover, .button--primary:hover { background: var(--brand-dark); }
.button-secondary, .button--secondary { color: var(--ink); border-color: #C9C1B7; background: #FFFDF9; }
.button-secondary:hover, .button--secondary:hover { border-color: var(--brand); color: var(--brand); }
.button-ghost { color: var(--ink); border-color: rgba(30, 32, 38, .16); background: transparent; }
.button-light { color: var(--ink); background: #FFF9F1; }
.button-accent { color: #fff; background: var(--accent); }
.text-link, .card-link {
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration: none;
}
.text-link::after, .card-link::after { content: " →"; }
.text-link:hover, .card-link:hover { text-decoration: underline; }
.hero-media { margin: 0; }
.hero-media img {
    width: 100%;
    aspect-ratio: 1.28 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.hero-media figcaption { margin-top: 12px; color: var(--muted); font-size: .82rem; }
.hero-facts {
    margin: 34px 0 0;
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid var(--line);
}
.hero-facts div { min-width: 0; }
.hero-facts dt { color: var(--muted); font-size: .74rem; }
.hero-facts dd { margin: 5px 0 0; color: var(--ink); font-size: .88rem; font-weight: 700; }

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--muted);
    font-size: .84rem;
}
.breadcrumbs a { color: var(--brand-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .75fr);
    align-items: center;
    gap: clamp(38px, 6vw, 80px);
    padding-top: 30px;
}
.page-hero h1 { font-size: clamp(2.15rem, 4.1vw, 4rem); }
.page-hero > img {
    width: 100%;
    aspect-ratio: 1.36 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.page-hero--compact { padding-top: 54px; padding-bottom: 54px; }
.compact-hero { padding-top: 30px; }

.section-heading {
    display: grid;
    gap: 6px;
    max-width: 830px;
    margin-bottom: 34px;
}
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.split-heading {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    align-items: end;
    gap: 48px;
}
.split-heading > p:last-child { padding-bottom: 6px; }

.intro-band { padding-top: 60px; }
.intent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.intent-card {
    position: relative;
    min-height: 280px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 249, .55);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.intent-card:hover { transform: translateY(-4px); border-color: rgba(185, 71, 63, .42); box-shadow: var(--shadow-sm); }
.intent-index, .editorial-number {
    color: var(--amber);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
}
.intent-card h3 { margin-top: 34px; }
.intent-card p { color: var(--muted); font-size: .94rem; }
.intent-card .card-link { margin-top: auto; }

.feature-story {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    gap: clamp(42px, 7vw, 92px);
    align-items: center;
}
.feature-media img, .feature-story > img {
    width: 100%;
    aspect-ratio: 1.43 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.feature-copy { max-width: 640px; }
.feature-copy p { color: #56575A; }

.editorial-rows { border-top: 1px solid var(--line); }
.editorial-row {
    display: grid;
    grid-template-columns: 56px 180px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}
.editorial-thumb img {
    width: 100%;
    aspect-ratio: 1.55 / 1;
    object-fit: cover;
    border-radius: 12px;
}
.editorial-content p { margin-bottom: 8px; color: var(--muted); }

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
    gap: clamp(46px, 7vw, 92px);
    align-items: center;
}
.split-layout > figure { margin: 0; }
.split-layout > img, .split-layout figure img {
    width: 100%;
    aspect-ratio: 1.42 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.split-layout p { color: #585A5C; }

.timeline-list {
    position: relative;
    list-style: none;
    padding: 0 0 0 10px;
    margin: 0;
    max-width: 900px;
}
.timeline-list::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: #CFC6BC;
}
.timeline-list li {
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 24px;
    padding: 0 0 34px;
}
.timeline-dot {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--brand);
    font-size: .82rem;
    font-weight: 900;
}
.timeline-list li > div { padding-top: 3px; }
.timeline-list li p { color: var(--muted); margin-bottom: 8px; }

.spotlight-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
}
.spotlight {
    min-height: 390px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.spotlight-image img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 20, 23, .86), rgba(20, 20, 23, .07) 68%);
}
.spotlight-overlay {
    position: absolute;
    z-index: 2;
    left: 32px;
    right: 32px;
    bottom: 30px;
    color: white;
}
.spotlight-overlay h2 { color: white; max-width: 560px; }
.spotlight-copy {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #D7CEC3;
    background: var(--paper-2);
}
.spotlight-copy p { color: var(--muted); }

.status-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.status-item {
    padding: 26px;
    border-top: 3px solid var(--brand);
    background: #FFFDF9;
    box-shadow: 0 7px 22px rgba(30, 32, 38, .045);
}
.status-badge {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 5px 9px;
    border-radius: 99px;
    color: #7B3A2D;
    background: #F5DDD5;
    font-size: .72rem;
    font-weight: 800;
}
.status-item p { color: var(--muted); }

.search-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .66fr);
    gap: 60px;
    align-items: center;
    border-block: 1px solid var(--line);
}
.search-feature > img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; border-radius: var(--radius); }
.inline-search { margin-top: 28px; }
.inline-search > label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .85rem; font-weight: 800; }
.inline-search > div { display: flex; gap: 8px; }
.inline-search input, .search-row input, .search-page-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #BDB5AC;
    border-radius: 10px;
    padding: 10px 13px;
    color: var(--ink);
    background: white;
    outline: none;
}
.inline-search input:focus, .search-row input:focus, .search-page-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(185, 71, 63, .13); }
.inline-search button, .search-row button {
    min-width: 104px;
    border: 0;
    border-radius: 10px;
    padding: 10px 15px;
    color: white;
    background: var(--brand);
    font-weight: 800;
}

.faq-compact, .faq-page-list { display: grid; gap: 10px; }
.faq-compact details, .faq-page-list details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 253, 249, .62);
}
.faq-compact summary, .faq-page-list summary {
    cursor: pointer;
    list-style: none;
    padding: 17px 20px;
    color: var(--ink);
    font-weight: 800;
}
.faq-compact summary::-webkit-details-marker, .faq-page-list summary::-webkit-details-marker { display: none; }
.faq-compact summary::after, .faq-page-list summary::after { content: "+"; float: right; color: var(--brand); }
.faq-compact details[open] summary::after, .faq-page-list details[open] summary::after { content: "−"; }
.faq-compact details > p, .faq-answer { padding: 0 20px 18px; color: var(--muted); }
.faq-compact details > p { margin: 0; }
.faq-answer p { margin: 0; }
.faq-page-list summary { font-size: 1.04rem; }
.faq-page-list summary span { display: inline-block; min-width: 42px; color: var(--amber); font-size: .75rem; }
.section-cta { margin-top: 24px; }

.final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 50px;
}
.final-cta > div > p:last-child { max-width: 760px; margin-bottom: 0; }
.dark-band .final-cta p { color: #C9C7C2; }

.prose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
    gap: clamp(44px, 7vw, 96px);
    align-items: start;
}
.prose-main { font-size: 1.02rem; }
.prose-main p { color: #4F5154; }
.prose-aside {
    position: sticky;
    top: 110px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
}
.prose-aside h2 { font-size: 1.22rem; }
.link-stack { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.link-stack a {
    display: grid;
    gap: 3px;
    padding: 12px 0;
    border-bottom: 1px solid #D6CFC6;
    text-decoration: none;
}
.link-stack li:last-child a { border-bottom: 0; }
.link-stack strong { color: var(--brand-dark); }
.link-stack span { color: var(--muted); font-size: .85rem; }
.callout {
    margin-top: 28px;
    padding: 22px 24px;
    border-left: 4px solid var(--accent);
    background: #F2E8DF;
}
.callout strong { display: block; margin-bottom: 6px; color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.callout-section { max-width: 920px; }

.comparison-table-wrap { overflow: hidden; }
.comparison-table { border: 1px solid #D5CEC5; border-radius: 14px; overflow: hidden; background: #FFFDF9; }
.comparison-row { display: grid; grid-template-columns: 1fr 1.4fr .8fr 1.3fr; }
.comparison-row > div { padding: 16px 18px; border-right: 1px solid #E0D9D0; border-top: 1px solid #E0D9D0; }
.comparison-row > div:last-child { border-right: 0; }
.comparison-head { color: white; background: var(--ink); font-weight: 800; }
.comparison-head > div { border-top: 0; border-color: #454750; }

.checklist-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.checklist-grid li {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 249, .48);
}
.checklist-grid li > span, .values-grid article > span, .feedback-grid article > span {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--brand);
    font-size: .77rem;
    font-weight: 900;
    letter-spacing: .1em;
}
.checklist-grid p { color: var(--muted); font-size: .92rem; }

.intent-ladder, .route-map { display: grid; gap: 14px; }
.ladder-grid, .route-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.ladder-grid article, .route-grid a {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #FFFDF9;
}
.route-grid a { text-decoration: none; }
.route-grid a:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.route-grid span { display: block; margin-bottom: 14px; color: var(--brand); font-size: .76rem; font-weight: 900; }
.route-grid strong { color: var(--ink); }
.route-grid p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }

.topic-columns, .topic-paths {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.topic-panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 249, .56);
}
.topic-panel-wide { grid-column: 1 / -1; }
.topic-panel-large { padding: 36px; }
.topic-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.topic-links a, .tag-links a {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid #CEC6BC;
    border-radius: 999px;
    color: var(--brand-dark);
    background: rgba(255, 255, 255, .46);
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
}
.topic-links a:hover, .tag-links a:hover { border-color: var(--brand); }

.status-list-large { grid-template-columns: repeat(2, 1fr); }
.numbered-notes, .plain-steps, .warning-list, .principles-list ul, .two-column-list { padding-left: 1.25rem; }
.plain-steps li, .warning-list li, .principles-list li, .numbered-notes li { margin-bottom: 13px; }
.two-column-list { columns: 2; column-gap: 48px; }
.two-column-list li { break-inside: avoid; margin-bottom: 13px; }

.scenario-grid, .values-grid, .feedback-grid, .safety-matrix, .method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.scenario-grid article, .values-grid article, .feedback-grid article, .safety-matrix article, .method-grid article {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 249, .54);
}
.scenario-grid-large { grid-template-columns: repeat(3, 1fr); }
.safety-matrix strong { display: block; margin-top: 20px; color: var(--brand-dark); font-size: .85rem; }
.safety-matrix span { color: var(--muted); font-size: .9rem; }
.privacy-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.privacy-sections article { padding: 30px; border-top: 3px solid var(--amber); background: #FFFDF9; }

.access-checker, .reading-tips {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, .58fr);
    gap: 50px;
    align-items: start;
}
.access-domain-card {
    padding: 28px;
    border-radius: var(--radius);
    color: #F9F4EC;
    background: var(--ink);
}
.access-domain-card code { display: block; margin: 12px 0; color: #F0B365; font-size: 1.2rem; word-break: break-all; }
.access-checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.access-checklist li { padding: 14px 16px; border-left: 3px solid var(--brand); background: #FFFDF9; }

.search-modal[hidden] { display: none !important; }
.search-modal { position: fixed; z-index: 200; inset: 0; display: grid; place-items: start center; padding: 10vh 24px 24px; }
.search-backdrop { position: absolute; inset: 0; background: rgba(21, 22, 25, .72); backdrop-filter: blur(4px); }
.search-dialog {
    position: relative;
    z-index: 1;
    width: min(660px, 100%);
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: 0 26px 90px rgba(0, 0, 0, .26);
}
.search-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: transparent;
    font-size: 1.5rem;
}
.search-form label { display: block; margin-bottom: 8px; font-size: .82rem; font-weight: 800; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

.search-page-form { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 28px; }
.search-results { display: grid; gap: 12px; }
.search-result { padding: 24px 0; border-bottom: 1px solid var(--line); }
.search-result:first-child { border-top: 1px solid var(--line); }
.result-type { margin-bottom: 6px; color: var(--brand); font-size: .76rem; font-weight: 900; }
.search-result h3 a { text-decoration: none; }
.search-result h3 a:hover { color: var(--brand); }
.search-result p { color: var(--muted); }
.notice-panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
}
.tag-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.empty-state {
    display: grid;
    grid-template-columns: minmax(240px, .58fr) 1fr;
    gap: 44px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.empty-state img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; border-radius: var(--radius); }

.error-page { text-align: center; }
.error-page .breadcrumbs { justify-content: center; }
.error-code { margin: 22px 0 -4px; color: rgba(185, 71, 63, .19); font-size: clamp(6rem, 20vw, 13rem); font-weight: 950; line-height: .85; letter-spacing: -.07em; }
.error-page .lead { max-width: 720px; margin-inline: auto; }
.error-page .button-row { justify-content: center; }
.error-links {
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: left;
}
.error-links a { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.error-links strong { color: var(--brand-dark); }
.error-links span { color: var(--muted); font-size: .88rem; }

.site-footer { margin-top: 0; padding: 68px 0 28px; color: #D3D0CA; background: #1A1C21; }
.footer-grid {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 46px;
}
.footer-grid h2 { margin-bottom: 15px; color: #FFF9F1; font-size: 1rem; }
.footer-grid p { max-width: 390px; color: #AFAEA9; font-size: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #C9C8C3; font-size: .88rem; text-decoration: none; }
.footer-grid a:hover { color: #F0B365; }
.footer-bottom {
    width: var(--shell);
    margin: 48px auto 0;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #34363D;
    color: #8F908E;
    font-size: .8rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #C4C1BB; text-decoration: none; }
.back-to-top {
    position: fixed;
    z-index: 70;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: white;
    background: rgba(30, 32, 38, .92);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 1100px) {
    :root { --shell: min(100% - 40px, 1040px); }
    .header-shell { grid-template-columns: auto auto 1fr auto; gap: 14px; }
    .menu-toggle { display: inline-flex; justify-self: end; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 20px;
        right: 20px;
        padding: 14px;
        grid-template-columns: repeat(2, 1fr);
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--paper);
        box-shadow: var(--shadow-md);
    }
    .primary-nav.is-open { display: grid; }
    .primary-nav a { padding: 12px; }
    .hero, .page-hero { grid-template-columns: 1fr 420px; gap: 44px; }
    .intent-grid, .checklist-grid, .ladder-grid, .route-grid { grid-template-columns: repeat(2, 1fr); }
    .scenario-grid-large { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
    .footer-grid section:last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
    :root { --shell: min(100% - 36px, 860px); --reading: min(100% - 36px, 780px); }
    .hero, .page-hero, .feature-story, .split-layout, .search-feature, .prose-grid, .access-checker, .reading-tips, .empty-state {
        grid-template-columns: 1fr;
    }
    .hero { padding-top: 62px; }
    .hero-media { max-width: 720px; }
    .page-hero > img { max-width: 720px; }
    .prose-aside { position: static; }
    .split-heading { grid-template-columns: 1fr; gap: 8px; }
    .status-list { grid-template-columns: 1fr; }
    .status-list-large { grid-template-columns: 1fr; }
    .spotlight-grid { grid-template-columns: 1fr; }
    .comparison-table { overflow-x: auto; }
    .comparison-row { min-width: 760px; }
    .final-cta { grid-template-columns: 1fr; gap: 18px; }
    .final-cta .button-row { margin-top: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid section:last-child { grid-column: auto; }
}

@media (max-width: 700px) {
    :root { --shell: calc(100% - 28px); --reading: calc(100% - 28px); --radius-lg: 20px; }
    body { line-height: 1.68; }
    .section-shell, .section { padding-top: 58px; padding-bottom: 58px; }
    .section-shell > .breadcrumbs:first-child { margin-top: -30px; margin-bottom: 26px; }
    .header-shell { min-height: 68px; grid-template-columns: 1fr auto auto; }
    .brand-lockup img { width: 39px; height: 39px; }
    .brand-text small { display: none; }
    .search-open { width: 42px; height: 42px; padding: 0; overflow: hidden; font-size: 0; }
    .search-open::before { content: "⌕"; font-size: 1.24rem; }
    .primary-nav { top: 68px; left: 14px; right: 14px; grid-template-columns: 1fr; }
    .hero { padding: 50px 0 60px; gap: 34px; }
    .hero-home h1 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
    .hero-facts { grid-template-columns: 1fr; }
    .hero-facts div { padding-bottom: 10px; border-bottom: 1px dashed #D7D0C7; }
    .hero-facts div:last-child { border: 0; }
    .hero-actions, .button-row { align-items: stretch; }
    .hero-actions .button, .hero-actions .button-primary, .hero-actions .button-secondary, .button-row .button { width: 100%; }
    .intent-grid, .checklist-grid, .ladder-grid, .route-grid, .scenario-grid, .scenario-grid-large,
    .values-grid, .feedback-grid, .safety-matrix, .method-grid, .privacy-sections, .topic-columns, .topic-paths {
        grid-template-columns: 1fr;
    }
    .intent-card { min-height: 230px; }
    .editorial-row { grid-template-columns: 42px 1fr; gap: 16px; }
    .editorial-thumb { grid-column: 2; }
    .editorial-content { grid-column: 2; }
    .topic-panel-wide { grid-column: auto; }
    .two-column-list { columns: 1; }
    .search-page-form, .search-row { grid-template-columns: 1fr; }
    .inline-search > div { flex-direction: column; }
    .search-dialog { padding: 30px 22px 24px; }
    .error-links { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; }
    .back-to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
    :root { --shell: calc(100% - 22px); --reading: calc(100% - 22px); }
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.55rem; }
    .header-shell { gap: 8px; }
    .brand-text strong { font-size: .95rem; }
    .menu-toggle { padding: 8px 11px; }
    .hero, .page-hero { gap: 28px; }
    .intent-card, .topic-panel, .scenario-grid article, .values-grid article, .feedback-grid article, .safety-matrix article, .method-grid article { padding: 22px; }
    .spotlight { min-height: 330px; }
    .spotlight-copy { padding: 28px; }
    .spotlight-overlay { left: 24px; right: 24px; bottom: 24px; }
    .timeline-list { padding-left: 0; }
    .timeline-list::before { left: 18px; }
    .timeline-list li { grid-template-columns: 40px 1fr; gap: 14px; }
    .timeline-dot { width: 36px; height: 36px; }
}

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