:root {
    --page: #05080d;
    --page-deep: #02050a;
    --surface: #0a111b;
    --surface-raised: #0d1724;
    --surface-soft: #111c2a;
    --line: rgba(139, 174, 211, 0.17);
    --line-bright: rgba(67, 156, 255, 0.4);
    --blue: #2d8cff;
    --blue-bright: #65b0ff;
    --blue-soft: rgba(45, 140, 255, 0.12);
    --white: #f7fbff;
    --text: #c7d2df;
    --muted: #8494a8;
    --green: #54d6a0;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 36px;
}

body {
    min-width: 280px;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 14% -8%, rgba(25, 112, 222, 0.2), transparent 31rem),
        radial-gradient(circle at 95% 20%, rgba(23, 84, 151, 0.11), transparent 30rem),
        linear-gradient(180deg, var(--page-deep), var(--page) 38rem, #060b12);
    font-family: "Aptos", "Trebuchet MS", sans-serif;
    font-size: 16px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue-bright);
}

a:focus-visible,
summary:focus-visible {
    border-radius: 6px;
    outline: 3px solid rgba(45, 140, 255, 0.42);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 9px;
    color: var(--page);
    background: var(--white);
    font-weight: 800;
    transform: translateY(-160%);
}

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

.site-header,
main,
.site-footer {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 84px;
    border-bottom: 1px solid var(--line);
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 46px;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--blue-bright);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.brand-mark .shield {
    fill: rgba(45, 140, 255, 0.12);
    stroke: var(--blue);
}

.brand-copy {
    display: grid;
    line-height: 1.08;
}

.brand-copy strong {
    font-family: Bahnschrift, "Aptos Display", sans-serif;
    font-size: 1.28rem;
    letter-spacing: 0.01em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-store,
.header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    color: #ddebff;
    background: var(--blue-soft);
    font-size: 0.83rem;
    font-weight: 800;
    text-decoration: none;
}

.header-store {
    border-color: transparent;
    color: var(--muted-strong);
    background: transparent;
}

.header-store:hover,
.header-store:focus-visible {
    border-color: var(--line);
    color: var(--text);
    background: rgba(45, 140, 255, 0.08);
}

.header-contact:hover {
    border-color: var(--blue-bright);
    background: rgba(45, 140, 255, 0.2);
}

.support-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.85fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: center;
    overflow: hidden;
    min-height: 430px;
    margin: 36px 0 24px;
    padding: clamp(34px, 6vw, 68px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(120deg, rgba(13, 23, 36, 0.98), rgba(6, 13, 22, 0.96)),
        var(--surface);
    box-shadow: var(--shadow);
}

.support-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(70, 134, 207, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 134, 207, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
}

.hero-copy,
.connection-diagram {
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-label {
    color: var(--blue-bright);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
h2 {
    font-family: Bahnschrift, "Aptos Display", sans-serif;
}

h1 {
    max-width: 700px;
    margin: 12px 0 16px;
    color: var(--white);
    font-size: clamp(2.75rem, 7vw, 5.65rem);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 0.96;
}

.hero-copy > p {
    max-width: 640px;
    margin: 0;
    color: #aebdce;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.55;
}

.connection-diagram {
    display: grid;
    grid-template-columns: 82px 1fr 82px 1fr 82px;
    align-items: center;
}

.device-node {
    display: grid;
    justify-items: center;
    gap: 9px;
    color: #cdd9e7;
    font-size: 0.7rem;
    font-weight: 800;
}

.device-node svg {
    width: 60px;
    height: 60px;
    padding: 14px;
    border: 1px solid rgba(104, 169, 244, 0.28);
    border-radius: 18px;
    fill: none;
    stroke: var(--blue-bright);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    background: rgba(22, 74, 134, 0.15);
    box-shadow: inset 0 0 22px rgba(45, 140, 255, 0.06), 0 0 24px rgba(45, 140, 255, 0.07);
}

.device-node.is-key svg {
    border-color: rgba(101, 176, 255, 0.52);
    background: rgba(45, 140, 255, 0.2);
}

.connection-line {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, rgba(45, 140, 255, 0.18), var(--blue), rgba(45, 140, 255, 0.18));
}

.connection-line::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1px;
    width: 5px;
    height: 5px;
    border-top: 1px solid var(--blue-bright);
    border-right: 1px solid var(--blue-bright);
    transform: translateY(-50%) rotate(45deg);
}

.connection-line span {
    position: absolute;
    left: 50%;
    bottom: 9px;
    color: #71849a;
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
}

