/* ============================================================
   ChatLemur Homepage — page-specific styles
   Tokens: /static/styles.css :root {}
   Design system: docs/WEB_DESIGN_SYSTEM.md
   ============================================================ */

/* ── Homepage background locals (near-black shades not in global tokens) ── */
:root {
    --hp-bg-deep:    #0a0a0f;
    --hp-bg-section: #0d0d17;
    --candle-eye:    #F5B14A;
}

/* ── Global focus ring (candle-eye design language) ── */
:focus-visible { outline: 2px solid var(--candle-eye); outline-offset: 2px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero-marketing {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.18) 0%, transparent 70%), var(--hp-bg-deep);
    padding: 80px 0 64px;
    text-align: center;
}
.hero-marketing .container { max-width: 880px; }
.hero-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 48px; align-items: center; max-width: 1140px; text-align: left;
}
.hero-copy { min-width: 0; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
/* The static fire-lemur mascot at the TOP always greets (Joe, 2026-07-13): the live
   3D avatar mounts in the concierge section lower down, so hiding the hero mascot
   left the top empty. Removed `body.lenny-avatar-live .hero-visual{display:none}` +
   the single-column override so the hero keeps its default two-column layout with
   the mascot visible regardless of the live avatar. */
.hero-grid .hero-sub { margin-left: 0; margin-right: 0; }
.hero-grid .hero-cta-group { justify-content: flex-start; }
.hero-grid .hero-stats { justify-content: flex-start; }
.hero-grid .lenny-mascot.hero-mascot { --lenny-size: clamp(220px, 26vw, 340px); margin: 0; }
.hero-grid .hero-headline { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 8px; text-align: center; }
    .hero-visual { order: -1; }
    .hero-grid .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-grid .hero-cta-group { justify-content: center; }
    .hero-grid .hero-stats { justify-content: center; }
    .hero-grid .lenny-mascot.hero-mascot { --lenny-size: clamp(160px, 40vw, 230px); margin: 0 auto; }
    .hero-grid .hero-copy { display: flex; flex-direction: column; }
    .hero-grid .hero-copy > .hero-brandline { order: 0; align-self: center; text-align: center; }
    .hero-grid .hero-copy > .hero-eyebrow { order: 1; align-self: center; margin-bottom: 14px; }
    .hero-grid .hero-copy > .hero-headline { order: 2; }
    .hero-grid .hero-copy > .hero-sub { order: 3; }
    .hero-grid .hero-copy > .hero-cta-group { order: 4; margin-bottom: 24px; }
    .hero-grid .hero-copy > .hero-why { order: 5; }
    .hero-grid .hero-copy > .hero-prompts { order: 6; }
    .hero-grid .hero-copy > .hero-stats { order: 7; }
    .hero-grid .hero-sub-breadth { display: none; }
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.35);
    border-radius: 100px; padding: 5px 16px; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.07em; text-transform: uppercase; color: var(--primary-light); margin-bottom: 24px;
}
.hero-eyebrow-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--candle-eye);
    box-shadow: 0 0 6px rgba(245,177,74,0.55); animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.8); } }
/* Brand mission line — restored 2026-07-12 (board decision). Sits above the eyebrow;
   mission/brand statement, NOT a comparative product claim (GC guardrail). */
