/* ==========================================================================
   Mousekeeper — Site stylesheet
   No build step. Plain CSS with custom properties.
   ========================================================================== */

:root {
    --c-bg:        #ffffff;
    --c-bg-alt:    #f6f8fb;
    --c-ink:       #0f172a;
    --c-ink-soft:  #334155;
    --c-muted:     #64748b;
    --c-line:      #e2e8f0;
    --c-line-soft: #eef1f5;
    --c-brand:     #0ea5a5;
    --c-brand-dk:  #0d8e8e;
    --c-brand-ink: #075151;
    --c-accent:    #f59e0b;
    --c-success:   #10b981;
    --c-success-bg:#ecfdf5;
    --c-error:     #dc2626;
    --c-error-bg:  #fef2f2;
    --c-warn:      #d97706;
    --c-warn-bg:   #fef9ec;
    --c-info-bg:   #eef6ff;
    --c-night:     #0f172a;
    --c-night-soft:#1e293b;
    --radius:      12px;
    --radius-lg:   18px;
    --shadow-sm:   0 1px 2px rgba(15,23,42,.05);
    --shadow:      0 4px 14px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
    --shadow-lg:   0 24px 48px -12px rgba(15,23,42,.18), 0 8px 16px -8px rgba(15,23,42,.1);
    --tx:          'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --tx-mono:     ui-monospace, "SFMono-Regular", Menlo, Monaco, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--tx);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-ink-soft);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    color: var(--c-ink);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a {
    color: var(--c-brand);
    text-decoration: none;
    transition: color .15s ease;
}
a:hover { color: var(--c-brand-dk); text-decoration: underline; }

code, .mono {
    font-family: var(--tx-mono);
    font-size: 0.92em;
    background: var(--c-bg-alt);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--c-ink);
}
pre code { background: none; padding: 0; }

kbd {
    background: var(--c-bg-alt);
    border: 1px solid var(--c-line);
    border-bottom-width: 2px;
    border-radius: 4px;
    padding: 1px 6px;
    font-family: var(--tx-mono);
    font-size: 0.85em;
    color: var(--c-ink);
}

.skip-link {
    position: absolute;
    top: -100px; left: 0;
    background: var(--c-night);
    color: #fff;
    padding: 10px 16px;
    z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ==========================================================================
   Layout
   ========================================================================== */

.container { width: min(1140px, 92%); margin: 0 auto; }
.container.narrow { max-width: 720px; }

.section { padding: 80px 0; }
.section-alt { background: var(--c-bg-alt); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .muted { font-size: 1.05rem; }

.center { text-align: center; }
.muted { color: var(--c-muted); }
.small { font-size: 0.9rem; }
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--c-brand);
    background: rgba(14,165,165,.1);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.eyebrow-success { color: var(--c-success); background: var(--c-success-bg); }

.hl {
    background: linear-gradient(180deg, transparent 60%, rgba(14,165,165,.22) 60%);
    padding: 0 2px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--c-line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--c-ink);
    letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark { display: block; }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    color: var(--c-ink-soft);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.96rem;
    transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--c-bg-alt); color: var(--c-ink); text-decoration: none; }
