/* NuAnalytics product site — static, no build step */
:root {
  --bg: #0a0c10;
  --bg-elev: #12151c;
  --bg-elev-2: #1a1f29;
  --line: #2c3340;
  --line-strong: #3d4656;
  --text: #f2f4f7;
  --muted: #a7b0be;
  --accent: #7ee0c8;
  --accent-ink: #06241d;
  --gold: #e8c572;
  --danger: #f0a8a8;
  --focus: #7ee0c8;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  --wrap: 68rem;
  --space: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(126, 224, 200, 0.08), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(232, 197, 114, 0.05), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: #b6f3e4; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--space)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 12, 16, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }
.brand-name { font-size: 1.1rem; }

.nav { display: flex; gap: 0.25rem; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--bg-elev-2);
}

main { flex: 1 0 auto; }

.hero {
  padding: 3.5rem 0 2.5rem;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}
h1 { font-size: clamp(2.15rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.4rem;
}

.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.pill-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 197, 114, 0.18);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { color: var(--text); background: var(--bg-elev); }

.section { padding: 2.4rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section p { margin: 0 0 1rem; }
.section p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1rem;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}
.card p, .card ul { color: var(--muted); }
.card h3 { margin-bottom: 0.5rem; }

.list {
  margin: 0;
  padding-left: 1.15rem;
}
.list li { margin: 0.35rem 0; }
.list li::marker { color: var(--accent); }

.policy {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
}
.policy h2 { margin-bottom: 0.4rem; }
.policy ul { color: var(--text); }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.shot {
  margin: 0;
  background: var(--bg-elev);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.shot-frame {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.015),
      rgba(255, 255, 255, 0.015) 8px,
      transparent 8px,
      transparent 16px
    ),
    var(--bg-elev-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}
.shot-label {
  display: inline-block;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.35rem;
}
.shot figcaption {
  padding: 0.8rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}

.legal-header { padding: 2.6rem 0 0.5rem; }
.legal-header h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.legal {
  padding: 1rem 0 3rem;
  max-width: 46rem;
}
.legal h2 { margin-top: 2rem; }
.legal h3 { margin-top: 1.4rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  background: #07080b;
}
.boilerplate {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1.2rem;
  max-width: 56rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.8rem;
}
.footer-meta { margin: 0; font-size: 0.9rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.15rem; }
.footer-nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--accent); }

.error {
  padding: 5rem 0;
  text-align: center;
}
.error h1 { margin-bottom: 0.6rem; }

@media (max-width: 640px) {
  .header-inner { min-height: 3.5rem; }
  .nav a { padding: 0.45rem 0.55rem; font-size: 0.95rem; }
  .hero { padding-top: 2.2rem; }
}

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

@media print {
  body { background: #fff; color: #111; }
  .site-header, .actions, .skip-link { display: none; }
  a { color: #000; }
  .site-footer, .card, .policy, .shot, .callout {
    background: #fff;
    box-shadow: none;
    color: #111;
    border-color: #ccc;
  }
}
