/* =========================================================
   HOMEPAGE: everything below the hero
   (the hero itself is in style.css)

   Scoped to #home with lp- (landing page), sc- (animated scenes)
   and w- (small widgets) class names, so shared classes such as
   .card, .pricing-card and .policy-content (used by the portal,
   billing and legal pages) are left alone.

   The animated scenes are plain HTML/CSS sized in cqi (container
   width) units, so they scale like images. Each element's base
   style is its final frame: with reduced motion turned on, the
   animations are skipped and visitors see the finished picture.
   ========================================================= */

#home {
    --lp-bg: #0a1020;
    --lp-line: rgba(148, 163, 184, 0.14);
    --lp-ink: #f8fafc;
    --lp-text: #a3b1c6;
    --lp-muted: #64748b;
    --lp-grad: var(--brand);
    --lp-grad-text: var(--brand-text);
    background: var(--lp-bg);
}

/* ---------- Section shell ---------- */
#home .lp-section {
    position: relative;
    display: block;
    min-height: 0;
    padding: clamp(64px, 8vw, 104px) 0;
    background: transparent;
}

#home .lp-container {
    max-width: 1200px;
}

.lp-head {
    max-width: 760px;
    margin: 0 0 56px;
}

.lp-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 12px;
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: #93c5fd;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lp-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lp-grad);
}

#home .lp-title {
    margin: 0 0 18px;
    color: var(--lp-ink);
    font-size: clamp(2rem, 1.25rem + 2.4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

.lp-accent {
    color: var(--brand-text);
}

#home .lp-lead {
    margin: 0;
    color: var(--lp-text);
    font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
    line-height: 1.7;
}

.lp-head.center .lp-lead {
    max-width: 680px;
    margin: 0 auto;
}

.lp-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Fade sections in as they scroll into view (the script adds .lp-js and .in-view) */
.lp-reveal {
    transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lp-js .lp-reveal:not(.in-view) {
    opacity: 0;
    translate: 0 24px;
}

/* ---------- Cards, icons, buttons ---------- */
.lp-card {
    position: relative;
    border: 1px solid var(--lp-line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 40px -24px rgba(2, 6, 23, 0.7);
    transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s ease, transform 0.25s ease;
}

.lp-card:hover {
    border-color: var(--brand-line);
}

#home .lp-card h3 {
    margin: 0 0 8px;
    color: var(--lp-ink);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

#home .lp-card p {
    margin: 0;
    color: var(--lp-text);
    font-size: 15.5px;
    line-height: 1.65;
}

.lp-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
}

.lp-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

#home .lp-btn-primary {
    border: 0;
    color: #fff;
    background: var(--lp-grad);
    box-shadow: var(--brand-shadow);
}

#home .lp-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    background: var(--brand-hover);
    box-shadow: var(--brand-shadow);
}

#home .lp-btn-ghost {
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.5);
}

#home .lp-btn-ghost:hover {
    color: #fff;
    transform: translateY(-2px);
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(51, 65, 85, 0.55);
}

.lp-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.lp-btn:hover svg {
    transform: translateX(3px);
}

.lp-btn:focus-visible,
.lp-faq-item summary:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}

/* ---------- What is CROAI ---------- */
#home .lp-intro {
    padding-top: clamp(72px, 9vw, 112px);
    background: radial-gradient(40% 40% at 85% 30%, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0) 70%);
}

.lp-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    margin-bottom: 80px;
}

.lp-intro-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.lp-intro-points div {
    flex: 1 1 140px;
    padding: 16px 18px;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.5);
}

.lp-intro-points b {
    display: block;
    background: var(--lp-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lp-intro-points span {
    display: block;
    margin-top: 2px;
    color: var(--lp-text);
    font-size: 14px;
}

.lp-intro-qa {
    display: grid;
    gap: 18px;
}

.lp-qa {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 18px;
    padding: 26px 28px;
}

.lp-qa .lp-icon {
    grid-row: span 2;
}

/* Benefits */
.lp-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.lp-benefit {
    padding: 12px 12px 26px;
}

#home .lp-benefit h3,
#home .lp-benefit p {
    padding: 0 14px;
}

/* ---------- How it works ---------- */
#home .lp-steps {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0) 0%, rgba(59, 130, 246, 0.045) 45%, rgba(59, 130, 246, 0) 100%);
}

.lp-steps-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.lp-step {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    padding: 12px 12px 24px;
}

.lp-step-1,
.lp-step-2 {
    grid-column: span 3;
}

.lp-step-body {
    padding: 20px 14px 0;
}

.lp-step-num {
    display: inline-flex;
    align-items: center;
    height: 24px;
    margin-bottom: 12px;
    padding: 0 10px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ---------- Who it's for ---------- */
.lp-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.lp-aud {
    padding: 28px 26px;
}

.lp-aud .lp-icon {
    margin-bottom: 22px;
}

/* ---------- Comparison ---------- */
#home .comparison-section {
    background: none;
}

.lp-compare {
    overflow-x: auto;
    border: 1px solid var(--lp-line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.55);
    box-shadow: 0 30px 60px -30px rgba(2, 6, 23, 0.8);
}

#home .lp-compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
}

#home .lp-compare-table th,
#home .lp-compare-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--lp-text);
    text-align: center;
    vertical-align: middle;
}

#home .lp-compare-table thead th {
    padding: 24px 20px 20px;
    background: rgba(15, 23, 42, 0.65);
    color: #cbd5e1;
    font-size: 14.5px;
    font-weight: 600;
    vertical-align: bottom;
}

#home .lp-compare-table thead small {
    display: block;
    margin-top: 3px;
    color: var(--lp-muted);
    font-size: 12px;
    font-weight: 500;
}

#home .lp-compare-table thead img {
    display: block;
    width: auto;
    height: 30px;
    margin: 0 auto;
}

#home .lp-compare-table tbody th {
    color: #e2e8f0;
    font-weight: 600;
    text-align: left;
}

#home .lp-compare-table tbody tr:last-child > * {
    border-bottom: 0;
}

#home .lp-compare-table .is-us {
    border-left: 1px solid var(--brand-line);
    border-right: 1px solid var(--brand-line);
    background: var(--brand-soft);
    color: var(--lp-ink);
}

#home .lp-compare-table thead .is-us {
    box-shadow: inset 0 3px 0 var(--brand);
}

#home .lp-compare-table .is-us strong {
    color: #6ee7b7;
}

.lp-yes,
.lp-no {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.lp-yes {
    background: rgba(52, 211, 153, 0.14);
    color: #34d399;
}

.lp-no {
    background: rgba(148, 163, 184, 0.1);
    color: #64748b;
}

.lp-yes svg,
.lp-no svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#home .lp-compare-note {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--lp-muted);
    font-size: 13px;
    text-align: center;
}

/* ---------- Pricing ---------- */
#home .lp-pricing {
    background: radial-gradient(50% 40% at 50% 35%, rgba(37, 99, 235, 0.07), rgba(37, 99, 235, 0) 70%);
}

