:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f3f7fc;
  --c-primary: #061529;
  --c-secondary: #0a3d8f;
  --c-tertiary: #1494ff;
  --c-muted: #4a678a;
  --c-line: rgba(10, 61, 143, 0.14);
  --c-white: #ffffff;

  --font-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 0.8rem + 2.4vw, 3rem);
  --maxw: 1180px;
  --header-h: 72px;
  --radius: 20px;
  --shadow: 0 14px 36px rgba(6, 21, 41, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--c-bg); scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-primary);
  background:
    radial-gradient(900px 420px at 50% -80px, rgba(20, 148, 255, 0.16), transparent 60%),
    var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
[id] { scroll-margin-top: 6.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.8rem;
  color: var(--c-primary);
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.45rem); font-weight: 600; }
p { margin: 0 0 1rem; max-width: 62ch; }
a { color: var(--c-secondary); text-underline-offset: 0.16em; }
a:hover { color: var(--c-tertiary); }
:focus-visible {
  outline: 2px solid var(--c-tertiary);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -120px; left: 0; z-index: 200;
  background: var(--c-tertiary); color: var(--c-white); font-weight: 600;
  padding: 0.75rem 1.2rem; text-decoration: none; border-radius: 0 0 10px 0;
}
.skip-link:focus { top: 0; color: var(--c-white); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-tertiary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0.7rem 1.45rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  font-size: 0.98rem;
  transition: transform 220ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}
.btn--primary {
  background: var(--c-tertiary);
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(20, 148, 255, 0.22);
}
.btn--primary:hover { color: var(--c-white); background: #0b7ee0; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-line);
}
.btn--ghost:hover { border-color: var(--c-tertiary); color: var(--c-secondary); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  padding: 0.85rem var(--gutter) 0.35rem;
  pointer-events: none;
}
.header-shell {
  pointer-events: auto;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.header-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.28rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(6, 21, 41, 0.1);
  box-shadow: 0 10px 40px rgba(6, 21, 41, 0.08);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.identity {
  display: none;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--c-primary);
  min-width: 0;
  flex: 0 0 auto;
}
.identity__mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--c-white);
  padding: 2px;
  border: 1px solid var(--c-line);
}
.identity__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.identity__name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
  white-space: nowrap;
}
.identity__name span { color: var(--c-secondary); font-weight: 500; letter-spacing: 0.16em; }

.nav-toggle,
.nav-toggle-label,
.nav-close,
.nav-scrim { display: none !important; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__list {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.95rem;
  margin: 0;
}

@media (max-width: 899.98px) {
  .nav__link { font-size: 0.86rem; min-height: 40px; }
}

@media (min-width: 900px) {
  .header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 64px;
    padding: 0.4rem 0.55rem 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(6, 21, 41, 0.1);
    box-shadow: 0 10px 40px rgba(6, 21, 41, 0.08);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
  }
  .identity { display: inline-flex; }
  .header-bubble {
    grid-column: 2;
    justify-self: center;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    min-height: 0;
  }
  .nav__list { gap: 0.2rem 1.5rem; }
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--c-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav__link:hover { color: var(--c-tertiary); }

@media (min-width: 900px) {
  .identity__mark { width: 50px; height: 50px; }
  .nav__list { gap: 0.2rem 1.6rem; }
  .nav__link { font-size: 0.95rem; }
}

.site-footer {
  border-top: 0;
  padding: 3.4rem 0 1.6rem;
  background: var(--c-primary);
  color: var(--c-white);
}
.site-footer .kicker { color: var(--c-tertiary); }
.site-footer .identity__name { color: var(--c-white); }
.site-footer .identity__name span { color: #8eb8e8; }
.site-footer .btn--ghost { color: var(--c-white); border-color: rgba(255,255,255,0.28); }
.site-footer .btn--ghost:hover { border-color: var(--c-tertiary); color: var(--c-white); }
.footer__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.5fr 0.8fr 1fr; }
}
.footer__brand .identity__name {
  display: inline-block;
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}
.footer__line { color: #8eb8e8; font-size: 0.95rem; max-width: 36ch; }
.footer__list { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.footer__list a, .footer__contact a {
  color: var(--c-white);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer__list a:hover, .footer__contact a:hover { color: var(--c-tertiary); }
.footer__contact p { color: #8eb8e8; font-size: 0.95rem; margin: 0 0 0.35rem; }
.footer__bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer__copy, .footer__legal a { color: #8eb8e8; font-size: 0.82rem; margin: 0; max-width: none; text-decoration: none; }
.footer__legal { list-style: none; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--c-white); }

.legal-page { padding: 3.5rem 0 5rem; }
.legal-page .container { max-width: 46rem; }
.legal-page h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal-page ul { margin: 0 0 1rem 1.2rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.reveal.is-visible, .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}
