/* AA Poker 下载故障急救中心
   雾白 / 信号红 / 电光蓝 / 酸性黄
   故障分诊台、快速检查、响应地图 Footer
*/

:root {
    --fog: #eef1f3;
    --fog-2: #d9dfe3;
    --paper: #fbfcfd;
    --red: #e83f45;
    --red-dark: #a91f2b;
    --blue: #2269f5;
    --blue-dark: #1748a8;
    --yellow: #e9f34f;
    --black: #111417;
    --black-2: #1c2126;
    --white: #ffffff;
    --ink: #17202a;
    --muted: #68737d;
    --line: rgba(23, 32, 42, 0.15);
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--fog);
    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;
    top: -80px;
    left: 16px;
    padding: 12px 16px;
    color: var(--white);
    background: var(--red);
}

.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,20,23,.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 auto 1fr auto;
    align-items: center;
    gap: 28px;
}

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

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(232,63,69,.35);
    background: var(--black-2);
    box-shadow: 5px 5px 0 var(--red);
}

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

.live-status {
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(232,63,69,.22);
    color: rgba(255,255,255,.57);
    font-size: 9px;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 6px rgba(232,63,69,.12);
}

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

.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: 3px;
    background: var(--yellow);
    transition: right .22s ease;
}

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

.header-cta {
    min-height: 45px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--black);
    background: var(--yellow);
    font-size: 12px;
    font-weight: 800;
}

.header-cta span {
    color: var(--red);
    font-size: 17px;
}

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

.hero {
    position: relative;
    min-height: 795px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 74% 24%, rgba(34,105,245,.18), transparent 28%),
        radial-gradient(circle at 92% 72%, rgba(232,63,69,.14), transparent 24%),
        var(--black);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .17;
    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: 56px 56px;
    mask-image: linear-gradient(90deg, transparent, black 45%, black);
}

.hero-shell {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 40px), var(--max));
    min-height: 705px;
    margin: 0 auto;
    padding: 80px 0 88px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr);
    align-items: center;
    gap: 78px;
}

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

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

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

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

.hero h1 {
    margin: 0;
    display: grid;
    font-size: clamp(64px, 7vw, 108px);
    line-height: .84;
    letter-spacing: -.075em;
}

.hero h1 span {
    margin-top: 25px;
    color: var(--red);
    font-size: .52em;
    letter-spacing: -.04em;
}

.hero-lead {
    max-width: 700px;
    margin: 36px 0 0;
    color: rgba(255,255,255,.61);
    font-size: 17px;
    line-height: 1.9;
}

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

.primary-action {
    min-height: 70px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 14px;
    color: var(--white);
    background: var(--red);
    box-shadow: 7px 7px 0 var(--blue);
    transition: transform .2s ease;
}

.primary-action:hover {
    transform: translate(-2px, -2px);
}

.sos-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    color: var(--yellow);
    font-size: 10px;
    font-weight: 900;
}

.primary-action strong,
.primary-action small {
    display: block;
}

.primary-action strong {
    font-size: 13px;
}

.primary-action small {
    margin-top: 4px;
    color: rgba(255,255,255,.57);
    font-size: 9px;
}

.primary-action b {
    color: var(--yellow);
}

.secondary-action {
    min-height: 70px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255,255,255,.15);
    font-size: 12px;
    font-weight: 800;
}

.secondary-action span {
    color: var(--yellow);
}

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

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

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

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

.hero-facts dd {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
}

.incident-console {
    position: relative;
    overflow: visible;
    border: 1px solid rgba(255,255,255,.13);
    background: var(--black-2);
    box-shadow: 0 42px 100px rgba(0,0,0,.35);
}

.console-head {
    min-height: 50px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.35);
    letter-spacing: .13em;
    font-size: 8px;
}

.console-head > div {
    display: flex;
    gap: 6px;
}

.console-head i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
}

.console-head i:first-child {
    background: var(--red);
}

.console-head i:nth-child(2) {
    background: var(--yellow);
}

.console-head i:nth-child(3) {
    background: var(--blue);
}

