/*! Copyright (c) 2026 Nathan Taco. All rights reserved. */
/*
 * The public promo page (/promo, templates/promo): bnnr's tokens, light on :root and dark under [data-bs-theme="dark"],
 * the same values as auth.css and bm.css. Self-contained: no web fonts, no external requests.
 */
:root {
    color-scheme: light;
    --pr-bg: #f5f6f8;
    --pr-panel: #fff;
    --pr-surface: #eceef3;
    --pr-text: #151728;
    --pr-muted: #596077;
    --pr-border: #e1e4ec;
    --pr-accent: #4c3dff;
    --pr-accent-hover: #3f31e6;
    --pr-accent-text: #4034e6;
    --pr-on-accent: #fff;
    --pr-shadow: 0 1px 2px rgba(15, 16, 32, .05), 0 18px 44px rgba(15, 16, 32, .1);
    --pr-gutter: 16px;
}
[data-bs-theme="dark"] {
    color-scheme: dark;
    --pr-bg: #0f1020;
    --pr-panel: #1b1d2e;
    --pr-surface: #24263a;
    --pr-text: #eceef7;
    --pr-muted: #a9adc4;
    --pr-border: #30334b;
    --pr-accent: #4c3dff;
    --pr-accent-hover: #5d50ff;
    --pr-accent-text: #a29bff;
    --pr-on-accent: #fff;
    --pr-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.pr-page {
    margin: 0;
    background: var(--pr-bg);
    color: var(--pr-text);
    font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--pr-accent-text); }
.pr-dot { color: var(--pr-accent); }
.pr-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--pr-accent); color: var(--pr-on-accent); padding: 8px 14px; border-radius: 8px; }
.pr-skip:focus { left: 8px; }

/* Header */
.pr-top {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; gap: 20px;
    padding: 12px max(var(--pr-gutter), calc((100vw - 1180px) / 2));
    background: color-mix(in srgb, var(--pr-bg) 86%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--pr-border);
}
.pr-brand { display: inline-flex; flex: none; }
.pr-logo { height: 28px; width: auto; }
[data-bs-theme="dark"] .pr-logo-light, :root:not([data-bs-theme="dark"]) .pr-logo-dark { display: none; }
.pr-nav { display: none; gap: 14px; flex: 1; justify-content: center; font-size: 13px; }
.pr-nav a { color: var(--pr-muted); text-decoration: none; white-space: nowrap; }
.pr-nav a:hover, .pr-nav a:focus-visible { color: var(--pr-text); }
.pr-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (min-width: 1100px) { .pr-nav { display: flex; } .pr-actions { margin-left: 0; } }
.pr-theme { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--pr-border); background: var(--pr-panel); color: var(--pr-text); font-size: 17px; cursor: pointer; }
.pr-theme:hover { background: var(--pr-surface); }

/* Buttons */
.pr-btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pr-btn-primary { background: var(--pr-accent); color: var(--pr-on-accent); }
.pr-btn-primary:hover { background: var(--pr-accent-hover); }
.pr-btn-ghost { background: var(--pr-panel); color: var(--pr-text); border-color: var(--pr-border); }
.pr-btn-ghost:hover { background: var(--pr-surface); }
.pr-btn-lg { padding: 13px 24px; font-size: 16px; border-radius: 12px; }
.pr-top .pr-btn-ghost { display: none; }
@media (min-width: 560px) { .pr-top .pr-btn-ghost { display: inline-flex; } }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--pr-accent) 55%, transparent); outline-offset: 2px; }

