:root {
    --brand: #C84A5A;
    --brand-strong: #E15B6C;
    --copper: #D08A48;
    --amber: #E59A3A;
    --ink: #121214;
    --bg: #17171A;
    --panel: #222226;
    --panel-soft: #29292E;
    --panel-deep: #1C1C20;
    --text: #F1EEEE;
    --muted: #A9A3A6;
    --line: #37373D;
    --line-soft: rgba(255, 255, 255, .08);
    --success: #8DB89A;
    --warning: #D9A561;
    --danger: #D36B77;
    --shadow: 0 18px 46px rgba(0, 0, 0, .22);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shell: min(1180px, calc(100% - 48px));
    --reading: min(780px, calc(100% - 48px));
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 92% 4%, rgba(200, 74, 90, .10), transparent 28rem),
        radial-gradient(circle at 8% 36%, rgba(208, 138, 72, .06), transparent 26rem),
        var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    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: 1px;
    text-underline-offset: 4px;
}

a:hover {
    color: #fff;
}

button,
input,
textarea {
    font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(229, 154, 58, .78);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.24;
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(2.25rem, 6vw, 5.35rem);
}

h2 {
    font-size: clamp(1.65rem, 3.1vw, 2.75rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
}

p:last-child {
    margin-bottom: 0;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.reading-shell {
    width: var(--reading);
    margin-inline: auto;
}

.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: 9999;
    padding: 10px 14px;
    border-radius: 8px;
    color: #111;
    background: #fff;
    transform: translateY(-180%);
    transition: transform .2s ease;
}

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

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

.site-header__inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 26px;
    align-items: center;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--panel);
}

.brand-mark__text {
    display: grid;
    line-height: 1.2;
}

.brand-mark__text strong {
    font-size: 1.08rem;
    letter-spacing: .04em;
}

.brand-mark__text small {
    margin-top: 5px;
    color: var(--muted);
    font-size: .74rem;
}

.primary-nav {
    justify-self: center;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #cfcacc;
    font-size: .92rem;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: #fff;
    background: rgba(255,255,255,.06);
}

.primary-nav a[aria-current="page"] {
    box-shadow: inset 0 -2px var(--brand);
}

.search-open,
.nav-toggle {
    appearance: none;
    border: 1px solid var(--line);
    color: var(--text);
    background: var(--panel);
    cursor: pointer;
}

.search-open {
    padding: 10px 15px;
    border-radius: 10px;
}

.search-open:hover {
    border-color: #595960;
    background: var(--panel-soft);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 42px;
    padding: 9px;
    border-radius: 10px;
}

.nav-toggle__line {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: currentColor;
}

.site-main {
    min-height: 65vh;
}

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

.hero-home {
    position: relative;
    overflow: hidden;
    padding: 72px 0 48px;
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(200,74,90,.05), transparent 58%);
}

.hero-home__layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
    gap: 56px;
    align-items: end;
}

.hero-home__copy {
    max-width: 760px;
}

.hero-home h1 {
    margin-bottom: 24px;
    max-width: 820px;
}

.hero-home h1 span {
    color: var(--brand-strong);
}

.hero-home__lead {
    max-width: 690px;
    color: #c9c4c6;
    font-size: clamp(1.05rem, 2vw, 1.26rem);
}

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

.button,
.button-secondary {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border-radius: 11px;
    font-weight: 700;
    text-decoration: none;
}

.button {
    color: #17120d;
    background: var(--amber);
}

.button:hover {
    color: #0d0b09;
    background: #f0ac59;
}

.button-secondary {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
}

.button-secondary:hover {
    border-color: #5f5f66;
    background: rgba(255,255,255,.07);
}

.hero-home__status {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(34,34,38,.96), rgba(27,27,30,.96));
    box-shadow: var(--shadow);
}

.status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.status-head strong {
    font-size: 1.05rem;
}

.status-pill {
    padding: 4px 9px;
    border-radius: 999px;
    color: #e8cfa5;
    background: rgba(208, 138, 72, .12);
    border: 1px solid rgba(208, 138, 72, .22);
    font-size: .74rem;
}

