:root {
  --bg: #08121c;
  --bg-soft: #10253a;
  --paper: #e9f1f8;
  --text: #d9e8f6;
  --muted: #9ab0c5;
  --line: rgba(186, 220, 248, 0.18);
  --brand: #59d0ff;
  --brand-strong: #19a4df;
  --accent: #ffd166;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(4, 14, 22, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', 'Avenir Next', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 80% -10%, #1f4e76 0%, transparent 35%),
    radial-gradient(circle at 20% 10%, #143d5f 0%, transparent 30%), var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 18, 28, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand img {
  display: block;
  height: 28px;
  width: auto;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 1.3rem;
}

.nav a {
  color: var(--paper);
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.nav a:hover {
  color: var(--brand);
}

.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  background: transparent;
  color: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero {
  padding: clamp(3rem, 9vw, 6rem) 0 clamp(2rem, 6vw, 4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.1rem;
  align-items: end;
}

.overline,
.section-kicker {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.73rem;
  margin-bottom: 0.85rem;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.3rem, 7vw, 5.4rem);
  max-width: 11ch;
  color: var(--paper);
}

.hero-copy {
  margin-top: 1.2rem;
  color: var(--muted);
  max-width: 55ch;
  font-size: 1.1rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.73rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #06253c;
  border-color: transparent;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}

.hero-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(160deg, rgba(24, 45, 66, 0.76), rgba(11, 24, 37, 0.86));
  box-shadow: inset 4px 0 0 var(--brand);
}

.hero-note p + p {
  margin-top: 0.7rem;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 18, 28, 0.55);
}

.logos-grid {
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.logos-grid span {
  display: inline-flex;
  justify-content: center;
  padding: 0.4rem;
  background: rgba(9, 20, 31, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: clamp(1.8rem, 4.3vw, 3.3rem);
  max-width: 16ch;
  color: var(--paper);
}

.section-copy {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 70ch;
}

.mission-grid,
.vertical-grid,
.partners-grid,
.metrics {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.mission-grid {
  grid-template-columns: repeat(3, 1fr);
}

.mission-grid article,
.vertical-grid article,
.partner-card,
.metrics article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(160deg, rgba(24, 45, 66, 0.72), rgba(11, 24, 37, 0.84));
  box-shadow: var(--shadow);
}

.mission-grid p,
.vertical-grid p {
  color: var(--muted);
}

.alt {
  background: linear-gradient(180deg, rgba(10, 23, 36, 0.72), rgba(9, 18, 29, 0.92));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.model-top {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0.9rem;
}

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

.metrics .value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.metrics .label {
  margin-top: 0.3rem;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.model-top img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.vertical-grid {
  grid-template-columns: repeat(4, 1fr);
}

.vertical-grid .chain {
  background: linear-gradient(160deg, rgba(14, 71, 95, 0.95), rgba(6, 41, 59, 0.95));
  border-color: rgba(89, 208, 255, 0.45);
}

.vertical-grid .chain h3,
.vertical-grid .chain p {
  color: #f5feff;
}

.partners-grid {
  grid-template-columns: repeat(4, 1fr);
}

.partner-card {
  text-align: center;
}

.partner-card img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(89, 208, 255, 0.35);
  display: block;
  margin: 0 auto 0.85rem;
}

.partner-card h3 {
  font-size: 1.02rem;
  color: var(--paper);
}

.partner-card .role {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact {
  background: linear-gradient(130deg, rgba(10, 26, 40, 0.8), rgba(8, 18, 28, 0.95));
}

.contact-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: inset 5px 0 0 var(--accent);
  background: rgba(9, 20, 31, 0.7);
}

.contact-wrap p {
  color: var(--muted);
  margin-top: 0.7rem;
  max-width: 62ch;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.4rem;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 1024px) {
  .logos-grid,
  .mission-grid,
  .vertical-grid,
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .model-top,
  .contact-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    margin-left: 0;
    padding-bottom: 0.7rem;
    flex-direction: column;
    gap: 0.7rem;
  }

  .nav.open {
    display: flex;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .logos-grid,
  .mission-grid,
  .vertical-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }
}
