/* site2.css: parts for the apps hub, app pages, themes page and the new home strips. Loaded after style.css; only new classes,
   plus .sr and .h3, which the live markup already uses but style.css never defined. Mobile first. */
:root{--am:#ffc857;--panel:#0b0d1c}
.sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.h3{font-size:clamp(19px,2.1vw,22px);line-height:1.3;letter-spacing:-.01em;margin:12px 0 6px}
.card:focus-visible,.gal a:focus-visible,.styles a:focus-visible,.vids a:focus-visible,.jump a:focus-visible{outline:2px solid var(--cy);outline-offset:3px}
.styles a:focus-visible{outline-offset:-4px} /* inside the box: the figure's overflow:hidden clips an outside ring to a thin line */
@media (scripting:none){.reveal{opacity:1;transform:none}} /* without JS nothing adds .in, so every .reveal block stayed invisible */
[id]{scroll-margin-top:84px}
main h2{line-height:1.2}

/* Breadcrumb */
.crumbs{max-width:1100px;margin:0 auto;padding-top:26px;font-size:14px;color:var(--mu)}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;row-gap:4px}
.crumbs li{display:flex;align-items:center}
.crumbs li+li::before{content:"/";margin:0 10px;color:var(--mu)}
.crumbs a{color:var(--mu);text-decoration:none}.crumbs a:hover{color:var(--cy);text-decoration:underline}
.crumbs [aria-current]{color:var(--tx)}
.crumbs+.hero{padding-top:clamp(28px,6vw,64px)}

/* Status badge ("submitted / in review"). .lg sits in a button row at button height but is not a button. */
.stat{margin:22px 0 0}.stat.center{text-align:center}
.status{display:inline-flex;align-items:center;gap:10px;padding:7px 14px;border-radius:99px;border:1px solid rgba(255,200,87,.4);background:rgba(255,200,87,.08);color:var(--tx);font-size:14px;font-weight:500;line-height:1.35;text-align:left}
.status .dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--am);animation:pulse 2.4s ease-out infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,200,87,.55)}70%,100%{box-shadow:0 0 0 8px rgba(255,200,87,0)}}
.status.lg{padding:13px 20px;border-radius:12px;font-size:15px;line-height:1.7}

/* Feature picture under an app hero */
.hshot{max-width:1100px;margin:6px auto 0;border-radius:20px;overflow:hidden;border:1px solid var(--bd);background:var(--panel);box-shadow:0 30px 80px -24px rgba(167,107,255,.4)}
.hshot img{display:block;width:100%;height:auto}

/* App page sections */
.sec.mid{max-width:1000px;padding-top:clamp(56px,8vw,80px)}
.prose{max-width:760px;margin:0 auto}.prose p{color:var(--mu);font-size:clamp(16px,1.7vw,18px);margin:0 0 16px}.prose p:last-child{margin:0}
.seeall{text-align:center;margin:28px 0 0}
.duo{display:grid;gap:16px}
@media (min-width:760px){.duo{grid-template-columns:1fr 1fr}}
.duo .h3{margin-top:0}