.domain-display {
    padding: 15px 16px;
    margin-bottom: 18px;
    border-radius: 12px;
    color: #f6e8e9;
    background: rgba(200, 74, 90, .09);
    border: 1px solid rgba(200, 74, 90, .22);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    word-break: break-all;
}

.hero-checks {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: #c2bdc0;
    font-size: .92rem;
}

.hero-checks li {
    position: relative;
    padding-left: 22px;
}

.hero-checks li::before {
    content: "";
    position: absolute;
    top: .67em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--copper);
}

.intent-strip {
    padding: 20px 0 66px;
}

.intent-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--line);
}

.intent-card {
    min-height: 220px;
    padding: 28px;
    background: var(--panel-deep);
}

.intent-card:first-child {
    background: linear-gradient(145deg, rgba(200,74,90,.12), var(--panel-deep) 58%);
}

.intent-card h2,
.intent-card h3 {
    margin-bottom: 12px;
}

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

.intent-card__link {
    display: inline-block;
    margin-top: 8px;
    color: #f2c988;
    font-weight: 700;
}

.section {
    padding: 76px 0;
}

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

.section--panel {
    background: rgba(18,18,20,.58);
    border-block: 1px solid var(--line-soft);
}

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

.section-head h2 {
    margin-bottom: 0;
    max-width: 720px;
}

.section-head p {
    margin-bottom: 2px;
    color: var(--muted);
}

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

.editorial-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 220px;
    gap: 36px;
    align-items: start;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.editorial-row__index {
    color: var(--brand-strong);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.editorial-row h3 {
    margin-bottom: 10px;
}

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

.editorial-row a {
    justify-self: end;
    color: #efc17c;
    font-weight: 700;
}

.feature-split {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 44px;
    align-items: center;
}

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

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

.feature-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(transparent, rgba(18,18,20,.68));
}

.feature-copy {
    max-width: 680px;
}

.feature-copy p {
    color: #c1bcbe;
}

.mini-index {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
}

.mini-index a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.mini-index span:first-child {
    color: var(--copper);
    font-size: .78rem;
    font-weight: 800;
}

.mini-index strong {
    font-size: .98rem;
}

.mini-index em {
    color: var(--muted);
    font-style: normal;
}

.notice-band {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 42px;
    padding: 34px;
    border: 1px solid rgba(229,154,58,.18);
    border-radius: var(--radius-lg);
    background: rgba(229,154,58,.055);
}

.notice-band h2 {
    margin-bottom: 10px;
}

.notice-band p,
.notice-band li {
    color: #c8c1b6;
}

.notice-band ul {
    margin: 0;
    padding-left: 1.2em;
}

.page-hero {
    padding: 66px 0 34px;
}

.page-hero__inner {
    max-width: 900px;
}

.page-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(2.25rem, 5vw, 4.35rem);
}

.page-hero__lead {
    max-width: 770px;
    color: #c4bfc1;
    font-size: 1.08rem;
}

.page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 24px;
    color: var(--muted);
    font-size: .88rem;
}

.breadcrumbs {
    width: var(--shell);
    margin: 22px auto 0;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: .84rem;
}

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

.breadcrumbs a {
    color: #c8c1c4;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
    align-items: start;
    padding-bottom: 84px;
}

.content-main {
    min-width: 0;
}

.content-aside {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 16px;
}

.aside-box {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(34,34,38,.7);
}

.aside-box h2,
.aside-box h3 {
    margin-bottom: 12px;
    font-size: 1.06rem;
}

.aside-box p,
.aside-box li {
    color: var(--muted);
    font-size: .9rem;
}

.aside-box ul {
    margin: 0;
    padding-left: 1.2em;
}

.aside-box a {
    color: #e3bd83;
}

.prose {
    color: #d6d1d3;
}

.prose > * + * {
    margin-top: 1.2em;
}

