/* ═══ Homepage, "Built for" downwards: editorial / premium layer ═══════════
   Loaded after index.css and scoped to sections marked .lx, so the hero and
   the older landing variants keep their look. Content is unchanged; this is
   type, surface and rhythm only.

   Rhythm: ivory → ivory (features) → ink (comparison) → ivory (results)
           → ink (pricing) → paper (why) → ivory (faq) → ink (cta, footer)
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --lx-ivory: #FBF8F3;
    --lx-paper: #FFFFFF;
    --lx-ink: #0B0B0D;
    --lx-ink-2: #131317;
    --lx-hair: rgba(13, 13, 13, 0.09);
    --lx-hair-strong: rgba(13, 13, 13, 0.16);
    --lx-hair-dark: rgba(255, 255, 255, 0.09);
    --lx-text: #1B1B1F;
    --lx-muted: #5E5A55;
    --lx-amber: #FF8A3D;
    --lx-serif: 'Instrument Serif', 'Times New Roman', serif;
    /* Fine film grain, tiled; kept very faint */
    --lx-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] {
    --lx-ivory: #0F1014;
    --lx-paper: #0D0E12;
    --lx-hair: rgba(255, 255, 255, 0.08);
    --lx-hair-strong: rgba(255, 255, 255, 0.16);
    --lx-text: #EDEBE7;
    --lx-muted: #A3A09A;
}

/* ── Shared type ─────────────────────────────────────────────────────────── */
.lp { counter-reset: lx-section; }

.lx .lp-head { max-width: 900px; }
.lx h2,
.lx .lp-head h2 {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: var(--lx-text);
}
.lx .lp-accent {
    font-family: var(--lx-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--orange);
}
.lx .lp-sub { max-width: 640px; margin: 0 auto; font-size: 1.12rem; line-height: 1.65; color: var(--lx-muted); }

/* Numbered editorial eyebrow: "01 — How it works" */
.lx .section-eyebrow {
    counter-increment: lx-section;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lx-muted) !important;
}
.lx .section-eyebrow::before {
    content: counter(lx-section, decimal-leading-zero);
    font-family: var(--lx-serif);
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: 0;
    color: var(--orange);
}
.lx .lp-head .section-eyebrow { margin-bottom: 22px; }

/* Grain overlay for any .lx section that opts in */
.lx-grain { position: relative; isolation: isolate; }
.lx-grain::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--lx-grain);
    opacity: 0.05;
    mix-blend-mode: multiply;
}

/* Dark ("ink") sections */
.lx-ink {
    background: var(--lx-ink) !important;
    color: #EDEBE7;
}
.lx-ink.lx-grain::after { mix-blend-mode: screen; opacity: 0.07; }
.lx-ink h2,
.lx-ink .lp-head h2 { color: #F5F3EF; }
.lx-ink .lp-sub { color: rgba(237, 235, 231, 0.62); }
.lx-ink .section-eyebrow { color: rgba(237, 235, 231, 0.55) !important; }

/* ── Built for ───────────────────────────────────────────────────────────── */
.lx.lp-audience {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    row-gap: 4px;
    padding: 56px 0;
    background: var(--lx-ivory);
    border-top: 1px solid var(--lx-hair);
    border-bottom: 1px solid var(--lx-hair);
}
.lx .lp-audience-label {
    grid-row: 1 / span 2;
    margin: 0;
    padding-left: max(24px, calc((100vw - 1320px) / 2 + 12px));
    text-align: left;
    text-transform: none;
    font-family: var(--lx-serif);
    font-style: italic;
    font-size: 2.1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1;
    color: var(--lx-text);
}
.lx.lp-audience .marquee-item,
.lx.lp-audience .marquee-item.primary,
.lx.lp-audience .marquee-item.accent {
    display: inline-flex;
    align-items: center;
    gap: 1.6rem;
    margin: 0 0.8rem;
    padding: 0.35rem 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--lx-muted);
    transition: color 0.2s ease;
}
.lx.lp-audience .marquee-item::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--orange);
    transform: rotate(45deg);
    opacity: 0.75;
}
.lx.lp-audience .marquee-item:hover {
    background: none;
    color: var(--lx-text);
    transform: none;
}

