:root {
  color-scheme: light;
  --bg: #f1f3f5;
  --paper: #ffffff;
  --ink: #121213;
  --muted: #54514b;
  --soft: #dfe6eb;
  --blue: #37699c;
  --blue-2: #52aeeb;
  --blue-soft: #dbeaf4;
  --slate: #688ea8;
  --gold: #947f49;
  --shadow: 0 28px 80px rgba(18, 18, 19, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

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

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px;
  border: 1px solid rgba(18, 18, 19, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 70px rgba(18, 18, 19, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 4px;
}

.nav a,
.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
}

.nav a {
  color: rgba(18, 18, 19, 0.64);
}

.nav a:hover {
  color: var(--ink);
  background: var(--bg);
}

.header-link {
  color: white;
  background: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 136px) 0 clamp(48px, 8vw, 96px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 10.2vw, 9.8rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
  line-height: 1.24;
  text-wrap: balance;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.service-card:hover,
.contact-cards a:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(18, 18, 19, 0.14);
  background: white;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(18, 18, 19, 0.08);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(219, 234, 244, 0.82));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(55, 105, 156, 0.14);
  border-radius: 24px;
  pointer-events: none;
}

.visual-top,
.flow,
.mini-grid,
.visual-card,
.visual-metric {
  position: relative;
  z-index: 1;
}

.visual-top {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue-2);
  box-shadow: 0 0 0 7px rgba(82, 174, 235, 0.15);
}

.visual-metric {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 24px;
  color: white;
  background: var(--ink);
}

.visual-metric span,
.visual-card span,
.mini-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
  font-weight: 800;
}

.visual-metric strong {
  font-size: 4.55rem;
  line-height: 0.9;
}

.flow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 22px;
  background: white;
}

.flow span {
  flex: 1;
  padding: 10px 9px;
  border-radius: 999px;
  text-align: center;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 0.84rem;
  font-weight: 900;
}

.flow i {
  width: 18px;
  height: 2px;
  background: var(--slate);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-grid div,
.visual-card {
  padding: 16px;
  border-radius: 22px;
  background: white;
}

.mini-grid span,
.visual-card span {
  color: var(--muted);
}

.mini-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 2.1rem;
  line-height: 1;
}

.visual-card strong {
  display: block;
  margin-top: 7px;
  line-height: 1.32;
}

.intro,
.section,
.credential-strip,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(24px, 6vw, 90px);
  padding: 34px 0 70px;
  border-top: 1px solid rgba(18, 18, 19, 0.10);
}

.intro-label {
  margin: 0;
  color: var(--gold);
  font-weight: 900;
}

.intro p:last-child {
  margin: 0;
  max-width: 820px;
  font-size: clamp(1.35rem, 3vw, 2.55rem);
  line-height: 1.16;
  text-wrap: balance;
}

.section {
  padding: clamp(64px, 9vw, 114px) 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin-bottom: 32px;
}

.service-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(18, 18, 19, 0.08);
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 58px rgba(18, 18, 19, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(55, 105, 156, 0.34);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 950;
}

.service-card p,
.system-panel p,
.contact-copy p {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.62;
}

.service-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  min-height: 556px;
  color: white;
  background:
    linear-gradient(150deg, rgba(55, 105, 156, 0.95), rgba(18, 18, 19, 0.98));
}

.service-card.featured span {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

.service-card.featured h3 {
  max-width: 560px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  margin-bottom: 14px;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.62;
}

.systems {
  border-top: 1px solid rgba(18, 18, 19, 0.10);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(18, 18, 19, 0.10);
  border-radius: 30px;
  background: rgba(18, 18, 19, 0.10);
}

.system-panel {
  min-height: 240px;
  padding: 26px;
  background: white;
}

.credential-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 1px;
  overflow: hidden;
  border-radius: 30px;
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

.credential-strip div {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 26px;
  background: var(--ink);
}

.credential-strip span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  font-weight: 850;
}

.credential-strip strong {
  align-self: end;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  line-height: 1.18;
  text-wrap: balance;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.58fr);
  gap: clamp(28px, 6vw, 78px);
}

.contact-copy p:not(.eyebrow) {
  margin-top: 18px;
}

.contact-cards {
  display: grid;
  gap: 10px;
}

.contact-cards a {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid rgba(18, 18, 19, 0.08);
  border-radius: 24px;
  background: white;
  box-shadow: 0 16px 50px rgba(18, 18, 19, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-cards a:hover {
  border-color: rgba(55, 105, 156, 0.34);
}

.contact-cards span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.contact-cards strong {
  overflow-wrap: anywhere;
  font-size: 1.18rem;
  line-height: 1.25;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 40px;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--blue);
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .nav {
    display: none;
  }

  .header-link {
    justify-self: end;
  }

  .hero,
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 620px;
  }

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

  .systems-grid,
  .credential-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 8px;
    width: min(100% - 16px, 1180px);
    margin-top: 8px;
  }

  .brand {
    width: 42px;
    height: 42px;
  }

  .header-link {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    border-radius: 24px;
    padding: 16px;
  }

  .flow {
    flex-direction: column;
  }

  .flow i {
    width: 2px;
    height: 14px;
  }

  .mini-grid,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.featured {
    grid-column: span 1;
    min-height: 0;
  }
}
