/* 2026 landing page sections (index.html, pricing_v2). Theme variables from custom.css. */
.lp-section { padding: 96px 0 0; }
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.lp-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--color-text); margin-bottom: 12px; letter-spacing: -0.5px; }
.lp-head h2 em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; color: var(--color-accent); }
.lp-head p { color: var(--color-text-secondary); font-size: 1.1rem; margin: 0; }

/* theme-aware screenshots: light image by default, dark image in dark mode */
.lp-shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--color-border);
    box-shadow: 0 18px 40px var(--color-shadow, rgba(0,0,0,.12)); background: var(--color-card); }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-shot .lp-dark { display: none; }
.dark-mode .lp-shot .lp-light { display: none; }
.dark-mode .lp-shot .lp-dark { display: block; }

/* three steps */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lp-step-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600;
    background: rgba(255,107,74,.12); color: #FF6B4A; margin: 22px 0 12px; }
.lp-step h3 { font-size: 1.2rem; font-weight: 600; color: var(--color-text); margin-bottom: 6px; }
.lp-step p { color: var(--color-text-secondary); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .lp-steps { grid-template-columns: 1fr; gap: 40px; } }

/* what you get */
.lp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lp-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 16px; padding: 28px; }
.lp-card h3 { font-size: 1.3rem; font-weight: 600; color: var(--color-text); margin: 0 0 8px; }
.lp-card > p { color: var(--color-text-secondary); line-height: 1.6; margin: 0 0 20px; }
.lp-card .lp-shot { box-shadow: none; }
.lp-checks { list-style: none; padding: 0; margin: 36px auto 0; max-width: 900px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.lp-checks li { display: flex; gap: 10px; color: var(--color-text); line-height: 1.5; }
.lp-checks svg { flex: 0 0 18px; width: 18px; height: 18px; color: #2ea043; margin-top: 3px; }
@media (max-width: 900px) { .lp-cards, .lp-checks { grid-template-columns: 1fr; } }

/* comparison */
.lp-compare-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-card); }
.lp-compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.95rem; }
.lp-compare th, .lp-compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); color: var(--color-text); }
.lp-compare thead th { font-weight: 600; background: var(--color-hover-bg, rgba(0,0,0,.03)); }
.lp-compare tbody tr:last-child td, .lp-compare tbody tr:last-child th { border-bottom: 0; }
.lp-compare tbody th { font-weight: 600; width: 17%; color: var(--color-text-secondary); }
.lp-compare .lp-us { background: rgba(255,189,89,.12); font-weight: 500; }
.lp-compare thead .lp-us { background: rgba(255,189,89,.22); }
.lp-note { text-align: center; color: var(--color-text-secondary); font-size: 0.85rem; margin-top: 14px; }
.lp-note a { color: var(--color-accent); }

/* final call to action */
.lp-final { text-align: center; padding: 96px 0 0; }
.lp-final h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--color-text); margin-bottom: 10px; }
.lp-final p { color: var(--color-text-secondary); margin-bottom: 26px; }

