* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080e20;
  --bg-2: #0d1528;
  --card: #080e20;
  --line: #1d2a47;
  --line-bright: #244176;
  --text: #f5f6fa;
  --muted: #9aa9c2;
  --blue: #2868ee;
  --blue-2: #1d5ee5;
  --max: 1550px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  background: #080d1d;
}

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 138px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: .72;
  font-weight: 800;
  letter-spacing: -3px;
}

.brand-main {
  font-size: 39px;
}

.brand-sub {
  color: var(--blue);
  font-size: 21px;
  letter-spacing: -1px;
  margin-left: 51px;
  margin-top: 4px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  color: #a9b5c9;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  transition: color .2s ease;
}

.desktop-nav a:hover {
  color: #fff;
}

.nav-cta,
.btn-primary {
  background: var(--blue);
  color: white !important;
  border-radius: 4px;
  box-shadow: 0 8px 25px rgba(40, 104, 238, .18);
}

.nav-cta {
  padding: 11px 23px;
}

.announcement {
  height: 54px;
  border-top: 1px solid #151f35;
  border-bottom: 1px solid #293654;
  background: #10182b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

.announcement::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--blue);
}

.announcement-dot,
.person-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  box-shadow: 0 0 9px rgba(40,104,238,.75);
}

.announcement-close {
  position: absolute;
  right: 17px;
  border: 0;
  background: transparent;
  color: #8f9db5;
  font-size: 21px;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 794px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 53% 53%, rgba(27, 65, 155, .38), transparent 34%),
    linear-gradient(180deg, #0a1022 0%, #0a1229 62%, #070d1e 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .6;
  background-image:
    linear-gradient(rgba(54, 89, 159, .20) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 89, 159, .20) 1px, transparent 1px);
  background-size: 59px 59px;
  mask-image: linear-gradient(to bottom, black 0%, black 65%, transparent 100%);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 40%, rgba(37,104,238,.14), transparent 2px),
    radial-gradient(circle at 72% 33%, rgba(37,104,238,.13), transparent 2px),
    radial-gradient(circle at 82% 62%, rgba(37,104,238,.12), transparent 2px);
}

.hero-floor {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -5%;
  height: 40%;
  opacity: .35;
  background-image:
    linear-gradient(30deg, transparent 49.6%, rgba(38, 91, 170, .28) 50%, transparent 50.4%),
    linear-gradient(-30deg, transparent 49.6%, rgba(38, 91, 170, .28) 50%, transparent 50.4%);
  background-size: 100px 75px;
  transform: perspective(450px) rotateX(58deg);
  transform-origin: bottom;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.glow-1 {
  width: 400px;
  height: 300px;
  left: 34%;
  top: 25%;
  background: rgba(22, 65, 170, .16);
}

.glow-2 {
  width: 260px;
  height: 260px;
  right: 10%;
  top: 20%;
  background: rgba(25, 75, 190, .12);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 78px 0 105px;
}

.eyebrow {
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin-bottom: 21px;
}

.hero h1 {
  font-size: clamp(54px, 5.2vw, 78px);
  line-height: .98;
  letter-spacing: -3.2px;
  max-width: 850px;
  font-weight: 800;
}

.hero-copy {
  max-width: 730px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
  margin-top: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 47px;
}

.btn {
  min-height: 58px;
  padding: 0 31px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(8,14,32,.35);
}

.btn-secondary:hover {
  border-color: var(--line-bright);
}

/* Sections */
.section {
  border-top: 1px solid #1b2944;
}

.services {
  background: var(--bg-2);
  padding: 76px 0 89px;
}

.section-intro {
  max-width: 680px;
  margin-left: 1px;
}

.section-intro h2,
.about h2,
.contact h2 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -1.9px;
  font-weight: 800;
}

.section-intro > p:last-child {
  color: var(--muted);
  font-size: 19px;
  margin-top: 18px;
}

.service-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  min-height: 253px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(5, 11, 27, .72);
  padding: 31px 39px;
  transition: border-color .25s ease, transform .25s ease;
}

.service-card:hover {
  border-color: #2c4b83;
  transform: translateY(-3px);
}

