/* ============================================================
   Nova Digital FZE — style.css
   Institutional dark palette (navy / champagne gold / teal).
   Adapted from the BM Digital design system.
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0a1020;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --text-dim: #9aa3b8;
  --text-faint: #626b83;

  --gold: #c9a75f;
  --gold-soft: #e6c987;
  --teal: #4bb8a9;
  --grad: linear-gradient(120deg, #e6c987 0%, #cba966 50%, #b3894e 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1180px;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(201, 167, 95, 0.4); color: #fff; }

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

/* ---------- Background layers ---------- */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(201, 167, 95, 0.16), transparent 60%),
    radial-gradient(55% 45% at 85% 10%, rgba(75, 184, 169, 0.12), transparent 60%),
    radial-gradient(50% 60% at 60% 100%, rgba(230, 201, 135, 0.08), transparent 60%);
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 167, 95, 0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
  will-change: transform;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--grad);
  z-index: 100;
  box-shadow: 0 0 12px rgba(201, 167, 95, 0.6);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: padding 0.4s var(--ease), background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px clamp(20px, 5vw, 56px);
  background: rgba(7, 11, 20, 0.62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 0 10px rgba(201, 167, 95, 0.35)); }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand-sub {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--grad);
  transition: width 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text) !important;
  background: var(--surface);
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  border-color: transparent;
  background: var(--grad);
  color: #070b14 !important;
  box-shadow: 0 8px 30px rgba(201, 167, 95, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: rgba(10, 16, 32, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-left: 1px solid var(--border);
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 34px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 12px 0;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  transition: color 0.25s, padding-left 0.25s;
}
.mobile-menu a:hover { color: var(--text); padding-left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { transition: transform 0.35s var(--ease); }
.btn-primary {
  background: var(--grad);
  color: #070b14;
  box-shadow: 0 10px 40px rgba(201, 167, 95, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 50px rgba(75, 184, 169, 0.4); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text-dim); transform: translateY(-2px); }

/* ---------- Layout ---------- */
main { position: relative; z-index: 1; }
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 40px);
}
.section-head { max-width: 720px; margin-bottom: 60px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
  margin-bottom: 18px;
  padding-left: 2px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.section-head p {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 620px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px clamp(20px, 5vw, 40px) 80px;
  position: relative;
}
.hero-inner { max-width: 900px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 34px;
  backdrop-filter: blur(10px);
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(75, 184, 169, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(75, 184, 169, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(75, 184, 169, 0); }
  100% { box-shadow: 0 0 0 0 rgba(75, 184, 169, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-title span { display: block; }

.hero-footnote {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-top: 22px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 300;
  max-width: 680px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-marquee {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 660px;
}
.hero-marquee > span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: var(--text-faint);
}
.marquee-track {
  display: flex;
  gap: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-faint);
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.scroll-hint {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(var(--teal), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--text);
  animation: scrollDrop 2s var(--ease) infinite;
}
@keyframes scrollDrop { to { top: 100%; } }

/* ---------- Stats ---------- */
.stats {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  transform: translateY(-30px);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.stat:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-dim); font-size: 0.9rem; margin-top: 6px; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 34px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform-style: preserve-3d;
}
.card:hover { border-color: var(--border-strong); }
.card-glow {
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201, 167, 95, 0.2), transparent 65%);
  border-radius: 50%;
  top: var(--my, 50%); left: var(--mx, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover .card-glow { opacity: 1; }
.card-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.card > p { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 20px; }
.card-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card-list li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-faint);
  padding-left: 20px;
  position: relative;
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 44px;
}
.tl-item {
  display: flex;
  gap: 22px;
  padding: 28px 4px;
  border-top: 1px solid var(--border);
  transition: border-color 0.4s;
}
.tl-item:hover { border-color: var(--border-strong); }
.tl-index {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  flex-shrink: 0;
  padding-top: 4px;
}
.tl-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.tl-body p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.5s var(--ease), border-color 0.5s, background 0.5s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.feature:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.feature.wide { grid-column: span 2; }
.feature-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(75, 184, 169, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature p { color: var(--text-dim); font-size: 0.98rem; }
.feature-metrics {
  display: flex;
  gap: 34px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.feature-metrics div { display: flex; flex-direction: column; }
.feature-metrics strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.feature-metrics span { font-size: 0.78rem; color: var(--text-faint); margin-top: 2px; }

/* ---------- Team ---------- */
.team-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.team-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}
.team-row .member {
  flex: 0 1 240px;
  max-width: 270px;
}
.member {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.5s var(--ease), border-color 0.5s, background 0.5s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.member:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2); }
.member-avatar {
  width: 88px; height: 88px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(201, 167, 95, 0.12), 0 10px 24px rgba(0, 0, 0, 0.25);
}
.member-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.03);
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.member:hover .member-avatar img { transform: scale(1.05); filter: grayscale(0%); }
.member-avatar--initials {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: #070b14;
  background: var(--grad);
  border: none;
}
.member-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.member-role { color: var(--text-dim); font-size: 0.88rem; }
.member-ri {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(201, 167, 95, 0.3);
  border-radius: 999px;
  padding: 2px 9px;
  margin-top: 6px;
}
.member-link {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  transition: color 0.25s;
}
.member-link:hover { color: var(--teal); }

/* ---------- Chip cloud ---------- */
.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  cursor: default;
}
.chip:hover {
  color: #070b14;
  background: var(--grad);
  border-color: transparent;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(201, 167, 95, 0.3);
}

