:root {
    --brand: #C84A5A;
    --brand-strong: #DE5969;
    --copper: #D08A48;
    --accent: #E59A3A;
    --deep: #121214;
    --bg: #17171A;
    --panel: #222226;
    --panel-soft: #29292E;
    --panel-deep: #1B1B1F;
    --text: #F1EEEE;
    --muted: #A9A3A6;
    --line: rgba(241, 238, 238, .10);
    --line-strong: rgba(241, 238, 238, .18);
    --danger-soft: rgba(200, 74, 90, .14);
    --accent-soft: rgba(229, 154, 58, .12);
    --shadow: 0 22px 64px rgba(0, 0, 0, .24);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --content: 1120px;
    --reading: 760px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 18% -10%, rgba(200, 74, 90, .10), transparent 34rem),
        linear-gradient(180deg, #17171A 0%, #161619 100%);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

p,
figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--text);
    line-height: 1.24;
    letter-spacing: -.02em;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--deep);
    background: var(--accent);
    transform: translateY(-180%);
    transition: transform .18s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(18, 18, 20, .88);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(var(--content), calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--panel-soft);
    box-shadow: inset 0 0 0 1px var(--line);
}

.brand-copy {
    display: grid;
    line-height: 1.1;
    gap: 5px;
}

.brand-copy strong {
    font-size: 20px;
    letter-spacing: .03em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-link {
    padding: 9px 12px;
    border-radius: 10px;
    color: #C9C4C6;
    font-size: 14px;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, .05);
}

.nav-link.is-active {
    box-shadow: inset 0 -2px 0 var(--brand);
}

.search-open,
.menu-toggle {
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: transparent;
    cursor: pointer;
}

.search-open {
    padding: 9px 13px;
    color: #D8D2D4;
}

.search-open:hover {
    border-color: rgba(229, 154, 58, .5);
    color: var(--accent);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 42px;
    padding: 10px;
    place-items: center;
    gap: 4px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
}

.menu-toggle b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.search-modal[hidden] {
    display: none !important;
}

.search-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: start center;
    padding: 12vh 20px 20px;
}

.search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(7px);
}

.search-dialog {
    position: relative;
    z-index: 2;
    width: min(680px, 100%);
    padding: 32px;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    background: #202024;
    box-shadow: var(--shadow);
}

.search-dialog h2 {
    margin: 7px 0 9px;
    font-size: clamp(26px, 4vw, 38px);
}

.search-dialog > p:not(.eyebrow) {
    color: var(--muted);
}

.search-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.search-form {
    margin-top: 24px;
}

