/* AA Poker 下载中心
   系统字体、本地资源、无外部依赖
*/

:root {
    --ink: #071510;
    --ink-soft: #13281f;
    --paper: #f3f5ef;
    --paper-2: #e8ede5;
    --line: rgba(7, 21, 16, 0.14);
    --green: #24e596;
    --green-deep: #0ebf78;
    --mint: #c9ffe6;
    --yellow: #efff6a;
    --white: #ffffff;
    --muted: #66736d;
    --max: 1240px;
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    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,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    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;
    left: 16px;
    top: -80px;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    transition: top 0.2s ease;
}

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

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 21, 16, 0.88);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 13px;
    background:
        linear-gradient(145deg, rgba(36, 229, 150, 0.24), rgba(36, 229, 150, 0)),
        #0d251b;
}

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

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

.brand-copy strong {
    letter-spacing: 0.08em;
    font-size: 16px;
}

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

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

.desktop-nav a {
    position: relative;
    padding: 29px 0 25px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

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

.desktop-nav a:hover {
    color: var(--white);
}

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

.header-cta {
    min-height: 42px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--green);
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
}

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

.hero {
    position: relative;
    min-height: 730px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 75% 22%, rgba(36, 229, 150, 0.18), transparent 30%),
        linear-gradient(115deg, #06110d 0%, #0a2017 52%, #06110d 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, transparent, black 42%, black);
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 40px), var(--max));
    min-height: 650px;
    margin: 0 auto;
    padding: 92px 0 62px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    align-items: center;
    gap: 74px;
}

.hero-copy {
    max-width: 690px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--green-deep);
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 700;
}

.eyebrow {
    color: var(--green);
}

.eyebrow span {
    width: 42px;
    height: 1px;
    background: currentColor;
}

.hero h1 {
    margin: 0;
    display: grid;
    font-size: clamp(66px, 8vw, 118px);
    line-height: 0.82;
    letter-spacing: -0.075em;
}

.hero h1 em {
    margin-top: 24px;
    color: var(--green);
    font-size: 0.58em;
    letter-spacing: -0.04em;
    font-style: normal;
}

.hero-lead {
    max-width: 650px;
    margin: 38px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 18px;
    line-height: 1.9;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    min-height: 54px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
    background: var(--green);
    color: var(--ink);
}

.button-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--green);
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}

