/* ===================================================================
   PickUpFirst — design tokens + base
   Light, Linear/Vercel-style UI with dark "signal" dither panels.
   Shared by the marketing site, and later the portal and setup wizard.
   =================================================================== */

:root {
  /* surface */
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --ink: #0a0b0d;
  --ink-2: #33363d;
  --muted: #6b7079;      /* body-secondary text, AA on white + bg-alt */
  --faint: #868b94;      /* large text (h2 muted half) + decorative only: 3.4:1 */
  --line: #e8e9ec;
  --line-2: #f1f2f4;
  --line-strong: #d3d5da;

  /* signal green (an answered call) */
  --signal: #1fd67a;       /* on dark */
  --signal-ink: #0b8f4d;   /* on light: icons, ticks, fills, large text */
  --signal-text: #0a7d43;  /* on light: small text (eyebrows, labels), AA 5.2:1 */
  --signal-soft: #e7f9ef;
  --miss: #e5484d;         /* large numbers, icons */
  --miss-text: #c4282d;    /* small text on light, AA */
  --miss-soft: #fff1f1;
  --warn: #8a6100;
  --warn-soft: #fff7e0;
  --info: #1f5fbf;
  --info-soft: #eef4fd;

  /* dark panels */
  --dark: #07090a;
  --dark-2: #0f1214;
  --dark-line: rgba(255, 255, 255, .09);
  --dither-bg: var(--dark);
  --dither-fg: #19b766;

  /* shape + rhythm */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --wrap: 1180px;
  --gut: clamp(1.1rem, 4vw, 2rem);
  --nav-h: 64px;
  --sh: 0 1px 1px rgba(10, 11, 13, .04), 0 2px 6px rgba(10, 11, 13, .04);
  --sh-lg: 0 1px 2px rgba(10, 11, 13, .06), 0 24px 60px -24px rgba(10, 11, 13, .28);
  --ring: 0 0 0 3px rgba(11, 143, 77, .22);

  /* type */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
[hidden] { display: none !important; }

/* focus: visible for keyboard users only */
:focus-visible { outline: 2px solid var(--signal-ink); outline-offset: 2px; border-radius: 6px; }
.dark-panel :focus-visible, .cta :focus-visible, .stage :focus-visible { outline-color: var(--signal); }

/* utilities */
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 780px; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.muted { color: var(--faint); }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--ink); color: #fff; padding: .5rem .8rem; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
