/* ========================================================================
   Datatriz site-wide stylesheet
   Brand: Navy + Teal. Inter throughout. Montserrat for logo wordmark.
   Shared by every page. Page-specific styles live inline.
   ======================================================================== */

/* === TOKENS ============================================================ */
:root {
  /* Brand */
  --navy:         #0a1628;
  --navy-soft:    #1a2438;
  --teal:         #0d9488;
  --teal-bright:  #14b8a6;
  --teal-soft:    rgba(13, 148, 136, 0.10);

  /* Surfaces */
  --bg:           #ffffff;
  --bg-2:         #fafafa;
  --bg-3:         #f4f4f5;

  /* Text */
  --ink:          #0a1628;
  --ink-soft:     #3f4756;
  --mute:         #71717a;

  /* Borders */
  --line:         #e4e4e7;
  --line-strong:  #d4d4d8;

  /* Type */
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Montserrat', sans-serif;

  /* Layout */
  --container: 1100px;
  --gutter:    clamp(20px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

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

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Section labels */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 18px;
}

/* Reveal-on-scroll (kept from prior version) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* === NAV ============================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.nav__brand span { color: var(--teal); }
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__links a { transition: color 160ms ease; }
.nav__links a:hover { color: var(--navy); }
.nav__cta {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  transition: background 200ms ease;
}
.nav__cta:hover { background: var(--teal-bright); }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* === BUTTONS ========================================================== */
.btn-primary {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: background 200ms ease;
}
.btn-primary:hover { background: var(--teal-bright); }

.btn-secondary {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition: background 200ms ease, border-color 200ms ease;
}
.btn-secondary:hover { background: var(--bg-2); border-color: var(--navy); }

/* === DARK CTA BAND ==================================================== */
.cta-band {
  background: var(--navy);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}
.cta-band__inner { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.cta-band__h2 {
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.cta-band__h2 .accent { color: var(--teal-bright); }
.cta-band__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 30px;
  max-width: 520px;
  margin-inline: auto;
}
.cta-band__btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: background 200ms ease;
}
.cta-band__btn:hover { background: var(--teal-bright); }

/* === FOOTER =========================================================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  font-size: 14px;
  color: var(--mute);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}
.footer__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.footer__brand span { color: var(--teal); }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { transition: color 160ms ease; }
.footer__nav a:hover { color: var(--navy); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer__legal { display: flex; gap: 18px; }
.footer__legal a:hover { color: var(--navy); }
