:root {
    --ink: #11172f;
    --muted: #7f88a4;
    --primary: #4f5cf6;
    --primary-dark: #3542df;
    --primary-soft: #eef0ff;
    --line: #e7e9f4;
    --surface: rgba(255, 255, 255, .86);
    --page: #f7f8ff;
    --success: #20c78b;
    --shadow: 0 24px 70px rgba(52, 61, 145, .14);
    color-scheme: light;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--page);
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 78% 18%, rgba(112, 93, 255, .11), transparent 26rem),
        radial-gradient(circle at 4% 45%, rgba(40, 204, 178, .08), transparent 24rem),
        linear-gradient(180deg, #fff 0, #f8f8ff 46%, #fff 100%);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.page-glow {
    position: fixed;
    z-index: -1;
    width: 27rem;
    height: 27rem;
    border-radius: 50%;
    filter: blur(16px);
    pointer-events: none;
}

.page-glow-left {
    top: 30rem;
    left: -20rem;
    background: rgba(40, 204, 178, .14);
}

.page-glow-right {
    top: -17rem;
    right: -14rem;
    background: rgba(90, 78, 255, .18);
}

.site-header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 48px));
    height: 88px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.8px;
}

.brand-icon {
    display: grid;
    width: 46px;
    height: 46px;
    padding: 8px;
    color: #fff;
    border-radius: 15px;
    background: linear-gradient(145deg, #5163ff, #4648eb);
    box-shadow: 0 10px 24px rgba(79, 92, 246, .28);
}

.brand-icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: currentColor;
}

.brand-icon .brand-icon-line {
    fill: none;
    stroke: #5361f5;
    stroke-linecap: round;
    stroke-width: 4.5;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #5e6680;
    font-size: 15px;
    font-weight: 600;
}

.header-actions > a {
    transition: color .2s ease, transform .2s ease;
}

.header-actions > a:hover {
    color: var(--primary);
}

.promotion-language {
    position: relative;
    color: #5e6680;
}

.promotion-language-trigger {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: inherit;
    border: 1px solid rgba(17, 23, 47, .09);
    border-radius: 14px;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 7px 22px rgba(47, 52, 108, .06);
    cursor: pointer;
    font: inherit;
}

.promotion-language svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-inline-end: 7px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.8;
}

.promotion-language-current-flag,
.language-option-flag {
    display: block;
    flex: 0 0 auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid rgba(17, 23, 47, .08);
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(17, 23, 47, .08);
}

.promotion-language-current-flag {
    width: 20px;
    margin-inline-end: 6px;
}

.promotion-language-current-name {
    min-width: 0;
    max-width: 118px;
    overflow: hidden;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.promotion-language-chevron {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    margin: 0 2px 4px 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: .8;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

html[dir="rtl"] .promotion-language-chevron {
    margin-right: 7px;
    margin-left: 2px;
}

.promotion-language:focus-within .promotion-language-trigger,
.promotion-language-trigger:hover {
    border-color: rgba(79, 92, 246, .45);
    box-shadow: 0 0 0 3px rgba(79, 92, 246, .1);
}

.promotion-language.is-open .promotion-language-chevron {
    margin-top: 4px;
    transform: rotate(225deg);
}

.promotion-language-menu {
    position: absolute;
    z-index: 100;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    display: grid;
    width: min(344px, calc(100vw - 24px));
    max-height: min(430px, calc(100vh - 108px));
    padding: 10px;
    overflow: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    border: 1px solid rgba(17, 23, 47, .09);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 54px rgba(35, 40, 87, .2);
    overscroll-behavior: contain;
}

.promotion-language-menu[hidden] {
    display: none;
}

.language-option {
    display: flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    padding: 8px 10px;
    color: #4f566f;
    border: 0;
    border-radius: 11px;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    text-align: start;
    transition: color .16s ease, background .16s ease;
}

.language-option:hover,
.language-option:focus-visible {
    color: var(--primary);
    outline: 0;
    background: #f0f2ff;
}

.language-option[aria-selected="true"] {
    color: #3545e7;
    background: #e9ecff;
    font-weight: 750;
}

.language-option-flag {
    width: 22px;
    margin-inline-end: 7px;
}

.language-option-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    unicode-bidi: plaintext;
    white-space: nowrap;
}

.language-option-check {
    margin-inline-start: auto;
    padding-inline-start: 5px;
    color: var(--primary);
    opacity: 0;
}

.language-option[aria-selected="true"] .language-option-check {
    opacity: 1;
}

.web-entry {
    padding: 12px 20px;
    color: var(--ink) !important;
    border: 1px solid rgba(17, 23, 47, .09);
    border-radius: 14px;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 7px 22px rgba(47, 52, 108, .06);
}

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

main {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
    align-items: center;
    gap: 5vw;
    min-height: 680px;
    padding: 56px 0 94px;
}

.hero-copy {
    position: relative;
    z-index: 3;
    max-width: 610px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    color: #4a57e8;
    border: 1px solid rgba(79, 92, 246, .13);
    border-radius: 999px;
    background: rgba(239, 240, 255, .78);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .4px;
}

.eyebrow-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(32, 199, 139, .12);
}

