:root {
    color-scheme: dark;
    --bg: #08090d;
    --panel: rgba(20, 22, 31, 0.88);
    --panel-strong: #171923;
    --text: #f7f8fc;
    --muted: #a7abbb;
    --line: rgba(255, 255, 255, 0.10);
    --blue: #21c8ff;
    --purple: #a86cff;
    --green: #43dc9a;
    --danger: #ff7a86;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% -20%, rgba(69, 67, 146, 0.28), transparent 44rem),
        linear-gradient(180deg, #0b0c12 0%, var(--bg) 56%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

button, input { font: inherit; }
a { color: inherit; }
.ambient { position: fixed; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(100px); opacity: .15; pointer-events: none; }
.ambient-one { top: 8rem; left: -12rem; background: var(--blue); }
.ambient-two { right: -10rem; bottom: 5rem; background: var(--purple); }
.topbar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.35rem 1.25rem;
    border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; font-size: 1.08rem; text-decoration: none; letter-spacing: -.02em; }
.quiet-link { color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
.quiet-link:hover, .quiet-link:focus-visible { color: var(--blue); }
.shell { position: relative; z-index: 1; width: min(100% - 2rem, 68rem); margin: 0 auto; padding: 5rem 0 4rem; }
.hero-copy { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.eyebrow { margin: 0 0 .6rem; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
.hero-copy h1 { margin-bottom: 1rem; font-size: clamp(2.35rem, 7vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
.hero-copy > p:not(.eyebrow) { max-width: 40rem; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.2rem); }
.trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.trust-row span { padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: #cfd2dc; background: rgba(255,255,255,.03); font-size: .78rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.plan-card, .review-card, .status-card, .help-card {
    background: linear-gradient(145deg, rgba(29,31,43,.95), rgba(16,17,24,.92));
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    box-shadow: 0 1.4rem 4rem rgba(0,0,0,.26);
}
.plan-card { padding: 1.6rem; transition: border-color .2s, transform .2s, box-shadow .2s; }
.plan-card.selected { border-color: rgba(33,200,255,.72); box-shadow: 0 1.4rem 4rem rgba(0,0,0,.26), 0 0 0 1px rgba(33,200,255,.2) inset; transform: translateY(-2px); }
.plan-card.ultimate.selected { border-color: rgba(168,108,255,.76); box-shadow: 0 1.4rem 4rem rgba(0,0,0,.26), 0 0 0 1px rgba(168,108,255,.22) inset; }
.plan-heading, .review-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.plan-label { margin-bottom: .35rem; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.plan-card h2, .review-card h2 { margin: 0; font-size: 1.32rem; letter-spacing: -.025em; }
.plan-badge { flex: 0 0 auto; padding: .32rem .58rem; border-radius: 999px; background: rgba(33,200,255,.12); color: var(--blue); font-size: .7rem; font-weight: 800; }
.plan-badge.purple { color: #c9a5ff; background: rgba(168,108,255,.14); }
.price { margin: 1.5rem 0 1.1rem; font-size: 3rem; font-weight: 850; letter-spacing: -.055em; }
.price > span { vertical-align: .8rem; font-size: 1.15rem; color: var(--muted); }
.price small { font-size: .85rem; color: var(--muted); font-weight: 650; letter-spacing: 0; }
.plan-card ul { display: grid; gap: .65rem; min-height: 7rem; margin: 0 0 1.3rem; padding: 0; list-style: none; color: #d7d9e2; }
.plan-card li::before { content: "✓"; margin-right: .55rem; color: var(--green); font-weight: 900; }
.select-plan, .checkout-button {
    width: 100%; min-height: 3.25rem; border: 0; border-radius: .95rem; cursor: pointer; color: #071016;
    background: linear-gradient(135deg, var(--blue), #72e5ff); font-weight: 850; transition: transform .18s, opacity .18s, box-shadow .18s;
}
.ultimate .select-plan { background: linear-gradient(135deg, var(--purple), #d0adff); color: #13091f; }
.select-plan:hover, .select-plan:focus-visible, .checkout-button:not(:disabled):hover, .checkout-button:not(:disabled):focus-visible { transform: translateY(-1px); box-shadow: 0 .8rem 2rem rgba(33,200,255,.18); }
.review-card { max-width: 48rem; margin: 1rem auto 0; padding: 1.7rem; }
.text-button { border: 0; padding: .35rem 0; background: transparent; color: var(--blue); cursor: pointer; font-weight: 750; }
.steps { display: grid; gap: .8rem; margin: 1.5rem 0; }
.step { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; align-items: start; }
.step-number { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font-weight: 900; color: #071016; }
.step-number.blue { background: var(--blue); }.step-number.purple { background: var(--purple); }.step-number.green { background: var(--green); }
.step strong { display: block; margin-top: .05rem; }.step p { margin: .12rem 0 0; color: var(--muted); font-size: .9rem; }
.important { margin: 1.2rem 0; padding: 1rem; border: 1px solid rgba(255,190,92,.28); border-radius: 1rem; background: rgba(255,190,92,.07); }
.important strong { color: #ffd28b; }.important p { margin: .25rem 0 0; color: #d5c8af; font-size: .9rem; }
.important.compact { text-align: left; }
.acknowledgement { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; align-items: start; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.025); cursor: pointer; }
.acknowledgement input { width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: var(--blue); }
.acknowledgement span { font-size: .92rem; font-weight: 650; }
.checkout-button { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding: 0 1.1rem; text-decoration: none; }
.checkout-button:disabled { cursor: not-allowed; opacity: .42; }
.error-message { min-height: 1.35rem; margin: .75rem 0 -.5rem; color: var(--danger); font-size: .88rem; }
.fine-print { margin: .8rem auto 0; max-width: 34rem; color: #7f8494; text-align: center; font-size: .76rem; }
footer { display: flex; justify-content: space-between; gap: 1rem; width: min(100% - 2rem, 68rem); margin: 0 auto; padding: 1.4rem 0 2.4rem; border-top: 1px solid var(--line); color: #7f8494; font-size: .78rem; }
footer a { color: #c5c8d3; text-decoration: none; }
.success-shell { max-width: 44rem; padding-top: 6rem; }
.status-card { padding: clamp(1.5rem, 5vw, 2.6rem); text-align: center; }
.status-card h1 { margin-bottom: .75rem; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.045em; }
.status-copy { max-width: 33rem; margin: 0 auto 1.4rem; color: var(--muted); }
.status-icon { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1.2rem; border-radius: 50%; background: rgba(33,200,255,.09); }
.status-icon span { width: 1.6rem; height: 1.6rem; border: 3px solid rgba(33,200,255,.25); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
.status-icon.success { background: rgba(67,220,154,.12); }.status-icon.success span { border: 0; animation: none; }.status-icon.success span::after { content: "✓"; color: var(--green); font-size: 2rem; font-weight: 900; }
.status-icon.error { background: rgba(255,122,134,.1); }.status-icon.error span { border: 0; animation: none; }.status-icon.error span::after { content: "!"; color: var(--danger); font-size: 2rem; font-weight: 900; }
@keyframes spin { to { transform: rotate(360deg); } }
.discord-button { max-width: 24rem; margin: 1rem auto; }
.hidden { display: none !important; }
.secondary-action { display: inline-block; margin-top: .7rem; color: var(--muted); font-size: .86rem; }
.help-card { margin-top: 1rem; padding: 1.5rem; }.help-card h2 { font-size: 1.1rem; }.help-card ol { margin: 0; padding-left: 1.3rem; color: var(--muted); }.help-card li + li { margin-top: .45rem; }

@media (max-width: 700px) {
    .shell { padding-top: 3.2rem; }
    .plan-grid { grid-template-columns: 1fr; }
    .plan-card ul { min-height: auto; }
    .topbar, footer { align-items: flex-start; }
    footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
