/* ═══════════════════════════════════════════════════════
    simpleSPU — the product page's own layout
    Loaded only by /simplespu/, after retro.css (which simpleSPC and the tools
    share) and product-hero.css. It gives the page the same shape as
    simpleTapeStop's and simpleStutter's: the hero on a dark stage in both
    themes, one download
    card with the price beside it, and the questions in two flat columns.
    ═══════════════════════════════════════════════════════ */

/* ── The stage: the plugin's "Console" scheme, in light and dark ── */
.spu-stage {
    --bg: #231e2b;
    --panel: #2f2839;
    --panel-raised: #3d3449;
    --ink: #14111a;
    --text: #eee0bf;
    --muted: #bcb09a;
    --dim: #9a8f82;
    --cream: #eee0bf;
    --dots: rgba(8, 6, 12, 0.45);
    --wordmark-shadow: #14111a;
    --link: #9fd4cf;

    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(48% 70% at 78% 46%, rgba(106, 163, 166, 0.16), transparent 70%),
        radial-gradient(circle, var(--dots) 1px, transparent 1.6px),
        radial-gradient(circle, var(--dots) 1px, transparent 1.6px);
    background-size: auto, 16px 16px, 16px 16px;
    background-position: 0 0, 0 0, 8px 8px;
}

/* The keys keep their cream faces and ink rims on the dark stage. */
.spu-stage .button { --ink: #14111a; color: #292432; }
.spu-stage .button-ghost { background: var(--panel-raised); color: var(--text); }
.spu-stage .button-ghost:hover { background: #4a4057; }
.spu-stage .app-store-button { color: #292432; background: #fff4d8; }
.spu-stage .other-downloads-menu { background: var(--panel); }
.spu-stage .linux-vst3-alt { color: var(--muted); }

/* The label: a coral "free trial" end, then what it is, as simpleTapeStop's and
   simpleStutter's FREE labels. */
.spu-label {
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    padding-right: 12px;
    color: var(--text);
    background: var(--panel);
    border: 1.5px solid var(--ink);
    border-radius: 4px;
}

.spu-label > [data-pixel],
.spu-label > .pixel-text { align-self: center; }

.spu-label-free {
    display: flex;
    align-items: center;
    margin-right: 12px;
    padding: 0 10px;
    color: #292432;
    background: var(--accent);
    border-right: 1.5px solid var(--ink);
}

.spu-label .pixel-text { --pixel: 2px; }

/* Phones keep the trial end and drop "instrument + effect", which the heading says. */
@media (max-width: 520px) {
    .spu-label { padding-right: 0; }
    .spu-label-free { margin-right: 0; border-right: 0; }
    .spu-label > [data-pixel],
    .spu-label > .pixel-text { display: none; }
}

/* ── Download, with the price beside it ── */
.download-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 0.9fr);
    align-items: stretch;
    gap: 32px;
    padding: 28px;
}

/* She stands in the card's left column with no box of her own, full height. */
.download-card .stage-download {
    order: 0;
    align-self: stretch;
    min-height: 420px;
    height: auto;
    margin: -28px 0 -28px -28px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.download-copy {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 16px;
    min-width: 0;
}

.download-copy > p:not(.tag):not(.app-store-line) { color: var(--muted); }

.download-copy .app-store-line { margin-top: 0; }

/* The price: the hero offer's blue menu window, grown into a panel. */
.price-box {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 22px 22px 20px;
}

.price-box .offer-window-title .pixel-text { --pixel: 3px; }

.price-box .price-amount {
    margin-top: 14px;
    color: #ffffff;
    font-size: 2.6rem;
    line-height: 1;
}

.price-box .price-amount[hidden],
.price-box .price-launch[hidden] { display: none; }

.price-box .price-pence { font-size: 1.4rem; }

.price-box .price-was {
    display: block;
    margin-bottom: 6px;
    color: #b9c0e8;
    font-size: 1.1rem;
    text-decoration-color: var(--accent);
}

.price-box .price-local {
    margin: 6px 0 0;
    color: #b9c0e8;
    text-shadow: none;
}

.price-launch s { color: #b9c0e8; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.price-launch {
    margin-top: 10px;
    color: #ffd27a;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
}

.price-box .price-desc {
    margin-top: 12px;
    color: #dfe3f7;
    font-size: 0.93rem;
    line-height: 1.5;
    text-shadow: none;
}

.price-button {
    width: 100%;
    margin-top: auto;
}

.price-box .price-desc + .price-button { margin-top: 20px; }

.price-small {
    margin-top: 12px;
    color: #b9c0e8;
    font-size: 0.78rem;
    line-height: 1.45;
    text-shadow: none;
}

.download .reviews { margin-top: 40px; }

/* ── Questions ── */
.faq-more + .faq-more {
    margin-top: 10px;
    padding-top: 0;
}

/* ── Narrower screens ── */
@media (max-width: 1060px) {
    .download-card {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }

    .download-card .price-box { grid-column: 1 / -1; }
    .download-card .stage-download { min-height: 400px; }
}

@media (max-width: 760px) {
    .download-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 20px;
    }

    .download-card .stage-download { min-height: 320px; margin: -20px -20px 0; }
}

@media (max-width: 640px) {
    .download-actions > * { flex: 1 1 100%; }
    .download-actions .button { width: 100%; }
}
