/* ===================================================================
   tokens.css — design tokens, reset, base typography, global motion
   Shared foundation. Change variables here; sections read from them.
   =================================================================== */
:root{
  /* Fully monochrome — cool near-black + ink, per DESIGN.md. No brand accent hue,
     no colored glows. Emphasis = ink weight / contrast + a white fill for actions. */
  color-scheme:dark;
  --bg:#0e0f13;
  --bg-2:#16171c;
  --raised-2:#1d1f26;
  --panel:rgba(255,255,255,0.045);
  --panel-2:rgba(255,255,255,0.07);
  --border:rgba(247,248,250,0.12);
  --border-strong:rgba(247,248,250,0.20);
  --text:#f7f8fa;
  --muted:rgba(247,248,250,0.62);
  --faint:rgba(247,248,250,0.42);
  --emphasis:#f7f8fa;      /* fill for primary/selected buttons */
  --on-emphasis:#0a0b0e;   /* text/icon on the --emphasis (or --text) fill */
  --nav-rgb:8,9,12;        /* fixed-nav backdrop base (rgba() takes an alpha) */
  /* shared card surface for the hero composer + how-it-works panel */
  --surface-card:linear-gradient(180deg,rgba(20,23,30,0.9),rgba(12,14,19,0.92));
  --surface-card-shadow:0 40px 120px rgba(0,0,0,0.6),inset 0 1px 0 rgba(255,255,255,0.06);
  --cursor:#ff4d4d;        /* the one functional signal: human "You" cursor + camera REC */
  /* semantic — rare, functional states only */
  --info:#3b82f6;
  --warning:#d69e2e;
  --error:#9a2f2f;
  --radius-sm:10px;
  --radius:16px;
  --radius-lg:22px;
  --maxw:1240px;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --disp:'Cabinet Grotesk',system-ui,sans-serif;
  --body:'General Sans',system-ui,-apple-system,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
button,input,select,textarea{font-family:inherit}
/* offset in-page anchor jumps so targets clear the fixed nav (~86px tall) */
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--body);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
.mono{font-family:var(--mono);font-feature-settings:"tnum" 1}
.mobile-copy{display:none}

/* shared button component (used by hero-cta and the CTA band) */
.btn{
  display:inline-flex;align-items:center;gap:9px;
  font-size:15px;font-weight:500;padding:13px 24px;border-radius:999px;
  transition:transform .18s ease,box-shadow .22s ease,background .2s ease,border-color .2s;
  cursor:pointer;border:1px solid transparent;
}
.btn.primary{background:var(--text);color:var(--on-emphasis)}
.btn.primary:hover{transform:translateY(-2px);box-shadow:0 14px 40px rgba(255,255,255,0.16)}
.btn.ghost{background:rgba(255,255,255,0.03);border-color:var(--border-strong);color:var(--text)}
.btn.ghost:hover{background:rgba(255,255,255,0.07);transform:translateY(-2px)}
.eyebrow{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--faint);
}

/* global reduced-motion (section files add their own opt-outs) */
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.001ms!important;animation-iteration-count:1!important}
  .feed{opacity:1}
  .marquee-track{animation:none;transform:none}
}
@media(max-width:600px){
  .desktop-copy{display:none!important}
  .mobile-copy{display:block}
  .btn{min-height:48px;justify-content:center;padding:12px 18px}
}
