/* Aftershow marketing page. Uses the app design system (ui.css) so landing and product feel like one thing.
   Rhythm: 1240px grid, 112px sections (80 tablet / 64 phone). */

html{scroll-behavior:smooth;scroll-padding-top:84px;}
.lp{overflow-x:clip;}
.lp-wrap{max-width:1240px;margin:0 auto;padding:0 32px;}
.lp-wrap.narrow{max-width:860px;}
.lp-section{padding:112px 0;}
.lp-section.tight{padding:48px 0 112px;}

/* header */
.lp-header{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--bg) 80%,transparent);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid transparent;transition:border-color .2s;}
.lp-header.scrolled{border-bottom-color:var(--line);}
@media (prefers-reduced-transparency:reduce){.lp-header{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;}}
.lp-header-in{display:flex;align-items:center;gap:28px;height:72px;}
.lp-logo{padding:0;font-size:28px;}
.lp-nav{display:flex;gap:26px;margin-left:12px;flex:1;}
.lp-nav a{font-size:14px;font-weight:500;color:var(--text-2);padding:8px 2px;}
.lp-nav a:hover{color:var(--text);}
.lp-header-actions{display:flex;align-items:center;gap:14px;}
.lp-signin{font-size:14px;font-weight:600;padding:10px 6px;}
.lp-signin:hover{color:var(--accent-text);}
.btn-accent.sm{min-height:40px;padding:0 18px;font-size:14px;}
.btn-accent.lg{min-height:54px;padding:0 30px;font-size:16px;}
.btn-accent .short{display:none;}
.lp-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 26px;border-radius:999px;border:1px solid var(--line-2);font-size:16px;font-weight:600;}
.lp-ghost:hover{background:var(--surface-2);}

/* hero */
.lp-hero{position:relative;padding:72px 0 96px;overflow:hidden;}
.lp-hero::before{content:'';position:absolute;inset:-10% -10% auto;height:90%;pointer-events:none;background:radial-gradient(50% 55% at 78% 25%,color-mix(in srgb,var(--accent) 22%,transparent),transparent 70%);}
.lp-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;}
.lp-kicker{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:var(--text-2);padding:7px 14px 7px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);margin-bottom:26px;}
.lp-kicker .live-dot{background:var(--accent);}
.lp-h1{font-family:var(--display);font-style:italic;font-weight:700;font-size:clamp(48px,6vw,92px);line-height:.98;letter-spacing:-.035em;margin-bottom:26px;text-wrap:balance;}
.lp-lede{font-size:clamp(18px,1.5vw,21px);line-height:1.55;color:var(--text-2);max-width:32em;margin-bottom:34px;}
.lp-actions{display:flex;gap:12px;flex-wrap:wrap;}
.lp-fine{margin-top:18px;font-size:13px;color:var(--text-3);}
.lp-cluster{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:560px;margin-left:auto;width:100%;}
.lp-cluster .col{display:flex;flex-direction:column;gap:16px;}
.lp-cluster .col.b{margin-top:56px;}
.lp-cluster .tile{aspect-ratio:3/4;}
.float{position:absolute;display:flex;align-items:center;gap:10px;padding:10px 16px 10px 10px;border-radius:999px;background:color-mix(in srgb,var(--surface) 92%,transparent);border:1px solid var(--line);box-shadow:var(--shadow);font-size:13px;color:var(--text-2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);white-space:nowrap;}
.float b{color:var(--text);font-weight:600;}
.float.f1{left:-28px;top:34%;}
.float.f2{right:-14px;top:6%;padding-left:12px;}
.float.f3{left:12%;bottom:-18px;}
.lp-h1,.lp-lede,.lp-actions,.lp-kicker,.lp-fine{animation:rise .8s var(--ease) both;}
.lp-kicker{animation-delay:.05s}.lp-h1{animation-delay:.12s}.lp-lede{animation-delay:.24s}.lp-actions{animation-delay:.34s}.lp-fine{animation-delay:.42s}
.lp-cluster .tile{animation:rise .9s var(--ease) both;}
.lp-cluster .col.a .tile:nth-child(1){animation-delay:.2s}.lp-cluster .col.b .tile:nth-child(1){animation-delay:.32s}.lp-cluster .col.a .tile:nth-child(2){animation-delay:.44s}.lp-cluster .col.b .tile:nth-child(2){animation-delay:.56s}
.float{animation:rise .9s var(--ease) both;animation-delay:.8s;}
@keyframes rise{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}