/* ── Features / pipeline story ────────────────────────────────────────────── */
.lx.lp-features {
    background:
        radial-gradient(50% 35% at 50% 0%, rgba(255, 138, 61, 0.10), transparent 70%),
        var(--lx-ivory);
    padding-bottom: 40px;
}
.lx.lp-features > .container { position: relative; }

.lx-story {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 0 72px;
    margin-top: 24px;
}
.lx-story-steps { position: relative; padding-left: 44px; }
.lx-story-rail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6px;
    width: 1px;
    background: var(--lx-hair-strong);
}
.lx-story-rail-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--orange), var(--lx-amber));
    transform: scaleY(0);
    transform-origin: top;
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.6);
}
.lx-story-step {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 82vh;
    padding: 64px 0;
}
.lx-story-step::before {
    /* node on the rail */
    content: '';
    position: absolute;
    top: 50%;
    left: -44px;
    width: 13px;
    height: 13px;
    margin-top: -6px;
    border-radius: 50%;
    background: var(--lx-ivory);
    border: 1px solid var(--lx-hair-strong);
    transition: all 0.4s ease;
}
.lx-story.is-enhanced .lx-story-step { opacity: 0.28; transition: opacity 0.5s ease; }
.lx-story.is-enhanced .lx-story-step.is-active { opacity: 1; }
.lx-story-step.is-active::before {
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 0 0 6px rgba(255, 69, 0, 0.14), 0 0 18px rgba(255, 69, 0, 0.6);
}
.lx-story-step h3 {
    margin-bottom: 18px !important;
    font-size: clamp(1.9rem, 3.1vw, 2.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--lx-text);
}
.lx-story-step .lead { color: var(--lx-muted); font-size: 1.08rem; line-height: 1.7; }

.lx-story-stage {
    position: sticky;
    top: 9vh;
    height: 82vh;
    align-self: start;
}
.lx-story-stage::before {
    /* warm glow behind the active plate */
    content: '';
    position: absolute;
    inset: 14% 6%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 138, 61, 0.28), transparent);
    filter: blur(40px);
}
.lx-story-visual {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}
.lx-story.is-enhanced .lx-story-visual {
    opacity: 0;
    transform: translateY(calc(-50% + 28px)) scale(0.97);
    filter: blur(6px);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
    pointer-events: none;
}
.lx-story.is-enhanced .lx-story-visual.is-active {
    opacity: 1;
    transform: translateY(-50%);
    filter: none;
    pointer-events: auto;
}
@media (max-height: 760px) and (min-width: 992px) {
    .lx-story-visual > * { zoom: 0.86; }
}

.lx .lp-step,
.lx .lp-step.blue {
    gap: 14px;
    color: var(--lx-muted);
    font-size: 0.74rem;
    letter-spacing: 0.22em;
}
.lx .lp-step span,
.lx .lp-step.blue span {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    font-family: var(--lx-serif);
    font-style: italic;
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 0.8;
    letter-spacing: 0;
    color: var(--orange);
}

.lx .feature-checklist li {
    padding: 13px 0;
    border-bottom: 1px solid var(--lx-hair);
    color: var(--lx-text);
    font-size: 0.98rem;
}
.lx .feature-checklist li i { color: var(--orange); font-size: 0.85rem; }

/* Product mockups sit in a framed "plate" */
.lx .tc-visual,
.lx .ie-visual,
.lx .exp-visual {
    border: 1px solid var(--lx-hair-strong);
    border-radius: 22px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 2px 4px rgba(13, 13, 13, 0.04),
        0 30px 70px -20px rgba(13, 13, 13, 0.22),
        0 70px 140px -50px rgba(255, 69, 0, 0.30);
}

