/* Homepage (index.html) marketing sections. Everything here is lp-* so it can't collide
   with the older styles the dashboard, login modal and lookup still use. */
:root {
  --lp-ink: #0B1220;
  --lp-night: #070B16;
  --lp-night-2: #0E1426;
  --lp-text: #1E293B;
  --lp-muted: #64748B;
  --lp-line: #E2E8F0;
  --lp-bg: #F8FAFC;
  --lp-accent: #4F46E5;
  --lp-accent-2: #6366F1;
  --lp-good: #16A34A; --lp-good-bg: #DCFCE7;
  --lp-ok: #B45309;   --lp-ok-bg: #FEF3C7;
  --lp-bad: #DC2626;  --lp-bad-bg: #FEE2E2;
  --lp-radius: 20px;
}

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #fff; color: var(--lp-text); -webkit-font-smoothing: antialiased; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.lp-center { text-align: center; margin-top: 28px; }
.lp-hero, .lp-section, #pricing { scroll-margin-top: 68px; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; font: 650 15px/1 'Inter', sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease; white-space: nowrap; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-primary { background: var(--lp-accent); color: #fff; box-shadow: 0 6px 20px rgba(79, 70, 229, .35); }
.lp-btn-primary:hover { background: #4338CA; }
.lp-btn-ghost { background: transparent; color: #E2E8F0; border-color: rgba(255,255,255,.18); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.08); }
.lp-btn-dark { background: var(--lp-ink); color: #fff; }
.lp-btn-dark:hover { background: #1E293B; }
.lp-btn-ghost-dark { background: #fff; color: var(--lp-ink); border-color: var(--lp-line); }
.lp-btn-ghost-dark:hover { border-color: #CBD5E1; }
.lp-btn-outline { background: #fff; color: var(--lp-ink); border-color: #CBD5E1; }
.lp-btn-outline:hover { border-color: var(--lp-ink); }
.lp-btn-light { background: #fff; color: var(--lp-ink); }
.lp-btn-lg { height: 54px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.lp-btn:disabled { opacity: .6; cursor: default; }

/* Header */
.lp-header { position: sticky; top: 0; z-index: 900; background: rgba(7, 11, 22, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); transition: box-shadow .2s ease; }
.lp-header.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.lp-nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -.4px; }
.lp-logo b { color: #A5B4FC; font-weight: 800; }
.lp-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.lp-links a { color: #CBD5E1; text-decoration: none; font-size: 14.5px; font-weight: 550; }
.lp-links a:hover { color: #fff; }
.lp-nav-actions { display: flex; gap: 10px; align-items: center; }

/* Hero */
.lp-hero { position: relative; overflow: hidden; background: var(--lp-night); color: #fff; padding: 72px 0 88px;
  background-image:
    radial-gradient(900px 500px at 12% -10%, rgba(99, 102, 241, .35), transparent 60%),
    radial-gradient(700px 500px at 100% 110%, rgba(34, 211, 238, .12), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.04); color: #C7D2FE; font-size: 13.5px; font-weight: 550; }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.lp-hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -2px; font-weight: 800; margin: 22px 0 18px; color: #fff; }
.lp-lemon { color: #FACC15; position: relative; white-space: nowrap; }
.lp-lemon::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: #FACC15; opacity: .35; border-radius: 4px; }
.lp-sub { font-size: 18.5px; line-height: 1.6; color: #A8B3C7; max-width: 540px; margin: 0 0 28px; }
.lp-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; color: #94A3B8; font-size: 14.5px; }
.lp-facts b { color: #fff; font-weight: 700; }

/* Grader card */
.lp-grader { background: #fff; color: var(--lp-text); border-radius: 24px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.lp-grader-head { display: flex; justify-content: space-between; align-items: center; font-weight: 750; font-size: 16px; margin-bottom: 14px; }
.lp-pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lp-good-bg); color: var(--lp-good); }
.lp-grader-form { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 10px; }
.lp-grader-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 650; color: var(--lp-muted); }
.lp-grader-form select { height: 46px; border: 1px solid var(--lp-line); border-radius: 12px; padding: 0 12px; font: 600 15px 'Inter', sans-serif; color: var(--lp-text); background: #fff; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.lp-grader-form select:focus { outline: none; border-color: var(--lp-accent); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.lp-grader-form select:disabled { background-color: var(--lp-bg); color: #94A3B8; }
.lp-grade-btn { grid-column: 1 / -1; height: 50px; font-size: 16px; }

.lp-result { margin-top: 18px; border: 1px solid var(--lp-line); border-radius: 18px; padding: 18px; position: relative; background: linear-gradient(180deg, #fff, #FBFCFE); }
.lp-result-tag { position: absolute; top: -11px; left: 16px; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-muted); background: #fff; padding: 2px 8px; border: 1px solid var(--lp-line); border-radius: 999px; }
.lp-result-tag.live { color: var(--lp-accent); border-color: #C7D2FE; }
.lp-result-main { display: flex; gap: 18px; align-items: center; }
.lp-ring { position: relative; width: 116px; height: 116px; flex: none; }
.lp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-ring circle { fill: none; stroke-width: 10; }
.lp-ring-bg { stroke: #EEF2F7; }
.lp-ring-fg { stroke: var(--lp-bad); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1), stroke .3s; }
.lp-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; font-weight: 850; letter-spacing: -1px; }
.lp-ring.pop b { animation: lp-pop .5s cubic-bezier(.2,.9,.3,1.3); }
@keyframes lp-pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.lp-result-name { font-size: 19px; font-weight: 780; letter-spacing: -.3px; }
.lp-result-verdict { font-size: 14px; font-weight: 650; margin: 2px 0 10px; }
.lp-mini { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-mini div { display: flex; align-items: center; gap: 8px; border: 1px solid var(--lp-line); border-radius: 10px; padding: 5px 6px 5px 10px; font-size: 13px; font-weight: 600; color: #475569; }
.lp-g { display: inline-block; min-width: 32px; text-align: center; padding: 3px 6px; border-radius: 7px; font-weight: 800; font-size: 13px; }
.t-good { color: var(--lp-good); } .t-ok { color: var(--lp-ok); } .t-bad { color: var(--lp-bad); }
.lp-g.t-good, .lp-ex-grade.t-good { background: var(--lp-good-bg); }
.lp-g.t-ok, .lp-ex-grade.t-ok { background: var(--lp-ok-bg); }
.lp-g.t-bad, .lp-ex-grade.t-bad { background: var(--lp-bad-bg); }
.lp-issue { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--lp-bg); font-size: 14px; font-weight: 650; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.lp-issue-label { font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; color: var(--lp-muted); width: 100%; }
.lp-issue-meta { font-size: 12.5px; color: var(--lp-muted); font-weight: 550; }
.lp-result-actions { display: flex; gap: 10px; margin-top: 14px; }
.lp-result-actions .lp-btn { flex: 1; }
.lp-rate-link { display: block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--lp-accent, #4F46E5); text-decoration: none; }
.lp-rate-link:hover { text-decoration: underline; }
.lp-rate { padding: 72px 0; }
.lp-rate .lp-section-head { margin-bottom: 24px; }
.lp-rate-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.lp-rate-cta span { font-size: 13.5px; color: var(--lp-muted); max-width: 420px; }
.lp-result-note { margin: 10px 0 0; font-size: 12px; color: var(--lp-muted); line-height: 1.45; }
.lp-result.loading { opacity: .55; transition: opacity .2s; }

/* Sections */
.lp-section { padding: 96px 0; }
.lp-section-alt { background: var(--lp-bg); border-top: 1px solid #EEF2F7; border-bottom: 1px solid #EEF2F7; }
.lp-section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.lp-kicker { font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-accent); margin-bottom: 12px; }
.lp-kicker-light { color: #A5B4FC; }
.lp-section h2, .lp-final h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -1.2px; font-weight: 800; margin: 0 0 14px; color: var(--lp-ink); }
.lp-section-head p { font-size: 17.5px; line-height: 1.6; color: var(--lp-muted); margin: 0; }
.lp-link { color: var(--lp-accent); font-weight: 700; text-decoration: none; font-size: 16px; }
.lp-link:hover { text-decoration: underline; }

/* Examples */
.lp-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-ex { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); text-decoration: none; color: inherit; background: #fff; position: relative; overflow: hidden; min-height: 168px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lp-ex::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--strip, #E2E8F0); }
.lp-ex:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15, 23, 42, .08); border-color: #CBD5E1; }
.lp-ex-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lp-ex-year { font-size: 13px; font-weight: 650; color: var(--lp-muted); }
.lp-ex-name { font-size: 20px; font-weight: 780; letter-spacing: -.3px; color: var(--lp-ink); }
.lp-ex-grade { font-size: 30px; font-weight: 850; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.lp-ex-issue { font-size: 14px; color: #475569; line-height: 1.5; margin-top: auto; }
.lp-ex-issue b { color: var(--lp-ink); }
.lp-ex.skeleton .lp-ex-name, .lp-ex.skeleton .lp-ex-issue { color: transparent; background: #EEF2F7; border-radius: 6px; }

/* Steps */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-steps li { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 28px; }
.lp-step-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--lp-ink); margin-bottom: 18px; }
.lp-steps h3 { font-size: 19px; font-weight: 750; margin: 0 0 8px; color: var(--lp-ink); }
.lp-steps p { margin: 0; color: var(--lp-muted); line-height: 1.6; font-size: 15.5px; }

/* Chrome extension band */
.lp-ext { background: var(--lp-night-2); color: #fff; }
.lp-ext h2 { color: #fff; }
.lp-ext p { color: #A8B3C7; font-size: 17.5px; line-height: 1.6; margin: 0 0 26px; max-width: 480px; }
.lp-ext-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-listing { background: #fff; border-radius: 20px; overflow: hidden; max-width: 420px; justify-self: center; width: 100%; box-shadow: 0 30px 70px rgba(0,0,0,.4); transform: rotate(-2deg); }
.lp-listing-img { height: 200px; background: linear-gradient(180deg, #CBD5E1 0%, #E2E8F0 62%, #94A3B8 62%, #64748B 100%); position: relative; display: grid; place-items: end center; overflow: hidden; }
.lp-listing-img svg { width: 78%; margin-bottom: 18px; filter: drop-shadow(0 10px 12px rgba(15, 23, 42, .35)); }
.lp-listing-badge { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 6px 10px 6px 6px; box-shadow: 0 8px 20px rgba(0,0,0,.2); font-size: 12px; font-weight: 700; color: var(--lp-ink); }
.lp-listing-badge b { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--lp-good-bg); color: var(--lp-good); font-size: 18px; }
.lp-listing-body { padding: 18px; display: grid; gap: 10px; }
.lp-listing-row { display: flex; justify-content: space-between; }
.lp-skel { height: 12px; border-radius: 6px; background: #E2E8F0; }
.w70 { width: 70%; height: 16px; } .w40 { width: 40%; } .w30 { width: 30%; } .w20 { width: 20%; }

/* Pricing */
.lp-pricing { background: var(--lp-bg); }
.lp-credit-status { text-align: center; margin: -20px 0 28px; }
.lp-credit-status .credit-display { display: inline-block; background: var(--lp-good-bg); color: var(--lp-good); padding: 8px 18px; border-radius: 999px; font-weight: 700; }
.lp-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-plan { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 26px; display: flex; flex-direction: column; position: relative; }
.lp-plan-pop { border: 2px solid var(--lp-accent); box-shadow: 0 20px 50px rgba(79, 70, 229, .15); }
.lp-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--lp-accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.lp-plan-name { font-weight: 750; font-size: 16px; color: var(--lp-ink); }
.lp-plan-price { font-size: 40px; font-weight: 850; letter-spacing: -1.2px; color: var(--lp-ink); margin: 8px 0 2px; }
.lp-plan-price span { font-size: 20px; vertical-align: 14px; margin-right: 2px; }
.lp-plan-desc { color: var(--lp-muted); font-size: 14.5px; margin-bottom: 18px; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; }
.lp-plan li { font-size: 14.5px; color: #334155; padding-left: 22px; position: relative; line-height: 1.45; }
.lp-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--lp-good); font-weight: 800; }
.lp-plan .purchase-btn { width: 100%; height: 46px; padding: 0 12px; font-size: 15px; border-radius: 12px; }
.lp-plan .lp-btn-outline.purchase-btn { background: #fff; color: var(--lp-ink); border: 1px solid #CBD5E1; }
.lp-plan .lp-btn-primary.purchase-btn { background: var(--lp-accent); color: #fff; }
.lp-login-prompt { margin: 28px auto 0; max-width: 620px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--lp-line); color: #334155; font-weight: 600; }

/* Final CTA */
.lp-final { padding: 100px 0; text-align: center; background: var(--lp-night); color: #fff; background-image: radial-gradient(700px 360px at 50% 0%, rgba(99, 102, 241, .35), transparent 70%); }
.lp-final h2 { color: #fff; }
.lp-final p { color: #A8B3C7; font-size: 18px; margin: 0 0 30px; }

/* Footer */
.lp-footer { background: var(--lp-night); border-top: 1px solid rgba(255,255,255,.06); color: #94A3B8; padding: 48px 0 40px; }
.lp-footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 26px; }
.lp-footer-top p { margin: 12px 0 0; max-width: 360px; line-height: 1.6; font-size: 14.5px; }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: flex-start; }
.lp-footer-links a { color: #CBD5E1; text-decoration: none; font-size: 14.5px; font-weight: 550; }
.lp-footer-links a:hover { color: #fff; }
.lp-footer-note { font-size: 12.5px; line-height: 1.6; margin: 0 0 8px; color: #64748B; max-width: 820px; }

/* Responsive */
@media (max-width: 980px) {
  .lp-hero-grid, .lp-ext-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-plans { grid-template-columns: repeat(2, 1fr); }
  .lp-examples { grid-template-columns: repeat(2, 1fr); }
  .lp-links { display: none; }
}
@media (max-width: 640px) {
  .lp-wrap { padding: 0 16px; }
  .lp-nav { height: 60px; }
  .lp-logo { font-size: 17px; }
  .lp-nav-actions .lp-btn { height: 38px; padding: 0 12px; font-size: 14px; }
  .lp-hero { padding: 40px 0 56px; }
  .lp-hero h1 { letter-spacing: -1.2px; }
  .lp-sub { font-size: 16.5px; }
  .lp-grader { padding: 16px; border-radius: 20px; }
  .lp-grader-form { grid-template-columns: 1fr 1fr; }
  .lp-grader-form label:first-child { grid-column: 1 / -1; }
  .lp-ring { width: 96px; height: 96px; }
  .lp-ring b { font-size: 38px; }
  .lp-result-main { gap: 14px; }
  .lp-section { padding: 64px 0; }
  .lp-section-head { margin-bottom: 32px; }
  .lp-examples, .lp-steps { grid-template-columns: 1fr; }
  .lp-ext { display: none; } /* phones can't install Chrome extensions */
  .lp-final { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-ring-fg, .lp-ex, .lp-btn { transition: none; }
  .lp-ring.pop b { animation: none; }
}

/* ── Persuasion sections ───────────────────────────────────────────────── */
.lp-micro { grid-column: 1 / -1; text-align: center; font-size: 12.5px; color: var(--lp-muted); margin-top: -2px; }

.lp-stats { background: var(--lp-night); color: #fff; border-top: 1px solid rgba(255,255,255,.06); padding: 44px 0 52px; }
.lp-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.lp-stat-num { font-size: clamp(38px, 5vw, 56px); font-weight: 850; letter-spacing: -1.5px; line-height: 1.05; background: linear-gradient(180deg, #fff, #A5B4FC); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.lp-stat-label { margin-top: 8px; color: #94A3B8; font-size: 15.5px; line-height: 1.5; }
.lp-stat-label b { color: #E2E8F0; font-weight: 650; }

.lp-swaps { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.lp-swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.lp-swap-arrow { align-self: center; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lp-ink); color: #fff; font-weight: 800; font-size: 18px; }
.lp-ex-sm { min-height: 0; padding: 18px 20px; }
.lp-ex-sm .lp-ex-grade { width: 50px; height: 50px; font-size: 26px; border-radius: 14px; }
.lp-ex-sm .lp-ex-name { font-size: 18px; }
.lp-ex-sm .lp-ex-issue { font-size: 13.5px; }

.lp-cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-cost p { font-size: 17.5px; line-height: 1.6; color: var(--lp-muted); margin: 0 0 26px; }
.lp-bills { display: grid; gap: 10px; }
.lp-bill { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--lp-line); border-radius: 14px; background: #fff; font-weight: 600; color: #334155; }
.lp-bill b { color: var(--lp-bad); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-bill-us { background: var(--lp-good-bg); border-color: #BBF7D0; color: #14532D; }
.lp-bill-us b { color: var(--lp-good); font-size: 18px; }
.lp-bill-note { font-size: 12.5px !important; color: #94A3B8 !important; margin: 4px 0 0 !important; }

.lp-faq-wrap { max-width: 820px; }
.lp-faq { display: grid; gap: 12px; }
.lp-faq details { border: 1px solid var(--lp-line); border-radius: 16px; background: #fff; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.lp-faq details[open] { border-color: #C7D2FE; box-shadow: 0 10px 30px rgba(79, 70, 229, .08); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; font-size: 17px; color: var(--lp-ink); position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--lp-muted); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lp-faq details p { margin: 0 0 20px; color: #475569; line-height: 1.7; font-size: 15.5px; }

.lp-sticky-cta { display: none; }

/* ── Scroll reveal (only when JS is running; content is visible otherwise) ── */
.lp-js [data-reveal], .lp-js [data-reveal-children] > * {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.lp-js [data-reveal].is-in, .lp-js [data-reveal-children].is-in > * { opacity: 1; transform: none; }
.lp-js [data-reveal-children].is-in > *:nth-child(2) { transition-delay: .08s; }
.lp-js [data-reveal-children].is-in > *:nth-child(3) { transition-delay: .16s; }
.lp-js [data-reveal-children].is-in > *:nth-child(4) { transition-delay: .24s; }
.lp-js [data-reveal-children].is-in > *:nth-child(5) { transition-delay: .32s; }
.lp-js [data-reveal-children].is-in > *:nth-child(6) { transition-delay: .4s; }
.lp-js .lp-ex:hover { transition-delay: 0s; }

@media (max-width: 980px) {
  .lp-cost-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .lp-stats { padding: 32px 0 40px; }
  .lp-stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .lp-swap { grid-template-columns: 1fr; gap: 8px; }
  .lp-swap-arrow { justify-self: center; transform: rotate(90deg); width: 36px; height: 36px; }
  .lp-faq summary { font-size: 16px; }
  .lp-sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 950; height: 54px; align-items: center; justify-content: center; gap: 6px; border-radius: 16px; background: var(--lp-accent); color: #fff; font-weight: 750; font-size: 16px; text-decoration: none; box-shadow: 0 12px 30px rgba(79, 70, 229, .45); transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .lp-sticky-cta span { font-weight: 550; opacity: .8; }
  .lp-sticky-cta.show { transform: none; }
  .lp-footer { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-js [data-reveal], .lp-js [data-reveal-children] > * { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 400px) {
  .lp-nav-cta { display: none; } /* hero grader + sticky button cover it on small phones */
}

/* Chrome extension mockup: a listing page with the GradeMyCar panel on top */
.lp-browser { position: relative; width: 100%; max-width: 540px; justify-self: center; background: #fff; border-radius: 16px; box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); margin-bottom: 40px; }
.lp-browser-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #F1F5F9; border-bottom: 1px solid var(--lp-line); border-radius: 16px 16px 0 0; }
.lp-dots { display: flex; gap: 6px; }
.lp-dots i { width: 10px; height: 10px; border-radius: 50%; background: #FCA5A5; }
.lp-dots i:nth-child(2) { background: #FCD34D; } .lp-dots i:nth-child(3) { background: #86EFAC; }
.lp-url { flex: 1; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 7px; background: #fff; color: #64748B; font-size: 12px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lp-browser-body { position: relative; padding: 16px; }
.lp-lst { border: 1px solid var(--lp-line); border-radius: 12px; overflow: hidden; }
.lp-lst img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: center 60%; }
.lp-lst-info { padding: 14px 16px 16px; }
.lp-lst-title { font-size: 17px; font-weight: 750; color: var(--lp-ink); }
.lp-lst-price { font-size: 22px; font-weight: 850; color: var(--lp-ink); margin-top: 2px; letter-spacing: -.4px; }
.lp-lst-meta { font-size: 13px; color: var(--lp-muted); margin-top: 2px; }
.lp-lst-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.lp-lst-chip { font-size: 11.5px; font-weight: 700; color: #15803D; background: #DCFCE7; padding: 3px 9px; border-radius: 999px; }
.lp-gmc { position: absolute; right: -12px; bottom: -34px; width: 236px; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 24px 60px rgba(15, 23, 42, .35), 0 0 0 1px rgba(15, 23, 42, .06); }
.lp-gmc-head { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--lp-ink); margin-bottom: 10px; }
.lp-gmc-head span { margin-left: auto; font-size: 11px; color: var(--lp-muted); font-weight: 600; }
.lp-gmc-grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lp-gmc-grades div { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 4px; border-radius: 10px; background: var(--lp-bg); font-size: 11px; font-weight: 650; color: var(--lp-muted); }
.lp-gmc-grades .lp-g { font-size: 15px; min-width: 38px; }
.lp-gmc-deal { position: relative; display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-bottom: 10px; font-size: 12px; font-weight: 650; color: var(--lp-muted); }
.lp-gmc-deal b { font-size: 18px; color: var(--lp-accent); font-weight: 850; }
.lp-gmc-deal small { font-size: 11px; color: var(--lp-muted); font-weight: 600; }
.lp-gmc-deal i { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; border-radius: 5px; background: #EEF2F7; overflow: hidden; }
.lp-gmc-deal i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--lp-accent); border-radius: 5px; }
@media (min-width: 1200px) {
  .lp-gmc { right: -28px; }
}
@media (max-width: 980px) {
  .lp-gmc { right: 12px; }
}
.lp-ext { overflow-x: clip; }

/* Phone app section */
.lp-app { overflow-x: clip; }
.lp-app-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.lp-app-copy p { font-size: 17.5px; line-height: 1.6; color: var(--lp-muted); margin: 0 0 22px; max-width: 520px; }
.lp-app-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.lp-app-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; color: #475569; }
.lp-app-list li b { color: var(--lp-ink); font-weight: 700; }
.lp-app-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: #EEF2FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none' stroke='%234F46E5' stroke-width='2'%3E%3Cpath d='M1 4l3 3 5-6'/%3E%3C/svg%3E") center no-repeat; }
.lp-app-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.lp-qr { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border: 1px solid var(--lp-line); border-radius: 16px; background: #fff; }
.lp-qr img { display: block; width: 84px; height: 84px; padding: 6px; background: #fff; border-radius: 10px; }
.lp-qr span { font-size: 13px; line-height: 1.4; color: var(--lp-muted); font-weight: 550; }

.lp-phone-wrap { display: flex; justify-content: center; position: relative; }
.lp-phone-wrap::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(99, 102, 241, .25), transparent 65%); }
.lp-phone { position: relative; width: 290px; height: 590px; border-radius: 46px; background: #0B1220; padding: 12px; box-shadow: 0 40px 80px rgba(15, 23, 42, .35), inset 0 0 0 2px #334155; transform: rotate(-3deg); }
.lp-phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.lp-phone-screen { height: 100%; border-radius: 36px; background: #F8FAFC; overflow: hidden; padding: 58px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.lp-ps-top { display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: var(--lp-ink); }
.lp-ps-top span { width: 30px; height: 30px; border-radius: 50%; background: #EEF2F7; display: grid; place-items: center; font-size: 15px; color: #475569; }
.lp-ps-card { background: #fff; border: 1px solid var(--lp-line); border-radius: 18px; padding: 14px; }
.lp-ps-circles { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.lp-ps-circles span { display: block; font-size: 10px; font-weight: 650; color: var(--lp-muted); margin-bottom: 6px; }
.lp-ps-circles b { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; border: 3px solid #86EFAC; background: var(--lp-good-bg); font-size: 20px; font-weight: 850; }
.lp-ps-src { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--lp-line); font-size: 10px; line-height: 1.45; color: var(--lp-muted); text-align: center; }
.lp-ps-src b { color: var(--lp-ink); }
.lp-ps-issue { margin-top: 6px; font-size: 10.5px; text-align: center; color: var(--lp-ink); line-height: 1.5; }
.lp-ps-recall { display: inline-block; font-size: 9px; font-weight: 750; padding: 1px 6px; border-radius: 999px; background: #DBEAFE; color: #1D4ED8; }
.lp-ps-prem b { font-size: 12.5px; color: var(--lp-ink); }
.lp-ps-lines { display: grid; gap: 6px; margin: 10px 0 12px; }
.lp-ps-lines i { height: 8px; border-radius: 4px; background: #EEF2F7; }
.lp-ps-lines i:last-child { width: 70%; }
.lp-ps-btn { height: 34px; border-radius: 11px; background: var(--lp-accent); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.lp-ps-share { height: 36px; border-radius: 11px; border: 1.5px solid var(--lp-accent); color: var(--lp-accent); font-size: 12px; font-weight: 700; display: grid; place-items: center; background: #fff; }

@media (max-width: 980px) {
  .lp-app-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-app-copy { order: -1; }
}
@media (max-width: 640px) {
  .lp-qr { display: none; } /* already on a phone */
  .lp-app-cta .lp-btn { width: 100%; }
  .lp-phone { transform: none; width: 270px; height: 572px; }
}
.lp-phone-screen { padding-bottom: 0; }
.lp-ps-nav { margin: auto -14px 0; display: flex; justify-content: space-around; padding: 9px 0 16px; background: #fff; border-top: 1px solid var(--lp-line); }
.lp-ps-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 15px; color: #94A3B8; }
.lp-ps-nav i { font-style: normal; font-size: 9px; font-weight: 650; }
.lp-ps-nav .on { color: var(--lp-accent); }

/* Free vs premium strip above the plans */
.lp-freebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 auto 28px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: #fff; overflow: hidden; }
.lp-freebar > div { padding: 20px 24px; }
.lp-freebar > div + div { border-left: 1px solid var(--lp-line); background: #FBFBFF; }
.lp-freebar p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: #475569; }
.lp-pill-pro { background: #EEF2FF; color: var(--lp-accent); }

@media (max-width: 640px) {
  .lp-freebar { grid-template-columns: 1fr; }
  .lp-freebar > div + div { border-left: 0; border-top: 1px solid var(--lp-line); }
  .lp-freebar > div { padding: 16px 18px; }
  /* Compact plans on phones: two per row, no feature lists */
  .lp-plans { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lp-plan { padding: 18px 14px 14px; }
  .lp-plan ul { display: none; }
  .lp-plan-name { font-size: 14.5px; }
  .lp-plan-price { font-size: 30px; margin-top: 4px; }
  .lp-plan-price span { font-size: 16px; vertical-align: 9px; }
  .lp-plan-desc { font-size: 13px; margin-bottom: 14px; flex: 1; }
  .lp-plan .purchase-btn { height: 42px; font-size: 14px; }
  .lp-plan-badge { font-size: 10.5px; padding: 3px 9px; top: -10px; }
}
