:root {
    --brand: #C84A5A;
    --copper: #D08A48;
    --deep: #121214;
    --bg: #17171A;
    --panel: #222226;
    --panel-soft: #28282D;
    --text: #F1EEEE;
    --muted: #A9A3A6;
    --accent: #E59A3A;
    --line: rgba(241, 238, 238, .12);
    --line-strong: rgba(241, 238, 238, .22);
    --shadow: 0 24px 70px rgba(0, 0, 0, .28);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 10px;
    --content: 1180px;
    --reading: 780px;
    --header-h: 76px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

p,
ul,
ol,
figure {
    margin-top: 0;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.18;
    letter-spacing: -.025em;
}

h1 {
    font-size: clamp(2.65rem, 6vw, 5.6rem);
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 3rem);
}

h3 {
    font-size: 1.16rem;
}

::selection {
    background: var(--brand);
    color: #fff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 120;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--text);
    color: var(--deep);
    font-weight: 700;
}

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

.eyebrow,
.prose-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--copper);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before,
.prose-kicker::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    min-height: var(--header-h);
    border-bottom: 1px solid rgba(241, 238, 238, .08);
    background: rgba(18, 18, 20, .96);
    backdrop-filter: blur(14px);
}

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

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    letter-spacing: -.06em;
    box-shadow: 0 8px 28px rgba(200, 74, 90, .28);
}

.brand-copy {
    display: grid;
    line-height: 1.18;
}

.brand-copy strong {
    font-size: 1.05rem;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: .69rem;
    letter-spacing: .04em;
}

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

.nav-link {
    position: relative;
    padding: 9px 11px;
    border-radius: 8px;
    color: #d8d4d5;
    font-size: .9rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.nav-link.is-active {
    color: #fff;
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 3px;
    left: 12px;
    height: 2px;
    background: var(--brand);
}

.header-search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.header-search:hover,
.header-search:focus-visible {
    border-color: var(--line-strong);
    color: var(--text);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: #17120b;
}

.button-secondary {
    background: var(--brand);
    color: #fff;
}

.button-ghost {
    border-color: var(--line-strong);
    background: transparent;
    color: var(--text);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--copper);
    font-weight: 800;
}

.text-link span {
    transition: transform .18s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.text-link.light {
    color: #fff;
}

.hero-editorial {
    position: relative;
    overflow: hidden;
    padding: 84px 0 54px;
    border-bottom: 1px solid var(--line);
}

.hero-editorial::after {
    content: "51";
    position: absolute;
    right: -3vw;
    bottom: -8vw;
    z-index: 0;
    color: rgba(255, 255, 255, .025);
    font-size: min(44vw, 620px);
    font-weight: 900;
    line-height: .72;
    letter-spacing: -.14em;
    pointer-events: none;
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 48px), var(--content));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: end;
    gap: 64px;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 20px 0 24px;
    font-size: clamp(3rem, 6.6vw, 6.3rem);
}

.hero-lead {
    max-width: 720px;
    color: #cbc5c7;
    font-size: 1.1rem;
}

.domain-note {
    width: fit-content;
    margin: 28px 0 30px;
    padding: 13px 16px;
    border-left: 3px solid var(--brand);
    background: rgba(255, 255, 255, .045);
}

.domain-note span {
    display: block;
    color: var(--muted);
    font-size: .72rem;
}

.domain-note strong {
    display: block;
    margin-top: 2px;
    letter-spacing: .03em;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    margin: 0;
    align-self: center;
}

