:root {
  --navy: #002147;
  --navy-deep: #000d1c;
  --navy-mid: #0a3058;
  --steel: #5a8ab4;
  --steel-bright: #7eacd0;
  --mist: #e7eef6;
  --paper: #f5f8fc;
  --ink: #0b1726;
  --muted: #4d6278;
  --line: rgba(0, 33, 71, 0.12);
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(90, 138, 180, 0.18), transparent 60%),
    radial-gradient(700px 420px at 10% 30%, rgba(0, 33, 71, 0.06), transparent 55%),
    linear-gradient(180deg, #eef3f9 0%, var(--paper) 40%, #edf2f8 100%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem clamp(1.1rem, 3vw, 2.4rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.topbar.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 248, 252, 0.92);
  backdrop-filter: blur(14px);
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #f4f8fc;
  transition: color 0.3s ease;
}

.topbar.is-scrolled .topbar-brand {
  color: var(--navy);
}

.topbar-brand img {
  width: 34px;
  height: auto;
  filter: brightness(1.35);
  transition: filter 0.3s ease;
}

.topbar.is-scrolled .topbar-brand img {
  filter: none;
}

.topbar-cta {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f4f8fc;
  border-bottom: 1px solid rgba(244, 248, 252, 0.45);
  padding-bottom: 0.1rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.topbar.is-scrolled .topbar-cta {
  color: var(--navy);
  border-bottom-color: rgba(0, 33, 71, 0.35);
}

.topbar-cta:hover {
  color: var(--steel-bright);
  border-bottom-color: var(--steel-bright);
}

.topbar.is-scrolled .topbar-cta:hover {
  color: var(--steel);
  border-bottom-color: var(--steel);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 6.5rem 1.25rem 4.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 42%, var(--navy-mid) 100%);
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(126, 172, 208, 0.3), transparent 58%);
  animation: glow-drift 12s ease-in-out infinite alternate;
}

.hero-script {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 45%, black 18%, transparent 78%);
  animation: grid-pan 28s linear infinite;
}

.hero-mark {
  position: absolute;
  left: 50%;
  top: 44%;
  width: auto;
  height: min(380px, 48svh);
  max-width: min(340px, 70vw);
  transform: translate(-50%, -50%);
  opacity: 0.22;
  filter: saturate(1.05) brightness(1.25);
  animation: mark-breathe 10s ease-in-out infinite alternate;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
}

.hero-content {
  width: min(740px, 100%);
  text-align: center;
  color: #f4f8fc;
}

.brand-name {
  margin: 0 0 1.15rem;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 4.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f8fbfe;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(16px);
  animation: rise-in 1s var(--ease-out) 0.12s forwards;
}

.hero-headline {
  margin: 0 auto 1rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: rgba(236, 244, 251, 0.92);
  opacity: 0;
  animation: rise-in 0.95s var(--ease-out) 0.32s forwards;
}

.hero-support {
  margin: 0 auto 2rem;
  max-width: 40ch;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 400;
  color: rgba(214, 228, 241, 0.88);
  opacity: 0;
  animation: rise-in 0.95s var(--ease-out) 0.48s forwards;
  text-wrap: balance;
}

.hero-actions {
  opacity: 0;
  animation: rise-in 0.95s var(--ease-out) 0.64s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.55rem;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy-deep);
  background: linear-gradient(135deg, #f4f8fc 0%, #d5e5f3 100%);
  border: 0;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff 0%, #e3eef8 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--steel-bright);
  outline-offset: 3px;
}

.section-inner {
  width: min(980px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.promise {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.promise h2,
.contact h2 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.18;
  color: var(--navy);
}

.section-lead {
  margin: 0 0 3rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillars li {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 1.25rem 2rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
}

.pillar-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  padding-top: 0.2rem;
}

.pillar-copy {
  color: var(--muted);
  max-width: 42ch;
}

.contact {
  padding: 0 0 clamp(4.5rem, 10vw, 7rem);
}

.contact-inner {
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.5rem, 4vw, 2.75rem);
  background:
    linear-gradient(145deg, rgba(0, 33, 71, 0.94), rgba(10, 48, 88, 0.96)),
    var(--navy);
  color: #eef5fb;
}

.contact h2 {
  color: #f5f9fd;
}

.contact .section-lead {
  color: rgba(214, 228, 241, 0.86);
}

.contact .btn-primary {
  background: linear-gradient(135deg, #f7fbfe 0%, #cfe0f0 100%);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.site-footer {
  padding: 2.75rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.footer-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  width: 140px;
  margin: 0 auto 1.25rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--navy);
}

.footer-meta {
  margin: 0.2rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes glow-drift {
  from {
    transform: translate3d(-2%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 4%, 0) scale(1.08);
  }
}

@keyframes grid-pan {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 48px 48px, 48px 48px;
  }
}

@keyframes mark-breathe {
  from {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.16;
  }
  to {
    transform: translate(-50%, -51%) scale(1.03);
    opacity: 0.24;
  }
}

@media (max-width: 720px) {
  .pillars li {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .hero {
    padding-top: 5.5rem;
  }

  .brand-name {
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand-name,
  .hero-headline,
  .hero-support,
  .hero-actions,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-glow,
  .hero-script,
  .hero-mark {
    animation: none !important;
  }
}
