@font-face {
    font-family: Dana;
    src: url("/fonts/dana/DanaFaNum-Regular.woff2");
}
@font-face {
    font-family: Dana;
    src: url("/fonts/dana/DanaFaNum-Bold.woff2");
    font-weight: 700;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: Dana, Tahoma, sans-serif;
    background:
        radial-gradient(circle at 90% 8%, #f1e8ff, transparent 35%), #f8f7fa;
    color: #2b3c42;
    line-height: 1.8;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    cursor: pointer;
}
.install-shell {
    max-width: 1160px;
    margin: auto;
    padding: 24px;
}
header,
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}
.brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
}
.brand small {
    display: block;
    color: #577884;
    font-size: 12px;
    font-weight: 400;
}
.back {
    color: #9653e4;
    font-size: 14px;
}
.intro {
    text-align: center;
    padding: 64px 0 36px;
    max-width: 760px;
    margin: auto;
}
.eyebrow {
    color: #9653e4;
    font-weight: 700;
}
.intro h1 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.5;
    margin: 16px 0;
}
em {
    font-style: normal;
    color: #9653e4;
}
.intro p {
    color: #577884;
    font-size: 18px;
}
.benefits {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
}
.benefits span {
    padding: 7px 14px;
    border-radius: 30px;
    background: white;
    border: 1px solid #eaeff1;
}
.platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.platform {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid #eaeff1;
    background: white;
    border-radius: 30px;
    box-shadow: 0 12px 38px #2b3c420a;
    transition: transform 0.2s;
}
.platform:hover {
    transform: translateY(-3px);
}
.platform-icon {
    width: 92px;
    height: 64px;
    display: grid;
    place-items: center;
    background: #f1e8ff;
    color: #9653e4;
    border-radius: 20px;
    font-weight: 700;
    font-size: 22px;
    direction: ltr;
}
.badge {
    align-self: flex-start;
    font-size: 12px;
    color: #577884;
    margin-top: 16px;
}
.platform h2 {
    margin: 8px 0;
    font-size: 27px;
}
.platform p {
    color: #577884;
    margin: 0 0 24px;
    flex: 1;
}
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 13px 20px;
    border: 0;
    border-radius: 14px;
    font-weight: 700;
}
.primary {
    color: white;
    background: linear-gradient(135deg, #9653e4, #7b39d9);
    box-shadow: 0 8px 20px #9653e42b;
}
.soft {
    color: #9653e4;
    background: #f1e8ff;
}
.platform small {
    text-align: center;
    color: #577884;
    margin-top: 12px;
}
.web-access {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px;
    background: #f1e8ff;
    border-radius: 24px;
    margin-top: 28px;
}
.web-access h2 {
    font-size: 21px;
    margin: 0;
}
.web-access p {
    color: #577884;
    margin: 6px 0 0;
}
.web-access .button {
    flex-shrink: 0;
    background: white;
}
.help {
    margin: 44px 0;
}
.help > h2 {
    text-align: center;
    font-size: 26px;
}
.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.help-grid div {
    background: white;
    border: 1px solid #eaeff1;
    border-radius: 20px;
    padding: 22px;
}
.help-grid p {
    color: #577884;
    font-size: 14px;
}
footer {
    border-top: 1px solid #eaeff1;
    padding: 24px 0;
    color: #577884;
    font-size: 13px;
}
dialog {
    border: 0;
    border-radius: 26px;
    max-width: 620px;
    width: calc(100% - 32px);
    padding: 32px;
    color: #2b3c42;
    max-height: 90dvh;
    overflow: auto;
    box-shadow: 0 24px 80px #2b3c4233;
    animation: appear 0.2s;
}
dialog::backdrop {
    background: #2b3c4277;
    backdrop-filter: blur(4px);
}
.close {
    float: left;
    border: 0;
    background: #f1e8ff;
    color: #9653e4;
    border-radius: 12px;
    width: 36px;
    height: 36px;
    font-size: 24px;
}
dialog h2 {
    font-size: 24px;
    margin-top: 12px;
}
dialog p,
dialog li span {
    color: #577884;
}
dialog ol {
    padding-right: 24px;
}
dialog li {
    margin: 18px 0;
    padding-right: 8px;
}
dialog li span {
    display: block;
    font-size: 14px;
}
#install-feedback {
    font-size: 13px;
}
button:focus-visible,
a:focus-visible {
    outline: 3px solid #00bcd4;
    outline-offset: 4px;
}
[hidden] {
    display: none !important;
}
@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@media (max-width: 700px) {
    .install-shell {
        padding: 18px;
    }
    .platforms,
    .help-grid {
        grid-template-columns: 1fr;
    }
    .intro {
        padding: 36px 0 24px;
    }
    .intro p {
        font-size: 16px;
    }
    .platform {
        padding: 24px;
    }
    .web-access {
        flex-direction: column;
        align-items: stretch;
    }
    .brand small {
        max-width: 160px;
    }
    .back {
        font-size: 12px;
    }
    footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .help {
        margin: 28px 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
