/* Home page "Everything it does" (deploy 124, Edwin's mockup of Nov 8): tabs with a real phone screen per tab, "Meet Blue", and a closing band over the night pool.
   Scoped to .ht / .hb / .hc / .ht-dlg. Words and behaviour: /home-tabs.js. */
.ht,.hb,.hc{--hf:Archivo,system-ui,-apple-system,"Segoe UI",sans-serif;--hs:Newsreader,Georgia,serif;--cy:#14E4FA;--bl:#5EBBFE;--rb:#0066FF;color:#DFDEDF}
.ht *,.hb *,.hc *{box-sizing:border-box}
.ht h2,.ht h3,.ht p,.ht ul,.hb h2,.hb h3,.hb p,.hc h2{margin:0}
.ht-w,.hb-w,.hc-w{max-width:1240px;margin:0 auto;padding:0 24px}
/* intro */
.ht{border-top:1px solid #232325;padding:64px 0 40px;background:radial-gradient(1000px 420px at 50% 0,rgba(0,102,255,.14),transparent 70%)}
.ht-kick{font:700 12px/1 var(--hf);letter-spacing:.2em;color:var(--bl)}
.ht-h{font:800 clamp(32px,4.6vw,56px)/1.03 var(--hf);letter-spacing:-.035em;color:#fff;margin-top:12px!important;text-wrap:balance;max-width:900px}
.ht-lead{font:400 clamp(17px,1.6vw,19px)/1.55 var(--hs);color:#b9c6d6;margin-top:14px!important;max-width:760px;text-wrap:pretty}
/* tabs */
.ht-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:34px 0 22px;padding:2px}
.ht-tabs button{display:flex;align-items:center;gap:12px;min-height:76px;padding:12px 14px;border-radius:16px;border:1px solid rgba(94,187,254,.28);background:linear-gradient(180deg,rgba(14,32,60,.85),rgba(7,16,32,.9));color:#dbe8f6;font:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s,background .2s}
.ht-tabs button:hover{border-color:rgba(20,228,250,.6)}
.ht-tabs button[aria-selected=true]{border-color:#2f9bff;background:linear-gradient(135deg,#1f86ff,#0057e0);box-shadow:0 0 0 1px rgba(94,187,254,.55),0 10px 30px rgba(0,102,255,.45);color:#fff}
.ht-tabs button:focus-visible{outline:3px solid #14E4FA;outline-offset:2px}
.ht-tabs svg{flex:none;width:30px;height:30px;fill:none;stroke:var(--cy);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ht-tabs button[aria-selected=true] svg{stroke:#fff}
.ht-tabs b{display:block;font:700 16px/1.15 var(--hf);letter-spacing:-.01em}
.ht-tabs small{display:block;font:500 12.5px/1.3 var(--hf);color:#a9bccf;margin-top:3px}
.ht-tabs button[aria-selected=true] small{color:#dcebff}
/* panel */
.ht-p{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:center;padding:34px 40px;border-radius:24px;border:1px solid rgba(47,155,255,.55);
  background:linear-gradient(135deg,rgba(15,34,64,.92),rgba(6,14,28,.96));box-shadow:0 0 0 1px rgba(20,228,250,.08),0 0 60px -10px rgba(0,102,255,.45);animation:htin .3s ease}
.ht-p[hidden]{display:none}
@keyframes htin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ht-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 14px;border-radius:999px;border:1px solid rgba(94,187,254,.55);font:700 11.5px/1 var(--hf);letter-spacing:.14em;color:#dbe8f6}
.ht-p h3{font:800 clamp(28px,3.4vw,44px)/1.05 var(--hf);letter-spacing:-.03em;color:#fff;margin-top:16px!important;text-wrap:balance}
.ht-p .ht-tx{font:400 18px/1.55 var(--hs);color:#c9d6e6;margin-top:14px!important;max-width:620px;text-wrap:pretty}
.ht-ck{list-style:none;padding:0!important;margin-top:18px!important;display:grid;gap:10px}
.ht-ck li{position:relative;padding-left:34px;font:500 16px/1.4 var(--hf);color:#e6eef8}
.ht-ck li::before{content:"";position:absolute;left:0;top:-1px;width:23px;height:23px;border-radius:50%;background:#1f86ff;box-shadow:0 0 12px rgba(31,134,255,.55)}
.ht-ck li::after{content:"";position:absolute;left:8px;top:4px;width:6px;height:11px;border:solid #fff;border-width:0 2.4px 2.4px 0;transform:rotate(45deg)}
.ht-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.ht a.ht-go,.hb a.ht-go,.hc a.ht-go{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 24px;border-radius:14px;background:linear-gradient(135deg,#2f9bff,#0066FF);color:#fff;font:700 15.5px/1.15 var(--hf);text-decoration:none;box-shadow:0 8px 26px rgba(0,102,255,.45);transition:transform .15s,box-shadow .15s}
.ht a.ht-go:hover,.hb a.ht-go:hover,.hc a.ht-go:hover{color:#fff;transform:translateY(-1px);box-shadow:0 10px 32px rgba(0,140,255,.6)}
.ht-go i{font-style:normal}
.ht-vid,.hc a.ht-ol{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 20px;border-radius:14px;border:1px solid rgba(94,187,254,.55);background:rgba(255,255,255,.03);color:#fff;font:700 15px/1.15 var(--hf);cursor:pointer;text-decoration:none}
.ht-vid[hidden]{display:none}
.ht-vid:hover,.hc a.ht-ol:hover{border-color:#14E4FA;background:rgba(20,228,250,.1);color:#fff}
.ht-vid i{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#1f86ff;font-style:normal;font-size:11px;padding-left:2px}
.ht-dev{margin:0;display:flex;justify-content:center}
.ht-dev img{display:block;width:100%;max-width:280px;height:auto;aspect-ratio:603/1313;border-radius:36px;background:#000;box-shadow:0 0 0 2px #2e3747,0 0 0 9px #0d1626,0 0 0 10px #2e3747,0 0 50px rgba(0,102,255,.45),0 26px 50px rgba(0,0,0,.6)}
/* Meet Blue */
.hb{padding:30px 0 50px;overflow:hidden}
.hb-w{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:40px;align-items:center}
/* the mascot picture has a soft navy box around it (made for the hero's night sky): this navy matches it, so the box doesn't show */
.hb-img{position:relative;display:flex;justify-content:center;align-items:flex-end;isolation:isolate;overflow:hidden;border-radius:28px;padding:28px 16px 0;border:1px solid rgba(94,187,254,.28);
  background:#03305b;box-shadow:0 0 50px -12px rgba(0,102,255,.5)}
.hb-img::after{content:"";position:absolute;left:24%;right:24%;bottom:6px;height:6%;z-index:-1;border-radius:50%;background:radial-gradient(closest-side,rgba(0,229,255,.55),rgba(0,102,255,0));filter:blur(6px)}
.hb-img img{display:block;width:100%;max-width:340px;height:auto}
.hb h2{font:800 clamp(30px,4vw,50px)/1.05 var(--hf);letter-spacing:-.035em;color:#fff;text-wrap:balance}
.hb h2 [data-x=mb2]{color:var(--cy)}
.hb .hb-p{font:400 19px/1.55 var(--hs);color:#c9d6e6;margin-top:14px!important;max-width:620px}
.hb-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:28px 0 30px}
.hb-cols>div{padding:4px 20px;border-left:1px solid rgba(94,187,254,.25)}
.hb-cols>div:first-child{padding-left:0;border-left:0}
.hb-cols svg{display:block;width:34px;height:34px;fill:none;stroke:var(--cy);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin-bottom:10px}
.hb h3{font:700 17px/1.25 var(--hf);color:#fff}
.hb-cols p{font:400 15.5px/1.5 var(--hs);color:#a9bccf;margin-top:6px!important}
/* closing band */
.hc{position:relative;isolation:isolate;overflow:hidden;padding:110px 0;text-align:center}
.hc-bg{position:absolute;inset:0;z-index:-1}
.hc-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 60%;display:block}
.hc-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0B0A0A 0%,rgba(5,13,30,.55) 30%,rgba(5,13,30,.55) 70%,#0B0A0A 100%)}
.hc h2{font:800 clamp(30px,4.4vw,54px)/1.05 var(--hf);letter-spacing:-.035em;color:#fff;text-shadow:0 4px 30px rgba(0,0,0,.6);text-wrap:balance}
.hc-b{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:28px}
.hc a.ht-ol{background:rgba(5,13,30,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
/* video window */
.ht-dlg{padding:0;border:0;background:transparent;max-width:min(960px,94vw);width:100%}
.ht-dlg::backdrop{background:rgba(0,0,0,.8)}
.ht-dlg-in{position:relative;background:#000;border-radius:16px;overflow:hidden;box-shadow:0 0 0 1px #2e3747,0 30px 80px rgba(0,0,0,.7)}
.ht-fr{position:relative;aspect-ratio:16/9}.ht-fr iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ht-x{position:absolute;top:8px;right:8px;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff;font:700 18px/1 system-ui,sans-serif;cursor:pointer}
.ht-x:focus-visible{outline:3px solid #14E4FA}
/* narrower screens */
@media(max-width:1100px){.ht-tabs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-left:-24px;margin-right:-24px;padding:2px 24px 6px}.ht-tabs::-webkit-scrollbar{display:none}
  .ht-tabs button{flex:0 0 auto;min-width:220px;scroll-snap-align:start}}
@media(max-width:900px){.ht-p{grid-template-columns:minmax(0,1fr);padding:26px 22px}.ht-dev img{max-width:250px}.hb-w{grid-template-columns:minmax(0,1fr);text-align:left}.hb-img img{max-width:260px}}
@media(max-width:600px){.ht{padding:48px 0 30px}.ht-w,.hb-w,.hc-w{padding:0 16px}.ht-tabs{margin-left:-16px;margin-right:-16px;padding:2px 16px 6px}.ht-tabs button{min-width:200px;min-height:68px}
  .hb-cols{grid-template-columns:minmax(0,1fr);gap:18px}.hb-cols>div{padding:0 0 0 0;border-left:0}.ht-btns a,.ht-btns button,.hc-b a{width:100%}.hc{padding:80px 0}}
@media(prefers-reduced-motion:reduce){.ht-p{animation:none}.ht-tabs button,.ht a.ht-go,.hb a.ht-go,.hc a.ht-go{transition:none}}

/* deploy 129: small text links to the Pool help guides and the pages for pool companies, under the tab buttons and in Meet Blue */
.ht-more{margin:18px 0 0!important;font:700 15px/1.4 var(--hf)}
.ht-more a,.ht-pop a{color:var(--bl);text-decoration:none;display:inline-block;padding:5px 0}
.ht-more a:hover,.ht-pop a:hover{color:#fff;text-decoration:underline}
.ht-more i{font-style:normal}
.ht-pop{margin:2px 0 0!important;font:500 14.5px/1.5 var(--hf);color:#9fb6cf}
