.fpa-page {
    --fpa-accent: #91a0ff;
    --fpa-warm: #edbd67;
    position: relative;
    overflow: hidden;
    color: var(--fp-text, #f4f5f8);
    background:
        radial-gradient(ellipse at 76% 4%, rgba(88, 93, 177, .21), transparent 31rem),
        radial-gradient(ellipse at 8% 34%, rgba(95, 46, 95, .13), transparent 28rem),
        #0b0c10;
}

.fpa-page::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    opacity: .18;
    background-image: radial-gradient(rgba(255, 255, 255, .24) .7px, transparent .7px);
    background-size: 21px 21px;
    mask-image: linear-gradient(180deg, #000, transparent 65%);
}

.fpa-shell {
    position: relative;
    z-index: 1;
    width: min(1260px, calc(100% - 64px));
    margin-inline: auto;
}

.fpa-hero {
    display: grid;
    min-height: 610px;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .95fr);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    padding-block: 66px 78px;
}

.fpa-hero__copy { max-width: 610px; }
.fpa-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #c3c8e6; font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.fpa-kicker > span { width: 8px; height: 8px; border-radius: 50%; background: var(--fpa-warm); box-shadow: 0 0 20px rgba(237, 189, 103, .8); }
.fpa-hero h1 { margin: 0; color: #fbfbff; font-size: clamp(36px, 5.3vw, 68px); font-weight: 850; line-height: 1.35; letter-spacing: -.045em; }
.fpa-hero h1 em { color: var(--fpa-accent); font-style: normal; }
.fpa-hero__intro { max-width: 530px; margin: 22px 0 0; color: #b5b8c6; font-size: 16px; line-height: 2.05; }
.fpa-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fpa-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 11px 20px; border: 1px solid transparent; border-radius: 13px; font: inherit; font-size: 13px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.fpa-button--primary { color: #11131c; background: linear-gradient(120deg, #dce1ff, #96a4ff); box-shadow: 0 10px 28px rgba(100, 112, 208, .25); }
.fpa-button--quiet { color: #e6e8f4; border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .055); }
.fpa-button[hidden] { display: none; }

.fpa-stage { position: relative; display: grid; min-height: 430px; place-items: center; isolation: isolate; }
.fpa-stage__glow { position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(114, 125, 223, .27), rgba(101, 66, 149, .12) 46%, transparent 72%); filter: blur(7px); }
.fpa-stage__orbit { position: absolute; border: 1px solid rgba(174, 182, 255, .11); border-radius: 50%; transform: rotate(-24deg); }
.fpa-stage__orbit--one { width: 88%; height: 68%; }
.fpa-stage__orbit--two { width: 100%; height: 78%; transform: rotate(24deg); }
.fpa-tv { position: relative; z-index: 2; width: min(430px, 88%); padding: 9px; border: 1px solid #484957; border-radius: 17px; background: linear-gradient(145deg, #3b3c48, #171820 42%, #292a36); box-shadow: 0 34px 72px rgba(0, 0, 0, .57), 0 0 55px rgba(120, 126, 223, .13); transform: perspective(900px) rotateY(-8deg) rotateX(2deg); }
.fpa-tv__screen { position: relative; min-height: 255px; overflow: hidden; padding: 17px 20px; border-radius: 10px; background: radial-gradient(ellipse at 69% 82%, rgba(189, 85, 75, .59), transparent 28%), radial-gradient(ellipse at 33% 46%, rgba(115, 82, 174, .55), transparent 30%), linear-gradient(135deg, #252746, #171824 57%, #392a38); }
.fpa-tv__screen::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(8, 9, 15, .14), transparent 30%, rgba(7, 8, 12, .39)); }
.fpa-screen-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; color: #fff; }
.fpa-screen-brand img { border-radius: 8px; object-fit: cover; }
.fpa-screen-brand strong { font-size: 11px; }
.fpa-screen-brand span { margin-inline-start: auto; color: #d2d2df; font-size: 8px; }
.fpa-screen-feature { position: relative; z-index: 1; display: grid; align-content: end; min-height: 148px; }
.fpa-screen-feature span { color: #f2d18e; font-size: 9px; }
.fpa-screen-feature b { margin-top: 8px; color: #fff; font-size: 21px; line-height: 1.55; }
.fpa-screen-feature i { width: 62px; height: 4px; margin-top: 12px; border-radius: 9px; background: #a5a7ff; }
.fpa-screen-cards { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 15px; }
.fpa-screen-cards i { flex: 1; height: 36px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 5px; background: linear-gradient(145deg, rgba(220, 119, 91, .65), rgba(69, 75, 121, .7)); }
.fpa-screen-cards i:nth-child(2) { background: linear-gradient(145deg, rgba(108, 160, 155, .72), rgba(57, 60, 100, .82)); }
.fpa-screen-cards i:nth-child(3) { background: linear-gradient(145deg, rgba(195, 160, 94, .68), rgba(101, 65, 97, .8)); }
.fpa-screen-cards i:nth-child(4) { background: linear-gradient(145deg, rgba(117, 120, 193, .76), rgba(64, 51, 75, .8)); }
.fpa-tv__stand { position: absolute; bottom: -17px; left: 50%; width: 95px; height: 9px; border-radius: 0 0 50% 50%; background: linear-gradient(90deg, transparent, #4a4b56 25%, #4a4b56 75%, transparent); transform: translateX(-50%); }
.fpa-phone { position: absolute; z-index: 3; right: 5%; bottom: 34px; width: 135px; padding: 7px; border: 1px solid #646477; border-radius: 25px; background: linear-gradient(145deg, #383946, #111218 48%, #4a4b58); box-shadow: 0 23px 43px rgba(0, 0, 0, .5); transform: rotate(8deg); }
.fpa-phone__camera { position: absolute; z-index: 2; top: 11px; left: 50%; width: 37px; height: 8px; border-radius: 9px; background: #12131a; transform: translateX(-50%); }
.fpa-phone__screen { display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border-radius: 19px; background: radial-gradient(circle at 50% 18%, rgba(139, 139, 217, .45), transparent 42%), linear-gradient(160deg, #242536, #12131a 70%); }
.fpa-phone__screen img { border-radius: 11px; object-fit: cover; }
.fpa-phone__screen span { color: #fff; font-size: 10px; font-weight: 800; }
.fpa-phone__screen i { width: 72%; height: 5px; border-radius: 8px; background: rgba(232, 233, 255, .18); }
.fpa-phone__screen i:nth-of-type(2) { width: 58%; margin-top: 8px; }
.fpa-phone__screen i:nth-of-type(3) { width: 66%; }
.fpa-float { position: absolute; z-index: 4; padding: 8px 13px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 99px; color: #edf0ff; background: rgba(23, 24, 35, .75); box-shadow: 0 10px 25px rgba(0, 0, 0, .25); backdrop-filter: blur(10px); font-size: 10px; }
.fpa-float--mobile { right: 4%; top: 17%; }
.fpa-float--tv { left: 2%; bottom: 20%; }

.fpa-versions, .fpa-guides, .fpa-faq { padding-block: 54px 76px; scroll-margin-top: 95px; }
.fpa-section-heading { margin-bottom: 28px; }
.fpa-section-heading .fpa-kicker { margin-bottom: 9px; color: #abb2eb; }
.fpa-section-heading h2, .fpa-faq > h2 { margin: 0; color: #f4f5fb; font-size: clamp(24px, 3.2vw, 36px); font-weight: 820; line-height: 1.5; }
.fpa-section-heading > p:last-child { margin: 8px 0 0; color: #a9adba; font-size: 13px; line-height: 1.9; }
.fpa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fpa-card { display: flex; min-height: 245px; flex-direction: column; padding: 21px; border: 1px solid rgba(255, 255, 255, .085); border-radius: 19px; background: linear-gradient(145deg, rgba(28, 30, 41, .96), rgba(17, 18, 25, .96)); box-shadow: 0 15px 38px rgba(0, 0, 0, .16); }
.fpa-card__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.fpa-platform-icon { display: grid; width: 49px; height: 49px; place-items: center; border: 1px solid rgba(255, 255, 255, .09); border-radius: 15px; color: #c8ceff; background: rgba(129, 140, 238, .12); }
.fpa-platform-icon svg { width: 27px; height: 27px; fill: currentColor; }
.fpa-platform-icon--apple svg { width: 24px; height: 24px; }
.fpa-platform-icon--windows svg { width: 24px; height: 24px; }
.fpa-platform-icon--android-tv svg, .fpa-platform-icon--tv svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.fpa-platform-icon--android-tv svg path:first-child { fill: currentColor; stroke: none; }
.fpa-card__tag { color: #8e93a7; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.fpa-card h3 { margin: 18px 0 7px; color: #f3f4fa; font-size: 17px; font-weight: 800; }
.fpa-card > p { margin: 0 0 17px; color: #a8acbb; font-size: 11px; line-height: 1.95; }
.fpa-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.fpa-card__action { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 10px; padding: 8px 13px; border: 1px solid rgba(145, 160, 255, .22); border-radius: 11px; color: #dfe3ff; background: rgba(112, 126, 224, .11); font: inherit; font-size: 10px; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; }
.fpa-card__action span { font-size: 14px; }
.fpa-card__action--pending { color: #9699a7; border-color: rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); cursor: not-allowed; }
.fpa-card__install { min-height: 39px; padding: 8px 12px; border: 0; border-radius: 11px; color: #bdebd6; background: rgba(61, 163, 117, .12); font: inherit; font-size: 10px; cursor: pointer; }
.fpa-card__install[hidden] { display: none; }

.fpa-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.fpa-guide { position: relative; padding: 25px; border: 1px solid rgba(255, 255, 255, .085); border-radius: 19px; background: linear-gradient(145deg, rgba(27, 29, 40, .92), rgba(18, 19, 26, .9)); scroll-margin-top: 100px; }
.fpa-guide__number { position: absolute; top: 22px; left: 22px; color: rgba(160, 170, 255, .27); font: 850 31px/1 Arial, sans-serif; }
.fpa-guide h3 { margin: 0 0 15px; color: #f0f1f8; font-size: 16px; }
.fpa-guide ol { display: grid; gap: 10px; margin: 0; padding-inline-start: 22px; color: #adb1c0; font-size: 11px; line-height: 1.95; }
.fpa-guide li { padding-inline-start: 4px; }
.fpa-guide li::marker { color: var(--fpa-accent); font-weight: 800; }
.fpa-guide .fpa-button { margin-top: 18px; min-height: 41px; }
.fpa-faq { padding-top: 12px; }
.fpa-faq > h2 { margin-bottom: 20px; font-size: 22px; }
.fpa-faq details { border-top: 1px solid rgba(255, 255, 255, .09); }
.fpa-faq details:last-child { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.fpa-faq summary { padding: 17px 2px; color: #e7e8f0; font-size: 12px; font-weight: 750; cursor: pointer; }
.fpa-faq details p { margin: -4px 0 17px; color: #a6aab9; font-size: 11px; line-height: 2; }
.fpa-page .fh-footer { width: min(1260px, calc(100% - 64px)); margin: 0 auto; }
.fpa-page .fh-footer-grid { margin: 0; }

#main-content.fp-page--app .fpa-hero h1 { margin: 0; color: #fbfbff; font-size: clamp(36px, 5.3vw, 68px); font-weight: 850; line-height: 1.35; letter-spacing: -.045em; }
#main-content.fp-page--app .fpa-section-heading h2 { margin: 0; font-size: clamp(24px, 3.2vw, 36px); font-weight: 820; line-height: 1.5; }
#main-content.fp-page--app .fpa-faq > h2 { margin: 0 0 20px; font-size: 22px; font-weight: 820; line-height: 1.5; }
#main-content.fp-page--app .fpa-hero__intro { color: #b5b8c6; }
#main-content.fp-page--app .fpa-section-heading > p:last-child { color: #a9adba; }
#main-content.fp-page--app .fpa-card h3,
#main-content.fp-page--app .fpa-guide h3 { margin-top: 18px; color: #f3f4fa; line-height: 1.55; }
#main-content.fp-page--app .fpa-card > p { color: #a8acbb; }
#main-content.fp-page--app .fpa-guide h3 { margin-top: 0; }
#main-content.fp-page--app .fpa-faq details p { color: #a6aab9; }
#main-content.fp-page--app .fh-footer-grid h2 { margin-bottom: 16px; font-size: 14px; line-height: 1.5; }
#main-content.fp-page--app .fh-footer-grid p { color: #a5a5b3; font-size: 12px; line-height: 2.2; }

@media (hover: hover) and (pointer: fine) {
    .fpa-button:hover, .fpa-card__action:not(:disabled):hover { transform: translateY(-2px); }
    .fpa-card { transition: border-color .18s ease, transform .18s ease, background-color .18s ease; }
    .fpa-card:hover { transform: translateY(-3px); border-color: rgba(145, 160, 255, .24); }
}

@media (max-width: 1000px) {
    .fpa-hero { min-height: 540px; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: 24px; }
    .fpa-stage { min-height: 370px; }
    .fpa-tv__screen { min-height: 220px; }
    .fpa-screen-feature { min-height: 118px; }
    .fpa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .fpa-shell { width: calc(100% - 36px); }
    .fpa-hero { min-height: auto; grid-template-columns: 1fr; gap: 7px; padding-block: 50px 28px; }
    .fpa-hero__copy { order: 1; }
    .fpa-stage { order: 0; min-height: 300px; max-width: 520px; width: 100%; margin-inline: auto; }
    .fpa-tv { width: 76%; }
    .fpa-tv__screen { min-height: 185px; padding: 13px; }
    .fpa-screen-feature { min-height: 103px; }
    .fpa-screen-feature b { font-size: 17px; }
    .fpa-screen-cards i { height: 27px; }
    .fpa-phone { right: 7%; bottom: 25px; width: 105px; border-radius: 20px; }
    .fpa-phone__screen { min-height: 170px; border-radius: 15px; }
    .fpa-phone__screen img { width: 31px; height: 31px; }
    .fpa-stage__orbit--one { width: 95%; }
    .fpa-stage__orbit--two { width: 108%; }
    .fpa-hero h1 { font-size: clamp(34px, 9.7vw, 50px); }
    #main-content.fp-page--app .fpa-hero h1 { font-size: clamp(34px, 9.7vw, 50px); }
    .fpa-hero__intro { font-size: 13px; }
    .fpa-versions, .fpa-guides { padding-block: 42px 55px; }
    .fpa-section-heading h2 { font-size: 25px; }
    .fpa-grid { gap: 10px; }
    .fpa-card { min-height: 238px; padding: 16px; border-radius: 16px; }
    .fpa-card h3 { font-size: 14px; }
    .fpa-card > p { font-size: 10px; }
    .fpa-card__action { width: 100%; padding-inline: 9px; font-size: 9px; }
    .fpa-card__install { width: 100%; }
    .fpa-guide-grid { grid-template-columns: 1fr; }
    .fpa-page .fh-footer { width: calc(100% - 36px); }
}

@media (max-width: 430px) {
    .fpa-grid { grid-template-columns: 1fr; }
    .fpa-card { min-height: 0; }
    .fpa-card__actions { width: 100%; }
    .fpa-card__action { width: auto; }
    .fpa-card__install { width: auto; }
    .fpa-stage { min-height: 250px; }
    .fpa-tv { width: 80%; }
    .fpa-tv__screen { min-height: 160px; }
    .fpa-screen-feature { min-height: 84px; }
    .fpa-screen-feature b { font-size: 14px; }
    .fpa-screen-cards { margin-top: 9px; }
    .fpa-phone { width: 91px; bottom: 18px; }
    .fpa-phone__screen { min-height: 148px; }
    .fpa-float { padding: 6px 10px; font-size: 8px; }
    .fpa-hero__actions { align-items: stretch; flex-direction: column; }
    #main-content.fp-page--app { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
    .fpa-button { width: 100%; }
    .fpa-page .fh-footer { width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) {
    .fpa-button, .fpa-card, .fpa-card__action { transition: none; }
    .fpa-button:hover, .fpa-card:hover, .fpa-card__action:hover { transform: none; }
}
