:root {
  --ink: #132235;
  --text: #4a5b6d;
  --muted: #738296;
  --line: #dbe4ec;
  --paper: #ffffff;
  --mist: #f3f8fb;
  --teal: #0f8f9b;
  --blue: #1667b7;
  --navy: #0d2840;
  --shadow: 0 18px 45px rgba(13, 40, 64, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 228, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 10px 22px rgba(22, 103, 183, 0.22);
}

.logo-text {
  font-size: 19px;
}

.logo strong {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue);
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: var(--ink);
}

.nav-cta,
.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-cta,
.btn.primary,
button {
  border: 0;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(22, 103, 183, 0.2);
}

.btn.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.btn:hover,
.nav-cta:hover,
button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(243, 248, 251, 0.96), rgba(243, 248, 251, 0.78)),
    linear-gradient(180deg, #fff, #f3f8fb);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 54px;
  align-items: center;
  min-width: 0;
}

.hero-inner > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  width: 100%;
  max-width: min(720px, 100%);
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: #415466;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  position: relative;
  width: 100%;
  min-height: 470px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(243, 248, 251, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.stats-row {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.stats-row div {
  min-height: 92px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(219, 228, 236, 0.88);
}

.stats-row div:first-child {
  border-radius: 8px 0 0 8px;
}

.stats-row div:last-child {
  border-radius: 0 8px 8px 0;
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row strong {
  color: var(--ink);
  font-size: 18px;
}

.stats-row span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.section,
.band-inner,
.contact-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
  min-width: 0;
}

.section-heading p:not(.section-label),
.lead,
.about p,
.contact-copy p {
  font-size: 17px;
  line-height: 1.75;
}

.section-heading p:not(.section-label) {
  margin: 18px 0 0;
}

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

.product-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 40, 64, 0.06);
}

.product-index {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.product-card p,
.feature-item p,
.process-list span {
  margin: 14px 0 0;
  line-height: 1.65;
}

.band {
  background: var(--navy);
  color: #c9d8e6;
}

.band-inner {
  padding: 88px 0;
}

.band h2,
.band h3 {
  color: #fff;
}

.compact {
  margin-bottom: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.feature-item {
  min-height: 220px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.06);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.lead {
  margin: 22px 0 0;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 118px;
  padding: 0 0 30px 76px;
  border-left: 1px solid var(--line);
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  left: -1px;
  top: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
  transform: translateX(-50%);
}

.process-list li:last-child {
  min-height: auto;
  padding-bottom: 0;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  color: var(--ink);
  font-size: 20px;
}

.about {
  max-width: 920px;
}

.about p {
  margin: 22px 0 0;
}

.contact-section {
  background: var(--mist);
}

.contact-inner {
  padding: 88px 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p {
  margin: 20px 0 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
  font-weight: 500;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 103, 183, 0.1);
}

textarea {
  resize: vertical;
}

button {
  min-height: 48px;
  cursor: pointer;
}

footer {
  color: #c9d8e6;
  background: #081c2e;
}

.footer-inner {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1040px) {
  .nav-links {
    gap: 18px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 380px;
  }

  .hero-media img {
    min-height: 380px;
  }

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

  .split,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 820px) {
  .navbar {
    width: calc(100% - 28px);
    min-height: 68px;
    gap: 12px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 68px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 12px;
  }

  .hero-inner,
  .section,
  .band-inner,
  .contact-inner,
  .footer-inner,
  .stats-row {
    width: calc(100% - 28px);
  }

  .hero-inner {
    padding-top: 56px;
    gap: 34px;
  }

  .hero-media,
  .hero-media img {
    min-height: 310px;
  }

  .stats-row {
    grid-template-columns: 1fr;
    padding-bottom: 42px;
  }

  .stats-row div,
  .stats-row div:first-child,
  .stats-row div:last-child {
    border-radius: 8px;
  }

  .section,
  .band-inner,
  .contact-inner {
    padding: 64px 0;
  }

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

  .feature-grid {
    gap: 1px;
  }

  .product-card {
    min-height: 0;
  }

  .product-index {
    margin-bottom: 24px;
  }

  .process-list {
    margin-left: 28px;
  }

  .process-list li {
    padding-left: 50px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .logo-text {
    font-size: 17px;
  }

  h1 {
    max-width: calc(100vw - 28px);
    font-size: 31px;
    line-height: 1.12;
  }

  h2 {
    font-size: 28px;
  }

  .hero-text,
  .section-heading p:not(.section-label),
  .lead,
  .about p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .contact-buttons {
    display: grid;
  }

  .btn,
  button {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 260px;
  }

  .contact-form {
    padding: 20px;
  }
}