.lp-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.lp-plan {
    display: flex;
    flex-direction: column;
    padding: 32px 28px 30px;
}

.lp-plan:hover {
    transform: translateY(-4px);
}

.lp-plan-featured {
    border: 1px solid var(--brand);
    background: linear-gradient(180deg, #121c33 0%, #0d1528 100%);
    box-shadow: 0 30px 70px -34px rgba(37, 99, 235, 0.55);
}

.lp-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--lp-grad);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

#home .lp-plan .lp-plan-name {
    margin: 0;
    color: #93c5fd;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

#home .lp-plan .lp-plan-desc {
    margin: 6px 0 22px;
    font-size: 14.5px;
}

.lp-plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
}

.lp-amount {
    color: var(--lp-ink);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.lp-per {
    color: var(--lp-text);
    font-size: 15px;
}

.lp-plan .lp-btn {
    width: 100%;
}

#home .lp-plan .lp-plan-note {
    margin: 10px 0 24px;
    color: var(--lp-muted);
    font-size: 13px;
    text-align: center;
}

.lp-plan-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--lp-line);
    list-style: none;
}

#home .lp-plan-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #cbd5e1;
    font-size: 15px;
}

.lp-plan-list svg {
    flex: none;
    width: 20px;
    height: 20px;
}

.lp-plan-list svg circle {
    fill: rgba(52, 211, 153, 0.14);
}

.lp-plan-list svg path {
    fill: none;
    stroke: #34d399;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#home .lp-plans-foot {
    margin: 32px 0 0;
    color: var(--lp-text);
    font-size: 15px;
    text-align: center;
}

#home .lp-plans-foot a {
    color: #93c5fd;
    font-weight: 600;
}

#home .lp-plans-foot a:hover {
    color: #bfdbfe;
}

/* ---------- FAQ ---------- */
#home .lp-faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    align-items: start;
    gap: 64px;
}

.lp-faq-side {
    position: sticky;
    top: 110px;
}

.lp-faq-side .lp-btn {
    margin-top: 28px;
}

#home .lp-faq-group {
    margin: 34px 0 12px;
    color: var(--lp-muted);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#home .lp-faq-group:first-child {
    margin-top: 6px;
}

.lp-faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.5);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lp-faq-item[open] {
    border-color: var(--brand-line);
    background: rgba(30, 41, 59, 0.55);
}

.lp-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    color: var(--lp-ink);
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.lp-faq-item summary::-webkit-details-marker {
    display: none;
}

.lp-faq-item summary:hover {
    color: #fff;
}

.lp-faq-chev {
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #94a3b8;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.lp-faq-item[open] .lp-faq-chev {
    transform: rotate(180deg);
    stroke: #93c5fd;
}

#home .lp-faq-item p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--lp-text);
    font-size: 15.5px;
    line-height: 1.7;
}

/* ---------- Founder ---------- */
.lp-founder-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 48px;
    padding: 44px;
}

.lp-founder-aside {
    padding: 30px 20px;
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.55);
    text-align: center;
}

.lp-avatar {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--lp-grad);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: 0 0 0 6px var(--brand-soft);
}

.lp-founder-name {
    color: var(--lp-ink);
    font-size: 1.15rem;
    font-weight: 700;
}

.lp-founder-role {
    margin-top: 4px;
    color: #93c5fd;
    font-size: 14px;
    font-weight: 500;
}

.lp-founder-loc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--lp-muted);
    font-size: 13.5px;
}

.lp-founder-loc svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

#home .lp-title-sm {
    font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
}

#home .lp-founder-body p {
    margin: 0 0 16px;
    color: var(--lp-text);
    font-size: 16px;
    line-height: 1.75;
}

.lp-founder-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.lp-founder-stats div {
    padding: 16px;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.5);
}

.lp-founder-stats b {
    display: block;
    background: var(--lp-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lp-founder-stats span {
    display: block;
    margin-top: 4px;
    color: var(--lp-text);
    font-size: 13.5px;
    line-height: 1.45;
}

/* ---------- Final call to action ---------- */
#home .lp-cta {
    padding-top: 40px;
}

.lp-cta-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(52px, 7vw, 92px) clamp(24px, 5vw, 64px);
    border: 1px solid var(--brand-line);
    border-radius: 28px;
    background:
        radial-gradient(80% 120% at 50% 0%, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 60%),
        linear-gradient(180deg, #101a31 0%, #0b1222 100%);
    box-shadow: 0 40px 100px -50px rgba(37, 99, 235, 0.5);
    text-align: center;
}

.lp-cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: center;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 20%, transparent 75%);
}

#home .lp-cta-panel h2 {
    max-width: 760px;
    margin: 0 auto 18px;
    color: var(--lp-ink);
    font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

#home .lp-cta-panel p {
    max-width: 620px;
    margin: 0 auto 32px;
    color: #b4c0d3;
    font-size: 1.1rem;
    line-height: 1.65;
}

#home .lp-cta-panel .lp-btn-lg {
    height: 56px;
    padding: 0 30px;
    font-size: 16.5px;
}

#home .lp-cta-panel .lp-cta-note {
    margin: 16px auto 0;
    color: var(--lp-muted);
    font-size: 14px;
}

/* =========================================================
   Free tool and comparison pages (.lp-page sections:
   /free-headline-generator, /google-optimize-alternative,
   /free-ab-testing-tools). They reuse the lp- classes above;
   this adds the #home-only rules they need. The variables
   repeat #home's values. No .lp-reveal on these pages: only
   #home runs the fade-in script.
   ========================================================= */
.section.lp-page {
    --lp-bg: #0a1020;
    --lp-line: rgba(148, 163, 184, 0.14);
    --lp-ink: #f8fafc;
    --lp-text: #a3b1c6;
    --lp-muted: #64748b;
    --lp-grad: var(--brand);
    justify-content: flex-start;
    padding: 128px 0 96px;
    background: var(--lp-bg);
}

.lp-page .lp-container {
    width: 100%;
    max-width: 880px;
}

.lp-page .lp-head {
    margin-bottom: 40px;
}