.product-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 24px;
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid var(--line-bright);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(45, 140, 255, 0.11), rgba(10, 17, 27, 0.92));
}

.section-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    color: var(--blue-bright);
    background: rgba(45, 140, 255, 0.15);
}

.section-icon svg,
.tip-card svg,
.email-button svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.product-summary h2 {
    margin: 5px 0 7px;
    color: var(--white);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    line-height: 1.15;
}

.product-summary p {
    max-width: 900px;
    margin: 0;
    color: #aebdce;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    margin-bottom: 72px;
}

.primary-content,
.support-sidebar {
    display: grid;
    min-width: 0;
    gap: 24px;
}

.support-sidebar {
    position: sticky;
    top: 24px;
}

.support-section,
.contact-card,
.compatibility-note {
    border: 1px solid var(--line);
    background: rgba(10, 17, 27, 0.93);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.19);
}

.support-section {
    padding: clamp(24px, 5vw, 46px);
    border-radius: 22px;
}

.section-heading {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.section-index {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-bright);
    border-radius: 12px;
    color: var(--blue-bright);
    background: var(--blue-soft);
    font-family: Bahnschrift, sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
}

.section-heading h2 {
    margin: 4px 0 3px;
    color: var(--white);
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.setup-steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.setup-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
    min-height: 80px;
    padding-bottom: 18px;
}

.setup-steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 38px;
    bottom: 0;
    left: 20px;
    width: 1px;
    background: linear-gradient(var(--blue), rgba(45, 140, 255, 0.1));
}

.setup-steps li > span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(71, 151, 243, 0.34);
    border-radius: 50%;
    color: #cce4ff;
    background: #0d2037;
    font-weight: 850;
}

.setup-steps strong {
    display: block;
    color: var(--white);
    line-height: 1.35;
}

.setup-steps p {
    margin: 4px 0 0;
    color: #9dadbf;
    font-size: 0.91rem;
}

.tip-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    margin-top: 10px;
    padding: 16px;
    border: 1px solid rgba(80, 158, 247, 0.26);
    border-radius: 14px;
    color: var(--blue-bright);
    background: rgba(45, 140, 255, 0.08);
}

.tip-card p {
    margin: 0;
    color: #aec7e2;
    font-size: 0.86rem;
}

.tip-card strong {
    color: #e7f3ff;
}

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

.faq-list details {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 25, 38, 0.74);
}

.faq-list details[open] {
    border-color: rgba(72, 155, 250, 0.35);
    background: rgba(16, 31, 50, 0.82);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 13px 16px;
    color: #e9f2fd;
    cursor: pointer;
    font-size: 0.91rem;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-toggle {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue-soft);
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    border-radius: 1px;
    background: var(--blue-bright);
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.18s ease;
}

.faq-list details[open] .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    padding: 0 18px 18px;
    border-top: 1px solid rgba(139, 174, 211, 0.1);
}

.faq-answer p,
.faq-answer ul {
    margin: 14px 0 0;
    color: #aebdce;
    font-size: 0.89rem;
}

.faq-answer ul {
    display: grid;
    gap: 8px;
    padding-left: 20px;
}

.faq-answer li::marker {
    color: var(--blue);
}

.privacy-section {
    background:
        linear-gradient(145deg, rgba(14, 34, 57, 0.94), rgba(8, 16, 26, 0.95)),
        var(--surface);
}

.privacy-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.privacy-points li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(111, 162, 218, 0.15);
    border-radius: 11px;
    color: #bbcad9;
    background: rgba(4, 11, 19, 0.27);
    font-size: 0.86rem;
}

.privacy-points li > span {
    width: 12px;
    height: 7px;
    margin-top: 5px;
    border-bottom: 2px solid var(--green);
    border-left: 2px solid var(--green);
    transform: rotate(-45deg);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    color: #a9d5ff;
}

.contact-card {
    padding: 26px;
    border-radius: 20px;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a9bdd2;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.availability i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(84, 214, 160, 0.5);
}

.contact-card h2 {
    margin: 12px 0 8px;
    color: var(--white);
    font-size: 1.7rem;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.contact-card > p {
    margin: 0 0 20px;
    color: #94a6ba;
    font-size: 0.88rem;
}

.email-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #328ff8;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(145deg, #2585ef, #1468ca);
    box-shadow: 0 11px 26px rgba(16, 93, 186, 0.24);
    font-size: 0.83rem;
    font-weight: 850;
    text-decoration: none;
}

