:root {
  --navy: #07101E; --navy2: #0B1929; --navy3: #0F1E33;
  --teal: #0D9B7A; --teal2: #0B8066; --mint: #3DDBA8;
  --bg: #F2F5F8; --surface: #FFFFFF; --surf2: #F8FAFB;
  --border: #E2E8F0; --border2: #CBD5E1;
  --t1: #07101E; --t2: #374151; --t3: #6B7280; --t4: #9CA3AF;
  --d-t1: #EDF5F2;
  --d-t2: rgba(237,245,242,0.62);
  --d-t3: rgba(237,245,242,0.32);
  --d-bdr: rgba(255,255,255,0.08);
  --font: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--surface);
  color: var(--t1);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100; height: 60px;
}
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; gap: 40px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-w {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--navy);
  line-height: 1;
}
.brand-row { display: flex; align-items: center; margin-top: 6px; }
.brand-rule { width: 18px; height: 2px; background: var(--teal); border-radius: 1px; margin-right: 8px; }
.brand-h { font-size: 11px; font-weight: 400; letter-spacing: 5px; color: var(--teal); text-transform: lowercase; }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav-link { font-size: 13.5px; font-weight: 500; color: var(--t2); text-decoration: none; transition: color 0.16s; }
.nav-link:hover { color: var(--navy); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal); color: white;
  padding: 8px 16px; border-radius: 7px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background 0.16s;
}
.nav-cta:hover { background: var(--teal2); }
.nav-cta::after { content: '→'; font-size: 12px; transition: transform 0.16s; }
.nav-cta:hover::after { transform: translateX(2px); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 130px 32px 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal2);
  margin-bottom: 16px;
}
.page-h {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t3);
  letter-spacing: 0.5px;
}

/* ── LEGAL CONTENT ── */
.legal-section {
  padding: 60px 32px 100px;
  background: var(--surface);
}
.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal-intro {
  background: var(--surf2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal2);
  border-radius: 8px;
  padding: 22px 28px;
  margin-bottom: 50px;
  font-size: 14.5px;
  color: var(--t2);
  line-height: 1.65;
}
.legal-intro strong { color: var(--navy); }
.legal-h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-h2:first-of-type { margin-top: 0; }
.legal-h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-section p {
  font-size: 15px;
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-section ul, .legal-section ol {
  margin: 12px 0 14px 24px;
  color: var(--t2);
}
.legal-section li {
  margin-bottom: 8px;
  line-height: 1.65;
}
.legal-section a {
  color: var(--teal2);
  text-decoration: none;
  border-bottom: 1px solid rgba(13,155,122,0.3);
  transition: border-color 0.16s;
}
.legal-section a:hover { border-bottom-color: var(--teal2); }
.legal-section strong { color: var(--navy); font-weight: 600; }

.contact-block {
  margin-top: 60px;
  padding: 24px 28px;
  background: var(--navy);
  color: var(--d-t1);
  border-radius: 10px;
}
.contact-block h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--d-t1);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.contact-block p {
  color: var(--d-t2);
  font-size: 14px;
  margin: 0;
}
.contact-block a {
  color: var(--mint);
  border-bottom-color: rgba(61,219,168,0.3);
}

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  color: var(--d-t2);
  padding: 70px 32px 30px;
  border-top: 1px solid var(--d-bdr);
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--d-bdr);
}
.footer-brand .brand-w { color: white; }
.footer-tag {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--d-t2);
  line-height: 1.55;
  max-width: 320px;
}
.footer-col-h {
  font-size: 11px;
  font-weight: 700;
  color: var(--d-t1);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-link {
  display: block;
  font-size: 13.5px;
  color: var(--d-t2);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.16s;
}
.footer-link:hover { color: white; }
.footer-static { cursor: default; }
.footer-static:hover { color: var(--d-t2); }
.footer-bot {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 12px;
  color: var(--d-t3);
  font-family: var(--mono);
}
.footer-sep { color: var(--d-t3); margin: 0 6px; opacity: 0.6; }
.footer-email {
  color: var(--mint);
  text-decoration: none;
  font-family: var(--mono);
  transition: color 0.16s;
}
.footer-email:hover { color: white; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--d-t2);
  vertical-align: middle;
  margin-left: 2px;
  transition: color 0.16s, transform 0.16s;
}
.footer-social:hover { color: var(--mint); transform: translateY(-1px); }
.footer-social svg { display: block; }

.footer-badges { display: flex; gap: 14px; align-items: center; }
.fb {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--d-t3);
  border: 1px solid var(--d-bdr);
  border-radius: 4px;
  padding: 4px 9px;
  letter-spacing: 0.6px;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-links .nav-cta { display: inline-flex; }
  .nav-inner { gap: 16px; padding: 0 20px; }
  .page-hero { padding: 100px 20px 40px; }
  .page-h { font-size: 32px; }
  .legal-section { padding: 40px 20px 70px; }
  .footer { padding: 50px 24px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
}

/* Moved from inline style attributes so the CSP can drop 'unsafe-inline' */
.u-text-white { color:white !important; }
