/* Lamplight Home Landing Page Theme — v3 */

.landing-page {
    --fm-bg: #0a0806;
    --fm-surface: #151210;
    --fm-surface-soft: #1e1a16;
    --fm-paper: #f8f3eb;
    --fm-text-primary: #f5f0e6;
    --fm-text-muted: #918779;
    --fm-text-on-paper: #251f18;
    --fm-sage: #8bb8a2;
    --fm-teal: #5c8fa1;
    --fm-blush: #f1b5be;
    --fm-honey: #f4b86a;
    --fm-lavender: #c3b3f2;
    --fm-grad-lamplight: linear-gradient(135deg, var(--fm-sage) 0%, var(--fm-teal) 50%, var(--fm-honey) 100%);
    --fm-shadow-soft: 0 24px 56px rgba(10, 8, 6, 0.5);
    --fm-shadow-paper: 0 12px 36px rgba(21, 18, 16, 0.35);
    --fm-radius-card: 18px;
    --fm-radius-pill: 999px;
    min-height: 100vh;
    background: var(--fm-bg);
    color: var(--fm-text-primary);
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
    font-family: var(--font-sans);
}

body {
    background: #0a0806;
}

.landing-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.75rem);
}

section {
    margin-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--fm-text-muted);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.65rem;
}

.section-copy {
    max-width: 640px;
    color: var(--fm-text-muted);
    line-height: 1.7;
}

/* Hero */
.lamplight-hero {
    background: radial-gradient(circle at 20% 20%, rgba(244, 184, 106, 0.18), transparent 55%),
        var(--fm-surface);
    border-radius: clamp(20px, 4vw, 32px);
    padding: clamp(2.5rem, 6vw, 4.5rem);
    position: relative;
    overflow: hidden;
    box-shadow: var(--fm-shadow-soft);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
}

.lamplight-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(244, 184, 106, 0.3), transparent 50%);
    pointer-events: none;
}

.hero-content,
.hero-panel {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--fm-text-muted);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 3.4rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-lede {
    font-size: 1.0625rem;
    color: rgba(249, 250, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2.4rem;
    border-radius: var(--fm-radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 200ms ease;
}

.cta-primary {
    background: var(--fm-sage);
    color: #0f1a14;
    font-weight: 700;
    box-shadow: 0 12px 32px rgba(139, 184, 162, 0.35);
}

.cta-primary:hover {
    transform: translateY(-2px);
}

.cta-secondary {
    border: 1px solid rgba(249, 250, 255, 0.3);
    color: var(--fm-text-primary);
    background: transparent;
}

.cta-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 250, 255, 0.55);
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
    color: var(--fm-text-muted);
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
}

.hero-highlights i {
    color: var(--fm-honey);
}

.hero-panel {
    background: rgba(248, 243, 235, 0.04);
    border-radius: clamp(16px, 3vw, 24px);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(248, 243, 235, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-panel h3 {
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--fm-text-muted);
    text-transform: uppercase;
}

.hero-note {
    background: var(--fm-paper);
    color: var(--fm-text-on-paper);
    border-radius: 14px;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    box-shadow: var(--fm-shadow-paper);
    border-left: 3px solid var(--fm-honey);
}

.hero-note strong {
    display: block;
    color: var(--fm-text-on-paper);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.hero-note p {
    margin: 0 0 0.5rem;
    color: rgba(31, 36, 48, 0.85);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-tag {
    padding: 0.45rem 0.85rem;
    border-radius: var(--fm-radius-pill);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(248, 243, 235, 0.15);
    color: var(--fm-text-primary);
}

/* Sections */
.lamplight-section {
    padding: clamp(2rem, 5vw, 3rem) 0;
}

.section-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Paper cards */
.paper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1rem, 3vw, 1.5rem);
}

.paper-card {
    position: relative;
    overflow: hidden;
    background: var(--fm-paper);
    background-image:
        linear-gradient(
            transparent 0 31px,
            rgba(31, 36, 48, 0.06) 31px 32px
        );
    background-size: 100% 32px;
    border-radius: var(--fm-radius-card);
    padding: 1.75rem 1.75rem 1.75rem 2.75rem;
    box-shadow: var(--fm-shadow-paper);
    color: var(--fm-text-on-paper);
    border: 1px solid rgba(31, 36, 48, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.paper-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(21, 18, 16, 0.4);
}

.paper-card::before {
    content: '';
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 1.5rem;
    width: 2px;
    border-radius: 2px;
    background: rgba(209, 89, 98, 0.35);
}

.paper-card .card-label {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(31, 36, 48, 0.6);
}

.paper-card h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--fm-text-on-paper);
}

