/* =====================================================================
   Brainflood Earnings Calculator — page styles
   Theme-aware: foundational colors bind to theme tokens defined in
   themes.css. Big "trophy" number + glassmorphism calculator panel.
   ===================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Foundational tokens — bind to theme system with sensible fallbacks */
    --bg: var(--bg-primary, #07091a);
    --bg-2: var(--bg-secondary, #0c1229);
    --surface: rgba(var(--glass-overlay-color, 255, 255, 255), 0.025);
    --surface-2: rgba(var(--glass-overlay-color, 255, 255, 255), 0.05);
    --border: rgba(var(--glass-overlay-color, 255, 255, 255), 0.08);
    --border-strong: rgba(var(--glass-overlay-color, 255, 255, 255), 0.14);
    --text: var(--text-primary, #e8eaf3);
    --text-dim: var(--text-secondary, #a4abc4);
    --text-muted: var(--text-muted, #6c7393);

    --accent-rgb-fallback: var(--accent-rgb, 124, 58, 237);
    --secondary-rgb-fallback: var(--secondary-rgb, 34, 211, 238);

    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.5);
    --radius: 18px;
    --radius-lg: 28px;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { background: var(--bg); }
body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.55;
    background-image:
        radial-gradient(ellipse 100% 70% at 50% -10%, rgba(var(--accent-rgb-fallback), 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 30%, rgba(var(--secondary-rgb-fallback), 0.10) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 10% 70%, rgba(var(--pink-rgb, 244, 114, 182), 0.08) 0%, transparent 55%);
    background-attachment: fixed;
    background-color: var(--bg);
}

/* Color emoji wrapper — explicit class because marketing doesn't have a global one */
.emoji {
    font-family: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Twemoji Mozilla', 'EmojiOne Color', 'Segoe UI Symbol', sans-serif;
    font-style: normal;
    font-variant-emoji: emoji;
    line-height: 1;
}

a { color: var(--link-color, var(--cyan, #22d3ee)); text-decoration: none; }
a:hover { color: var(--link-hover, var(--cyan, #22d3ee)); text-decoration: underline; }

/* Page container */
.page-pad {
    padding-top: calc(var(--banner-h, 32px) + 4.5rem);
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}
.earnings-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1;
}

/* Decorative pulse-glow orbs (same vibe as homepage) */
.hero-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(64px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
    animation: orb-pulse 3s ease-in-out infinite;
}

/* If the browser doesn't support `filter: blur()` (older Safari/Firefox with
   GPU acceleration off, some WebViews) the 22-28rem solid-color circle
   renders as a flat colored rectangle and looks like a misaligned "ghost
   box" floating in the layout. Hide them in that case — they're decoration,
   not load-bearing. */
@supports not (filter: blur(64px)) {
    .hero-orb { display: none; }
}
.hero-orb-a {
    top: 10%;
    left: -4rem;
    width: 22rem;
    height: 22rem;
    background: rgba(var(--accent-rgb-fallback), 0.18);
}
.hero-orb-b {
    bottom: 10%;
    right: -4rem;
    width: 28rem;
    height: 28rem;
    background: rgba(var(--secondary-rgb-fallback), 0.12);
    animation-delay: 1.5s;
}
@keyframes orb-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============== HERO ============== */
.earnings-hero {
    text-align: center;
    padding: 1rem 0 2.5rem;
}
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.78rem;
    color: var(--text-dim);
    backdrop-filter: blur(8px);
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: var(--color-success, #34d399);
    box-shadow: 0 0 8px rgba(var(--success-rgb, 52, 211, 153), 0.5);
}

.earnings-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.25rem, 6vw, 4rem);
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.earnings-title-accent {
    background: linear-gradient(90deg, var(--color-secondary, #22d3ee), var(--color-accent, #7c3aed), var(--color-pink, #f472b6));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.earnings-sub {
    max-width: 36rem;
    margin: 0 auto;
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.6;
}
.earnings-sub-secondary {
    margin-top: 0.85rem;
    font-size: 0.98rem;
}
.earnings-sub-secondary strong { color: var(--text-bright, #e2e8f0); font-weight: 600; }
.inline-link {
    color: var(--color-secondary, #22d3ee);
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
    transition: color 0.15s ease;
}
.inline-link:hover { color: var(--color-accent, #a78bfa); }

.earnings-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin: 1.5rem auto 0.5rem;
}
.earnings-hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--color-accent, #a78bfa) 0%, var(--color-pink, #f472b6) 100%);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(167, 139, 250, 0.36);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.earnings-hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.5);
}
.earnings-hero-cta-link {
    color: var(--text-dim);
    font-size: 0.93rem;
    text-decoration: none;
    border-bottom: 1px dashed rgba(167, 139, 250, 0.4);
    padding-bottom: 2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.earnings-hero-cta-link:hover {
    color: var(--color-accent, #a78bfa);
    border-color: var(--color-accent, #a78bfa);
}

.earnings-sources-link {
    margin: 0.85rem auto 0;
    max-width: 36rem;
    font-size: 0.92rem;
    color: var(--text-dim);
}
.earnings-sources-link a {
    color: var(--color-secondary, #22d3ee);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}
.earnings-sources-link a:hover {
    border-bottom-color: currentColor;
}

/* ============== GLASS BASE ==============
   `.glass` is applied to ~14 elements on this page (calc-card, result-card,
   4 stream-cards, 3 scenario-cards, tipping-card, 4 empire-features). The
   `backdrop-filter: blur(14px)` recomputes against the underlying canvas
   on every paint — and slider drags repaint frequently. On low-end Android
   stacking 14 backdrop-filter surfaces is the main cause of mid-drag jank.
   We now scope the blur to only the two surfaces where it's load-bearing
   visually (the calc + result cards layered over the hero orbs); lower
   sections fall back to a flat `var(--surface)` background since they're
   below the orbs anyway. */
.glass {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.calc-card.glass,
.result-card.glass {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* ============== CALCULATOR GRID ============== */
.calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 860px) {
    .calc-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============== CALCULATOR CARD ============== */
.calc-card {
    padding: 1.75rem 1.5rem;
}
.card-eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.card-eyebrow-sm { margin-bottom: 0.75rem; }

.field {
    margin-bottom: 1.25rem;
}
.field:last-of-type { margin-bottom: 0.5rem; }
.field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.field-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.field-row label { margin-bottom: 0; }
.field-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-secondary, #22d3ee);
}

/* Native select — themed */
.select-input {
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.9rem;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.select-input:hover { border-color: rgba(var(--accent-rgb-fallback), 0.4); }
.select-input:focus-visible {
    outline: none;
    border-color: var(--color-accent, #7c3aed);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb-fallback), 0.25);
}

/* Range slider — themed thumb */
.range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--surface-2);
    border-radius: 999px;
    border: 1px solid var(--border);
    cursor: pointer;
    outline: none;
}
.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--color-secondary, #22d3ee), var(--color-accent, #7c3aed));
    border: 2px solid var(--bg-primary, #070b1a);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(var(--secondary-rgb-fallback), 0.5);
    transition: transform 0.1s;
}
.range-input::-webkit-slider-thumb:hover { transform: scale(1.1); }
.range-input::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--color-secondary, #22d3ee), var(--color-accent, #7c3aed));
    border: 2px solid var(--bg-primary, #070b1a);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(var(--secondary-rgb-fallback), 0.5);
}
.range-input:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb-fallback), 0.3);
}
.range-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    padding: 0 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Toggle switch */
.toggle-field { padding: 0.25rem 0; }
.toggle-label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    min-height: 44px;
    margin-bottom: 0 !important;
}
.toggle-text { display: flex; flex-direction: column; gap: 0.15rem; }
.toggle-name { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.toggle-hint { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; }
.toggle-switch {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 28px;
}
.toggle-switch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}
.toggle-track {
    position: absolute;
    inset: 0;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 9999px;
    transition: background 0.2s, border-color 0.2s;
}
.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--text-dim);
    border-radius: 9999px;
    transition: transform 0.2s, background 0.2s;
}
.toggle-switch input:checked ~ .toggle-track {
    background: linear-gradient(90deg, var(--color-accent, #7c3aed), var(--color-secondary, #22d3ee));
    border-color: transparent;
}
.toggle-switch input:checked ~ .toggle-track .toggle-thumb {
    transform: translateX(20px);
    /* Use a high-contrast token so the thumb stays legible on every skin —
       on light themes the gradient track is paler and a pure-white thumb
       can fade into it. */
    background: var(--toggle-thumb-on, #fff);
}
.toggle-switch input:focus-visible ~ .toggle-track {
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb-fallback), 0.3);
}

.calc-disclaimer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============== RESULT CARD ============== */
.result-card {
    padding: 2rem 1.5rem;
    text-align: center;
    position: sticky;
    top: calc(var(--banner-h, 32px) + 5.5rem);
    border: 1px solid rgba(var(--accent-rgb-fallback), 0.25);
    background:
        radial-gradient(ellipse at top, rgba(var(--accent-rgb-fallback), 0.08), transparent 60%),
        var(--surface);
}
@media (max-width: 860px) {
    .result-card { position: static; }
}

.trophy-block { padding: 0.5rem 0 0.75rem; }
.trophy-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 12px rgba(var(--secondary-rgb-fallback), 0.5));
}
.trophy-number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--color-secondary, #22d3ee), var(--color-accent, #7c3aed));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(var(--accent-rgb-fallback), 0.25);
    font-variant-numeric: tabular-nums;
}
.trophy-period {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.yearly-line {
    margin-top: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}
.yearly-suffix { color: var(--text-muted); font-weight: 400; }

.breakdown { padding: 1.25rem 0 0.5rem; text-align: left; }
.breakdown-list { list-style: none; padding: 0; margin: 0; }
.breakdown-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.92rem;
}
.breakdown-list li:last-child { border-bottom: none; }
.breakdown-list .stream-label { color: var(--text-dim); }
.breakdown-list .stream-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.comparison {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    background: rgba(var(--secondary-rgb-fallback), 0.08);
    border: 1px solid rgba(var(--secondary-rgb-fallback), 0.25);
    border-radius: 10px;
    text-align: left;
}
.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}
.comparison-label {
    color: var(--text);
    font-weight: 600;
    font-size: 0.88rem;
}
.comparison-hours {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.82rem;
}
.comparison-numbers {
    margin-top: 0.5rem;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}
.comparison-num {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}
.comparison-num-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.comparison-num-net {
    color: var(--color-secondary, #22d3ee);
}
.comparison-num-tag {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.comparison-sep {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1;
}
.comparison-note {
    margin-top: 0.65rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(var(--secondary-rgb-fallback), 0.2);
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}
.comparison-note a {
    color: var(--color-secondary, #22d3ee);
    white-space: nowrap;
}

/* ============== TRUST STRIP ============== */
.trust-strip {
    margin: 2rem auto;
    padding: 0.85rem 1.25rem;
    max-width: 36rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9999px;
    color: var(--text-dim);
    font-size: 0.88rem;
}
.trust-strip a { font-weight: 500; }

.earnings-disclaimer-strip {
    max-width: 48rem;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    line-height: 1.55;
    text-align: left;
    font-size: 0.85rem;
}
.earnings-disclaimer-strip strong {
    color: var(--text);
}
.earnings-disclaimer-strip a {
    color: var(--color-secondary, #22d3ee);
    white-space: nowrap;
}

/* ============== CTA BLOCK ============== */
.cta-block {
    margin-top: 3rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--text);
    margin-bottom: 0.5rem;
}
.cta-sub {
    color: var(--text-dim);
    margin-bottom: 1.75rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.85rem 1.5rem;
    min-height: 44px;
    border-radius: 9999px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s, background 0.15s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(90deg, var(--color-accent, #7c3aed), var(--color-accent-light, #a855f7), var(--color-accent, #7c3aed));
    background-size: 200% auto;
    /* Routed through --text-on-accent so individual themes can override
       the foreground when the accent gradient is pale enough on a light
       skin to make pure white sub-AA. Default stays white. */
    color: var(--text-on-accent, #fff);
    box-shadow: 0 8px 24px rgba(var(--accent-rgb-fallback), 0.35);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(var(--accent-rgb-fallback), 0.5);
    text-decoration: none;
    color: var(--text-on-accent, #fff);
}
.btn-shimmer:hover { animation: shimmer 2s linear infinite; }
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
    border-color: rgba(var(--accent-rgb-fallback), 0.5);
    background: var(--surface);
    text-decoration: none;
    color: var(--text);
}

/* ============== FOOTER ============== */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 3rem 1.25rem 2rem;
    margin-top: 4rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-brand { grid-column: 1 / -1; }
}
.footer-blurb {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.5;
}
.footer-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 0.85rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: 0.25rem 0; }
.footer-list a {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.footer-list a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.82rem;
}
.footer-addr { font-style: normal; }

/* ============== TIPS FIELD ENHANCEMENTS ============== */
.field-hint-inline {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}
.tip-methods-row {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.tip-method-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.78rem;
    color: var(--text-dim);
}
.tip-method-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    line-height: 1;
    color: #fff;
}
/* Brand colors for the four supported digital tip methods. These are
   public/trademarked brand colors so hardcoding the hex in CSS is fine —
   we just don't want them as inline `style="…"` attributes (CSP-readiness:
   tightening `style-src` on the marketing site would otherwise turn the
   letter chips into colorless squares). The `.tip-method-letter` rule
   above sets shape + white text; these classes paint the background. */
.tip-method-letter--venmo   { background: #008CFF; }
.tip-method-letter--cashapp { background: #00D54B; }
.tip-method-letter--paypal  { background: #003087; }
.tip-method-letter--zelle   { background: #6D1ED4; }

/* ============== TIPS CALLOUT (in result card) ============== */
.tips-callout {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background:
        linear-gradient(90deg, rgba(var(--accent-rgb-fallback), 0.12), rgba(var(--secondary-rgb-fallback), 0.10));
    border: 1px solid rgba(var(--secondary-rgb-fallback), 0.3);
    border-radius: 12px;
    text-align: left;
}
.tips-callout-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(var(--secondary-rgb-fallback), 0.4));
}
.tips-callout-body {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex: 1;
}
.tips-callout-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}
.tips-callout-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-secondary, #22d3ee);
    font-variant-numeric: tabular-nums;
    margin-top: 0.15rem;
}
.tips-callout-period {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

/* ============== SECTION HEAD (shared) ============== */
.section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.25rem;
}
.section-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-secondary, #22d3ee);
    margin-bottom: 0.65rem;
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 0.85rem;
}
.section-sub {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============== STREAMS GRID ============== */
.streams-section {
    margin: 4rem 0;
}
.streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.stream-card {
    padding: 1.5rem 1.25rem;
    text-align: left;
    position: relative;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.stream-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--accent-rgb-fallback), 0.3);
}
.stream-card-feature {
    border: 1px solid rgba(var(--secondary-rgb-fallback), 0.4);
    background:
        radial-gradient(ellipse at top, rgba(var(--secondary-rgb-fallback), 0.10), transparent 60%),
        var(--surface);
}
.stream-feature-badge {
    position: absolute;
    top: -10px;
    left: 1.25rem;
    padding: 0.25rem 0.6rem;
    background: linear-gradient(90deg, var(--color-accent, #7c3aed), var(--color-secondary, #22d3ee));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(var(--accent-rgb-fallback), 0.35);
}
.stream-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.stream-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.stream-amount-line {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-secondary, #22d3ee);
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.6rem;
}
.stream-body {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ============== TIPPING SECTION ============== */
.tipping-section {
    margin: 5rem 0;
}
.tipping-card {
    padding: 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    border: 1px solid rgba(var(--accent-rgb-fallback), 0.25);
    background:
        radial-gradient(ellipse at top right, rgba(var(--secondary-rgb-fallback), 0.10), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(var(--accent-rgb-fallback), 0.10), transparent 60%),
        var(--surface);
}
@media (max-width: 800px) {
    .tipping-card { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem; }
}
.tipping-content { text-align: left; }
.tipping-content .section-eyebrow { margin-bottom: 0.5rem; }
.tipping-content .section-title { margin-bottom: 1rem; }
.tipping-lead {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.tipping-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.tipping-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.55;
}
.tipping-features strong {
    color: var(--text);
    font-weight: 600;
    display: block;
    margin-bottom: 0.15rem;
}
.tipping-feature-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.1rem;
}

/* Phone mockup */
.tipping-visual {
    display: flex;
    justify-content: center;
}
.tipping-phone-frame {
    width: 220px;
    padding: 12px;
    /* Phone frame: was hardcoded near-black gradient — jarring on light
       skins (ivory / rose / arctic / sage). The phone screen at line 928
       already uses theme tokens correctly; the frame should mirror it. */
    background: linear-gradient(180deg, var(--bg-secondary, #1a1f3a), var(--bg-primary, #0c1229));
    border: 2px solid rgba(var(--accent-rgb-fallback), 0.3);
    border-radius: 32px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(var(--accent-rgb-fallback), 0.25);
}
.tipping-phone-screen {
    background: var(--bg);
    border-radius: 22px;
    padding: 1.25rem 1rem;
    text-align: center;
}
.tipping-phone-header {
    margin-bottom: 0.85rem;
}
.tipping-phone-host {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.tipping-phone-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
}
.tipping-phone-options {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}
.tipping-phone-chip {
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 500;
}
.tipping-phone-chip-active {
    background: rgba(var(--accent-rgb-fallback), 0.18);
    border-color: rgba(var(--accent-rgb-fallback), 0.5);
    color: var(--text);
}
.tipping-phone-providers {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}
.tipping-phone-providers .tip-method-letter {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 0.85rem;
}
.tipping-phone-cta {
    padding: 0.65rem;
    background: linear-gradient(90deg, var(--color-accent, #7c3aed), var(--color-secondary, #22d3ee));
    color: #fff;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============== SCENARIOS ============== */
.scenarios-section {
    margin: 5rem 0;
}
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.scenario-card {
    padding: 1.75rem 1.5rem;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}
.scenario-card-feature {
    border: 1px solid rgba(var(--accent-rgb-fallback), 0.45);
    background:
        radial-gradient(ellipse at top, rgba(var(--accent-rgb-fallback), 0.10), transparent 60%),
        var(--surface);
    transform: translateY(-6px);
}
@media (max-width: 900px) {
    .scenario-card-feature { transform: none; }
}
.scenario-tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    width: fit-content;
}
.scenario-tag-feature {
    background: linear-gradient(90deg, var(--color-accent, #7c3aed), var(--color-secondary, #22d3ee));
    border-color: transparent;
    color: #fff;
}
.scenario-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.85rem;
    line-height: 1.25;
}
.scenario-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}
.scenario-meta li {
    padding-left: 1rem;
    position: relative;
}
.scenario-meta li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-secondary, #22d3ee);
}
.scenario-stack {
    border-top: 1px dashed var(--border);
    padding-top: 0.85rem;
    margin-bottom: 1rem;
}
.scenario-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.88rem;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}
.scenario-row span:last-child {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--text);
}
.scenario-total {
    padding: 0.85rem 1rem;
    background: rgba(var(--secondary-rgb-fallback), 0.08);
    border: 1px solid rgba(var(--secondary-rgb-fallback), 0.25);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.scenario-total-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}
.scenario-total-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-secondary, #22d3ee);
    font-variant-numeric: tabular-nums;
}
.scenario-foot {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
    font-style: italic;
    margin-top: auto;
}

/* ============== FAQ ============== */
.faq-section {
    margin: 5rem 0 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item[open] {
    border-color: rgba(var(--accent-rgb-fallback), 0.35);
}
.faq-q {
    padding: 1.1rem 1.35rem;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
    content: "+";
    font-size: 1.4rem;
    line-height: 1;
    color: var(--color-secondary, #22d3ee);
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.faq-item[open] .faq-q::after {
    transform: rotate(45deg);
}
.faq-a {
    padding: 0 1.35rem 1.25rem;
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.65;
}
.faq-a p { margin: 0; }

/* ============== CTA microcopy ============== */
.cta-microcopy {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============== TIME-FRAME TOGGLE (result card) ============== */
.time-toggle {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    padding: 0.25rem;
    margin-bottom: 1.25rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 9999px;
}
.time-toggle-btn {
    padding: 0.5rem 0.4rem;
    background: transparent;
    border: none;
    border-radius: 9999px;
    color: var(--text-dim);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    min-height: 36px;
}
.time-toggle-btn:hover {
    color: var(--text);
    background: rgba(var(--accent-rgb-fallback), 0.08);
}
.time-toggle-btn.active {
    color: #fff;
    background: linear-gradient(90deg, var(--color-accent, #7c3aed), var(--color-secondary, #22d3ee));
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(var(--accent-rgb-fallback), 0.35);
}
.time-toggle-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb-fallback), 0.45);
}
@media (max-width: 420px) {
    .time-toggle-btn { font-size: 0.72rem; }
}

.trophy-context {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    min-height: 1.2em;
}

/* ============== AT-A-GLANCE FRAME STRIP ============== */
.frame-strip {
    margin-top: 1rem;
    padding: 0.65rem 0.4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.frame-strip-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.5rem 0.3rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.18s, transform 0.15s;
    text-align: center;
    /* Cells are now real <button> elements (was <div>) — strip the
       browser default button chrome so the existing visual is preserved.
       The 1px transparent border reserves space for the .frame-strip-active
       border (1px solid) so toggling between cells doesn't cause a 2px
       layout shift. */
    background: transparent;
    border: 1px solid transparent;
    color: inherit;
    font: inherit;
}
.frame-strip-cell:hover {
    background: rgba(var(--accent-rgb-fallback), 0.08);
}
.frame-strip-cell:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--secondary-rgb-fallback), 0.5);
}
.frame-strip-active {
    background: rgba(var(--secondary-rgb-fallback), 0.12);
    border: 1px solid rgba(var(--secondary-rgb-fallback), 0.3);
}
.frame-strip-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 500;
}
.frame-strip-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.frame-strip-active .frame-strip-value {
    color: var(--color-secondary, #22d3ee);
}
@media (max-width: 420px) {
    .frame-strip-value { font-size: 0.78rem; }
}

/* ============== EMPIRE SECTION ============== */
.empire-section {
    margin: 5rem 0;
}

/* Trajectory ladder — 3 rungs that visually escalate */
.trajectory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    position: relative;
}
.trajectory-rung {
    padding: 1.5rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}
.trajectory-rung:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--accent-rgb-fallback), 0.3);
}
.trajectory-rung-1 { border-top: 3px solid rgba(var(--secondary-rgb-fallback), 0.5); }
.trajectory-rung-2 { border-top: 3px solid rgba(var(--accent-rgb-fallback), 0.5); }
.trajectory-rung-3 { border-top: 3px solid #fbbf24; }
.trajectory-rung-feature {
    background:
        radial-gradient(ellipse at top, rgba(var(--accent-rgb-fallback), 0.12), transparent 60%),
        var(--surface);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb-fallback), 0.18);
}
.trajectory-feature-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.7rem;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    color: #1a1004;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    white-space: nowrap;
    /* The hardcoded amber shadow used to be `rgba(251, 191, 36, 0.4)`.
       Routed through `--gold-rgb` so theme overrides can shift it (and so
       it doesn't break if `--color-warning` is ever changed). Fallback
       preserves the original visual on themes without a `--gold-rgb`. */
    box-shadow: 0 4px 12px rgba(var(--gold-rgb, 251, 191, 36), 0.4);
}
.trajectory-stage {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.trajectory-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 0.6rem;
    line-height: 1.2;
}
.trajectory-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
}
.trajectory-numbers {
    padding-top: 0.85rem;
    border-top: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-variant-numeric: tabular-nums;
}
.trajectory-num {
    font-weight: 600;
    color: var(--color-secondary, #22d3ee);
    font-size: 0.95rem;
}
.trajectory-num-y {
    font-weight: 700;
    color: var(--text);
    font-size: 1.1rem;
}
.trajectory-rung-feature .trajectory-num-y {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Real-features grid */
.empire-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.empire-feature {
    padding: 1.5rem 1.25rem;
    text-align: left;
    transition: transform 0.2s, border-color 0.2s;
}
.empire-feature:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--secondary-rgb-fallback), 0.3);
}
.empire-feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.empire-feature-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}
.empire-feature-body {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.55;
}
.empire-feature-body em {
    color: var(--color-secondary, #22d3ee);
    font-style: normal;
    font-weight: 600;
}

/* Honesty caveat */
.empire-honesty {
    margin-top: 1.5rem;
    padding: 0.95rem 1.15rem;
    background: rgba(var(--accent-rgb-fallback), 0.06);
    border: 1px dashed rgba(var(--accent-rgb-fallback), 0.3);
    border-radius: 12px;
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

/* ============== REDUCED MOTION ============== */
@media (prefers-reduced-motion: reduce) {
    .hero-orb { animation: none; }
    .btn-primary:hover { animation: none; transform: none; }
    .range-input::-webkit-slider-thumb:hover { transform: none; }
    .toggle-thumb { transition: none; }
    .toggle-track { transition: none; }
    .stream-card:hover { transform: none; }
    .faq-q::after { transition: none; }
    .time-toggle-btn { transition: none; }
    .frame-strip-cell { transition: none; }
    .trajectory-rung:hover { transform: none; }
    .empire-feature:hover { transform: none; }
}

/* ============== COARSE-POINTER / MOBILE PERF ==============
   Touch devices (phones, tablets) tend to be lower-powered than the
   desktops we paint heavy effects for. The hero-orb blur(64px) and the
   .glass backdrop-filter blur(14px) combined are a known frame-rate
   killer on mid-tier Android during slider drag. Drop the orb blur
   radius and pause the orb-pulse animation on coarse-pointer devices. */
@media (hover: none) and (pointer: coarse) {
    .hero-orb {
        filter: blur(40px);
        animation: none;
    }
    .calc-card.glass,
    .result-card.glass {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* ============== PRINT ==============
   Hosts print income projections to show family / venue managers / tax
   preparers. The dark theme renders as nearly-black ink-eaters with
   white text invisible on white paper. This block forces a clean
   light-on-light layout for print. */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .site-header,
    .site-footer,
    .hero-orb,
    .play-orbs,
    .cta-block,
    .faq-section,
    nav, footer { display: none !important; }
    .glass,
    .calc-card,
    .result-card,
    .stream-card,
    .scenario-card,
    .tipping-card,
    .empire-feature {
        background: #fff !important;
        border: 1px solid #ccc !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    .trophy-number,
    .trophy-period,
    .trajectory-num,
    .trajectory-num-y,
    .frame-strip-value {
        /* Gradient text via -webkit-background-clip is invisible without
           the gradient — force solid black for print. */
        color: #000 !important;
        background: none !important;
        -webkit-text-fill-color: #000 !important;
    }
    a { color: #000 !important; text-decoration: underline; }
    h1, h2, h3, h4 { color: #000 !important; }
    .earnings-disclaimer-strip {
        border: 2px solid #000 !important;
        padding: 0.5rem !important;
    }
}

/* ============== CROSS-TOOL STRIP ==============
   Surface the other two free tools after the FAQ — visitors who finish
   the calculator are warm leads for the quizzes too. */
.cross-tool-strip {
    max-width: 60rem;
    margin: 3rem auto 0;
    padding: 0 1rem;
}
.cross-tool-head { text-align: center; margin-bottom: 1.5rem; }
.cross-tool-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-bright, #e2e8f0);
    margin: 0.25rem 0 0;
}
.cross-tool-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .cross-tool-grid { grid-template-columns: 1fr 1fr; }
}
.cross-tool-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(167, 139, 250, 0.18);
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.cross-tool-card:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 8px 28px rgba(167, 139, 250, 0.22);
}
.cross-tool-emoji { font-size: 1.8rem; line-height: 1; }
.cross-tool-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright, #e2e8f0);
    margin: 0;
}
.cross-tool-desc {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}
.cross-tool-cta {
    margin-top: 0.25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-secondary, #22d3ee);
}