.email-button:hover {
    background: linear-gradient(145deg, #3698ff, #1975dd);
}

.email-button svg {
    width: 20px;
    height: 20px;
}

.email-address {
    display: block;
    margin: 12px 0 0;
    color: #9bb9d9;
    font-size: 0.79rem;
    text-align: center;
    overflow-wrap: anywhere;
}

.include-list {
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid var(--line);
}

.include-list h3 {
    margin: 0 0 10px;
    color: #e9f2fd;
    font-size: 0.85rem;
}

.include-list ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 18px;
    color: #899db2;
    font-size: 0.78rem;
}

.include-list li::marker {
    color: var(--blue);
}

.compatibility-note {
    padding: 20px;
    border-radius: 16px;
}

.compatibility-note strong {
    color: #dce9f7;
    font-size: 0.82rem;
}

.compatibility-note p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.77rem;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 112px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer strong {
    color: #d8e5f2;
    font-size: 0.88rem;
}

.site-footer p {
    margin: 2px 0 0;
    font-size: 0.73rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 22px;
}

.site-footer a {
    color: #9bb2cb;
    font-size: 0.76rem;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--white);
}

@media (max-width: 980px) {
    .support-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .connection-diagram {
        max-width: 520px;
    }

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

    .support-sidebar {
        position: static;
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
    }
}

@media (max-width: 650px) {
    body {
        font-size: 15.5px;
    }

    .site-header,
    main,
    .site-footer {
        width: min(100% - 24px, 1180px);
    }

    .site-header {
        min-height: 72px;
    }

    .brand-mark {
        width: 36px;
        height: 40px;
    }

    .brand-copy strong {
        font-size: 1.14rem;
    }

    .brand-copy small {
        font-size: 0.57rem;
    }

    .header-store,
    .header-contact {
        padding-inline: 12px;
        font-size: 0.75rem;
    }

    .support-hero {
        gap: 36px;
        margin: 20px 0 14px;
        padding: 29px 21px;
        border-radius: 20px;
    }

    h1 {
        font-size: clamp(2.55rem, 15vw, 4rem);
    }

    .connection-diagram {
        grid-template-columns: 64px 1fr 64px 1fr 64px;
    }

    .device-node svg {
        width: 48px;
        height: 48px;
        padding: 11px;
        border-radius: 14px;
    }

    .device-node {
        font-size: 0.6rem;
    }

    .connection-line span {
        display: none;
    }

    .product-summary {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 22px;
        border-radius: 17px;
    }

    .section-icon {
        width: 46px;
        height: 46px;
    }

    .support-layout,
    .primary-content,
    .support-sidebar {
        gap: 14px;
    }

    .support-sidebar {
        grid-template-columns: 1fr;
    }

    .support-section {
        padding: 23px 19px;
        border-radius: 18px;
    }

    .section-heading {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 22px;
    }

    .section-index {
        width: 38px;
        height: 38px;
    }

    .setup-steps li {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
    }

    .setup-steps li:not(:last-child)::before {
        left: 18px;
    }

    .setup-steps li > span {
        width: 37px;
        height: 37px;
    }

    .faq-list summary {
        min-height: 62px;
        padding-inline: 14px;
    }

    .privacy-points {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 23px 20px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 13px;
        padding: 26px 0;
    }

    .site-footer nav {
        justify-content: flex-start;
    }
}

@media (max-width: 390px) {
    .brand-copy small {
        display: none;
    }

    .header-actions {
        gap: 2px;
    }

    .header-store,
    .header-contact {
        padding-inline: 9px;
    }
}

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

    .faq-toggle::after {
        transition: none;
    }
}

@media print {
    :root {
        --page: #fff;
        --surface: #fff;
        --surface-raised: #fff;
        --white: #000;
        --text: #222;
        --muted: #444;
        --line: #bbb;
        --line-bright: #777;
        color-scheme: light;
    }

    body {
        color: #222;
        background: #fff;
        font-size: 10pt;
    }

    .site-header,
    .connection-diagram,
    .email-button,
    .site-footer {
        display: none;
    }

    main {
        width: 100%;
    }

    .support-hero,
    .product-summary,
    .support-section,
    .contact-card,
    .compatibility-note {
        color: #222;
        background: #fff;
        box-shadow: none;
    }

    .support-hero {
        display: block;
        min-height: 0;
        margin: 0 0 16px;
        padding: 22px;
    }

    .support-layout {
        display: block;
    }

    .support-section,
    .contact-card {
        margin-bottom: 16px;
        break-inside: avoid;
    }

    .faq-list details {
        break-inside: avoid;
    }

    .faq-list details > .faq-answer {
        display: block;
    }
}
