/* BnBAura Amenity Playground: the public pages (entry, sign-up, code, privacy, terms) and the public
   additions to the Playground (trials counter, book a call, referral). The Playground's own tokens and type, so the
   pages and the app read as one product. Mobile first; one light world, as the Playground. */
:root{
  --ground:#FFFFFF; --rail:#FAFAF8; --chip:#F1EFEB; --chip-hover:#F4F2EE; --sunken:#FCFCFB;
  --ink:#16181A; --ink-2:#3A3F43; --muted:#6B7075;
  --line:#ECEAE5; --line-strong:#D6D3CD;
  --worth:#2f6b4f; --worth-soft:#e3efe7; --worth-deep:#24553e;
  --caution:#b4621b; --caution-soft:#f9ecdc;
  --house:#2b4f7e; --house-soft:#e5edf7;
  --r-sm:8px; --r-md:12px; --r-lg:16px;
}
*{box-sizing:border-box;}
[hidden]{display:none !important;}
html{-webkit-text-size-adjust:100%;}
body.pub{margin:0;background:var(--ground);color:var(--ink);font-family:'Geist',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column;}
.serif{font-family:'Newsreader','Iowan Old Style',Georgia,serif;}
.mono{font-family:'Geist Mono',ui-monospace,'SF Mono',Menlo,monospace;font-variant-numeric:tabular-nums;}
a{color:var(--house);}
button,input{font:inherit;}
:focus-visible{outline:2px solid var(--house);outline-offset:2px;}

.pw{width:100%;max-width:1080px;margin:0 auto;padding:0 16px;}
.top{padding:16px 0;border-bottom:1px solid var(--line);}
.top .pw{display:flex;align-items:center;gap:12px;}
.mark{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;}
.mark svg{width:28px;height:28px;flex:none;}
.mark .nm{display:flex;flex-direction:column;line-height:1.1;}
.mark .nm b{font-family:'Newsreader',Georgia,serif;font-size:19px;font-weight:500;}
.mark .nm span{font-size:11.5px;color:var(--muted);}
.top .right{margin-left:auto;display:flex;gap:8px;align-items:center;}
.link{color:var(--ink-2);text-decoration:none;font-size:14px;font-weight:500;padding:8px 10px;border-radius:var(--r-sm);white-space:nowrap;}
.link:hover{background:var(--chip-hover);}

.btn{appearance:none;border:1px solid var(--line-strong);background:var(--ground);color:var(--ink);font-size:15px;font-weight:500;
  padding:0 20px;min-height:48px;border-radius:var(--r-md);display:inline-flex;align-items:center;justify-content:center;gap:8px;
  white-space:nowrap;text-decoration:none;cursor:pointer;}