.console-body {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(34,105,245,.16), transparent 31%),
        #14181c;
}

.console-body::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: 38px 38px;
}

.device-image {
    position: absolute;
    inset: 25px;
    opacity: .32;
    background-image:
        url("../pic/hero/aapoker-download-devices.png"),
        linear-gradient(145deg, #27313c, #111417);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.incident-radar {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 220px;
    height: 220px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(34,105,245,.45);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 38px rgba(34,105,245,.05),
        0 0 0 76px rgba(34,105,245,.028);
}

.radar-core {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 2px solid var(--red);
    border-radius: 50%;
    background: rgba(17,20,23,.9);
}

.radar-core span {
    color: var(--red);
    font-size: 34px;
    font-weight: 900;
}

.radar-core small {
    margin-top: 4px;
    color: rgba(255,255,255,.4);
    letter-spacing: .12em;
    font-size: 7px;
}

.incident-radar > i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 185px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    transform-origin: left center;
    animation: radarSpin 0.9s ease-out 1 both;
}

@keyframes radarSpin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.incident-alert {
    position: absolute;
    z-index: 4;
    width: 120px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(17,20,23,.86);
}

.alert-one {
    left: 18px;
    top: 26px;
}

.alert-two {
    right: 18px;
    top: 26px;
}

.alert-three {
    right: 26px;
    bottom: 32px;
}

.incident-alert span,
.incident-alert strong,
.incident-alert small {
    display: block;
}

.incident-alert span {
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
}

.incident-alert strong {
    margin: 8px 0 4px;
    font-size: 12px;
}

.incident-alert small {
    color: rgba(255,255,255,.4);
    letter-spacing: .1em;
    font-size: 7px;
}

.console-footer {
    min-height: 64px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.34);
    letter-spacing: .12em;
    font-size: 8px;
}

.console-footer strong {
    color: var(--yellow);
    font-size: 8px;
}

.emergency-ticket {
    position: absolute;
    z-index: 5;
    left: -24px;
    bottom: -42px;
    width: 285px;
    min-height: 84px;
    padding: 15px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 13px;
    align-items: center;
    color: var(--black);
    background: var(--yellow);
    box-shadow: 0 22px 45px rgba(0,0,0,.25);
    transform: rotate(-3deg);
}

.emergency-ticket > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--black);
    font-weight: 900;
}

.emergency-ticket p {
    margin: 0;
    line-height: 1.5;
    font-size: 11px;
    font-weight: 800;
}

.hero-strip {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 24px;
    width: min(calc(100% - 40px), var(--max));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.25);
    letter-spacing: .15em;
    font-size: 8px;
}

.hero-strip i {
    width: 38px;
    height: 2px;
    background: var(--red);
}

.triage-section,
.quick-section,
.network-section,
.repair-section,
.device-repair,
.content-section,
.faq-section {
    padding: 110px 0;
}

.triage-heading,
.triage-board,
.quick-heading,
.quick-layout,
.network-shell,
.repair-heading,
.repair-grid,
.device-repair-heading,
.device-repair-switcher,
.content-grid,
.faq-heading,
.faq-layout {
    width: min(calc(100% - 40px), var(--max));
    margin-left: auto;
    margin-right: auto;
}

.triage-heading {
    max-width: 830px;
    margin-bottom: 52px;
}

.triage-heading h2,
.quick-heading h2,
.network-copy h2,
.repair-heading h2,
.device-repair-heading h2,
.content-main h2,
.faq-heading h2,
.final-copy h2 {
    margin: 0;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -.055em;
}

.triage-heading > p:last-child,
.quick-heading > p,
.network-copy > p,
.repair-heading > p,
.device-repair-heading > p,
.content-main > p,
.faq-heading > p,
.final-copy > p {
    color: var(--muted);
    line-height: 1.9;
}

.triage-heading > p:last-child {
    margin: 24px 0 0;
}

.triage-board {
    overflow: hidden;
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    min-height: 520px;
    border: 2px solid var(--black);
    background: var(--paper);
    box-shadow: 12px 12px 0 var(--blue);
}