/* ── Comparison (ink) ────────────────────────────────────────────────────── */
.lx.comparison-section {
    background:
        radial-gradient(60% 70% at 85% 0%, rgba(255, 69, 0, 0.20), transparent 60%),
        radial-gradient(40% 50% at 0% 100%, rgba(255, 138, 61, 0.10), transparent 60%),
        var(--lx-ink) !important;
}
.lx .table-responsive {
    border: 1px solid var(--lx-hair-dark);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(6px);
}
.lx .comparison-table {
    --bs-table-bg: transparent;
    --bs-table-color: rgba(237, 235, 231, 0.78);
    --bs-table-active-bg: transparent;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.025);
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    color: rgba(237, 235, 231, 0.78);
}
.lx .comparison-table thead,
.lx .comparison-table thead th {
    background: transparent !important;
    border-bottom: 1px solid var(--lx-hair-dark) !important;
    color: rgba(237, 235, 231, 0.55);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 1.6rem 1.4rem;
}
.lx .comparison-table thead small { color: rgba(237, 235, 231, 0.4) !important; letter-spacing: 0.05em; text-transform: none; }
.lx .comparison-table tbody td {
    padding: 1.25rem 1.4rem;
    background: transparent !important;
    border-bottom: 1px solid var(--lx-hair-dark) !important;
    color: rgba(237, 235, 231, 0.7);
    font-size: 0.98rem;
}
.lx .comparison-table tbody td strong { color: #F5F3EF; font-weight: 500; }
.lx .comparison-table tbody tr:last-child td { border-bottom: 0 !important; }
.lx .comparison-table tbody tr:hover { background: rgba(255, 255, 255, 0.025) !important; }
/* Highlighted TrendScribbr column */
.lx .comparison-table th:last-child,
.lx .comparison-table td:last-child {
    background: linear-gradient(180deg, rgba(255, 69, 0, 0.10), rgba(255, 69, 0, 0.04)) !important;
    border-left: 1px solid rgba(255, 69, 0, 0.35) !important;
    color: #F5F3EF;
}
.lx .comparison-table thead th:last-child { color: #fff; font-size: 0.82rem; }
.lx .trendscribbr-col { border-left-color: rgba(255, 69, 0, 0.35) !important; }
.lx .comparison-table .text-success { color: #FF8A3D !important; }
.lx .comparison-table .text-danger { color: rgba(237, 235, 231, 0.35) !important; }
.lx .comparison-table .text-muted { color: rgba(237, 235, 231, 0.35) !important; }
.lx .comparison-table tr.table-active td { background: rgba(255, 255, 255, 0.03) !important; }
.lx .comparison-table tr.table-active td:last-child strong {
    font-family: var(--lx-serif);
    font-style: italic;
    font-size: 1.6rem;
    font-weight: 400;
    color: #FF8A3D !important;
}
.lx .comparison-winner-badge {
    background: linear-gradient(135deg, var(--orange), var(--lx-amber));
    color: #fff;
    letter-spacing: 0.1em;
    box-shadow: 0 0 24px rgba(255, 69, 0, 0.45);
}

/* ── Results: pull quote + count-up strip ────────────────────────────────── */
.lx.lx-results { background: var(--lx-ivory); overflow: hidden; }
.lx-pull {
    position: relative;
    max-width: 1040px;
    margin: 0 auto 72px;
    text-align: center;
}
.lx-pull::before {
    content: '\201C';
    position: absolute;
    top: 0.02em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--lx-serif);
    font-size: 16rem;
    line-height: 1;
    color: var(--orange);
    opacity: 0.08;
    pointer-events: none;
}
.lx-pull .lp-quote-stars { position: relative; margin-bottom: 26px; color: var(--orange); letter-spacing: 8px; font-size: 0.9rem; }
.lx-pull blockquote {
    position: relative;
    margin: 0 0 34px;
    font-family: var(--lx-serif);
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--lx-text);
}
.lx-pull figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.lx-pull figcaption strong { display: block; color: var(--lx-text); }
.lx-pull figcaption span { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--lx-muted); }
.lx-pull .author-avatar { background: var(--lx-ink); color: #fff; }

.lx-statstrip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--lx-hair-strong);
    border-bottom: 1px solid var(--lx-hair-strong);
}
.lx-stat { padding: 44px 32px 40px; }
.lx-stat + .lx-stat { border-left: 1px solid var(--lx-hair-strong); }
.lx-stat-num {
    margin-bottom: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, var(--lx-text) 35%, var(--orange) 150%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lx-stat-label {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lx-muted);
}

