:root {
    --brand: #B93A4A;
    --brand-soft: #D9828D;
    --ink: #2B2528;
    --text: #332D2F;
    --muted: #756B6E;
    --paper: #FFF9F7;
    --paper-alt: #F6ECEB;
    --accent: #E45B4F;
    --line: #E8D9D8;
    --white: #FFFFFF;
    --shadow: 0 18px 45px rgba(74, 40, 45, .08);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    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: .2em;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(2.35rem, 6vw, 5.5rem);
    margin-bottom: 1.2rem;
}

h2 {
    font-size: clamp(1.75rem, 3.6vw, 3.2rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin-bottom: .65rem;
}

p {
    margin-bottom: 1rem;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: .75rem;
    z-index: 999;
    padding: .7rem 1rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    transform: translateY(-180%);
    transition: transform .2s ease;
}

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

.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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(185, 58, 74, .11);
    background: rgba(255, 249, 247, .96);
    backdrop-filter: blur(16px);
}

.header-shell {
    width: min(var(--max), calc(100% - 32px));
    min-height: 78px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    min-width: 180px;
}

.brand-lockup img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
}

.brand-lockup strong {
    font-size: 1.05rem;
    letter-spacing: .06em;
}

.brand-lockup small {
    color: var(--muted);
    font-size: .72rem;
    margin-top: .08rem;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    font-size: .92rem;
}

.primary-nav a {
    padding: .55rem .7rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--brand);
    background: var(--paper-alt);
}

.search-button,
.button,
.search-control button {
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: var(--white);
    padding: .78rem 1.15rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.search-button:hover,
.button:hover,
.search-control button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(185, 58, 74, .2);
    background: #A83242;
    color: var(--white);
}

.button.secondary {
    background: var(--ink);
}

.button.ghost {
    background: transparent;
    color: var(--brand);
    border: 1px solid rgba(185, 58, 74, .28);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    padding: 10px;
}

.menu-button span:not(.sr-only) {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 4px 0;
}

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

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 37, 40, .56);
    backdrop-filter: blur(5px);
}

.search-panel {
    position: relative;
    z-index: 2;
    width: min(680px, 100%);
    border-radius: var(--radius-lg);
    background: var(--paper);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 30px 90px rgba(43, 37, 40, .3);
}

.search-panel h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.modal-close {
    position: absolute;
    right: 1.2rem;
    top: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1;
}

.search-form label {
    display: block;
    font-weight: 700;
    margin-bottom: .5rem;
}

.search-control {
    display: flex;
    gap: .6rem;
}

.search-control input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    padding: .85rem 1rem;
    color: var(--text);
    outline: none;
}

.search-control input:focus {
    border-color: var(--brand-soft);
    box-shadow: 0 0 0 4px rgba(217, 130, 141, .14);
}

.search-help {
    color: var(--muted);
    font-size: .9rem;
    margin: 1rem 0 0;
}

.page-shell,
.section-shell,
.breadcrumbs,
.hero-shell,
.footer-grid,
.footer-bottom {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
}

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 88% 10%, rgba(217, 130, 141, .18), transparent 34%),
        linear-gradient(180deg, #FFF9F7 0%, #FBF1EF 100%);
}

.hero-shell {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .85fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: center;
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

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

.hero-lead,
.page-intro {
    color: var(--muted);
    font-size: clamp(1.05rem, 1.9vw, 1.24rem);
    max-width: 760px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.8rem;
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 82%;
    height: 78%;
    right: -8%;
    bottom: -8%;
    border-radius: 40% 58% 44% 62%;
    background: rgba(185, 58, 74, .09);
    transform: rotate(-6deg);
}

.hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 42px 42px 120px 42px;
    box-shadow: var(--shadow);
}

.hero-note {
    position: absolute;
    z-index: 3;
    left: -2rem;
    bottom: 2.2rem;
    width: min(300px, 76%);
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(185, 58, 74, .12);
    box-shadow: var(--shadow);
}

.hero-note strong {
    display: block;
    color: var(--ink);
}

.hero-note span {
    color: var(--muted);
    font-size: .88rem;
}

.breadcrumbs {
    padding: 1.2rem 0 .2rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: .55rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: .55rem;
    color: #B9A9AB;
}

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

.page-hero {
    padding: clamp(3.3rem, 8vw, 6.6rem) 0 clamp(2.8rem, 7vw, 5rem);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.9rem);
    max-width: 940px;
}

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

.section {
    padding: clamp(3.7rem, 8vw, 7rem) 0;
}

.section.compact {
    padding: clamp(2.7rem, 6vw, 4.7rem) 0;
}

.section.alt {
    background: var(--paper-alt);
    border-top: 1px solid rgba(185, 58, 74, .08);
    border-bottom: 1px solid rgba(185, 58, 74, .08);
}

.section.dark {
    background: var(--ink);
    color: #F5EAEB;
}

.section.dark h2,
.section.dark h3 {
    color: var(--white);
}

