/* ══════════════════════════════════════════════════════════════
   PACKOPSY — SHARED DESIGN SYSTEM ("Pack & Ring")
   ══════════════════════════════════════════════════════════════
   One stylesheet, linked from every page (index.html, claim/,
   privacy-policy/, terms-of-service/, leaderboard/) instead of each
   page carrying its own copy of these same tokens and components.
   Each page keeps its OWN <style> block for whatever is genuinely
   unique to it (claim/'s .claim-* form fields, leaderboard/'s .lb-*
   rows, index.html's .pkcard__* team bios, the legal pages' .jump-*
   nav) — only what's actually shared lives here.

   Every class below keeps its EXISTING name from the pages that already
   use it — this file changes what those classes produce, not what
   they're called, so wiring a page to it is "delete the duplicated
   CSS, add a <link>," never an HTML/class-name change.

   Design direction: strictly monochrome, matching the logo's own rule
   ("two colours: black and white, nothing else" — see
   assets/img/packopsy-logo/README.txt). --ok/--err below are the one
   deliberate exception: semantic status color (did a form validate,
   did a claim fail), never decorative brand color — see the "Your
   Choices" section is NOT what these gate; they gate real UI state.
   Radius and border-weight lean into the logo's own generously-rounded,
   boldly-stroked geometry — see the Pack & Ring proposal this shipped
   from for the full reasoning.

   Single committed dark world on purpose, matching this site's own
   standing identity — there has never been a light mode here.
   ══════════════════════════════════════════════════════════════ */
:root{
  --bg:    #050503;
  --bg1:   #0c0b09;
  --bg2:   #161513;
  --bg3:   #211f1c;

  --line:      rgba(246,244,240,.14);
  --line-str:  rgba(246,244,240,.32);
  --wash:      rgba(246,244,240,.07);

  --w:    #f6f4f0;
  --w90:  rgba(246,244,240,.90);
  --w70:  rgba(246,244,240,.70);
  --w45:  rgba(246,244,240,.45);
  --w20:  rgba(246,244,240,.20);

  /* Semantic only — real UI state (validation, success/failure), never
     a decorative brand accent. Nothing else in this file uses color. */
  --ok:   #22c55e;
  --err:  #ef4444;

  --r:     10px;
  --r-lg:  28px;

  --f-display: 'Space Grotesk', sans-serif;
  --f-body:    'Barlow', sans-serif;

  --nav:  62px;
  --max:  1140px;
  --ease: .2s cubic-bezier(.4,0,.2,1);
}