/* Hero */
.pr-hero { display: grid; gap: 36px; padding: 56px var(--pr-gutter) 40px; max-width: 1180px; margin: 0 auto; }
.pr-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pr-accent-text); }
.pr-hero h1 { font-size: clamp(34px, 6vw, 62px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.025em; }
.pr-lead { font-size: 18px; color: var(--pr-muted); margin: 0 0 22px; max-width: 60ch; }
.pr-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pr-cta-center { justify-content: center; }
.pr-fine { color: var(--pr-muted); font-size: 14px; margin: 14px 0 0; }
.pr-hero-media .pr-fig { margin: 0; }
.pr-hero-media .pr-video { border-radius: 16px; box-shadow: var(--pr-shadow); border: 1px solid var(--pr-border); }
@media (min-width: 960px) { .pr-hero { grid-template-columns: 1fr 1.25fr; align-items: center; padding-top: 80px; } }

/* Numbers */
.pr-stats { max-width: 1180px; margin: 0 auto; padding: 24px var(--pr-gutter); }
.pr-stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pr-stats li { background: var(--pr-panel); border: 1px solid var(--pr-border); border-radius: 14px; padding: 16px; }
.pr-stats strong { display: block; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; color: var(--pr-accent-text); }
.pr-stats span { font-size: 14px; color: var(--pr-muted); }
@media (min-width: 760px) { .pr-stats ul { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .pr-stats ul { grid-template-columns: repeat(6, 1fr); } }

/* Sections */
.pr-section { display: grid; gap: 28px; max-width: 1180px; margin: 0 auto; padding: 64px var(--pr-gutter); border-top: 1px solid var(--pr-border); }
.pr-section:first-of-type { border-top: 0; }
.pr-section h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.02em; }
.pr-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pr-points li { position: relative; padding-left: 26px; color: var(--pr-text); font-size: 15.5px; }
.pr-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--pr-accent); }
.pr-section-media { display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (min-width: 960px) {
    .pr-section { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
    .pr-section.is-flip .pr-section-copy { order: 2; }
    .pr-section-copy { position: sticky; top: 96px; }
}
@media (min-width: 1100px) { .pr-section-media { grid-template-columns: 1fr 1fr; } .pr-section-media .pr-fig:first-child { grid-column: 1 / -1; } }

/* Figures */
.pr-fig { margin: 0; min-width: 0; }
.pr-fig img, .pr-video { width: 100%; border-radius: 12px; border: 1px solid var(--pr-border); background: var(--pr-surface); box-shadow: var(--pr-shadow); }
.pr-fig figcaption { font-size: 13.5px; color: var(--pr-muted); margin-top: 8px; }
.pr-zoom { display: block; cursor: zoom-in; border-radius: 12px; }
.pr-video { aspect-ratio: 3 / 1; object-fit: cover; }

/* Closing */
.pr-final { text-align: center; padding: 88px var(--pr-gutter); max-width: 760px; margin: 0 auto; }
.pr-final h2 { font-size: clamp(28px, 4.4vw, 44px); margin: 0 0 12px; letter-spacing: -.02em; }
.pr-final .pr-lead { margin-inline: auto; }
.pr-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 28px var(--pr-gutter) 48px; border-top: 1px solid var(--pr-border); color: var(--pr-muted); font-size: 13.5px; }
.pr-foot p { margin: 0; }

/* Lightbox */
.pr-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; color: #fff; overflow: visible; }
.pr-lightbox::backdrop { background: rgba(8, 9, 18, .86); }
.pr-lightbox img { max-width: 96vw; max-height: 86vh; width: auto; border-radius: 10px; margin: 0 auto; }
.pr-lightbox p { text-align: center; margin: 10px 0 0; font-size: 14px; }
.pr-lightbox-close { position: absolute; right: 0; top: -40px; width: 36px; height: 36px; border-radius: 9px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
/* A signed-in visitor's only link is "Open the editor": keep it on a phone. */
.pr-top a.pr-btn-ghost:only-of-type { display: inline-flex; }

/* Legal pages (/terms, /privacy, /refund) and the links to them */
.pr-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pr-legal-links a { color: var(--pr-muted); text-decoration: none; }
.pr-legal-links a:hover, .pr-legal-links a:focus-visible { color: var(--pr-text); text-decoration: underline; }
.pr-legal { max-width: 760px; margin: 0 auto; padding: 56px var(--pr-gutter) 72px; }
.pr-legal h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 8px 0 16px; }
.pr-legal h2 { font-size: 20px; margin: 36px 0 10px; }
.pr-legal p { line-height: 1.65; margin: 0 0 14px; }
.pr-legal a { color: var(--pr-accent-text, inherit); }
