/* Landing — transcribed from landing.jsx; responsive per Design Review §06
   (breakpoints 640 / 1024; mobile mirrors states.jsx LandingMobile). */
.ld{background:var(--paper);color:var(--ink);min-height:100vh}
.ld-nav{position:sticky;top:0;z-index:5;padding:16px 32px;display:flex;align-items:center;
  justify-content:space-between;background:rgba(250,250,247,0.85);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line-soft)}
.ld-nav .brand{display:flex;align-items:center;gap:10px;font-weight:600}
.ld-nav .brand .mk{width:26px;height:26px;border-radius:8px;background:var(--ink);
  color:var(--paper);display:grid;place-items:center;font-family:var(--font-serif);
  font-style:italic;font-size:18px;line-height:1}
.ld-nav .links{display:flex;gap:28px;font-size:13.5px}
.ld-nav .cta{display:flex;gap:8px;align-items:center}
.ld-burger{display:none;width:44px;height:44px;border:1px solid var(--line-soft);
  background:var(--card);border-radius:12px;cursor:pointer;padding:0;
  flex-direction:column;align-items:center;justify-content:center;gap:5px}
.ld-burger span{display:block;width:18px;height:2px;background:var(--ink);border-radius:2px;
  transition:transform .22s cubic-bezier(.22,1,.36,1),opacity .18s ease}
.ld-burger:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.ld-nav.is-open .ld-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.ld-nav.is-open .ld-burger span:nth-child(2){opacity:0}
.ld-nav.is-open .ld-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.ld-hero{padding:72px 32px 80px;max-width:1180px;margin:0 auto}
.ld-hero-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:64px;align-items:center}
.ld-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;background:var(--sand);
  border-radius:999px;font-size:12px;font-weight:500;color:#5A4F35}
.ld-h1{margin:22px 0 0;font-size:74px;line-height:0.96;letter-spacing:-0.035em;font-weight:500}
.ld-sub{margin:22px 0 0;font-size:18px;color:var(--mute-soft);line-height:1.5;max-width:520px;text-wrap:pretty}
.ld-hero-actions{display:flex;gap:10px;margin-top:30px;flex-wrap:wrap}
/* Phase-A waitlist (hero, shown when self-serve signups are closed) */
.ld-wait-wrap{margin-top:30px;max-width:480px}
.ld-wait{display:flex;gap:10px;flex-wrap:wrap}
.ld-wait-input{flex:1;min-width:220px;padding:14px 16px;border:1px solid var(--line);
  border-radius:13px;font-size:15px;background:var(--card);color:var(--ink)}
