:root {
    --landing-cream: #f5f0df;
    --landing-paper: #fffdf5;
    --landing-red: #f22f43;
    --landing-dark: #17161b;
    --landing-muted: #8d8992;
}

html {
    scroll-snap-type: y proximity;
}

body.compact-landing {
    margin: 0;
    min-width: 320px;
    color: var(--landing-dark);
    background: var(--landing-dark);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

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

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.compact-shell {
    position: relative;
    width: min(100%, 1600px);
    margin: 0 auto;
    overflow: hidden;
    background: var(--landing-cream);
}

.compact-header {
    position: absolute;
    z-index: 30;
    top: 0;
    right: 0;
    left: 0;
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 18px clamp(22px, 5vw, 72px);
}

.compact-header .brand {
    position: relative;
    z-index: 2;
}

.compact-header .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    box-shadow: none;
    transform: none;
}

.compact-header .brand-wordmark {
    font-size: 19px;
}

.compact-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.compact-nav button,
.compact-nav a {
    padding: 7px 0;
    color: var(--landing-dark);
    background: transparent;
    border: 0;
    cursor: pointer;
    font: 800 11px var(--body);
    text-transform: uppercase;
}

.compact-nav button {
    opacity: .66;
}

.compact-nav button:hover {
    opacity: 1;
}

.compact-nav a {
    color: #fff;
    padding: 13px 17px;
    background: var(--landing-red);
    border-radius: 999px;
}

.compact-nav a.nav-lang {
    background: rgba(25, 25, 29, 0.08);
    color: var(--landing-dark);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.compact-nav a.nav-lang:hover {
    background: rgba(25, 25, 29, 0.15);
    transform: translateY(-1px);
}


.compact-scene {
    position: relative;
    min-height: 100svh;
    scroll-snap-align: start;
}

.compact-hero {
    display: grid;
    place-items: center;
    padding: 108px 24px 42px;
    overflow: hidden;
    background: var(--landing-cream);
}

.compact-hero::before {
    position: absolute;
    top: -24vw;
    left: 50%;
    width: min(88vw, 1180px);
    aspect-ratio: 1;
    content: '';
    background: rgba(242, 47, 67, .055);
    border-radius: 50%;
    transform: translateX(-50%);
}

.compact-hero::after {
    position: absolute;
    right: -100px;
    bottom: -130px;
    width: 340px;
    height: 340px;
    content: '';
    background: #ded5ff;
    border-radius: 50%;
    opacity: .7;
}

.scene-fire {
    position: absolute;
    z-index: 1;
    width: auto;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 14px 20px rgba(201, 24, 49, .18));
}

.scene-fire--hero-left {
    top: 27%;
    left: 8%;
    height: clamp(88px, 9vw, 132px);
    transform: rotate(-13deg);
}

.scene-fire--hero-right {
    right: 7%;
    bottom: 16%;
    height: clamp(104px, 11vw, 158px);
    transform: rotate(11deg);
}

.scene-fire--checkout {
    right: 8%;
    bottom: 19%;
    height: clamp(92px, 9vw, 136px);
    transform: rotate(8deg);
    opacity: .86;
}

