/* Landing page styles — scoped under .lp so nothing here can collide with the
   app shell in app.css. Reuses the same CSS variables (declared in app.css's
   :root) so the marketing page and the studio feel like one product. */

.lp{position:relative;overflow-x:clip}

/* Ambient backdrop: two soft brand-coloured glows behind everything. */
.lp::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(60rem 40rem at 78% -8%, rgba(124,92,255,.20), transparent 60%),
    radial-gradient(48rem 36rem at 6% 28%, rgba(70,212,160,.12), transparent 55%);
}

/* ---- top bar: styles live in app.css (.lp-bar) so login/register reuse them ---- */

/* ---- hero ---- */
.lp-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;
  padding:72px 0 64px}
.lp-eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--surface-2);
  color:var(--brand);font-weight:700;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;
  padding:7px 14px;border-radius:30px;border:1px solid var(--line);margin-bottom:22px}
.lp-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--accent);
  box-shadow:0 0 0 4px rgba(70,212,160,.18)}
.lp-hero h1{font-size:clamp(2.3rem,5.2vw,3.9rem);line-height:1.04;letter-spacing:-.025em}
.lp-hero h1 .grad{background:linear-gradient(115deg,var(--brand-2),var(--brand) 55%,var(--accent));
  -webkit-background-clip:text;background-clip:text;color:transparent}
.lp-hero p.lead{color:var(--muted);font-size:1.08rem;max-width:36ch;margin:20px 0 30px}
.lp-actions{display:flex;gap:13px;flex-wrap:wrap;align-items:center}
.lp-actions .btn.lg{padding:13px 24px;font-size:.95rem;border-radius:13px}
.lp-actions .keyline{font-size:.78rem;color:var(--muted)}
.lp-actions .keyline b{color:var(--ink)}

/* hero collage */
.lp-collage{position:relative;height:clamp(360px,42vw,480px)}
.lp-tile{position:absolute;border-radius:18px;background-size:cover;background-position:center;
  border:1px solid var(--line);box-shadow:var(--shadow);background-color:var(--surface-2)}
.lp-tile.t1{inset:0 22% 26% 0}
.lp-tile.t2{width:46%;height:52%;right:0;top:14%;z-index:2}
.lp-tile.t3{width:38%;height:34%;left:10%;bottom:0;z-index:3}
.lp-collage .float-card{position:absolute;left:-6px;top:8%;z-index:4;background:var(--surface);
  border:1px solid var(--line);border-radius:13px;padding:11px 14px;box-shadow:var(--shadow);
  display:flex;align-items:center;gap:10px;font-size:.78rem;font-weight:700}
.lp-collage .float-card .ring{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:rgba(70,212,160,.16);color:var(--accent);font-size:.7rem}
.lp-collage .float-card small{display:block;font-weight:600;color:var(--muted);font-size:.66rem}

/* ---- pipeline strip ---- */
.lp-pipe{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;
  padding:18px 20px;background:var(--surface);border:1px solid var(--line);border-radius:16px;
  margin-bottom:84px}
.lp-pipe span.step{font-weight:700;font-size:.92rem;padding:6px 14px;border-radius:10px;
  background:var(--surface-2);border:1px solid var(--line)}
.lp-pipe span.arrow{color:var(--accent);font-weight:800}
.lp-pipe span.exec{margin-left:6px;font-size:.74rem;color:var(--muted);font-weight:600}

/* ---- section scaffolding ---- */
.lp-sec{padding:0 0 86px}
.lp-sec-head{max-width:52ch;margin-bottom:30px}
.lp-sec-head .kicker{font-weight:800;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--brand)}
.lp-sec-head h2{font-size:clamp(1.6rem,3.4vw,2.3rem);margin:10px 0 8px}
.lp-sec-head p{color:var(--muted)}

/* ---- editor feature tiles ---- */
.lp-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.lp-feature{position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--line);
  min-height:230px;display:flex;flex-direction:column;justify-content:flex-end;isolation:isolate;
  transition:.18s}
.lp-feature:hover{transform:translateY(-3px);border-color:var(--brand)}
.lp-feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.lp-feature::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(14,16,22,.15) 0%,rgba(14,16,22,.55) 55%,rgba(14,16,22,.94) 100%)}
.lp-feature .meta{padding:20px 22px}
.lp-feature .tag{display:inline-block;font-size:.66rem;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:var(--accent);margin-bottom:7px}
.lp-feature h3{font-size:1.18rem;margin-bottom:5px}
.lp-feature p{color:var(--muted);font-size:.85rem}

/* ---- how it works (a real ordered sequence -> numbered) ---- */
.lp-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:s}
.lp-step{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px}
.lp-step::before{counter-increment:s;content:"0" counter(s);font-family:'Unbounded';font-weight:600;
  font-size:1.5rem;color:var(--brand);display:block;margin-bottom:12px}
.lp-step h4{font-size:1.05rem;margin-bottom:6px}
.lp-step p{color:var(--muted);font-size:.86rem}

/* ---- model marquee ---- */
.lp-models{display:flex;flex-wrap:wrap;gap:10px}
.lp-models .m{font-size:.78rem;font-weight:700;color:var(--muted);background:var(--surface);
  border:1px solid var(--line);border-radius:10px;padding:8px 13px}
.lp-models .m b{color:var(--ink)}

/* ---- closing CTA ---- */
.lp-cta{position:relative;border-radius:24px;overflow:hidden;border:1px solid var(--line);
  padding:64px 40px;text-align:center;margin-bottom:64px}
.lp-cta[data-bg]{background-size:cover;background-position:center;background-color:var(--surface-2)}
.lp-cta::after{content:"";position:absolute;inset:0;background:rgba(11,12,18,.74)}
.lp-cta>*{position:relative;z-index:1}
.lp-cta h2{font-size:clamp(1.8rem,4vw,2.6rem);margin-bottom:12px}
.lp-cta p{color:#c8cfde;max-width:46ch;margin:0 auto 26px}

/* ---- footer ---- */
.lp-foot{border-top:1px solid var(--line);padding:26px 0 60px}
.lp-foot .wrap{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;
  color:var(--muted);font-size:.82rem}
.lp-foot a{color:var(--muted)}.lp-foot a:hover{color:var(--ink)}

/* ---- responsive ---- */
@media (max-width:880px){
  .lp-hero{grid-template-columns:1fr;gap:34px;padding:46px 0 40px}
  .lp-collage{height:340px;order:-1}
  .lp-tiles,.lp-steps{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  .lp-feature,.btn{transition:none}
}