/* Product Hunt link without the upvote counter */
.lp-ph { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 10px;
    border: 1px solid #ff6154; background: #fff; color: #ff6154 !important; text-decoration: none !important; font-weight: 600; }
.lp-ph span.lp-ph-p { width: 30px; height: 30px; border-radius: 50%; background: #ff6154; color: #fff; display: grid; place-items: center; font-weight: 700; }
.lp-ph small { display: block; font-size: 0.6rem; letter-spacing: .5px; color: #ff6154; font-weight: 600; line-height: 1; }
.lp-steps .lp-shot { aspect-ratio: 16 / 11; }
.lp-steps .lp-shot img { height: 100%; object-fit: cover; object-position: top left; }
.lp-final .btn-beta-access { display: inline-flex; width: auto; }
.lp-head { max-width: 820px; }

/* Phones/tablets: hero screenshot sits right under the CTA (the right-hand column is hidden below 992px) */
.hero-mockup-mobile { margin: 0 0 8px; }
.hero-mockup-mobile img { display: block; width: 100%; height: auto; }
@media (max-width: 991.98px) {
    .hero-cta-group > p { text-align: center; }
    .hero-scroll-indicator { display: none; }  /* the screenshot now fills the first screen */
}

/* Comparison on phones: one card per product instead of a sideways-scrolling table */
.lp-compare-cards { display: none; }
@media (max-width: 767.98px) {
    .lp-compare-wrap { display: none; }
    .lp-compare-cards { display: grid; gap: 14px; }
}
.lp-ccard { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 14px; padding: 18px 20px; }
.lp-ccard.lp-us { background: rgba(255,189,89,.12); border-color: rgba(255,189,89,.55); }
.lp-ccard-name { font-size: 1.15rem; font-weight: 600; color: var(--color-text); margin: 0 0 4px; }
.lp-ccard-name span { font-size: .85rem; font-weight: 400; color: var(--color-text-secondary); }
.lp-ccard dl { margin: 0; }
.lp-ccard dt { font-size: .72rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
    color: var(--color-text-secondary); margin-top: 12px; }
.lp-ccard dd { margin: 2px 0 0; color: var(--color-text); line-height: 1.45; }
.lp-ccard.lp-us dd { font-weight: 500; }

/* ===================================================================================
   2026-10 polish: one content width, even section rhythm, alternating full-width bands,
   bento-style tiles. Colours and fonts come from the existing theme variables only.
   =================================================================================== */
.lp-v2 { --lp-width: 1160px; --lp-gap: 112px; --lp-radius: 24px; }

/* every section between hero and footer: same width, same vertical spacing */
.lp-v2 .lp-sec { max-width: var(--lp-width); padding-top: var(--lp-gap); padding-bottom: var(--lp-gap); }
.lp-v2 .lp-sec > .row { padding: 0 !important; margin: 0; }
.lp-v2 .lp-sec-video .col-md-10 { flex: 0 0 100%; max-width: 100%; padding: 0; }
.lp-v2 .lp-sec-video .text-center.mb-5 { margin-bottom: 0 !important; }

/* full-width band behind a section (no extra markup: shadow fills the sides, clip keeps it flat) */
.lp-v2 .lp-band { position: relative; background: var(--color-card);
    box-shadow: 0 0 0 100vmax var(--color-card); clip-path: inset(0 -100vmax); }
.lp-v2 .lp-band-steps { margin-top: var(--lp-gap); padding: var(--lp-gap) 0; }
.lp-v2 .lp-sec-video { padding-bottom: 0; }

/* section headings: one style everywhere */
.lp-v2 .lp-title, .lp-v2 .lp-head h2 { font-size: clamp(2rem, 3.4vw, 2.75rem) !important; font-weight: 600 !important;
    letter-spacing: -0.02em; line-height: 1.15; color: var(--color-text) !important; margin-bottom: 14px !important; }
.lp-v2 .lp-head { margin-bottom: 56px; }
.lp-v2 .lp-head p, .lp-v2 .lp-sec-video .lead, .lp-v2 #pricing .cancel-anytime-text {
    color: var(--color-text-secondary); font-size: 1.1rem !important; line-height: 1.6; }
.lp-v2 #pricing .text-center.mb-4 { margin-bottom: 48px !important; }

/* demo video on a framed stage */
.lp-v2 .lp-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem !important;
    padding: 7px 16px; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-card);
    margin: 8px 0 28px !important; }
.lp-v2 .lp-kicker svg { width: 16px; height: 16px; margin: 0 !important; color: var(--color-accent-secondary); }
.lp-v2 .lp-stage { background: var(--color-card); border: 1px solid var(--color-border); border-radius: calc(var(--lp-radius) + 6px);
    padding: 12px; box-shadow: 0 40px 80px -32px var(--color-shadow), 0 12px 24px -12px var(--color-shadow); }
.lp-v2 .lp-stage > div { border-radius: 18px !important; }
.lp-v2 .lp-sub-note { margin-top: 20px !important; }

/* steps as tiles on the band */
.lp-v2 .lp-steps { gap: 24px; }
.lp-v2 .lp-step { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--lp-radius);
    padding: 12px 12px 28px; }