/* proof strip */
.lp-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.lp-strip-in{display:grid;grid-template-columns:repeat(4,1fr);}
.lp-strip-in div{padding:26px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:4px;}
.lp-strip-in div:first-child{padding-left:0;}
.lp-strip-in div:last-child{border-right:0;}
.lp-strip-in b{font-size:16px;font-weight:700;}
.lp-strip-in span{font-size:14px;color:var(--text-2);line-height:1.45;}

/* intros */
.lp-intro{max-width:760px;margin-bottom:48px;}
.lp-h2{font-family:var(--display);font-style:italic;font-weight:700;font-size:clamp(34px,4.2vw,58px);line-height:1.04;letter-spacing:-.025em;text-wrap:balance;}
.lp-sub{margin-top:20px;font-size:clamp(17px,1.4vw,20px);line-height:1.55;color:var(--text-2);max-width:38em;}

/* tour */
.lp-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:28px;}
.lp-tab{font-size:15px;font-weight:600;padding:0 20px;min-height:44px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--text-2);cursor:pointer;}
.lp-tab:hover{color:var(--text);border-color:var(--line-2);}
.lp-tab.on{background:var(--text);color:var(--bg);border-color:var(--text);}
.lp-pause{margin-left:auto;font-size:13px;font-weight:600;background:none;border:1px solid var(--line);color:var(--text-2);border-radius:999px;padding:0 16px;min-height:40px;cursor:pointer;}
.lp-pause[aria-pressed=true]{color:var(--accent-text);border-color:var(--accent);}
.lp-device{max-width:1100px;margin:0 auto;}
.lp-lid{position:relative;padding:16px 16px 18px;border-radius:22px 22px 8px 8px;background:linear-gradient(180deg,#2c2c2e,#161617);box-shadow:0 40px 80px -30px rgba(0,0,0,.85),0 0 0 1px #3a3a3c inset,0 0 0 2px #0a0a0a;}
[data-theme="light"] .lp-lid{box-shadow:0 40px 70px -30px rgba(60,40,10,.6),0 0 0 1px #4a4a4c inset,0 0 0 2px #1a1209;}
.lp-cam{position:absolute;top:6px;left:50%;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:#050505;box-shadow:0 0 0 2px #232325;}
.lp-screen{position:relative;overflow:hidden;border-radius:8px;aspect-ratio:16/10;background:var(--bg);}
.lp-screen iframe{position:absolute;top:0;left:0;width:1440px;height:900px;border:0;transform-origin:0 0;background:var(--bg);}
.lp-base{height:16px;margin:0 -3%;border-radius:0 0 18px 18px;background:linear-gradient(180deg,#d9d9dc,#a5a5a9 60%,#8a8a8e);box-shadow:0 22px 30px -18px rgba(0,0,0,.7);position:relative;}
.lp-base::before{content:'';position:absolute;left:50%;top:0;width:16%;height:6px;margin-left:-8%;border-radius:0 0 10px 10px;background:#7d7d81;}
.lp-caption{text-align:center;margin-top:30px;font-size:18px;color:var(--text-2);min-height:30px;}

/* bento */
.lp-bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.bt{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:26px 26px 30px;display:flex;flex-direction:column;}
.bt.wide{grid-column:span 2;}
.bt.full{grid-column:1/-1;}
.bt h3{font-family:var(--display);font-style:italic;font-weight:700;font-size:28px;line-height:1.1;letter-spacing:-.02em;margin:22px 0 10px;}
.bt p{font-size:15px;line-height:1.6;color:var(--text-2);max-width:46ch;}
.bt-vis{min-height:160px;border-radius:14px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;gap:14px;padding:18px;overflow:hidden;}
.mini-form{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;align-items:center;font-size:13px;width:100%;max-width:380px;}
.mini-form span{color:var(--text-3);}
.mini-form b{font-weight:500;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:9px 12px;}
.mini-form .tag{grid-column:2;justify-self:start;}
.bt-vis:has(.live-badge){flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;}
.mini-line{height:8px;width:100px;border-radius:4px;background:var(--line-2);}
.mini-line.s{width:64px;}
.bt-vis.share{padding:0;}
.mini-share{width:112px;aspect-ratio:3/4;border-radius:12px;padding:12px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;margin:18px;transform:rotate(-3deg);box-shadow:var(--shadow);}
.mini-share .cover-name{font-size:24px;}
.bt-vis.favs{gap:8px;padding:14px;}
.bt-vis.favs i{flex:1;max-width:60px;aspect-ratio:3/4;border-radius:8px;display:block;}
.mini-dots{display:grid;grid-template-columns:repeat(12,1fr);gap:6px;width:100%;max-width:300px;}
.mini-dots i{width:10px;height:10px;border-radius:50%;background:var(--line-2);justify-self:center;}
.mini-dots i.on{background:var(--accent);}
.bt-vis.csv{justify-content:space-between;}
.bt-vis code{font-family:var(--mono);font-size:12px;line-height:1.8;color:var(--text-2);white-space:nowrap;overflow:hidden;}
.bt-vis .arrow{font-size:26px;color:var(--accent-text);}
.mini-stack{display:flex;flex-direction:column;gap:6px;}
.mini-stack i{display:block;width:70px;height:16px;border-radius:5px;background:var(--accent);}
.mini-stack i:nth-child(2){opacity:.65;margin-left:10px;}.mini-stack i:nth-child(3){opacity:.4;margin-left:20px;}

/* compare */
.lp-compare{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.cmp{border-radius:22px;padding:34px;border:1px solid var(--line);}
.cmp h3{font-family:var(--display);font-style:italic;font-weight:700;font-size:28px;margin-bottom:18px;letter-spacing:-.02em;}
.cmp ul{list-style:none;display:flex;flex-direction:column;gap:14px;}
.cmp li{display:flex;gap:12px;font-size:16px;line-height:1.5;}
.cmp li::before{content:'–';color:var(--text-3);flex:none;}
.cmp.them{color:var(--text-2);}
.cmp.us{background:var(--text);color:var(--bg);border-color:var(--text);}
.cmp.us li::before{content:'✓';font-weight:700;color:var(--bg);}

/* quote, faq */
.lp-quote{max-width:900px;margin:0 auto;text-align:center;}
.lp-quote blockquote{font-size:clamp(28px,3.6vw,46px);line-height:1.2;letter-spacing:-.015em;}
.lp-quote figcaption{margin-top:26px;font-size:14px;color:var(--text-2);}
.lp-quote figcaption a{text-decoration:underline;}
.lp-faq{border-top:1px solid var(--line);}
.lp-faq details{border-bottom:1px solid var(--line);}
.lp-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 4px;font-size:18px;font-weight:600;}
.lp-faq summary::-webkit-details-marker{display:none;}
.lp-faq summary::after{content:'+';font-size:26px;color:var(--accent-text);transition:transform .2s;flex:none;}
.lp-faq details[open] summary::after{transform:rotate(45deg);}
.lp-faq details p{padding:0 4px 26px;font-size:17px;line-height:1.6;color:var(--text-2);max-width:44em;}
.lp-faq details p a{text-decoration:underline;}

/* closing band */
.lp-cta-band{border-radius:28px;padding:72px 56px;color:#fff;}
.lp-cta-band .lp-h2{color:#fff;max-width:14ch;}
.lp-cta-band .lp-sub{color:rgba(255,255,255,.88);}
.lp-cta-band .lp-actions{margin-top:30px;}
.btn-accent.white{background:#fff;color:#111;}
.lp-ghost.white{color:#fff;border-color:rgba(255,255,255,.55);}
.lp-ghost.white:hover{background:rgba(255,255,255,.12);}


/* reveal */
.js .rv{opacity:0;translate:0 24px;transition:opacity .7s var(--ease),translate .7s var(--ease);}
.js .rv.in{opacity:1;translate:0 0;}

/* responsive */
@media (max-width:1080px){
  .lp-hero-grid{grid-template-columns:1fr;gap:64px;}
  .lp-cluster{margin:0 auto;max-width:480px;}
  .lp-nav{display:none;}
  .lp-header-in{justify-content:space-between;}
  .lp-header-actions{margin-left:auto;}
  .lp-bento{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lp-strip-in{grid-template-columns:repeat(2,1fr);}
  .lp-strip-in div:nth-child(2){border-right:0;}
  .lp-strip-in div:nth-child(-n+2){border-bottom:1px solid var(--line);}
  .lp-strip-in div:first-child{padding-left:24px;}
}
@media (max-width:820px){
  .lp-section{padding:80px 0;}
  .lp-section.tight{padding:40px 0 80px;}
  .lp-compare{grid-template-columns:1fr;}
  .lp-pause{margin-left:0;}
  .lp-cta-band{padding:44px 28px;border-radius:22px;}
}
@media (max-width:640px){
  .lp-section{padding:64px 0;}
  .lp-wrap{padding:0 20px;}
  .lp-header-in{height:64px;}
  .lp-signin{display:none;}
  .btn-accent .long{display:none;}
  .btn-accent .short{display:inline;}
  .lp-hero{padding:40px 0 72px;}
  .lp-bento{grid-template-columns:minmax(0,1fr);}
  .bt.wide,.bt.full{grid-column:auto;}
  .lp-cluster{gap:10px;}.lp-cluster .col{gap:10px;}.lp-cluster .col.b{margin-top:36px;}
  .lp-cluster .tile .cover-name{font-size:20px;}
  .fw{display:none;}
  .lp-strip-in{grid-template-columns:1fr;}
  .lp-strip-in div{border-right:0!important;border-bottom:1px solid var(--line);padding-left:0!important;}
  .lp-strip-in div:last-child{border-bottom:0;}
  .lp-actions .btn-accent,.lp-actions .lp-ghost{width:100%;}
  .lp-lid{padding:8px;border-radius:14px 14px 6px 6px;}
  .bt-vis code{font-size:11px;}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .lp-h1,.lp-lede,.lp-actions,.lp-kicker,.lp-fine,.lp-cluster .tile,.float{animation:none!important;}
  .js .rv{opacity:1;translate:none;transition:none;}
}
.lp-h1{font-size:clamp(44px,5.2vw,80px);}
.float.f1{left:auto;right:-22px;top:auto;bottom:30%;}
.lp-screen iframe{opacity:0;transition:opacity .5s;}
.lp-screen.ready iframe{opacity:1;}
.lp-screen::before{content:'aftershow.';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-style:italic;font-weight:700;font-size:clamp(28px,5vw,56px);color:var(--text-3);}

.lp-line{display:block;}

/* activity chips straddle the seams between posters (zero-height wrappers, so layout is unchanged) */
.lp-cluster .fw{position:relative;height:0;z-index:4;}
.lp-cluster .fw-f1,.lp-cluster .fw-f3{margin-top:-16px;}
.lp-cluster .fw-f2{margin-bottom:-16px;}
.lp-cluster .fw .float{position:absolute;}
.lp-cluster .fw-f1 .float{right:14px;top:-9px;}
.lp-cluster .fw-f2 .float{left:12px;top:-42px;}
.lp-cluster .fw-f3 .float{left:14px;top:-8px;white-space:normal;max-width:min(250px,calc(100% - 20px));border-radius:26px;line-height:1.35;}
