/* Reconnect Web Co. — tokens, reset, and the pieces every page shares.
   The design itself (sections, components) lives in site.css. */
:root {
  --bg: #000;
  --ink: #eef0ff;
  --dim: #8a90b8;
  --soft: #b9bde0;
  --violet: #7c5cff;
  --violet-2: #a78bfa;
  --teal: #3ee6c9;
  --panel: rgba(12, 14, 36, .78);
  --panel-edge: rgba(167, 139, 250, .16);
  --btn-a: #6a4cf0;   /* button gradient: white text on both ends passes AA (5.4 / 5.8) */
  --btn-b: #4c56d8;
  --radius: 18px;
  --font: 'Figtree', 'Figtree Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
  --max: 1120px;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; scroll-padding-top: 84px; }
body {
  min-height: 100svh;
  background: var(--bg) url('../assets/brand/stars.svg') 0 0 / 640px 640px repeat;
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul[class], ol[class] { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
p { max-width: 68ch; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 50;
  background: var(--ink); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* the starfield canvas (js/sky.js) sits behind everything; content stacks above it */
#sky {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.site-head, main, .site-foot { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary {
  color: #fff; background: linear-gradient(90deg, var(--btn-a), var(--btn-b));
  box-shadow: 0 0 30px rgba(124, 92, 255, .45);
}
.btn-ghost { color: #dfe2ff; border-color: #343a75; background: rgba(20, 22, 50, .55); }
.btn:hover { filter: brightness(1.12); }

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 50px rgba(0, 0, 0, .45);
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: filter .2s ease, transform .2s ease; }
  .btn:active { transform: translateY(1px); }
}