.hero-facts {
    margin: 50px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-facts div {
    padding: 22px 20px 0 0;
}

.hero-facts div + div {
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-facts dt {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
}

.hero-facts dd {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 500px;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(36, 229, 150, 0.25);
    border-radius: 50%;
}

.visual-orbit-one {
    width: 430px;
    height: 430px;
    right: -55px;
    top: 16px;
}

.visual-orbit-two {
    width: 300px;
    height: 300px;
    right: 8px;
    top: 81px;
    border-style: dashed;
}

.hero-image-card {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 38px 90px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
}

.hero-image-main {
    z-index: 3;
    width: min(100%, 430px);
    height: 290px;
    right: 62px;
    top: 44px;
    border-radius: 36px 36px 100px 36px;
    transform: rotate(-4deg);
}

.hero-image-side {
    z-index: 4;
    width: 245px;
    height: 230px;
    right: -12px;
    bottom: 34px;
    padding: 14px;
    border-radius: 30px 70px 30px 30px;
    transform: rotate(5deg);
}

.optional-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.hero-download-image {
    position: absolute;
    inset: 20px;
    background-image:
        url("../pic/hero/aapoker-hero-download.png"),
        radial-gradient(circle at 55% 42%, rgba(36, 229, 150, 0.8), transparent 26%),
        linear-gradient(145deg, #14392a, #07150f);
}

.devices-image {
    width: 100%;
    height: 160px;
    border-radius: 22px 52px 22px 22px;
    background-image:
        url("../pic/app/aapoker-download-devices.png"),
        radial-gradient(circle at center, rgba(36, 229, 150, 0.5), transparent 30%),
        linear-gradient(145deg, #f2fff8, #cfe9dc);
}

.image-note {
    position: absolute;
    left: 24px;
    bottom: 20px;
    color: rgba(255,255,255,.8);
    letter-spacing: .18em;
    font-size: 9px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.status-dot {
    position: absolute;
    left: 22px;
    bottom: 23px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 7px rgba(36, 229, 150, 0.13);
}

.hero-image-side p {
    margin: 12px 0 0 30px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.floating-ticket {
    position: absolute;
    z-index: 6;
    left: 0;
    bottom: 72px;
    width: 280px;
    min-height: 92px;
    padding: 17px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: center;
    border-radius: 19px;
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
    transform: rotate(-3deg);
}

.floating-ticket > span {
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(7,21,16,.22);
    border-radius: 13px;
    font-size: 20px;
    font-weight: 800;
}

.floating-ticket strong,
.floating-ticket small {
    display: block;
}

.floating-ticket small {
    margin-top: 5px;
    color: rgba(7,21,16,.74);
    line-height: 1.45;
}

.hero-bottom {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 28px;
    width: min(calc(100% - 40px), var(--max));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,.48);
    letter-spacing: .18em;
    font-size: 9px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-bottom i {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.12);
}

.device-section,
.requirements-section,
.problems-section,
.content-section,
.faq-section {
    padding: 110px 0;
}

.section-heading,
.device-router,
.requirements-grid,
.problem-board,
.content-grid,
.faq-grid {
    width: min(calc(100% - 40px), var(--max));
    margin-left: auto;
    margin-right: auto;
}

.split-heading {
    margin-bottom: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
    gap: 80px;
    align-items: end;
}

.section-heading h2,
.requirements-title h2,
.route-intro h2,
.content-main h2,
.faq-intro h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.split-heading > p,
.center-heading > p,
.requirements-title > p,
.route-intro > p,
.content-main > p,
.faq-intro > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

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

.device-panel {
    position: relative;
    min-height: 190px;
    padding: 34px 0;
    display: grid;
    grid-template-columns: 54px 64px minmax(220px, 1fr) minmax(260px, .9fr) auto;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    transition: padding 0.25s ease, background 0.25s ease;
}

.device-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 10px -24px;
    border-radius: 26px;
    opacity: 0;
    background: var(--white);
    transition: opacity .25s ease;
}

.device-panel:hover::before {
    opacity: 1;
}

.device-panel:hover {
    padding-left: 18px;
    padding-right: 18px;
}

.device-index {
    color: rgba(7,21,16,.28);
    font-size: 15px;
    font-weight: 800;
}

.device-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: var(--ink);
}

.device-icon svg {
    width: 27px;
    height: 27px;
    fill: var(--green);
}

.device-copy p {
    margin: 0 0 8px;
    color: var(--green-deep);
    letter-spacing: .15em;
    font-size: 10px;
    font-weight: 800;
}

.device-copy h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.device-copy span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.device-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.device-meta span {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #55635d;
    font-size: 11px;
}

.device-button {
    min-width: 154px;
    min-height: 50px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 15px;
    background: var(--ink);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}

.device-button b {
    color: var(--green);
    font-size: 18px;
}

.route-section {
    padding: 110px 0;
    color: var(--white);
    background: var(--ink);
}

.route-shell {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(350px, 1fr) minmax(310px, .8fr);
    gap: 70px;
}

.route-intro .section-kicker {
    color: var(--green);
}

.route-intro > p {
    margin-top: 28px;
    color: rgba(255,255,255,.58);
}

.route-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.route-list li {
    min-height: 130px;
    display: grid;
    grid-template-columns: 46px 1px 1fr;
    gap: 20px;
}

.route-number {
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
}

.route-line {
    height: 100%;
    background: rgba(255,255,255,.15);
}

.route-content {
    padding-bottom: 36px;
}

.route-content strong {
    display: block;
    margin-bottom: 10px;
    font-size: 19px;
}

.route-content p {
    margin: 0;
    color: rgba(255,255,255,.54);
    line-height: 1.7;
    font-size: 14px;
}

.step-visuals {
    position: relative;
    min-height: 500px;
}

.step-frame {
    position: absolute;
    margin: 0;
    width: 245px;
    padding: 13px;
    border-radius: 26px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 32px 70px rgba(0,0,0,.28);
    transform: rotate(-5deg);
}

.step-frame-offset {
    right: 0;
    bottom: 0;
    transform: rotate(5deg);
}

.step-frame .optional-bg {
    height: 340px;
    border-radius: 18px;
    background-color: #e9f0eb;
}

.step-one-image {
    background-image:
        url("../pic/guide/aapoker-download-step-01.png"),
        linear-gradient(145deg, #d7e3dc, #f8faf8);
}

.step-two-image {
    background-image:
        url("../pic/guide/aapoker-download-step-02.png"),
        linear-gradient(145deg, #d7e3dc, #f8faf8);
}

.step-frame figcaption {
    padding: 14px 5px 4px;
    font-size: 12px;
}

.step-frame figcaption b {
    margin-right: 8px;
    color: var(--green-deep);
}

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

.requirements-grid {
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(0, 1.25fr);
    gap: 84px;
}

.requirements-title {
    position: sticky;
    top: 120px;
    align-self: start;
}

.requirements-title > p {
    margin-top: 28px;
}

.requirements-title > a {
    margin-top: 34px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--green-deep);
    font-weight: 700;
}

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

.matrix-row {
    min-height: 98px;
    display: grid;
    grid-template-columns: 1fr 120px 1.4fr;
    align-items: center;
    gap: 25px;
    border-bottom: 1px solid var(--line);
}

.matrix-head {
    min-height: 50px;
    color: var(--muted);
    letter-spacing: .12em;
    font-size: 9px;
    text-transform: uppercase;
}

.matrix-row strong {
    font-size: 17px;
}

.matrix-row > span:not(.matrix-head span) {
    width: max-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--mint);
    color: #087449;
    font-size: 11px;
    font-weight: 700;
}

.matrix-row p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.center-heading {
    max-width: 780px;
    margin-bottom: 54px;
    text-align: center;
}

.center-heading .section-kicker {
    justify-content: center;
}

.center-heading > p {
    margin-top: 22px;
}

.problem-board {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 440px;
    overflow: hidden;
    border-radius: 32px;
    background: var(--ink);
    color: var(--white);
}

.problem-tabs {
    padding: 22px;
    display: grid;
    align-content: start;
    gap: 8px;
    border-right: 1px solid rgba(255,255,255,.1);
    background: #0a1a14;
}

.problem-tab {
    width: 100%;
    min-height: 64px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    color: rgba(255,255,255,.55);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.problem-tab:hover,
.problem-tab.is-active {
    background: var(--green);
    color: var(--ink);
    font-weight: 700;
}

.problem-display {
    padding: clamp(34px, 6vw, 74px);
    display: grid;
    align-content: center;
}

.problem-code {
    color: var(--green);
    letter-spacing: .18em;
    font-size: 10px;
    font-weight: 800;
}

.problem-display h3 {
    margin: 18px 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.problem-display > div > p {
    max-width: 720px;
    color: rgba(255,255,255,.58);
    line-height: 1.8;
}

.problem-display ol {
    margin: 28px 0 34px;
    padding: 0;
    display: grid;
    gap: 13px;
    list-style: none;
    counter-reset: problem;
}

.problem-display li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    color: rgba(255,255,255,.82);
    line-height: 1.6;
    counter-increment: problem;
}

.problem-display li::before {
    content: counter(problem);
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(36,229,150,.45);
    border-radius: 50%;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
}

.problem-display > a {
    width: max-content;
    display: inline-flex;
    gap: 12px;
    color: var(--green);
    font-weight: 700;
}

.content-section {
    padding-top: 40px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 390px;
    gap: 90px;
}

.content-main > p {
    margin-top: 26px;
    font-size: 16px;
}

.content-aside {
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.content-aside > span {
    display: block;
    margin-bottom: 18px;
    color: var(--muted);
    letter-spacing: .15em;
    font-size: 9px;
    font-weight: 700;
}

.content-aside > a {
    padding: 21px 0;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.content-aside > a b {
    color: var(--green-deep);
    font-size: 12px;
}

.content-aside strong,
.content-aside small {
    display: block;
}

.content-aside small {
    margin-top: 6px;
    color: var(--muted);
}

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

.faq-grid {
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(0, 1.15fr);
    gap: 90px;
}

.faq-intro {
    align-self: start;
}

.faq-intro > p {
    margin-top: 25px;
}

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

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

.faq-item button {
    width: 100%;
    min-height: 82px;
    padding: 20px 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: 700;
}

.faq-item button i {
    position: relative;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border: 1px solid var(--line);
    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(--ink);
    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::after {
    transform: translate(-50%, -50%) rotate(0);
}

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

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

.final-download {
    width: min(calc(100% - 40px), var(--max));
    margin: 110px auto;
    padding: clamp(36px, 6vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 50px;
    overflow: hidden;
    border-radius: 38px;
    color: var(--white);
    background:
        radial-gradient(circle at 87% 0%, rgba(36,229,150,.32), transparent 34%),
        var(--ink);
}

.final-download-copy > span {
    color: var(--green);
    letter-spacing: .16em;
    font-size: 10px;
    font-weight: 800;
}

.final-download-copy h2 {
    max-width: 700px;
    margin: 18px 0;
    font-size: clamp(36px, 5vw, 65px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.final-download-copy p {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.58);
    line-height: 1.8;
}

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

.button-light {
    background: var(--green);
    color: var(--ink);
}

.button-outline-light {
    border-color: rgba(255,255,255,.2);
    color: var(--white);
}

.site-footer {
    padding: 66px 0 28px;
    color: rgba(255,255,255,.6);
    background: #04100c;
}

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

.footer-main {
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
}

.footer-brand strong {
    color: var(--white);
    letter-spacing: .08em;
    font-size: 21px;
}

.footer-brand p {
    max-width: 400px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 180px);
    gap: 38px;
}

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

.footer-links span {
    margin-bottom: 7px;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}

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

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

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

.footer-bottom p {
    margin: 0;
}

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

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

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

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

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

    .mobile-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        padding: 18px 20px 28px;
        display: none;
        gap: 6px;
        background: #071510;
        box-shadow: 0 25px 60px rgba(0,0,0,.35);
    }

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

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

    .hero-grid {
        grid-template-columns: 1fr 410px;
        gap: 30px;
    }

    .hero h1 {
        font-size: clamp(60px, 8vw, 90px);
    }

    .device-panel {
        grid-template-columns: 44px 56px minmax(220px, 1fr) auto;
    }

    .device-meta {
        display: none;
    }

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

    .step-visuals {
        grid-column: 1 / -1;
        width: 560px;
        min-height: 430px;
        margin: 0 auto;
    }

    .step-frame .optional-bg {
        height: 300px;
    }

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

@media (max-width: 820px) {
    .header-cta {
        display: none;
    }

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

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-top: 70px;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-visual {
        width: min(100%, 520px);
        min-height: 470px;
        margin: 0 auto;
    }

    .hero-bottom {
        display: none;
    }

    .split-heading,
    .requirements-grid,
    .content-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .device-panel {
        padding: 28px 0;
        grid-template-columns: 48px 1fr auto;
    }

    .device-index {
        display: none;
    }

    .device-copy {
        grid-column: 2 / -1;
    }

    .device-button {
        grid-column: 2 / -1;
        width: 100%;
        margin-top: 4px;
    }

    .route-shell {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .step-visuals {
        grid-column: auto;
    }

    .requirements-title {
        position: static;
    }

    .problem-board {
        grid-template-columns: 1fr;
    }

    .problem-tabs {
        grid-template-columns: repeat(2, 1fr);
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .final-download {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .final-download-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 560px) {
    .header-shell,
    .hero-grid,
    .section-heading,
    .device-router,
    .route-shell,
    .requirements-grid,
    .problem-board,
    .content-grid,
    .faq-grid,
    .footer-main,
    .footer-bottom {
        width: min(calc(100% - 28px), var(--max));
    }

    .site-header {
        position: relative;
    }

    .brand-copy small {
        display: none;
    }

    .hero-grid {
        padding: 56px 0 50px;
    }

    .hero h1 {
        font-size: clamp(52px, 17vw, 72px);
    }

    .hero h1 em {
        margin-top: 17px;
        font-size: .57em;
    }

    .hero-lead {
        margin-top: 28px;
        font-size: 15px;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

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

    .hero-facts div {
        padding: 16px 0;
        display: grid;
        grid-template-columns: 88px 1fr;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .hero-facts div + div {
        padding-left: 0;
        border-left: 0;
    }

    .hero-facts dt {
        margin: 0;
    }

    .hero-visual {
        min-height: 400px;
    }

    .visual-orbit-one {
        width: 340px;
        height: 340px;
        right: -55px;
    }

    .visual-orbit-two {
        width: 245px;
        height: 245px;
        right: -5px;
    }

    .hero-image-main {
        width: 88%;
        height: 220px;
        right: 5%;
    }

    .hero-image-side {
        width: 190px;
        height: 184px;
        right: 0;
        bottom: 18px;
    }

    .devices-image {
        height: 118px;
    }

    .floating-ticket {
        left: 0;
        bottom: 52px;
        width: 220px;
        grid-template-columns: 45px 1fr;
    }

    .floating-ticket > span {
        height: 45px;
    }

    .device-section,
    .requirements-section,
    .problems-section,
    .content-section,
    .faq-section,
    .route-section {
        padding: 78px 0;
    }

    .split-heading {
        gap: 24px;
        margin-bottom: 38px;
    }

    .section-heading h2,
    .requirements-title h2,
    .route-intro h2,
    .content-main h2,
    .faq-intro h2 {
        font-size: 38px;
    }

    .device-panel {
        grid-template-columns: 48px 1fr;
    }

    .device-copy {
        grid-column: 2;
    }

    .device-button {
        grid-column: 1 / -1;
    }

    .step-visuals {
        width: 100%;
        min-height: 550px;
    }

    .step-frame {
        width: 210px;
    }

    .step-frame-offset {
        top: 205px;
    }

    .step-frame .optional-bg {
        height: 270px;
    }

    .matrix-row {
        padding: 18px 0;
        grid-template-columns: 1fr auto;
        gap: 10px 18px;
    }

    .matrix-row p {
        grid-column: 1 / -1;
    }

    .matrix-head {
        display: none;
    }

    .problem-tabs {
        padding: 12px;
        grid-template-columns: 1fr 1fr;
    }

    .problem-tab {
        min-height: 54px;
        padding: 8px 10px;
        text-align: center;
        font-size: 12px;
    }

    .problem-display {
        padding: 30px 22px 38px;
    }

    .problem-display h3 {
        font-size: 32px;
    }

    .content-aside {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 25px;
    }

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

    .final-download {
        width: calc(100% - 28px);
        margin: 78px auto;
        border-radius: 28px;
    }

    .final-download-actions {
        grid-template-columns: 1fr;
    }

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

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