.hero h1 {
    margin: 24px 0 20px;
    font-size: clamp(48px, 5.1vw, 76px);
    font-weight: 850;
    line-height: 1.07;
    letter-spacing: -4px;
}

.hero h1 em {
    color: transparent;
    background: linear-gradient(110deg, #4d5ef8 5%, #7956ed 48%, #eb5fa7 98%);
    -webkit-background-clip: text;
    background-clip: text;
    font-style: normal;
}

.hero-description {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
}

.detected-platform {
    min-height: 20px;
    margin-top: 24px;
    color: #646d8a;
    font-size: 13px;
    font-weight: 600;
}

.detected-platform::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 8px 2px 2px;
    border-radius: 50%;
    background: #a6aec3;
}

.detected-platform.is-ready::before {
    background: var(--success);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 15px;
}

.download-card {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 84px;
    padding: 13px 15px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 19px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 32px rgba(53, 60, 124, .07);
    cursor: pointer;
    text-align: start;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.download-card:not(.is-disabled):hover,
.download-card.is-recommended {
    border-color: rgba(79, 92, 246, .4);
    background: #fff;
    box-shadow: 0 17px 38px rgba(70, 79, 177, .14);
    transform: translateY(-3px);
}

.download-card.is-recommended {
    outline: 3px solid rgba(79, 92, 246, .08);
}

.download-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-inline-end: 12px;
    border-radius: 15px;
}

.download-icon svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.android-icon {
    color: #12a677;
    background: #e9fbf4;
}

.apple-icon {
    color: #27304b;
    background: #eff1f7;
}

/* 「添加到桌面」：放在 iOS 下载后面，占满一整行 */
.home-screen-card {
    grid-column: 1 / -1;
    min-height: 70px;
}

.home-screen-icon {
    color: #7046e8;
    background: #f1ecff;
}

.home-screen-icon svg {
    fill: none;
}

.download-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 6px;
}