.prose h2 {
    margin-top: 2.25em;
    margin-bottom: .75em;
    padding-top: .2em;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.prose h3 {
    margin-top: 1.75em;
    color: #f1e8e9;
}

.prose p {
    max-width: 760px;
}

.prose ul,
.prose ol {
    padding-left: 1.35em;
}

.prose li + li {
    margin-top: .58em;
}

.prose strong {
    color: #fff;
}

.prose-note {
    padding: 22px 24px;
    border-left: 3px solid var(--copper);
    border-radius: 0 12px 12px 0;
    background: rgba(208,138,72,.07);
    color: #d8cec2;
}

.prose-image {
    overflow: hidden;
    margin: 32px 0;
    border-radius: var(--radius-lg);
    background: var(--panel);
}

.prose-image img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
}

.steps {
    display: grid;
    gap: 1px;
    margin: 28px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--line);
}

.step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 22px;
    padding: 25px;
    background: var(--panel-deep);
}

.step__number {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    color: #19120a;
    background: var(--amber);
    font-weight: 900;
}

.step h3 {
    margin-bottom: 7px;
}

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

.check-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

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

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 14px;
    color: var(--copper);
    font-weight: 900;
}

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

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

.article-row__meta {
    display: flex;
    gap: 14px;
    margin-bottom: 11px;
    color: var(--muted);
    font-size: .76rem;
}

.article-row__meta span:first-child {
    color: var(--copper);
    font-weight: 800;
}

.article-row h3 {
    margin-bottom: 11px;
}

.article-row h3 a {
    text-decoration: none;
}

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

.text-link {
    color: #e8bb78;
    font-weight: 700;
}

.resource-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 34px;
}

.resource-note {
    padding: 20px;
    border-left: 2px solid var(--brand);
    background: rgba(200,74,90,.055);
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(34,34,38,.72);
}

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

.faq-question::after {
    content: "+";
    color: var(--copper);
    font-size: 1.4rem;
    font-weight: 400;
}

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

.faq-answer {
    padding: 0 20px 20px;
    color: var(--muted);
}

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

.search-page-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin: 24px 0 38px;
}

.search-page-form input,
.search-form input,
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    background: var(--panel);
}

.search-page-form input,
.search-form input {
    min-height: 48px;
    padding: 10px 14px;
}

.search-page-form button,
.search-form button,
.contact-form button {
    min-height: 48px;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    color: #16100b;
    background: var(--amber);
    font-weight: 800;
    cursor: pointer;
}

.search-result {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.search-result__type {
    color: var(--copper);
    font-size: .76rem;
    font-weight: 800;
}

.search-result h2 {
    margin: 6px 0 9px;
    font-size: 1.35rem;
}

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

.empty-state {
    padding: 28px;
    border: 1px dashed #49494f;
    border-radius: var(--radius-md);
    color: var(--muted);
    background: rgba(34,34,38,.35);
}

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

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

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

.search-modal__panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    padding: 30px;
    border: 1px solid #45454b;
    border-radius: 20px;
    background: #1d1d21;
    box-shadow: 0 24px 70px rgba(0,0,0,.48);
}

.search-modal__panel h2 {
    max-width: 560px;
    margin-bottom: 22px;
}

.search-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: var(--panel);
    cursor: pointer;
}

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

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

.search-modal__hint {
    margin-top: 14px;
    color: var(--muted);
    font-size: .82rem;
}

.contact-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #d9d3d5;
    font-weight: 700;
}

.contact-form label span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
}

.contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-form button {
    justify-self: start;
}

.form-note {
    padding: 14px 16px;
    border-radius: 10px;
    color: #d9c6a7;
    background: rgba(229,154,58,.07);
    border: 1px solid rgba(229,154,58,.16);
}

