/* AA Poker 下载知识库
   象牙白 / 午夜蓝 / 荧光青 / 莓紫
   搜索式知识库、分类筛选、专题目录与知识库 Footer
*/

:root {
    --ivory: #f7f4ea;
    --ivory-2: #e9e3d4;
    --paper: #fffef9;
    --midnight: #11182d;
    --midnight-2: #19223d;
    --cyan: #3ef0d0;
    --lime: #c9f05a;
    --purple: #8d5cdb;
    --purple-dark: #5c319a;
    --blue: #3c72ff;
    --white: #ffffff;
    --ink: #171d2c;
    --muted: #6e726e;
    --line: rgba(23, 29, 44, 0.15);
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--ivory);
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

img {
    max-width: 100%;
}

.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;
    z-index: 999;
    top: -80px;
    left: 16px;
    padding: 12px 16px;
    color: var(--midnight);
    background: var(--cyan);
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: rgba(17,24,45,.95);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(62,240,208,.28);
    border-radius: 50%;
    background: var(--midnight-2);
    box-shadow: 0 0 0 5px rgba(62,240,208,.07);
}

.brand-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    letter-spacing: .08em;
    font-size: 15px;
}

.brand-copy small {
    color: rgba(255,255,255,.37);
    letter-spacing: .17em;
    font-size: 8px;
}

.desktop-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 34px;
}

.desktop-nav a {
    position: relative;
    padding: 30px 0 26px;
    color: rgba(255,255,255,.57);
    font-size: 13px;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 20px;
    height: 2px;
    background: var(--cyan);
    transition: right .22s ease;
}

.desktop-nav a:hover::after {
    right: 0;
}

.header-cta {
    min-height: 46px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    border-radius: 999px;
    color: var(--midnight);
    background: var(--cyan);
    font-size: 13px;
    font-weight: 800;
}

.header-cta span {
    color: var(--purple-dark);
}

.menu-button,
.mobile-nav {
    display: none;
}

.hero {
    position: relative;
    min-height: 785px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 75% 18%, rgba(141,92,219,.23), transparent 28%),
        radial-gradient(circle at 20% 80%, rgba(62,240,208,.12), transparent 24%),
        var(--midnight);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 64px 64px;
}

.hero-shell {
    position: relative;
    z-index: 3;
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    padding: 70px 0 82px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.4);
    font-size: 11px;
}

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

.hero-title {
    max-width: 930px;
    margin: 70px auto 0;
    text-align: center;
}

.eyebrow {
    margin: 0 0 21px;
    color: var(--purple);
    letter-spacing: .17em;
    font-size: 10px;
    font-weight: 900;
}

.hero .eyebrow {
    color: var(--cyan);
}

.hero h1 {
    margin: 0;
    display: grid;
    font-size: clamp(62px, 7.5vw, 112px);
    line-height: .88;
    letter-spacing: -.075em;
}

.hero h1 span {
    margin-top: 22px;
    color: var(--lime);
    font-size: .48em;
    letter-spacing: -.04em;
}

.hero-title > p:last-child {
    max-width: 760px;
    margin: 34px auto 0;
    color: rgba(255,255,255,.6);
    font-size: 17px;
    line-height: 1.9;
}

.search-panel {
    max-width: 990px;
    margin: 50px auto 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: rgba(25,34,61,.88);
    box-shadow: 0 34px 90px rgba(0,0,0,.28);
    backdrop-filter: blur(12px);
}

.search-bar {
    min-height: 72px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 14px;
    border-radius: 16px;
    color: var(--midnight);
    background: var(--white);
}

.search-icon {
    position: relative;
    width: 24px;
    height: 24px;
    border: 2px solid var(--midnight);
    border-radius: 50%;
}

.search-icon::after {
    content: "";
    position: absolute;
    right: -7px;
    bottom: -4px;
    width: 9px;
    height: 2px;
    background: var(--midnight);
    transform: rotate(45deg);
}

.search-bar input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font-size: 15px;
}