.btn:hover{background:var(--chip-hover);}
.btn.go{background:var(--worth);border-color:var(--worth);color:#FFF;}
.btn.go:hover{background:var(--worth-deep);}
.btn.dark{background:var(--ink);border-color:var(--ink);color:var(--ground);}
.btn.dark:hover{background:#2C3034;}
.btn:disabled{opacity:.55;cursor:not-allowed;}
.btn.block{width:100%;}

main.pub-main{flex:1;}
.foot{border-top:1px solid var(--line);padding:20px 0 28px;font-size:13px;color:var(--muted);}
.foot .pw{display:flex;gap:14px;flex-wrap:wrap;}
.foot a{color:var(--muted);}

/* ---------- entry ---------- */
.audsw{display:inline-flex;gap:2px;margin:20px 0 0;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--rail);}
.audsw .aopt{font-size:13px;font-weight:500;color:var(--ink-2);text-decoration:none;padding:7px 14px;border-radius:999px;}
.audsw .aopt:hover{background:var(--chip-hover);}
.audsw .aopt[aria-current="page"]{background:var(--ink);color:#FFF;}
.hero{padding:16px 0 28px;display:grid;gap:28px;}
.eyebrow{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--worth-deep);
  background:var(--worth-soft);padding:5px 11px;border-radius:999px;}
.hero h1{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:clamp(36px,8.5vw,60px);line-height:1.04;letter-spacing:-.02em;margin:14px 0 14px;max-width:14ch;}
.hero .sub{font-size:clamp(17px,2.6vw,20px);color:var(--ink-2);margin:0 0 22px;max-width:30em;}
.ctas{display:flex;gap:10px;flex-wrap:wrap;}
.micro{font-size:13px;color:var(--muted);margin:12px 0 0;}

.sample{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;display:flex;flex-direction:column;color:inherit;text-decoration:none;background:var(--ground);}
.sample:hover{border-color:var(--line-strong);}
.sample .ph{aspect-ratio:3/2;background:var(--chip);position:relative;overflow:hidden;}
.sample .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.sample .ph .tag{position:absolute;left:12px;top:12px;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;background:var(--ground);color:var(--ink);}
.sample .cap{padding:14px 16px 16px;display:flex;flex-direction:column;gap:12px;}
.sample .cap b{font-size:15px;font-weight:600;}
.sample .cap .meta{font-size:13px;color:var(--muted);}
.figs{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:10px;}
.figs .k{display:block;font-size:12px;font-weight:600;color:var(--muted);}
.figs .v{display:block;font-family:'Newsreader',Georgia,serif;font-size:34px;line-height:1.05;font-variant-numeric:tabular-nums;}
.figs .v.w{color:var(--worth);}
.figs .arr{color:var(--muted);padding-bottom:6px;}
.hero .sub .any{color:var(--worth);font-weight:700;}
.sample .ba img{pointer-events:none;user-select:none;}
.sample .ba .after{clip-path:inset(0 0 0 var(--cut,50%));}   /* today on the left, the upgrade on the right */
.sample .ba .bar{position:absolute;top:0;bottom:0;left:var(--cut,50%);width:2px;background:#FFF;box-shadow:0 0 0 1px rgba(0,0,0,.25);pointer-events:none;}
.sample .ba .bar::after{content:"\2194";position:absolute;top:50%;left:50%;width:34px;height:34px;margin:-17px;border-radius:999px;background:#FFF;box-shadow:0 1px 4px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--ink);}
.sample .ba input[type=range]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;margin:0;touch-action:pan-y;}
.sample .ba .lbl{position:absolute;top:12px;font-size:12px;font-weight:600;color:#FFF;background:rgba(22,24,26,.72);padding:4px 10px;border-radius:999px;pointer-events:none;}
.sample .ba .lbl.l{left:12px;}.sample .ba .lbl.r{right:12px;background:var(--worth);}
.sample .go{text-decoration:none;font-size:14px;font-weight:600;color:var(--house);}

.how{padding:24px 0 56px;border-top:1px solid var(--line);}
.how h2{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:28px;letter-spacing:-.01em;margin:24px 0 20px;}
.how ol{list-style:none;margin:0;padding:0;display:grid;gap:22px;}
.how li{display:flex;flex-direction:column;gap:4px;}
.how .n{font-family:'Geist Mono',monospace;font-size:13px;color:var(--worth);margin-bottom:4px;}
.how b{font-size:16px;font-weight:600;}
.how li>span:last-child{font-size:14px;color:var(--muted);line-height:1.45;}

/* ---------- forms: sign-up and the code ---------- */
.card-wrap{padding-top:32px;padding-bottom:56px;display:flex;justify-content:center;}
.card{width:100%;max-width:440px;display:flex;flex-direction:column;gap:18px;}
.card h1{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:clamp(30px,7vw,40px);line-height:1.1;margin:0;}
.card .lead{margin:-6px 0 0;color:var(--ink-2);font-size:16px;}
.field{display:flex;flex-direction:column;gap:6px;}
.field label{font-size:13px;font-weight:600;}
.field input{font-size:16px;padding:13px 14px;border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--ground);color:var(--ink);width:100%;}
.field input:focus{outline:none;border-color:var(--house);box-shadow:0 0 0 3px var(--house-soft);}
.tick{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start;font-size:14px;color:var(--ink-2);padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--rail);cursor:pointer;}
.tick input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--worth);}
.fine{font-size:13px;color:var(--muted);margin:0;}
.errline{font-size:14px;color:var(--caution);background:var(--caution-soft);padding:10px 12px;border-radius:var(--r-md);margin:0;}
.errline:empty{display:none;}
.okline{font-size:14px;color:var(--worth-deep);background:var(--worth-soft);padding:10px 12px;border-radius:var(--r-md);margin:0;}
.okline:empty{display:none;}
.switch{font-size:14px;color:var(--muted);text-align:center;}
.switch button{appearance:none;border:0;background:none;color:var(--house);font-weight:500;padding:4px;cursor:pointer;text-decoration:underline;}
.code input{font-family:'Geist Mono',ui-monospace,monospace;font-size:34px;letter-spacing:.42em;text-align:center;padding:14px 8px 14px calc(8px + .42em);}