.paper-card p {
    margin: 0;
    color: rgba(31, 36, 48, 0.75);
    line-height: 1.6;
}

.paper-card ul {
    padding-left: 1rem;
    margin: 0;
    color: rgba(31, 36, 48, 0.7);
}

/* Crisis */
.crisis-section {
    background: var(--fm-surface-soft);
    border-radius: clamp(18px, 4vw, 26px);
    padding: clamp(2rem, 5vw, 3.5rem);
    box-shadow: var(--fm-shadow-soft);
}

.crisis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(1rem, 3vw, 1.5rem);
    margin-top: 2rem;
}

.crisis-card {
    display: block;
    border-radius: var(--fm-radius-card);
    padding: 1.5rem;
    border: 1px solid rgba(249, 250, 255, 0.08);
    color: var(--fm-text-primary);
    text-decoration: none;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.crisis-card:hover {
    transform: translateY(-3px);
    border-color: rgba(244, 184, 106, 0.45);
    box-shadow: 0 18px 32px rgba(10, 8, 6, 0.45);
}

.crisis-card.blush {
    background: rgba(241, 181, 190, 0.12);
    border-color: rgba(241, 181, 190, 0.3);
}

.crisis-card.honey {
    background: rgba(244, 184, 106, 0.12);
    border-color: rgba(244, 184, 106, 0.3);
}

.crisis-card.teal {
    background: rgba(92, 143, 161, 0.12);
    border-color: rgba(92, 143, 161, 0.3);
}

.crisis-card strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.crisis-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.crisis-pill {
    padding: 0.55rem 1rem;
    border-radius: var(--fm-radius-pill);
    border: 1px solid rgba(249, 250, 255, 0.18);
    color: var(--fm-text-primary);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Progress */
.progress-card {
    background: var(--fm-surface);
    border-radius: clamp(16px, 3vw, 24px);
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: var(--fm-shadow-soft);
    border: 1px solid rgba(249, 250, 255, 0.08);
}

.progress-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.progress-meta strong {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.progress-tags {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
}

.progress-tag {
    border-radius: var(--fm-radius-card);
    padding: 1rem;
    background: rgba(21, 18, 16, 0.8);
    border: 1px solid rgba(248, 243, 235, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.progress-tag span {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--fm-text-muted);
}

.progress-tag strong {
    font-size: 1.1rem;
}

/* Privacy */
.privacy-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.privacy-card {
    background: rgba(21, 18, 16, 0.6);
    border-radius: var(--fm-radius-card);
    padding: 1.5rem;
    border: 1px solid rgba(248, 243, 235, 0.08);
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    transition: border-color 200ms ease;
}

.privacy-card:hover {
    border-color: rgba(139, 184, 162, 0.3);
}

.privacy-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(139, 184, 162, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fm-sage);
    flex-shrink: 0;
}

.privacy-card p {
    margin: 0;
    color: var(--fm-text-muted);
}

/* CTA + Footer */
.final-cta {
    background: var(--fm-surface);
    border-radius: clamp(18px, 4vw, 28px);
    padding: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    color: var(--fm-text-primary);
    border: 1px solid rgba(249, 250, 255, 0.1);
    box-shadow: var(--fm-shadow-soft);
}

.final-cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.final-cta p {
    margin: 0 auto 1.75rem;
    max-width: 520px;
    color: var(--fm-text-muted);
}

.lamplight-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(249, 250, 255, 0.08);
    color: var(--fm-text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.lamplight-footer nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lamplight-footer a {
    color: var(--fm-text-muted);
    text-decoration: none;
}

@media (max-width: 720px) {
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .hero-ctas {
        flex-direction: column;
    }

    .progress-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .paper-card {
        padding: 1.5rem 1.25rem 1.5rem 2.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