.hero-brandline {
    font-family: var(--font-display); text-wrap: balance;
    font-size: clamp(1.05rem, 2.5vw, 1.4rem); font-weight: 700; line-height: 1.3;
    color: var(--text-primary); margin-bottom: 16px; max-width: 40ch;
}
.hero-brandline .hero-brandline-lead {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-headline {
    font-family: var(--font-display); text-wrap: balance;
    font-size: clamp(2.4rem, 6.2vw, 4.1rem); font-weight: 800;
    letter-spacing: -0.035em; line-height: 1.04; color: var(--text-primary); margin-bottom: 20px;
}
.hero-headline .grad {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: clamp(1rem, 2.5vw, 1.2rem); color: #c4c4d4; line-height: 1.65; max-width: 600px; margin: 0 auto 20px; }
.hero-sub-breadth { display: block; margin-top: 8px; color: #9a9ab3; font-size: 0.92em; }
.hero-why { font-size: clamp(0.9rem, 2vw, 1rem); color: #a9a9c0; line-height: 1.6; max-width: 600px; margin: 0 auto 32px; }
.hero-why strong { color: #d7d2ef; font-weight: 700; }
.hero-prompts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.hero-prompts-lead { font-size: 0.85rem; font-weight: 700; color: #9a9ab3; }
.hero-prompt-chip {
    font-family: inherit; cursor: pointer;
    background: rgba(124,58,237,0.12); border: 1.5px solid rgba(124,58,237,0.32);
    color: #c9b6ff; border-radius: 100px; padding: 10px 16px;
    font-size: 0.86rem; font-weight: 600; line-height: 1.3;
    transition: background 0.15s, border-color 0.15s, transform 0.15s; min-height: 44px;
}
.hero-prompt-chip:hover, .hero-prompt-chip:focus-visible {
    background: rgba(124,58,237,0.22); border-color: rgba(124,58,237,0.6);
    transform: translateY(-1px); color: #ddccff;
}
html[data-theme="light"] .hero-sub-breadth { color: #6b7280; }
html[data-theme="light"] .hero-why { color: #4b5563; }
html[data-theme="light"] .hero-why strong { color: #3a3a52; }
html[data-theme="light"] .hero-prompts-lead { color: #6b7280; }
html[data-theme="light"] .hero-prompt-chip { color: #6d28d9; background: rgba(124,58,237,0.08); }
.hero-cta-group { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 40px; }
.hero-cta-group .btn-hero-primary { font-size: 1.06rem; padding: 16px 32px; }
.hero-cta-hint { font-size: 0.85rem; color: #b9b9cf; line-height: 1.4; margin: -2px 0 4px; }
.hero-cta-secondary-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-cta-secondary-row .btn-hero-secondary { padding: 11px 22px; font-size: 0.92rem; }
html[data-theme="light"] .hero-cta-hint { color: #4b5563; }
.hero-grid .hero-cta-group { align-items: flex-start; }
.hero-grid .hero-cta-secondary-row { justify-content: flex-start; }
@media (max-width: 900px) {
    .hero-grid .hero-cta-group { align-items: center; }
    .hero-grid .hero-cta-secondary-row { justify-content: center; }
}
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff;
    border: none; border-radius: 12px; padding: 14px 28px; font-family: inherit;
    font-size: 1rem; font-weight: 700; cursor: pointer; text-decoration: none;
    transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35); min-height: 44px;
}
.btn-hero-primary:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.5); color: #fff; }
.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.06); color: #e8e6f0;
    border: 1.5px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 14px 28px;
    font-family: inherit; font-size: 1rem; font-weight: 600; text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.15s; min-height: 44px;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(124,58,237,0.5); color: #e8e6f0; transform: translateY(-2px); }
.hero-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-value { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; }
.hero-stat-label { display: block; font-size: 0.78rem; color: #8585a3; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.hero-stat-divider { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; min-height: 40px; }

/* ── Trust row ────────────────────────────────────────────── */
.trust-row { border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(124,58,237,0.04); }
.trust-row > .container { padding-top: 18px; padding-bottom: 18px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.trust-chips li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.86rem; font-weight: 600; color: #c4c4d4; }
.trust-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--candle-eye); flex: 0 0 auto; }
.trust-row-line { text-align: center; max-width: 680px; margin: 12px auto 0; font-size: 0.9rem; line-height: 1.55; color: #a9a9c0; }
html[data-theme="light"] .trust-row { background: #faf9ff; border-color: #ececf3; }
html[data-theme="light"] .trust-chips li { color: #4b5563; }
html[data-theme="light"] .trust-row-line { color: #4b5563; }

/* ── Sticky mobile "Talk to Lenny" bar ────────────────────── */
.sticky-talk-bar { display: none; }
@media (max-width: 900px) {
    .sticky-talk-bar {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(13,13,23,0.94);
        -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
        border-top: 1px solid rgba(124,58,237,0.4);
    }
    .sticky-talk-bar__btn {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        width: 100%; min-height: 48px; box-sizing: border-box;
        background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff;
        border: none; border-radius: 12px; font-family: inherit;
        font-size: 1.02rem; font-weight: 700; text-decoration: none;
        box-shadow: 0 4px 20px rgba(124,58,237,0.45);
    }
    body { padding-bottom: 76px; }
}
html[data-theme="light"] .sticky-talk-bar { background: rgba(255,255,255,0.94); border-top-color: #e3e3ec; }

/* ── Wave dividers ────────────────────────────────────────── */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ── What Lenny does (heard section) ─────────────────────── */
.lenny-section { background: var(--hp-bg-section); padding: var(--spacing-3xl) 0; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--primary-light); margin-bottom: 12px;
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.1; color: var(--text-primary); margin-bottom: 12px;
}
.section-sub { font-size: 1rem; color: #9090aa; line-height: 1.65; max-width: 560px; margin-bottom: 52px; }
.lenny-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.lenny-card {
    background: #131320; border: 1.5px solid #2a2a40;
    border-radius: 20px; padding: 28px 24px 24px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.lenny-card:hover { border-color: rgba(124,58,237,0.55); box-shadow: 0 0 0 3px rgba(124,58,237,0.1), 0 8px 32px rgba(0,0,0,0.5); transform: translateY(-3px); }
.lenny-card-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(124,58,237,0.15); display: grid; place-items: center; margin-bottom: 18px; color: var(--primary-light); }
.lenny-card-icon svg { width: 22px; height: 22px; }
.lenny-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; letter-spacing: -0.01em; }
.lenny-card p { font-size: 0.88rem; color: #9090aa; line-height: 1.6; margin: 0; }
.lenny-card .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.lenny-tag {
    background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.25);
    border-radius: 100px; padding: 2px 10px; font-size: 0.73rem; font-weight: 600;
    color: var(--primary-light);
    font-family: 'SF Mono', 'Cascadia Code', 'Roboto Mono', Menlo, monospace;
}

/* ── Modules — "What Lenny can do" ───────────────────────── */
.modules-section { background: var(--hp-bg-deep); padding: var(--spacing-3xl) 0; }
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.module-card {
    display: flex; flex-direction: column;
    background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.09);
    border-radius: 20px; overflow: hidden;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.07);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.module-card:hover { border-color: rgba(124,58,237,0.55); box-shadow: 0 0 0 3px rgba(124,58,237,0.1), 0 8px 32px rgba(0,0,0,0.5); transform: translateY(-3px); }
.module-card-media { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--hp-bg-section); border-bottom: 1px solid #2a2a40; }
.module-card--flagship { grid-column: span 2; border-color: rgba(124,58,237,0.5); }
.module-card--flagship .module-card-media { aspect-ratio: 16 / 7; }
.module-card--flagship h3 { font-size: 1.22rem; }
@media (max-width: 640px) {
    .module-card--flagship { grid-column: span 1; }
    .module-card--flagship .module-card-media { aspect-ratio: 4 / 3; }
}
/* Guidance audio demo (2026-07) — hear the audio-first crown jewel. */
.guidance-audio-demo {
    margin-top: 24px; padding: 20px 22px; border-radius: 16px;
    background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.28);
    max-width: 640px;
}
.guidance-audio-title { margin: 0 0 12px; font-size: 1.02rem; color: var(--text-primary); }
.guidance-audio-player { width: 100%; margin: 4px 0 10px; }
.guidance-audio-note { margin: 0; font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
/* Guidance annotated-display screenshot (2026-07) — the visual annotator + PI/insurance angle. */
.guidance-annotated-figure {
    margin: 20px 0 0; padding: 0; max-width: 640px;
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.guidance-annotated-img {
    width: 260px; max-width: 60%; height: auto; border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.guidance-annotated-cap { margin: 0; font-size: 0.86rem; color: var(--text-secondary); line-height: 1.55; }
.module-flagship-tag { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 100px; padding: 3px 10px; white-space: nowrap; color: #fbbf24; background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.4); }
html[data-theme="light"] .module-flagship-tag { color: #b45309; background: rgba(251,191,36,0.14); border-color: rgba(251,191,36,0.5); }
.module-card-body { padding: 22px 22px 24px; }
.module-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; }
.module-card h3 { font-size: 1.08rem; font-weight: 800; color: var(--text-primary); margin: 0; letter-spacing: -0.01em; }
.module-status { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 100px; padding: 3px 10px; white-space: nowrap; }
.module-status--live { color: #6ee7b7; background: rgba(16,185,129,0.14); border: 1px solid rgba(16,185,129,0.4); }
.module-status--soon { color: #c4b5fd; background: rgba(124,58,237,0.14); border: 1px solid rgba(124,58,237,0.4); }
html[data-theme="light"] .module-status--live { color: #047857; background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.45); }
html[data-theme="light"] .module-status--soon { color: #6d28d9; background: rgba(124,58,237,0.10); border-color: rgba(124,58,237,0.4); }
.module-status--coming { color: #fcd34d; background: rgba(245,158,11,0.14); border: 1px solid rgba(245,158,11,0.4); }
html[data-theme="light"] .module-status--coming { color: #b45309; background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.5); }
.module-card p { font-size: 0.9rem; color: #b4b4c8; line-height: 1.6; margin: 0; }
.module-note { display: block; margin-top: 12px; font-size: 0.78rem; line-height: 1.5; color: #8e8ea8; }
.module-note strong { color: #a9a9c0; font-weight: 700; }
.modules-sell { margin-top: 44px; padding: 24px 26px; background: #131320; border: 1.5px solid #2a2a40; border-radius: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; justify-content: space-between; }
.modules-sell p { margin: 0; color: #b4b4c8; font-size: 0.95rem; line-height: 1.6; max-width: 640px; }
.modules-sell p strong { color: var(--text-primary); }
.modules-sell .btn-sell, .btn-sell {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(124,58,237,0.16); border: 1.5px solid rgba(124,58,237,0.5);
    color: #c9b6ff; font-weight: 700; font-size: 0.92rem;
    border-radius: 100px; padding: 11px 22px; text-decoration: none;
    transition: background 0.2s, border-color 0.2s; white-space: nowrap;
}
.modules-sell .btn-sell:hover, .btn-sell:hover { background: rgba(124,58,237,0.28); border-color: rgba(124,58,237,0.75); }
html[data-theme="light"] .modules-section { background: #f5f5f8; }
html[data-theme="light"] .module-card, html[data-theme="light"] .modules-sell { background: #fff; border-color: #e3e3ec; }
html[data-theme="light"] .module-card h3 { color: #1a1a2e; }
html[data-theme="light"] .module-card p, html[data-theme="light"] .modules-sell p { color: #4b5563; }
html[data-theme="light"] .module-note { color: #5b5b70; }
html[data-theme="light"] .module-note strong { color: #3a3a52; }
html[data-theme="light"] .modules-sell p strong { color: #1a1a2e; }
html[data-theme="light"] .modules-sell .btn-sell { color: #6d28d9; }
@media (prefers-reduced-motion: reduce) { .module-card { transition: none; } .module-card:hover { transform: none; } }

/* ── Merchants ────────────────────────────────────────────── */
.merchants-section { background: var(--hp-bg-section); padding: var(--spacing-3xl) 0; }
.merchant-card { margin-top: 12px; padding: 28px 30px; background: #131320; border: 1.5px solid #2a2a40; border-radius: 20px; max-width: 760px; }
.merchant-card-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.merchant-card-head h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-primary); margin: 0; letter-spacing: -0.01em; }
.merchant-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #6ee7b7; background: rgba(16,185,129,0.14); border: 1px solid rgba(16,185,129,0.4); border-radius: 100px; padding: 4px 12px; }
.merchant-card-sub { margin: 0 0 14px; font-size: 0.9rem; color: #9090aa; }
.merchant-card p { font-size: 0.95rem; color: #b4b4c8; line-height: 1.65; margin: 0; }
.merchant-note { display: block; margin-top: 14px; font-size: 0.8rem; line-height: 1.55; color: #8e8ea8; }
.merchant-note strong { color: #a9a9c0; font-weight: 700; }
.merchant-card-cta { margin-top: 20px; }
html[data-theme="light"] .merchants-section { background: #f5f5f8; }
html[data-theme="light"] .merchant-card { background: #fff; border-color: #e3e3ec; }
html[data-theme="light"] .merchant-card-head h3 { color: #1a1a2e; }
html[data-theme="light"] .merchant-card p { color: #4b5563; }
html[data-theme="light"] .merchant-badge { color: #047857; background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.45); }
html[data-theme="light"] .merchant-note { color: #5b5b70; }
html[data-theme="light"] .merchant-note strong { color: #3a3a52; }
.ta-examples { margin-top: 22px; }
.ta-examples-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.ta-examples-head h3 { font-size: 1.05rem; margin: 0; color: #f3f3f8; }
.ta-examples-badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #c9b6ff; background: rgba(124,58,237,0.16); border: 1px solid rgba(124,58,237,0.4); border-radius: 100px; padding: 2px 10px; }
.ta-example-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ta-example-card { display: flex; align-items: stretch; gap: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }
.ta-example-thumb { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 8px; display: grid; place-items: center; color: var(--primary-light); background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.22); }
.ta-example-thumb svg { width: 30px; height: 30px; }
.ta-example-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ta-example-title { font-weight: 600; line-height: 1.3; color: #ececf3; }
.ta-example-desc { font-size: 0.85rem; color: #9090aa; line-height: 1.35; }
.ta-example-price { color: #c4b5fd; font-weight: 600; margin-top: 2px; }
.ta-examples-note { margin-top: 10px; }
html[data-theme="light"] .ta-example-card { background: #fff; border-color: #e3e3ec; }
html[data-theme="light"] .ta-example-title { color: #1a1a2e; }
html[data-theme="light"] .ta-example-desc { color: #4b5563; }
html[data-theme="light"] .ta-example-price { color: #6d28d9; }
html[data-theme="light"] .ta-examples-head h3 { color: #1a1a2e; }

/* ── Discord mockup (community section content) ───────────── */
.discord-join-btn { display: inline-flex; align-items: center; gap: 10px; background: #5865F2; color: #fff; border: none; border-radius: 12px; padding: 13px 24px; font-family: inherit; font-size: 0.95rem; font-weight: 700; text-decoration: none; transition: opacity 0.15s, transform 0.15s; margin-top: 24px; }
.discord-join-btn:hover { opacity: 0.9; transform: translateY(-2px); color: #fff; }
.discord-mockup { background: #1e1f22; border-radius: 16px; overflow: hidden; border: 1px solid #2b2b40; }
.discord-channel-icon { color: #a3a3bd; font-size: 1rem; }
.discord-msgs { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.discord-msg { display: flex; gap: 12px; align-items: flex-start; }
.discord-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; font-weight: 800; flex-shrink: 0; }
.discord-avatar-lenny { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }
.discord-avatar-user  { background: linear-gradient(135deg, #0ea5e9, #22c55e); color: #fff; }
.discord-avatar-user2 { background: linear-gradient(135deg, #f59e0b, #ec4899); color: #fff; }
.discord-sender { font-size: 0.82rem; font-weight: 700; margin-bottom: 3px; }
.discord-sender-lenny { color: var(--primary-light); }
.discord-sender-user  { color: #86efac; }
.discord-text { font-size: 0.85rem; color: #c4c4d4; line-height: 1.55; }
.discord-text code { background: rgba(124,58,237,0.18); color: #c4b5fd; padding: 1px 5px; border-radius: 4px; font-size: 0.8rem; }
.discord-text .hl  { color: var(--text-primary); font-weight: 600; }
.discord-text .up  { color: #4ade80; }
.discord-text .down { color: #f87171; }

/* ── Pricing preview ──────────────────────────────────────── */
.pricing-preview-section { background: var(--hp-bg-section); padding: var(--spacing-3xl) 0; }
.pricing-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 52px; margin-bottom: 32px; }
.preview-card { background: #131320; border: 1.5px solid #2a2a40; border-radius: 20px; padding: 28px 24px 24px; position: relative; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.preview-card:hover { border-color: rgba(124,58,237,0.55); box-shadow: 0 0 0 3px rgba(124,58,237,0.1), 0 8px 32px rgba(0,0,0,0.5); transform: translateY(-3px); }
.preview-card--featured { border-color: var(--primary); background: #1a1a2e; box-shadow: 0 0 0 2px rgba(124,58,237,0.2), 0 8px 40px rgba(124,58,237,0.15); }
.preview-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; padding: 3px 14px; border-radius: 100px; white-space: nowrap; }
.preview-tier-name { font-size: 0.88rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #8585a3; margin-bottom: 8px; }
.preview-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.preview-currency { font-size: 1.1rem; font-weight: 700; color: #8585a3; }
.preview-amount { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.05em; color: var(--text-primary); }
.preview-period { font-size: 0.85rem; color: #8585a3; }
.preview-tagline { font-size: 0.85rem; color: #9090aa; line-height: 1.5; margin-bottom: 20px; margin-top: 4px; }
.preview-features { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.preview-features li { font-size: 0.85rem; color: #c4c4d4; display: flex; align-items: flex-start; gap: 9px; line-height: 1.45; }
.preview-check { flex-shrink: 0; width: 17px; height: 17px; border-radius: 50%; background: rgba(16,185,129,0.15); display: grid; place-items: center; margin-top: 1px; }
.btn-preview { display: block; width: 100%; padding: 12px 20px; border-radius: 12px; font-family: inherit; font-size: 0.9rem; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: opacity 0.15s, transform 0.1s; border: 1.5px solid rgba(124,58,237,0.35); background: rgba(124,58,237,0.12); color: var(--primary-light); }
.btn-preview:hover { opacity: 0.9; transform: translateY(-1px); background: rgba(124,58,237,0.2); color: #c4b5fd; }
.preview-card--featured .btn-preview { background: linear-gradient(135deg, #7c3aed, #a855f7); border-color: transparent; color: #fff; box-shadow: 0 4px 20px rgba(124,58,237,0.35); }
.preview-card--featured .btn-preview:hover { opacity: 0.92; box-shadow: 0 6px 28px rgba(124,58,237,0.45); }
.pricing-see-all { text-align: center; margin-top: 8px; }
.pricing-see-all a { font-size: 0.9rem; color: var(--primary-light); text-decoration: none; font-weight: 600; }
.pricing-see-all a:hover { color: #c4b5fd; text-decoration: underline; }
.beta-pricing-card { max-width: 620px; margin: 40px auto 0; padding: 28px 32px; background: #14141f; border: 1px solid #262640; border-radius: 16px; text-align: center; }
.beta-pricing-headline { font-size: 1rem; color: #c4c4d4; line-height: 1.65; margin: 0 0 20px; }
.beta-pricing-headline strong { color: #ffffff; }
.beta-pricing-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.beta-pricing-actions .inline-cta { font-weight: 600; }
.concierge-mic-note { max-width: 720px; margin: 8px auto 0; font-size: 0.9rem; color: #9aa0b3; line-height: 1.6; text-align: center; }
.concierge-mic-note strong { color: #c4c4d4; }
.concierge-beta-note { margin-top: 4px; }
.modules-source-note { max-width: 720px; margin: 12px auto 0; font-size: 0.86rem; color: #9aa0b3; line-height: 1.6; text-align: center; }
html[data-theme="light"] .modules-source-note { color: #555567; }
html[data-theme="light"] .beta-pricing-card { background: #ffffff; border-color: #e3e3ec; }
html[data-theme="light"] .beta-pricing-headline { color: #3a3a4a; }
html[data-theme="light"] .beta-pricing-headline strong { color: #1a1a2e; }
html[data-theme="light"] .concierge-mic-note { color: #555567; }
html[data-theme="light"] .concierge-mic-note strong { color: #2a2a3a; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section { background: var(--hp-bg-section); padding: var(--spacing-3xl) 0; border-top: 1px solid #1a1a2e; }
.faq-section .container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 44px; }
.faq-item { background: #131320; border: 1.5px solid #2a2a40; border-radius: 16px; overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: rgba(124,58,237,0.45); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.02rem; font-weight: 700; color: #f1f0f8; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--primary-light); outline-offset: -2px; border-radius: 14px; }
.faq-item summary:hover { color: #fff; }
.faq-chevron { flex-shrink: 0; color: var(--primary-light); transition: transform 0.2s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 22px; font-size: 0.95rem; color: #c4c4d4; line-height: 1.65; }
.faq-item:not([open]) .faq-answer { display: none; }
.faq-answer a { color: var(--primary-light); font-weight: 600; text-decoration: none; }
.faq-answer a:hover { color: #c4b5fd; text-decoration: underline; }

/* ── Sign-in section ──────────────────────────────────────── */
.signin-section { background: var(--hp-bg-deep); padding: var(--spacing-3xl) 0; border-top: 1px solid #1a1a2e; }
.signin-inner { max-width: 480px; margin: 0 auto; text-align: center; }
.signin-heading { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
.signin-sub { font-size: 0.9rem; color: #8585a3; margin-bottom: 28px; }
.social-login-label { font-size: 0.82rem; color: #8585a3; margin-bottom: 12px; text-align: center; }
.social-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }

/* ── Trust strip ── */
.trust-strip { background: var(--hp-bg-deep); padding: 40px 0; border-top: 1px solid #1a1a2e; }
.trust-strip-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #8585a3; font-weight: 600; }
.trust-item-icon { font-size: 1rem; }

/* ── Nav overrides (CTA pill + login button) ─────────────── */
.nav-link.nav-cta { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; border-radius: 100px; padding: 7px 18px; font-weight: 700; box-shadow: 0 2px 12px rgba(124,58,237,0.35); transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s; min-height: 44px; white-space: nowrap; justify-content: center; }
.nav-link.nav-cta:hover { opacity: 0.94; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(124,58,237,0.5); color: #fff; }
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-login { background: transparent; font: inherit; cursor: pointer; border: 1px solid rgba(124,58,237,0.55); border-radius: 999px; padding: 6px 16px; line-height: 1.2; min-height: 44px; white-space: nowrap; }
.nav-link.nav-login:hover, .nav-link.nav-login:focus-visible { background: rgba(124,58,237,0.16); }

/* ── Light theme overrides ────────────────────────────────── */
html[data-theme="light"] .hero-marketing { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.10) 0%, transparent 70%), #ffffff; }
html[data-theme="light"] .lenny-section, html[data-theme="light"] .pricing-preview-section, html[data-theme="light"] .concierge-section { background: #f6f7f9; }
html[data-theme="light"] .signin-section, html[data-theme="light"] .trust-strip { background: #ffffff; }
html[data-theme="light"] .signin-section, html[data-theme="light"] .trust-strip { border-top-color: #e9ecef; }
html[data-theme="light"] .hero-headline, html[data-theme="light"] .hero-stat-value, html[data-theme="light"] .section-heading, html[data-theme="light"] .lenny-card h3, html[data-theme="light"] .preview-amount, html[data-theme="light"] .signin-heading, html[data-theme="light"] .concierge-toolbar .c-title { color: #0a0e27; }
html[data-theme="light"] .hero-sub, html[data-theme="light"] .lenny-card p, html[data-theme="light"] .preview-tagline, html[data-theme="light"] .preview-features li, html[data-theme="light"] .section-sub { color: #4b5563; }
html[data-theme="light"] .hero-stat-label, html[data-theme="light"] .preview-tier-name, html[data-theme="light"] .preview-currency, html[data-theme="light"] .preview-period, html[data-theme="light"] .signin-sub, html[data-theme="light"] .social-login-label, html[data-theme="light"] .trust-item, html[data-theme="light"] .concierge-disclaimer { color: #595f6b; }
html[data-theme="light"] .concierge-privacy { color: #595f6b; }
html[data-theme="light"] .concierge-privacy a { color: #6d28d9; }
html[data-theme="light"] .hero-eyebrow, html[data-theme="light"] .section-eyebrow, html[data-theme="light"] .lenny-card-icon, html[data-theme="light"] .lenny-tag, html[data-theme="light"] .btn-preview, html[data-theme="light"] .pricing-see-all a, html[data-theme="light"] .c-chip { color: #5b21b6; }
html[data-theme="light"] .lenny-card, html[data-theme="light"] .preview-card { background: #ffffff; border-color: #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
html[data-theme="light"] .preview-card--featured { background: #faf5ff; border-color: var(--primary); }
html[data-theme="light"] .btn-hero-secondary { background: rgba(0,0,0,0.04); color: #374151; border-color: rgba(0,0,0,0.12); }
html[data-theme="light"] .btn-hero-secondary:hover { background: rgba(0,0,0,0.07); color: #374151; border-color: rgba(124,58,237,0.5); }
html[data-theme="light"] .hero-stat-divider { background: rgba(0,0,0,0.1); }
html[data-theme="light"] .community-text > p { color: #4b5563 !important; }
html[data-theme="light"] .pricing-business-line { color: #4b5563 !important; }
html[data-theme="light"] .pricing-business-line strong, html[data-theme="light"] .pricing-business-line a { color: #6d28d9 !important; }
html[data-theme="light"] #magic-link-email { background: #ffffff !important; border-color: rgba(0,0,0,0.15) !important; color: #1f2937 !important; }
html[data-theme="light"] .signin-inner p a { color: #6d28d9 !important; }
/* FAQ keeps a DARK band even in light theme (no bg override below), so its
   text must stay LIGHT for contrast on the dark #0d0d17 background. */
html[data-theme="light"] .faq-section .section-heading { color: #f3f2fa; }
html[data-theme="light"] .faq-section .section-eyebrow { color: var(--primary-light); }
html[data-theme="light"] .faq-section .section-sub { color: #c8cad3; }
html[data-theme="light"] .footer-title { color: var(--text-primary); }
html[data-theme="light"] .footer-badge-primary { color: var(--text-primary) !important; }
html[data-theme="light"] .footer-badge-secondary { color: #c8cad3 !important; }
html[data-theme="light"] .footer .inline-cta, html[data-theme="light"] .footer-bottom a, html[data-theme="light"] .accessibility-note a { color: #c4b5fd !important; }
html[data-theme="light"] .pricing-preview-section [style*="color:#8585a3"], html[data-theme="light"] .signin-section [style*="color:#8585a3"] { color: #6b7280 !important; }
html[data-theme="light"] .wave-divider { background: #f6f7f9 !important; }
html[data-theme="light"] .wave-divider svg path { fill: #ffffff !important; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .community-inner { grid-template-columns: 1fr; gap: 36px; }
    .community-inner > * { min-width: 0; }
    .discord-text { overflow-wrap: anywhere; }
    .c-msg { max-width: 96%; }
}
@media (max-width: 640px) {
    .hero-marketing { padding: 56px 0 44px; }
    .hero-stats { gap: 20px; }
    .hero-stat-divider { display: none; }
    .lenny-grid, .pricing-preview-grid { grid-template-columns: 1fr; }
    .hero-cta-group { flex-direction: column; align-items: center; }
}
#meet-lenny { scroll-margin-top: 84px; }

/* ── Proof strip (brand eye — now directly below the hero) ── */
.proof-strip { padding: 32px 0 16px; background: var(--hp-bg-deep); }
.proof-strip-card { display: flex; align-items: center; gap: 28px; background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(168,85,247,0.06)); border: 1px solid rgba(124,58,237,0.35); border-radius: 18px; padding: 22px 28px; max-width: 920px; margin: 0 auto; }
.proof-strip-eye { width: 420px; height: auto; max-width: 100%; object-fit: cover; border-radius: 12px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 4px 24px rgba(124,58,237,0.22); }
.proof-strip-crown { color: #e8e6f0; font-size: 1.08rem; line-height: 1.5; margin: 0 0 8px; }
.proof-strip-crown strong { color: #fff; font-size: 1.15rem; }
.proof-strip-founder { color: #b9b4cc; font-size: 0.94rem; line-height: 1.55; margin: 0; }
@media (max-width: 640px) { .proof-strip-card { flex-direction: column; text-align: center; } .proof-strip-eye { width: 100%; max-width: 420px; height: auto; } }

/* ── First Contact pulse ── */
.fc-pulse { animation: fc-pulse 1.1s ease-in-out 3; }
@keyframes fc-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(167,139,250,0.75); } 50% { box-shadow: 0 0 0 12px rgba(167,139,250,0); } }
@media (prefers-reduced-motion: reduce) { .fc-pulse { animation: none; outline: 2px solid var(--primary-light); outline-offset: 2px; } }

/* ── Explore — tabbed vertical summary ─────────────────────── */
.explore-section { background: var(--hp-bg-deep); padding: 64px 0 48px; }
.explore-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 0; }
.explore-tab { font-family: var(--font-family); font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold); color: var(--text-tertiary); background: transparent; border: none; border-bottom: 2px solid transparent; padding: 10px 18px; cursor: pointer; transition: color var(--transition-fast), border-color var(--transition-fast); min-height: 44px; margin-bottom: -1px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.explore-tab:hover { color: var(--text-primary); }
.explore-tab[aria-selected="true"] { color: var(--primary-light); border-bottom-color: var(--primary-light); }
.explore-tab:focus-visible { outline: 2px solid var(--candle-eye); outline-offset: 2px; }
.explore-panel { animation: explore-fade 0.18s ease; }
@keyframes explore-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .explore-panel { animation: none; } }
.explore-panel-inner { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius-xl); padding: 32px; max-width: 680px; }
.explore-panel-inner h3 { font-family: var(--font-display); font-size: var(--font-size-xl); font-weight: var(--font-weight-bold); color: var(--text-primary); margin: 12px 0 10px; }
.explore-panel-inner p { color: var(--text-secondary); font-size: var(--font-size-base); line-height: var(--line-height-relaxed); margin-bottom: 20px; }
.explore-panel-inner .module-status { margin-bottom: 4px; }
html[data-theme="light"] .explore-section { background: #f6f7f9; }
html[data-theme="light"] .explore-tab { color: #6b7280; }
html[data-theme="light"] .explore-tab:hover { color: #1f2937; }
html[data-theme="light"] .explore-tab[aria-selected="true"] { color: var(--primary); border-bottom-color: var(--primary); }
html[data-theme="light"] .explore-panel-inner { background: #fff; border-color: #e5e7eb; }
html[data-theme="light"] .explore-panel-inner h3 { color: #111827; }
html[data-theme="light"] .explore-panel-inner p { color: #4b5563; }
@media (max-width: 600px) { .explore-tabs { gap: 4px; } .explore-tab { font-size: var(--font-size-xs); padding: 8px 12px; } .explore-panel-inner { padding: 20px; } }

/* ── Reduced transparency override ──────────────────────── */
@media (prefers-reduced-transparency: reduce) {
    .module-card, .explore-panel-inner, .concierge-stage {
        backdrop-filter: none; -webkit-backdrop-filter: none;
        background: var(--bg-secondary); border-color: var(--border-color);
    }
}

/* ── Tier teaser strip (pricing section) ── */
.tier-teaser-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:760px;margin:28px auto 0;list-style:none;padding:0}
.tier-teaser{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.12);border-radius:14px;padding:18px 16px;text-align:left}
.tier-teaser--featured{border-color:#a78bfa;box-shadow:0 0 0 1px #a78bfa}
.tier-teaser-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
.tier-teaser-name{font-weight:800;color:#ede9fe;font-size:1.02rem}
.tier-teaser-pop{font-size:0.66rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#0a0a0f;background:#a78bfa;border-radius:999px;padding:2px 8px}
.tier-teaser-price{margin:6px 0 0;color:#fff;font-weight:800;font-size:1.35rem}
.tier-teaser-price small{font-size:0.8rem;font-weight:600;color:#b9b9cc}
.tier-teaser-line{margin:8px 0 0;color:#cfcfe0;font-size:0.86rem;line-height:1.5}
@media(max-width:640px){.tier-teaser-strip{grid-template-columns:1fr}}