/* ---------- privacy and terms ---------- */
.doc{padding:32px 0 56px;max-width:680px;}
.doc h1{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:clamp(30px,7vw,40px);margin:0 0 6px;}
.doc .date{font-size:13px;color:var(--muted);margin:0 0 24px;}
.doc h2{font-size:17px;font-weight:600;margin:26px 0 8px;}
.doc p,.doc li{font-size:15.5px;color:var(--ink-2);}
.doc ul{padding-left:20px;margin:0;}
.doc table{width:100%;border-collapse:collapse;font-size:14.5px;margin:6px 0;}
.doc td,.doc th{text-align:left;padding:9px 10px 9px 0;border-bottom:1px solid var(--line);vertical-align:top;}
.doc th{font-size:12.5px;color:var(--muted);font-weight:600;}

/* ---------- inside the Playground (app.html): the report button, the sample's banner, sign-in strip ---------- */
.who{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);min-width:0;}
.who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.who button{margin-left:auto;appearance:none;border:0;background:none;color:var(--muted);font-size:12.5px;text-decoration:underline;cursor:pointer;padding:2px;}
.samplebar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--house-soft);background:var(--house-soft);border-radius:var(--r-md);font-size:14px;color:var(--house);}
.samplebar b{font-weight:600;}
.samplebar .btn{margin-left:auto;min-height:40px;font-size:14px;}

@media (min-width:860px){
  .hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;padding:64px 0 40px;gap:48px;}
  .how ol{grid-template-columns:repeat(2,1fr);gap:28px;}
}
@media (min-width:1100px){
  .how ol{grid-template-columns:repeat(5,1fr);gap:24px;}
  .card-wrap{padding-top:56px;padding-bottom:80px;}
}
@media (max-width:480px){
  .ctas .btn{width:100%;}
  .mark .nm span{display:none;}
  .mark .nm b{font-size:17px;}
  .top .right{gap:2px;}
  .top .right .btn{min-height:40px;padding:0 14px;font-size:14px;}
}
@media (prefers-reduced-motion: reduce){*{animation:none !important;transition:none !important;}}

/* ---------- How it works, illustrated (B, 2026-10-21): one tinted tile per step, the site's own colours ---------- */
.how .art{aspect-ratio:8/5;border-radius:var(--r-lg);margin-bottom:12px;overflow:hidden;display:flex}
.how .art svg{width:100%;height:100%;display:block}
.how .a1{background:var(--worth-soft)} .how .a2{background:var(--house-soft)} .how .a3{background:var(--caution-soft)} .how .a4{background:var(--chip)} .how .a5{background:var(--worth-soft)}
.how li{transition:transform .25s cubic-bezier(.22,1,.36,1)}
.how li:hover{transform:translateY(-3px)}
.how .scan{animation:howscan 3.2s cubic-bezier(.65,0,.35,1) infinite}
.how .cursor{animation:howblink 1.1s steps(1) infinite}
.how .typing circle{animation:howtype 1.2s ease-in-out infinite}.how .typing circle:nth-child(2){animation-delay:.15s}.how .typing circle:nth-child(3){animation-delay:.3s}
@keyframes howtype{0%,60%,100%{opacity:.35}30%{opacity:1}}
.how .dot{transform-box:fill-box;transform-origin:center;animation:howslide 3.6s cubic-bezier(.22,1,.36,1) infinite}
@keyframes howscan{0%{transform:translateY(0)}50%{transform:translateY(104px)}100%{transform:translateY(0)}}
@keyframes howblink{50%{opacity:0}}
@keyframes howslide{0%,15%{transform:translateX(-40px)}55%,100%{transform:translateX(0)}}
.how-cta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:28px}
.how-cta .micro{margin:0}
@media (prefers-reduced-motion:reduce){.how .scan,.how .cursor,.how .dot,.how .typing circle{animation:none}.how li:hover{transform:none}}
