:root {
    --setup-night: #101629;
    --setup-night-soft: #17213b;
    --setup-ice: #cce4ff;
    --setup-muted: #66708b;
    --setup-line: rgba(30, 102, 245, 0.15);
}

.setup-page {
    overflow-x: hidden;
    background: #f5f7fb;
}

.setup-nav {
    background: rgba(16, 22, 41, 0.96);
    box-shadow: none;
}

.setup-nav .logo {
    color: white;
}

.setup-nav .logo-icon {
    background: linear-gradient(135deg, #8bd5ff, #1e66f5 72%);
    box-shadow: 0 0 24px rgba(91, 173, 255, 0.45);
}

.setup-nav .nav-links a {
    color: rgba(231, 240, 255, 0.74);
}

.setup-nav .nav-links a:hover,
.setup-nav .nav-links a:focus-visible {
    color: white;
}

.setup-hero {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    overflow: hidden;
    padding: 94px 0 115px;
    color: white;
    background:
        radial-gradient(ellipse at 67% 46%, rgba(28, 89, 184, 0.25), transparent 42%),
        linear-gradient(118deg, #101629 1%, #10182b 53%, #111d39 100%);
}

.setup-hero::after {
    position: absolute;
    z-index: -1;
    right: -14%;
    bottom: -58%;
    width: 76vw;
    height: 76vw;
    border: 1px solid rgba(169, 212, 255, 0.1);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 70px rgba(169, 212, 255, 0.025), 0 0 0 140px rgba(169, 212, 255, 0.018);
}

.setup-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(65px);
    opacity: 0.6;
    pointer-events: none;
}

.setup-glow-blue {
    top: 21%;
    right: 13%;
    width: 300px;
    height: 300px;
    background: rgba(29, 102, 245, 0.35);
    animation: glow-breathe 8s ease-in-out infinite alternate;
}

.setup-glow-coral {
    right: 0;
    bottom: 5%;
    width: 210px;
    height: 210px;
    background: rgba(254, 100, 11, 0.14);
    animation: glow-breathe 11s ease-in-out infinite alternate-reverse;
}

.setup-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: 42px;
}

.setup-copy {
    position: relative;
    z-index: 1;
    max-width: 570px;
}

.setup-eyebrow,
.section-index {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #8bbfff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7dd3fc;
    box-shadow: 0 0 14px rgba(125, 211, 252, 0.9);
}

.setup-copy h1 {
    margin-bottom: 24px;
    color: white;
    font-size: clamp(42px, 5.1vw, 66px);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 1.03;
}

.setup-copy h1 span {
    color: #9ed7ff;
}

.setup-lede {
    max-width: 485px;
    margin-bottom: 32px;
    color: rgba(225, 236, 255, 0.76);
    font-size: 18px;
    line-height: 1.7;
}

.review-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.review-link span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(168, 213, 255, 0.34);
    border-radius: 50%;
    color: #a6d7ff;
    transition: transform 180ms ease, background 180ms ease;
}

.review-link:hover span,
.review-link:focus-visible span {
    transform: translateY(3px);
    background: rgba(120, 191, 255, 0.12);
}

.setup-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 19px;
    margin-top: 47px;
    color: rgba(217, 230, 251, 0.68);
    font-size: 12px;
}

.setup-facts span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.setup-facts b {
    color: #87caff;
    font-size: 16px;
}

.setup-art {
    position: relative;
    max-width: 650px;
    margin: 0;
    justify-self: end;
}

.art-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.24;
    border: 1px solid rgba(188, 222, 255, 0.22);
    border-radius: 30px;
    background: #101629;
    box-shadow: 0 30px 85px rgba(0, 0, 0, 0.37), 0 0 45px rgba(49, 117, 239, 0.14);
    transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
    animation: art-float 8s ease-in-out infinite;
}

.art-frame::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(187, 226, 255, 0.12), transparent 30%, transparent 68%, rgba(255, 145, 87, 0.08));
    content: "";
    pointer-events: none;
}

.art-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-caption {
    position: absolute;
    right: 20px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(239, 246, 255, 0.86);
    background: rgba(15, 22, 41, 0.64);
    backdrop-filter: blur(14px);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.art-caption i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #84e0ff;
    box-shadow: 0 0 10px #84e0ff;
}

.art-note {
    margin-top: 15px;
    color: rgba(214, 228, 251, 0.56);
    font-size: 12px;
    text-align: right;
}