.table-wrap {
    overflow-x: auto;
    margin: 28px 0;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.info-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.info-table th {
    color: #e8d5d7;
    background: rgba(200,74,90,.06);
}

.info-table td {
    color: var(--muted);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.tag {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255,255,255,.025);
    font-size: .78rem;
}

.related-block {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.related-block h2 {
    margin-bottom: 10px;
}

.callout-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.callout {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(34,34,38,.52);
}

.callout h3 {
    margin-bottom: 9px;
}

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

.callout a {
    color: #e4ba7c;
    font-weight: 700;
}

.error-page {
    min-height: 64vh;
    display: grid;
    place-items: center;
    padding: 72px 0;
}

.error-card {
    width: min(780px, 100%);
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--panel-deep);
}

.error-code {
    margin-bottom: 10px;
    color: var(--brand-strong);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
}

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

.site-footer {
    margin-top: 28px;
    padding: 54px 0 20px;
    border-top: 1px solid var(--line);
    background: #131315;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 36px;
}

.footer-brand__head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 17px;
}

.footer-brand img {
    border-radius: 10px;
    background: var(--panel);
}

.footer-brand h2,
.footer-brand__head p {
    margin: 0;
}

.footer-brand__head p,
.footer-brand > p,
.footer-nav a {
    color: var(--muted);
    font-size: .88rem;
}

.footer-nav h2 {
    margin-bottom: 15px;
    font-size: .9rem;
}

.footer-nav ul {
    list-style: none;
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    text-decoration: none;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    color: #777279;
    font-size: .78rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #9f999e;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 800;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: #17110b;
    background: var(--amber);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.back-to-top[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .site-header__inner {
        grid-template-columns: auto auto 1fr auto;
        gap: 14px;
    }

    .nav-toggle {
        display: block;
        grid-column: 3;
        justify-self: end;
    }

    .search-open {
        grid-column: 4;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        width: 100%;
        padding: 12px 24px 18px;
        background: rgba(18,18,20,.98);
        border-bottom: 1px solid var(--line);
    }

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

    .primary-nav ul {
        width: min(100%, 700px);
        margin-inline: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .primary-nav a {
        text-align: center;
    }

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

    .hero-home__status {
        max-width: 700px;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 36px;
    }

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

    .footer-nav:last-child {
        grid-column: 2 / span 2;
    }
}

@media (max-width: 900px) {
    :root {
        --shell: min(100% - 36px, 1180px);
        --reading: min(100% - 36px, 780px);
    }

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

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

    .intent-card {
        min-height: auto;
    }

    .section-head,
    .resource-intro,
    .feature-split,
    .notice-band {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .feature-media img {
        min-height: 320px;
    }

    .editorial-row {
        grid-template-columns: 110px 1fr;
        gap: 18px 26px;
    }

    .editorial-row a {
        grid-column: 2;
        justify-self: start;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .content-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 700px) {
    :root {
        --shell: calc(100% - 28px);
        --reading: calc(100% - 28px);
    }

    body {
        font-size: 15px;
    }

    .site-header__inner {
        min-height: 68px;
        grid-template-columns: auto 1fr auto;
    }

    .brand-mark__text small {
        display: none;
    }

    .nav-toggle {
        grid-column: 2;
    }

    .search-open {
        grid-column: 3;
        padding-inline: 11px;
        font-size: .84rem;
    }

    .primary-nav ul {
        grid-template-columns: 1fr 1fr;
    }

    .hero-home__layout {
        gap: 34px;
    }

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

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

    .section {
        padding: 56px 0;
    }

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

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

    .editorial-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px 0;
    }

    .editorial-row a {
        grid-column: 1;
    }

    .content-aside {
        grid-template-columns: 1fr;
    }

    .step {
        grid-template-columns: 48px 1fr;
        gap: 14px;
        padding: 20px;
    }

    .step__number {
        width: 42px;
        height: 42px;
    }

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

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

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

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

    .footer-bottom {
        flex-direction: column;
    }

    .search-form__row,
    .search-page-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .brand-mark img {
        width: 38px;
        height: 38px;
    }

    .brand-mark__text strong {
        font-size: 1rem;
    }

    .site-header__inner {
        gap: 8px;
    }

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

    .search-open::before {
        content: "⌕";
        font-size: 1.25rem;
    }

    .primary-nav {
        padding-inline: 14px;
    }

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

    .hero-home__status,
    .notice-band,
    .search-modal__panel,
    .error-card {
        padding: 22px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

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

    .footer-brand,
    .footer-nav:last-child {
        grid-column: auto;
    }
}

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