.section.dark .eyebrow {
    color: #F3ABB2;
}

.section.dark p,
.section.dark .muted {
    color: #D6C8CB;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2.2rem;
}

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

.section-heading.centered {
    display: block;
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 2.6rem;
}

.section-heading.centered p {
    margin-inline: auto;
}

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

.card {
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .72);
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -45px;
    bottom: -45px;
    border-radius: 50%;
    background: rgba(185, 58, 74, .06);
}

.card h3 {
    font-size: 1.32rem;
}

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

.card-link {
    margin-top: auto;
    font-weight: 800;
    color: var(--brand);
    text-decoration: none;
}

.card-link::after {
    content: " →";
}

.editorial-band {
    display: grid;
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.editorial-visual {
    position: sticky;
    top: 110px;
}

.editorial-visual img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

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

.editorial-item {
    padding: 1.5rem 0 1.6rem;
    border-bottom: 1px solid var(--line);
}

.editorial-item h3 a {
    text-decoration: none;
}

.editorial-item p {
    color: var(--muted);
    margin-bottom: .5rem;
}

.item-meta {
    font-size: .84rem;
    color: #998D90 !important;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 5vw, 4.5rem);
    align-items: center;
}

.split.reverse .split-visual {
    order: 2;
}

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

.check-list,
.numbered-list,
.topic-list,
.policy-list {
    display: grid;
    gap: .85rem;
    margin: 1.4rem 0 0;
}

.check-item,
.numbered-item,
.topic-row,
.policy-item {
    padding: 1.15rem 1.2rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--white);
}

.check-item strong,
.numbered-item strong,
.topic-row strong,
.policy-item strong {
    display: block;
    color: var(--ink);
    margin-bottom: .25rem;
}

.check-item p,
.numbered-item p,
.topic-row p,
.policy-item p {
    color: var(--muted);
    margin: 0;
}

.numbered-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
}

.numbered-item .num {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--paper-alt);
    color: var(--brand);
    font-weight: 900;
}

.callout {
    border-left: 4px solid var(--brand);
    border-radius: 0 16px 16px 0;
    background: #FFF1EF;
    padding: 1.2rem 1.4rem;
    margin: 1.6rem 0;
}

.callout strong {
    color: var(--ink);
}

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

.callout.dark-callout {
    border-left-color: var(--accent);
    background: #3B3236;
}

.stateless-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.stateless-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

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

.stateless-table th {
    color: var(--ink);
    background: #FBF3F2;
    font-size: .9rem;
}

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

.stateless-table tr:last-child td {
    border-bottom: 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1rem;
}

.tag {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 999px;
    padding: .4rem .75rem;
    color: var(--muted);
    font-size: .88rem;
}

.mini-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.25rem;
}

.mini-nav a {
    text-decoration: none;
    border-bottom: 1px solid rgba(185, 58, 74, .25);
    color: var(--brand);
    font-weight: 700;
}

.faq-list {
    display: grid;
    gap: .75rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    padding: 1.15rem 1.25rem;
    text-align: left;
    font-weight: 800;
}

.faq-question::after {
    content: "+";
    color: var(--brand);
    font-size: 1.35rem;
}

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

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--muted);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.text-measure {
    max-width: 830px;
}

.prose {
    font-size: 1.02rem;
}

.prose h2 {
    margin-top: 2.8rem;
}

.prose h3 {
    margin-top: 2rem;
}

.prose p,
.prose li {
    color: #554D50;
}

.prose ul,
.prose ol {
    padding-left: 1.3rem;
}

.prose li {
    margin-bottom: .55rem;
}

.prose a {
    color: var(--brand);
}

.inline-index {
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius-md);
    background: var(--paper-alt);
    border: 1px solid var(--line);
    margin: 1.6rem 0 2rem;
}

.inline-index strong {
    display: block;
    margin-bottom: .55rem;
}

.inline-index a {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: .35rem;
}