.setup-scroll-hint {
    position: absolute;
    bottom: 29px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    color: rgba(222, 234, 252, 0.53);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.setup-scroll-hint span {
    width: 23px;
    height: 1px;
    background: #77bdff;
}

.setup-intro {
    padding: 90px 0 38px;
    background: #f5f7fb;
}

.intro-row {
    display: grid;
    grid-template-columns: 0.48fr 1fr;
    gap: 34px;
    align-items: start;
}

.intro-row .section-index,
.install-copy .section-index {
    margin-top: 9px;
    color: #5575b4;
}

.intro-row h2,
.install-copy h2 {
    margin-bottom: 12px;
    color: #19233c;
    font-size: clamp(30px, 3vw, 42px);
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.intro-row p:last-child {
    max-width: 650px;
    color: #64708a;
    font-size: 16px;
    line-height: 1.7;
}

.policy-section {
    padding: 25px 0 90px;
    background: #f5f7fb;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.policy-card {
    position: relative;
    display: flex;
    min-height: 295px;
    flex-direction: column;
    padding: 30px 32px;
    overflow: hidden;
    border: 1px solid var(--setup-line);
    border-radius: 20px;
    background: white;
    box-shadow: 0 15px 40px rgba(34, 59, 107, 0.055);
}

.policy-card::after {
    position: absolute;
    top: -60px;
    right: -54px;
    width: 145px;
    height: 145px;
    border: 1px solid rgba(30, 102, 245, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(30, 102, 245, 0.025), 0 0 0 44px rgba(30, 102, 245, 0.02);
    content: "";
}

.policy-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 23px;
}

.policy-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    font-size: 20px;
    font-weight: 700;
}

.privacy-icon {
    color: #1e66f5;
    background: #eaf2ff;
}

.terms-icon {
    color: #b44f8e;
    background: #fff0fa;
}

.policy-label {
    color: #8290aa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.policy-card h3 {
    max-width: 420px;
    margin-bottom: 12px;
    color: #202b45;
    font-size: 22px;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.policy-card p {
    max-width: 490px;
    margin-bottom: 23px;
    color: #67738e;
    font-size: 14px;
    line-height: 1.75;
}

.policy-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: #245fd1;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.policy-link span {
    transition: transform 160ms ease;
}

.policy-link:hover span,
.policy-link:focus-visible span {
    transform: translate(2px, -2px);
}

.install-section {
    padding: 0 0 92px;
    background: #f5f7fb;
}

.install-panel {
    position: relative;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) minmax(290px, 0.86fr);
    gap: 28px;
    align-items: center;
    padding: 42px;
    overflow: hidden;
    border: 1px solid rgba(196, 222, 255, 0.19);
    border-radius: 24px;
    color: white;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(75, 131, 255, 0.25), transparent 46%),
        linear-gradient(124deg, #111a31, #172442 75%, #16203a);
    box-shadow: 0 24px 55px rgba(23, 42, 79, 0.15);
}