.lp-v2 .lp-step > :not(.lp-shot) { margin-left: 14px; margin-right: 14px; }
.lp-v2 .lp-step .lp-shot { border-radius: 16px; box-shadow: none; }
.lp-v2 .lp-step-num { margin-top: 24px; }
.lp-v2 .lp-band-steps .ag-strip { margin-top: 64px; }

/* "What you get": bento tiles + one checklist tile */
.lp-v2 .lp-cards { gap: 24px; }
.lp-v2 .lp-card { border-radius: var(--lp-radius); padding: 32px; box-shadow: 0 24px 48px -32px var(--color-shadow); }
.lp-v2 .lp-card .lp-shot { border-radius: 16px; }
.lp-v2 .lp-checks { max-width: none; margin-top: 24px; padding: 28px 36px; gap: 18px 48px;
    background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--lp-radius); }

/* comparison on its band */
.lp-v2 .lp-compare-wrap { border-radius: var(--lp-radius); background: var(--color-background);
    box-shadow: 0 24px 48px -32px var(--color-shadow); }
.lp-v2 .lp-compare th, .lp-v2 .lp-compare td { padding: 16px 20px; }
.lp-v2 .lp-ccard { border-radius: 18px; background: var(--color-background); }
.lp-v2 .lp-note { margin-top: 20px; }

/* FAQ: heading left, questions right, hairline dividers instead of boxes */
.lp-v2 .lp-faq > .row { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 64px; align-items: start; }
.lp-v2 .lp-faq > .row > div { width: auto; max-width: none; padding: 0; margin: 0 !important; text-align: left !important; }
.lp-v2 .lp-faq .accordion { --bs-accordion-bg: transparent; }
.lp-v2 .lp-faq .accordion-item { border: 0 !important; border-bottom: 1px solid var(--color-border) !important;
    border-radius: 0 !important; background: transparent !important; }
.lp-v2 .lp-faq .accordion-item:first-child { border-top: 1px solid var(--color-border) !important; }
.lp-v2 .lp-faq .accordion-button { background: transparent !important; color: var(--color-text) !important;
    font-size: 1.05rem; font-weight: 500; padding: 22px 4px !important; box-shadow: none !important; border-radius: 0 !important; }
.lp-v2 .lp-faq .accordion-button::after { background-image: none !important; content: "+"; width: auto; height: auto;
    font-size: 1.5rem; font-weight: 300; line-height: 1; transform: none !important; color: var(--color-text-secondary); }
.lp-v2 .lp-faq .accordion-button:not(.collapsed)::after { content: "\2212"; }
.lp-v2 .lp-faq .accordion-body { background: transparent !important; color: var(--color-text-secondary) !important;
    padding: 0 40px 24px 4px !important; line-height: 1.65; }

/* closing call to action: framed tile with a soft accent glow */
.lp-v2 .lp-final { padding-top: var(--lp-gap); padding-bottom: 0; }
.lp-v2 .lp-final-card { position: relative; overflow: hidden; border-radius: calc(var(--lp-radius) + 8px);
    padding: 80px 32px; background: var(--color-card); border: 1px solid var(--color-border);
    box-shadow: 0 40px 80px -40px var(--color-shadow); }
.lp-v2 .lp-final-card::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 80% at 15% 0%, rgba(255,189,89,.16), transparent 60%),
                radial-gradient(50% 70% at 90% 100%, rgba(255,107,74,.12), transparent 60%); }
.lp-v2 .lp-final-card > * { position: relative; }
.lp-v2 .lp-badges { margin-top: var(--lp-gap) !important; }

/* tablets and phones */
@media (max-width: 991.98px) {
    .lp-v2 { --lp-gap: 72px; --lp-radius: 20px; }
    .lp-v2 .lp-faq > .row { grid-template-columns: 1fr; gap: 24px; }
    .lp-v2 .lp-faq .lp-title { text-align: center; }
}
@media (max-width: 575.98px) {
    .lp-v2 .lp-stage { padding: 6px; border-radius: 18px; }
    .lp-v2 .lp-stage > div { border-radius: 12px !important; }
    .lp-v2 .lp-card { padding: 22px; }
    .lp-v2 .lp-checks { padding: 22px; }
    .lp-v2 .lp-final-card { padding: 56px 20px; }
}

