:root {
  --navy-950: #031423;
  --navy-900: #01243f;
  --navy-800: #0a3558;
  --blue-500: #22bcf5;
  --blue-600: #378bb2;
  --blue-400: #22bbf5;
  --gold-500: #f2b32d;
  --white: #ffffff;
  --text-muted: #7190a8;
  --line: rgba(1, 36, 63, 0.12);
  --shadow-soft: 0 20px 60px rgba(0, 20, 42, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--navy-900);
  background: #f5f8fc;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-small {
  padding: 48px 0 60px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(13, 15, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header.is-scrolled {
  background: rgba(13, 15, 20, 0.96);
  box-shadow: 0 12px 30px rgba(0, 14, 26, 0.22);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 102px;
}

.brand img {
  width: 170px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-menu a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-bar {
  position: fixed;
  left: 8px;
  top: 50%;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(-50%);
  background: #1c6796;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 32px rgba(0, 20, 42, 0.18);
}

.social-bar a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-bar a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.social-bar a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.social-bar a:hover,
.social-bar a:focus-visible {
  transform: translateX(3px);
  filter: brightness(1.08);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 102px);
  background-color: #01243f;
  background-image: url("../img/hero.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero::after {
  content: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 102px);
}

.hero-copy {
  color: var(--white);
  max-width: 440px;
  padding: 80px 0 72px;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--white);
}

.eyebrow-gold {
  color: var(--gold-500);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #f5a400;
}

.hero-text {
  max-width: 400px;
  margin: 18px 0 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.purpose {
  background:
    linear-gradient(180deg, var(--white) 0%, #f8fbff 100%);
}

.purpose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 48px;
}

.purpose h2,
.section-heading h2,
.newsletter h2,
.about-strip h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy-900);
}

.purpose-copy {
  position: relative;
}

.pillar {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pillar:last-child {
  border-bottom: 0;
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-900));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(34, 188, 245, 0.22);
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3,
.info-card h3,
.audience-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.pillar p,
.section-heading p,
.info-card p,
.audience-card p,
.newsletter p,
.about-strip p,
.footer-brand p {
  margin: 0;
  line-height: 1.7;
  color: #5d7891;
}

.purpose-visual {
  position: relative;
}

.purpose-visual::before {
  content: "";
  position: absolute;
  inset: 8% auto auto 4%;
  width: 76%;
  height: 76%;
  background: linear-gradient(135deg, rgba(34, 188, 245, 0.08), rgba(55, 139, 178, 0.18));
  border-radius: 36px;
  filter: blur(2px);
}

.purpose-visual img {
  position: relative;
  display: block;
  width: min(100%, 640px);
  height: auto;
  margin-left: auto;
}

.solutions {
  background: #f1f4f8;
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p {
  margin-top: 14px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.info-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.95));
  border: 1px solid rgba(55, 139, 178, 0.18);
  border-top: 4px solid var(--blue-600);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 20, 42, 0.16);
}

.audience {
  background: linear-gradient(180deg, #67c4ed 0%, #79d0f4 100%);
}

.audience .section-heading h2,
.audience .section-heading p {
  color: var(--navy-900);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.audience-card {
  overflow: hidden;
  background: rgba(24, 18, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.audience-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.audience-card-body {
  padding: 20px 16px 24px;
  text-align: center;
}

.audience-card h3 {
  color: var(--blue-500);
}

.audience-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.96rem;
}

.newsletter {
  background:
    linear-gradient(180deg, rgba(1, 14, 28, 0.98), rgba(1, 27, 48, 0.98));
}

.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: 32px;
}

.newsletter h2,
.newsletter p,
.newsletter span,
.newsletter .form-note {
  color: var(--white);
}

.newsletter p {
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  max-width: 460px;
}

.newsletter-form label span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.newsletter-form input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(34, 188, 245, 0.16);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue-500);
}

.checkbox span {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.checkbox a {
  color: var(--blue-500);
}

.newsletter-form button {
  width: 170px;
  height: 50px;
  border: 0;
  background: linear-gradient(135deg, var(--blue-500), #4ed1ff);
  color: var(--navy-950);
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form button:hover,
.newsletter-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(34, 188, 245, 0.24);
}

.form-note {
  min-height: 22px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.newsletter-visual img {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin-left: auto;
}

.about-strip {
  background: #061b2f;
  text-align: center;
}

.about-strip h2 {
  margin-bottom: 12px;
  color: var(--gold-500);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.about-strip p {
  max-width: 920px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  background: linear-gradient(180deg, #0d436f 0%, #1270a3 100%);
  color: var(--white);
  padding: 46px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-mail {
  display: inline-block;
  margin-top: 18px;
  color: var(--white);
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-links h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom-bar {
  margin-top: 28px;
  background: #01243f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-bar p {
  margin: 0;
  padding: 12px 0;
  font-size: 0.78rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
}

.reveal {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-left {
  transform: translateX(-36px);
}

.reveal-right {
  transform: translateX(36px);
}

.reveal-up {
  transform: translateY(30px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.legal-page {
  min-height: calc(100vh - 280px);
  padding: 96px 0 80px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
}

.legal-content {
  max-width: 940px;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy-900);
}

.legal-page p {
  max-width: 860px;
  margin: 0 0 14px;
  line-height: 1.75;
  color: #5d7891;
}

.legal-page h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  color: var(--navy-900);
}

.legal-page ul {
  max-width: 860px;
  margin: 0 0 16px 20px;
  padding: 0;
  color: #5d7891;
}

.legal-page li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
  font-weight: 700;
  color: var(--blue-600);
}

@media (max-width: 1080px) {
  .purpose-grid,
  .newsletter-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
    background-position: center center;
  }

  .hero-grid {
    min-height: 760px;
  }

  .hero-copy {
    max-width: 430px;
    padding: 72px 0 48px;
  }

  .purpose-visual img {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .navbar {
    min-height: 84px;
  }

  .brand img {
    width: 150px;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 24px;
    left: 24px;
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: 18px;
    background: rgba(3, 20, 35, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu a {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .solutions-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    backdrop-filter: none;
  }

  .section {
    padding: 64px 0;
  }

  .social-bar {
    left: 8px;
    top: 58%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 38px;
  }

  .pillar {
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 142px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: transparent;
  }

  .hero {
    min-height: calc(100vh - 84px);
    background-color: #01243f;
    background-image: url("../img/hero.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .hero-grid {
    min-height: calc(100vh - 84px);
    align-items: flex-start;
  }

  .hero-copy {
    max-width: 330px;
    padding: 22px 0 36px;
  }

  .eyebrow {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 4rem);
  }

  .hero-text {
    max-width: 300px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .social-bar a {
    width: 50px;
    height: 50px;
  }
}

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

  .reveal,
  .social-bar a,
  .info-card,
  .newsletter-form button,
  .nav-menu,
  .nav-menu a::after,
  .nav-toggle span {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