.search-results {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.search-result {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.search-result h2 {
    font-size: 1.35rem;
    margin-bottom: .55rem;
}

.search-result h2 a {
    text-decoration: none;
}

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

.empty-state {
    padding: 2rem;
    border: 1px dashed var(--brand-soft);
    border-radius: var(--radius-md);
    background: #FFF4F2;
}

.empty-state h2 {
    font-size: 1.5rem;
}

.topic-matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
}

.topic-matrix article {
    padding: 1.5rem;
    border-right: 1px solid var(--line);
}

.topic-matrix article:last-child {
    border-right: 0;
}

.topic-matrix h3 {
    font-size: 1.2rem;
}

.topic-matrix p {
    color: var(--muted);
    font-size: .95rem;
}

.topic-matrix a {
    color: var(--brand);
    font-weight: 800;
}

.quote-panel {
    position: relative;
    padding: clamp(1.5rem, 4vw, 2.8rem);
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #F3E8EA;
}

.quote-panel::before {
    content: "“";
    position: absolute;
    top: -.25rem;
    right: 1.5rem;
    font-size: 8rem;
    line-height: 1;
    color: rgba(255, 255, 255, .07);
}

.quote-panel h2,
.quote-panel h3 {
    color: var(--white);
}

.quote-panel p {
    color: #D6C8CB;
}

.cta-band {
    padding: clamp(1.5rem, 4vw, 2.4rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #A93445 0%, #C24E5D 100%);
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.cta-band h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: .35rem;
}

.cta-band p {
    color: #FFE9EB;
    margin: 0;
}

.cta-band .button {
    background: var(--white);
    color: var(--brand);
}

.notice-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #FFFDFB;
}

.notice-strip .section-shell {
    padding: 1.05rem 0;
    display: flex;
    gap: .75rem;
    align-items: baseline;
}

.notice-strip strong {
    color: var(--brand);
}

.notice-strip p {
    color: var(--muted);
    margin: 0;
}

.site-footer {
    margin-top: clamp(3rem, 8vw, 7rem);
    background: var(--ink);
    color: #D5C8CB;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 0 3rem;
}

.footer-grid h2 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-grid section > a:not(.footer-brand) {
    display: block;
    color: #D5C8CB;
    text-decoration: none;
    margin: .45rem 0;
    font-size: .92rem;
}

.footer-grid section > a:hover {
    color: #FFFFFF;
}

.footer-brand {
    display: inline-block;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    margin-bottom: .8rem;
}

.footer-grid p {
    max-width: 430px;
    font-size: .92rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.25rem 0 1.6rem;
    font-size: .82rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #F1DADD;
    white-space: nowrap;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s ease, transform .55s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

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

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .header-shell {
        grid-template-columns: auto auto 1fr auto;
    }

    .menu-button {
        display: block;
        order: 2;
    }

    .primary-nav {
        position: absolute;
        top: 78px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .2rem;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: .6rem;
        box-shadow: var(--shadow);
    }

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

    .primary-nav a {
        padding: .7rem .85rem;
    }

    .search-button {
        justify-self: end;
    }

    .hero-shell {
        min-height: auto;
        grid-template-columns: 1fr .72fr;
        gap: 3rem;
    }

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

    .footer-grid section:last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 900px) {
    .hero-shell,
    .page-hero-grid,
    .editorial-band,
    .split,
    .section-heading {
        grid-template-columns: 1fr;
    }

    .hero-shell {
        padding-top: 4.5rem;
    }

    .hero-visual {
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-visual img {
        aspect-ratio: 16 / 10;
        border-radius: 30px 30px 70px 30px;
    }

    .hero-note {
        left: 1rem;
    }

    .page-hero-visual {
        max-width: 620px;
    }

    .editorial-visual {
        position: static;
    }

    .editorial-visual img {
        aspect-ratio: 16 / 9;
    }

    .card-grid,
    .topic-matrix {
        grid-template-columns: 1fr 1fr;
    }

    .topic-matrix article:nth-child(2) {
        border-right: 0;
    }

    .topic-matrix article:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }

    .split.reverse .split-visual {
        order: 0;
    }

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

@media (max-width: 680px) {
    .header-shell,
    .page-shell,
    .section-shell,
    .breadcrumbs,
    .hero-shell,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 24px, var(--max));
    }

    .header-shell {
        grid-template-columns: auto auto auto;
        min-height: 70px;
        gap: .7rem;
    }

    .brand-lockup {
        min-width: 0;
    }

    .brand-lockup img {
        width: 38px;
        height: 38px;
    }

    .brand-lockup small {
        display: none;
    }

    .primary-nav {
        top: 70px;
        left: 12px;
        right: 12px;
    }

    .search-button {
        padding: .68rem .9rem;
        font-size: .84rem;
    }

    .hero-shell {
        padding: 3.5rem 0 4rem;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .hero-note {
        position: relative;
        left: auto;
        bottom: auto;
        width: calc(100% - 1.25rem);
        margin: -2rem auto 0;
    }

    .card-grid,
    .topic-matrix {
        grid-template-columns: 1fr;
    }

    .topic-matrix article,
    .topic-matrix article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .topic-matrix article:last-child {
        border-bottom: 0;
    }

    .numbered-item {
        grid-template-columns: 40px 1fr;
    }

    .numbered-item .num {
        width: 40px;
        height: 40px;
    }

    .search-control {
        flex-direction: column;
    }

    .search-control button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        padding-top: 3rem;
    }

    .footer-grid section:first-child,
    .footer-grid section:last-child {
        grid-column: 1 / -1;
    }

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

@media (max-width: 430px) {
    h1 {
        font-size: 2.45rem;
    }

    .brand-lockup strong {
        font-size: .95rem;
    }

    .search-button {
        padding: .6rem .72rem;
    }

    .menu-button {
        width: 40px;
        height: 40px;
    }

    .page-hero {
        padding-top: 2.6rem;
    }

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

    .footer-grid section,
    .footer-grid section:first-child,
    .footer-grid section:last-child {
        grid-column: 1;
    }
}
