/* Home page = App Review landing (landing.py, dev-spec-landing.md): a full-width sales page. Theme tokens (--bg, --fg,
   --surface, --surface2, --muted) are the site's; the page defines them here because the template has no Alpine/blog CSS. */
:root { --bg:#f5f5f7; --fg:#1c1c1e; --surface:#e5e5ea; --surface2:#c7c7cc; --muted:#636366; --header-bg:rgba(245,245,247,.82);
  --band-alt:#ececf0; --yellow:#facc15; --ok:#22c55e; --warn:#f59e0b; --bad:#ef4444; --shadow:0 18px 50px -18px rgba(0,0,0,.28); }
.dark { --bg:#202022; --fg:#fff; --surface:#303033; --surface2:#3f3f43; --muted:#9a9aa0; --header-bg:rgba(32,32,34,.82);
  --band-alt:#28282b; --shadow:0 18px 50px -18px rgba(0,0,0,.8); }
.lp-body { background:var(--bg); color:var(--fg); -webkit-font-smoothing:antialiased; margin:0; }
::-webkit-scrollbar { width:0; height:0; }
.lp-wrap { width:100%; max-width:1280px; margin:0 auto; padding:0 24px; box-sizing:border-box; }
.lp h1, .lp h2, .lp h3, .lp p, .lp ul, .lp ol { margin:0; padding:0; }
.lp h1, .lp h2, .lp h3 { text-wrap:balance; }
.lp-head p, .lp-lead { text-wrap:pretty; }
.lp ul, .lp ol { list-style:none; }
.lp a { color:inherit; }
.lp-dim { color:var(--muted); font-size:.875rem; line-height:1.5; }
.lp-link { background:none; border:none; color:#60a5fa; cursor:pointer; font-size:.875rem; padding:6px 0; }

/* Header: full width, on every screen size (no side nav) */
.lp-top { position:sticky; top:0; z-index:40; background:var(--header-bg); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid var(--surface); }
.lp-top-in { display:flex; align-items:center; gap:24px; height:64px; }
.lp-logo { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--fg); font-weight:800; font-size:1.0625rem; letter-spacing:-.01em; flex-shrink:0; }
.lp-nav { display:flex; gap:4px; margin-right:auto; }
.lp-nav a { color:var(--muted); text-decoration:none; font-weight:600; font-size:.9375rem; padding:8px 12px; border-radius:10px; }
.lp-nav a:hover { color:var(--fg); background:var(--surface); }
.lp-top-r { display:flex; align-items:center; gap:12px; margin-left:auto; }
.lp-nav + .lp-top-r { margin-left:0; }
.lp-theme { background:var(--surface); color:var(--fg); border:none; border-radius:50%; width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.lp-theme .sun { display:none; } .dark .lp-theme .sun { display:block; } .dark .lp-theme .moon { display:none; }
/* ≤760px: the blog's top bar (blog_template.html) replaces the header: logo + visitors, Blog / Pulse / Apps / ASO, About, account */
.lp-bt { display:none; }
@media (max-width:760px) {
  .lp-top { display:none; }
  .lp-bt { display:block; position:sticky; top:0; z-index:40; padding:0 16px; background:var(--header-bg); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); box-shadow:0 4px 15px rgba(0,0,0,.1); }
  .lp-bt-in { max-width:42rem; margin:0 auto; }
  .lp-bt-row { display:flex; align-items:center; gap:12px; padding:12px 0 12px 16px; margin:0 -16px; overflow-x:auto; }
  .lp-bt-logo { display:flex; align-items:center; gap:8px; flex-shrink:0; text-decoration:none; color:var(--fg); }
  .lp-bt-name { display:flex; flex-direction:column; } .lp-bt-name > span { font-size:.875rem; font-weight:700; letter-spacing:-.01em; }
  .seg-pill { background:var(--surface); border-radius:20px; display:inline-flex; padding:2px; gap:2px; flex-shrink:0; }
  .seg-pill a { color:var(--muted); border-radius:16px; padding:4px 12px; font-size:.8125rem; font-weight:500; white-space:nowrap; display:inline-flex; align-items:center; text-decoration:none; }
  .lp-bt-about { flex-shrink:0; margin-left:auto; margin-right:1rem; display:inline-flex; align-items:center; gap:4px; font-size:.8125rem; font-weight:500; color:var(--muted); text-decoration:none; }
  .lp-bt-acc { flex-shrink:0; margin-right:1rem; }
}

/* Buttons */
.lp-cta { display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--yellow); color:#000; font-weight:700; font-size:1rem;
  border-radius:999px; padding:12px 24px; text-decoration:none; border:none; cursor:pointer; white-space:nowrap; box-shadow:0 6px 22px rgba(250,204,21,.32); transition:transform .12s, filter .12s; }
.lp-cta:hover { filter:brightness(.96); transform:translateY(-1px); }
.lp-cta.sm { padding:8px 16px; font-size:.875rem; box-shadow:none; }
.lp-cta.lg { padding:16px 30px; font-size:1.0625rem; }
.lp-cta.dark { background:#000; color:var(--yellow); box-shadow:none; }
.lp .lp-cta { color:#000; } .lp .lp-cta.dark { color:var(--yellow); }   /* `.lp a {color:inherit}` is more specific: the text went white in the dark theme */
.lp-cta.wide { display:flex; width:100%; margin:.9rem 0; box-sizing:border-box; }
.lp-ghost { display:inline-flex; align-items:center; background:var(--surface); border-radius:999px; padding:14px 24px; font-weight:600; font-size:1rem; text-decoration:none; color:var(--fg); }
.lp-ghost:hover { background:var(--surface2); }

/* Hero */
.lp-hero { padding:56px 0 40px; background:radial-gradient(1100px 420px at 78% -10%, rgba(250,204,21,.16), transparent 70%); }
.lp-hero-in { display:grid; grid-template-columns:minmax(0,1fr) 440px; gap:72px; align-items:center; }
.lp-eyebrow { display:flex; align-items:center; gap:8px; font-size:.8125rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.lp-beta { background:var(--yellow); color:#000; border-radius:6px; padding:1px 7px; font-size:.6875rem; letter-spacing:.04em; }
.lp h1 { font-size:3.25rem; line-height:1.05; font-weight:800; letter-spacing:-.03em; margin:14px 0 18px; }
.lp-lead { color:var(--muted); font-size:1.125rem; line-height:1.6; max-width:40rem; }
.lp-cta-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px 14px; margin:28px 0 14px; }
@media (max-width:980px) { .lp-hero-in { grid-template-columns:1fr; gap:32px; } .lp h1 { font-size:2.5rem; } }
@media (max-width:560px) { .lp h1 { font-size:2.05rem; } .lp-hero { padding:32px 0 24px; } .lp-lead { font-size:1rem; } .lp-cta.lg { width:100%; box-sizing:border-box; } .lp-ghost { width:100%; justify-content:center; box-sizing:border-box; } }

/* the proof line under the hero note */
.lp-proof { margin-top:6px; } .lp-proof b { color:var(--fg); font-weight:800; }

/* Screenshots: the real blocks, one image per theme */
.lp-frame { background:var(--bg); border-radius:20px; overflow:hidden; box-shadow:var(--shadow); line-height:0; }
.lp-frame img { display:block; width:100%; height:auto; }
/* the bottom of every screenshot fades out (semi-transparent), so a cut-off block doesn't end on a hard edge */
.lp-frame img { -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - min(120px,28%)),rgba(0,0,0,.12)); mask-image:linear-gradient(to bottom,#000 calc(100% - min(120px,28%)),rgba(0,0,0,.12)); }
.lp-frame .d { display:none; } .dark .lp-frame .d { display:block; } .dark .lp-frame .l { display:none; }
/* the screenshots are mobile screens (425 px wide): a narrow frame, not a desktop-wide one */
.lp-frame { max-width:440px; margin:0 auto; border-radius:28px; }
.lp-hero-shot .lp-frame { transform:rotate(1deg); max-width:420px; }
@media (max-width:980px) { .lp-hero-shot .lp-frame { transform:none; } }

/* Stats strip */
.lp-stats .lp-wrap { display:grid; grid-template-columns:repeat(12, 1fr); gap:16px; padding-top:8px; padding-bottom:56px; }
.lp-stats .lp-wrap > div { grid-column:span 3; min-width:0; }
.lp-stats .lp-wrap > div { background:var(--surface); border-radius:20px; padding:22px 24px; display:flex; flex-direction:row; align-items:center; gap:16px; }
.lp-stats b { display:block; flex-shrink:0; font-size:2rem; font-weight:800; letter-spacing:-.02em; }
.lp-stats span { color:var(--muted); font-size:.9375rem; line-height:1.4; }
@media (max-width:760px) { .lp-stats .lp-wrap > div { grid-column:span 6; padding:16px 14px; gap:4px; border-radius:16px; flex-direction:column; align-items:flex-start; } .lp-stats .lp-wrap { gap:10px; } .lp-stats b { font-size:1.5rem; } .lp-stats span { font-size:.8125rem; } }

/* Bands */
.lp-band { padding:88px 0; } .lp-band.alt { background:var(--band-alt); }
.lp-band.dark { background:#0b0b0c; color:#fff; --muted:#a1a1a6; --surface:#1c1c1e; --surface2:#2c2c2e; }
.lp-head { max-width:46rem; margin-bottom:48px; }
.lp-kicker { display:inline-block; font-size:.8125rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.lp h2 { font-size:2.5rem; line-height:1.1; font-weight:800; letter-spacing:-.025em; margin-bottom:14px; }
.lp-head p { color:var(--muted); font-size:1.125rem; line-height:1.6; }
@media (max-width:760px) { .lp-band { padding:56px 0; } .lp h2 { font-size:1.8rem; } .lp-head { margin-bottom:32px; } .lp-head p { font-size:1rem; } }

/* How it works */
.lp-steps3 { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; counter-reset:s; }
.lp-steps3 li { background:var(--surface); border-radius:20px; padding:28px; display:flex; flex-direction:column; gap:8px; }
.lp-steps3 i { font-style:normal; width:36px; height:36px; border-radius:50%; background:var(--yellow); color:#000; font-weight:800; display:flex; align-items:center; justify-content:center; margin-bottom:6px; }
.lp-steps3 b { font-size:1.25rem; } .lp-steps3 span { color:var(--muted); line-height:1.55; }
.lp-flow { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; counter-reset:f; }
.lp-flow li { counter-increment:f; background:var(--surface); border-radius:18px; padding:22px 22px 22px 66px; position:relative; display:flex; flex-direction:column; gap:6px; }
.lp-flow li::before { content:counter(f); position:absolute; left:20px; top:22px; width:30px; height:30px; border-radius:50%; background:var(--yellow); color:#000; font-weight:800; display:flex; align-items:center; justify-content:center; }
.lp-flow b { font-size:1.0625rem; } .lp-flow span { color:var(--muted); line-height:1.55; font-size:.9375rem; }
@media (max-width:980px) { .lp-steps3, .lp-flow { grid-template-columns:1fr; } }

/* Feature rows: screenshot | description */
.lp-row { display:grid; grid-template-columns:minmax(0,1fr) 440px; gap:96px; align-items:start; padding:48px 0; justify-content:space-between; }
.lp-row.rev { grid-template-columns:440px minmax(0,1fr); }
.lp-row.rev .lp-row-text { order:2; } .lp-row.rev .lp-row-shot { order:1; }
.lp-row-text { max-width:34rem; position:sticky; top:96px; } .lp-row.rev .lp-row-text { justify-self:end; }
.lp-tag { display:inline-block; background:var(--surface); color:var(--fg); border-radius:999px; padding:4px 12px; font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.lp-band.alt .lp-tag { background:var(--surface2); }
.lp h3 { font-size:1.75rem; line-height:1.2; font-weight:800; letter-spacing:-.02em; margin:14px 0 12px; }
.lp-row-text > p { color:var(--muted); font-size:1.0625rem; line-height:1.6; }
.lp-points { margin-top:18px !important; display:grid; gap:10px; }
.lp-points li { display:flex; gap:10px; align-items:flex-start; font-size:.9375rem; line-height:1.45; }
.lp-points svg { color:var(--ok); flex-shrink:0; margin-top:2px; }
.lp-cards-wrap { padding-top:40px; margin-top:16px; }
.lp-cards-h { font-size:.8125rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:18px; }
.lp-cards { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:16px; }
.lp-card { background:var(--bg); border-radius:20px; padding:24px; }
.lp-band:not(.alt) .lp-card { background:var(--surface); }
.lp-card .lp-tag { background:var(--surface2); }   /* on a non-alt band the card itself is --surface: the pill merged with it */
.dark .lp-band:not(.alt) .lp-card .lp-tag { background:#4a4a4f; }
.lp-card h4 { font-size:1.1875rem; line-height:1.25; font-weight:800; letter-spacing:-.01em; margin:12px 0 8px; }
.lp-card > p { color:var(--muted); line-height:1.55; font-size:.9375rem; }
@media (max-width:980px) {
  .lp-row, .lp-row.rev { grid-template-columns:1fr; gap:24px; padding:28px 0; }
  .lp-row.rev .lp-row-text, .lp-row .lp-row-text { order:1; justify-self:start; max-width:none; position:static; } .lp-row .lp-row-shot, .lp-row.rev .lp-row-shot { order:2; }
  .lp h3 { font-size:1.4rem; }
}
.lp-mid { display:flex; justify-content:center; padding-top:0; }
.lp-band:has(.lp-mid) { padding:64px 0; }

/* Plans, tools, FAQ, final */
.lp-plans { display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; }
.lp-plan { background:var(--bg); border-radius:20px; padding:24px; display:flex; flex-direction:column; gap:8px; }
.lp-plan.try { background:var(--yellow); color:#000; }
.lp-price { font-size:2rem; font-weight:800; } .lp-price small { font-size:.9375rem; font-weight:500; opacity:.7; }
.lp-plan ul { display:grid; gap:6px; font-size:.9375rem; line-height:1.45; margin-top:6px; }
.lp-plan li::before { content:"✓ "; font-weight:800; }
.lp p.lp-more { margin-top:28px; font-weight:600; } .lp-more a { color:#60a5fa; text-decoration:none; }
@media (max-width:1100px) { .lp-plans { grid-template-columns:1fr 1fr; } } @media (max-width:560px) { .lp-plans { grid-template-columns:1fr; } }
.lp-tools { display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; }
.lp-tools a { background:var(--surface); border-radius:20px; padding:22px; text-decoration:none; display:flex; flex-direction:column; gap:6px; }
.lp-tools a:hover { background:var(--surface2); } .lp-tools b { font-size:1.125rem; } .lp-tools span { color:var(--muted); line-height:1.5; font-size:.9375rem; }
@media (max-width:1100px) { .lp-tools { grid-template-columns:1fr 1fr; } } @media (max-width:560px) { .lp-tools { grid-template-columns:1fr; } }
.lp-faq { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:56px; } .lp-faq .lp-head { margin-bottom:0; }
.lp details { background:var(--bg); border-radius:16px; padding:18px 22px; margin-bottom:10px; }
.lp summary { cursor:pointer; font-weight:700; font-size:1.0625rem; } .lp details p { color:var(--muted); line-height:1.65; margin-top:10px; }
@media (max-width:900px) { .lp-faq { grid-template-columns:1fr; gap:24px; } }
.lp-final { background:var(--yellow); color:#000; padding:88px 0; text-align:center; }
.lp-final h2 { font-size:2.75rem; } .lp-final p { font-size:1.125rem; opacity:.8; margin-bottom:28px; }
@media (max-width:760px) { .lp-final { padding:56px 0; } .lp-final h2 { font-size:1.9rem; } }
.lp-foot { padding-top:32px; padding-bottom:48px; }

.lp-after { display:flex; justify-content:center; margin-top:56px; }   /* the CTA again under some blocks */

/* Onboarding dialog */
.lp-ob { position:fixed; inset:0; z-index:60; background:rgba(0,0,0,.5); display:flex; align-items:flex-end; justify-content:center; }
.lp-ob[hidden] { display:none; }
.lp-ob-card { position:relative; background:var(--bg); color:var(--fg); width:100%; max-width:34rem; max-height:92vh; overflow:auto; border-radius:24px 24px 0 0; padding:20px 18px calc(20px + env(safe-area-inset-bottom)); }
@media (min-width:640px) { .lp-ob { align-items:center; } .lp-ob-card { border-radius:24px; } }
.lp-ob-card h2 { font-size:1.35rem; font-weight:800; margin:.9rem 0 .7rem; }
.lp-ob-card p { margin:.5rem 0; }
.lp-ob-x { position:absolute; right:12px; top:8px; background:none; border:none; color:var(--muted); font-size:1.6rem; line-height:1; cursor:pointer; padding:6px 10px; }
.lp-steps { list-style:none; margin:0; padding:0; display:flex; gap:10px; font-size:.75rem; color:var(--muted); font-weight:600; flex-wrap:wrap; padding-right:32px; }
.lp-steps li { display:flex; align-items:center; gap:5px; } .lp-steps i { font-style:normal; width:18px; height:18px; border-radius:50%; background:var(--surface2); display:inline-flex; align-items:center; justify-content:center; font-size:.6875rem; }
.lp-steps li.on { color:var(--fg); } .lp-steps li.on i { background:var(--yellow); color:#000; } .lp-steps li.done i { background:var(--ok); color:#fff; }
.lp-ob-ctrls { display:flex; gap:8px; align-items:center; margin-bottom:10px; flex-wrap:wrap; }
.lp-seg { display:inline-flex; background:var(--surface); border-radius:20px; padding:2px; gap:2px; }
.lp-seg button { border:none; background:transparent; color:var(--muted); border-radius:16px; padding:5px 12px; font-size:.8125rem; font-weight:500; cursor:pointer; }
.lp-seg button.on { background:var(--yellow); color:#000; font-weight:600; }
.lp-ob select, .lp-ob input { background:var(--surface); color:var(--fg); border:1px solid var(--surface2); border-radius:12px; padding:8px 12px; font-size:1rem; outline:none; }
.lp-ob input { width:100%; }
.lp-ob-list { margin:10px 0; background:var(--surface); border-radius:14px; overflow:hidden; }
.lp-ob-list:empty { display:none; }
.lp-ob-row { display:flex; align-items:center; gap:10px; padding:9px 12px; cursor:pointer; width:100%; border:none; background:none; color:var(--fg); text-align:left; font:inherit; }
.lp-ob-row + .lp-ob-row { border-top:1px solid var(--surface2); } .lp-ob-row:hover { background:var(--surface2); }
.lp-ob-row img, .lp-ob-app img { width:36px; height:36px; border-radius:9px; flex-shrink:0; background:var(--surface2); }
.lp-ob-row div { flex:1; min-width:0; } .lp-ob-row b, .lp-ob-row span { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lp-ob-row span { color:var(--muted); font-size:.75rem; } .lp-ob-row em { font-style:normal; font-size:.75rem; font-weight:700; color:var(--muted); }
.lp-ob-app { display:flex; align-items:center; gap:10px; background:var(--surface); border-radius:14px; padding:10px 12px; min-height:56px; }
.lp-ob-app b { display:block; } .lp-ob-app span { display:block; color:var(--muted); font-size:.75rem; }
.lp-ob-err { color:var(--bad); font-size:.875rem; margin:6px 0; }
.lp-ob-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.lp-ob-actions a, .lp-ob-actions button { border-radius:999px; padding:8px 16px; font-size:.875rem; font-weight:600; border:1px solid var(--surface2); background:var(--surface); color:var(--fg); text-decoration:none; cursor:pointer; }
.lp-link { background:none; border:none; color:#60a5fa; cursor:pointer; font-size:.875rem; padding:6px 0; }
.lp-spin { display:inline-block; width:14px; height:14px; border:2px solid var(--surface2); border-top-color:var(--fg); border-radius:50%; animation:lpspin .8s linear infinite; vertical-align:-2px; margin-right:6px; }
@keyframes lpspin { to { transform:rotate(360deg); } }

/* headings: wrap evenly, a bit smaller where the column is narrow */
@media (min-width:981px) and (max-width:1180px) { .lp h1 { font-size:2.75rem; } }
@media (max-width:400px) { .lp h2 { font-size:1.6rem; } }