.nav-link.active { color: var(--c-brand); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
    display: none;
    background: none; border: 0; cursor: pointer;
    width: 38px; height: 38px;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--c-ink);
    border-radius: 1px;
    margin: 5px 0;
    transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
    .nav-toggle { display: block; }
    .primary-nav {
        position: absolute;
        top: 60px; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--c-line);
        padding: 10px 16px 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease, padding .25s ease;
    }
    .primary-nav.open {
        max-height: 500px;
        padding: 10px 16px 20px;
    }
    .nav-link { width: 100%; }
    .nav-cta { margin: 8px 0 0; width: 100%; text-align: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    background:
        radial-gradient(60% 80% at 50% -10%, rgba(14,165,165,.16), transparent 60%),
        radial-gradient(80% 60% at 100% 100%, rgba(245,158,11,.07), transparent 60%),
        var(--c-bg);
    padding: 96px 0 80px;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 900px) {
    .hero { padding: 60px 0; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
.display {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.lede {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--c-ink-soft);
    max-width: 56ch;
    margin-bottom: 28px;
}
.hero-ctas {
    display: flex; flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.hero-ctas.center { justify-content: center; }
.card + .hero-ctas { margin-top: 26px; }   /* buttons that follow a card (pricing explainer) */
.hero-trust {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-wrap: wrap;
    gap: 18px;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-muted);
    font-size: 0.9rem;
}
.hero-trust svg { color: var(--c-success); }

/* Hero mock window */
.hero-art {
    position: relative;
}
.mock-window {
    background: var(--c-night);
    color: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    transform: rotate(-1deg);
    transition: transform .4s ease;
}
.mock-window:hover { transform: rotate(0); }
.mock-titlebar {
    display: flex; align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #1a2332;
    border-bottom: 1px solid #2a3344;
}
.mock-titlebar .dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.mock-title { margin-left: 8px; color: #94a3b8; font-size: 0.85rem; }
.mock-body { padding: 22px; }
.mock-row { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mock-coords label { color: #94a3b8; font-size: 0.85rem; }
.mock-coords .mono { color: #fff; background: rgba(255,255,255,.06); padding: 2px 8px; border-radius: 4px; }
.mock-btn {
    background: #2a3344; color: #fff;
    border: 0;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.92rem;
}
.mock-btn-start { background: var(--c-brand); }
.mock-btn-coords { background: rgba(255,255,255,.08); }
.mock-log {
    background: #0a0f18;
    padding: 12px 14px;
    border-radius: 8px;
    font-family: var(--tx-mono);
    font-size: 0.82rem;
    color: #cbd5e1;
}
.mock-log div { padding: 3px 0; }
.mock-log .dim { color: #64748b; }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}
.badge-success { background: rgba(16,185,129,.18); color: #6ee7b7; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px #10b981; }

/* ==========================================================================
   Page hero (for inner pages)
   ========================================================================== */

.page-hero {
    background:
        radial-gradient(60% 100% at 50% 0%, rgba(14,165,165,.10), transparent 70%),
        var(--c-bg);
    padding: 64px 0 32px;
    text-align: center;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lede { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .1s, box-shadow .15s, background .15s, color .15s, border-color .15s;
    font-family: inherit;
    line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: var(--c-brand);
    color: #fff;
    box-shadow: 0 6px 20px -8px rgba(14,165,165,.6);
}
.btn-primary:hover { background: var(--c-brand-dk); color: #fff; }
.btn-secondary {
    background: var(--c-bg-alt);
    color: var(--c-ink);
    border-color: var(--c-line);
}
.btn-secondary:hover { background: #eef2f6; color: var(--c-ink); }
.btn-ghost {
    background: transparent;
    color: var(--c-ink);
    border-color: var(--c-line);
}
.btn-ghost:hover { border-color: var(--c-ink); color: var(--c-ink); background: rgba(15,23,42,.02); }
.btn-lg  { padding: 14px 28px; font-size: 1.02rem; border-radius: 12px; }
.btn-xl  { padding: 18px 36px; font-size: 1.1rem; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }

/* ==========================================================================
   Cards & grid
   ========================================================================== */

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; }
.card-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(14,165,165,.12);
    color: var(--c-brand);
    margin-bottom: 18px;
}

/* Steps */
.steps {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    counter-reset: step;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps li {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
}
.step-num {
    display: inline-flex; width: 36px; height: 36px;
    background: var(--c-brand); color: #fff;
    align-items: center; justify-content: center;
    border-radius: 50%;
    font-weight: 700; font-size: 1.1rem;
    margin-bottom: 14px;
}

.steps-compact { padding-left: 20px; line-height: 1.8; }
.steps-compact li { margin-bottom: 6px; }

/* CTA banner */
.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--c-night) 0%, #112a3a 100%);
    color: #fff;
    padding: 44px 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; }
.cta-banner .muted { color: #94a3b8; }
@media (max-width: 720px) {
    .cta-banner { flex-direction: column; align-items: flex-start; padding: 32px; }
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}
.field { display: block; margin-bottom: 22px; }
.field-label {
    display: block;
    font-weight: 600;
    color: var(--c-ink);
    margin-bottom: 6px;
    font-size: 0.93rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field select,
.field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    font: inherit;
    color: var(--c-ink);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--c-brand);
    box-shadow: 0 0 0 3px rgba(14,165,165,.18);
}
.field-hint {
    display: block;
    color: var(--c-muted);
    font-size: 0.85rem;
    margin-top: 6px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.amount-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--c-bg-alt);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
    font-size: 1.05rem;
}
.amount-summary strong { font-size: 1.3rem; color: var(--c-ink); }

.alert {
    border: 1px solid;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 20px;
}
.alert-success { background: var(--c-success-bg); border-color: rgba(16,185,129,.3); color: #065f46; }
.alert-error   { background: var(--c-error-bg);   border-color: rgba(220,38,38,.25);  color: #991b1b; }
.alert-info    { background: var(--c-info-bg);    border-color: rgba(59,130,246,.2);  color: #1e3a8a; }
.alert strong { color: inherit; }

.trust-row {
    display: flex; justify-content: space-around; gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.trust-item {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--c-muted);
    font-size: 0.92rem;
}
.trust-item svg { color: var(--c-success); }
.trust-item .pay-icon-stripe { color: #635bff; }   /* Stripe brand purple */

/* Payment brand marks (see payment_icon() in includes/functions.php) */
.pay-icon { display: inline-block; vertical-align: middle; flex: none; }
.pay-methods {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 8px 22px;
    margin-top: 26px;
    color: var(--c-muted);
}

/* ==========================================================================
   Pricing card
   ========================================================================== */

.price-card-wrap { display: flex; justify-content: center; }
.price-card {
    max-width: 460px;
    width: 100%;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}
.price-badge {
    display: inline-block;
    background: rgba(14,165,165,.12);
    color: var(--c-brand);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.price-name { font-size: 1.6rem; margin-bottom: 6px; }
.price-row { margin: 18px 0 28px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.price {
    font-size: 3.4rem;
    color: var(--c-ink);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.price-features {
    list-style: none;
    padding: 0; margin: 0 0 24px;
    text-align: left;
}
.price-features li {
    padding: 9px 0 9px 28px;
    border-bottom: 1px solid var(--c-line-soft);
    position: relative;
}
.price-features li:last-child { border-bottom: 0; }
.price-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 18px; height: 18px;
    background: var(--c-success);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 6.5 5 8.5 9 4'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================================================
   Feature page
   ========================================================================== */

.feature-list { display: flex; flex-direction: column; gap: 80px; }
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.feature.feature-reverse .feature-text { order: 2; }
.feature.feature-reverse .feature-visual { order: 1; }
@media (max-width: 800px) {
    .feature, .feature.feature-reverse { grid-template-columns: 1fr; gap: 24px; }
    .feature.feature-reverse .feature-text,
    .feature.feature-reverse .feature-visual { order: initial; }
}
.feature-text h2 { margin-bottom: 14px; }
.feature-visual {
    background: var(--c-bg-alt);
    border-radius: var(--radius-lg);
    padding: 36px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bar-chart { display: flex; align-items: flex-end; gap: 10px; width: 100%; height: 180px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar > span {
    display: block;
    width: 22px;
    background: var(--c-line);
    border-radius: 4px 4px 0 0;
    margin-bottom: 8px;
    transition: height .4s, background .2s;
}
.bar.active > span { background: var(--c-brand); }
.bar label { font-size: 0.72rem; color: var(--c-muted); white-space: nowrap; }

.coord-pick {
    position: relative;
    width: 100%; height: 220px;
    background: linear-gradient(135deg, #eef2f6 0%, #f6f8fb 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.coord-crosshair {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--c-brand);
    box-shadow: 0 0 0 8px rgba(14,165,165,.18), 0 0 0 16px rgba(14,165,165,.08);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 8px rgba(14,165,165,.18), 0 0 0 16px rgba(14,165,165,.08); }
    50% { box-shadow: 0 0 0 12px rgba(14,165,165,.25), 0 0 0 24px rgba(14,165,165,.10); }
}
.coord-readout {
    position: absolute;
    bottom: 14px; right: 14px;
    background: rgba(15,23,42,.85); color: #fff;
    padding: 5px 10px; border-radius: 6px;
    font-size: 0.85rem;
}

.tray-mock {
    width: 100%; max-width: 280px;
    background: var(--c-night);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    color: #fff;
}
.tray-icon {
    background: var(--c-brand);
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    margin: 16px;
}
.tray-menu { border-top: 1px solid #2a3344; }
.tray-menu > div, .tray-menu hr {
    margin: 0; padding: 10px 16px;
    font-size: 0.92rem;
    border-bottom: 1px solid #2a3344;
}
.tray-menu hr { border: 0; height: 0; padding: 0; }

.trial-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    margin: 6px;
}
.trial-badge.yellow { background: var(--c-warn-bg); color: var(--c-warn); }
.trial-badge.green  { background: var(--c-success-bg); color: var(--c-success); }

.lic-card {
    width: 100%;
    background: var(--c-night);
    color: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow-lg);
}
.lic-label {
    display: inline-block; font-size: 0.72rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: #94a3b8; margin-bottom: 8px;
}
.lic-foot { display: block; font-size: 0.78rem; color: #94a3b8; margin-top: 12px; }
.lic-card .mono { background: rgba(255,255,255,.08); padding: 6px 8px; border-radius: 4px; display: block; word-break: break-all; }

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}
.checklist li {
    padding: 11px 0 11px 36px;
    position: relative;
    color: var(--c-ink);
    font-weight: 500;
    border-bottom: 1px solid var(--c-line-soft);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
    content: '✓';
    color: #fff;
    background: var(--c-success);
    width: 22px; height: 22px;
    border-radius: 50%;
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 700;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 600;
    color: var(--c-ink);
    position: relative;
    padding-right: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 22px; top: 50%;
    transform: translateY(-50%);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--c-muted);
    transition: transform .2s;
}
.faq-item[open] summary::after { content: '–'; }
.faq-answer { padding: 0 24px 22px; color: var(--c-ink-soft); }
.faq-answer p:first-child { margin-top: 0; }

/* ==========================================================================
   Legal page
   ========================================================================== */

.legal h2 {
    font-size: 1.25rem;
    margin-top: 36px;
    color: var(--c-ink);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--c-ink-soft); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }

/* ==========================================================================
   Download / activate / recover specific bits
   ========================================================================== */

.after-download h2 { margin-top: 0; }
.reqs { list-style: none; padding: 0; }
.reqs li { padding: 8px 0; border-bottom: 1px dashed var(--c-line); }
.reqs li:last-child { border-bottom: 0; }

.lic-display {
    width: 100%;
    font-family: var(--tx-mono);
    font-size: 0.82rem;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-line);
    border-radius: 8px;
    padding: 12px;
    resize: none;
    margin-bottom: 12px;
    word-break: break-all;
    color: var(--c-ink);
}

.next-step-card .btn { margin-top: 18px; }
.sidebar-tip { background: var(--c-bg-alt); border: 0; margin-top: 18px; }
.sidebar-tip h3 { margin-top: 0; }
.contact-direct { text-align: center; margin-top: 18px; }
.explainer h2 { margin-top: 0; font-size: 1.1rem; }

.spinner {
    width: 36px; height: 36px;
    border: 3px solid var(--c-line);
    border-top-color: var(--c-brand);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 18px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--c-night);
    color: #cbd5e1;
    padding: 60px 0 24px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.footer-col h4 { color: #fff; font-size: 0.92rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: #94a3b8; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-pay .muted { color: #94a3b8; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pay-badge {
    display: inline-flex; align-items: center; gap: 7px;
    min-height: 32px;
    background: rgba(255,255,255,.06);
    color: #cbd5e1;
    border: 1px solid rgba(255,255,255,.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
}
.pay-badge-stripe { color: #fff; font-weight: 600; }
.pay-badge-stripe .pay-icon { color: #635bff; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 0.85rem;
    color: #94a3b8;
}
@media (max-width: 540px) { .footer-bottom { flex-direction: column; gap: 6px; } }

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
    .site-header, .site-footer, .hero-art, .nav-toggle { display: none; }
    body { color: #000; }
}

/* ==========================================================================
   Brand tld, pills, key/value lists, account cards, mock panels
   ========================================================================== */

.brand-tld { color: var(--c-brand); font-weight: 600; }
.footer-logo .brand-tld { color: #5eead4; }

.pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.pill-success { background: var(--c-success-bg); color: #065f46; }
.pill-muted   { background: var(--c-bg-alt); color: var(--c-muted); }

.kv {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 18px;
    margin: 0 0 18px;
}
.kv dt { color: var(--c-muted); font-size: 0.9rem; }
.kv dd { margin: 0; color: var(--c-ink); }

.account-card { margin-bottom: 20px; }
.account-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}
.account-card-head h2 { font-size: 1.25rem; margin-bottom: 4px; }
.account-card-head p { margin: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.btn-xs { padding: 4px 10px; font-size: 0.78rem; border-radius: 6px; vertical-align: middle; }

.lic-details {
    border-top: 1px solid var(--c-line-soft);
    padding: 12px 0 4px;
}
.lic-details summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--c-ink);
    list-style: none;
    position: relative;
    padding-left: 18px;
}
.lic-details summary::-webkit-details-marker { display: none; }
.lic-details summary::before {
    content: '▸';
    position: absolute; left: 0; top: 0;
    color: var(--c-muted);
    transition: transform .15s;
}
.lic-details[open] summary::before { transform: rotate(90deg); }
.lic-details > *:not(summary) { margin-top: 12px; }
.inline-form .field { margin-bottom: 12px; }

.sha { word-break: break-all; font-size: 0.8rem; }
.code-block {
    text-align: left;
    background: var(--c-night);
    color: #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    overflow-x: auto;
    font-family: var(--tx-mono);
    font-size: 0.85rem;
    margin: 0 0 12px;
}
.code-block code { background: none; color: inherit; padding: 0; }

/* Hero mock: sequence panel */
.mock-panel {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
}
.mock-panel-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
}
.mock-seq div { font-size: 0.85rem; color: #e2e8f0; padding: 2px 0; }
.mock-seq span { color: #64748b; margin-right: 8px; }

/* Features page: sequence + timeout mocks */
.seq-mock {
    width: 100%;
    background: var(--c-night);
    color: #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
}
.seq-mock > div { padding: 4px 0; }
.seq-mock > div > span { color: #64748b; margin-right: 10px; }
.seq-mock-head {
    display: flex; justify-content: space-between;
    font-family: var(--tx);
    font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: #94a3b8; margin-bottom: 8px;
}
.seq-mock-head span { color: #94a3b8; margin: 0; }
.seq-mock-rec {
    margin-top: 10px;
    color: #f87171;
    font-family: var(--tx);
    font-weight: 600;
    font-size: 0.82rem;
}
.timeout-mock { width: 100%; }
.timeout-mock-row {
    display: flex; align-items: center; gap: 10px;
    font-size: 1rem; color: var(--c-ink);
    margin-bottom: 14px;
}
.timeout-mock-row .mono {
    background: var(--c-night); color: #fff;
    padding: 8px 14px; border-radius: 8px; font-size: 1.1rem;
}
.timeout-mock-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.timeout-mock-presets span {
    background: #fff; border: 1px solid var(--c-line);
    padding: 6px 12px; border-radius: 8px; font-size: 0.85rem; color: var(--c-ink-soft);
}
.timeout-mock-presets span.on { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }

@media (max-width: 600px) {
    .account-card-head { flex-direction: column; }
    .kv { grid-template-columns: 1fr; gap: 2px 0; }
    .kv dd { margin-bottom: 8px; }
}