.lp-page .lp-title {
    margin: 0 0 18px;
    color: var(--lp-ink);
    font-size: clamp(2rem, 1.25rem + 2.4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

.lp-page .lp-lead {
    margin: 0;
    color: var(--lp-text);
    font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
    line-height: 1.7;
}

.lp-page .lp-btn-primary {
    border: 0;
    color: #fff;
    background: var(--lp-grad);
    box-shadow: var(--brand-shadow);
}

.lp-page .lp-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    background: var(--brand-hover);
}

.lp-page .lp-btn-primary:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.lp-page .lp-btn-lg {
    height: 56px;
    padding: 0 30px;
    font-size: 16.5px;
}

.lp-page .lp-card h2,
.lp-page .lp-card h3,
.lp-page .lp-prose h2,
.lp-page .hl-results h2 {
    margin: 0 0 12px;
    color: var(--lp-ink);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.lp-page .lp-card p,
.lp-page .lp-prose p,
.lp-page .lp-prose li {
    color: var(--lp-text);
    font-size: 1rem;
    line-height: 1.7;
}

.lp-page .lp-card p {
    margin: 0 0 10px;
}

.lp-page .lp-card p:last-child {
    margin-bottom: 0;
}

.lp-page .lp-card strong,
.lp-page .lp-prose strong {
    color: var(--lp-ink);
}

.lp-page .lp-card a,
.lp-page .lp-prose a,
.lp-page .lp-compare-note a,
.lp-page .lp-compare-table a {
    color: var(--brand-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Article text */
.lp-page .lp-prose {
    margin: 0 0 40px;
}

.lp-page .lp-prose h2 {
    margin-top: 40px;
    font-size: 1.6rem;
}

.lp-page .lp-prose h2:first-child {
    margin-top: 0;
}

.lp-page .lp-prose h3 {
    margin: 24px 0 6px;
    color: var(--lp-ink);
    font-size: 1.1rem;
    font-weight: 600;
}

.lp-page .lp-prose p {
    margin: 0 0 14px;
}

.lp-page .lp-prose ul,
.lp-page .lp-prose ol {
    margin: 0 0 14px;
    padding-left: 1.4em;
}

/* The headline tool */
.lp-page .hl-tool {
    margin-bottom: 40px;
    padding: 28px;
}

.lp-page .hl-tool label {
    display: block;
    margin-bottom: 10px;
    color: var(--lp-ink);
    font-weight: 600;
}

.lp-page .hl-row {
    display: flex;
    gap: 12px;
}

.lp-page .hl-row input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
}

.lp-page .hl-row input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.lp-page p.hl-hint,
.lp-page p.hl-note {
    color: var(--lp-muted);
    font-size: 14px;
}

.lp-page .hl-tool .hl-hint {
    margin: 10px 0 0;
}

.lp-page .hl-tool .hl-note {
    margin: 14px 0 0;
}

.lp-page .hl-tool .hl-status {
    margin: 0;
}

.lp-page .hl-tool .hl-status:not(:empty) {
    margin-top: 14px;
    color: #fca5a5;
}

.lp-page .hl-results {
    margin-bottom: 40px;
}

.lp-page .hl-results h2 {
    scroll-margin-top: 96px; /* clear of the fixed navbar */
}

.lp-page .hl-results h2:focus {
    outline: none;
}

.lp-page .hl-found {
    margin: 0 0 16px;
    color: var(--lp-text);
}

.lp-page .hl-found strong {
    color: var(--lp-ink);
}

.lp-page .hl-list {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.lp-page .hl-list li {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.5);
}

.lp-page .hl-list .hl-idea {
    margin: 0 0 6px;
    color: var(--lp-ink);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.lp-page .hl-list .hl-reason {
    margin: 0;
    color: var(--lp-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.lp-page .hl-next {
    padding: 28px;
    border-color: var(--brand-line);
    text-align: center;
}

.lp-page .hl-next .lp-btn {
    margin-top: 8px;
}

.lp-page .hl-next .hl-note {
    margin-top: 12px;
}

/* The free tools list */
.lp-page .lp-tools {
    display: grid;
    gap: 16px;
    margin-bottom: 48px;
}

.lp-page .lp-tool {
    padding: 26px 28px;
}

.lp-page .lp-tool.is-us {
    border-color: var(--brand-line);
    background: var(--brand-soft);
}

/* Comparison table: one row per tool */
.lp-page .lp-compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
}

.lp-page .lp-compare-table th,
.lp-page .lp-compare-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--lp-text);
    text-align: left;
    vertical-align: top;
}

.lp-page .lp-compare-table thead th {
    background: rgba(15, 23, 42, 0.65);
    color: #cbd5e1;
    font-size: 14.5px;
    font-weight: 600;
}

.lp-page .lp-compare-table tbody th {
    color: #e2e8f0;
    font-weight: 600;
}

.lp-page .lp-compare-table tbody tr:last-child > * {
    border-bottom: 0;
}

.lp-page .lp-compare-table tr.is-us > * {
    background: var(--brand-soft);
    color: var(--lp-ink);
}

.lp-page p.lp-compare-note {
    margin: 16px 0 40px;
    color: var(--lp-muted);
    font-size: 14px;
}

.lp-page .lp-prose .lp-compare-note {
    margin-top: 18px;
}

/* Call to action */
.lp-page .lp-cta-panel h2 {
    max-width: 760px;
    margin: 0 auto 14px;
    color: var(--lp-ink);
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.lp-page .lp-cta-panel p {
    max-width: 560px;
    margin: 0 auto 28px;
    color: #b4c0d3;
    font-size: 1.05rem;
    line-height: 1.65;
}

.lp-page .lp-cta-panel .lp-cta-note {
    margin: 14px auto 0;
    color: var(--lp-muted);
    font-size: 14px;
}

@media (max-width: 720px) {
    .section.lp-page {
        padding: 104px 0 64px;
    }

    .lp-page .hl-row {
        flex-direction: column;
    }

    .lp-page .hl-row input {
        flex: none;
    }

    .lp-page .hl-tool,
    .lp-page .hl-next,
    .lp-page .lp-tool {
        padding: 22px;
    }

    /* The table becomes one card per tool (.lp-compare drops its frame here) */
    .lp-page .lp-compare-table {
        min-width: 0;
    }

    .lp-page .lp-compare-table thead {
        display: none;
    }

    .lp-page .lp-compare-table,
    .lp-page .lp-compare-table tbody,
    .lp-page .lp-compare-table tr,
    .lp-page .lp-compare-table th,
    .lp-page .lp-compare-table td {
        display: block;
    }

    .lp-page .lp-compare-table tr {
        margin-bottom: 14px;
        overflow: hidden;
        border: 1px solid var(--lp-line);
        border-radius: 16px;
        background: rgba(15, 23, 42, 0.6);
    }

    .lp-page .lp-compare-table tbody tr > * {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }

    .lp-page .lp-compare-table tbody tr > :last-child {
        border-bottom: 0;
    }

    .lp-page .lp-compare-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        color: var(--lp-muted);
        font-size: 13px;
        font-weight: 600;
    }
}

/* =========================================================
   Animated scenes ("GIFs") and widgets
   ========================================================= */
.lp-scene,
.lp-widget {
    position: relative;
    container-type: inline-size;
    overflow: hidden;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background:
        radial-gradient(80% 70% at 15% 0%, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0) 70%),
        radial-gradient(70% 60% at 100% 100%, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0) 70%),
        #0a1120;
    font-family: var(--font-family);
    line-height: 1.3;
    user-select: none;
    aspect-ratio: 16 / 10;
}

.lp-widget {
    margin-bottom: 22px;
}

/* Scenes only play while they're on screen */
.lp-js [data-animate]:not(.in-view),
.lp-js [data-animate]:not(.in-view) * {
    animation-play-state: paused !important;
}

/* Shared window chrome */
.sc-window {
    position: absolute;
    inset: 8cqi 6cqi -1px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 0;
    border-radius: 2.2cqi 2.2cqi 0 0;
    background: #0d1526;
    box-shadow: 0 2cqi 6cqi -1cqi rgba(2, 6, 23, 0.8);
}

.sc-bar {
    display: flex;
    align-items: center;
    gap: 1.8cqi;
    height: 7cqi;
    padding: 0 2.4cqi;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: #111b2f;
    color: #94a3b8;
    font-size: 2.3cqi;
    font-weight: 500;
    white-space: nowrap;
}

.sc-dots {
    display: flex;
    flex: none;
    gap: 0.9cqi;
}

.sc-dots i {
    width: 1.5cqi;
    height: 1.5cqi;
    border-radius: 50%;
    background: #334155;
}

.sc-bar-title {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-bar-btn {
    margin-left: auto;
    padding: 0.7cqi 1.8cqi;
    border-radius: 0.9cqi;
    background: #3b82f6;
    color: #fff;
    font-size: 2cqi;
    font-weight: 600;
}

.sc-label {
    display: block;
    margin-bottom: 1.1cqi;
    color: #64748b;
    font-size: 1.9cqi;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sc-pill-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 3.6cqi;
    height: 3.6cqi;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
}

.sc-pill-icon svg,
.wt-ok svg,
.wa-ico svg,
.wc-auto svg,
.wc-tag svg,
.sc-gen svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sc-pill-icon svg {
    width: 2.3cqi;
    height: 2.3cqi;
    stroke-width: 3;
}

/* ---- Scene 1: paste the script ---- */
.sc-code {
    padding: 3.4cqi;
    color: #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 2.6cqi;
    line-height: 1.9;
}

.sc-ln {
    white-space: pre;
}

.sc-ln b {
    display: inline-block;
    width: 3.4ch;
    color: #475569;
    font-weight: 400;
}

.sc-code .tg { color: #7dd3fc; }
.sc-code .at { color: #c4b5fd; }
.sc-code .st { color: #86efac; }

.sc-new {
    margin: 0 -3.4cqi;
    padding: 0 3.4cqi;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.04));
    box-shadow: inset 0.5cqi 0 0 #3b82f6;
    animation: scNew 8s ease infinite;
}

.sc-type {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.sc-type-1 {
    width: 13ch;
    animation: scType1 8s steps(13, end) infinite;
}

.sc-type-2 {
    width: 42ch;
    animation: scType2 8s steps(42, end) infinite;
}

.sc-caret {
    display: inline-block;
    width: 0.55ch;
    height: 1.15em;
    margin-left: 0.1ch;
    vertical-align: -0.2em;
    background: #60a5fa;
    animation: scBlink 1s steps(1) infinite;
}

.sc-pill {
    position: absolute;
    right: 4cqi;
    bottom: 5cqi;
    display: inline-flex;
    align-items: center;
    gap: 1.4cqi;
    padding: 1.5cqi 2.4cqi 1.5cqi 1.5cqi;
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 99px;
    background: rgba(6, 30, 24, 0.94);
    color: #d1fae5;
    font-size: 2.3cqi;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 1.6cqi 4cqi -1cqi rgba(16, 185, 129, 0.45);
    animation: scPill 8s cubic-bezier(0.2, 0.9, 0.3, 1.2) infinite;
}

@keyframes scNew {
    0%, 5% { opacity: 0; }
    9%, 92% { opacity: 1; }
    97%, 100% { opacity: 0; }
}

@keyframes scType1 {
    0%, 9% { width: 0; }
    19%, 100% { width: 13ch; }
}

@keyframes scType2 {
    0%, 21% { width: 0; }
    47%, 100% { width: 42ch; }
}

@keyframes scBlink {
    50% { opacity: 0; }
}

@keyframes scPill {
    0%, 50% { opacity: 0; transform: translateY(10px) scale(0.96); }
    56%, 92% { opacity: 1; transform: none; }
    97%, 100% { opacity: 0; transform: none; }
}

/* ---- Scene 2: click the text to test ---- */
.sc-pick-body {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    height: calc(100% - 7cqi);
}

.sc-site {
    padding: 3.2cqi 3.6cqi;
    background: #fffdf9;
    color: #1c1917;
}

.sc-site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4.6cqi;
}

.sc-site-logo {
    width: 7cqi;
    height: 1.8cqi;
    border-radius: 99px;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
}

.sc-site-links {
    display: flex;
    gap: 1.4cqi;
}

.sc-site-links i {
    width: 4.2cqi;
    height: 1cqi;
    border-radius: 99px;
    background: #e7e0d6;
}

.sc-site-h1 {
    position: relative;
    margin-bottom: 3cqi;
    font-size: 3.6cqi;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.sc-h1-box {
    position: absolute;
    inset: -1.2cqi -1.4cqi;
    border: 0.35cqi solid #3b82f6;
    border-radius: 0.8cqi;
    background: rgba(59, 130, 246, 0.1);
    animation: scBox 8s ease infinite;
}

.sc-site-lines i {
    display: block;
    height: 1.1cqi;
    margin-bottom: 1.2cqi;
    border-radius: 99px;
    background: #ebe4da;
}

.sc-site-lines i:first-child { width: 90%; }
.sc-site-lines i:last-child { width: 64%; }

.sc-site-btn {
    display: inline-block;
    margin-top: 1.6cqi;
    padding: 1.3cqi 2.6cqi;
    border-radius: 0.9cqi;
    background: #1c1917;
    color: #fff;
    font-size: 2cqi;
    font-weight: 600;
}

.sc-panel {
    padding: 2.6cqi 2.2cqi;
    border-left: 1px solid rgba(148, 163, 184, 0.14);
    background: #0f1a2e;
}

.sc-panel-title {
    margin-bottom: 2cqi;
    color: #e2e8f0;
    font-size: 2.4cqi;
    font-weight: 700;
}

.sc-el {
    padding: 1.8cqi;
    border: 1px solid #3b82f6;
    border-radius: 1.2cqi;
    background: rgba(59, 130, 246, 0.08);
    animation: scCard 8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.sc-el-tag {
    display: block;
    color: #60a5fa;
    font-size: 1.7cqi;
    font-weight: 700;
}

.sc-el-text {
    display: block;
    margin: 0.6cqi 0 1.6cqi;
    color: #e2e8f0;
    font-size: 2.1cqi;
    line-height: 1.3;
}

.sc-el-btn {
    display: block;
    padding: 1cqi;
    border: 1px solid #3b82f6;
    border-radius: 0.9cqi;
    color: #93c5fd;
    font-size: 1.9cqi;
    font-weight: 600;
    text-align: center;
    animation: scElBtn 8s ease infinite;
}

.sc-el-empty {
    margin-top: 1.6cqi;
    padding: 1.8cqi;
    border: 1px dashed rgba(148, 163, 184, 0.25);
    border-radius: 1.2cqi;
}

.sc-el-empty i {
    display: block;
    height: 1cqi;
    border-radius: 99px;
    background: rgba(148, 163, 184, 0.18);
}

.sc-el-empty i + i {
    width: 60%;
    margin-top: 1cqi;
}

.sc-cursor {
    position: absolute;
    z-index: 3;
    left: 77%;
    top: 56%;
    width: 4.6cqi;
    height: 4.6cqi;
    transform-origin: 20% 12%;
    filter: drop-shadow(0 0.6cqi 1cqi rgba(0, 0, 0, 0.5));
    animation: scCursor 8s ease-in-out infinite;
}

.sc-cursor path {
    fill: #fff;
    stroke: #0f172a;
    stroke-width: 1.4;
    stroke-linejoin: round;
}

.sc-ripple {
    position: absolute;
    z-index: 2;
    left: 78.5%;
    top: 58.5%;
    width: 8cqi;
    height: 8cqi;
    margin: -4cqi 0 0 -4cqi;
    border: 0.4cqi solid rgba(96, 165, 250, 0.9);
    border-radius: 50%;
    opacity: 0;
    animation: scRipple 8s ease-out infinite;
}

@keyframes scCursor {
    0% { left: 88%; top: 94%; opacity: 0; transform: none; }
    6% { left: 88%; top: 94%; opacity: 1; transform: none; }
    26% { left: 35%; top: 43%; transform: none; }
    29% { left: 35%; top: 43%; transform: scale(1); }
    30.5% { left: 35%; top: 43%; transform: scale(0.82); }
    32% { left: 35%; top: 43%; transform: scale(1); }
    38% { left: 35%; top: 43%; transform: none; }
    56% { left: 77%; top: 56%; transform: none; }
    61% { left: 77%; top: 56%; transform: scale(1); }
    62.5% { left: 77%; top: 56%; transform: scale(0.82); }
    64% { left: 77%; top: 56%; transform: scale(1); }
    92% { left: 77%; top: 56%; opacity: 1; transform: none; }
    97%, 100% { left: 77%; top: 56%; opacity: 0; transform: none; }
}

@keyframes scRipple {
    0%, 29% { left: 36.5%; top: 45.5%; opacity: 0; transform: scale(0.3); }
    30.5% { left: 36.5%; top: 45.5%; opacity: 0.9; transform: scale(0.4); }
    38% { left: 36.5%; top: 45.5%; opacity: 0; transform: scale(1.5); }
    38.5%, 61% { left: 78.5%; top: 58.5%; opacity: 0; transform: scale(0.3); }
    62.5% { left: 78.5%; top: 58.5%; opacity: 0.9; transform: scale(0.4); }
    70%, 100% { left: 78.5%; top: 58.5%; opacity: 0; transform: scale(1.5); }
}

@keyframes scBox {
    0%, 30% { opacity: 0; transform: scale(1.03); }
    33%, 92% { opacity: 1; transform: none; }
    97%, 100% { opacity: 0; transform: none; }
}

@keyframes scCard {
    0%, 34% { opacity: 0; transform: translateY(8px); }
    40%, 92% { opacity: 1; transform: none; }
    97%, 100% { opacity: 0; transform: none; }
}

@keyframes scElBtn {
    0%, 61% { background-color: rgba(59, 130, 246, 0); color: #93c5fd; }
    62.5%, 82% { background-color: #3b82f6; color: #fff; }
    88%, 100% { background-color: rgba(59, 130, 246, 0); color: #93c5fd; }
}

/* ---- Scene 3: AI writes variations ---- */
.sc-var-body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3cqi;
    padding: 3cqi 3.2cqi;
}

.sc-field {
    margin-bottom: 2.6cqi;
    padding: 1.6cqi 1.8cqi;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1cqi;
    background: #0a1120;
    color: #e2e8f0;
    font-size: 2.2cqi;
    line-height: 1.35;
}

.sc-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2.2cqi;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1cqi;
    color: #94a3b8;
    font-size: 2cqi;
    font-weight: 600;
    text-align: center;
}

.sc-tabs span {
    padding: 1.2cqi;
}

.sc-tabs .on {
    background: #3b82f6;
    color: #fff;
}

.sc-gen {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1cqi;
    padding: 1.6cqi;
    border-radius: 1cqi;
    background: var(--brand);
    color: #fff;
    font-size: 2.1cqi;
    font-weight: 600;
    animation: scGen 8s ease infinite;
}

.sc-gen svg {
    width: 2.4cqi;
    height: 2.4cqi;
    fill: currentColor;
    stroke: none;
    animation: scSpin 8s ease-in-out infinite;
}

.sc-var {
    position: relative;
    display: grid;
    min-height: 7.6cqi;
    margin-bottom: 1.6cqi;
    padding: 1.5cqi 1.7cqi;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.1cqi;
    background: #111b2f;
}

.sc-var > .sc-skel,
.sc-var > .sc-var-text {
    grid-area: 1 / 1;
}

.sc-skel {
    display: grid;
    align-content: center;
    gap: 1cqi;
    opacity: 0;
}

.sc-skel i {
    display: block;
    height: 1.2cqi;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.12) 0%, rgba(148, 163, 184, 0.35) 50%, rgba(148, 163, 184, 0.12) 100%);
    background-size: 200% 100%;
    animation: scShimmer 1.2s linear infinite;
}

.sc-skel i + i {
    width: 65%;
}

.sc-var-text {
    padding-right: 5cqi;
    color: #e2e8f0;
    font-size: 2.1cqi;
    line-height: 1.35;
}

.sc-ai {
    position: absolute;
    top: 1.3cqi;
    right: 1.3cqi;
    padding: 0.3cqi 0.9cqi;
    border-radius: 0.6cqi;
    background: rgba(96, 165, 250, 0.16);
    color: #93c5fd;
    font-size: 1.6cqi;
    font-weight: 700;
}

.sc-v1 { animation: scVar1 8s ease infinite; }
.sc-v2 { animation: scVar2 8s ease infinite; }
.sc-v3 { animation: scVar3 8s ease infinite; }
.sc-v1 .sc-skel { animation: scSkel1 8s ease infinite; }
.sc-v2 .sc-skel { animation: scSkel2 8s ease infinite; }
.sc-v3 .sc-skel { animation: scSkel3 8s ease infinite; }
.sc-v1 .sc-var-text, .sc-v1 .sc-ai { animation: scTxt1 8s ease infinite; }
.sc-v2 .sc-var-text, .sc-v2 .sc-ai { animation: scTxt2 8s ease infinite; }
.sc-v3 .sc-var-text, .sc-v3 .sc-ai { animation: scTxt3 8s ease infinite; }

@keyframes scGen {
    0%, 7% { transform: none; filter: none; }
    9% { transform: scale(0.95); filter: brightness(1.3); }
    12%, 58% { transform: none; filter: brightness(1.15); }
    62%, 100% { transform: none; filter: none; }
}

@keyframes scSpin {
    0%, 9% { transform: rotate(0deg); }
    58%, 100% { transform: rotate(720deg); }
}

@keyframes scShimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

@keyframes scVar1 { 0%, 10% { opacity: 0; transform: translateY(6px); } 14%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes scVar2 { 0%, 26% { opacity: 0; transform: translateY(6px); } 30%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes scVar3 { 0%, 42% { opacity: 0; transform: translateY(6px); } 46%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes scSkel1 { 0%, 22% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes scSkel2 { 0%, 38% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes scSkel3 { 0%, 54% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes scTxt1 { 0%, 23% { opacity: 0; } 26%, 100% { opacity: 1; } }
@keyframes scTxt2 { 0%, 39% { opacity: 0; } 42%, 100% { opacity: 1; } }
@keyframes scTxt3 { 0%, 55% { opacity: 0; } 58%, 100% { opacity: 1; } }

/* ---- Scene 4: winners go live ---- */
.sc-table {
    padding: 2cqi 3cqi;
    font-size: 2.1cqi;
}

.sc-tr {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 2cqi;
    padding: 2cqi 0.6cqi;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.sc-th {
    padding-top: 0.8cqi;
    color: #64748b;
    font-size: 1.75cqi;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sc-copy {
    color: #e2e8f0;
    font-weight: 600;
    line-height: 1.3;
}

.sc-copy em {
    display: block;
    margin-top: 0.4cqi;
    color: #64748b;
    font-size: 1.8cqi;
    font-style: normal;
    font-weight: 500;
}

.sc-status {
    display: grid;
}

.sc-status b {
    grid-area: 1 / 1;
    justify-self: start;
    padding: 0.6cqi 1.4cqi;
    border-radius: 99px;
    font-size: 1.8cqi;
    font-weight: 700;
}

.sc-s-active {
    background: rgba(34, 197, 94, 0.16);
    color: #4ade80;
}

.sc-s-winner {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 0 0 0.6cqi rgba(16, 185, 129, 0.15);
}

.sc-row-main .sc-s-active {
    opacity: 0;
    animation: scStatusA 8s ease infinite;
}

.sc-row-main .sc-s-winner {
    animation: scStatusW 8s cubic-bezier(0.2, 0.9, 0.3, 1.3) infinite;
}

.sc-progress {
    display: grid;
    gap: 0.8cqi;
}

.sc-prog-track {
    height: 1.2cqi;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(148, 163, 184, 0.14);
}

.sc-prog-track i {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--brand);
}

.sc-row-main .sc-prog-track i {
    animation: scProg 8s ease-in-out infinite;
}

.sc-row-main .sc-prog-track i::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #10b981, #34d399);
    animation: scProgWin 8s ease infinite;
}

.sc-row-dim {
    opacity: 0.55;
}

.sc-row-dim .sc-prog-track i {
    width: 32%;
    background: #475569;
}

.sc-prog-label {
    display: grid;
    color: #94a3b8;
    font-size: 1.8cqi;
}

.sc-prog-label b {
    grid-area: 1 / 1;
    font-weight: 500;
}

.sc-row-main .sc-p1 { opacity: 0; animation: scP1 8s ease infinite; }
.sc-row-main .sc-p2 { opacity: 0; animation: scP2 8s ease infinite; }
.sc-row-main .sc-p3 { color: #34d399; font-weight: 700; animation: scP3 8s ease infinite; }

.sc-banner {
    position: absolute;
    left: 3cqi;
    right: 3cqi;
    bottom: 3cqi;
    display: flex;
    align-items: center;
    gap: 1.4cqi;
    padding: 1.6cqi 2cqi;
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 1.4cqi;
    background: rgba(6, 30, 24, 0.94);
    color: #d1fae5;
    font-size: 2.2cqi;
    font-weight: 600;
    box-shadow: 0 1.6cqi 4cqi -1cqi rgba(16, 185, 129, 0.4);
    animation: scBanner 8s cubic-bezier(0.2, 0.9, 0.3, 1.2) infinite;
}

@keyframes scProg {
    0%, 8% { width: 0; }
    58%, 93% { width: 100%; }
    98%, 100% { width: 0; }
}

@keyframes scProgWin {
    0%, 57% { opacity: 0; }
    60%, 100% { opacity: 1; }
}

@keyframes scP1 { 0%, 23% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes scP2 { 0%, 24% { opacity: 0; } 27%, 55% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes scP3 { 0%, 56% { opacity: 0; } 59%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes scStatusA { 0%, 57% { opacity: 1; } 60%, 100% { opacity: 0; } }

@keyframes scStatusW {
    0%, 58% { opacity: 0; transform: scale(0.8); }
    62%, 96% { opacity: 1; transform: none; }
    99%, 100% { opacity: 0; transform: none; }
}

@keyframes scBanner {
    0%, 64% { opacity: 0; transform: translateY(12px); }
    69%, 93% { opacity: 1; transform: none; }
    98%, 100% { opacity: 0; transform: none; }
}

/* ---- Scene 5: conversions improve ---- */
.sc-chart-body {
    padding: 3cqi 3.4cqi 0;
}

.sc-kpi-row {
    display: flex;
    align-items: center;
    gap: 1.6cqi;
}

.sc-kpi-row b {
    color: #f8fafc;
    font-size: 6cqi;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.sc-up {
    padding: 0.5cqi 1.3cqi;
    border-radius: 99px;
    background: rgba(52, 211, 153, 0.14);
    color: #34d399;
    font-size: 2.1cqi;
    font-weight: 700;
    animation: scUp 8s cubic-bezier(0.2, 0.9, 0.3, 1.3) infinite;
}

.sc-kpi-sub {
    color: #64748b;
    font-size: 1.9cqi;
}

.sc-graph {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 2.4cqi;
    overflow: visible;
}

.sc-gridlines {
    fill: none;
    stroke: rgba(148, 163, 184, 0.16);
    stroke-width: 1;
    stroke-dasharray: 3 4;
}

.sc-path {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    animation: scDraw 8s ease-in-out infinite;
}

.sc-area {
    animation: scArea 8s ease infinite;
}

.sc-mk {
    fill: #0d1526;
    stroke: #60a5fa;
    stroke-width: 3;
    transform-box: fill-box;
    transform-origin: center;
}

.sc-mk3 {
    fill: #60a5fa;
    stroke: rgba(96, 165, 250, 0.35);
    stroke-width: 6;
}

.sc-mk1 { animation: scMk1 8s cubic-bezier(0.2, 0.9, 0.3, 1.4) infinite; }
.sc-mk2 { animation: scMk2 8s cubic-bezier(0.2, 0.9, 0.3, 1.4) infinite; }
.sc-mk3 { animation: scMk3 8s cubic-bezier(0.2, 0.9, 0.3, 1.4) infinite; }

.sc-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 1.4cqi;
    color: #475569;
    font-size: 1.7cqi;
}

@keyframes scDraw {
    0%, 6% { stroke-dashoffset: 1; opacity: 1; }
    62% { stroke-dashoffset: 0; }
    93% { stroke-dashoffset: 0; opacity: 1; }
    98%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes scArea {
    0%, 40% { opacity: 0; }
    64%, 93% { opacity: 1; }
    98%, 100% { opacity: 0; }
}

@keyframes scMk1 { 0%, 30% { opacity: 0; transform: scale(0); } 35%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes scMk2 { 0%, 46% { opacity: 0; transform: scale(0); } 51%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes scMk3 { 0%, 60% { opacity: 0; transform: scale(0); } 65%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }

@keyframes scUp {
    0%, 62% { opacity: 0; transform: scale(0.8); }
    68%, 93% { opacity: 1; transform: none; }
    98%, 100% { opacity: 0; transform: none; }
}

/* ---- Widget: traffic levels ---- */
.w-traffic {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.6cqi;
    padding: 5cqi 6cqi;
}

.wt-row {
    display: grid;
    grid-template-columns: 11cqi minmax(0, 1fr) 5cqi;
    align-items: center;
    gap: 2.4cqi;
}

.wt-label {
    color: #cbd5e1;
    font-size: 3.4cqi;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.wt-bar {
    height: 2.6cqi;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(148, 163, 184, 0.14);
}

.wt-bar i {
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: inherit;
    background: var(--brand);
}

.wt-r1 .wt-bar i { --w: 16%; animation: wtFill1 6s ease infinite; }
.wt-r2 .wt-bar i { --w: 52%; animation: wtFill2 6s ease infinite; }
.wt-r3 .wt-bar i { --w: 94%; animation: wtFill3 6s ease infinite; }

.wt-ok {
    display: grid;
    place-items: center;
    width: 5cqi;
    height: 5cqi;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.16);
    color: #34d399;
}

.wt-ok svg {
    width: 3cqi;
    height: 3cqi;
    stroke-width: 3;
}

.wt-r1 .wt-ok { animation: wtOk1 6s cubic-bezier(0.2, 0.9, 0.3, 1.4) infinite; }
.wt-r2 .wt-ok { animation: wtOk2 6s cubic-bezier(0.2, 0.9, 0.3, 1.4) infinite; }
.wt-r3 .wt-ok { animation: wtOk3 6s cubic-bezier(0.2, 0.9, 0.3, 1.4) infinite; }

.wt-foot {
    display: flex;
    justify-content: space-between;
    gap: 2cqi;
    margin-top: 1cqi;
    padding-top: 2.6cqi;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: #64748b;
    font-size: 2.8cqi;
}

.wt-foot b {
    color: #34d399;
    font-weight: 600;
    animation: wtFoot 6s ease infinite;
}

@keyframes wtFill1 { 0%, 6% { width: 0; } 22%, 92% { width: var(--w); } 97%, 100% { width: 0; } }
@keyframes wtFill2 { 0%, 26% { width: 0; } 44%, 92% { width: var(--w); } 97%, 100% { width: 0; } }
@keyframes wtFill3 { 0%, 48% { width: 0; } 68%, 92% { width: var(--w); } 97%, 100% { width: 0; } }
@keyframes wtOk1 { 0%, 23% { opacity: 0; transform: scale(0.6); } 28%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes wtOk2 { 0%, 45% { opacity: 0; transform: scale(0.6); } 50%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes wtOk3 { 0%, 69% { opacity: 0; transform: scale(0.6); } 74%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes wtFoot { 0%, 74% { opacity: 0; } 80%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }

/* ---- Widget: Auto AI activity feed ---- */
.w-auto {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 3cqi;
    padding: 5cqi 5.5cqi;
}

.wa-head {
    display: flex;
    align-items: center;
    gap: 2.2cqi;
    color: #f8fafc;
    font-size: 3.6cqi;
}

.wa-switch {
    position: relative;
    flex: none;
    width: 8.4cqi;
    height: 4.8cqi;
    border-radius: 99px;
    background: #10b981;
    animation: waSwitch 7s ease infinite;
}

.wa-switch i {
    position: absolute;
    top: 0.6cqi;
    left: 4.2cqi;
    width: 3.6cqi;
    height: 3.6cqi;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0.4cqi 1cqi rgba(0, 0, 0, 0.3);
    animation: waKnob 7s ease infinite;
}

.wa-live {
    display: inline-flex;
    align-items: center;
    gap: 1.2cqi;
    margin-left: auto;
    padding: 0.8cqi 2cqi;
    border-radius: 99px;
    background: rgba(52, 211, 153, 0.12);
    color: #6ee7b7;
    font-size: 2.8cqi;
    font-weight: 600;
}

.wa-live i {
    width: 1.6cqi;
    height: 1.6cqi;
    border-radius: 50%;
    background: #34d399;
    animation: mockPulse 2s ease-out infinite;
}

.wa-feed {
    display: grid;
    gap: 1.8cqi;
    margin: 0;
    padding: 0;
    list-style: none;
}

#home .wa-feed li {
    display: grid;
    grid-template-columns: 6cqi minmax(0, 1fr) auto;
    align-items: center;
    gap: 2cqi;
    margin: 0;
    padding: 1.8cqi 2.2cqi;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 1.8cqi;
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    font-size: 3cqi;
    font-weight: 500;
}

#home .wa-feed li.wa-f3 {
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(6, 30, 24, 0.7);
}

.wa-feed time {
    color: #64748b;
    font-size: 2.5cqi;
    white-space: nowrap;
}

.wa-ico {
    display: grid;
    place-items: center;
    width: 6cqi;
    height: 6cqi;
    border-radius: 1.6cqi;
}

.wa-ico svg {
    width: 3.4cqi;
    height: 3.4cqi;
    stroke-width: 2.2;
}

.wa-ico.blue { background: rgba(59, 130, 246, 0.16); color: #93c5fd; }
.wa-ico.violet { background: rgba(59, 130, 246, 0.16); color: #93c5fd; }
.wa-ico.green { background: rgba(16, 185, 129, 0.16); color: #34d399; }

.wa-f1 { animation: waF1 7s ease infinite; }
.wa-f2 { animation: waF2 7s ease infinite; }
.wa-f3 { animation: waF3 7s ease infinite; }

@keyframes waSwitch { 0%, 8% { background-color: #334155; } 12%, 92% { background-color: #10b981; } 97%, 100% { background-color: #334155; } }
@keyframes waKnob { 0%, 8% { transform: translateX(-100%); } 12%, 92% { transform: none; } 97%, 100% { transform: translateX(-100%); } }
@keyframes waF1 { 0%, 16% { opacity: 0; transform: translateY(8px); } 22%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes waF2 { 0%, 34% { opacity: 0; transform: translateY(8px); } 40%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes waF3 { 0%, 54% { opacity: 0; transform: translateY(8px); } 60%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }

/* ---- Widget: manual or automatic approval ---- */
.w-control {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3.2cqi;
    padding: 5cqi 5.5cqi;
}

.wc-seg {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.8cqi;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 99px;
    background: rgba(15, 23, 42, 0.8);
    font-size: 2.9cqi;
    font-weight: 600;
    text-align: center;
}

.wc-thumb {
    position: absolute;
    top: 0.8cqi;
    bottom: 0.8cqi;
    left: 0.8cqi;
    width: calc(50% - 0.8cqi);
    border-radius: 99px;
    background: var(--brand);
    transform: translateX(100%);
    animation: wcThumb 7s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}

.wc-opt {
    position: relative;
    z-index: 1;
    padding: 1.4cqi 0;
}

.wc-o1 { color: #94a3b8; animation: wcO1 7s ease infinite; }
.wc-o2 { color: #fff; animation: wcO2 7s ease infinite; }

.wc-card {
    padding: 2.8cqi 3cqi;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 2.2cqi;
    background: rgba(15, 23, 42, 0.75);
}

.wc-tag {
    display: inline-flex;
    align-items: center;
    gap: 1cqi;
    color: #93c5fd;
    font-size: 2.6cqi;
    font-weight: 700;
}

.wc-tag svg {
    width: 2.8cqi;
    height: 2.8cqi;
    fill: currentColor;
    stroke: none;
}

#home .wc-card p {
    margin: 1.2cqi 0 2.4cqi;
    color: #f8fafc;
    font-size: 3.4cqi;
    font-weight: 600;
    line-height: 1.3;
}

.wc-actions {
    display: grid;
}

.wc-actions > * {
    grid-area: 1 / 1;
}

.wc-manual {
    display: flex;
    gap: 1.6cqi;
    opacity: 0;
    animation: wcManual 7s ease infinite;
}

.wc-btn {
    display: inline-grid;
    padding: 1.3cqi 2.6cqi;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1.2cqi;
    color: #cbd5e1;
    font-size: 2.6cqi;
    font-weight: 600;
}

.wc-btn b {
    grid-area: 1 / 1;
    font-weight: 600;
}

.wc-approve {
    border-color: #10b981;
    background: #10b981;
    color: #fff;
    animation: wcPress 7s ease infinite;
}

.wc-a1 { animation: wcA1 7s ease infinite; }
.wc-a2 { opacity: 0; animation: wcA2 7s ease infinite; }

.wc-auto {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 1.2cqi;
    padding: 1.3cqi 2.4cqi;
    border-radius: 99px;
    background: rgba(52, 211, 153, 0.14);
    color: #6ee7b7;
    font-size: 2.6cqi;
    font-weight: 600;
    animation: wcAuto 7s ease infinite;
}

.wc-auto svg {
    width: 2.8cqi;
    height: 2.8cqi;
    stroke-width: 3;
}

@keyframes wcThumb { 0%, 44% { transform: translateX(0); } 52%, 92% { transform: translateX(100%); } 97%, 100% { transform: translateX(0); } }
@keyframes wcO1 { 0%, 44% { color: #fff; } 50%, 92% { color: #94a3b8; } 97%, 100% { color: #fff; } }
@keyframes wcO2 { 0%, 44% { color: #94a3b8; } 50%, 92% { color: #fff; } 97%, 100% { color: #94a3b8; } }
@keyframes wcManual { 0%, 46% { opacity: 1; transform: none; } 52%, 94% { opacity: 0; transform: translateY(-6px); } 99%, 100% { opacity: 1; transform: none; } }
@keyframes wcPress { 0%, 20% { transform: none; } 22% { transform: scale(0.92); } 25%, 100% { transform: none; } }
@keyframes wcA1 { 0%, 23% { opacity: 1; } 26%, 96% { opacity: 0; } 99%, 100% { opacity: 1; } }
@keyframes wcA2 { 0%, 23% { opacity: 0; } 26%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes wcAuto { 0%, 50% { opacity: 0; transform: translateY(6px); } 56%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
    .lp-intro-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .lp-benefits {
        grid-template-columns: minmax(0, 1fr);
        max-width: 620px;
        margin: 0 auto;
    }

    .lp-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-step,
    .lp-step-1,
    .lp-step-2 {
        grid-column: span 1;
    }

    .lp-step-5 {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: center;
    }

    .lp-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #home .lp-faq {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .lp-faq-side {
        position: static;
    }
}

@media (max-width: 900px) {
    .lp-plans {
        grid-template-columns: minmax(0, 1fr);
        max-width: 460px;
        gap: 28px;
    }

    .lp-founder-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 28px;
    }

    .lp-founder-aside {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        column-gap: 18px;
        padding: 20px;
        text-align: left;
    }

    .lp-founder-aside .lp-avatar {
        grid-row: span 3;
        width: 72px;
        height: 72px;
        margin: 0;
        font-size: 1.5rem;
    }

    .lp-founder-loc {
        margin-top: 6px;
    }
}

@media (max-width: 720px) {
    .lp-steps-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-step-5 {
        display: flex;
    }

    .lp-head {
        margin-bottom: 40px;
    }

    .lp-qa {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px;
    }

    .lp-qa .lp-icon {
        grid-row: auto;
        margin-bottom: 16px;
    }

    /* Comparison table becomes one card per feature */
    .lp-compare {
        overflow: visible;
        border: 0;
        background: none;
        box-shadow: none;
    }

    #home .lp-compare-table {
        min-width: 0;
    }

    #home .lp-compare-table thead {
        display: none;
    }

    #home .lp-compare-table,
    #home .lp-compare-table tbody,
    #home .lp-compare-table tr,
    #home .lp-compare-table th,
    #home .lp-compare-table td {
        display: block;
    }

    #home .lp-compare-table tr {
        margin-bottom: 14px;
        overflow: hidden;
        border: 1px solid var(--lp-line);
        border-radius: 16px;
        background: rgba(15, 23, 42, 0.6);
    }

    #home .lp-compare-table tbody th {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
        font-size: 15.5px;
    }

    #home .lp-compare-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 16px;
        font-size: 14px;
        text-align: right;
    }

    #home .lp-compare-table td::before {
        content: attr(data-label);
        color: var(--lp-text);
        font-weight: 500;
        text-align: left;
    }

    #home .lp-compare-table td.is-us {
        border-left: 0;
        border-right: 0;
        background: var(--brand-soft);
    }

    #home .lp-compare-table td.is-us::before {
        color: #fff;
        font-weight: 700;
    }

    #home .lp-compare-table tbody tr:last-child > * {
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }

    #home .lp-compare-table tbody tr > td:last-child {
        border-bottom: 0;
    }

    .lp-audience-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-founder-stats {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* With reduced motion: no animation and no fade-in, just the finished picture */
@media (prefers-reduced-motion: reduce) {
    #home .lp-scene,
    #home .lp-scene *,
    #home .lp-widget,
    #home .lp-widget * {
        animation: none !important;
    }

    .lp-reveal,
    .lp-card {
        transition: none;
    }

    .lp-js .lp-reveal:not(.in-view) {
        opacity: 1;
        translate: none;
    }
}