/* Numbered how-it-works steps */
.steps{list-style:none;counter-reset:s;margin:24px 0 0;padding:0;display:grid;gap:14px}
.steps li{counter-increment:s;padding:22px 22px 24px}
.steps li::before{content:counter(s);display:grid;place-items:center;width:40px;height:40px;margin-bottom:14px;border-radius:12px;background:var(--g);color:#05060f;font-weight:700;font-size:18px}
.steps h3{margin:0 0 6px;font-size:18px;line-height:1.3}.steps p{margin:0;color:var(--mu)}
@media (min-width:800px){.steps{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Screenshot gallery: links open the 1200 px picture, no JS */
.gal{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:14px}
.gal a{display:block;border-radius:14px;overflow:hidden;border:1px solid var(--bd);background:var(--panel);transition:border-color .3s,transform .3s}
.gal a:hover{border-color:rgba(34,228,255,.5);transform:translateY(-2px)}
.gal img{display:block;width:100%;height:auto}
@media (min-width:700px){.gal{grid-template-columns:repeat(2,minmax(0,1fr))}.gal.n1{grid-template-columns:1fr}}
@media (min-width:1000px){.gal.n3{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* FAQ list with <details> */
.qa{display:grid;gap:12px;margin-top:24px}
.qa details{padding:0;border-radius:16px;transition:border-color .3s}
.qa details[open]{border-color:rgba(34,228,255,.35)}
.qa summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-radius:16px;font-weight:700;line-height:1.4;cursor:pointer}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"";flex:none;width:9px;height:9px;margin-right:4px;border-right:2px solid var(--cy);border-bottom:2px solid var(--cy);transform:translateY(-3px) rotate(45deg);transition:transform .25s}
.qa details[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.qa summary:hover{color:var(--cy)}
.qa details p{margin:0;padding:0 22px 20px;color:var(--mu)}

/* App card with screenshot (home grid, apps hub, inside .cards). Phones: picture left, text right. */
.acard{padding:0}
.acard .shot{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--panel);border-bottom:1px solid var(--bd)}
.acard .shot img{display:block;width:100%;height:100%;object-fit:cover}
.acard .body{position:relative;display:flex;flex-direction:column;flex:1;padding:18px 22px 22px}
.acard .ttl{display:flex;align-items:center;gap:12px;margin:0 0 8px}
.acard h3{margin:0;font-size:18px;line-height:1.3}
.icw.sm{flex:none;width:38px;height:38px;border-radius:11px}
@media (max-width:559px){
 .acard{flex-direction:row;align-items:flex-start;gap:14px;padding:14px}
 .acard .shot{flex:none;width:38%;border:1px solid var(--bd);border-radius:10px}
 .acard .body{padding:0}.acard .icw{display:none}.acard h3{font-size:16px}.acard p{font-size:14px;line-height:1.5;margin-bottom:8px}
}
@media (min-width:560px){#apps .cards,.group .cards{grid-template-columns:repeat(auto-fit,minmax(260px,285px));justify-content:center}}
.rel{display:grid;gap:16px;margin-top:24px;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}

/* Apps hub: group jump links and group sections */
.jump{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:28px 0 0;padding:0}
.jump a{display:inline-block;padding:8px 14px;border-radius:99px;border:1px solid var(--bd);background:var(--gl);color:var(--tx);font-size:14px;font-weight:500;text-decoration:none;transition:border-color .3s,color .3s}
.jump a:hover{border-color:rgba(34,228,255,.5);color:var(--cy)}
.sec.group{padding-top:clamp(56px,8vw,80px)}
.ghead{max-width:760px;margin:0 auto 26px;text-align:center}.ghead p{margin:0;color:var(--mu)}

/* Theme card with screenshot and style chips (home strip) */
.tgrid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
.tcard{padding:0}
.tcard .shot{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--panel);border-bottom:1px solid var(--bd)}
.tcard .shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.tcard .body{display:flex;flex-direction:column;flex:1;padding:22px 24px 24px}
.tcard h3{margin:0 0 6px;font-size:22px}.tcard p{flex:0;margin:0}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px;padding:0}
.chips li{padding:4px 12px;border-radius:99px;border:1px solid var(--bd);background:rgba(255,255,255,.04);color:var(--tx);font-size:13px;font-weight:500}

/* Themes page: one section per theme, styles gallery (swipe row on phones, grid from 760 px) */
.thead{max-width:760px;margin:0 auto 30px;text-align:center}.thead .sub{margin:0}.thead .ctas{margin-top:24px;align-items:center}
.styles{list-style:none;margin:0 -6px;padding:6px 6px 14px;display:grid;grid-auto-flow:column;grid-auto-columns:80%;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:6px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:rgba(34,228,255,.4) transparent}
.styles>li{scroll-snap-align:start}
.styles figure{margin:0;height:100%;display:flex;flex-direction:column;overflow:hidden}
.styles a{display:block;aspect-ratio:4/5;overflow:hidden;background:var(--panel);border-bottom:1px solid var(--bd)}
.styles img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .5s}
.styles a:hover img{transform:scale(1.03)}
.styles figcaption{padding:16px 18px 20px}.styles h4{margin:0 0 4px;font-size:18px}.styles figcaption p{margin:0;color:var(--mu);font-size:15px}
@media (min-width:760px){.styles{grid-auto-flow:row;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));overflow:visible;margin:0;padding:0}}
.vps.hl{margin-top:18px}

/* Video link card (YouTube link out; CSP forbids embeds) */
.vcard{padding:0;display:grid}
.vcard .thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:var(--panel)}
.vcard .thumb img{display:block;width:100%;height:100%;object-fit:cover}
.vcard .play{display:grid;margin-bottom:16px;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--g);color:#05060f;box-shadow:0 0 0 6px rgba(5,6,15,.55),0 8px 30px rgba(34,228,255,.45)}
.vcard .vbody{padding:22px 24px 24px}.vcard .h3{margin:4px 0 6px}.vcard p{margin:0}
.vcard .src{display:block;color:var(--cy);font-size:13px;font-weight:500;letter-spacing:.08em;text-transform:uppercase}
@media (min-width:760px){.vcard{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center}.vcard .thumb{border-right:1px solid var(--bd)}}

/* Home videos strip: swipe row on phones, grid from 700 px */
.vids{list-style:none;margin:0 -6px;padding:6px 6px 14px;display:grid;grid-auto-flow:column;grid-auto-columns:72%;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:6px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:rgba(34,228,255,.4) transparent}
.vids li{scroll-snap-align:start}
.vids a{display:flex;align-items:center;gap:14px;height:100%;padding:14px 16px;border-radius:14px;background:var(--gl);border:1px solid var(--bd);color:var(--tx);font-weight:500;line-height:1.3;text-decoration:none;transition:border-color .3s,background-color .3s}
.vids a:hover{border-color:rgba(34,228,255,.5);background:rgba(34,228,255,.06)}
.vids .pi{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--g);color:#05060f}
.vids small{display:block;margin-top:2px;color:var(--mu);font-size:13px;font-weight:400}
@media (min-width:700px){.vids{grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));overflow:visible;margin:0;padding:0}}

/* Home trust strip (reuses .vps/.vp) */
.trust .vp{display:flex;gap:16px;align-items:flex-start}.trust .vp .ic{flex:none;margin-top:2px}.trust .vp h3{margin:0 0 6px}

@media (prefers-reduced-motion:reduce){*::after{transition:none!important}.status .dot{animation:none}.gal a:hover,.styles a:hover img{transform:none}}

/* Phones: style.css hides the header links under 600px, which left /apps/ and /themes/ unreachable from the header. Show them as a second row that scrolls sideways if needed. */
@media (max-width:600px){.nav{flex-wrap:wrap;row-gap:4px}.nav nav{order:3;width:100%;gap:20px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.nav nav::-webkit-scrollbar{display:none}.nav nav a:not(.btn){display:inline-block;white-space:nowrap;padding:10px 0}.nav nav .btn.sm{position:absolute;top:12px;right:clamp(16px,5vw,64px)}}
.crumbs+.sec.doc{padding-top:32px}
.doc h2 a{color:var(--tx);text-decoration:none;transition:color .2s}.doc h2 a:hover{color:var(--cy);text-decoration:underline}