.hero-visual img {
    aspect-ratio: 1.18 / 1;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-visual figcaption {
    margin: 12px 4px 0;
    color: var(--muted);
    font-size: .82rem;
}

.access-brief,
.relation-map,
.faq-preview,
.identity-note,
.site-boundary,
.editorial-directory {
    width: min(calc(100% - 48px), var(--content));
    margin: 0 auto;
    padding: 96px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 44px;
}

.section-heading.narrow {
    display: block;
    max-width: 780px;
}

.section-heading h2 {
    margin: 14px 0 0;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

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

.brief-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 28px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.brief-index {
    color: var(--brand);
    font-size: 1.45rem;
    font-weight: 900;
}

.brief-row h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.brief-row p {
    max-width: 820px;
    margin-bottom: 0;
    color: var(--muted);
}

.brand-path,
.app-secondary,
.mobile-reading {
    width: min(calc(100% - 48px), var(--content));
    margin: 0 auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 72px;
    align-items: center;
    padding: 72px 0;
}

.brand-path {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.path-media img,
.app-secondary-visual img,
.mobile-reading img {
    width: 100%;
    aspect-ratio: 1.24 / 1;
    object-fit: cover;
    border-radius: 20px;
}

.path-copy h2,
.app-secondary-copy h2,
.mobile-reading h2 {
    margin: 14px 0 20px;
}

.path-copy p,
.app-secondary-copy p,
.mobile-reading p {
    color: #c2bdbf;
}

.inline-links {
    margin-top: 28px;
    display: grid;
    gap: 2px;
}

.inline-links a {
    position: relative;
    padding: 12px 34px 12px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}

.inline-links a::after {
    content: "→";
    position: absolute;
    right: 2px;
    color: var(--brand);
}

.app-secondary {
    grid-template-columns: 1.05fr .95fr;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    color: #d1ccce;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 10px;
    height: 2px;
    background: var(--copper);
}

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

.relation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.relation-grid article {
    min-height: 300px;
    padding: 34px;
    background: var(--bg);
    display: flex;
    flex-direction: column;
}

.relation-grid article > span {
    color: var(--brand);
    font-weight: 900;
}

.relation-grid h3 {
    margin: 48px 0 12px;
    font-size: 1.42rem;
}

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

.relation-grid a {
    margin-top: auto;
    color: var(--copper);
    font-weight: 800;
}

.mobile-reading {
    grid-template-columns: .95fr 1.05fr;
    background: var(--panel);
    width: min(calc(100% - 48px), var(--content));
    padding: 54px;
    border-radius: var(--radius-lg);
}

.mobile-reading a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.guide-band {
    width: 100%;
    margin: 70px 0 0;
    padding: 72px max(24px, calc((100vw - var(--content)) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 70px;
    align-items: center;
    background: var(--brand);
    color: #fff;
}

.guide-band .eyebrow {
    color: #fff3e6;
}

.guide-band-copy h2 {
    max-width: 780px;
    margin: 14px 0 18px;
}

.guide-band-copy p {
    max-width: 800px;
    color: #f7e9eb;
}

.guide-band img {
    width: 100%;
    aspect-ratio: 1.4 / 1;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.submission-light {
    width: min(calc(100% - 48px), var(--content));
    margin: 0 auto;
    padding: 86px 0;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    border-bottom: 1px solid var(--line);
}

.submission-light h2 {
    margin: 14px 0 0;
}

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

.submission-light-copy a {
    color: var(--accent);
    font-weight: 800;
}

.faq-preview-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.faq-preview-head h2 {
    margin: 14px 0 0;
}

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

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

.faq-preview-list summary {
    position: relative;
    padding: 22px 50px 22px 0;
    font-size: 1.04rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.faq-preview-list summary::-webkit-details-marker {
    display: none;
}

.faq-preview-list summary::after {
    content: "+";
    position: absolute;
    right: 8px;
    top: 16px;
    color: var(--copper);
    font-size: 1.55rem;
    font-weight: 400;
}

.faq-preview-list details[open] summary::after {
    content: "−";
}

.faq-preview-list details p {
    max-width: 850px;
    padding: 0 50px 22px 0;
    color: var(--muted);
}

.identity-note {
    padding-top: 26px;
}

.identity-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    align-items: center;
    padding: 42px;
    background: var(--panel);
    border-radius: var(--radius-lg);
}

.identity-card img {
    width: 100%;
    aspect-ratio: 1.25 / 1;
    object-fit: cover;
    border-radius: 16px;
}

.identity-card h2 {
    margin: 14px 0 20px;
}

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

.site-boundary {
    padding-top: 54px;
}

.boundary-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.boundary-columns > div {
    padding: 36px;
    background: var(--bg);
}

.boundary-columns h3 {
    margin-bottom: 20px;
    font-size: 1.32rem;
}

.boundary-columns ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 13px;
    list-style: none;
    color: var(--muted);
}

.boundary-columns li {
    position: relative;
    padding-left: 20px;
}

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

.editorial-directory {
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 70px;
}

.directory-title h2 {
    margin-top: 14px;
}

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

.directory-list a {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.directory-list strong {
    transition: color .18s ease;
}

.directory-list span {
    color: var(--muted);
    font-size: .92rem;
}

.directory-list a:hover strong {
    color: var(--accent);
}

.page-shell {
    width: min(calc(100% - 48px), var(--content));
    margin: 0 auto;
    padding: 28px 0 92px;
}

.narrow-shell {
    width: min(calc(100% - 48px), 940px);
}

.breadcrumb {
    padding: 6px 0 26px;
    color: var(--muted);
    font-size: .8rem;
}

.breadcrumb ol {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

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

.breadcrumb a:hover {
    color: var(--text);
}

.page-intro {
    margin-bottom: 70px;
}

.page-intro h1 {
    margin: 16px 0 22px;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.page-intro p {
    max-width: 820px;
    color: #c8c2c4;
    font-size: 1.06rem;
}

.split-intro,
.guide-intro,
.safety-intro {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
    padding: 36px 0 54px;
    border-bottom: 1px solid var(--line);
}

.split-intro figure {
    margin: 0;
}

.split-intro img,
.guide-intro img,
.safety-intro img {
    width: 100%;
    aspect-ratio: 1.25 / 1;
    object-fit: cover;
    border-radius: 22px;
}

.text-intro {
    max-width: 850px;
    padding: 30px 0 52px;
    border-bottom: 1px solid var(--line);
}

.intro-note {
    margin-top: 24px;
    padding: 14px 16px;
    border-left: 3px solid var(--copper);
    background: var(--panel);
    color: var(--muted);
}

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

.prose-section {
    max-width: var(--reading);
    margin: 72px auto;
}

.prose-section h2 {
    margin: 14px 0 24px;
}

.prose-section p {
    color: #c6c0c2;
    font-size: 1.02rem;
}

.prose-section a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.two-track {
    margin: 72px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.two-track article {
    padding: 38px;
    background: var(--panel);
}

.track-label {
    color: var(--copper);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.two-track h2 {
    margin: 16px 0 24px;
    font-size: 1.7rem;
}

.two-track ul {
    padding-left: 20px;
    color: var(--muted);
}

.two-track li + li {
    margin-top: 9px;
}

.media-prose {
    margin: 80px 0;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 66px;
    align-items: center;
}

.media-prose.reverse {
    grid-template-columns: 1.1fr .9fr;
}

.media-prose.reverse figure {
    order: 2;
}

.media-prose figure {
    margin: 0;
}

.media-prose img {
    width: 100%;
    aspect-ratio: 1.24 / 1;
    object-fit: cover;
    border-radius: 20px;
}

.media-prose-copy h2 {
    margin: 14px 0 20px;
}

.media-prose-copy p {
    color: var(--muted);
}

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

.number-list > div {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.number-list b {
    color: var(--brand);
}

.number-list p {
    margin: 0;
}

.number-list strong {
    color: var(--text);
}

.problem-flow {
    margin: 86px 0;
    padding: 44px;
    border-radius: var(--radius-lg);
    background: var(--panel);
}

.problem-flow .section-heading {
    display: block;
}

.problem-flow ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.problem-flow li {
    counter-increment: steps;
    display: grid;
    grid-template-columns: minmax(200px, .72fr) 1.28fr;
    gap: 30px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.problem-flow li::before {
    content: counter(steps, decimal-leading-zero);
    grid-column: 1 / -1;
    display: none;
}

.problem-flow strong {
    color: var(--text);
}

.problem-flow span {
    color: var(--muted);
}

.problem-flow a {
    color: var(--accent);
}

.app-faq {
    margin: 86px 0;
}

.next-reading {
    margin-top: 86px;
    padding: 38px 0 0;
    border-top: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
}

.next-reading h2 {
    margin: 14px 0 12px;
}

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

.next-links {
    display: grid;
    border-top: 1px solid var(--line);
}

.next-links a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
}

.next-links a span {
    color: var(--brand);
}

.guide-timeline {
    max-width: 900px;
    margin: 70px auto;
    border-left: 1px solid var(--line-strong);
}

.guide-timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 18px;
    padding: 0 0 54px 34px;
}

.guide-timeline article::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 6px var(--bg);
}

.guide-timeline article > span {
    color: var(--copper);
    font-weight: 900;
}

.guide-timeline h2 {
    margin: 0 0 12px;
    font-size: 1.65rem;
}

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

.decision-table {
    margin: 86px 0;
}

.decision-table .section-heading {
    display: block;
}

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

.decision-rows > div {
    display: grid;
    grid-template-columns: 1fr 1.5fr .8fr;
    gap: 28px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.decision-rows p {
    margin: 0;
    color: var(--muted);
}

.decision-rows a {
    text-align: right;
    color: var(--accent);
    font-weight: 800;
}

.status-box {
    margin: 0 auto 62px;
    padding: 22px 24px;
    border: 1px solid rgba(208, 138, 72, .4);
    border-radius: 16px;
    background: rgba(208, 138, 72, .08);
}

.status-box strong {
    display: block;
    margin-bottom: 6px;
    color: #f0b678;
}

.status-box p {
    margin: 0;
    color: #c8c1bb;
}

.submission-rules {
    margin: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.submission-rules article {
    min-height: 270px;
    padding: 32px;
    background: var(--panel);
}

.submission-rules article > span {
    color: var(--brand);
    font-weight: 900;
}

.submission-rules h2 {
    margin: 32px 0 14px;
    font-size: 1.45rem;
}

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

.faq-full {
    margin: 70px 0;
    border-top: 1px solid var(--line-strong);
}

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

.faq-full summary {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 24px 44px 24px 0;
    position: relative;
    list-style: none;
    font-weight: 800;
    cursor: pointer;
}

.faq-full summary::-webkit-details-marker {
    display: none;
}

.faq-full summary > span {
    color: var(--brand);
}

.faq-full summary::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 18px;
    color: var(--copper);
    font-size: 1.5rem;
    font-weight: 400;
}

.faq-full details[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 44px 24px 68px;
}

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

.faq-answer a,
.inline-button {
    display: inline-flex;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 800;
    cursor: pointer;
}

.faq-route {
    padding: 42px;
    background: var(--panel);
    border-radius: var(--radius-lg);
}

.faq-route h2 {
    margin-bottom: 12px;
}

.faq-route p {
    max-width: 700px;
    color: var(--muted);
}

.faq-route > div {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.principle-grid {
    margin: 78px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.principle-grid article {
    min-height: 190px;
    padding: 28px;
    background: var(--panel);
}

.principle-grid span {
    color: var(--brand);
    font-weight: 900;
}

.principle-grid p {
    margin: 30px 0 0;
    color: #c8c1c3;
}

.about-directory {
    margin-top: 88px;
}

.about-directory h2 {
    margin-bottom: 28px;
}

.about-directory > div {
    border-top: 1px solid var(--line-strong);
}

.about-directory a {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 28px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.about-directory span {
    color: var(--muted);
}

.safety-list {
    margin: 70px 0;
    border-top: 1px solid var(--line-strong);
}

.safety-list article {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.safety-list article > span {
    color: var(--brand);
    font-weight: 900;
}

.safety-list h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.safety-list p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.warning-panel {
    margin: 80px 0;
    padding: 36px;
    border: 1px solid rgba(200, 74, 90, .42);
    border-radius: var(--radius-lg);
    background: rgba(200, 74, 90, .08);
}

.warning-panel h2 {
    font-size: 1.7rem;
}

.warning-panel ul {
    margin: 20px 0 0;
    padding-left: 20px;
    color: #d1c9cb;
}

.warning-panel li + li {
    margin-top: 10px;
}

.privacy-groups,
.contact-types {
    margin: 72px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.privacy-groups article,
.contact-types article {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
}

.privacy-groups h2,
.contact-types h2 {
    font-size: 1.42rem;
}

.privacy-groups p,
.contact-types p {
    margin: 0;
    color: var(--muted);
}

.contact-types article > span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--copper);
    font-size: .78rem;
    font-weight: 800;
}

.search-title {
    margin-bottom: 48px;
}

.search-page-form {
    max-width: 720px;
    margin-top: 30px;
}

.search-page-form label,
.search-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
}

.search-page-form > div,
.search-form-row {
    display: flex;
    gap: 8px;
}

.search-page-form input,
.search-form input {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 0 18px;
    outline: none;
    background: var(--deep);
    color: var(--text);
}

.search-page-form input:focus,
.search-form input:focus {
    border-color: var(--copper);
    box-shadow: 0 0 0 3px rgba(208, 138, 72, .12);
}

.search-page-form button,
.search-form button {
    flex: 0 0 auto;
    min-width: 92px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #17120b;
    font-weight: 900;
    cursor: pointer;
}

.empty-search,
.no-results {
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--panel);
}

.empty-search h2,
.no-results h2 {
    font-size: 1.55rem;
}

.empty-search > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.empty-search a {
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
}

.empty-search a:hover {
    border-color: var(--copper);
    color: var(--text);
}

.no-results > span {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(200, 74, 90, .15);
    color: var(--brand);
    font-size: 1.5rem;
}

.no-results p {
    max-width: 620px;
    color: var(--muted);
}

.no-results .button {
    margin-top: 14px;
}

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

.results-meta {
    padding: 14px 0;
    color: var(--muted);
    font-size: .82rem;
}

.search-results article {
    padding: 26px 0;
    border-top: 1px solid var(--line);
}

.search-results article > span {
    color: var(--copper);
    font-size: .76rem;
    font-weight: 800;
}

.search-results h2 {
    margin: 8px 0 10px;
    font-size: 1.5rem;
}

.search-results h2 a:hover {
    color: var(--accent);
}

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

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row em {
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #bdb6b8;
    font-size: .75rem;
    font-style: normal;
}

.not-found {
    width: min(calc(100% - 48px), 780px);
    margin: 0 auto;
    min-height: calc(100vh - 420px);
    padding: 110px 0;
    text-align: center;
}

.error-code {
    display: block;
    margin-bottom: 14px;
    color: var(--brand);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.08em;
}

.not-found h1 {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
}

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

.not-found-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.not-found-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 36px;
    color: var(--muted);
    font-size: .88rem;
}

.not-found-links button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.not-found-links a:hover,
.not-found-links button:hover {
    color: var(--text);
}

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

.footer-inner {
    width: min(calc(100% - 48px), var(--content));
    margin: 0 auto;
    padding: 66px 0 52px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
}

.footer-lead {
    padding-right: 30px;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 1.45rem;
    font-weight: 900;
}

.footer-lead p {
    max-width: 390px;
    color: var(--muted);
    font-size: .88rem;
}

.footer-group {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-group h2 {
    margin-bottom: 8px;
    color: #8f898c;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-group a,
.footer-search-button {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: #c9c3c5;
    font-size: .86rem;
    cursor: pointer;
}

.footer-group a:hover,
.footer-search-button:hover {
    color: #fff;
}

.footer-bottom {
    width: min(calc(100% - 48px), var(--content));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #777174;
    font-size: .76rem;
}

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

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

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

.search-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 650px);
    padding: 38px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.search-panel h2 {
    margin: 12px 0;
    font-size: 2rem;
}

.search-panel > p {
    color: var(--muted);
}

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

.search-close:hover {
    color: #fff;
}

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

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.search-suggestions a {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: .78rem;
}

.search-suggestions a:hover {
    border-color: var(--copper);
    color: var(--text);
}

.back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 70;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(34, 34, 38, .92);
    color: var(--text);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .18s ease, transform .18s ease;
    cursor: pointer;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 1200px) {
    :root {
        --content: 1060px;
    }

    .header-inner {
        gap: 18px;
    }

    .nav-link {
        padding-right: 8px;
        padding-left: 8px;
        font-size: .84rem;
    }

    .hero-shell {
        grid-template-columns: 1.08fr .92fr;
        gap: 44px;
    }

    .guide-band {
        grid-template-columns: minmax(0, 1fr) 340px;
    }
}

@media (max-width: 1024px) {
    :root {
        --header-h: 70px;
    }

    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .brand-copy small {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
        justify-self: end;
        grid-column: 2;
    }

    .header-search {
        grid-column: 3;
    }

    .primary-nav {
        position: absolute;
        top: var(--header-h);
        right: 24px;
        left: 24px;
        display: none;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #1c1c20;
        box-shadow: var(--shadow);
    }

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

    .nav-link {
        padding: 12px;
    }

    .nav-link.is-active::after {
        display: none;
    }

    .hero-shell,
    .split-intro,
    .guide-intro,
    .safety-intro {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        width: min(100%, 720px);
    }

    .brand-path,
    .app-secondary,
    .mobile-reading {
        gap: 44px;
    }

    .relation-grid {
        grid-template-columns: 1fr;
    }

    .relation-grid article {
        min-height: 220px;
    }

    .relation-grid h3 {
        margin-top: 26px;
    }

    .guide-band {
        grid-template-columns: 1fr;
    }

    .guide-band img {
        max-width: 520px;
    }

    .section-heading,
    .next-reading,
    .editorial-directory {
        grid-template-columns: 1fr;
    }

    .principle-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-group:last-child {
        grid-column: 2 / 4;
        grid-template-columns: repeat(4, auto);
        align-items: center;
        justify-content: start;
    }

    .footer-group:last-child h2 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .header-inner,
    .hero-shell,
    .access-brief,
    .brand-path,
    .app-secondary,
    .mobile-reading,
    .relation-map,
    .submission-light,
    .faq-preview,
    .identity-note,
    .site-boundary,
    .editorial-directory,
    .page-shell,
    .footer-inner,
    .footer-bottom {
        width: min(calc(100% - 32px), var(--content));
    }

    .header-inner {
        grid-template-columns: auto auto;
    }

    .header-search {
        width: 42px;
        height: 42px;
        grid-column: auto;
        justify-content: center;
        padding: 0;
        border-radius: 10px;
    }

    .header-search span:last-child {
        display: none;
    }

    .menu-toggle {
        grid-column: auto;
        order: 3;
    }

    .primary-nav {
        right: 16px;
        left: 16px;
    }

    .hero-editorial {
        padding-top: 56px;
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 14vw, 5rem);
    }

    .brand-path,
    .app-secondary,
    .mobile-reading,
    .submission-light,
    .identity-card,
    .media-prose,
    .media-prose.reverse {
        grid-template-columns: 1fr;
    }

    .media-prose.reverse figure {
        order: 0;
    }

    .brand-path,
    .app-secondary {
        gap: 32px;
    }

    .mobile-reading {
        padding: 28px;
    }

    .relation-map,
    .access-brief,
    .faq-preview,
    .site-boundary,
    .editorial-directory {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .guide-band {
        padding: 54px 24px;
    }

    .submission-light {
        gap: 26px;
    }

    .faq-preview-head {
        display: block;
    }

    .faq-preview-head .text-link {
        margin-top: 14px;
    }

    .identity-card {
        gap: 30px;
        padding: 28px;
    }

    .boundary-columns,
    .two-track,
    .submission-rules,
    .privacy-groups,
    .contact-types {
        grid-template-columns: 1fr;
    }

    .directory-list a,
    .about-directory a {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .page-intro {
        margin-bottom: 54px;
    }

    .split-intro,
    .guide-intro,
    .safety-intro {
        gap: 34px;
        padding-top: 20px;
    }

    .media-prose {
        gap: 32px;
    }

    .problem-flow {
        padding: 28px;
    }

    .problem-flow li,
    .decision-rows > div {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .decision-rows a {
        text-align: left;
        margin-top: 6px;
    }

    .principle-grid {
        grid-template-columns: 1fr;
    }

    .faq-full summary {
        grid-template-columns: 42px 1fr;
    }

    .faq-answer {
        padding-left: 56px;
    }

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

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

    .footer-group:last-child {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .footer-group:last-child h2 {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .brand-copy strong {
        font-size: .95rem;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .hero-editorial {
        padding-top: 42px;
    }

    .hero-shell {
        gap: 36px;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .brief-row {
        grid-template-columns: 52px 1fr;
    }

    .relation-grid article {
        padding: 26px;
    }

    .submission-light {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .identity-card {
        padding: 22px;
    }

    .boundary-columns > div {
        padding: 26px;
    }

    .guide-timeline article {
        grid-template-columns: 1fr;
        gap: 7px;
        padding-left: 26px;
    }

    .status-box {
        padding: 18px;
    }

    .submission-rules article {
        min-height: 0;
        padding: 26px;
    }

    .faq-route,
    .warning-panel,
    .empty-search,
    .no-results {
        padding: 26px;
    }

    .faq-full summary {
        padding-right: 38px;
        grid-template-columns: 36px 1fr;
    }

    .faq-answer {
        padding-right: 0;
        padding-left: 50px;
    }

    .search-page-form > div,
    .search-form-row {
        flex-direction: column;
    }

    .search-page-form button,
    .search-form button {
        min-height: 46px;
    }

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

    .footer-lead,
    .footer-group:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }

    .search-panel {
        padding: 30px 22px;
    }
}

@media (max-width: 375px) {
    .header-inner,
    .hero-shell,
    .access-brief,
    .brand-path,
    .app-secondary,
    .mobile-reading,
    .relation-map,
    .submission-light,
    .faq-preview,
    .identity-note,
    .site-boundary,
    .editorial-directory,
    .page-shell,
    .footer-inner,
    .footer-bottom {
        width: calc(100% - 24px);
    }

    .brand-lockup {
        gap: 8px;
    }

    .header-search,
    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .hero-copy h1 {
        font-size: 2.6rem;
    }

    .domain-note {
        width: 100%;
    }

    .button {
        width: 100%;
    }

    .mobile-reading {
        padding: 20px;
    }

    .faq-preview-list summary {
        padding-right: 40px;
    }

    .guide-band {
        padding-right: 16px;
        padding-left: 16px;
    }

    .page-intro h1 {
        font-size: 2.55rem;
    }

    .not-found-actions .button {
        width: 100%;
    }
}

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