.search-bar input::placeholder {
    color: #9b9d9a;
}

.search-bar button {
    padding: 9px 12px;
    border: 0;
    border-radius: 999px;
    color: var(--midnight);
    background: var(--lime);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.search-suggestions {
    padding: 15px 4px 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-suggestions button {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: rgba(255,255,255,.65);
    background: transparent;
    cursor: pointer;
    font-size: 10px;
}

.search-suggestions button:hover {
    color: var(--midnight);
    background: var(--cyan);
}

.search-summary {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,.1);
}

.search-summary div {
    padding: 20px 16px 4px;
}

.search-summary div + div {
    border-left: 1px solid rgba(255,255,255,.1);
}

.search-summary span,
.search-summary strong {
    display: block;
}

.search-summary span {
    color: rgba(255,255,255,.33);
    font-size: 8px;
}

.search-summary strong {
    margin-top: 7px;
    color: var(--cyan);
    font-size: 17px;
}

.hero-footer {
    max-width: 990px;
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-footer a {
    min-height: 76px;
    padding: 15px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}

.hero-footer a:last-child {
    color: var(--midnight);
    background: var(--lime);
}

.hero-footer span,
.hero-footer strong {
    display: block;
}

.hero-footer span {
    color: rgba(255,255,255,.38);
    font-size: 9px;
}

.hero-footer a:last-child span {
    color: rgba(17,24,45,.55);
}

.hero-footer strong {
    margin-top: 5px;
    font-size: 12px;
}

.hero-footer b {
    grid-column: 2;
    grid-row: 1 / 3;
    color: var(--cyan);
}

.hero-footer a:last-child b {
    color: var(--purple-dark);
}

.knowledge-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.knowledge-visual > span {
    position: absolute;
    right: -40px;
    bottom: -180px;
    color: rgba(255,255,255,.028);
    font-size: 580px;
    line-height: 1;
    font-weight: 900;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.orb-one {
    width: 160px;
    height: 160px;
    left: 5%;
    top: 24%;
    border: 1px solid rgba(62,240,208,.2);
    box-shadow: 0 0 0 38px rgba(62,240,208,.025);
}

.orb-two {
    width: 110px;
    height: 110px;
    right: 8%;
    top: 20%;
    border: 1px solid rgba(141,92,219,.22);
    box-shadow: 0 0 0 30px rgba(141,92,219,.03);
}

.quick-section,
.filter-section,
.faq-section,
.answer-route,
.topics-section {
    padding: 110px 0;
}

.section-heading,
.quick-grid,
.filter-shell,
.faq-header,
.no-results,
.faq-groups,
.answer-route-shell,
.topics-heading,
.topic-directory {
    width: min(calc(100% - 40px), var(--max));
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 52px;
}

.section-heading h2,
.filter-shell h2,
.faq-header h2,
.answer-route-copy h2,
.topics-heading h2,
.final-copy h2 {
    margin: 0;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -.055em;
}

.section-heading > p:last-child,
.answer-route-copy > p,
.topics-heading > p,
.final-copy > p {
    color: var(--muted);
    line-height: 1.9;
}

.section-heading > p:last-child {
    margin-top: 23px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.quick-card {
    position: relative;
    min-height: 380px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.quick-card-blue {
    color: var(--white);
    background: var(--blue);
}

.quick-card-lime {
    color: var(--midnight);
    background: var(--lime);
}

.quick-card-purple {
    color: var(--white);
    background: var(--purple);
}

.quick-card-dark {
    color: var(--white);
    background: var(--midnight);
}

.quick-number {
    position: absolute;
    right: 22px;
    top: 18px;
    opacity: .35;
    font-size: 11px;
    font-weight: 900;
}

.quick-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
}

.quick-card h3 {
    margin: 34px 0 15px;
    font-size: 24px;
    line-height: 1.3;
}

.quick-card p {
    margin: 0;
    opacity: .68;
    line-height: 1.75;
}

.quick-card > a {
    position: absolute;
    left: 28px;
    bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 800;
}

.quick-card > a span {
    color: var(--cyan);
}

.quick-card-lime > a span {
    color: var(--purple-dark);
}

.filter-section {
    padding-top: 65px;
    padding-bottom: 65px;
    color: var(--white);
    background: var(--midnight);
}

.filter-shell {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: center;
}

.filter-shell .eyebrow {
    color: var(--cyan);
}

.filter-shell h2 {
    font-size: 44px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.filter-button {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: rgba(255,255,255,.63);
    background: transparent;
    cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover {
    color: var(--midnight);
    background: var(--cyan);
    font-weight: 800;
}

.faq-section {
    background: var(--paper);
}

.faq-header {
    margin-bottom: 54px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.result-counter {
    min-width: 145px;
    padding: 17px;
    border: 1px solid var(--line);
    text-align: center;
}

.result-counter span,
.result-counter strong,
.result-counter small {
    display: block;
}

.result-counter span,
.result-counter small {
    color: var(--muted);
    font-size: 8px;
}

.result-counter strong {
    margin: 6px 0 4px;
    color: var(--purple);
    font-size: 34px;
}

.no-results {
    min-height: 120px;
    margin-bottom: 45px;
    padding: 24px;
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--line);
    background: var(--ivory);
}

.no-results > span {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--purple);
    font-size: 24px;
    font-weight: 900;
}

.no-results strong {
    display: block;
    margin-bottom: 7px;
}

.no-results p {
    margin: 0;
    color: var(--muted);
}

.no-results button {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: var(--midnight);
    background: var(--cyan);
    cursor: pointer;
    font-weight: 800;
}

.faq-groups {
    display: grid;
    gap: 64px;
}

.faq-group {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 55px;
}

.group-label {
    position: sticky;
    top: 110px;
    align-self: start;
    min-height: 185px;
    padding: 25px;
    display: grid;
    align-content: space-between;
    border: 1px solid var(--line);
    background: var(--ivory);
}

.group-label span {
    color: var(--purple);
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.group-label strong {
    font-size: 20px;
}

.group-label small {
    color: var(--muted);
    letter-spacing: .13em;
    font-size: 7px;
}

.faq-list {
    border-top: 2px solid var(--midnight);
}

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

.faq-item.is-hidden {
    display: none;
}

.faq-item button {
    width: 100%;
    min-height: 88px;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 0;
    color: var(--ink);
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-weight: 800;
}

.faq-item button > span {
    font-size: 17px;
}

.faq-item button i {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--midnight);
    border-radius: 50%;
}

.faq-item button i::before,
.faq-item button i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1px;
    background: var(--midnight);
    transform: translate(-50%, -50%);
}

.faq-item button i::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .2s ease;
}

.faq-item button[aria-expanded="true"] i {
    color: var(--midnight);
    background: var(--cyan);
    border-color: var(--cyan);
}

.faq-item button[aria-expanded="true"] i::after {
    transform: translate(-50%, -50%);
}

.faq-answer {
    padding: 0 48px 26px 0;
}

.faq-answer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.88;
}

.answer-links {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.answer-links a {
    min-height: 32px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: var(--purple-dark);
    background: rgba(141,92,219,.1);
    font-size: 10px;
    font-weight: 800;
}

.faq-group.is-hidden {
    display: none;
}

.answer-route {
    color: var(--white);
    background: var(--purple-dark);
}

.answer-route-shell {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    gap: 75px;
    align-items: center;
}

.answer-route-copy .eyebrow {
    color: var(--cyan);
}

.answer-route-copy > p {
    margin-top: 24px;
    color: rgba(255,255,255,.6);
}

.route-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.route-map a {
    min-height: 120px;
    padding: 20px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
}

.route-map a:hover {
    color: var(--midnight);
    background: var(--cyan);
}

.route-map > a > span {
    color: var(--lime);
    font-size: 10px;
    font-weight: 900;
}

.route-map a:hover > span {
    color: var(--purple-dark);
}

.route-map strong,
.route-map small {
    display: block;
}

.route-map small {
    margin-top: 5px;
    opacity: .55;
}

.route-map b {
    color: var(--cyan);
}

.route-map a:hover b {
    color: var(--purple-dark);
}

.topics-section {
    background: var(--ivory-2);
}

.topics-heading {
    max-width: 820px;
    margin-bottom: 52px;
}

.topics-heading > p {
    margin-top: 23px;
}

.topic-directory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 2px solid var(--midnight);
}

.topic-directory a {
    min-height: 105px;
    padding: 20px;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--line);
}

.topic-directory a:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.topic-directory a:hover {
    background: var(--paper);
}

.topic-directory a.is-current {
    color: var(--white);
    background: var(--midnight);
}

.topic-directory > a > span {
    color: var(--purple);
    font-size: 11px;
    font-weight: 900;
}

.topic-directory .is-current > span {
    color: var(--cyan);
}

.topic-directory strong,
.topic-directory small {
    display: block;
}

.topic-directory small {
    margin-top: 5px;
    color: var(--muted);
}

.topic-directory .is-current small {
    color: rgba(255,255,255,.45);
}

.topic-directory b {
    color: var(--purple);
}

.topic-directory .is-current b {
    color: var(--cyan);
}

.final-download {
    width: min(calc(100% - 40px), var(--max));
    margin: 110px auto;
    padding: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 60px;
    align-items: center;
    border-radius: 24px;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 0%, rgba(62,240,208,.24), transparent 32%),
        var(--midnight);
}

