@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@600;700&display=swap");

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

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); font-weight: 700; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.mono { font-family: var(--font-mono); }

section { padding: 96px 0; scroll-margin-top: 84px; }
section.tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* Dark-band sections: hero, page-hero, cta-band and the footer all share this treatment */
.hero, .page-hero, .cta-band, .site-footer {
  background: var(--ink);
  color: var(--ink-text);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Soft red glow, upper right — depth behind the vector motif */
.hero::before, .page-hero::before, .cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(45% 65% at 88% 0%, rgba(200,16,46,0.35), transparent 70%);
}
/* Vector-arrow motif — thin vectors radiating from a point, nodding to "Null Vector" */
.hero::after, .page-hero::after, .cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("/assets/vector-motif.svg");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: min(56%, 620px) auto;
  opacity: 0.9;
  pointer-events: none;
}
/* Footer stays flat, with a slim red top border to keep the brand accent */
.site-footer { border-top: 3px solid var(--accent); }
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--accent-2); }
.hero .eyebrow::before, .page-hero .eyebrow::before, .cta-band .eyebrow::before { background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2); }
.hero h1, .page-hero h1, .cta-band h2 { color: var(--ink-text); }
.hero p, .page-hero p, .cta-band p { color: var(--ink-text-muted); }
.hero h1, .page-hero h1 { max-width: 800px; }
.hero .lede, .page-hero .lede { max-width: 620px; }

.text-center { text-align: center; }
.max-w-content { max-width: 680px; }
.mx-auto { margin-left: auto; margin-right: auto; }

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero::after, .page-hero::after, .cta-band::after { background-size: 80% auto; opacity: 0.5; }
}