.triage-menu {
    padding: 18px;
    display: grid;
    align-content: start;
    gap: 8px;
    border-right: 2px solid var(--black);
    background: var(--black);
}

.triage-tab {
    min-height: 68px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.57);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.triage-tab span {
    color: var(--yellow);
    font-size: 10px;
    font-weight: 900;
}

.triage-tab.is-active,
.triage-tab:hover {
    color: var(--white);
    background: var(--red);
    font-weight: 800;
}

.triage-tab.is-active span,
.triage-tab:hover span {
    color: var(--yellow);
}

.triage-display {
    position: relative;
    padding: clamp(38px, 6vw, 76px);
    display: grid;
    align-content: center;
}

.severity {
    position: absolute;
    right: 28px;
    top: 28px;
    width: 120px;
    padding: 15px;
    border: 1px solid var(--line);
    background: var(--fog);
}

.severity span,
.severity strong,
.severity small {
    display: block;
}

.severity span {
    color: var(--muted);
    letter-spacing: .12em;
    font-size: 7px;
}

.severity strong {
    margin: 7px 0 4px;
    color: var(--red);
    font-size: 27px;
}

.severity small {
    color: var(--muted);
    line-height: 1.45;
    font-size: 8px;
}

.triage-code {
    color: var(--red);
    letter-spacing: .16em;
    font-size: 9px;
    font-weight: 900;
}

.triage-display h3 {
    max-width: 700px;
    margin: 18px 0;
    padding-right: 120px;
    font-size: clamp(35px, 5vw, 58px);
    letter-spacing: -.045em;
}

.triage-display > p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

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

.triage-display li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    color: #4f5962;
    line-height: 1.65;
    counter-increment: triage;
}

.triage-display li::before {
    content: counter(triage);
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 1px solid var(--red);
    border-radius: 50%;
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
}

.triage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.triage-actions a {
    min-height: 50px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-weight: 800;
}

.triage-actions a:first-child {
    color: var(--white);
    background: var(--blue);
}

.triage-actions a:last-child {
    border: 2px solid var(--line);
}

.triage-actions span {
    color: var(--red);
}

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

.quick-heading {
    margin-bottom: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
    gap: 80px;
    align-items: end;
}

.quick-heading .eyebrow {
    color: var(--yellow);
}

.quick-heading > p {
    margin: 0;
    color: rgba(255,255,255,.62);
}

.quick-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
}

.quick-checklist {
    display: grid;
    gap: 10px;
}

.quick-item {
    min-height: 82px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255,255,255,.18);
    color: var(--white);
    background: rgba(255,255,255,.07);
    text-align: left;
    cursor: pointer;
}

.quick-item.is-complete {
    color: var(--black);
    background: var(--yellow);
}

