/* The app page for logged-out visitors (src/render/app_open.js): open top, then one sign-in wall.
   Loaded only on that page, after app.css; uses its tokens (--bg, --surf, --ink, --acc ...). */
.op{max-width:1120px;padding-top:26px}
.op-sec{margin-top:52px}
.op-sh{max-width:64ch;margin-bottom:18px}
.op-sh h2{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.012em;font-weight:600}
.op-sh p{margin:8px 0 0;font-size:15px;line-height:1.5;color:var(--tx2)}

/* head: who it is, the question, the answer; on wide screens the ads stand next to it */
.op-head.has-fan{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:48px;align-items:center}
.op-fan{display:none}
@media (min-width:1000px){
  .op-fan{display:block;position:relative;height:440px;text-decoration:none!important}
  .op-fan-p{position:absolute;top:50%;left:50%;width:204px;height:363px;margin:-181px 0 0 -102px;border-radius:24px;overflow:hidden;background:var(--sub);border:1px solid #333A42;box-shadow:0 0 0 5px #0A0C0E,0 0 0 6px #2A3037,0 30px 60px rgba(0,0,0,.55)}
  .op-fan-p img{display:block;width:100%;height:100%;object-fit:cover}
  .op-fan-p.p0{transform:translate(-112px,14px) rotate(-7deg) scale(.86);filter:brightness(.72)}
  .op-fan-p.p2{transform:translate(112px,14px) rotate(7deg) scale(.86);filter:brightness(.72)}
  .op-fan-p.p1{z-index:2}
  .op-fan-pill{position:absolute;z-index:3;left:50%;bottom:10px;transform:translateX(-50%);height:34px;padding:0 14px;display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:var(--ink);color:#0C0E10;font-size:13.5px;font-weight:600;white-space:nowrap;box-shadow:0 10px 24px rgba(0,0,0,.5)}
  .op-fan-pill i{width:8px;height:8px;border-radius:50%;background:var(--cta)}
  .op-fan:hover .op-fan-p.p1{transform:translateY(-4px)}
  .op-fan-p{transition:transform .25s ease}
}
@media (max-width:999px){.op-head.has-fan{display:block}}
.op-id{display:flex;align-items:center;gap:12px}
.op-id .app-ic{width:44px;height:44px;border-radius:11px}
.op-app{font-size:14px;color:var(--tx2);margin-top:2px}
.op-h1{margin:22px 0 0;font-size:44px;line-height:1.08;letter-spacing:-.025em;font-weight:600;max-width:18ch}
.op-ans{margin:18px 0 0;max-width:62ch;font-size:19px;line-height:1.56;color:var(--ink)}
.op-upd{margin:10px 0 0;font-size:13px;color:var(--mut)}
.op .gone-line{margin:16px 0 0;max-width:62ch}
.op-mix{margin-top:26px;max-width:720px}
.op-main{font-size:14px;color:var(--tx2)}
.op-main b{color:var(--ink);font-weight:600}
.op-mix .mx-bar{height:12px;border-radius:6px;margin-top:10px}
.op-mix .mx-leg{font-size:13px;gap:6px 16px;margin-top:10px}
.op-mix .mx-note{margin-top:8px;font-size:12.5px;color:var(--mut)}

/* the ads: a phone on a dark stage, the run under it, why it works, what it says, the copy button */
.op-adrow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.op-adrow.n1{grid-template-columns:minmax(0,420px)}
.op-adrow.n2{grid-template-columns:repeat(2,minmax(0,420px))}
.op-ad{display:flex;flex-direction:column;min-width:0;background:var(--surf);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.op-ph{position:relative;display:flex;justify-content:center;padding:26px 0 24px;background:radial-gradient(120% 90% at 50% 0%,#1B2024 0%,#0E1113 70%)}
.op-ph img,.op-noimg{display:block;width:204px;height:363px;object-fit:cover;border-radius:22px;border:1px solid #333A42;background:var(--sub);box-shadow:0 0 0 5px #0A0C0E,0 0 0 6px #2A3037,0 24px 44px rgba(0,0,0,.5)}
.op-noimg{display:flex;align-items:center;justify-content:center;padding:18px;text-align:center;font-size:15px;line-height:1.4;color:var(--tx2)}
.op-kind{position:absolute;left:14px;top:14px;height:26px;padding:0 10px;display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:rgba(12,14,16,.72);border:1px solid var(--line2);font-size:12.5px;color:var(--tx2);backdrop-filter:blur(6px)}
.op-kind i{width:8px;height:8px;border-radius:2px;flex:none}
.op-adb{display:flex;flex-direction:column;flex:1;padding:18px 18px 16px}
.op-run{font-size:14px;color:var(--tx2)}
.op-run b{font-size:20px;line-height:1.1;font-weight:600;color:var(--ink);letter-spacing:-.01em;margin-right:2px}
.op-bar{margin-top:9px;height:4px;border-radius:2px;background:var(--sub);overflow:hidden}
.op-bar span{display:block;height:100%;border-radius:2px;background:var(--acc)}
.op-why{margin:16px 0 0;font-size:16px;line-height:1.45;font-weight:500;color:var(--ink)}
.op-dl{margin:14px 0 18px;padding:0;display:flex;flex-direction:column;gap:9px;flex:1}
.op-row{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;font-size:13.5px;line-height:1.45}
.op-row dt{color:var(--mut)}
.op-row dd{margin:0;color:var(--tx2);overflow-wrap:anywhere}
.op .btn.op-copy{height:48px;border-radius:11px;font-size:15px;margin-top:auto}
.op-lib{margin-top:12px;align-self:center;display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--mut)}
.op-lib:hover{color:var(--tx2)}

/* path, channels, numbers, facts, questions */
.op-path .gp-l{max-width:760px;gap:14px}
.op-path .gp-l li{font-size:14.5px;line-height:1.5;grid-template-columns:120px minmax(0,1fr)}
.op-path .gp-l li b{color:var(--ink)}
.op .faq-app{margin:52px 0 0;max-width:70ch}
.op .faq-app h2{font-size:24px;letter-spacing:-.012em;margin-bottom:14px}
.op .faq-app h3{font-size:16.5px;margin:20px 0 5px}
.op .faq-app p{font-size:15px}

/* the wall: more of the app's ads fade out, then one ask */
.op-wall{margin:64px 0 40px}
.op-fade{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;height:230px;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.55) 45%,transparent 96%);mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.55) 45%,transparent 96%)}
.op-fade span{display:block;border-radius:14px 14px 0 0;overflow:hidden;background:var(--sub);border:1px solid var(--line);border-bottom:0}
.op-fade img{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:cover}
.op-wallc{position:relative;margin-top:-96px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;padding:34px 36px;background:var(--surf);border:1px solid var(--line2);border-radius:22px;box-shadow:0 -1px 0 0 var(--acc) inset,0 30px 60px rgba(0,0,0,.45)}
.op-wall:not(:has(.op-fade)) .op-wallc{margin-top:0}
.op-wallt h2{margin:0;font-size:30px;line-height:1.15;letter-spacing:-.02em;font-weight:600;max-width:17ch}
.op-pts{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.op-pts li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.45;color:var(--tx2)}
.op-pts .ic{flex:none;margin-top:3px}
.op-free{margin:22px 0 0;font-size:14px;color:var(--mut)}
.op-walla .authp-oauth .btn{height:48px;border-radius:11px;font-size:15px}
.op-walla .authp-row .btn{height:44px}

@media (max-width:900px){
  .op-wallc{grid-template-columns:minmax(0,1fr);gap:26px;padding:26px 22px}
  .op-fade{grid-template-columns:repeat(4,minmax(0,1fr))}
  .op-fade span:nth-child(n+5){display:none}
}
@media (max-width:760px){
  .op{padding-top:18px}
  .op-sec{margin-top:40px}
  .op-h1{font-size:32px;margin-top:18px}
  .op-ans{font-size:17px;line-height:1.55}
  .op-sh h2,.op .faq-app h2{font-size:21px}
  /* the ads swipe sideways; the next one peeks in from the right */
  .op-adrow,.op-adrow.n2{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin:0 calc(var(--gut) * -1);padding:0 var(--gut) 6px;scroll-padding:0 var(--gut);scrollbar-width:none}
  .op-adrow::-webkit-scrollbar{display:none}
  .op-adrow .op-ad{flex:0 0 84%;scroll-snap-align:start}
  .op-adrow.n1{display:block}
  .op-ph{padding:20px 0 18px}
  .op-ph img,.op-noimg{width:186px;height:331px}
  .op-path .gp-l li{grid-template-columns:minmax(0,1fr);gap:2px}
  .op-fade{grid-template-columns:repeat(3,minmax(0,1fr));height:190px;gap:8px}
  .op-fade span:nth-child(n+4){display:none}
  .op-wall{margin-top:48px}
  .op-wallc{margin-top:-84px;padding:24px 18px;border-radius:18px}
  .op-wallt h2{font-size:24px}
  /* the bottom bar leaves once the wall is on screen, so there is one ask at a time */
  body.op-at-wall .cta-bar{display:none}
  .op-cta .btn{flex:none;height:42px;padding:0 18px;border-radius:10px;font-size:14px}
  body:has(.op) .fbk-float{display:none}
}
@media (prefers-reduced-motion:no-preference){
  .op-adrow{scroll-behavior:smooth}
}

/* the open top's moves, and the blur with the ask on top (Tom 2026-11-12) */
.op-mvl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.op-mv{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;background:var(--surf);border:1px solid var(--line);border-radius:16px;padding:18px}
.op-mvn{width:32px;height:32px;border-radius:50%;background:var(--cta);color:#06120E;display:grid;place-items:center;font-weight:700;font-size:15px}
.op-mv h3{margin:3px 0 6px;font-size:17px;line-height:1.3}.op-mv p{margin:0;font-size:14.5px;line-height:1.55;color:var(--tx2)}.op-mv em{display:block;font-style:normal;font-size:12px;color:var(--mut);margin-top:8px}
.op-veil{position:relative;margin-top:8px}
.op-veil-in{max-height:1500px;overflow:hidden;filter:blur(2px);pointer-events:none;user-select:none;-webkit-mask-image:linear-gradient(#000 0,#000 55%,transparent 100%);mask-image:linear-gradient(#000 0,#000 55%,transparent 100%)}
.op-veil-ask{position:absolute;inset:0;pointer-events:none}
.op-ask{pointer-events:auto;position:sticky;top:22vh;width:min(600px,calc(100% - 24px));margin:140px auto 0;background:var(--surf);border:1px solid var(--cta);border-radius:20px;padding:26px 28px 22px;box-shadow:0 24px 80px rgba(0,0,0,.6);text-align:center}
.op-askk{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--acc)}
.op-ask h2{margin:8px 0 8px;font-size:28px;line-height:1.15;letter-spacing:-.015em}.op-ask>p{margin:0 auto 16px;color:var(--tx2);font-size:15px;line-height:1.5;max-width:480px}
.op-askf{margin:0 auto;max-width:480px;position:relative;text-align:left}.op-askalt{margin:14px 0 0!important;font-size:13px!important;color:var(--mut)!important}
@media (max-width:900px){.op-mvl{grid-template-columns:minmax(0,1fr)}.op-ask{padding:20px 16px 18px;margin-top:90px;top:14vh}.op-ask h2{font-size:22px}.op-veil-in{max-height:1300px}}
@media (prefers-reduced-motion:reduce){.op-veil-in{filter:blur(4px)!important}}