/* ── RESET / BASE ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--f-body);font-weight:300;background:var(--bg);color:var(--w);line-height:1.65;overflow-x:hidden}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
img,iframe,svg{display:block;max-width:100%}
button{cursor:pointer;background:none;border:none;color:inherit;font:inherit}
:focus-visible{outline:2px solid var(--w);outline-offset:3px;border-radius:3px}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

.wrap{width:min(var(--max),100% - 2.5rem);margin-inline:auto}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn{
  display:inline-flex;align-items:center;gap:.55rem;
  padding:.7rem 1.75rem;
  font-family:var(--f-display);font-weight:700;
  font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;
  border:1.5px solid transparent;border-radius:var(--r);
  transition:background var(--ease),color var(--ease),border-color var(--ease),transform var(--ease);
  white-space:nowrap;cursor:pointer;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:none}
.btn-white{background:var(--w);color:var(--bg);border-color:var(--w)}
.btn-white:hover{background:transparent;color:var(--w)}
.btn-ghost{background:transparent;color:var(--w);border-color:var(--line-str)}
.btn-ghost:hover{border-color:var(--w);background:var(--wash);color:var(--w)}
.btn-lg{padding:.85rem 2.25rem;font-size:.85rem}
.btn-sm{padding:.35rem .8rem;font-size:.62rem}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.hdr{
  position:fixed;top:0;left:0;right:0;z-index:900;
  height:var(--nav);background:var(--bg);
  border-bottom:1.5px solid var(--line);
  transition:top var(--ease),border-color var(--ease),box-shadow var(--ease),background var(--ease);
}
.hdr.on{border-color:var(--line-str);box-shadow:0 4px 40px rgba(0,0,0,.8);background:rgba(5,5,3,.92);backdrop-filter:blur(10px)}
.hdr-inner{display:flex;align-items:center;height:100%;padding-inline:1.5rem;max-width:var(--max);margin-inline:auto;gap:1rem}
.wordmark{font-family:var(--f-display);font-weight:700;font-size:1.35rem;letter-spacing:.08em;color:var(--w);flex-shrink:0}
.logo-img{height:36px;width:auto}
.hdr-socials{display:flex;align-items:center;gap:.15rem;margin-left:.5rem}
.hdr-social{
  display:flex;align-items:center;justify-content:center;
  width:32px;height:32px;border-radius:var(--r);font-size:.9rem;
  color:var(--w45);transition:color var(--ease),background var(--ease);
}
.hdr-social:hover{color:var(--w);background:var(--wash)}
.hdr-tag{
  font-family:var(--f-display);font-size:.58rem;font-weight:600;letter-spacing:.14em;
  color:var(--w45);text-transform:uppercase;padding:.25rem .7rem;border:1.5px solid var(--line-str);border-radius:50px;
}
.page-nav{display:flex;align-items:center;gap:.15rem;margin-left:auto}
.nav-a{
  display:flex;align-items:center;gap:.35rem;
  padding:.35rem .85rem;border-radius:var(--r);
  font-family:var(--f-display);font-size:.7rem;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;color:var(--w70);
  border:1px solid transparent;
  transition:color var(--ease),border-color var(--ease),background var(--ease);
}
.nav-a:hover,.nav-a.act{color:var(--w);background:var(--wash);border-color:var(--line-str)}
.nav-a.hi{color:var(--w);border:1.5px solid var(--line-str)}
.nav-a.hi:hover{background:var(--w);color:var(--bg);border-color:var(--w)}

.hbg{display:none;align-items:center;justify-content:center;width:34px;height:34px;margin-left:auto;color:var(--w70)}
.hbg:hover{color:var(--w)}
.mob-nav{display:none;flex-direction:column;background:var(--bg1);border-bottom:1.5px solid var(--line-str)}
.mob-nav.open{display:flex}
.mob-a{
  padding:.85rem 1.5rem;font-family:var(--f-display);font-size:.75rem;
  font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--w70);
  border-bottom:1px solid var(--line);transition:color var(--ease),background var(--ease);
}
.mob-a:hover{color:var(--w);background:var(--wash)}
.mob-soc{display:flex;gap:1.25rem;padding:1rem 1.5rem}
.mob-soc a{font-size:1.1rem;color:var(--w45);transition:color var(--ease)}
.mob-soc a:hover{color:var(--w)}
@media(max-width:680px){
  .page-nav,.hdr-socials{display:none}
  .hbg{display:flex}
}

/* ══════════════════════════════════════════
   LIVE INDICATOR — a pulsing ring, not a colored dot. The mark's own
   shape doing the signaling instead of a borrowed accent hue. Replaces
   the old --grn .live-dot-sm/.ph-dot pattern everywhere.
══════════════════════════════════════════ */
.live-ring{position:relative;display:inline-block;width:9px;height:9px;flex:none}
.live-ring::before,.live-ring::after{content:'';position:absolute;inset:0;border-radius:50%;border:1.5px solid var(--w)}
.live-ring::after{animation:ringPulse 2.2s ease-out infinite}
@keyframes ringPulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(3.2);opacity:0}}

/* ══════════════════════════════════════════
   PANELS / CARDS
══════════════════════════════════════════ */
.panel-grid{display:grid;gap:2px;background:var(--line);border:1.5px solid var(--line);border-radius:var(--r-lg);overflow:hidden;margin-bottom:2px}
.panel-grid:last-child{margin-bottom:0}
.g2{grid-template-columns:1fr 1fr}
.span2{grid-column:1/-1}
@media(max-width:760px){ .g2{grid-template-columns:1fr} .span2{grid-column:auto} }
.panel{background:var(--bg1);display:flex;flex-direction:column}
.panel.dk{background:var(--bg2)}
.ph{
  display:flex;align-items:center;justify-content:space-between;
  padding:.65rem 1.1rem .65rem 1.35rem;gap:.75rem;
  border-bottom:1.5px solid var(--line);background:rgba(246,244,240,.03);
  flex-shrink:0;border-left:3px solid var(--w);
}
.ph-title{font-family:var(--f-display);font-size:.62rem;font-weight:700;letter-spacing:.18em;color:var(--w90);text-transform:uppercase}
.ph-badge{font-family:var(--f-display);font-size:.55rem;font-weight:600;letter-spacing:.1em;padding:.2rem .75rem;background:var(--wash);border:1.5px solid var(--line-str);color:var(--w90);border-radius:50px;white-space:nowrap}
.ph-dot{width:7px;height:7px;border-radius:50%;background:var(--w);animation:softPing 2s ease-in-out infinite}
@keyframes softPing{0%,100%{opacity:1}50%{opacity:.35}}
.pb{padding:1.5rem;flex:1}
.pb p{font-size:.875rem;color:var(--w70);line-height:1.8;margin-bottom:.85rem;font-weight:300}
.pb p:last-child{margin-bottom:0}

/* ══════════════════════════════════════════
   STATUS PILL — semantic --ok/--err only, see the :root comment.
══════════════════════════════════════════ */
.status-pill{display:inline-flex;align-items:center;gap:.4rem;font-family:var(--f-display);font-size:.55rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:.28rem .75rem;border-radius:50px;border:1.5px solid var(--line-str);color:var(--w70);white-space:nowrap}
.status-pill .dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}
.status-pill.ok{border-color:rgba(34,197,94,.5);color:var(--ok)}
.status-pill.err{border-color:rgba(239,68,68,.6);color:var(--err)}

