/* Reset, typography and layout helpers shared by every page. */

body{margin:0}
img{max-width:100%}
[hidden]{display:none!important}


*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:60;background:var(--night)}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
a{color:var(--accent)}
h1,h2,h3,h4{margin:0;line-height:1.35;text-wrap:balance;font-family:var(--f-head)}
p{margin:0}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
.num{font-variant-numeric:tabular-nums}
.wrap{max-width:1200px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.muted{color:var(--muted)}
.eyebrow{font-size:14px;font-weight:700;color:var(--hl);letter-spacing:.03em;display:inline-flex;align-items:center;gap:8px}
.eyebrow::before{content:"";width:18px;height:2px;background:currentColor;border-radius:2px}
.h2{font-weight:700;font-size:clamp(26px,3vw,32px);line-height:1.5}
.sub{color:var(--muted);max-width:62ch}
.sechead{display:grid;gap:10px;margin-bottom:32px}
.section{padding-block:72px}
.band{background:var(--surface);border-block:1px solid var(--line)}
.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.stack{display:grid;gap:12px}
.spacer{flex:1}
.ph{width:100%;height:100%;object-fit:cover;display:block;background:var(--sunk)}

/* sadu weave band */
.sadu{display:block;width:100%;height:22px}
.sadu svg{display:block;width:100%;height:100%}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.loading{min-height:70vh;display:grid;place-content:center;justify-items:center;gap:14px;color:var(--muted)}
.loading img{animation:pulse 1.4s ease-in-out infinite}
@keyframes pulse{50%{opacity:.5}}

/* privacy policy and terms */
.legal{max-width:760px}
.legal section{margin-top:26px}
.legal h2{font-size:20px;margin-bottom:8px}
.legal p,.legal li{line-height:1.9}
.legal ul{padding-inline-start:22px;display:grid;gap:6px}

/* skip link: hidden until focused with the keyboard */
.skip{position:absolute;inset-inline-start:12px;top:-60px;z-index:100;background:var(--night);color:var(--on-night);padding:10px 16px;border-radius:4px;font-weight:700}
.skip:focus{top:12px}
main:focus{outline:none}

/* loading skeleton */
.skel{padding-block:40px}
.sk{display:block;height:16px;margin-bottom:12px;border-radius:6px;background:var(--sunk);background:linear-gradient(90deg,var(--sunk) 25%,color-mix(in srgb,var(--sunk) 60%,var(--surface)) 50%,var(--sunk) 75%);background-size:200% 100%;animation:sk 1.4s linear infinite}
.sk.h1{height:44px}.sk.w40{width:40%}.sk.w60{width:60%}.sk.w80{width:80%}.sk.box{height:56px;margin-top:24px}
.sk.art{height:340px;border-radius:var(--r-card)}.sk.card{height:260px;border-radius:var(--r-card)}
.sk-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.sk-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:48px}
@media (max-width:760px){.sk-hero{grid-template-columns:1fr}.sk.art{height:220px}.sk-cards{grid-template-columns:1fr}}
@keyframes sk{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.sk{animation:none}}