.ld-wait-input::placeholder{color:var(--mute)}
.ld-wait-input:focus{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.ld-wait-btn{padding:14px 22px;font-size:15px;white-space:nowrap;flex-shrink:0}
.ld-wait-note{margin-top:11px;font-size:12.5px;color:var(--mute)}
.ld-wait-demo{display:inline-block;margin-top:14px;font-size:14px;color:var(--ink);
  text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:1px}
.ld-wait-demo:hover{border-color:var(--brand);color:var(--brand)}
.ld-wait-flash{margin-bottom:14px;padding:12px 15px;border-radius:12px;font-size:14px;
  font-weight:600;line-height:1.4}
.ld-wait-flash.ok{background:color-mix(in oklch,var(--brand) 12%,#fff);color:var(--brand);
  border:1px solid color-mix(in oklch,var(--brand) 32%,transparent)}
.ld-wait-flash.err{background:#FDECEC;color:#B42318;border:1px solid #F3C2BE}
@media (max-width:560px){.ld-wait-input,.ld-wait-btn{flex:1 1 100%}}
.ld-proof{display:flex;align-items:center;gap:18px;margin-top:28px;color:var(--mute-soft);font-size:12.5px;flex-wrap:wrap}
.ld-device-wrap{position:relative;display:flex;justify-content:center}
.ld-device-glow{position:absolute;inset:-40px -20px;
  background:radial-gradient(60% 60% at 50% 40%, var(--sand), transparent 70%);pointer-events:none}
.ld-device{position:relative;width:300px;height:600px;background:var(--ink);border-radius:48px;
  padding:10px;box-shadow:0 40px 80px -30px rgba(0,0,0,0.35),0 0 0 1px rgba(0,0,0,0.04)}
.ld-device .scr{width:100%;height:100%;border-radius:38px;overflow:hidden;background:var(--paper);position:relative}
.ld-qr-float{position:absolute;right:-12px;bottom:32px;background:var(--card);padding:12px;
  border-radius:18px;box-shadow:0 20px 40px -16px rgba(0,0,0,0.2),0 0 0 1px rgba(0,0,0,0.04)}
.ld-logos{margin-top:80px;padding-top:28px;border-top:1px solid var(--line-soft);display:flex;
  justify-content:space-between;align-items:center;color:var(--mute-soft);font-size:12px;flex-wrap:wrap;gap:18px}
.ld-section{padding:56px 32px;max-width:1180px;margin:0 auto}
.ld-eyebrow{font-size:12px;color:var(--mute-soft);font-weight:600;letter-spacing:0.1em;text-transform:uppercase}
.ld-h2{margin:8px 0 0;font-size:42px;letter-spacing:-0.025em;font-weight:500;line-height:1.05}
.ld-feats{margin-top:36px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ld-feat{padding:24px;background:var(--card);border:1px solid var(--line-soft);border-radius:20px;
  min-height:180px;display:flex;flex-direction:column;justify-content:space-between}
.ld-feat .ic{width:42px;height:42px;border-radius:12px;background:var(--sand);display:grid;place-items:center}
.ld-logos-set{display:flex;gap:14px 28px;flex-wrap:wrap;align-items:center;
  font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--mute)}
.ld-logos-set span{display:inline-flex;align-items:center;gap:14px}
.ld-logos-set span:not(:last-child)::after{content:"";width:4px;height:4px;border-radius:50%;
  background:var(--faint);display:inline-block}
.ld-niches{margin-top:36px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.ld-niche{display:flex;flex-direction:column;padding:26px 24px 22px;background:var(--card);
  border:1px solid var(--line-soft);border-radius:20px;position:relative;overflow:hidden;
  min-height:212px;text-decoration:none;color:var(--ink);
  transition:transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s ease,border-color .2s ease}
.ld-niche:hover{transform:translateY(-4px);
  border-color:color-mix(in oklch,var(--ink) 16%,var(--line-soft));
  box-shadow:0 24px 46px -30px rgba(15,16,14,.3)}
.ld-niche:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.ld-niche-tag{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.ld-niche-name{font-size:30px;line-height:1.04;margin-top:14px;color:var(--ink)}
.ld-niche-mods{margin-top:10px;font-size:13px;color:var(--mute);line-height:1.55;flex:1}
.ld-niche-go{margin-top:18px;display:inline-flex;align-items:center;gap:6px;font-size:13px;
  font-weight:650;color:var(--ink);opacity:.74;
  transition:gap .2s ease,opacity .2s ease}
.ld-niche:hover .ld-niche-go{gap:10px;opacity:1}
/* Language toggle — compact ink/paper segmented pill, lives in the nav cta. */
.ld-lang{display:inline-flex;align-items:center;border:1px solid var(--line-soft);
  border-radius:999px;overflow:hidden;text-decoration:none;background:var(--card);
  font-size:11.5px;font-weight:700;letter-spacing:.04em;line-height:1;
  -webkit-user-select:none;user-select:none}
.ld-lang span{padding:7px 9px;color:var(--faint);
  transition:color .18s ease,background-color .18s ease}
.ld-lang span.on{background:var(--ink);color:var(--paper)}
.ld-lang:hover span:not(.on){color:var(--ink)}
.ld-lang:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* Dashboard showcase — one wide lead shot then a triptych, each browser-framed. */
.ld-shots{margin-top:36px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.ld-shot{display:flex;flex-direction:column;gap:14px;margin:0}
.ld-shot-lead{grid-column:1/-1}
.ld-shot-frame{border:1px solid var(--line-soft);border-radius:18px;overflow:hidden;
  background:var(--card);box-shadow:0 24px 50px -34px rgba(15,16,14,.34);
  transition:transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s ease}
.ld-shot:hover .ld-shot-frame{transform:translateY(-4px);
  box-shadow:0 30px 56px -32px rgba(15,16,14,.4)}
.ld-shot-bar{height:34px;display:flex;align-items:center;gap:7px;padding:0 16px;
  background:var(--sand);border-bottom:1px solid var(--line-soft)}
.ld-shot-bar span{width:9px;height:9px;border-radius:50%;
  background:color-mix(in oklch,var(--ink) 16%,transparent)}
.ld-shot-frame img{display:block;width:100%;height:auto;background:var(--paper)}
.ld-shot:not(.ld-shot-lead) .ld-shot-frame img{aspect-ratio:4/3;object-fit:cover;object-position:top}
.ld-shot figcaption{display:flex;flex-direction:column;gap:4px;padding:0 2px}
.ld-shot figcaption b{font-size:15px;font-weight:650;letter-spacing:-0.01em}
.ld-shot figcaption span{font-size:13px;color:var(--mute);line-height:1.5}
/* Modern pricing — asymmetric, Pro elevated. */
.pricing{position:relative}
.pricing::before{content:"";position:absolute;left:50%;top:0;width:min(560px,80%);
  height:1px;transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,var(--line),transparent)}
.pricing-head{max-width:600px}
.pricing-head .ld-h2{margin-top:8px}
.pricing-head p{margin:16px 0 0;color:var(--mute);font-size:15px;line-height:1.6;max-width:480px}
.pricing-grid{margin-top:48px;display:grid;grid-template-columns:1fr 1.08fr 1fr 1fr;
  align-items:center;gap:14px}
.tier{position:relative;background:var(--card);border:1px solid var(--line-soft);
  border-radius:22px;padding:28px 22px;display:flex;flex-direction:column;
  animation:tier-rise .6s cubic-bezier(.22,1,.36,1) backwards;
  transition:transform .3s cubic-bezier(.22,1,.36,1),box-shadow .3s ease}
.tier:nth-child(1){animation-delay:.04s}
.tier:nth-child(2){animation-delay:.10s}
.tier:nth-child(3){animation-delay:.16s}
.tier:nth-child(4){animation-delay:.22s}
@keyframes tier-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.tier:hover{transform:translateY(-4px);box-shadow:0 26px 50px -30px rgba(15,16,14,.28)}
.tier-pro{background:var(--ink);color:var(--paper);border:none;padding:34px 24px;
  border-radius:26px;z-index:1;
  box-shadow:0 40px 80px -34px color-mix(in oklch,var(--brand) 55%,rgba(0,0,0,.5))}
.tier-pro::after{content:"";position:absolute;inset:-1px;border-radius:26px;padding:1px;
  background:linear-gradient(180deg,color-mix(in oklch,var(--brand) 70%,transparent),transparent 60%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.tier-pro:hover{transform:translateY(-8px)}
.tier-ribbon{position:absolute;top:-12px;left:30px;z-index:2;background:var(--brand);color:#fff;
  font-size:11px;font-weight:700;letter-spacing:.04em;padding:5px 12px;border-radius:999px;
  box-shadow:0 8px 20px -8px color-mix(in oklch,var(--brand) 70%,transparent)}
.tier-name{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  opacity:.62}
.tier-desc{font-size:12px;color:var(--mute);margin-top:6px;line-height:1.45;opacity:.85}
.tier-pro .tier-desc{color:color-mix(in oklch,var(--paper) 70%,transparent)}
.tier-price{display:flex;align-items:baseline;gap:6px;margin-top:18px;flex-wrap:wrap}
.tier-amount{font-size:clamp(40px,4.6vw,54px);font-weight:800;letter-spacing:-0.04em;line-height:1}
.tier-pro .tier-amount{color:var(--paper)}
.tier-per{font-size:15px;font-weight:600;opacity:.55}
.tier-setup{margin-top:10px;font-size:13px;opacity:.62;display:flex;gap:7px;align-items:center}
.tier-setup span{opacity:.5}
.tier-cta{margin-top:22px;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 18px;border-radius:13px;font-size:14.5px;font-weight:650;text-decoration:none;
  background:var(--ink);color:var(--paper);transition:gap .2s ease,filter .2s ease}
.tier-cta:hover{gap:12px;filter:brightness(1.08)}
.tier-pro .tier-cta{background:var(--brand);color:#fff}
.tier-feats{list-style:none;padding:24px 0 0;margin:22px 0 0;
  border-top:1px solid color-mix(in oklch,currentColor 14%,transparent);
  display:flex;flex-direction:column;gap:12px;font-size:14px}
.tier-feats li{display:flex;gap:11px;align-items:flex-start;line-height:1.4}
.tier-feats li svg{flex:0 0 auto;margin-top:1px;color:var(--brand)}
.tier-pro .tier-feats li svg{color:color-mix(in oklch,var(--brand) 55%,white)}
.tier-feats li.incl{font-weight:650;opacity:.85}
.pricing-assure{margin-top:34px;display:flex;flex-wrap:wrap;gap:10px 26px;
  justify-content:center;font-size:13px;color:var(--mute)}
.pricing-assure span{display:inline-flex;align-items:center;gap:7px}

/* Early-access embedded · pre-launch lifetime price-lock badge.
   Lives between the pricing intro and the toggle so the visitor reads
   "primeiros 20 com 5€/mês" before evaluating tiers. Pulsing dot signals
   "real-time" without being aggressive. When the cap fills, the same
   element switches to a softer "esgotada" variant via .ea-badge--full. */
.ea-badge{display:inline-flex;align-items:center;gap:14px;
  margin:28px auto 0;left:50%;transform:translateX(-50%);position:relative;
  max-width:min(640px,100%);
  padding:11px 18px 11px 14px;border-radius:14px;
  background:var(--card);color:var(--ink);text-decoration:none;
  border:1px solid color-mix(in oklch,var(--brand) 28%,var(--line));
  box-shadow:0 14px 28px -18px color-mix(in oklch,var(--brand) 60%,transparent),
             inset 0 1px 0 rgba(255,255,255,.5);
  transition:transform .25s cubic-bezier(.22,1,.36,1),
             box-shadow .3s ease,border-color .25s ease}
.ea-badge:hover{transform:translateX(-50%) translateY(-2px);
  border-color:color-mix(in oklch,var(--brand) 50%,var(--line));
  box-shadow:0 22px 40px -20px color-mix(in oklch,var(--brand) 65%,transparent),
             inset 0 1px 0 rgba(255,255,255,.55)}
.ea-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;
  background:var(--brand);position:relative;
  box-shadow:0 0 0 4px color-mix(in oklch,var(--brand) 20%,transparent)}
.ea-dot::after{content:"";position:absolute;inset:-3px;border-radius:50%;
  border:1.5px solid var(--brand);opacity:.55;
  animation:ea-pulse 2.4s ease-out infinite}
@keyframes ea-pulse{
  0%{transform:scale(.6);opacity:.8}
  100%{transform:scale(2.2);opacity:0}}
.ea-body{font-size:13.5px;line-height:1.35;color:var(--mute)}
.ea-body b{color:var(--ink);font-weight:680}
.ea-tail{margin-left:auto;display:inline-flex;align-items:baseline;gap:6px;
  font-family:var(--font-mono);font-size:12px;font-weight:700;
  letter-spacing:.04em;color:var(--brand);white-space:nowrap;
  padding-left:14px;border-left:1px solid var(--line)}
.ea-rest{font-size:9.5px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--mute)}
.ea-badge--full{border-color:var(--line);background:var(--sand);
  cursor:default;box-shadow:none}
.ea-badge--full:hover{transform:translateX(-50%);border-color:var(--line);
  box-shadow:none}
.ea-dot--off{background:var(--faint);box-shadow:none}
.ea-dot--off::after{display:none}
@media (prefers-reduced-motion:reduce){.ea-dot::after{animation:none;opacity:.4}}
@media (max-width:560px){
  .ea-badge{flex-wrap:wrap;padding:12px 14px}
  .ea-tail{margin-left:0;padding-left:0;border-left:none;width:100%;
    padding-top:4px;border-top:1px solid var(--line)}
}

/* billing cycle toggle — CSS-only, accessible, zero JS */
.bill-toggle{position:relative;display:inline-grid;grid-template-columns:1fr 1fr;
  gap:0;margin:28px auto 0;width:max-content;background:var(--sand);
  border-radius:999px;padding:5px;left:50%;transform:translateX(-50%)}
.bill-cb{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.bill-seg{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;
  justify-content:center;padding:9px 20px;font-size:13.5px;font-weight:650;
  color:var(--mute);cursor:pointer;border-radius:999px;white-space:nowrap;
  transition:color .25s ease}
.bill-thumb{position:absolute;top:5px;bottom:5px;left:5px;width:calc(50% - 5px);
  background:var(--card);border-radius:999px;z-index:0;
  box-shadow:0 2px 8px -3px rgba(15,16,14,.22),0 0 0 1px rgba(15,16,14,.04);
  transition:transform .3s cubic-bezier(.22,1,.36,1)}
.bill-save{font-size:10px;font-weight:700;letter-spacing:.02em;color:#fff;
  background:var(--brand);padding:2px 8px;border-radius:999px}
.bill-toggle:has(.bill-cb:not(:checked)) .bill-seg[data-k="m"]{color:var(--ink)}
.bill-toggle:has(.bill-cb:checked) .bill-seg[data-k="y"]{color:var(--ink)}
.bill-toggle:has(.bill-cb:checked) .bill-thumb{transform:translateX(100%)}
.bill-toggle:has(.bill-cb:focus-visible){box-shadow:0 0 0 3px var(--brand-soft)}

/* monthly / annual price swap */
.pricing .y-only{display:none}
.pricing:has(.bill-cb:checked) .m-only{display:none}
.pricing:has(.bill-cb:checked) .tier-price.y-only{display:flex}
.pricing:has(.bill-cb:checked) .tier-setup.y-only{display:block}
.tier-was{font-size:14px;font-weight:600;color:var(--mute);
  text-decoration:line-through;text-decoration-thickness:1.5px;
  align-self:center;margin-left:2px;opacity:.7}
.tier-pro .tier-was{color:color-mix(in oklch,var(--paper) 60%,transparent)}

@media (max-width:1199px) and (min-width:721px){
  .pricing-grid{grid-template-columns:1fr 1fr;max-width:760px;margin-inline:auto;gap:18px}
  .tier{padding:30px 24px}
  .tier-pro{padding:36px 28px}
  .tier-amount{font-size:clamp(40px,5.4vw,54px)}
}
@media (max-width:720px){
  .pricing-grid{grid-template-columns:1fr;max-width:440px;margin-inline:auto}
  .tier-pro{order:-1}
}
.ld-faq{max-width:880px;margin:0 auto;padding:56px 32px 88px}
.ld-faq-item{border-bottom:1px solid var(--line-soft);padding:22px 4px}
.ld-faq-q{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;
  background:none;border:none;cursor:pointer;
  color:var(--ink);padding:0;font-size:17px;font-weight:500;letter-spacing:-0.01em;text-align:left}
.ld-faq-q .plus{transition:transform .2s;font-size:22px;line-height:1;font-weight:300;color:var(--mute)}
.ld-faq-item.open .plus{transform:rotate(45deg)}
.ld-faq-a{margin-top:10px;font-size:14.5px;color:var(--mute);line-height:1.6;max-width:680px}
.ld-foot{border-top:1px solid var(--line-soft);padding:36px 32px;display:flex;
  justify-content:space-between;align-items:center;font-size:12.5px;color:var(--mute-soft);flex-wrap:wrap;gap:14px}
.ld-foot a{color:inherit}

/* Closing conversion band — the last, unmissable CTA before the footer */
.ld-cta{max-width:1180px;margin:0 auto;padding:24px 32px 64px}
.ld-cta-inner{position:relative;overflow:hidden;background:var(--ink);color:var(--paper);
  border-radius:28px;padding:64px 48px;text-align:center}
.ld-cta-inner::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(72% 92% at 50% -12%,
    color-mix(in oklch,var(--brand) 42%,transparent),transparent 62%)}
.ld-cta-inner>*{position:relative;z-index:1}
.ld-cta-inner .ld-h2{color:var(--paper);margin:0}
.ld-cta-inner p{margin:16px auto 0;max-width:460px;font-size:15px;line-height:1.6;
  color:color-mix(in oklch,var(--paper) 64%,transparent)}
.ld-cta-actions{margin-top:32px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.ld-cta-ghost{background:transparent;color:var(--paper);
  border:1px solid color-mix(in oklch,var(--paper) 28%,transparent)}
.ld-cta-ghost:hover{border-color:var(--paper);background:color-mix(in oklch,var(--paper) 8%,transparent)}

@media (max-width:1023px){
  .ld-hero-grid{grid-template-columns:1fr;gap:36px}
  .ld-h1{font-size:54px}
  .ld-feats{grid-template-columns:1fr 1fr}
  .ld-niches{grid-template-columns:1fr 1fr}
  .ld-shots{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .ld-nav{padding:14px 20px}
  .ld-nav .brand span{display:none}
  .ld-burger{display:flex;order:3}
  .ld-nav .cta{order:2;margin-left:auto;margin-right:8px;gap:6px}
  .ld-nav .cta a{min-height:44px;display:inline-flex;align-items:center}
  .ld-nav .links{position:absolute;top:100%;left:0;right:0;display:none;
    flex-direction:column;gap:0;padding:6px 20px 14px;background:var(--paper);
    border-bottom:1px solid var(--line-soft);
    box-shadow:0 24px 40px -28px rgba(15,16,14,.4)}
  .ld-nav.is-open .links{display:flex}
  .ld-nav .links a{display:flex;align-items:center;min-height:48px;font-size:16px;
    border-bottom:1px solid var(--line-soft)}
  .ld-nav .links a:last-child{border-bottom:0}
  .ld-hero{padding:32px 20px 40px}
  .ld-h1{font-size:42px}
  .ld-section{padding:36px 20px}
  .ld-feats,.ld-niches,.ld-shots{grid-template-columns:1fr}
  .ld-h2{font-size:30px}
  .ld-faq{padding:36px 20px 56px}
  .ld-foot{flex-direction:column;align-items:flex-start}
  .ld-foot a{padding:7px 0;display:inline-block}
  .ld-hero-actions .btn{flex:1}
  .ld-cta{padding:8px 20px 44px}
  .ld-cta-inner{padding:44px 24px;border-radius:22px}
  .ld-cta-actions{flex-direction:column}
  .ld-cta-actions .btn{width:100%}
}

/* Hero showcase — same 3-card stack as the login aside, tuned for the
   light hero (softer shadows than the dark login background). */
.lg-stack{position:relative;width:300px;height:558px}
.lg-stack>div{position:absolute;top:0;left:50%}
.lg-live,.lg-back,.lg-back-a,.lg-back-b{
  transition:transform .6s cubic-bezier(.22,1,.36,1),opacity .45s ease,filter .45s ease}
.lg-live{z-index:3;transform:translateX(-50%);
  filter:drop-shadow(0 38px 60px rgba(15,16,14,.26));
  animation:lgFront .7s cubic-bezier(.22,1,.36,1) .15s backwards}
.lg-back{pointer-events:none;filter:saturate(.94) brightness(.99);
  border-radius:34px;box-shadow:0 30px 56px -28px rgba(15,16,14,.32)}
.lg-back-a{z-index:2;opacity:.94;
  transform:translateX(-50%) translate(-128px,30px) rotate(-7deg) scale(.92);
  animation:lgBackA .8s cubic-bezier(.22,1,.36,1) .34s backwards}
.lg-back-b{z-index:1;opacity:.78;
  transform:translateX(-50%) translate(122px,52px) rotate(7deg) scale(.84);
  animation:lgBackB .85s cubic-bezier(.22,1,.36,1) .5s backwards}
@keyframes lgFront{from{opacity:0;transform:translateX(-50%) translateY(36px) scale(.95)}
  to{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}
@keyframes lgBackA{from{opacity:0;transform:translateX(-50%) translate(-34px,66px) rotate(0) scale(.88)}
  to{opacity:.94;transform:translateX(-50%) translate(-128px,30px) rotate(-7deg) scale(.92)}}
@keyframes lgBackB{from{opacity:0;transform:translateX(-50%) translate(28px,76px) rotate(0) scale(.82)}
  to{opacity:.78;transform:translateX(-50%) translate(122px,52px) rotate(7deg) scale(.84)}}
@media (prefers-reduced-motion:reduce){.lg-live,.lg-back-a,.lg-back-b{animation:none;transition:none}}
/* Hover the stack → the two cards behind fan further out + brighten while
   the front eases back, so they "emerge from behind". */
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .lg-stack:hover .lg-back{filter:saturate(1) brightness(1.03)}
  .lg-stack:hover .lg-back-a{opacity:1;
    transform:translateX(-50%) translate(-182px,8px) rotate(-11deg) scale(.96)}
  .lg-stack:hover .lg-back-b{opacity:.95;
    transform:translateX(-50%) translate(178px,28px) rotate(11deg) scale(.89)}
  .lg-stack:hover .lg-live{transform:translateX(-50%) translateY(-4px) scale(.99)}
}
@media (max-width:980px){ .lg-stack{transform:scale(.82)} }

/* Phone frame for the hero showcase (ported from app.css — landing only
   loads landing.css, so the iphone partial had no bezel here). Per-card
   dimensions/radii come inline from partials/iphone.ejs. */
.iphone{background:#0b0b0c;border-radius:var(--ip-r);padding:var(--ip-bz);position:relative;
  flex-shrink:0;box-shadow:0 0 0 1.5px #000,0 1px 0 rgba(255,255,255,.07) inset,
  0 26px 50px -22px rgba(0,0,0,.55)}
.iphone-screen{position:relative;overflow:hidden;background:#000}