.search-form label {
    display: block;
    margin-bottom: 8px;
    color: #CEC8CA;
    font-size: 13px;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.search-row input {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    outline: none;
    color: var(--text);
    background: var(--deep);
}

.search-row input:focus {
    border-color: rgba(229, 154, 58, .62);
    box-shadow: 0 0 0 3px rgba(229, 154, 58, .08);
}

.search-row button,
.button,
.button-secondary {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.search-row button,
.button {
    color: #1A1412;
    background: var(--accent);
}

.search-row button:hover,
.button:hover {
    color: #1A1412;
    background: #F0AA4E;
    transform: translateY(-1px);
}

.button-secondary {
    border-color: var(--line-strong);
    color: var(--text);
    background: rgba(255, 255, 255, .03);
}

.button-secondary:hover {
    border-color: rgba(200, 74, 90, .55);
    color: var(--text);
    background: rgba(200, 74, 90, .08);
}

main {
    min-height: 55vh;
}

.container {
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
}

.reading {
    width: min(var(--reading), calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 80px 0;
}

.section-tight {
    padding: 52px 0;
}

.section-line {
    border-top: 1px solid var(--line);
}

.eyebrow {
    color: var(--copper);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lead {
    max-width: 720px;
    color: #C7C1C3;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.8;
}

.muted {
    color: var(--muted);
}

.home-hero {
    padding: 54px 0 0;
}

.hero-frame {
    position: relative;
    overflow: hidden;
    min-height: 580px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: #141416;
}

.hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(18, 18, 20, .98) 0%, rgba(18, 18, 20, .90) 45%, rgba(18, 18, 20, .25) 100%);
}

.hero-media {
    position: absolute;
    inset: 0 0 0 42%;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .70;
    filter: saturate(.75) contrast(1.06);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(690px, 100%);
    padding: 74px 62px;
}

.hero-content h1 {
    margin: 14px 0 22px;
    font-size: clamp(44px, 7vw, 78px);
    letter-spacing: -.04em;
}

.hero-content .lead {
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.hero-note strong {
    color: var(--text);
}

.topic-strip {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    margin-top: -1px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
}

.topic-strip a {
    min-height: 132px;
    padding: 24px 26px;
    display: grid;
    align-content: center;
    gap: 7px;
    border-right: 1px solid var(--line);
    background: rgba(34, 34, 38, .62);
}

.topic-strip a:last-child {
    border-right: 0;
}

.topic-strip a:hover {
    color: var(--text);
    background: rgba(41, 41, 46, .78);
}

.topic-strip strong {
    font-size: 18px;
}

.topic-strip span {
    color: var(--muted);
    font-size: 14px;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
    align-items: end;
    gap: 40px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin-top: 8px;
    font-size: clamp(30px, 4vw, 48px);
}

.section-heading p:last-child {
    color: var(--muted);
}

.access-ledger {
    border-top: 1px solid var(--line-strong);
}

.access-row {
    display: grid;
    grid-template-columns: 160px minmax(0, .8fr) minmax(0, 1.4fr) 150px;
    align-items: center;
    gap: 24px;
    min-height: 128px;
    border-bottom: 1px solid var(--line);
}

.access-row .index {
    color: var(--copper);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
}

.access-row h3 {
    font-size: 22px;
}

.access-row p {
    color: var(--muted);
}

.text-link {
    justify-self: end;
    color: var(--accent);
    font-weight: 700;
}

.feature-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 42px;
    align-items: stretch;
}

.feature-copy {
    padding: 42px 0;
}

.feature-copy h2 {
    margin: 10px 0 18px;
    max-width: 660px;
    font-size: clamp(32px, 4vw, 52px);
}

.feature-copy > p:not(.eyebrow) {
    max-width: 650px;
    color: var(--muted);
}

.check-list {
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.check-list li {
    position: relative;
    padding: 16px 4px 16px 34px;
    border-bottom: 1px solid var(--line);
    color: #D5CFD1;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--brand);
}

.feature-media {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: var(--radius-lg);
    background: var(--panel);
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-media figcaption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    color: #E7E0E2;
    background: rgba(18, 18, 20, .82);
    backdrop-filter: blur(10px);
    font-size: 13px;
}

.editorial-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line-strong);
}

.editorial-note {
    min-height: 230px;
    padding: 30px 30px 34px 0;
    border-bottom: 1px solid var(--line);
}

.editorial-note:nth-child(odd) {
    padding-right: 42px;
    border-right: 1px solid var(--line);
}

.editorial-note:nth-child(even) {
    padding-left: 42px;
}

.editorial-note .num {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--brand-strong);
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.editorial-note h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.editorial-note p {
    color: var(--muted);
}

.submission-band {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 30px 34px;
    border: 1px solid rgba(229, 154, 58, .25);
    border-radius: 22px;
    background: linear-gradient(100deg, rgba(229, 154, 58, .08), rgba(200, 74, 90, .04));
}

.submission-band img {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    object-fit: cover;
    opacity: .82;
}

.submission-band h2 {
    margin-bottom: 8px;
    font-size: 26px;
}

.submission-band p {
    color: var(--muted);
}

.mini-search {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 42px;
    align-items: center;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel-deep);
}

.mini-search h2 {
    margin: 8px 0 10px;
    font-size: 32px;
}

.page-hero {
    padding: 46px 0 36px;
}

.breadcrumbs {
    margin-bottom: 28px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #666168;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 52px;
    align-items: end;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line-strong);
}

.page-hero h1 {
    margin: 10px 0 18px;
    font-size: clamp(40px, 6vw, 70px);
}

.page-hero .lead {
    max-width: 760px;
}

.page-hero-aside {
    align-self: stretch;
    display: grid;
    align-content: end;
    gap: 12px;
    padding: 24px;
    border-left: 1px solid var(--line);
}

.page-hero-aside strong {
    color: var(--accent);
    font-size: 13px;
}

.page-hero-aside p {
    color: var(--muted);
    font-size: 14px;
}

.page-image {
    overflow: hidden;
    margin-top: 30px;
    max-height: 420px;
    border: 1px solid var(--line);
    border-radius: 24px;
}

.page-image img {
    width: 100%;
    height: clamp(260px, 42vw, 420px);
    object-fit: cover;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 70px;
    align-items: start;
}

.article {
    min-width: 0;
}

.article section {
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.article section:first-child {
    padding-top: 0;
}

.article h2 {
    margin-bottom: 16px;
    font-size: clamp(26px, 3.5vw, 38px);
}

.article h3 {
    margin: 22px 0 9px;
    font-size: 21px;
}

.article p {
    margin-top: 14px;
    color: #D3CDD0;
}

.article ul,
.article ol {
    margin-top: 18px;
}

.article li {
    position: relative;
    margin-top: 10px;
    padding-left: 24px;
    color: #D0CACD;
}

.article ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .8em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--copper);
}

.article ol {
    counter-reset: article-steps;
}

.article ol li {
    counter-increment: article-steps;
    padding-left: 38px;
}