.check-box {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.quick-item.is-complete .check-box::after {
    content: "✓";
    font-weight: 900;
}

.quick-item strong,
.quick-item small {
    display: block;
}

.quick-item small {
    margin-top: 5px;
    opacity: .6;
}

.quick-item > b {
    color: var(--yellow);
    font-size: 11px;
}

.quick-item.is-complete > b {
    color: var(--red);
}

.quick-meter {
    min-height: 360px;
    padding: 34px;
    display: grid;
    align-content: center;
    justify-items: center;
    border: 1px solid rgba(255,255,255,.18);
    background: var(--blue-dark);
    text-align: center;
}

.meter-ring {
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 3px solid var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 16px rgba(233,243,79,.08);
}

.meter-ring strong {
    color: var(--yellow);
    font-size: 50px;
    line-height: 1;
}

.meter-ring span {
    margin-top: 4px;
    color: rgba(255,255,255,.45);
}

.quick-meter p {
    margin: 30px 0 20px;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
}

.meter-bar {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: rgba(255,255,255,.14);
}

.meter-bar i {
    display: block;
    width: 0;
    height: 100%;
    background: var(--yellow);
    transition: width .25s ease;
}

.quick-meter > small {
    margin-top: 15px;
    color: rgba(255,255,255,.32);
    letter-spacing: .13em;
    font-size: 7px;
}

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

.network-shell {
    display: grid;
    grid-template-columns: minmax(430px, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.network-visual {
    min-height: 500px;
    padding: 30px;
    display: grid;
    align-content: center;
    border: 2px solid var(--black);
    background: var(--black);
    box-shadow: 12px 12px 0 var(--red);
}

.network-map {
    position: relative;
    min-height: 300px;
}

.node {
    position: absolute;
    z-index: 2;
    width: 115px;
    height: 70px;
    display: grid;
    place-items: center;
    border: 2px solid var(--yellow);
    color: var(--yellow);
    background: var(--black-2);
    font-size: 10px;
    font-weight: 900;
}

.node-device {
    left: 0;
    top: 115px;
}

.node-browser {
    left: 32%;
    top: 30px;
}

.node-route {
    right: 28%;
    bottom: 20px;
}

.node-file {
    right: 0;
    top: 110px;
}

.line {
    position: absolute;
    height: 2px;
    background: var(--blue);
    transform-origin: left center;
}

.line-one {
    left: 105px;
    top: 144px;
    width: 150px;
    transform: rotate(-27deg);
}

.line-two {
    left: 43%;
    top: 98px;
    width: 145px;
    transform: rotate(31deg);
}

.line-three {
    right: 85px;
    bottom: 105px;
    width: 135px;
    transform: rotate(-31deg);
}

.network-status {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.1);
}

.network-status span {
    color: rgba(255,255,255,.35);
    letter-spacing: .13em;
    font-size: 7px;
}

.network-status strong {
    color: var(--red);
    font-size: 9px;
}

.network-copy > p {
    margin-top: 25px;
}

.network-rules {
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.network-rules article {
    padding: 23px 0;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}

.network-rules article > span {
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
}

.network-rules strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.network-rules p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.repair-section {
    background: var(--fog-2);
}

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

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

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

.repair-card {
    position: relative;
    min-height: 380px;
    padding: 28px;
    border: 2px solid var(--black);
}

.repair-card-red {
    color: var(--white);
    background: var(--red);
}

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

.repair-card-yellow {
    color: var(--black);
    background: var(--yellow);
}

.repair-card-dark {
    color: var(--white);
    background: var(--black);
}

.repair-number {
    position: absolute;
    right: 20px;
    top: 17px;
    opacity: .35;
    font-size: 11px;
    font-weight: 900;
}

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

.repair-card h3 {
    margin: 32px 0 13px;
    font-size: 24px;
}

.repair-card p {
    margin: 0;
    opacity: .67;
    line-height: 1.75;
}

.repair-card ul {
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.repair-card li {
    position: relative;
    padding-left: 20px;
    font-size: 12px;
}

.repair-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    border: 1px solid currentColor;
}

.device-repair {
    color: var(--white);
    background: var(--black);
}

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

.device-repair-heading .eyebrow {
    color: var(--yellow);
}

.device-repair-heading > p {
    margin-top: 22px;
    color: rgba(255,255,255,.56);
}

.device-repair-switcher {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    background: var(--black-2);
}

.device-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.device-tab {
    min-height: 82px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 0;
    color: rgba(255,255,255,.58);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.device-tab + .device-tab {
    border-left: 1px solid rgba(255,255,255,.14);
}

.device-tab span {
    color: var(--yellow);
    font-size: 10px;
    font-weight: 900;
}

.device-tab.is-active {
    color: var(--white);
    background: var(--red);
    font-weight: 800;
}

.device-display {
    min-height: 480px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
}

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

.device-label {
    color: var(--yellow);
    letter-spacing: .16em;
    font-size: 9px;
    font-weight: 900;
}

.device-copy h3 {
    margin: 18px 0;
    font-size: clamp(35px, 5vw, 58px);
    letter-spacing: -.045em;
}

.device-copy > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.55);
    line-height: 1.85;
}

.device-copy ul {
    margin: 28px 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.device-copy li {
    position: relative;
    padding-left: 24px;
    color: rgba(255,255,255,.7);
}

.device-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 9px;
    height: 9px;
    background: var(--blue);
}

.device-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.device-actions a {
    min-height: 50px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-weight: 800;
}

.device-actions a:first-child {
    color: var(--black);
    background: var(--yellow);
}

.device-actions a:last-child {
    border: 1px solid rgba(255,255,255,.15);
}

.device-actions span {
    color: var(--red);
}

.device-visual {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(34,105,245,.2), transparent 35%),
        #0d1013;
}

.device-code {
    position: absolute;
    left: -22px;
    bottom: -45px;
    color: rgba(255,255,255,.045);
    font-size: 180px;
    line-height: 1;
    font-weight: 900;
}

.device-panel {
    position: relative;
    z-index: 2;
    width: 310px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    background: var(--black-2);
    box-shadow: 0 30px 65px rgba(0,0,0,.35);
    transform: rotate(3deg);
}

.device-panel > div {
    min-height: 88px;
    padding: 0 16px;
    display: grid;
    align-content: center;
    gap: 7px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.device-panel > div:last-child {
    border-bottom: 0;
}

.device-panel span {
    color: rgba(255,255,255,.34);
    letter-spacing: .12em;
    font-size: 7px;
}

.device-panel strong {
    color: var(--yellow);
    font-size: 11px;
}

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

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

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

.help-links {
    border-top: 2px solid var(--black);
}

.help-links > span {
    display: block;
    padding: 18px 0;
    color: var(--muted);
    letter-spacing: .14em;
    font-size: 8px;
    font-weight: 900;
}

.help-links > a {
    min-height: 88px;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--line);
}

.help-links b {
    color: var(--red);
    font-size: 10px;
}

.help-links strong,
.help-links small {
    display: block;
}

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

.help-links i {
    color: var(--blue);
    font-style: normal;
}

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

.faq-heading {
    max-width: 790px;
    margin-bottom: 50px;
    text-align: center;
}

.faq-heading > p {
    margin-top: 20px;
}

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

.incident-card {
    min-height: 310px;
    padding: 30px;
    display: grid;
    align-content: space-between;
    border: 2px solid var(--black);
    color: var(--white);
    background: var(--red);
    box-shadow: 9px 9px 0 var(--blue);
}

.incident-card span {
    color: var(--yellow);
    font-size: 72px;
    line-height: 1;
    font-weight: 900;
}

.incident-card strong {
    font-size: 28px;
    line-height: 1.05;
}

.incident-card small {
    color: rgba(255,255,255,.42);
    letter-spacing: .13em;
    font-size: 7px;
}

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

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

.faq-item button {
    width: 100%;
    min-height: 84px;
    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 i {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--black);
}

.faq-item button i::before,
.faq-item button i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1px;
    background: var(--black);
    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%);
}

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

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

