:root {
  --blue: #1400D2;
  --blue-mid: #0C95C9;
  --blue-dark: #0A0091;
  --blue-light: #EDF0FC;
  --red: #E31E24;
  --red-dark: #B8181D;
  --red-light: #FDE8E9;
  --bg: #F7F8FA;
  --fg: #1A1D21;
  --fg-muted: #5C6370;
  --surface: #FFFFFF;
  --surface-alt: #F0F2F5;
  --border: #D8DBE3;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --radius: 6px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
.wrap {
  width: 100%; max-width: 1140px; margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 2px 12px rgba(20,0,210,.06); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 10px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo img { height: 48px; width: auto; }
.logo-sub {
  font-family: var(--font-display); font-size: 10px; font-weight: 600;
  color: var(--fg-muted); text-transform: uppercase; letter-spacing: .06em;
  line-height: 1.3; max-width: 160px;
}
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 6px 14px; border-radius: 4px;
  text-decoration: none; color: var(--fg-muted);
  font-size: 14px; font-weight: 600; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-light); }
.nav-links a.active { color: var(--blue); }
.hamburger {
  display: none; background: none; border: none;
  color: var(--fg); cursor: pointer; padding: 6px;
}
.hamburger svg { display: block; }
@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px; box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .logo img { height: 36px; }
  .logo-sub { display: none; }
}

/* SECTIONS */
section { padding-block: 60px; }
.section-header { margin-bottom: 36px; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; margin: 0 0 8px; text-wrap: balance;
}
.section-header p { color: var(--fg-muted); font-size: 15px; margin: 0; max-width: 520px; }
.eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--red); margin-bottom: 6px;
}

/* FOOTER */
.footer { background: var(--blue-dark); padding-block: 28px; }
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.6); }
.footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* BACK TO TOP */
.back-top-btn {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s, background .15s;
  box-shadow: 0 2px 12px rgba(20,0,210,.2);
  z-index: 40;
}
.back-top-btn.visible { opacity: 1; pointer-events: auto; }
.back-top-btn:hover { background: var(--blue-dark); }

/* SKIP LINK */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--blue); color: #fff;
  padding: 8px 16px; border-radius: 4px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; z-index: 100;
}
.skip-link:focus { top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