.article ol li::before {
    content: counter(article-steps, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: .08em;
    color: var(--brand-strong);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.callout {
    margin: 24px 0;
    padding: 20px 22px;
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: var(--accent-soft);
}

.callout strong {
    display: block;
    margin-bottom: 5px;
    color: #FFD39D;
}

.callout p {
    margin-top: 0;
}

.side-index {
    position: sticky;
    top: 108px;
    padding: 20px 0 20px 22px;
    border-left: 1px solid var(--line-strong);
}

.side-index h2 {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .12em;
}

.side-index a {
    display: block;
    padding: 7px 0;
    color: #BCB6B8;
    font-size: 14px;
}

.side-index a:hover {
    color: var(--accent);
}

.steps {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line-strong);
}

.step {
    display: grid;
    grid-template-columns: 110px minmax(0, .7fr) minmax(0, 1.3fr);
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.step-num {
    color: var(--brand-strong);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.step h3 {
    font-size: 21px;
}

.step p {
    color: var(--muted);
}

.signal-list {
    border-top: 1px solid var(--line-strong);
}

.signal-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 42px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
}

.signal-item h2,
.signal-item h3 {
    font-size: 21px;
}

.signal-item p {
    color: var(--muted);
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.topic-card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel-deep);
}

.topic-card .badge {
    margin-bottom: 40px;
}

.topic-card h2,
.topic-card h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.topic-card p {
    color: var(--muted);
}

.badge {
    display: inline-flex;
    width: max-content;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #CBC5C7;
    background: rgba(255, 255, 255, .03);
    font-size: 11px;
    letter-spacing: .05em;
}

.badge-guide {
    border-color: rgba(229, 154, 58, .3);
    color: #F0B96F;
}

.badge-brand {
    border-color: rgba(200, 74, 90, .35);
    color: #E78391;
}

.badge-help {
    border-color: rgba(208, 138, 72, .32);
    color: #DCAA77;
}

.badge-notice {
    color: #CAC5C7;
}

.faq-list {
    border-top: 1px solid var(--line-strong);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    padding: 22px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    border: 0;
    text-align: left;
    color: var(--text);
    background: transparent;
    cursor: pointer;
    font-weight: 700;
}

.faq-question::after {
    content: "+";
    color: var(--accent);
    font-size: 24px;
    font-weight: 400;
}

.faq-question[aria-expanded="true"]::after {
    content: "−";
}

.faq-answer {
    max-width: 760px;
    padding: 0 0 23px;
    color: var(--muted);
}

.faq-answer[hidden] {
    display: none;
}

.search-page-form {
    max-width: 760px;
    margin: 28px 0 42px;
}

.search-results {
    border-top: 1px solid var(--line-strong);
}

.search-result {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.search-result h2 {
    margin-bottom: 8px;
    font-size: 23px;
}

.search-result p {
    max-width: 760px;
    color: var(--muted);
}

.search-result a:last-child {
    align-self: center;
    color: var(--accent);
    font-weight: 700;
}

.empty-state {
    padding: 34px 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line);
}

.empty-state h2 {
    margin-bottom: 10px;
    font-size: 26px;
}

.empty-state p {
    color: var(--muted);
}

.policy-sections {
    display: grid;
    gap: 18px;
}

.policy-block {
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(34, 34, 38, .56);
}

.policy-block h2 {
    margin-bottom: 12px;
    font-size: 24px;
}

.policy-block p,
.policy-block li {
    color: var(--muted);
}

.policy-block ul {
    display: grid;
    gap: 9px;
    margin-top: 13px;
}

.policy-block li {
    position: relative;
    padding-left: 19px;
}

.policy-block li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .75em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 48px;
}

.contact-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel-deep);
}

.contact-card h2 {
    margin-bottom: 14px;
    font-size: 25px;
}

.contact-card p {
    color: var(--muted);
}

.contact-template {
    margin-top: 18px;
    padding: 18px;
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    color: #CDC7C9;
    background: rgba(255, 255, 255, .02);
    white-space: pre-line;
}

.related-band {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}

.related-band a {
    min-height: 180px;
    padding: 26px;
    border-right: 1px solid var(--line);
}

.related-band a:last-child {
    border-right: 0;
}

.related-band small {
    display: block;
    margin-bottom: 32px;
    color: var(--copper);
    font-size: 11px;
    letter-spacing: .08em;
}

.related-band strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
}

.related-band span {
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    margin-top: 80px;
    border-top: 1px solid var(--line-strong);
    background: var(--deep);
}

.footer-main {
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 44px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, .8fr);
    gap: 44px;
}

.footer-intro {
    max-width: 390px;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 26px;
    font-weight: 800;
}

.footer-intro p {
    color: var(--muted);
    font-size: 14px;
}

.footer-group h2 {
    margin-bottom: 15px;
    color: #E6E1E2;
    font-size: 14px;
}