.final-panel {
    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;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 0%, rgba(34,105,245,.27), transparent 32%),
        var(--black);
}

.final-copy > span {
    color: var(--yellow);
    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;
}

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

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

.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(--blue);
    font-size: 21px;
}

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

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

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

.response-head > div:first-child > span {
    color: var(--red);
    letter-spacing: .15em;
    font-size: 8px;
    font-weight: 900;
}

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

.response-status {
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: .13em;
    font-size: 8px;
}

.response-map {
    padding: 42px 0;
    display: grid;
    grid-template-columns: 1fr 50px 1fr 50px 1fr 50px 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.response-map article {
    min-height: 160px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.12);
}

.response-map article > span {
    color: var(--yellow);
    font-size: 10px;
    font-weight: 900;
}

.response-map strong {
    display: block;
    margin: 18px 0 9px;
    color: var(--white);
    font-size: 18px;
}

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

.response-map > i {
    color: var(--red);
    text-align: center;
    font-style: normal;
    font-size: 22px;
}

.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(--yellow);
}

.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) {
    .live-status,
    .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: 11px;
        display: grid;
        align-content: center;
        gap: 5px;
        border: 1px solid rgba(255,255,255,.14);
        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(--black);
        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);
    }

    .hero-shell {
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 36px;
    }

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

    .response-map {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .response-map > i {
        display: none;
    }
}