.compact-hero-content {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-pepper {
    position: relative;
    width: clamp(128px, 15vw, 208px);
    margin-bottom: clamp(8px, 1.4vh, 18px);
    transform: rotate(-8deg);
    filter: drop-shadow(14px 17px 0 rgba(25, 25, 29, .12));
}

.hero-pepper svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.hero-pepper-stem {
    fill: none;
    stroke: var(--landing-dark);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3.2;
}

.hero-pepper-body {
    fill: var(--landing-red);
    stroke: var(--landing-dark);
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.compact-hero h1 {
    margin: 0;
    font: 800 clamp(56px, 8.2vw, 116px)/.88 var(--display);
    letter-spacing: -.07em;
}

.compact-hero h1 em {
    color: var(--landing-red);
    font-style: normal;
}

.compact-hero p {
    max-width: 610px;
    margin: clamp(22px, 3vh, 34px) 0 0;
    color: #5d5961;
    font-size: clamp(15px, 1.45vw, 19px);
    line-height: 1.55;
}

.compact-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-top: clamp(26px, 3.8vh, 42px);
}

.compact-primary,
.modal-primary {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: #fff;
    background: var(--landing-red);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.compact-link {
    padding: 10px 0;
    color: var(--landing-dark);
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--landing-red);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.compact-checkout {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 96px 24px 28px;
    color: var(--landing-cream);
    background: var(--landing-dark);
    overflow: hidden;
}

.compact-checkout::before {
    position: absolute;
    top: -330px;
    right: -260px;
    width: 680px;
    height: 680px;
    content: '';
    background: var(--landing-red);
    border-radius: 50%;
    opacity: .16;
}

.compact-checkout::after {
    position: absolute;
    bottom: -260px;
    left: -230px;
    width: 520px;
    height: 520px;
    content: '';
    background: #7557d9;
    border-radius: 50%;
    opacity: .15;
}

.checkout-core {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto 0;
    text-align: center;
}

.checkout-core h2 {
    margin: 0;
    font: 800 clamp(45px, 5vw, 68px)/1 var(--display);
    letter-spacing: -.055em;
}

.checkout-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.checkout-price strong {
    color: var(--landing-red);
    font: 800 clamp(72px, 9vw, 112px)/.86 var(--display);
    letter-spacing: -.07em;
}

.checkout-price>span {
    align-self: flex-start;
    margin-top: 10px;
    color: var(--landing-red);
    font: 800 28px/1 var(--display);
}

.checkout-price small {
    margin-left: 12px;
    color: #aaa6ae;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
}

.checkout-lead {
    max-width: 470px;
    margin: 19px 0 0;
    color: #b7b3bc;
    font-size: 15px;
    line-height: 1.55;
}

.compact-purchase-form {
    width: 100%;
    display: grid;
    gap: 10px;
    margin-top: 25px;
}

.compact-purchase-form .input-wrap input {
    height: 62px;
    padding: 0 54px 0 20px;
    color: var(--landing-dark);
    background: var(--landing-paper);
    border: 0;
    border-radius: 17px;
    font-size: 16px;
    box-shadow: 0 0 0 2px transparent;
}

.compact-purchase-form .input-wrap[data-player-state='found'] input {
    box-shadow: 0 0 0 3px #4dbc70;
}

.compact-purchase-form .input-wrap[data-player-state='missing'] input,
.compact-purchase-form .input-wrap[data-player-state='unavailable'] input {
    box-shadow: 0 0 0 3px var(--landing-red);
}

.compact-purchase-form .input-wrap[data-player-state='checking'] input {
    box-shadow: 0 0 0 3px #8d72ef;
}

.compact-purchase-form .player-check-icon {
    top: 21px;
    right: 20px;
}

.compact-purchase-form .player-check-status {
    min-height: 18px;
    color: #aaa6ae;
    font-size: 12px;
    text-align: left;
}

.compact-purchase-form .check-row {
    grid-template-columns: 18px 1fr;
    gap: 9px;
    margin: 0 0 3px;
    color: #aaa6ae !important;
    font-size: 12px !important;
    line-height: 1.45;
    text-align: left;
}

.compact-purchase-form .check-row a {
    color: #fff;
    text-underline-offset: 3px;
}

.compact-purchase-form .check-row input {
    accent-color: var(--landing-red);
}

.checkout-submit {
    min-height: 60px;
    padding: 0 24px;
    color: #fff;
    background: var(--landing-red);
    border: 0;
    border-radius: 17px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.checkout-submit:disabled {
    color: #6f6b73;
    background: #302e34;
    cursor: not-allowed;
}

.checkout-submit.is-loading {
    opacity: .65;
}

.checkout-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.checkout-links button {
    padding: 6px 0;
    color: #e9e5da;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #55515a;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.checkout-links button:hover {
    color: #fff;
    border-color: var(--landing-red);
}

.checkout-support {
    margin-top: 18px;
    color: #aaa6ae;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.compact-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 0;
    padding-top: 20px;
    color: #9a96a0;
    font-size: 11px;
}

.compact-footer div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.compact-footer a:hover {
    color: #fff;
}

.compact-modal[hidden] {
    display: none;
}

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

.compact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 12, .78);
    backdrop-filter: blur(12px);
}

.compact-modal-panel {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(87svh, 860px);
    overflow-y: auto;
    padding: clamp(28px, 5vw, 58px);
    color: var(--landing-dark);
    background: var(--landing-cream);
    border-radius: 32px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
}

.modal-close {
    position: sticky;
    z-index: 3;
    top: 0;
    float: right;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin: -12px -12px 0 18px;
    color: var(--landing-dark);
    background: rgba(255, 255, 255, .72);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.modal-kicker {
    margin: 0 0 12px;
    color: var(--landing-red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.compact-modal-panel h2 {
    max-width: 650px;
    margin: 0;
    font: 800 clamp(36px, 5.4vw, 64px)/.98 var(--display);
    letter-spacing: -.06em;
}

.modal-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

.modal-feature-list li {
    padding: 18px 0;
    border-top: 1px solid rgba(25, 25, 29, .18);
}

.modal-feature-list strong,
.modal-feature-list span {
    display: block;
}

.modal-feature-list strong {
    font-size: 18px;
}

.modal-feature-list span {
    margin-top: 5px;
    color: #716d75;
    font-size: 13px;
    line-height: 1.45;
}

.modal-note {
    margin: 24px 0;
    color: #716d75;
    font-size: 13px;
    line-height: 1.65;
}

.compact-modal-panel .modal-primary {
    width: 100%;
    text-decoration: none;
}

.compact-modal-panel--download {
    width: min(680px, 100%);
}

.download-tabs {
    display: flex;
    gap: 6px;
    margin-top: 30px;
    padding: 5px;
    background: rgba(25, 25, 29, .07);
    border-radius: 999px;
}

.download-tabs button {
    flex: 1;
    min-height: 42px;
    color: #6c6870;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.download-tabs button.is-active {
    color: #fff;
    background: var(--landing-dark);
}

.download-panel {
    padding-top: 30px;
}

.download-panel h3 {
    margin: 0;
    font: 800 30px var(--display);
}

.download-panel ol {
    display: grid;
    gap: 11px;
    margin: 20px 0 26px;
    padding-left: 23px;
    color: #625e66;
    font-size: 14px;
    line-height: 1.55;
}

.download-panel .modal-primary {
    min-height: 55px;
}

.download-security {
    margin: -8px 0 24px;
    color: #716d75;
    font-size: 12px;
    line-height: 1.55;
}

.download-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.modal-secondary {
    min-height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: var(--landing-dark);
    border: 2px solid var(--landing-dark);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.modal-faq {
    margin-top: 28px;
}

.modal-faq details {
    border-top: 1px solid rgba(25, 25, 29, .18);
}

.modal-faq summary {
    position: relative;
    padding: 20px 42px 20px 0;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 800;
}

.modal-faq summary::after {
    position: absolute;
    top: 18px;
    right: 5px;
    content: '+';
    color: var(--landing-red);
    font-size: 24px;
}

.modal-faq details[open] summary::after {
    content: '−';
}

.modal-faq p {
    margin: -6px 0 22px;
    color: #716d75;
    font-size: 14px;
    line-height: 1.6;
}

.modal-faq a {
    color: var(--landing-red);
    text-decoration: underline;
}

@media (max-height: 760px) and (min-width: 700px) {
    .compact-header {
        min-height: 70px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .compact-hero {
        padding-top: 78px;
        padding-bottom: 22px;
    }

    .hero-pepper {
        width: 120px;
        margin-bottom: 6px;
    }

    .compact-hero h1 {
        font-size: clamp(52px, 7.4vw, 86px);
    }

    .compact-hero p {
        margin-top: 17px;
    }

    .compact-hero-actions {
        margin-top: 21px;
    }

    .compact-checkout {
        padding-top: 72px;
        padding-bottom: 18px;
    }

    .checkout-core h2 {
        font-size: 43px;
    }

    .checkout-price strong {
        font-size: 72px;
    }

    .checkout-lead {
        margin-top: 10px;
    }

    .compact-purchase-form {
        margin-top: 16px;
    }

    .compact-purchase-form .input-wrap input {
        height: 54px;
    }

    .compact-purchase-form .player-check-icon {
        top: 17px;
    }

    .checkout-submit {
        min-height: 52px;
    }

    .checkout-links {
        margin-top: 15px;
    }

    .checkout-support {
        margin-top: 11px;
    }

    .compact-footer {
        padding-top: 14px;
    }
}

@media (max-width: 680px) {
    html {
        scroll-snap-type: none;
    }

    .compact-header {
        min-height: 70px;
        padding: 12px 18px;
    }

    .compact-header .brand {
        gap: 9px;
    }

    .compact-header .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .compact-header .brand-wordmark {
        font-size: 15px;
    }

    .compact-nav {
        gap: 14px;
    }

    .compact-nav button:first-child {
        display: none;
    }

    .compact-nav button,
    .compact-nav a {
        font-size: 9px;
    }

    .compact-nav a {
        padding: 10px 12px;
    }

    .compact-hero {
        min-height: 100svh;
        padding: 82px 18px 28px;
    }

    .compact-hero::before {
        top: -10vw;
        width: 145vw;
    }

    .compact-hero::after {
        right: -130px;
        bottom: -150px;
        width: 280px;
        height: 280px;
    }

    .scene-fire--hero-left {
        top: 25%;
        left: -15px;
        height: 82px;
        opacity: .78;
    }

    .scene-fire--hero-right {
        right: -18px;
        bottom: 15%;
        height: 96px;
        opacity: .82;
    }

    .scene-fire--checkout {
        right: -20px;
        bottom: 18%;
        height: 84px;
        opacity: .55;
    }

    .hero-pepper {
        width: clamp(112px, 34vw, 150px);
        margin-bottom: 16px;
        filter: drop-shadow(9px 11px 0 rgba(25, 25, 29, .12));
    }

    .compact-hero h1 {
        font-size: clamp(48px, 15.2vw, 66px);
        line-height: .91;
    }

    .compact-hero p {
        max-width: 340px;
        margin-top: 24px;
        font-size: 15px;
    }

    .compact-hero-actions {
        width: min(330px, 100%);
        display: grid;
        gap: 11px;
        margin-top: 28px;
    }

    .compact-primary {
        width: 100%;
    }

    .compact-link {
        justify-self: center;
    }

    .compact-checkout {
        min-height: 100svh;
        padding: 76px 18px 22px;
    }

    .compact-checkout::before {
        top: -260px;
        right: -320px;
    }

    .checkout-core h2 {
        font-size: 43px;
    }

    .checkout-price {
        margin-top: 12px;
    }

    .checkout-price strong {
        font-size: 72px;
    }

    .checkout-price>span {
        margin-top: 6px;
        font-size: 22px;
    }

    .checkout-price small {
        margin-left: 8px;
        font-size: 10.5px;
    }

    .checkout-lead {
        margin-top: 14px;
        font-size: 13px;
    }

    .compact-purchase-form {
        margin-top: 18px;
        gap: 7px;
    }

    .compact-purchase-form .input-wrap input {
        height: 56px;
        border-radius: 15px;
        font-size: 15px;
    }

    .compact-purchase-form .player-check-icon {
        top: 18px;
    }

    .compact-purchase-form .player-check-status {
        min-height: 17px;
        font-size: 11px;
    }

    .compact-purchase-form .check-row {
        font-size: 11px !important;
    }

    .checkout-submit {
        min-height: 55px;
        border-radius: 15px;
    }

    .checkout-links {
        gap: 17px;
        margin-top: 18px;
    }

    .checkout-links button {
        font-size: 11px;
    }

    .checkout-support {
        margin-top: 14px;
        font-size: 11px;
    }

    .compact-footer {
        display: block;
        margin-top: 0;
        padding-top: 12px;
        text-align: center;
    }

    .compact-footer>span {
        display: none;
    }

    .compact-footer div {
        justify-content: center;
        gap: 10px 15px;
    }

    .compact-footer a {
        font-size: 10.5px;
    }

    .compact-modal {
        padding: 10px;
    }

    .compact-modal-panel {
        max-height: 92svh;
        padding: 27px 20px;
        border-radius: 23px;
    }

    .modal-close {
        width: 40px;
        height: 40px;
        margin: -8px -6px 0 12px;
    }

    .modal-kicker {
        font-size: 10px;
    }

    .compact-modal-panel h2 {
        font-size: 35px;
    }

    .modal-feature-list {
        grid-template-columns: 1fr;
        margin-top: 26px;
    }

    .modal-feature-list li {
        padding: 14px 0;
    }

    .download-tabs {
        margin-top: 24px;
    }

    .download-panel {
        padding-top: 23px;
    }

    .download-panel h3 {
        font-size: 25px;
    }

    .download-panel ol {
        font-size: 13px;
    }

    .download-modal-actions {
        grid-template-columns: 1fr;
    }
}