.service-number {
  color: #12316e;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 27px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 11px;
}

.service-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 690px;
}

/* About */
.about {
  background: #070d1e;
  padding: 140px 0 153px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: center;
}

.about-heading {
  border-left: 6px solid var(--blue);
  padding-left: 31px;
}

.about-heading .eyebrow {
  margin-left: -37px;
}

.about h2 {
  font-size: clamp(42px, 4vw, 59px);
  line-height: .99;
}

.about-copy > p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.mission-box {
  border: 1px solid #254579;
  background: rgba(14, 24, 45, .65);
  border-radius: 8px;
  padding: 27px 32px;
  margin-top: 31px;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 600;
}

/* Contact */
.contact {
  background: var(--bg-2);
  padding: 126px 0 136px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 96px;
}

.contact h2 {
  font-size: 49px;
}

.contact-description {
  color: var(--muted);
  font-size: 19px;
  max-width: 600px;
  margin-top: 27px;
}

.people {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 185px;
}

.person-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 81px;
  padding: 15px 19px;
  display: flex;
  gap: 18px;
  align-items: center;
  background: rgba(7, 13, 30, .65);
}

.person-card strong,
.person-card em {
  display: block;
  font-style: normal;
}

.person-card strong {
  color: var(--muted);
  font-size: 13px;
}

.person-card em {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

.contact-form {
  padding-top: 1px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.contact-form label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #070d1e;
  color: white;
  outline: none;
  padding: 0 18px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input {
  height: 55px;
}

textarea {
  height: 135px;
  resize: vertical;
  padding-top: 14px;
  margin-top: 0;
}

.contact-form > label {
  margin-top: 23px;
}

input::placeholder,
textarea::placeholder {
  color: #4f5d75;
}

input:focus,
textarea:focus {
  border-color: #2e6ce7;
  box-shadow: 0 0 0 3px rgba(40,104,238,.08);
}

.submit-btn {
  margin-top: 22px;
  min-width: 194px;
}

.form-status {
  color: #6ea0ff;
  margin-top: 12px;
  min-height: 24px;
  font-size: 14px;
}

/* Footer */
.footer {
  background: #070d1e;
  border-top: 1px solid #1b2944;
  padding: 39px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-brand {
  justify-self: start;
  transform: scale(.8);
  transform-origin: left center;
}

.footer p {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 28px;
  color: #9aa9c2;
  font-size: 14px;
}

.footer-links a:hover {
  color: white;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: white;
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 40px), var(--max));
  }

  .desktop-nav {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    background: #080d1d;
    border-top: 1px solid var(--line);
  }

  .desktop-nav.open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 70px 0 90px;
  }

  .hero h1 {
    font-size: clamp(45px, 8vw, 65px);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about {
    padding: 100px 0;
  }

  .contact {
    padding: 90px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    justify-self: center;
  }
}

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

  .nav {
    min-height: 76px;
  }

  .brand-main {
    font-size: 32px;
  }

  .brand-sub {
    font-size: 17px;
    margin-left: 42px;
  }

  .desktop-nav {
    top: 76px;
  }

  .announcement {
    min-height: 50px;
    height: auto;
    padding: 10px 38px 10px 28px;
    text-align: center;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 80px 0 90px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  .hero h1 {
    font-size: 44px;
    letter-spacing: -2px;
  }

  .desktop-only {
    display: none;
  }

  .hero-copy {
    font-size: 17px;
    margin-top: 27px;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 35px;
  }

  .btn {
    width: 100%;
  }

  .services {
    padding: 75px 0;
  }

  .section-intro h2,
  .contact h2 {
    font-size: 40px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }

  .service-card {
    min-height: auto;
    padding: 27px;
  }

  .about-heading {
    padding-left: 20px;
  }

  .about-heading .eyebrow {
    margin-left: -26px;
  }

  .about h2 {
    font-size: 40px;
  }

  .about-copy > p {
    font-size: 17px;
  }

  .mission-box {
    font-size: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .people {
    width: 100%;
  }

  .person-card {
    max-width: 220px;
  }

  .footer {
    padding: 30px 0;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