/* refinements */
.lp-v2 .lp-band { z-index: 1; }                          /* bands sit above the page grid pattern */
.lp-v2 .lp-sec-video .lp-title span[style*="text-shadow"] { text-shadow: none !important; }
.lp-v2 .lp-badges { margin-top: 72px !important; }

/* case study carousel (partials/landing_cases.html, js/landing-cases.js) */
.lp-cases { --lp-good: #2ea043; --lp-warn: #d29922; --lp-bad: #e5534b; --lp-ctl: rgba(0,0,0,.28); }
.dark-mode .lp-cases { --lp-good: #3fb950; --lp-warn: #e3b341; --lp-bad: #f47067; --lp-ctl: rgba(255,255,255,.38); }
/* every slide sits in the same grid cell: the track keeps the height of the tallest slide, so nothing jumps */
.lp-cases-track { display: grid; }
.lp-case { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px; align-items: center;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s; }
.lp-case.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .5s ease, visibility 0s; }

/* screenshot: clear edge and soft shadow so it separates from the page background */
.lp-case-shot { aspect-ratio: 16 / 10; border: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 22px 48px -18px rgba(0,0,0,.35); }
.dark-mode .lp-case-shot { border-color: rgba(255,255,255,.16);
    box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 26px 60px -20px rgba(0,0,0,.85), 0 0 48px -12px rgba(255,189,89,.12); }
.lp-case-shot img { height: 100%; object-fit: cover; object-position: top left; }
.lp-case-shot a { height: 100%; cursor: zoom-in; }
.lp-case-shot a.lp-light { display: block; }
.dark-mode .lp-case-shot a.lp-light { display: none; }

/* right-hand column */
.lp-case-text { min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.lp-case-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 14px; font-size: .85rem; }
.lp-case-place { font-weight: 600; color: var(--color-text); font-size: .95rem; }
.lp-case-kind { padding: 2px 10px; border-radius: 999px; background: rgba(255,189,89,.16); color: var(--color-text); font-weight: 500; }
.lp-case-coords { color: var(--color-text-secondary); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.lp-case-outcome { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 0 0 10px; padding: 4px 12px;
    border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--color-text); }
.lp-case-outcome.lp-lvl-good { background: rgba(46,160,67,.16); }
.lp-case-outcome.lp-lvl-warn { background: rgba(210,153,34,.18); }
.lp-case-outcome.lp-lvl-bad { background: rgba(229,83,75,.17); }
.lp-case h3 { font-size: 1.5rem; font-weight: 600; color: var(--color-text); margin: 0 0 18px; letter-spacing: -0.3px; line-height: 1.3; }

/* the three checks, same format on every slide */
.lp-case-facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.lp-case-facts li { display: grid; grid-template-columns: 10px 118px minmax(0, 1fr); align-items: baseline; gap: 10px; color: var(--color-text); font-size: .96rem; }
.lp-case-facts .lp-dot { transform: translateY(-1px); }
.lp-fact-label { color: var(--color-text-secondary); }
.lp-fact-value { font-weight: 600; }
.lp-fact-q { font-weight: 400; color: var(--color-text-secondary); }
.lp-dot { display: inline-block; flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-text-secondary); }
.lp-lvl-good .lp-dot { background: var(--lp-good); }
.lp-lvl-warn .lp-dot { background: var(--lp-warn); }
.lp-lvl-bad .lp-dot { background: var(--lp-bad); }

/* AI first read: set apart from the data */
.lp-case-note { border-left: 3px solid var(--color-accent); background: rgba(255,189,89,.09); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 0 0 12px; }
.lp-case-note p { margin: 0; color: var(--color-text); line-height: 1.55; font-size: .95rem; }
.lp-case-note .lp-case-note-label { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: .74rem; font-weight: 700;
    letter-spacing: .6px; text-transform: uppercase; color: var(--color-text-secondary); }
