@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

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

:root {
  --indigo:    #2825BE;
  --indigo-lt: #4a47d6;
  --amber:     #EB9001;
  --amber-lt:  #f5a830;
  --teal:      #0C7A7A;
  --teal-lt:   #0fa8a8;
  --terra:     #CF4C38;
  --terra-lt:  #e05a45;
  --green:     #2e9e5b;
  --ink:       #080818;
  --ink-2:     #0f0e2e;
  --ink-3:     #13123a;
  --surface:   #ffffff;
  --surface-2: #F5F7F6;
  --border:    #e2e5e3;
  --border-dk: rgba(255,255,255,0.09);
  --text:      #111827;
  --text-2:    #4b5563;
  --text-3:    #9ca3af;
  --max-w:     1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
}

/* ── Nav ──────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,8,24,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dk);
  height: 64px;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0 auto;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ""; display:block; width:100%; height:1px; margin-top:5px; background: var(--amber); }

.nav-cta {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: 8px 18px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--amber-lt); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 64px 32px 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dk);
}

.footer-logo { height: 44px; width: auto; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); font-style: italic; }

.footer-links { display: flex; gap: 48px; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}

.footer-col a {
  text-decoration: none;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-bottom a { color: rgba(255,255,255,0.25); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }

/* ── Utilities ────────────────────────────────────────────────── */
.page-wrap { padding-top: 64px; }

.section { padding: 96px 32px; }
.section-sm { padding: 64px 32px; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.eyebrow-teal  { color: var(--teal-lt); }
.eyebrow-terra { color: var(--terra-lt); }

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.1;
}

.display-xl {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
}

.display-lg {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: uppercase;
}

.display-md {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 600px;
}

.lead-light { color: rgba(255,255,255,0.6); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 4px;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
}

.btn-amber  { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-lt); }
.btn-outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.06); }
.btn-indigo { background: var(--indigo); color: white; }
.btn-indigo:hover { background: var(--indigo-lt); }

.arrow { font-size: 16px; }

/* ── Dark section ─────────────────────────────────────────────── */
.dark-section {
  background: var(--ink);
  color: white;
}

.mid-section {
  background: var(--ink-2);
  color: white;
}

/* ── Canvas ───────────────────────────────────────────────────── */
#hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ── Grid helpers ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--ink);
    padding: 24px 32px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border-dk);
  }
  .site-header.open .nav-cta {
    display: block;
    position: absolute;
    top: calc(64px + 200px); left: 32px;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .display-xl { font-size: 52px; }
}

/* ── Fade-in animation ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
