:root {
  --navy-950: #060f1e;
  --navy-900: #0d1b2a;
  --navy-800: #152235;
  --navy-700: #1e3251;
  --navy-600: #2a4570;
  --sky-400: #1a96c8;
  --sky-btn: #0a6790;
  --sky-btn-hover: #0c7aa8;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --max: 80rem;
  --header: 4.75rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--slate-400);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--sky-400);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  border-radius: 0.5rem;
  background: var(--sky-400);
  color: var(--navy-950);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus { transform: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid var(--navy-700);
  background: rgba(13, 27, 42, 0.8);
  backdrop-filter: blur(12px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-mark {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
}

.brand-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1;
}

.brand-tld {
  font-weight: 600;
  color: var(--sky-400);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.desktop-nav a {
  color: var(--slate-400);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.desktop-nav a:hover { color: var(--sky-400); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--sky-btn);
  color: #fff;
  padding: 0.7rem 1.25rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.desktop-nav a.btn,
.desktop-nav a.btn:hover,
.mobile-menu a.btn,
.mobile-menu a.btn:hover {
  color: #fff;
}

.btn:hover {
  background: var(--sky-btn-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(10, 103, 144, 0.35);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--slate-300);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle span:first-child { margin-top: 0; }

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--navy-700);
  list-style: none;
  font-weight: 500;
}

.mobile-menu a {
  display: block;
  border-radius: 0.5rem;
  color: var(--slate-400);
  padding: 0.65rem 0.75rem;
  text-decoration: none;
}

.mobile-menu a:hover {
  background: var(--navy-800);
  color: var(--sky-400);
}

.mobile-menu .btn {
  margin-top: 0.35rem;
  text-align: center;
}

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: calc(var(--header) + 3rem) 1.5rem 5rem;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--sky-400);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal h1 {
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--navy-700);
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal h2 {
  margin: 2.5rem 0 0.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--navy-700);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal h2:first-of-type {
  margin-top: 1.75rem;
  padding-top: 0;
  border-top: 0;
}

.legal h3 {
  margin: 1.5rem 0 0.4rem;
  color: var(--slate-300);
  font-size: 1.05rem;
  font-weight: 600;
}

.legal p,
.legal address,
.legal li {
  margin: 0 0 1rem;
}

.legal address { font-style: normal; }

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal code {
  color: var(--slate-300);
  font-size: 0.92em;
}

.legal a {
  color: var(--sky-400);
  text-underline-offset: 3px;
}

.legal a:hover { color: #fff; }

.legal a.btn,
.legal a.btn:hover {
  color: #fff;
  text-decoration: none;
}

.legal strong { color: var(--slate-300); }

.site-footer {
  border-top: 1px solid var(--navy-700);
  background: var(--navy-950);
}

.footer-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  text-align: center;
}

.footer-bar p { margin: 0; color: var(--slate-500); font-size: 0.8rem; }

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--slate-500);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-links a:hover { color: var(--sky-400); }

@media (min-width: 720px) {
  .footer-bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1180px) {
  .desktop-nav { display: flex; }
  .nav-toggle, .mobile-menu { display: none; }
}

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