.lp-case-note-label svg { width: 14px; height: 14px; color: var(--color-accent); }
.lp-case-verdict { margin: 0; font-size: .84rem; color: var(--color-text-secondary); }
.lp-case-verdict strong { font-weight: 600; color: var(--color-text); }
.lp-case-detail { display: block; margin-top: 2px; font-size: .78rem; }

.lp-case-figure { margin: 0; }
.lp-cases-disclaimer { margin: 12px 2px 0; font-size: .82rem; line-height: 1.45; color: var(--color-text-secondary); }

/* controls: visible on light and dark backgrounds */
.lp-cases-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; }
.lp-cases-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
    border: 1.5px solid var(--lp-ctl); background: var(--color-card); color: var(--color-text); transition: background .2s, border-color .2s; }
.lp-cases-btn:hover { border-color: var(--color-accent); background: rgba(255,189,89,.14); }
.lp-cases-btn svg { width: 20px; height: 20px; }
.lp-cases-btn:focus-visible, .lp-cases-dot:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.lp-cases-pause { margin-left: 4px; width: 38px; height: 38px; }
.lp-cases-pause svg { width: 16px; height: 16px; }
.lp-cases-pause .lp-ico-play { display: none; }
.lp-cases.is-paused .lp-ico-pause { display: none; }
.lp-cases.is-paused .lp-ico-play { display: block; }
.lp-cases-nav { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 210px; }
.lp-cases-dots { display: flex; gap: 2px; }
.lp-cases-dot { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.lp-cases-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lp-ctl); transition: width .3s, background .3s; }
.lp-cases-dot:hover::before { background: var(--color-text-secondary); }
.lp-cases-dot[aria-current="true"]::before { width: 30px; height: 10px; border-radius: 5px; background: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255,189,89,.22); }
.lp-cases-count { margin: 0; font-size: .85rem; color: var(--color-text-secondary); white-space: nowrap; }
.lp-cases-count strong { color: var(--color-text); }

.lp-cases-cta-wrap { text-align: center; margin-top: 34px; }
.lp-cases-cta { display: inline-flex; width: auto; }
.lp-cases-cta-sub { margin: 10px 0 0; font-size: .88rem; color: var(--color-text-secondary); }

@media (max-width: 991.98px) {
    .lp-case { grid-template-columns: 1fr; gap: 24px; align-items: start; }
    .lp-case-text { min-height: 0; }
    .lp-case h3 { font-size: 1.3rem; }
}
@media (max-width: 575.98px) {
    .lp-case-facts li { grid-template-columns: 10px minmax(0, 1fr); row-gap: 0; }
    .lp-case-facts .lp-fact-value { grid-column: 2; }
    .lp-cases-controls { gap: 8px; }
    .lp-cases-nav { min-width: 0; }
    .lp-cases-count { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-case, .lp-case.is-active { transition: none; transform: none; }
}

/* Hero trust row (2026-10-31, owner chose variant D): AI tools it works in + where it has been featured */
.hero-trust { margin-top: 34px; max-width: 470px; }
.hero-trust-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-secondary); margin: 0 0 12px; }
.hero-trust .ag-icons { margin: 0; padding: 0; justify-content: flex-start !important; }
.hero-trust-featured { margin: 18px 0 0; font-size: .82rem; color: var(--color-text-secondary); }
.hero-trust-featured b { color: var(--color-text); font-weight: 600; }
@media (max-width: 991px) {
  .hero-trust { margin: 28px auto 0; text-align: center; }
  .hero-trust .ag-icons { justify-content: center !important; }
}

/* Customer quotes (approved on /admin/testimonials) */
.lp-quotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }
.lp-quote { margin: 0; padding: 22px 24px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-card); }
.lp-quote blockquote { margin: 0 0 14px; font-family: 'Instrument Serif', Georgia, serif; font-size: 1.3rem; line-height: 1.35; color: var(--color-text); }
.lp-quote figcaption { font-size: .85rem; color: var(--color-text-secondary); }
.lp-quotes-note { margin-top: 16px; font-size: .78rem; color: var(--color-text-secondary); text-align: center; }