.final-copy > span {
    color: var(--cyan);
    letter-spacing: .15em;
    font-size: 9px;
    font-weight: 900;
}

.final-copy h2 {
    margin-top: 18px;
}

.final-copy > p {
    margin: 20px 0 0;
    color: rgba(255,255,255,.52);
}

.final-actions {
    display: grid;
    gap: 10px;
}

.final-actions a {
    min-height: 88px;
    padding: 17px 19px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-radius: 14px;
}

.final-actions a:first-child {
    color: var(--midnight);
    background: var(--cyan);
}

.final-actions a:last-child {
    color: var(--midnight);
    background: var(--lime);
}

.final-actions span,
.final-actions small {
    display: block;
}

.final-actions span {
    font-weight: 800;
}

.final-actions small {
    margin-top: 5px;
    opacity: .58;
}

.final-actions b {
    grid-column: 2;
    grid-row: 1 / 3;
    color: var(--purple-dark);
    font-size: 21px;
}

.knowledge-footer {
    padding: 70px 0 28px;
    color: rgba(255,255,255,.56);
    background: #0b1020;
}

.footer-head,
.footer-index,
.footer-links,
.footer-bottom {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.footer-head {
    padding-bottom: 34px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-title > span {
    color: var(--cyan);
    letter-spacing: .15em;
    font-size: 8px;
    font-weight: 900;
}

.footer-title h3 {
    margin: 10px 0 0;
    color: var(--white);
    font-size: 27px;
}

.footer-search {
    display: grid;
    justify-items: end;
    gap: 5px;
    letter-spacing: .12em;
    font-size: 8px;
}

.footer-search span {
    color: var(--lime);
}

.footer-search strong {
    color: var(--cyan);
}

.footer-search small {
    color: rgba(255,255,255,.3);
}

.footer-index {
    padding: 42px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-index article {
    padding: 0 24px;
}

.footer-index article + article {
    border-left: 1px solid rgba(255,255,255,.1);
}

.footer-index span {
    color: var(--purple);
    font-size: 10px;
    font-weight: 900;
}

.footer-index strong {
    display: block;
    margin: 13px 0 8px;
    color: var(--white);
    font-size: 17px;
}

.footer-index p {
    margin: 0;
    line-height: 1.7;
    font-size: 12px;
}

.footer-links {
    padding: 48px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px;
}

.footer-links > div {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-links span {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.footer-links a {
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 10px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom > div {
    display: flex;
    gap: 26px;
    letter-spacing: .12em;
    font-size: 8px;
}

@media (max-width: 1120px) {
    .desktop-nav {
        display: none;
    }

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

    .header-cta {
        justify-self: end;
    }

    .menu-button {
        width: 44px;
        height: 44px;
        padding: 12px;
        display: grid;
        align-content: center;
        gap: 7px;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
    }

    .menu-button span {
        height: 1px;
        background: var(--white);
    }

    .mobile-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 78px;
        padding: 16px 20px 28px;
        display: none;
        gap: 5px;
        color: var(--white);
        background: var(--midnight);
        box-shadow: 0 24px 50px rgba(0,0,0,.32);
    }

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

    .mobile-nav a {
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

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

    .filter-shell {
        grid-template-columns: 260px 1fr;
        gap: 38px;
    }

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

    .footer-index article:nth-child(3) {
        border-left: 0;
    }

    .footer-index article:nth-child(-n+2) {
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .footer-index article:nth-child(n+3) {
        padding-top: 30px;
    }
}

@media (max-width: 850px) {
    .search-summary {
        grid-template-columns: 1fr 1fr;
    }

    .search-summary div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.1);
    }

    .search-summary div:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,.1);
    }

    .filter-shell,
    .answer-route-shell,
    .final-download {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .faq-group {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .group-label {
        position: static;
        min-height: auto;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 18px;
    }

    .route-map {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .header-inner,
    .hero-shell,
    .section-heading,
    .quick-grid,
    .filter-shell,
    .faq-header,
    .no-results,
    .faq-groups,
    .answer-route-shell,
    .topics-heading,
    .topic-directory,
    .footer-head,
    .footer-index,
    .footer-links,
    .footer-bottom {
        width: min(calc(100% - 28px), var(--max));
    }

    .site-header {
        position: relative;
    }

    .header-cta {
        display: none;
    }

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

    .brand-copy small {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-shell {
        padding: 50px 0 65px;
    }

    .hero-title {
        margin-top: 50px;
    }

    .hero h1 {
        font-size: clamp(48px, 15vw, 67px);
    }

    .hero-title > p:last-child {
        font-size: 15px;
    }

    .search-panel {
        padding: 12px;
        border-radius: 16px;
    }

    .search-bar {
        min-height: 64px;
        grid-template-columns: 30px 1fr;
    }

    .search-bar button {
        grid-column: 1 / 3;
        margin-bottom: 10px;
    }

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

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

    .quick-section,
    .filter-section,
    .faq-section,
    .answer-route,
    .topics-section {
        padding: 78px 0;
    }

    .section-heading h2,
    .filter-shell h2,
    .faq-header h2,
    .answer-route-copy h2,
    .topics-heading h2,
    .final-copy h2 {
        font-size: 38px;
    }

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

    .quick-card {
        min-height: 335px;
    }

    .filter-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .faq-header {
        align-items: start;
        flex-direction: column;
    }

    .result-counter {
        width: 100%;
    }

    .no-results {
        grid-template-columns: 52px 1fr;
    }

    .no-results button {
        grid-column: 1 / 3;
    }

    .group-label {
        grid-template-columns: auto 1fr;
    }

    .group-label small {
        grid-column: 1 / 3;
    }

    .faq-item button > span {
        font-size: 15px;
    }

    .faq-answer {
        padding-right: 0;
    }

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

    .topic-directory a:nth-child(odd) {
        border-right: 0;
    }

    .final-download {
        width: calc(100% - 28px);
        margin: 78px auto;
        padding: 32px 22px;
    }

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

    .footer-search {
        justify-items: start;
    }

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

    .footer-index article {
        padding: 22px 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .footer-index article + article {
        border-left: 0;
    }

    .footer-index article:nth-child(-n+2) {
        padding-bottom: 22px;
    }

    .footer-index article:nth-child(n+3) {
        padding-top: 22px;
    }

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

    .footer-links > div:last-child {
        grid-column: 1 / 3;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
