@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  --dark-blue: #001871;
  --ink-blue: #001b60;
  --light-blue: #00b0b9;
  --paper: #ffffff;
  --mist: #e5e8f1;
  --line: #cdd4e5;
  --text: #102047;
  --muted: #64708f;
  --shadow: 0 18px 60px rgba(0, 24, 113, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dark-blue);
  font-family: "IBM Plex Mono", monospace;
}

.brand-mark {
  display: inline-flex;
  width: 48px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--light-blue);
  color: var(--light-blue);
  font-size: 18px;
  line-height: 1;
}

.brand span:last-child {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 34px);
  color: var(--dark-blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  white-space: nowrap;
}

.nav-links a:hover,
.product-grid a:hover {
  color: var(--light-blue);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--dark-blue);
  border-radius: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  line-height: 1.15;
  text-align: center;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-action,
.button-secondary {
  color: var(--dark-blue);
  background: transparent;
}

.button-primary,
.header-action:hover,
.button-secondary:hover {
  color: var(--paper);
  background: var(--dark-blue);
}

.button-primary:hover {
  color: var(--dark-blue);
  background: var(--paper);
}

.hero,
.scope,
.products,
.contact-band {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: center;
  min-height: calc(100vh - 84px);
  background:
    linear-gradient(110deg, rgba(0, 24, 113, 0.98), rgba(0, 24, 113, 0.86) 46%, rgba(0, 176, 185, 0.22)),
    var(--dark-blue);
  color: var(--paper);
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--light-blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1.03;
}

h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
}

h3 {
  font-size: 24px;
  line-height: 1.18;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero .button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.58);
}

.hero .button-secondary:hover {
  color: var(--dark-blue);
  background: var(--paper);
}

.hero-visual {
  margin: 0;
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.hero-visual figcaption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.section-heading {
  max-width: 960px;
  margin-bottom: 34px;
}

.section-heading p,
.contact-band p,
.scope-grid p,
.product-grid p {
  color: var(--muted);
  font-size: 18px;
}

.scope-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scope-grid article,
.product-grid a {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.scope-grid span,
.product-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--light-blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
}

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

.product-grid a {
  box-shadow: none;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.product-grid a:hover {
  border-color: var(--light-blue);
  transform: translateY(-2px);
}

.product-grid strong {
  display: block;
  color: var(--dark-blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 400;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  background: var(--mist);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--dark-blue);
  font-family: "IBM Plex Mono", monospace;
}

@media (max-width: 1040px) {
  .site-header,
  .hero,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

@media (max-width: 680px) {
  .hero-actions .button {
    width: 100%;
  }

  .scope-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