.install-panel::before {
    position: absolute;
    right: -50px;
    bottom: -150px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(183, 216, 255, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(183, 216, 255, 0.03), 0 0 0 64px rgba(183, 216, 255, 0.02);
    content: "";
}

.install-panel-mark {
    display: grid;
    width: 70px;
    height: 70px;
    grid-template: repeat(2, 1fr) / repeat(2, 1fr);
    gap: 4px;
    filter: drop-shadow(0 0 18px rgba(65, 150, 255, 0.4));
    transform: rotate(-8deg) perspective(50px) rotateY(-8deg);
}

.install-panel-mark span {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 3px;
    background: linear-gradient(145deg, #d9f2ff, #4b9bfa 62%, #1958cd);
}

.install-panel-mark span:nth-child(2),
.install-panel-mark span:nth-child(3) {
    background: linear-gradient(145deg, #b4eaff, #3486ec 70%, #164bb3);
}

.install-copy {
    position: relative;
    z-index: 1;
}

.install-copy .section-index {
    margin-bottom: 15px;
    color: #97c7ff;
}

.install-copy h2 {
    margin-bottom: 11px;
    color: white;
    font-size: 34px;
}

.install-copy > p:not(.section-index) {
    max-width: 560px;
    margin-bottom: 15px;
    color: rgba(223, 234, 253, 0.73);
    font-size: 14px;
    line-height: 1.65;
}

.install-copy .runtime-note {
    color: rgba(201, 218, 247, 0.54) !important;
    font-size: 11px !important;
}

.install-copy .runtime-note span {
    margin-right: 5px;
    color: #91c9ff;
}

.install-action {
    position: relative;
    z-index: 1;
}

.install-button {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 14px;
    padding: 14px 17px;
    border: 1px solid rgba(255, 255, 255, 0.57);
    border-radius: 14px;
    color: #17233e;
    background: linear-gradient(120deg, #f5fbff, #b8e3ff);
    box-shadow: 0 13px 25px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.install-button:hover,
.install-button:focus-visible {
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.24), 0 0 26px rgba(116, 196, 255, 0.16);
}

.install-button:focus-visible,
.review-link:focus-visible,
.policy-link:focus-visible,
.install-footnote a:focus-visible {
    outline: 3px solid #72c8ff;
    outline-offset: 4px;
}

.install-button-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 11px;
    color: white;
    background: #1e66f5;
    font-size: 24px;
    font-weight: 500;
}

.install-button strong,
.install-button small {
    display: block;
}

.install-button strong {
    font-size: 14px;
}

.install-button small {
    margin-top: 3px;
    color: #65738c;
    font-size: 11px;
}

.install-button-arrow {
    margin-left: auto;
    color: #2c5eac;
    font-size: 17px;
}

.install-footnote {
    margin-top: 12px;
    color: rgba(217, 230, 253, 0.56);
    font-size: 10px;
    line-height: 1.5;
}

.install-footnote a {
    color: #b5dbff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.after-install {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 21px 3px 0;
    color: #67738c;
    font-size: 12px;
}

.after-install-number {
    flex: 0 0 auto;
    color: #365eac;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.after-install p {
    flex: 1;
    margin: 0;
}

.after-install a {
    flex: 0 0 auto;
    color: #245fd1;
    font-weight: 700;
    text-decoration: none;
}

.setup-footer {
    padding: 22px 0;
    background: #101629;
}

.setup-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 0;
    border-top: 0;
    color: rgba(232, 241, 255, 0.57);
    font-size: 12px;
}

.setup-footer .footer-bottom span:last-child {
    display: flex;
    gap: 22px;
}

.setup-footer a {
    color: rgba(232, 241, 255, 0.73);
    text-decoration: none;
}

.setup-footer a:hover,
.setup-footer a:focus-visible {
    color: white;
}

@keyframes glow-breathe {
    from { transform: translate3d(-8px, -6px, 0) scale(0.92); opacity: 0.42; }
    to { transform: translate3d(15px, 14px, 0) scale(1.08); opacity: 0.72; }
}

@keyframes art-float {
    0%, 100% { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg) translateY(0); }
    50% { transform: perspective(1400px) rotateY(-2deg) rotateX(0deg) translateY(-8px); }
}

@media (max-width: 880px) {
    .setup-hero-grid {
        grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
        gap: 25px;
    }

    .setup-copy h1 {
        font-size: clamp(40px, 6vw, 55px);
    }

    .install-panel {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .install-panel-mark {
        width: 58px;
        height: 58px;
    }

    .install-action {
        grid-column: 2;
    }
}

@media (max-width: 680px) {
    .setup-nav .nav-content {
        padding: 0.8rem 0;
    }

    .setup-nav .nav-links {
        gap: 13px;
    }

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

    .setup-hero {
        min-height: 0;
        padding: 61px 0 88px;
    }

    .setup-hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .setup-copy h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .setup-lede {
        max-width: 420px;
        font-size: 16px;
    }

    .setup-facts {
        margin-top: 31px;
    }

    .setup-art {
        width: 100%;
        justify-self: stretch;
    }

    .art-frame {
        border-radius: 21px;
        transform: none;
        animation: none;
    }

    .art-note {
        text-align: left;
    }

    .setup-scroll-hint {
        display: none;
    }

    .setup-intro {
        padding: 62px 0 23px;
    }

    .intro-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .intro-row .section-index {
        margin: 0 0 8px;
    }

    .policy-section {
        padding: 14px 0 64px;
    }

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

    .policy-card {
        min-height: 0;
        padding: 25px 23px;
    }

    .policy-card h3 {
        font-size: 20px;
    }

    .install-section {
        padding-bottom: 61px;
    }

    .install-panel {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 28px 23px;
        border-radius: 19px;
    }

    .install-panel-mark {
        width: 48px;
        height: 48px;
    }

    .install-action {
        grid-column: auto;
    }

    .install-copy h2 {
        font-size: 30px;
    }

    .after-install {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px 13px;
    }

    .after-install p {
        flex-basis: calc(100% - 58px);
    }

    .after-install a {
        margin-left: 46px;
    }
}

@media (max-width: 420px) {
    .setup-nav .logo {
        gap: 8px;
        font-size: 20px;
    }

    .setup-nav .logo-icon {
        width: 27px;
        height: 27px;
    }

    .setup-nav .nav-links {
        gap: 10px;
    }

    .setup-nav .nav-links a {
        font-size: 11px;
    }

    .install-button {
        gap: 10px;
        padding: 12px;
    }

    .install-button strong {
        font-size: 12px;
    }
}

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