.download-label {
    overflow: hidden;
    font-size: 15px;
    font-weight: 780;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.download-meta {
    overflow: hidden;
    color: #9299af;
    font-size: 11px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.download-arrow {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-inline-start: 4px;
    color: #68718c;
    border-radius: 50%;
    background: #f3f4f9;
    font-size: 14px;
    font-weight: 800;
}

.recommend-badge {
    position: absolute;
    top: -9px;
    inset-inline-end: 14px;
    display: none;
    padding: 4px 9px;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, #5463fa, #734fe6);
    box-shadow: 0 6px 14px rgba(79, 92, 246, .25);
    font-size: 10px;
    font-weight: 700;
}

.download-card.is-recommended .recommend-badge {
    display: block;
}

.download-card.is-disabled {
    color: #7f869a;
    border-style: dashed;
    background: rgba(248, 249, 253, .78);
    box-shadow: none;
}

.download-card.is-disabled:not(:disabled) {
    cursor: pointer;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
    color: #8b93a9;
    font-size: 12px;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trust-row i {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    color: #179f73;
    border-radius: 50%;
    background: #e7faf3;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.hero-visual {
    position: relative;
    display: grid;
    min-height: 570px;
    place-items: center;
    isolation: isolate;
}

.hero-visual::before {
    position: absolute;
    z-index: -3;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(238, 240, 255, .88), rgba(244, 238, 255, .45));
    box-shadow: inset 0 0 0 1px rgba(79, 92, 246, .05);
    content: "";
}

.orbit {
    position: absolute;
    z-index: -2;
    border: 1px dashed rgba(84, 96, 215, .18);
    border-radius: 50%;
}

.orbit::before {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6963ef;
    box-shadow: 0 0 0 7px rgba(105, 99, 239, .1);
    content: "";
}

.orbit-one {
    width: 520px;
    height: 520px;
    animation: spin 32s linear infinite;
}

.orbit-one::before {
    top: 68px;
    right: 66px;
}

.orbit-two {
    width: 405px;
    height: 405px;
    animation: spin-reverse 24s linear infinite;
}

.orbit-two::before {
    bottom: 18px;
    left: 98px;
    background: #25c69a;
}

.phone-shell {
    position: relative;
    width: 300px;
    height: 588px;
    padding: 10px;
    border: 4px solid #15192c;
    border-radius: 43px;
    background: #15192c;
    box-shadow: 0 39px 80px rgba(36, 40, 96, .25), 0 12px 24px rgba(37, 42, 89, .12);
    transform: rotate(2deg);
}

.phone-shell::before {
    position: absolute;
    z-index: 4;
    top: 17px;
    left: 50%;
    width: 82px;
    height: 25px;
    border-radius: 15px;
    background: #111522;
    content: "";
    transform: translateX(-50%);
}

.phone-screen {
    position: relative;
    height: 100%;
    border-radius: 31px;
    background: linear-gradient(180deg, #fff 0, #fff 17%, #f5f6fd 17%, #f5f6fd 100%);
    overflow: hidden;
}

.phone-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 47px;
    padding: 0 22px;
    color: #262b40;
    font-size: 10px;
}

.phone-status span {
    letter-spacing: 2px;
}

.phone-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 19px 18px;
}

.phone-title-row > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone-title-row small {
    color: #a2a8b9;
    font-size: 8px;
}

.phone-title-row strong {
    font-size: 21px;
    letter-spacing: -.5px;
}

.phone-search {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    color: #35415f;
    border-radius: 12px;
    background: #f1f3f9;
    font-size: 24px;
    font-weight: 700;
}

.phone-section-title {
    display: flex;
    justify-content: space-between;
    padding: 10px 18px 8px;
    color: #9299ae;
    font-size: 9px;
    font-weight: 700;
}

.phone-section-title small {
    color: #b5bac9;
}

.conversation-list {
    margin: 0 10px;
    padding: 2px 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(53, 60, 115, .06);
}

.conversation {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 71px;
    margin: 0 7px;
    padding: 8px 6px;
    border-bottom: 1px solid #eef0f6;
}

.conversation:last-child {
    border-bottom: 0;
}

.conversation.active {
    margin-top: 5px;
    border: 0;
    border-radius: 15px;
    background: #f3f4ff;
}

.avatar {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 43px;
    height: 43px;
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
}

.avatar i {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #22c780;
}

.avatar-indigo { background: linear-gradient(145deg, #5362fc, #3f49d8); }
.avatar-teal { background: linear-gradient(145deg, #38d2ae, #17a683); }
.avatar-violet { background: linear-gradient(145deg, #9d6beb, #7046d2); }
.avatar-coral { background: linear-gradient(145deg, #ff917b, #eb5b80); }

.conversation-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 6px;
}

.conversation-copy b {
    color: #22283d;
    font-size: 11px;
}

.conversation-copy small {
    overflow: hidden;
    color: #989eb1;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-side {
    display: flex;
    align-self: stretch;
    flex: 0 0 35px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
}

.conversation-side time {
    color: #adb2c1;
    font-size: 7px;
}

.unread {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    color: #fff;
    border-radius: 50%;
    background: #5361f7;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
}

.phone-tabs {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 69px;
    padding: 6px 8px 10px;
    border-top: 1px solid #f0f1f6;
    background: rgba(255, 255, 255, .94);
}

.phone-tabs > span {
    display: flex;
    min-width: 40px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #939aad;
    font-size: 14px;
}

.phone-tabs small {
    font-size: 7px;
}

.phone-tabs .selected {
    color: #4f5cf6;
}

.floating-message {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 17px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 14px 34px rgba(50, 57, 129, .16);
    backdrop-filter: blur(14px);
    font-size: 12px;
    font-weight: 700;
    animation: float 5s ease-in-out infinite;
}

.floating-message-left {
    top: 170px;
    left: -10px;
}

.floating-message-right {
    right: -3px;
    bottom: 145px;
    color: #fff;
    border-color: rgba(98, 88, 240, .6);
    background: linear-gradient(135deg, #5664f8, #704fe2);
    animation-delay: -2.5s;
}

.mini-avatar {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #5262fb, #4647dd);
    font-size: 10px;
}

.features {
    padding: 92px 0 102px;
    border-top: 1px solid rgba(220, 223, 239, .7);
}

.section-heading {
    max-width: 670px;
    margin: 0 auto 47px;
    text-align: center;
}

.section-heading > span,
.install-kicker {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading h2,
.install-copy h2 {
    margin: 13px 0 13px;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.2;
    letter-spacing: -1.8px;
}

.section-heading p,
.install-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.feature-card {
    min-height: 230px;
    padding: 30px;
    border: 1px solid rgba(226, 229, 241, .88);
    border-radius: 27px;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 16px 44px rgba(56, 61, 121, .06);
    transition: box-shadow .25s ease, transform .25s ease;
}

.feature-card:hover {
    box-shadow: 0 24px 54px rgba(56, 61, 121, .1);
    transform: translateY(-5px);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 17px;
    font-size: 21px;
    font-weight: 800;
}

.feature-blue .feature-icon { color: #4e5cf2; background: #edf0ff; }
.feature-green .feature-icon { color: #13a679; background: #e9fbf4; }
.feature-orange .feature-icon { color: #ee785b; background: #fff0ea; }

.feature-card h3 {
    margin: 24px 0 10px;
    font-size: 19px;
    letter-spacing: -.3px;
}

.feature-card p {
    margin: 0;
    color: #8a92a9;
    font-size: 14px;
    line-height: 1.75;
}

.install-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 88px;
    padding: 52px 58px;
    color: #fff;
    border-radius: 34px;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .18), transparent 13rem),
        linear-gradient(125deg, #414fe5, #6751ec 58%, #965adf);
    box-shadow: 0 28px 60px rgba(64, 73, 195, .22);
    overflow: hidden;
}

.install-section::after {
    position: absolute;
    top: -70px;
    right: 20%;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    content: "";
}

.install-copy {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.install-kicker {
    color: rgba(255, 255, 255, .7);
}

.install-copy h2 {
    margin-top: 10px;
}

.install-copy p {
    color: rgba(255, 255, 255, .73);
}

.share-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 16px 23px;
    color: #4551db;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(34, 31, 117, .18);
    cursor: pointer;
    font-weight: 780;
    transition: transform .2s ease, box-shadow .2s ease;
}

.share-button:hover {
    box-shadow: 0 18px 38px rgba(34, 31, 117, .24);
    transform: translateY(-2px);
}

.share-button span:first-child {
    font-size: 20px;
}

footer {
    display: grid;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 42px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    color: #9aa1b5;
    font-size: 12px;
}

.footer-brand {
    color: var(--ink);
    font-size: 22px;
    font-weight: 850;
}

footer p {
    margin: 0;
    letter-spacing: .7px;
}

footer small {
    justify-self: end;
}

.mobile-download-bar {
    position: fixed;
    z-index: 40;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    display: none;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(223, 226, 242, .92);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 45px rgba(32, 37, 90, .22);
    backdrop-filter: blur(18px);
}

.mobile-download-logo {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 45px;
    height: 45px;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(145deg, #5363fa, #4547dc);
    font-size: 17px;
    font-weight: 900;
}

.mobile-download-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    padding: 0 10px;
}

.mobile-download-copy b {
    font-size: 14px;
}

.mobile-download-copy small {
    overflow: hidden;
    color: #969daf;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#mobile-download-action {
    flex: 0 0 auto;
    padding: 12px 17px;
    color: #fff;
    border-radius: 13px;
    background: linear-gradient(135deg, #5362fa, #604ae0);
    font-size: 13px;
    font-weight: 800;
}

#mobile-download-action.is-disabled {
    color: #8e95a8;
    background: #eef0f5;
}

.guide-overlay[hidden] {
    display: none;
}

.guide-overlay {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
}

.guide-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(16, 20, 43, .54);
    backdrop-filter: blur(7px);
}

.guide-dialog {
    position: relative;
    z-index: 1;
    width: min(390px, 100%);
    padding: 34px 30px 28px;
    border-radius: 27px;
    background: #fff;
    box-shadow: 0 32px 90px rgba(18, 22, 56, .3);
    text-align: center;
}

.guide-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto;
    place-items: center;
    color: #4e5cf1;
    border-radius: 19px;
    background: #edf0ff;
    font-size: 28px;
    font-weight: 800;
}

.guide-dialog h2 {
    margin: 20px 0 10px;
    font-size: 22px;
}

.guide-dialog p {
    margin: 0;
    color: #8a92a9;
    font-size: 14px;
    line-height: 1.75;
}

.guide-dialog > button {
    width: 100%;
    margin-top: 24px;
    padding: 14px;
    color: #fff;
    border: 0;
    border-radius: 14px;
    background: #4f5cf6;
    cursor: pointer;
    font-weight: 800;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 52px;
        padding-top: 62px;
        text-align: center;
    }

    .hero-copy {
        max-width: 680px;
        margin: 0 auto;
    }

    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .download-grid {
        max-width: 620px;
        margin-right: auto;
        margin-left: auto;
    }

    .trust-row {
        justify-content: center;
    }

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

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

    .feature-card {
        min-height: 0;
    }
}

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

    .site-header {
        height: 72px;
    }

    .brand {
        gap: 8px;
        font-size: 22px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .header-actions > a:first-child {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .web-entry {
        max-width: 116px;
        padding: 10px 12px;
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .promotion-language {
        font-size: 12px;
    }

    .promotion-language-trigger {
        min-height: 40px;
        padding: 0 9px;
    }

    .promotion-language svg {
        width: 16px;
        height: 16px;
        margin-inline-end: 5px;
    }

    .promotion-language-current-name {
        max-width: 72px;
    }

    .promotion-language-menu {
        max-height: min(390px, calc(100vh - 94px));
    }

    .hero {
        gap: 20px;
        min-height: auto;
        padding: 36px 0 56px;
    }

    .eyebrow {
        padding: 7px 12px;
        font-size: 12px;
    }

    .hero h1 {
        max-width: 100%;
        margin: 17px 0 15px;
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.1;
        letter-spacing: -2.2px;
        text-wrap: balance;
    }

    .hero h1 > span,
    .hero h1 > em {
        display: inline-block;
        max-width: 100%;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .detected-platform {
        margin-top: 18px;
        padding: 0 8px;
        font-size: 12px;
        line-height: 1.55;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 13px;
    }

    .download-card {
        min-height: 76px;
        padding: 11px 13px;
        border-radius: 17px;
    }

    .download-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .trust-row {
        margin-top: 18px;
        gap: 11px 16px;
    }

    .hero-visual {
        width: min(520px, calc(100vw - 16px));
        min-height: 510px;
        margin-top: 4px;
        margin-bottom: -102px;
        transform: scale(.82);
        transform-origin: top center;
    }

    .hero-visual::before {
        width: 390px;
        height: 390px;
    }

    .orbit-one {
        width: 425px;
        height: 425px;
    }

    .orbit-two {
        width: 345px;
        height: 345px;
    }

    .floating-message-left {
        left: 0;
    }

    .floating-message-right {
        right: 0;
    }

    .features {
        padding: 72px 0 74px;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2,
    .install-copy h2 {
        letter-spacing: -1px;
    }

    .feature-card {
        padding: 25px;
        border-radius: 23px;
    }

    .install-section {
        align-items: stretch;
        flex-direction: column;
        margin-bottom: 68px;
        padding: 36px 27px;
        border-radius: 27px;
        text-align: center;
    }

    .share-button {
        justify-content: center;
        width: 100%;
    }

    footer {
        grid-template-columns: 1fr;
        gap: 7px;
        padding-bottom: 105px;
        text-align: center;
    }

    footer small {
        justify-self: center;
    }

    .mobile-download-bar:not([hidden]) {
        display: flex;
    }
}

@media (max-width: 480px) {
    .web-entry {
        display: none;
    }

    .promotion-language-current-name {
        max-width: 92px;
    }

    .hero {
        padding-top: 30px;
    }

    .download-label {
        font-size: 14px;
    }

    .download-meta {
        font-size: 10px;
    }
}

@media (max-width: 390px) {
    .promotion-language-current-name {
        max-width: 78px;
    }

    .hero-visual {
        margin-right: -16px;
        margin-bottom: -142px;
        margin-left: -16px;
        transform: scale(.75);
    }

    .hero h1 {
        font-size: clamp(34px, 10.8vw, 42px);
        letter-spacing: -1.7px;
    }

    .trust-row {
        gap: 9px 12px;
        font-size: 11px;
    }

    #mobile-download-action {
        padding: 11px 13px;
        font-size: 12px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
