:root {
    color-scheme: dark;
    --bg: #0b0e14;
    --card: #13171f;
    --raised: #191e29;
    --text: #eef1f8;
    --muted: #9ba6b8;
    --cyan: #00e5ff;
    --purple: #ab68ed;
    --border: #28303f;
    --radius: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 650px 420px at 9% 0, rgba(0, 229, 255, .055), transparent), radial-gradient(ellipse 650px 600px at 100% 50%, rgba(122, 65, 208, .065), transparent);
    z-index: -1
}

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

button, input {
    font: inherit
}

button, a {
    touch-action: manipulation
}

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

button {
    cursor: pointer
}

button:disabled {
    cursor: wait;
    opacity: .55
}

input[readonly] {
    cursor: text
}

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 5px
}

label:has(input:focus-visible) {
    outline: 3px solid var(--cyan);
    outline-offset: 4px
}

[hidden] {
    display: none !important
}

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

.shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 36px
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    border-bottom: 1px solid #ffffff0c
}

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

.brand img {
    border-radius: 13px
}

.brand-detail {
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--muted);
    margin-top: 0
}

.help-link {
    font-size: 13px;
    color: var(--muted)
}

.help-link span {
    padding-left: 10px;
    color: var(--cyan)
}

.intro {
    padding: 24px 0 18px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 1.9px;
    font-weight: 700;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.tiny-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px #00e5ff66
}

h1, h2, p {
    margin: 0
}

h1 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -.8px;
    font-weight: 700;
    margin: 8px 0 8px
}

h2 {
    font-size: 17px;
    letter-spacing: -.3px;
    font-weight: 650
}

.gradient-text {
    background: linear-gradient(100deg, #45ddec, #b282f1);
    background-clip: text;
    color: transparent
}

.intro > p {
    font-size: 14px;
    color: var(--muted);
    max-width: 550px
}

.subscription-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 17px 20px;
    margin-bottom: 31px;
    background: #13171f88
}

.sub-icon {
    color: var(--cyan);
    font-size: 27px;
    line-height: 1
}

