:root {
  color-scheme: dark;
  --black: #101113;
  --surface: #15171a;
  --panel: #1b1e22;
  --white: #f6f7f7;
  --muted: #bec4cb;
  --blue: #a9dbff;
  --line: #353940;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--white);
  background: var(--black);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p, dd { line-height: 1.65; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.wrap { width: min(100% - 96px, 1200px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; padding: 12px 20px; background: var(--black); transform: translateY(-120%); }
.skip:focus { transform: translateY(0); }

.header { background: #090a0b; border-bottom: 1px solid #26282b; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 83px; gap: 24px; }
.brand { display: block; flex: none; width: 125px; }
.brand img { mix-blend-mode: screen; }
nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); font-size: .9375rem; font-weight: 600; color: #d2d6db; }
nav a { padding-block: 12px; }
nav a:hover, .contact-links a:hover strong { color: var(--blue); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 49px;
  padding: 10px 21px;
  border: 1px solid #777d83;
  border-radius: 5px;
  font-size: .9375rem;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.header-call { min-height: 41px; border-color: #474c53; white-space: nowrap; }
.header-call:hover, .secondary:hover { border-color: var(--blue); background: #1d2832; }
.primary { background: var(--blue); border-color: var(--blue); color: #111a23; }
.primary:hover { background: #d8efff; border-color: #d8efff; }
.secondary { background: #15171abf; }

.hero {
  display: grid;
  align-items: center;
  min-height: 610px;
  background-color: #17191b;
  background-image: linear-gradient(90deg, #101113 0%, #101113f0 13%, #101113cf 31%, #10111348 59%, #10111305 100%), linear-gradient(0deg, #10111380, transparent 38%), url("assets/hero.jpg");
  background-position: center, center, center 49%;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}
.hero-content { padding-block: 84px 93px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.eyebrow span { width: 25px; height: 1px; background: currentColor; }
h1, h2, h3 { font-weight: 700; }
h1 { max-width: 830px; font-size: clamp(3.3rem, 7.2vw, 6.6rem); line-height: .98; letter-spacing: -.078em; }
h1 em { display: block; color: var(--blue); font-style: normal; }
.hero-copy { max-width: 480px; margin-top: 28px; color: #e1e5e8; font-size: clamp(1.0625rem, 1.55vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }

.section { padding-block: 83px; }
h2 { max-width: 640px; font-size: clamp(2.25rem, 5.2vw, 4.25rem); line-height: 1.02; letter-spacing: -.065em; }
.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: end; }
.section-heading p, .systems-copy, .contact p:not(.eyebrow) { max-width: 440px; color: var(--muted); font-size: 1.0625rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 37px; }
.service { padding: 27px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid #4b6070;
  border-radius: 5px;
  color: var(--blue);
  background: #222f3a;
  font-size: 1.55rem;
  line-height: 1;
}
h3, dt { font-size: 1.375rem; letter-spacing: -.03em; }
.service p, dd { margin-top: 9px; color: var(--muted); }

.systems { background: var(--surface); border-block: 1px solid var(--line); }
.systems-grid, .contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; }
.systems-copy, .contact p:not(.eyebrow) { margin-top: 21px; }
.system-list > div { padding: 18px 0; border-top: 1px solid var(--line); }
.system-list > div:last-child { border-bottom: 1px solid var(--line); }
dt { font-weight: 700; }

.contact { background: #1a2732; }
.contact-links { font-style: normal; }
.contact-links a { display: flex; flex-direction: column; gap: 5px; padding: 13px 0; border-bottom: 1px solid #42515f; }
.contact-links a:first-child { border-top: 1px solid #42515f; }
.contact-links span { color: var(--muted); font-size: .875rem; }
.contact-links strong { overflow-wrap: anywhere; font-size: 1.125rem; }
.footer { background: #090a0b; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 91px; gap: 24px; }
.footer p { color: var(--muted); font-size: .875rem; }
.footer .brand { width: 100px; }

@media (max-width: 860px) {
  .wrap { width: calc(100% - 56px); }
  .hero { min-height: 550px; }
  .systems-grid, .contact-grid { gap: 32px; }
  .service { padding: 21px; }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; padding-block: 10px 2px; gap: 0 10px; }
  .brand { width: 99px; }
  .header-call { order: 1; min-height: 40px; padding-inline: 12px; }
  nav { order: 2; width: 100%; justify-content: space-between; gap: 12px; }
  .hero {
    min-height: 0;
    background-image: linear-gradient(0deg, #101113 0%, #101113f5 42%, #10111399 68%, #10111310 100%), url("assets/hero.jpg");
    background-position: center, 68% top;
    background-size: cover, auto 76%;
    background-repeat: no-repeat;
  }
  .hero-content { padding-block: 185px 55px; }
  h1 { font-size: clamp(2.6rem, 9.2vw, 3.75rem); }
  .hero-copy { margin-top: 22px; }
  .actions { margin-top: 24px; }
  .actions .button { padding-inline: 14px; }
  .section { padding-block: 58px; }
  .section-heading, .systems-grid, .contact-grid, .service-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 14px; }
  .section-heading br { display: none; }
  .service-grid { margin-top: 25px; }
  .service-icon { margin-bottom: 15px; }
  .footer-inner { gap: 14px; }
  .footer .brand { width: 85px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