/* ── Pricing teaser (ink) ────────────────────────────────────────────────── */
.lx.lx-pricing {
    background:
        radial-gradient(50% 60% at 50% 0%, rgba(255, 69, 0, 0.18), transparent 65%),
        var(--lx-ink) !important;
}
.lx-pricing .lp-plan {
    padding: 40px 34px 34px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--lx-hair-dark);
    border-radius: 24px;
    box-shadow: none;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.lx-pricing .lp-plan:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.2); }
.lx-pricing .lp-plan.featured {
    background:
        linear-gradient(var(--lx-ink-2), var(--lx-ink-2)) padding-box,
        linear-gradient(160deg, var(--orange), rgba(255, 138, 61, 0.2) 55%, rgba(255, 255, 255, 0.08)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 40px 90px -30px rgba(255, 69, 0, 0.45);
}
.lx-pricing .lp-plan-badge {
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--orange), var(--lx-amber));
    letter-spacing: 0.2em;
}
.lx-pricing .lp-plan h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(237, 235, 231, 0.6);
}
.lx-pricing .lp-price { color: rgba(237, 235, 231, 0.45); }
.lx-pricing .lp-price span {
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #F5F3EF;
}
.lx-pricing .lp-plan-desc { color: rgba(237, 235, 231, 0.62); padding-bottom: 20px; border-bottom: 1px solid var(--lx-hair-dark); }
.lx-pricing .lp-check li { color: rgba(237, 235, 231, 0.85); }
.lx-pricing .lp-check i { color: var(--lx-amber); }
.lx-pricing .lp-btn { border-radius: 999px; padding: 0.95rem 1.2rem; }
.lx-pricing .lp-btn-outline { border: 1px solid rgba(255, 255, 255, 0.22); color: #F5F3EF; }
.lx-pricing .lp-btn-outline:hover { border-color: #fff; background: #fff; color: var(--lx-ink); }
.lx-pricing .lp-btn-primary { background: linear-gradient(135deg, var(--orange), var(--lx-amber)); }
.lx-pricing .lp-link { color: #F5F3EF; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 3px; }
.lx-pricing .lp-link:hover { color: var(--lx-amber); border-color: var(--lx-amber); }
.lx-pricing .pricing-trust-badge {
    background: transparent;
    border: 1px solid var(--lx-hair-dark);
    color: rgba(237, 235, 231, 0.7);
}
.lx-pricing .pricing-trust-badge i { color: var(--lx-amber); }

/* ── Why TrendScribbr: bento ─────────────────────────────────────────────── */
.lx.lx-why { background: var(--lx-paper); }
.lx .lp-why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: minmax(220px, auto) minmax(220px, auto);
    grid-auto-rows: auto;
    gap: 16px;
}
.lx .lp-why,
.lx-why.lp-section:not(.lp-alt) .lp-why {
    position: relative;
    overflow: hidden;
    justify-content: flex-end;
    padding: 30px 28px;
    background: var(--lx-ivory);
    border: 1px solid var(--lx-hair);
    border-radius: 22px;
    box-shadow: none;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.lx .lp-why:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 69, 0, 0.35);
    box-shadow: 0 24px 50px -30px rgba(255, 69, 0, 0.45);
}
.lx .lp-why-icon {
    width: 46px;
    height: 46px;
    margin-bottom: auto;
    background: var(--lx-paper);
    border: 1px solid var(--lx-hair-strong);
    border-radius: 50%;
    color: var(--orange);
    font-size: 0.95rem;
}
.lx .lp-why strong { margin-top: 22px; font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; color: var(--lx-text); }
.lx .lp-why > span:last-child { color: var(--lx-muted); }

/* Showcase tile: dark, 2×2, with orbiting platforms */
.lx .lp-why:first-child {
    grid-column: span 2;
    grid-row: span 2;
    padding: 40px;
    background:
        radial-gradient(60% 60% at 70% 30%, rgba(255, 69, 0, 0.28), transparent 70%),
        var(--lx-ink) !important;
    border-color: transparent;
}
.lx .lp-why:first-child strong { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -0.03em; color: #F5F3EF; }
.lx .lp-why:first-child > span:last-child { font-size: 1.05rem; color: rgba(237, 235, 231, 0.62); }
.lx .lp-why:first-child .lp-why-icon { display: none; }
.lx .lp-why:first-child::after {
    /* fade under the copy so orbiting chips pass behind it */
    content: '';
    position: absolute;
    inset: 45% 0 0 0;
    background: linear-gradient(180deg, transparent, var(--lx-ink) 70%);
    pointer-events: none;
}
.lx .lp-why:first-child > strong,
.lx .lp-why:first-child > span:last-child { position: relative; z-index: 1; }
/* Wide closing tile */
.lx .lp-why:last-child {
    grid-column: span 4;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    min-height: 0;
    padding: 24px 28px;
}
.lx .lp-why:last-child .lp-why-icon { margin: 0; flex: none; }
.lx .lp-why:last-child strong { margin: 0; }
.lx .lp-why:last-child > span:last-child { margin-left: auto; text-align: right; }

.lx-orbit {
    position: absolute;
    top: -16%;
    right: -6%;
    width: 66%;
    aspect-ratio: 1;
    pointer-events: none;
    container-type: size; /* lets chip orbits size off the orbit, not the chip */
}
.lx-orbit-ring {
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.10);
}
.lx-orbit-ring.r1 { width: 36%; height: 36%; }
.lx-orbit-ring.r2 { width: 62%; height: 62%; border-style: dashed; border-color: rgba(255, 138, 61, 0.25); }
.lx-orbit-ring.r3 { width: 90%; height: 90%; }
.lx-orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--orange), var(--lx-amber));
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 0 60px rgba(255, 69, 0, 0.65);
}
.lx-orbit-chip {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #F5F3EF;
    font-size: 0.95rem;
    backdrop-filter: blur(6px);
    animation: lx-orbit 26s linear infinite;
}
.lx-orbit-chip.c1 { --r: 31cqw; animation-delay: 0s; }
.lx-orbit-chip.c2 { --r: 45cqw; animation-delay: -6.5s; }
.lx-orbit-chip.c3 { --r: 31cqw; animation-delay: -13s; }
.lx-orbit-chip.c4 { --r: 45cqw; animation-delay: -19.5s; }
@keyframes lx-orbit {
    from { transform: rotate(0deg) translateX(var(--r)) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(var(--r)) rotate(-360deg); }
}