.footer-group a {
    display: block;
    padding: 5px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom {
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    color: #8F898C;
    font-size: 12px;
}

.footer-bottom a {
    color: #BDB7B9;
}

.error-page {
    padding: 90px 0 40px;
}

.error-code {
    color: var(--brand-strong);
    font-size: 13px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.error-page h1 {
    margin: 12px 0 18px;
    font-size: clamp(48px, 9vw, 90px);
}

.error-page .lead {
    margin-bottom: 28px;
}

@media (max-width: 1024px) {
    .header-inner {
        grid-template-columns: auto auto auto;
        justify-content: space-between;
        gap: 12px;
    }

    .menu-toggle {
        display: grid;
        order: 3;
    }

    .search-open {
        order: 2;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line-strong);
        border-radius: 16px;
        background: #1D1D21;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: grid;
    }

    .nav-link {
        padding: 12px 14px;
    }

    .nav-link.is-active {
        box-shadow: inset 3px 0 0 var(--brand);
    }

    .section-heading,
    .page-hero-grid,
    .feature-split,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .feature-media {
        min-height: 420px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .side-index {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 24px;
        padding: 22px 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .side-index h2 {
        grid-column: 1 / -1;
    }

    .submission-band {
        grid-template-columns: 160px 1fr;
    }

    .submission-band .button-secondary {
        grid-column: 2;
        justify-self: start;
    }

    .footer-main {
        grid-template-columns: 1.3fr 1fr 1fr;
    }

    .footer-intro {
        grid-column: 1 / -1;
        max-width: 620px;
    }
}

@media (max-width: 768px) {
    .header-inner,
    .container,
    .reading,
    .footer-main,
    .footer-bottom {
        width: min(100% - 28px, var(--content));
    }

    .brand-copy small {
        display: none;
    }

    .search-open {
        font-size: 0;
        width: 42px;
        height: 42px;
        padding: 0;
    }

    .search-open::after {
        content: "搜";
        font-size: 13px;
    }

    .home-hero {
        padding-top: 24px;
    }

    .hero-frame {
        min-height: auto;
        border-radius: 24px;
    }

    .hero-frame::after {
        background: linear-gradient(180deg, rgba(18, 18, 20, .48) 0%, rgba(18, 18, 20, .98) 52%);
    }

    .hero-media {
        inset: 0 0 auto;
        height: 300px;
    }

    .hero-content {
        padding: 250px 26px 34px;
    }

    .hero-content h1 {
        font-size: clamp(42px, 13vw, 64px);
    }

    .topic-strip {
        grid-template-columns: 1fr;
    }

    .topic-strip a {
        min-height: 106px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .topic-strip a:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 62px 0;
    }

    .section-heading {
        gap: 15px;
    }

    .access-row {
        grid-template-columns: 70px 1fr;
        gap: 14px 20px;
        padding: 22px 0;
    }

    .access-row p,
    .access-row .text-link {
        grid-column: 2;
    }

    .access-row .text-link {
        justify-self: start;
    }

    .editorial-notes,
    .topic-grid,
    .mini-search,
    .related-band {
        grid-template-columns: 1fr;
    }

    .editorial-note,
    .editorial-note:nth-child(odd),
    .editorial-note:nth-child(even) {
        min-height: auto;
        padding: 26px 0;
        border-right: 0;
    }

    .submission-band {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .submission-band img {
        max-height: 250px;
    }

    .submission-band .button-secondary {
        grid-column: auto;
    }

    .page-hero {
        padding-top: 24px;
    }

    .page-hero-grid {
        gap: 22px;
    }

    .page-hero-aside {
        padding: 18px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .step,
    .signal-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .step {
        padding: 24px 0;
    }

    .signal-item {
        padding: 24px 0;
    }

    .related-band a {
        min-height: 150px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .related-band a:last-child {
        border-bottom: 0;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 26px;
    }

    .footer-intro {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    .brand img {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .header-inner {
        min-height: 68px;
    }

    .main-nav {
        top: 68px;
    }

    .hero-content {
        padding-inline: 20px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button,
    .button-secondary {
        width: 100%;
    }

    .section {
        padding: 50px 0;
    }

    .feature-copy {
        padding: 18px 0 0;
    }

    .feature-media {
        min-height: 330px;
    }

    .side-index {
        grid-template-columns: 1fr;
    }

    .search-row {
        grid-template-columns: 1fr;
    }

    .search-dialog {
        padding: 28px 20px 22px;
    }

    .search-result {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 375px) {
    .header-inner,
    .container,
    .reading,
    .footer-main,
    .footer-bottom {
        width: calc(100% - 22px);
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .hero-content h1,
    .page-hero h1 {
        word-break: break-word;
    }

    .topic-card,
    .policy-block,
    .contact-card {
        padding: 22px;
    }
}

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