@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --ink: #f7f7ef;
  --charcoal: #030b22;
  --paper: #081a3a;
  --mist: #102e5c;
  --line: #294a7a;
  --muted: #b1c2df;
  --accent: #86d83f;
  --blue: #7db4ff;
  --gold: #d7ab4e;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #030b22;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 26, 58, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.utility {
  background: #020817;
  color: #dbe8ff;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.utility-inner,
.nav-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 42px;
}

.utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-links,
.actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility a {
  opacity: 0.86;
  transition: opacity 160ms ease, color 160ms ease;
}

.utility a:hover {
  color: var(--accent);
  opacity: 1;
}

.nav-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px rgba(0, 0, 0, 0.22));
}

.brand-name {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 2px;
  height: 100%;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  border: 0;
  background: transparent;
  padding: 32px 17px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-item:hover .nav-link,
.nav-item.is-open .nav-link,
.nav-link:focus-visible {
  background: var(--mist);
  outline: none;
}

.nav-item:hover .nav-link::after,
.nav-item.is-open .nav-link::after {
  transform: translateY(1px) rotate(225deg);
}

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(920px, calc(100vw - 56px));
  transform: translate(-50%, 10px);
  background: #0b2148;
  border-top: 4px solid var(--accent);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 170ms ease, transform 170ms ease;
}

.nav-item:hover .mega,
.nav-item.is-open .mega,
.nav-link:focus-visible + .mega {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  min-height: 250px;
}

.mega-feature {
  padding: 34px;
  color: var(--ink);
  background: linear-gradient(135deg, #020817, #123a77);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mega-feature strong {
  display: block;
  font-size: 1.78rem;
  line-height: 1.08;
  font-weight: 500;
}

.mega-feature p {
  max-width: 28ch;
  margin: 18px 0 0;
  color: #d1def5;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
}

.mega-column {
  padding: 32px 30px;
  border-right: 1px solid var(--line);
}

.mega-column:last-child {
  border-right: 0;
}

.mega-column h3 {
  margin: 0 0 17px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mega-column a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #2c5084;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.9rem;
  line-height: 1.25;
}

.mega-column a::after {
  content: ">";
  color: var(--blue);
  font-weight: 800;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mega-column a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.actions {
  justify-content: flex-end;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.search {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #0b2148;
  cursor: pointer;
}

.login {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.login:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #050608;
}

.search svg,
.menu svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--accent);
  color: #050608;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.cta:hover {
  background: var(--ink);
  color: #050608;
}

.menu {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  background: #0b2148;
  cursor: pointer;
}

.site-footer {
  background: #020817;
  border-top: 1px solid var(--line);
  color: #cbd9f0;
  font-family: "Open Sans", Calibri, sans-serif;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 54px 42px 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) repeat(4, minmax(150px, 1fr));
  gap: clamp(28px, 4vw, 58px);
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(125, 180, 255, 0.2);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand span {
  color: var(--ink);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand span span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
}

.footer-summary {
  max-width: 35ch;
  margin: 0;
  color: #b8cbe6;
  font-size: 0.92rem;
  line-height: 1.62;
}

.footer-column h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  padding: 7px 0;
  color: #b8cbe6;
  font-size: 0.9rem;
  line-height: 1.35;
  transition: color 160ms ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #90a5c6;
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1060px) {
  .utility {
    display: none;
  }

  .nav-inner {
    min-height: 74px;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    z-index: 30;
    width: 100%;
    display: none;
    height: auto;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 24px 24px;
    background: rgba(8, 26, 58, 0.99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  }

  .site-header.nav-open .primary-nav {
    display: block;
  }

  .nav-item {
    width: 100%;
    display: block;
    border-top: 1px solid var(--line);
  }

  .nav-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    text-align: left;
  }

  .mega {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    display: none;
    transform: none;
    margin: 0 0 18px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    border-top-width: 2px;
  }

  .nav-item.is-open .mega {
    display: block;
    transform: none;
  }

  .nav-item:hover .mega,
  .nav-item.is-open .mega,
  .nav-link:focus-visible + .mega {
    transform: none;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mega-feature,
  .mega-column {
    padding: 20px;
  }

  .mega-column {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .mega-column a {
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    padding: 10px 0;
  }

  .mega-column a::after {
    display: none;
  }

  .actions {
    gap: 10px;
  }

  .search,
  .login {
    display: none;
  }

  .menu {
    display: grid;
  }
}

@media (min-width: 681px) and (max-width: 920px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .nav-inner {
    padding: 0 20px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .brand-name span {
    display: block;
    margin-top: 4px;
    font-size: 0.48rem;
    letter-spacing: 0.18em;
  }

  .cta {
    display: none;
  }

  .primary-nav {
    padding: 0 20px 20px;
  }

  .nav-link {
    padding-left: 0;
    padding-right: 0;
  }

  .mega {
    margin-left: 0;
    margin-right: 0;
  }

  .mega-feature {
    display: none;
  }

  .mega-column {
    padding: 18px 16px;
  }

  .mega-column h3 {
    margin-bottom: 10px;
    font-size: 0.7rem;
  }

  .mega-column a {
    font-size: 0.86rem;
  }

  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-main,
  .footer-bottom {
    display: block;
  }

  .footer-column {
    margin-top: 28px;
  }

  .footer-legal {
    margin-top: 16px;
  }
}

/* ── Web Fonts: Plus Jakarta Sans (UI/labels) · Inter (body copy) ─────── */
/* .brand-name and .footer-brand span intentionally excluded (logo title)  */
.utility-links a,
.eyebrow,
.nav-link,
.mega-column a,
.actions,
.footer-column h3,
.footer-column a,
.footer-bottom,
.footer-legal a {
  font-family: 'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', 'Trebuchet MS', sans-serif;
}

.mega-feature p,
.footer-summary {
  font-family: 'Inter Variable', Inter, 'Open Sans', Calibri, sans-serif;
}
