/* =============================================================
   Long-form sales page (discover.php, includes/landing/<slug>.php)
   All white, like the Kickstarter story it mirrors: the graphics were
   designed for a white page and fade into it (Darryl, 2026-10-13).
   ============================================================= */
:root {
    --lp-bg: #ffffff;
    --lp-ink: #222222;
    --lp-soft: #5c5c5c;
    --lp-line: #e6e6e6;
    --lp-red: #782c2e;   /* the red of the titles in the Kickstarter graphics */
    --lp-gold: #ffbf00;
}

body.lp { background: var(--lp-bg); color: var(--lp-ink); margin: 0; }
.lp-col { max-width: 632px; margin: 0 auto; padding: 0 16px; }   /* a 600px reading strip: easiest read narrow (Darryl, 2026-10-13) */
.lp-center { text-align: center; }

/* ---- buttons: gold, dark text that stays dark on hover, a soft shadow and a small lift ---- */
body.lp a.lp-btn, body.lp button.lp-btn { display: inline-block; font-family: var(--font-ui); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; color: #121019;
    background: linear-gradient(180deg, #ffd966 0%, var(--lp-gold) 100%); border: 1px solid #e0a800; border-radius: 999px; padding: 14px 30px; cursor: pointer; font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6); transition: transform 0.15s, box-shadow 0.15s, filter 0.15s; }
body.lp a.lp-btn:hover, body.lp a.lp-btn:focus, body.lp button.lp-btn:hover { color: #121019; filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
body.lp a.lp-btn:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); }
body.lp .lp-btn-block { display: block; text-align: center; }
body.lp button.lp-btn-ghost, body.lp a.lp-btn-ghost { background: transparent; color: var(--lp-red); border: 2px solid var(--lp-red); }

/* ---- the story ---- */
.lp-story { padding: 0 0 30px; }
.lp-story p { font-size: 1.06rem; line-height: 1.7; margin: 0 0 18px; }
.lp-story b { color: #000; }
.lp-story h2 { font-family: var(--font-head); font-weight: 800; color: var(--lp-ink); font-size: clamp(1.4rem, 4vw, 1.8rem); line-height: 1.15; margin: 34px 0 12px; }
.lp-story h3 { font-family: var(--font-head); font-weight: 800; color: var(--lp-ink); margin: 26px 0 8px; }
.lp-story ul { padding-left: 22px; margin: 0 0 18px; }
.lp-story li { line-height: 1.6; margin: 4px 0; }
.lp-art { display: block; width: 100%; height: auto; margin: 18px 0; }
.lp-art-half { max-width: 681px; margin: 12px auto 20px; }
.lp-noai { font-weight: 700; text-align: center; }
@media (max-width: 700px) {
    .lp-art { width: calc(100% + 32px); margin: 14px -16px; }   /* edge to edge on phones, like Kickstarter */
    .lp-art-half { width: 100%; margin: 12px 0; }
    .lp-story p { font-size: 1rem; }
}


/* ---- FAQ ---- */
.lp-faq details { border-bottom: 1px solid var(--lp-line); padding: 14px 0; }
.lp-faq summary { cursor: pointer; font-family: var(--font-ui); font-weight: 700; font-size: 1.02rem; }
.lp-faq details p { color: var(--lp-soft); line-height: 1.6; margin: 10px 0 0; }
.lp-faq a { color: var(--lp-red); }

.lp-foot { text-align: center; color: var(--lp-soft); font-size: 0.85rem; padding: 24px 16px 96px; border-top: 1px solid var(--lp-line); }

/* ---- sticky button ---- */
.lp-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; justify-content: center; align-items: baseline; gap: 8px; text-decoration: none;
    font-family: var(--font-ui); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #121019; background: linear-gradient(180deg, #ffd966, var(--lp-gold));
    border-radius: 999px; padding: 15px 18px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25); transform: translateY(140%); transition: transform 0.25s; }
.lp-sticky span { font-weight: 600; text-transform: none; font-size: 0.85rem; }
.lp-sticky.show { transform: translateY(0); }
@media (min-width: 900px) { .lp-sticky { left: auto; right: 24px; bottom: 24px; padding: 14px 26px; } }

/* ---- carousels (biomes, STL packs): swipe sideways only; arrows float over the images ---- */
.lp-carousel { margin: 18px 0; }
.lp-car-hint { text-align: center; font-size: 0.88rem; font-weight: 600; color: var(--lp-soft); margin: 0 0 8px !important; transition: opacity 0.3s; }
.lp-car-hint.gone { opacity: 0; }
.lp-car-stage { position: relative; }
.lp-car-track { display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; transition: height 0.3s; }
.lp-car-track::-webkit-scrollbar { display: none; }
.lp-car-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.lp-car-slide img { display: block; width: 100%; height: auto; }
.lp-car-slide figcaption { font-size: 1rem; line-height: 1.6; padding: 12px 4px 0; }
/* the arrows ride along in the middle of the screen while the reader scrolls a tall slide */
.lp-car-nav { position: absolute; inset: 0; pointer-events: none; }
.lp-car-nav-inner { position: sticky; top: calc(50vh - 24px); display: flex; justify-content: space-between; padding: 0 8px; }
.lp-car-arrow { pointer-events: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(18, 16, 25, 0.62); color: #fff;
    font-size: 2rem; line-height: 44px; padding: 0 0 4px; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); transition: background 0.15s, opacity 0.2s; }