/* ══════════════════════════════════════════
   TABS — same segmented-control pattern claim/index.html introduced
   for the My Packopsy / Giveaway Claims split; shared since any future
   multi-view page can reuse it as-is.
══════════════════════════════════════════ */
.tab-nav{display:flex;gap:2px;background:var(--line);border:1.5px solid var(--line);border-radius:var(--r-lg);overflow:hidden;margin-bottom:1.5rem}
.tab-btn{
  flex:1;display:flex;align-items:center;justify-content:center;gap:.55rem;
  padding:.9rem 1rem;background:var(--bg1);color:var(--w70);border:none;cursor:pointer;
  font-family:var(--f-display);font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  transition:background var(--ease),color var(--ease);
}
.tab-btn:hover{background:var(--bg2);color:var(--w)}
.tab-btn.active{background:var(--w);color:var(--bg)}
.tab-count{font-family:var(--f-display);font-size:.6rem;font-weight:600;letter-spacing:.05em;padding:.15rem .55rem;border-radius:50px;background:var(--wash);border:1.5px solid var(--line-str);color:inherit}
.tab-btn.active .tab-count{background:rgba(5,5,3,.1);border-color:rgba(5,5,3,.22)}

/* ══════════════════════════════════════════
   HOW-IT-WORKS NUMBERED LIST
══════════════════════════════════════════ */
.how-list{display:flex;flex-direction:column;gap:1rem}
.how-item{display:flex;gap:.75rem;align-items:flex-start}
.how-n{font-family:var(--f-display);font-size:.6rem;font-weight:700;letter-spacing:.08em;color:var(--bg);flex-shrink:0;background:var(--w);padding:.12rem .45rem;border-radius:50px;line-height:1.4}
.how-t{font-size:.82rem;color:var(--w70);line-height:1.55;font-weight:300}

/* ══════════════════════════════════════════
   FIND-US LINK LIST
══════════════════════════════════════════ */
.find-links{display:flex;flex-direction:column}
.find-a{display:flex;align-items:center;gap:.7rem;padding:.7rem 0;font-size:.82rem;color:var(--w70);border-bottom:1px solid var(--line);transition:color var(--ease),padding-left var(--ease)}
.find-a:last-child{border-bottom:none}
.find-a:hover{color:var(--w);padding-left:.35rem}
.find-a i:first-child{width:16px;text-align:center;color:var(--w45);font-size:.85rem}
.find-a span{flex:1}
.find-arr{font-size:.6rem;color:var(--w45);transition:transform var(--ease),color var(--ease)}
.find-a:hover .find-arr{transform:translateX(5px);color:var(--w70)}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.ftr{border-top:1.5px solid var(--line-str);background:var(--bg);padding-block:1.4rem}
.ftr-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;width:min(var(--max),100% - 2.5rem);margin-inline:auto}
.ftr-left{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
.ftr-wm{font-family:var(--f-display);font-weight:700;font-size:1.05rem;letter-spacing:.08em;color:var(--w)}
.ftr-copy{font-family:var(--f-display);font-size:.58rem;font-weight:500;letter-spacing:.1em;color:var(--w45);text-transform:uppercase}
.ftr-right{display:flex;align-items:center;gap:.75rem;font-family:var(--f-display);font-size:.58rem;font-weight:500;letter-spacing:.08em;color:var(--w45);text-transform:uppercase}
.ftr-right a{color:var(--w45);transition:color var(--ease)}
.ftr-right a:hover{color:var(--w70)}
.ftr-sep{color:var(--line-str)}
@media(max-width:680px){
  .ftr-in{flex-direction:column;align-items:flex-start;gap:.75rem}
}

/* ══════════════════════════════════════════
   SECTION HEADER (kicker / number / title / desc — used to open
   almost every <section> on the site)
══════════════════════════════════════════ */
.sec{padding-block:5.5rem}
.sec-kicker{font-family:var(--f-display);font-size:.65rem;font-weight:700;letter-spacing:.3em;color:var(--w45);text-transform:uppercase;display:block;margin-bottom:.75rem}
.sec-num{font-family:var(--f-display);font-size:.6rem;font-weight:600;letter-spacing:.2em;color:var(--w45);display:block;margin-bottom:.4rem;text-transform:uppercase}
.sec-title{font-family:var(--f-display);font-weight:700;font-size:clamp(2rem,4.5vw,3rem);line-height:.95;letter-spacing:.02em;color:var(--w)}
.sec-desc{margin-top:.85rem;font-size:.9rem;color:var(--w70);max-width:560px;line-height:1.75;font-weight:300}
.sec-head{margin-bottom:2.5rem}
@media(max-width:680px){ .sec{padding-block:3.5rem} }