/* ── FAQ: editorial accordion ────────────────────────────────────────────── */
.lx.faq-section { background: var(--lx-ivory) !important; }
.lx .faq-intro-title {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: var(--lx-text);
}
.lx .faq-intro-title .lp-accent { display: inline-block; margin-top: 4px; font-size: 1.08em; }
.lx.faq-section .col-lg-4 { position: sticky; top: 110px; }
.lx .faq-support-card {
    background: var(--lx-ink);
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 60px -30px rgba(13, 13, 13, 0.5);
}
.lx .faq-support-card .faq-support-title { color: #F5F3EF; }
.lx .faq-support-card .faq-support-sub { color: rgba(237, 235, 231, 0.55); }
.lx .faq-support-icon { background: rgba(255, 69, 0, 0.15); color: var(--lx-amber); }
.lx .faq-support-btn { color: var(--lx-amber); }

.lx .faq-grid { gap: 0; counter-reset: lx-faq; border-top: 1px solid var(--lx-hair-strong); }
.lx .faq-card {
    counter-increment: lx-faq;
    display: block;
    padding: 0;
    background: transparent !important;
    border: 0;
    border-bottom: 1px solid var(--lx-hair-strong);
    border-radius: 0;
    box-shadow: none;
    transform: none;
}
.lx .faq-card:hover { background: transparent; transform: none; box-shadow: none; }
.lx .faq-card summary {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    padding: 26px 4px;
    list-style: none;
    cursor: pointer;
}
.lx .faq-card summary::-webkit-details-marker { display: none; }
.lx .faq-card summary::before {
    content: counter(lx-faq, decimal-leading-zero);
    font-family: var(--lx-serif);
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--orange);
}
.lx .faq-card .faq-icon { display: none; }
.lx .faq-q {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--lx-text);
    transition: color 0.2s ease;
}
.lx .faq-card summary:hover .faq-q { color: var(--orange); }
.lx-faq-toggle {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid var(--lx-hair-strong);
    border-radius: 50%;
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.lx-faq-toggle::before,
.lx-faq-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    margin: -0.75px 0 0 -5px;
    background: var(--lx-text);
    transition: transform 0.35s ease, background 0.35s ease;
}
.lx-faq-toggle::after { transform: rotate(90deg); }
.lx .faq-card[open] .lx-faq-toggle { background: var(--orange); border-color: var(--orange); transform: rotate(180deg); }
.lx .faq-card[open] .lx-faq-toggle::before { background: #fff; }
.lx .faq-card[open] .lx-faq-toggle::after { transform: rotate(0deg); background: #fff; }
.lx .faq-a {
    padding: 0 44px 28px 72px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--lx-muted);
    animation: lx-faq-in 0.35s ease;
}
@keyframes lx-faq-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* ── Final CTA ───────────────────────────────────────────────────────────── */
.lx.lp-final { padding: 40px 0 0; background: var(--lx-ink); }
.lx .lp-final-card {
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 32px 110px;
    border-radius: 32px;
    background: var(--lx-ink-2);
    border: 1px solid var(--lx-hair-dark);
}
.lx .lp-final-card::before {
    background:
        radial-gradient(45% 70% at 18% 10%, rgba(255, 69, 0, 0.55), transparent 70%),
        radial-gradient(40% 60% at 85% 95%, rgba(255, 138, 61, 0.35), transparent 70%),
        radial-gradient(30% 40% at 60% 30%, rgba(255, 190, 120, 0.12), transparent 70%);
    animation: lx-drift 18s ease-in-out infinite alternate;
}
.lx .lp-final-card::after {
    /* grain + pointer spotlight */
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 178, 122, 0.16), transparent 60%),
        var(--lx-grain);
    opacity: 0.9;
    mix-blend-mode: screen;
}
@keyframes lx-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
.lx-final-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lx-final-art span {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transform: translate(-50%, -50%);
    animation: lx-pulse 9s ease-in-out infinite;
}
.lx-final-art span:nth-child(1) { width: 46vmin; height: 46vmin; }
.lx-final-art span:nth-child(2) { width: 78vmin; height: 78vmin; animation-delay: -3s; }
.lx-final-art span:nth-child(3) { width: 112vmin; height: 112vmin; animation-delay: -6s; }
@keyframes lx-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.04); }
}
.lx .lp-final-card h2 {
    max-width: 980px;
    font-size: clamp(2.6rem, 6.4vw, 5.6rem);
    letter-spacing: -0.05em;
    line-height: 0.98;
    color: #F8F6F2;
}
.lx .lp-final-card h2 .lp-accent { color: #FFB27A; }
.lx .lp-final-card p { color: rgba(248, 246, 242, 0.72); }
.lx .lp-final-card .btn-hero-gradient {
    padding: 1.1rem 2.4rem;
    border-radius: 999px;
    background: #F8F6F2;
    color: var(--lx-ink);
    border: 0;
    box-shadow: 0 20px 50px -15px rgba(255, 69, 0, 0.7);
}
.lx .lp-final-card .btn-hero-gradient:hover { background: #fff; color: var(--orange-dark); transform: translateY(-2px); }
.lx .lp-final-note { color: rgba(248, 246, 242, 0.5); letter-spacing: 0.04em; }

/* Pointer spotlight on plan cards */
.lx-pricing .lp-plan::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, -20%), rgba(255, 138, 61, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.lx-pricing .lp-plan:hover::after { opacity: 1; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lx.footer {
    position: relative;
    overflow: hidden;
    background: var(--lx-ink) !important;
    padding-top: 96px !important;
}
.lx.footer::before {
    /* oversized wordmark, cropped by the bottom edge */
    content: 'TrendScribbr';
    position: absolute;
    left: 50%;
    bottom: -0.32em;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(5rem, 17vw, 16rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
    pointer-events: none;
}
.lx.footer > .container { position: relative; padding-bottom: clamp(60px, 10vw, 140px); }
.lx .footer-col-title {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: rgba(237, 235, 231, 0.45);
}
.lx.footer .footer-bottom { border-top: 1px solid var(--lx-hair-dark); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .lx.lp-audience { grid-template-columns: 1fr; padding: 40px 0; }
    .lx .lp-audience-label { grid-row: auto; padding: 0 16px 10px; text-align: center; font-size: 1.7rem; }

    /* Story collapses to text → mockup per step, in reading order */
    .lx-story { display: flex; flex-direction: column; gap: 0; margin-top: 0; }
    .lx-story-steps, .lx-story-stage { display: contents; }
    .lx-story-rail, .lx-story-stage::before, .lx-story-step::before { display: none; }
    .lx-story-step { min-height: 0; padding: 56px 0 28px; opacity: 1 !important; }
    .lx-story-visual,
    .lx-story.is-enhanced .lx-story-visual,
    .lx-story.is-enhanced .lx-story-visual.is-active {
        position: static;
        opacity: 1;
        transform: none;
        filter: none;
        pointer-events: auto;
    }
    .lx-story-step[data-step="0"] { order: 1; }
    .lx-story-visual[data-step="0"] { order: 2; }
    .lx-story-step[data-step="1"] { order: 3; }
    .lx-story-visual[data-step="1"] { order: 4; }
    .lx-story-step[data-step="2"] { order: 5; }
    .lx-story-visual[data-step="2"] { order: 6; }

    .lx-statstrip { grid-template-columns: 1fr 1fr; }
    .lx-stat:nth-child(3) { border-left: 0; }
    .lx-stat:nth-child(-n+2) { border-bottom: 1px solid var(--lx-hair-strong); }

    .lx .lp-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(200px, auto); }
    .lx .lp-why:last-child { grid-column: span 2; }
    .lx.faq-section .col-lg-4 { position: static; }
    .lx .lp-final-card { min-height: 0; padding: 90px 24px; }
}
@media (max-width: 575px) {
    .lx .comparison-table thead th { padding: 1rem 0.6rem; font-size: 0.62rem; letter-spacing: 0.08em; }
    .lx .comparison-table thead th:last-child { font-size: 0.66rem; }
    .lx .comparison-table tbody td { padding: 0.9rem 0.6rem; font-size: 0.85rem; }
    .lx .comparison-table tbody td:first-child { padding-left: 0.9rem; }
    .lx .comparison-table tr.table-active td:last-child strong { font-size: 1.25rem; }

    .lx-pull::before { font-size: 10rem; }
    .lx-stat { padding: 30px 18px 28px; }

    .lx .lp-why-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; }
    .lx .lp-why:first-child { grid-column: auto; grid-row: auto; min-height: 380px; padding: 28px; }
    .lx .lp-why:last-child { grid-column: auto; flex-direction: column; align-items: flex-start; }
    .lx .lp-why:last-child > span:last-child { margin-left: 0; text-align: left; }
    .lx .lp-why { min-height: 200px; }

    .lx .faq-card summary { grid-template-columns: 40px minmax(0, 1fr) 28px; padding: 22px 0; }
    .lx .faq-a { padding: 0 8px 24px 52px; }
    .lx .lp-final-card { padding: 72px 20px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .lx .lp-final-card::before,
    .lx-final-art span,
    .lx-orbit-chip { animation: none; }
    .lx-story.is-enhanced .lx-story-visual { transition: none; }
}