.sub-info {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.sub-info strong {
    font-size: 13px;
    font-weight: 600
}

.sub-info > span {
    font-size: 12px;
    color: var(--muted)
}

.badge {
    margin-left: auto;
    padding: 5px 10px;
    border: 1px solid #49c6b832;
    background: #49c6b80c;
    color: #65d7b8;
    font-size: 11px;
    border-radius: 7px;
    white-space: nowrap
}

.badge.expired {
    color: #f8be81;
    background: #f8be810c;
    border-color: #f8be8132
}

.checkout-layout {
    display: grid;
    grid-template-columns:minmax(0, 1fr) 330px;
    gap: 36px;
    align-items: start
}

.mode-switch {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #10141b;
    padding: 5px;
    display: grid;
    grid-template-columns:1fr 1fr;
    margin: 0;
    gap: 4px
}

.mode-switch label {
    position: relative;
    cursor: pointer
}

.mode-switch input, .plan input, .method input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.mode-switch span {
    display: block;
    padding: 11px 5px;
    text-align: center;
    border-radius: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600
}

.mode-switch input:checked + span {
    background: #25323e;
    color: #d3fcff;
    box-shadow: 0 1px 4px #0003
}

.mode-note {
    font-size: 12px;
    color: var(--muted);
    margin: 12px 3px 26px;
    min-height: 36px;
    line-height: 1.6
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px
}

.section-heading > span {
    font-size: 10px;
    color: var(--muted)
}

.plans {
    border: 0;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12px
}

.plan {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 19px;
    cursor: pointer;
    min-height: 167px;
    transition: border-color .15s, background .15s
}

.plan:hover {
    border-color: #536075
}

.plan:has(input:checked) {
    border-color: #20bed3;
    background: linear-gradient(135deg, #12303a, #181d2a);
    box-shadow: 0 0 0 1px #20bed31a
}

.plan:has(input:disabled) {
    opacity: .5;
    cursor: default
}

.plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.plan-days {
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -.4px
}

.radio-mark {
    width: 16px;
    height: 16px;
    border: 1px solid #657084;
    border-radius: 50%;
    display: block;
    flex-shrink: 0
}

.plan:has(input:checked) .radio-mark, .method:has(input:checked) .radio-mark {
    border: 5px solid var(--cyan);
    background: #13242c
}

.plan-title {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px
}

.plan-price {
    font-size: 24px;
    font-weight: 650;
    letter-spacing: -.6px;
    margin-top: 15px
}

.plan-meta {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px
}

.plan-promo {
    color: #6de3cc;
    font-size: 10px;
    margin-top: 6px
}

.plan-promo:empty {
    display: none
}

.payment-heading {
    margin-top: 30px
}

.methods {
    border: 0;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px
}

.method {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: #13171f;
    cursor: pointer
}

.method:has(input:checked) {
    border-color: #70808f;
    background: #191e29
}

.method-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #25303f;
    color: #8bdbed;
    text-align: center;
    line-height: 26px
}

.method-label {
    font-size: 12px;
    flex: 1
}

.method .radio-mark {
    width: 15px;
    height: 15px
}

.panel {
    background: linear-gradient(135deg, #171d28, #12161f);
    border: 1px solid var(--border);
    border-radius: var(--radius)
}

.summary {
    padding: 25px;
    position: sticky;
    top: 24px
}

.summary > h2 {
    margin-top: 9px;
    font-size: 19px
}

.order-details {
    padding: 21px 0;
    margin: 0;
    display: grid;
    gap: 13px;
    border-bottom: 1px solid var(--border);
    font-size: 12px
}

.order-details > div {
    display: flex;
    justify-content: space-between;
    gap: 14px
}

.order-details dt {
    color: var(--muted)
}

.order-details dd {
    margin: 0;
    text-align: right
}

.total {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    margin: 23px 0
}

.total > span {
    font-size: 12px;
    color: var(--muted)
}

.total strong {
    font-size: 31px;
    letter-spacing: -1px;
    line-height: 1.2
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    min-height: 48px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
    text-align: center;
    border: 1px solid transparent;
    width: 100%;
    line-height: 1.4;
    transition: filter .15s, transform .15s
}

.button:hover {
    filter: brightness(1.12)
}

.button:active {
    transform: translateY(1px)
}

.primary {
    color: #08161f;
    background: linear-gradient(105deg, #37d9e9, #8ca5ef);
    box-shadow: 0 3px 20px #19ceda0c
}

.primary > span:first-child {
    flex: 1
}

.secondary {
    background: #212a38;
    border-color: #39475b;
    color: var(--text)
}

.secure-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    text-align: center;
    font-size: 10px;
    color: var(--muted);
    line-height: 1.6;
    padding: 13px 8px 22px
}

.secure-note span {
    color: var(--cyan)
}

.summary-bottom {
    border-top: 1px solid var(--border);
    padding-top: 19px
}

.summary-bottom strong {
    font-size: 12px;
    font-weight: 600
}

.summary-bottom p {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.7;
    margin-top: 6px
}

.promo {
    font-size: 12px;
    color: #6de3cc;
    margin-top: 15px
}

.error {
    padding: 12px 14px;
    background: #f8a4800b;
    border: 1px solid #f8a48044;
    border-radius: 9px;
    color: #ffd0bc;
    font-size: 12px;
    line-height: 1.6;
    margin: 14px 0;
    overflow-wrap: anywhere
}

.muted {
    color: var(--muted)
}

.small {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 14px
}

.faq {
    margin: 56px 0 42px;
    max-width: 608px
}

.faq > h2 {
    font-size: 19px;
    margin-bottom: 16px
}

.faq details {
    border-top: 1px solid var(--border)
}

.faq summary {
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    padding: 16px 28px 16px 0;
    position: relative
}

.faq summary::-webkit-details-marker {
    display: none
}

.faq summary:after {
    content: "+";
    position: absolute;
    right: 4px;
    font-size: 18px;
    color: var(--muted);
    top: 12px
}

.faq details[open] summary:after {
    content: "−"
}

.faq details > p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    padding: 0 24px 18px 0
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
    padding: 24px 0 30px;
    color: var(--muted);
    font-size: 10px
}

.footer-dot {
    padding: 0 6px;
    color: var(--cyan)
}

footer > span:last-child {
    max-width: 320px;
    text-align: right
}

.loading {
    display: flex;
    gap: 13px;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    font-size: 14px;
    color: var(--muted)
}

.spinner {
    display: inline-block;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    border: 2px solid #ffffff22;
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite
}

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

.message-panel {
    padding: 40px;
    margin: 40px auto;
    max-width: 650px
}

.message-panel p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8
}

.message-panel .button {
    max-width: 240px;
    margin-top: 24px
}

.message-panel h1 {
    font-size: 35px
}

.instructions {
    padding-left: 20px;
    display: grid;
    gap: 16px;
    font-size: 14px;
    margin: 25px 0;
    color: var(--text)
}

.result-panel {
    padding: 36px;
    max-width: 610px;
    margin: 40px auto
}

