/* /popup-builder (MKT-2153). Page-only styles on top of the RC base (styles.css + the head block). */
.pb .orange{color:var(--orange)}
.pb-hero{padding-top:56px;background:var(--paper);overflow:hidden;margin-bottom:var(--section-gap);padding-bottom:72px}
.pb-hero-in{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.pb-hero-copy{flex:1 1 520px;min-width:0;max-width:600px;text-align:left}
.pb-hero-copy .composer{width:100%;max-width:none;margin:24px 0 0}
.pb-hero-copy .hero-lead{max-width:none;margin:0;text-align:left}
.pb-hero-copy .hero-chips{justify-content:flex-start}
.pb-h1{font-size:var(--h1-size);line-height:var(--h1-lh);font-weight:600;letter-spacing:-.02em;margin:10px 0 16px;color:var(--ink);text-align:left}
.pb-hero .hero-note{margin-top:12px;text-align:left}
.pb .h2{margin:8px 0 16px}
.pb-proof{display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;margin:18px 0 0;padding:0;font-size:14px;color:var(--ink-600)}
.pb-proof b{color:var(--ink)}
/* hero wall: a still wall of mobile popups in the homepage gallery wall's look (MKT-2178): upright, whole cards,
   three columns starting at their own heights (Niki, 2026-11-13: no motion) */
.pb-wall{flex:1 1 440px;min-width:0;height:640px;position:relative;overflow:hidden}
.pb-wall-plane{--col:min(172px,calc((100% - 2 * var(--gap)) / 3));--gap:20px;display:grid;grid-template-columns:repeat(3,var(--col));gap:var(--gap);justify-content:center;align-items:start}
/* every column starts above the box's top edge, by its own amount, so the top is filled with cut cards */
.pb-wall-col:nth-child(1){margin-top:-150px}
.pb-wall-col:nth-child(2){margin-top:-40px}
.pb-wall-col:nth-child(3){margin-top:-230px}
.pb-wall-track{display:flex;flex-direction:column;gap:var(--gap)}
.pb-wall-card{display:block;aspect-ratio:1/2;border-radius:8px;overflow:hidden;background:var(--white);box-shadow:0 12px 32px -12px rgba(16,24,40,.28),0 4px 8px -4px rgba(16,24,40,.08),0 0 0 1px rgba(22,24,27,.06);transition:transform .25s var(--ease)}
.pb-wall-card:hover{transform:translateY(-3px)}
.pb-wall-card img{display:block;width:100%;height:100%;object-fit:cover}
.pb-tile{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;display:block;box-shadow:0 10px 28px rgba(35,38,42,.16);background:var(--gray-100)}
.pb-shot{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;display:block;background:var(--gray-100)}
.pb-intro{max-width:700px;margin:12px 0 32px}
.pb-h3{font-size:20px;line-height:28px;font-weight:600;margin:0;color:var(--ink)}
.pb-body{font-size:16px;line-height:26px;color:var(--ink);margin:0 0 14px}
.pb-center{text-align:center;max-width:760px;margin:0 auto}
.pb-center .pb-intro{margin-left:auto;margin-right:auto}
.pb-uc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1080px;margin:0 auto}
@media (max-width:1023px){.pb-uc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pb-uc{padding:16px;display:flex;flex-direction:column;gap:10px}
.pb-uc .pb-body{font-size:15px;line-height:24px;margin:0}
.pb-uc-img{display:block;border-radius:12px;overflow:hidden}
.pb-sets{font-size:14px;line-height:22px;color:var(--ink);background:var(--orange-100);border-radius:10px;padding:10px 12px;margin:0}
.pb-more{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--orange);text-decoration:none;margin-top:auto}
.pb-more:hover{color:var(--orange-hover)}
.pb-paper{background:var(--paper)}
#dev + #library{padding-top:var(--section-gap)}
.pb-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.pb-step{padding:var(--card-pad)}
.pb-step .pb-body{font-size:15px;line-height:24px;margin:8px 0 0}
.pb-num{display:block;color:var(--orange);font-weight:700;margin-bottom:8px}
.pb-steps .uc-step{text-align:left}
.pb-rules{display:flex;flex-direction:column;gap:8px}
.pb-rule{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--white);border:1px solid var(--gray-200);border-radius:9px;padding:7px 12px;opacity:.35;transition:opacity 300ms var(--ease),border-color 300ms var(--ease)}
.pb-rule span{color:var(--ink-600)}
.pb-rule b{font-weight:600}
.pb-rule.is-on{opacity:1}
.pb-rule.is-hit{border-color:var(--focus-border)}
.pb-live{display:flex;flex-direction:column;gap:10px}
.pb-live-row{display:flex;justify-content:space-between;align-items:center;background:var(--white);border:1px solid var(--gray-200);border-radius:9px;padding:10px 12px;font-weight:600}
.pb-switch{width:38px;height:22px;border-radius:999px;background:var(--gray-300);position:relative;transition:background 250ms var(--ease)}
.pb-switch i{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform 250ms var(--ease)}
.pb-switch.is-on{background:var(--success-fg)}
.pb-switch.is-on i{transform:translateX(16px)}
.pb-ab{display:flex;width:100%;gap:4px;margin-top:4px}
.pb-ab i{font-style:normal;flex:1;text-align:center;font-size:12px;font-weight:600;border-radius:6px;padding:3px 0;background:var(--orange-100);color:var(--ink)}
.pb-lib{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.pb-lib-tile{position:relative;display:block;border-radius:12px;overflow:hidden;box-shadow:0 10px 26px -14px rgba(35,38,42,.35);transition:transform .25s var(--ease)}
.pb-lib-tile:hover{transform:translateY(-3px)}
.pb-lib-name{position:absolute;left:10px;bottom:10px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.92);font-size:12px;font-weight:600;color:var(--ink)}
.pb-lib-more{text-align:center;margin:32px 0 0}
.pb-int{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;margin-top:8px}
.pb-shop{padding:28px;display:flex;flex-direction:column;gap:20px}
.pb-shop-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.pb-shop-head img{height:32px;width:auto}
.pb-shop-rate{font-size:14px;color:var(--ink-600)}.pb-shop-rate b{color:var(--ink)}
.pb-browser{border:1px solid var(--gray-200);border-radius:12px;overflow:hidden;background:var(--white);box-shadow:0 18px 40px -24px rgba(35,38,42,.4)}
.pb-browser-bar{display:flex;align-items:center;gap:6px;padding:9px 12px;background:var(--gray-100);border-bottom:1px solid var(--gray-200)}
.pb-browser-bar i{width:9px;height:9px;border-radius:50%;background:var(--gray-300)}
.pb-browser-bar span{margin-left:10px;flex:1;background:var(--white);border-radius:6px;padding:3px 10px;font-size:12px;color:var(--ink-500)}
.pb-browser-body .pb-shot{border-radius:0}
.pb-ticks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.pb-ticks li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:22px;color:var(--ink-600)}
.pb-ticks li b{color:var(--ink)}
.pb-ticks svg{flex:none;margin-top:3px;color:var(--success-fg)}
.pb-shop-cta{align-self:flex-start}
.pb-stack{background:var(--dark);border-radius:var(--r-card);padding:28px;display:flex;flex-direction:column;gap:16px;color:#fff}
.pb-stack-num{margin:0;font-size:18px;color:var(--gray-300)}
.pb-stack-num b{display:block;font-size:64px;line-height:68px;font-weight:600;color:#fff;letter-spacing:-.02em}
.pb-stack-lead{margin:0;font-size:16px;line-height:26px;color:var(--gray-300)}
.pb-logos{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.pb-logos li{background:#fff;border-radius:10px;height:64px;display:flex;align-items:center;justify-content:center;padding:0 12px;animation:pb-pop .5s var(--ease) both}
.pb-logos li:nth-child(4n+2){animation-delay:.08s}.pb-logos li:nth-child(4n+3){animation-delay:.16s}.pb-logos li:nth-child(4n){animation-delay:.24s}
.pb-logos img{max-width:100%;max-height:26px;width:auto;height:auto}
@keyframes pb-pop{from{opacity:0;transform:translateY(6px)}}
.pb-more-dark{color:#fff;margin-top:auto}.pb-more-dark:hover{color:var(--orange-hover)}
@media (max-width:1023px){.pb-int{grid-template-columns:minmax(0,1fr)}.pb-lib{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){.pb-lib{grid-template-columns:repeat(2,minmax(0,1fr))}.pb-ticks{grid-template-columns:minmax(0,1fr)}.pb-logos{grid-template-columns:repeat(3,minmax(0,1fr))}}
.pb-formats{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;margin-top:32px}
.pb-split{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.pb-split-top{align-items:flex-start}
.pb-split-copy{flex:1 1 460px;min-width:0}
.pb-split-side{flex:1 1 380px;min-width:0}
.pb-split-side .pb-h3{margin-bottom:10px}
.pb-quad{flex:1 1 420px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pb-trio{flex:1 1 420px;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pb-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.pb-narrow{max-width:820px}
.pb-table-wrap{overflow-x:auto;border:1px solid var(--gray-200);border-radius:var(--r-card);background:var(--white)}
.pb-table{border-collapse:collapse;width:100%;min-width:600px;font-size:15px}
.pb-table th,.pb-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--gray-200);color:var(--ink);vertical-align:top}
.pb-table thead th{font-weight:600;background:var(--gray-100)}
.pb-table tbody th{font-weight:500}
.pb-table tr:last-child th,.pb-table tr:last-child td{border-bottom:0}
.pb-ratings{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.pb-ratings li{padding:22px;display:flex;flex-direction:column;gap:4px}
.pb-ratings b{font-size:32px;line-height:40px;font-weight:600;color:var(--ink)}
.pb-ratings span{font-size:15px;color:var(--ink-600)}
.pb-price{background:var(--dark);padding:64px 0;margin-bottom:var(--section-gap)}
.pb-price-in{display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between}
.pb-price-in > div:first-child{flex:1 1 460px;min-width:0}
.pb-on-dark{color:#fff}
.pb-on-dark-sub{color:var(--gray-300);margin:10px 0 0}
.pb-price-btns{display:flex;gap:12px;flex-wrap:wrap}
.pb-qa{border-bottom:1px solid var(--gray-200)}
.pb-qa summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;cursor:pointer}
.pb-qa summary::-webkit-details-marker{display:none}
.pb-qa summary h3{font-size:18px;line-height:26px;font-weight:600;margin:0;color:var(--ink)}
.pb-plus{flex:0 0 20px;height:20px;position:relative}
.pb-plus::before,.pb-plus::after{content:"";position:absolute;left:3px;right:3px;top:9px;height:2px;background:var(--ink-600);border-radius:2px;transition:transform .2s var(--ease)}
.pb-plus::after{transform:rotate(90deg)}
.pb-qa[open] .pb-plus::after{transform:rotate(0)}
.pb-qa .pb-body{margin:0 0 20px;color:var(--ink-600)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:767px){
  .pb-hero{padding-top:32px}
  .pb-wall{height:440px;flex-basis:100%}
  .pb-wall-plane{--gap:12px;--col:150px;grid-template-columns:repeat(2,var(--col))}
  .pb-wall-col:nth-child(3){display:none}
  .pb-uc-grid{grid-template-columns:minmax(0,1fr)}
}

/* ---- hero art variants (review) ---- */
.pb-art{flex:1 1 440px;min-width:0;position:relative;height:600px}
.pb-m{display:block;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 24px 48px -20px rgba(16,24,40,.35),0 0 0 1px rgba(22,24,27,.06)}
.pb-m img{display:block;width:100%;height:auto}
.pb-tag{position:absolute;left:12px;bottom:12px;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.94);font-size:12px;font-weight:600;color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.12)}
/* A fan */
.pb-fan .pb-m{position:absolute;top:50%;left:50%;width:250px}
.pb-fan-c{transform:translate(-50%,-50%);z-index:3}
.pb-fan-l{transform:translate(-112%,-46%) rotate(-9deg) scale(.86);z-index:2}
.pb-fan-r{transform:translate(12%,-46%) rotate(9deg) scale(.86);z-index:2}
/* B bento */
.pb-bento{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);grid-template-rows:1fr 1fr;gap:16px;height:auto;align-self:center}
.pb-bento > div{position:relative}
.pb-bento-tall{grid-row:1 / 3}
.pb-bento-tall .pb-m{height:100%}
.pb-bento-tall .pb-m img{height:100%;object-fit:cover}
.pb-bento-wide a{display:block;border-radius:12px;overflow:hidden;box-shadow:0 24px 48px -20px rgba(16,24,40,.35)}
.pb-bento-wide .pb-shot{border-radius:0}
/* C stepped row */
.pb-steps4{display:flex;gap:14px;align-items:flex-start;height:auto;align-self:center}
.pb-steps4 .pb-m{flex:1 1 0;min-width:0}
.pb-steps4 .pb-m:nth-child(1){margin-top:90px}.pb-steps4 .pb-m:nth-child(2){margin-top:30px}.pb-steps4 .pb-m:nth-child(3){margin-top:0}.pb-steps4 .pb-m:nth-child(4){margin-top:60px}
/* D phone */
.pb-phone{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:270px;padding:12px;border-radius:44px;background:#1A1C1F;box-shadow:0 40px 80px -30px rgba(16,24,40,.55);z-index:3}
.pb-phone .pb-m{border-radius:32px;box-shadow:none}
.pb-float{position:absolute;width:300px;border-radius:12px;overflow:hidden;box-shadow:0 24px 48px -20px rgba(16,24,40,.35)}
.pb-float .pb-shot{border-radius:0}
.pb-float-1{left:0;top:40px;transform:rotate(-7deg)}
.pb-float-2{right:0;bottom:30px;transform:rotate(6deg)}
@media (max-width:767px){
  .pb-art{flex-basis:100%;height:440px}
  .pb-fan .pb-m{width:170px}
  .pb-bento,.pb-steps4{height:auto}
  .pb-steps4 .pb-m:nth-child(4){display:none}
  .pb-phone{width:200px}.pb-float{width:190px}
}

/* E stack */
.pb-stack-art{display:flex;align-items:center;justify-content:center;overflow:visible}
.pb-pile{position:relative;width:270px;aspect-ratio:1/2}
.pb-sc{position:absolute;inset:0;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 28px 56px -24px rgba(16,24,40,.45),0 0 0 1px rgba(22,24,27,.06);transform:rotate(var(--r));transition:transform .55s cubic-bezier(.3,.7,.2,1),box-shadow .3s}
.pb-sc img{display:block;width:100%;height:100%;object-fit:cover}
.pb-sc.is-out{transform:translateX(78%) rotate(14deg)}
.pb-pile-next{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:6px 6px 6px 16px;border-radius:999px;border:1px solid var(--gray-200);background:rgba(255,255,255,.92);box-shadow:var(--shadow);font:inherit;font-size:14px;color:var(--ink-600);cursor:pointer;z-index:20;white-space:nowrap}
.pb-pile-next b{color:var(--ink)}
.pb-pile-go{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--orange);color:#fff}
@media (max-width:767px){.pb-pile{width:200px}.pb-stack-art{height:520px}}
