/* ============ Nova Lead — shared styles (fluid, dark tech/premium) ============ */

:root {
  --bg: #070b14;
  --bg-2: #0a1120;
  --panel: #0e1830;
  --panel-2: #12203c;
  --line: rgba(148, 163, 184, 0.14);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;      /* electric blue */
  --accent-2: #8b5cf6;    /* violet */
  --grad: linear-gradient(100deg, #38bdf8, #818cf8 55%, #c084fc);
  --radius: 16px;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: clamp(0.95rem, 0.35vw + 0.88rem, 1.06rem);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #f8fafc;
}

h1 { font-size: clamp(2rem, 4.5vw + 0.6rem, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.4vw + 0.6rem, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 0.9vw + 0.85rem, 1.4rem); font-weight: 600; }

p { color: var(--muted); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.alt { background: var(--bg-2); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 0.7rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

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

/* ============ Header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #f8fafc;
}
.brand:hover { text-decoration: none; }
.brand svg { height: 34px; width: auto; }
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #f8fafc; text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 0.45rem 0.6rem;
  font-size: 1.15rem;
  cursor: pointer;
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--grad);
  color: #07101e;
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.28);
}
.btn-primary:hover { box-shadow: 0 10px 34px rgba(139, 92, 246, 0.38); }
.btn-ghost {
  background: rgba(56, 189, 248, 0.06);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--accent);
}
.btn-ghost:hover { background: rgba(56, 189, 248, 0.12); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.86rem; }

/* ============ Hero ============ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(58% 90% at 82% 8%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(50% 80% at 12% 90%, rgba(56, 189, 248, 0.13), transparent 60%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 30%, black, transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 760px; }
.hero p.lead {
  font-size: clamp(1.02rem, 0.8vw + 0.85rem, 1.22rem);
  max-width: 620px;
  margin-top: 1.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.4rem;
}
.badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
}

/* Orb decoration */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.orb-blue { width: 380px; height: 380px; background: #1d6ea8; top: -120px; right: -60px; }
.orb-violet { width: 320px; height: 320px; background: #6d3bd1; bottom: -140px; left: -100px; }

/* ============ Stats ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}
.stat {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.05), rgba(139, 92, 246, 0.04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  text-align: center;
}
.stat .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 2.6vw + 0.8rem, 2.6rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label { margin-top: 0.35rem; font-size: 0.88rem; font-weight: 600; color: var(--muted); }

/* ============ Cards / grids ============ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.3rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 14px 40px rgba(2, 6, 17, 0.6);
}
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 1.1rem;
  font-size: 1.3rem;
}
.card p { margin-top: 0.6rem; font-size: 0.94rem; }
.card ul { margin-top: 0.8rem; padding-left: 1.1rem; color: var(--muted); font-size: 0.92rem; }
.card ul li { margin-bottom: 0.3rem; }

/* ============ Steps ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.3rem;
  counter-reset: step;
}
.step { position: relative; padding-top: 1rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { margin-top: 0.5rem; }
.step p { margin-top: 0.5rem; font-size: 0.93rem; }

/* ============ CTA band ============ */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.14), rgba(139, 92, 246, 0.16));
  border: 1px solid rgba(139, 92, 246, 0.3);
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { max-width: 560px; margin: 0 auto 1.6rem; }

/* ============ Page hero (inner pages) ============ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0 clamp(2.6rem, 5vw, 4rem);
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(139, 92, 246, 0.15), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.page-hero p.lead { max-width: 620px; margin-top: 1rem; }

/* ============ Contact ============ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 2rem;
  align-items: start;
}
.info-list { list-style: none; display: grid; gap: 1.2rem; }
.info-list .row { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .row .icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 1.15rem;
}
.info-list strong { display: block; font-size: 0.9rem; }
.info-list p, .info-list a { font-size: 0.94rem; }

.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 700; color: var(--text); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ============ Jobs ============ */

.job {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: border-color 0.2s;
}
.job:hover { border-color: rgba(56, 189, 248, 0.4); }
.job h3 { font-size: 1.08rem; }
.job .meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.job .meta span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(148, 163, 184, 0.08);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}
.jobs-list { display: grid; gap: 1rem; }

/* ============ Legal pages ============ */

.legal-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 2.5rem;
  align-items: start;
}
.legal-doc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 3rem);
}
.legal-doc .effective {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.4rem;
}
.legal-doc h2 {
  font-size: 1.22rem;
  margin: 1.9rem 0 0.7rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.legal-doc h2:first-of-type { border-top: 0; margin-top: 1.2rem; padding-top: 0; }
.legal-doc p, .legal-doc li { font-size: 0.95rem; color: var(--muted); }
.legal-doc p + p { margin-top: 0.7rem; }
.legal-doc ul, .legal-doc ol { margin: 0.6rem 0 0.7rem 1.3rem; }
.legal-doc li { margin-bottom: 0.35rem; }
.legal-doc a { word-break: break-word; }

.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  font-size: 0.85rem;
}
.legal-toc .toc-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc li { margin-bottom: 0.45rem; }
.legal-toc a { color: var(--muted); display: block; line-height: 1.45; }
.legal-toc a:hover { color: var(--accent); }

.legal-related { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ============ Footer ============ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}
.footer-grid h4 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { margin-top: 1rem; max-width: 320px; }
.footer-bottom {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ============ Reveal animation ============ */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */

@media (max-width: 960px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    background: rgba(7, 11, 20, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 1rem 4%;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.65rem 0.4rem; font-size: 1.02rem; }
  .nav-cta .btn { display: none; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}