.lp-car-arrow:hover { background: rgba(18, 16, 25, 0.85); }
.lp-car-arrow:disabled { opacity: 0; pointer-events: none; }
.lp-car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.lp-car-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: #cfcfcf; cursor: pointer; }
.lp-car-dots button.on { background: var(--lp-red); width: 24px; border-radius: 6px; }
@media (max-width: 700px) {
    .lp-car-track { margin: 0 -16px; }   /* edge to edge like the other graphics */
    .lp-car-nav { left: -16px; right: -16px; }
    .lp-car-arrow { width: 40px; height: 40px; line-height: 36px; font-size: 1.7rem; }
}


/* ---- sections after the story (FAQ) ---- */
.lp-section { padding: 34px 0; border-top: 1px solid var(--lp-line); }
.lp-section h2, .lp-bundles h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 4.5vw, 2rem); text-align: center; margin: 0 0 10px; }

/* ---- bundles: white cards with a strong border in the graphics' red; big image, whole ---- */
.lp-bundles { margin: 36px 0 10px; padding-top: 30px; border-top: 1px solid var(--lp-line); }
.lp-bundles h2 { margin-top: 0 !important; }
.lp-lead { text-align: center; color: var(--lp-soft); margin: 0 auto 20px !important; line-height: 1.55; font-size: 1rem !important; }
.lp-tiers { display: flex; flex-direction: column; gap: 14px; }
.lp-tier { display: flex; align-items: center; gap: 18px; padding: 14px; background: #fff; border: 2px solid var(--lp-red); border-radius: 14px; text-decoration: none; color: var(--lp-ink);
    transition: transform 0.15s, box-shadow 0.15s; }
.lp-tier:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(120, 44, 46, 0.18); }
.lp-tier-img { flex: none; width: 224px; display: flex; align-items: center; justify-content: center; }
.lp-tier-img img { width: 100%; height: auto; max-height: 260px; object-fit: contain; display: block; }
.lp-tier-body { display: flex; flex-direction: column; justify-content: center; gap: 6px; flex: 1; min-width: 0; }
.lp-tier-body b { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; line-height: 1.2; color: var(--lp-red); }
.lp-tier-meta { color: var(--lp-soft); font-size: 0.85rem; }
.lp-tier-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.lp-tier-price { font-family: var(--font-ui); font-weight: 800; font-size: 1.4rem; color: var(--lp-ink); }
.lp-tier-go { font-family: var(--font-ui); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; background: var(--lp-red); padding: 9px 18px; border-radius: 999px; }
@media (max-width: 560px) {
    .lp-tier { gap: 12px; padding: 10px; }
    .lp-tier-img { width: 46%; }
    .lp-tier-body b { font-size: 1rem; }
    .lp-tier-price { font-size: 1.2rem; }
}

/* ---- calls to action (top, mid, bottom) and the preorder notice ---- */
.lp-cta { margin: 34px 0; padding: 26px 22px; border: 2px solid var(--lp-red); border-radius: 16px; text-align: center; background: #fff; }
.lp-cta h2 { margin: 0 0 8px !important; color: var(--lp-red) !important; }
.lp-cta-line { color: var(--lp-soft); margin: 0 0 18px !important; font-size: 1rem !important; }
.lp-notice { margin: 16px 0 0; padding: 14px 16px; background: #fff6e0; border: 1px solid #f0c75e; border-left: 5px solid var(--lp-gold); border-radius: 10px; text-align: left; }
.lp-notice p { margin: 0 0 6px !important; font-size: 0.95rem !important; line-height: 1.5 !important; color: var(--lp-ink); }
.lp-notice p:last-child { margin-bottom: 0 !important; }
.lp-notice b { color: #000; }
@media (max-width: 700px) { .lp-cta { padding: 22px 16px; } }

/* ---- the wow image touches the top of the browser: nothing above it ---- */
.lp-art-top { margin-top: 0 !important; }

/* ---- social proof, first call to action, and the way in for backers ---- */
.lp-proof { margin: 28px 0 8px; padding: 22px 20px; border: 2px solid var(--lp-red); border-radius: 16px; text-align: center; }
.lp-proof-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; margin-bottom: 18px; }
.lp-proof-stats div { display: flex; flex-direction: column; }
.lp-proof-stats b { font-family: var(--font-ui); font-weight: 800; font-size: 1.45rem; color: var(--lp-red); line-height: 1.2; }
.lp-proof-stats span { font-size: 0.82rem; color: var(--lp-soft); }
.lp-backer-link { margin: 14px 0 0 !important; font-size: 0.92rem !important; color: var(--lp-soft); }
.lp-backer-link a { color: var(--lp-red); font-weight: 700; }
body.lp a.lp-sticky, body.lp a.lp-sticky:hover, body.lp a.lp-sticky:focus { color: #121019; }   /* the site's link hover colour must not turn it white */
.lp-foot a { color: var(--lp-soft); }