.result-icon {
    width: 58px;
    height: 58px;
    border: 1px solid #24d3d34d;
    background: #24d3d30c;
    border-radius: 17px;
    display: grid;
    place-items: center;
    font-size: 30px;
    color: var(--cyan);
    margin-bottom: 24px
}

.result-panel h1 {
    font-size: 30px;
    letter-spacing: -.8px
}

.result-panel > p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted)
}

.result-order {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 14px;
    padding: 20px 0;
    margin-top: 5px
}

.result-order > span {
    white-space: nowrap
}

.result-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 20px
}

.result-panel > .button {
    margin: 10px 0
}

.connection {
    padding: 24px 0 4px;
    border-top: 1px solid var(--border);
    margin-top: 24px
}

.connection > p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    margin: 10px 0 18px
}

.deeplinks {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px;
    margin-bottom: 22px
}

.deeplinks a {
    font-size: 11px
}

.copy-label {
    font-size: 11px;
    color: var(--muted)
}

.copy-row {
    display: flex;
    gap: 8px;
    margin: 8px 0
}

.copy-row input {
    min-width: 0;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #0e131b;
    padding: 10px;
    color: var(--muted);
    font-size: 12px
}

.copy-row button {
    width: auto;
    min-height: 42px;
    font-size: 11px;
    padding: 10px
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #92e0ea;
    font-size: 12px;
    padding: 20px 0 0
}

.order-reference {
    border-top: 1px solid var(--border);
    margin-top: 24px;
    padding-top: 16px;
    overflow-wrap: anywhere;
    font-size: 10px !important
}

.order-reference span {
    display: block;
    font-variant-numeric: tabular-nums
}

@media (min-width: 1000px) {
    .intro h1 {
        font-size: 46px
    }

    .plan {
        min-height: 175px
    }
}

@media (max-width: 800px) {
    .shell {
        padding: 0 24px
    }

    .checkout-layout {
        grid-template-columns:minmax(0, 1fr) 300px;
        gap: 22px
    }

    .plan {
        padding: 16px
    }

    .summary {
        padding: 22px
    }

    .intro h1 {
        font-size: 36px
    }
}

@media (max-width: 680px) {
    .shell {
        padding: 0 20px
    }

    .header {
        padding: 22px 0
    }

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

    .brand img {
        width: 41px;
        height: 41px
    }

    .brand-detail {
        font-size: 8px;
        letter-spacing: 1.4px
    }

    .help-link {
        font-size: 11px
    }

    .help-link span {
        padding-left: 3px
    }

    .intro {
        padding: 31px 0 23px
    }

    h1, .intro h1 {
        font-size: 34px;
        letter-spacing: -1px;
        max-width: 330px;
        line-height: 1.14
    }

    .intro > p {
        font-size: 13px
    }

    .intro .eyebrow {
        font-size: 9px
    }

    .subscription-strip {
        padding: 14px;
        gap: 11px;
        margin-bottom: 22px
    }

    .sub-info > span {
        font-size: 11px
    }

    .badge {
        font-size: 10px;
        padding: 4px 7px
    }

    .checkout-layout {
        display: block
    }

    .mode-note {
        min-height: 0;
        margin-bottom: 23px
    }

    .plan {
        min-height: 158px;
        padding: 17px
    }

    .plan-price {
        font-size: 23px;
        margin-top: 12px
    }

    .plan-meta {
        font-size: 10px
    }

    .summary {
        position: static;
        margin-top: 24px;
        padding: 23px
    }

    .summary > h2 {
        font-size: 19px
    }

    .total strong {
        font-size: 32px
    }

    .summary .button {
        min-height: 52px;
        font-size: 14px
    }

    .summary-bottom {
        padding-top: 15px
    }

    .secure-note {
        padding-bottom: 17px
    }

    .faq {
        margin-top: 39px;
        margin-bottom: 28px
    }

    .faq summary {
        font-size: 12px
    }

    .faq details > p {
        font-size: 12px
    }

    footer {
        display: block;
        font-size: 10px;
        padding-top: 20px
    }

    footer > span {
        display: block
    }

    footer > span:last-child {
        text-align: left;
        margin-top: 8px;
        max-width: 290px
    }

    .message-panel, .result-panel {
        padding: 25px 21px;
        margin: 28px 0
    }

    .message-panel h1 {
        font-size: 30px
    }

    .result-panel h1 {
        font-size: 27px
    }

    .deeplinks {
        grid-template-columns:1fr
    }

    .copy-row button {
        padding: 9px
    }

    .help-link {
        white-space: nowrap
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}
