:root {
  --ink: #eaf4ff;
  --muted: #90a4ba;
  --dark: #07101d;
  --panel: #0d1b2d;
  --panel-2: #11243a;
  --line: #213a55;
  --blue: #1685ff;
  --cyan: #22d3ee;
  --green: #8bff6a;
  --light: #eef5fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--dark);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 74px;
  padding: 0 64px;
  background: rgba(6, 16, 28, 0.94);
  border-bottom: 1px solid rgba(33, 58, 85, 0.7);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
}

.header-button,
.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--white);
  background: rgba(13, 27, 45, 0.85);
  border: 1px solid #2a5d8f;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 116px 64px 80px;
  overflow: hidden;
  background-image: url("./assets/apex-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 24, 0.96) 0%, rgba(4, 12, 24, 0.82) 42%, rgba(4, 12, 24, 0.2) 100%),
    linear-gradient(180deg, rgba(4, 12, 24, 0.05), rgba(4, 12, 24, 0.22));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #c1d5ea;
  font-size: 20px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  position: absolute;
  right: 72px;
  bottom: 54px;
  z-index: 1;
  width: 320px;
  padding: 24px;
  background: rgba(7, 16, 29, 0.88);
  border: 1px solid #1d5d99;
  border-radius: 12px;
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  margin-top: 10px;
  color: #b9cce0;
  font-size: 14px;
  line-height: 1.6;
}

.section {
  padding: 96px 64px;
}

.dark {
  background: #081321;
}

.section-heading {
  max-width: 1060px;
  margin-bottom: 58px;
}

h2 {
  margin-bottom: 0;
  font-size: 48px;
  line-height: 1.15;
}

.product-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-grid article,
.step-grid article {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--cyan);
  background: #0b2f55;
  border: 1px solid #1e72c7;
  border-radius: 12px;
  font-weight: 900;
}

.product-grid h3,
.step-grid h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.product-grid p,
.step-grid p,
.supply p,
.procurement p {
  color: var(--muted);
  line-height: 1.65;
}

.supply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 72px;
  align-items: center;
  padding: 96px 64px;
  color: var(--dark);
  background: var(--light);
}

.supply-copy {
  max-width: 760px;
}

.supply-copy .eyebrow {
  color: var(--blue);
}

.supply-copy p {
  font-size: 20px;
}

.supply-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.supply-chips span {
  display: grid;
  gap: 8px;
  padding: 20px;
  color: var(--white);
  background: #07101d;
  border-radius: 8px;
}

.supply-chips b {
  color: var(--cyan);
  font-size: 13px;
}

.flow-panel {
  display: grid;
  gap: 22px;
  padding: 44px;
  background: #07101d;
  border-radius: 18px;
}

.flow-panel>span {
  display: grid;
  align-items: center;
  height: 44px;
  border: 1px solid #1e72c7;
  border-radius: 10px;
  grid-template-columns: 1fr 4fr;
  gap: 12px;
  padding: 0 22px;
}

.flow-panel>span>div {
  height: 18px;
  border-radius: 10px;
  padding: 0 22px;
}

.flow-panel b {
  display: grid;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 10px;
}

.step-grid b {
  display: block;
  margin-bottom: 30px;
  color: var(--green);
}

.procurement {
  padding: 0 64px 70px;
  color: var(--dark);
  background: var(--light);
}

.desk {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  margin: 0 -64px;
  padding: 96px 64px 120px;
  color: var(--white);
  background:
    linear-gradient(165deg, #07101d 0%, #07101d 68%, transparent 68%),
    linear-gradient(170deg, transparent 0%, transparent 68%, #1667d8 68% 84%, transparent 84%),
    var(--light);
}

.desk > div {
  max-width: 820px;
}

.desk p {
  color: #b9cce0;
  font-size: 18px;
}

.desk .button {
  flex: 0 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.6fr;
  gap: 28px;
  margin-top: -54px;
}

.contact-grid article {
  min-height: 220px;
  padding: 34px;
  background: var(--white);
  border: 1px solid #c9d7e5;
  border-radius: 14px;
}

.contact-grid span:first-child {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--blue);
  background: #e7f7ff;
  border: 1px solid #70dfff;
  border-radius: 12px;
  font-weight: 900;
}

.contact-grid h3 {
  margin-bottom: 10px;
  color: var(--dark);
}

.contact-grid a,
.contact-grid p {
  color: #536272;
}

.company-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 30px;
  align-items: center;
  margin-top: 36px;
  padding: 28px 34px;
  background: #dce9f5;
  border: 1px solid #c9d7e5;
  border-radius: 14px;
}

.company-strip strong {
  color: var(--dark);
}

.company-strip span {
  color: #536272;
}

.company-strip b {
  grid-row: span 2;
  color: var(--blue);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 64px;
  color: #536272;
  background: var(--light);
  border-top: 1px solid #c9d7e5;
}

@media (max-width: 960px) {
  .site-header,
  .section,
  .supply,
  .procurement,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  nav,
  .header-button,
  .hero-note {
    display: none;
  }

  .hero {
    padding: 90px 24px 70px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .product-grid,
  .step-grid,
  .supply,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .supply-chips {
    grid-template-columns: 1fr;
  }

  .desk {
    display: grid;
    margin: 0 -24px;
    padding: 70px 24px 100px;
  }

  .company-strip,
  footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