/* ---------- Quote band ---------- */
.quote-band {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 40px);
  text-align: center;
}
.quote-band blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.7rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.quote-band cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(80px, 14vh, 160px); }
.contact-card {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: clamp(44px, 7vw, 84px);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}
.contact-glow {
  position: absolute;
  inset: -40% -10% auto;
  height: 500px;
  background: radial-gradient(50% 60% at 50% 0%, rgba(201, 167, 95, 0.32), transparent 70%);
  pointer-events: none;
}
.contact-content { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.contact-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.contact-content p { color: var(--text-dim); font-size: 1.08rem; margin-bottom: 30px; }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-details {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  text-align: left;
}
.contact-details div { max-width: 260px; }
.contact-details dt {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.contact-details dd { color: var(--text-dim); font-size: 0.92rem; }
.contact-details a:hover { color: var(--teal); }
.contact-meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
}
.contact-meta div { display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- Disclaimer bar ---------- */
.disclaimer-bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 40px);
}
.disclaimer-bar p {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 20px 24px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-faint);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px clamp(20px, 5vw, 56px) 34px;
  background: rgba(7, 11, 20, 0.5);
  backdrop-filter: blur(10px);
}
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; gap: 16px; max-width: 360px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.05rem; }
.footer-brand p { color: var(--text-faint); font-size: 0.88rem; margin-top: 6px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.footer-col a { color: var(--text-dim); font-size: 0.9rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.footer-status { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Policy / legal document pages
   ============================================================ */
.policy-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(140px, 20vh, 200px) clamp(20px, 5vw, 40px) 30px;
}
.policy-hero .eyebrow { color: var(--teal); }
.policy-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.policy-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-faint);
}
.policy {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 40px) clamp(80px, 12vh, 130px);
  position: relative;
  z-index: 1;
}
.policy h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.policy h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.policy h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin: 26px 0 10px;
}
.policy p { color: var(--text-dim); margin-bottom: 16px; font-size: 0.98rem; }
.policy ul, .policy ol { color: var(--text-dim); margin: 0 0 16px 22px; font-size: 0.98rem; }
.policy li { margin-bottom: 8px; padding-left: 4px; }
.policy ol { display: flex; flex-direction: column; gap: 4px; }
.policy strong { color: var(--text); font-weight: 600; }
.policy a { color: var(--teal); }
.policy a:hover { text-decoration: underline; }
.policy .lead { color: var(--text); font-size: 1.05rem; }
.policy-notice {
  border: 1px solid rgba(201, 167, 95, 0.3);
  background: rgba(201, 167, 95, 0.05);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 30px;
}
.policy-notice p:last-child { margin-bottom: 0; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 20px;
  transition: color 0.25s, gap 0.25s;
}
.back-link:hover { color: var(--teal); gap: 12px; }

.policy-nav-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px) 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.policy-nav-list a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  transition: all 0.25s;
}
.policy-nav-list a:hover { color: var(--text); border-color: var(--border-strong); }
.policy-nav-list a.current { color: #070b14; background: var(--grad); border-color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature.wide { grid-column: span 1; }
  .team-row .member { flex-basis: 200px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .cursor-glow { display: none; }
  .footer-links { gap: 36px; }
}
@media (max-width: 440px) {
  .team-row .member { flex-basis: 100%; max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---- Brand logo images (replace the SVG N mark) ---- */
.brand-logo { height: 34px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(201,167,95,.18)); }
.footer-logo { height: 30px; width: auto; display: block; margin-bottom: 10px; }
@media (max-width: 600px) { .brand-logo { height: 28px; } }