@media (max-width: 850px) {
    .hero-shell,
    .quick-heading,
    .quick-layout,
    .network-shell,
    .device-display,
    .content-grid,
    .final-panel {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .incident-console {
        width: min(100%, 580px);
        margin: 0 auto;
    }

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

    .triage-menu {
        grid-template-columns: repeat(2, 1fr);
        border-right: 0;
        border-bottom: 2px solid var(--black);
    }

    .triage-tab:last-child {
        grid-column: 1 / 3;
    }

    .quick-meter {
        min-height: 300px;
    }

    .device-visual {
        min-height: 410px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .incident-card {
        min-height: auto;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 580px) {
    .header-inner,
    .hero-shell,
    .triage-heading,
    .triage-board,
    .quick-heading,
    .quick-layout,
    .network-shell,
    .repair-heading,
    .repair-grid,
    .device-repair-heading,
    .device-repair-switcher,
    .content-grid,
    .faq-heading,
    .faq-layout,
    .response-head,
    .response-map,
    .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: 58px 0 92px;
    }

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

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

    .hero-actions {
        display: grid;
    }

    .primary-action,
    .secondary-action {
        width: 100%;
        justify-content: center;
    }

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

    .hero-facts div {
        padding: 15px 0;
        display: grid;
        grid-template-columns: 105px 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;
    }

    .console-body {
        min-height: 350px;
    }

    .incident-radar {
        width: 180px;
        height: 180px;
    }

    .radar-core {
        width: 105px;
        height: 105px;
    }

    .incident-alert {
        width: 103px;
    }

    .alert-three {
        right: 15px;
        bottom: 25px;
    }

    .emergency-ticket {
        left: 10px;
        bottom: -50px;
        width: 245px;
    }

    .hero-strip {
        display: none;
    }

    .triage-section,
    .quick-section,
    .network-section,
    .repair-section,
    .device-repair,
    .content-section,
    .faq-section {
        padding: 78px 0;
    }

    .triage-heading h2,
    .quick-heading h2,
    .network-copy h2,
    .repair-heading h2,
    .device-repair-heading h2,
    .content-main h2,
    .faq-heading h2,
    .final-copy h2 {
        font-size: 38px;
    }

    .triage-menu {
        padding: 12px;
        grid-template-columns: 1fr;
    }

    .triage-tab:last-child {
        grid-column: auto;
    }

    .triage-display {
        padding: 34px 22px 38px;
    }

    .severity {
        position: static;
        width: 100%;
        margin-bottom: 24px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

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

    .triage-display h3 {
        padding-right: 0;
        font-size: 34px;
    }

    .triage-actions {
        display: grid;
    }

    .triage-actions a {
        width: 100%;
        justify-content: center;
    }

    .quick-item {
        padding: 14px;
    }

    .network-visual {
        min-height: 430px;
        padding: 20px;
    }

    .network-map {
        min-height: 320px;
    }

    .node {
        width: 95px;
        height: 60px;
    }

    .node-browser {
        left: 30%;
    }

    .node-route {
        right: 25%;
    }

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

    .repair-card {
        min-height: 330px;
    }

    .device-tabs {
        grid-template-columns: 1fr;
    }

    .device-tab + .device-tab {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.14);
    }

    .device-copy {
        padding: 31px 21px 38px;
    }

    .device-copy h3 {
        font-size: 34px;
    }

    .device-actions {
        display: grid;
    }

    .device-actions a {
        width: 100%;
        justify-content: center;
    }

    .device-panel {
        width: min(90%, 310px);
    }

    .incident-card {
        grid-template-columns: auto 1fr;
    }

    .incident-card small {
        grid-column: 1 / 3;
    }

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

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

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

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

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

    .incident-radar > i {
        animation: none;
    }
}
