@font-face {
  font-family: "DotCenter Myriad";
  src: url("/assets/dotcenter/myriadpro-regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DotCenter Myriad";
  src: url("/assets/dotcenter/myriadpro-bold.otf") format("opentype");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #06152c;
  --navy-2: #0a213f;
  --cyan: #1fb6df;
  --cyan-2: #6adcf4;
  --ink: #142032;
  --muted: #5c6a7d;
  --line: #d7e2ed;
  --soft: #f4f8fb;
  --surface: #ffffff;
  --green: #159f7c;
  --amber: #d99b2b;
  --red: #bd4b5d;
  --shadow: 0 24px 54px rgba(6, 21, 44, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: #0c77ab;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #085878;
}

a:focus-visible {
  outline: 3px solid rgba(31, 182, 223, 0.42);
  outline-offset: 3px;
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -52px;
  z-index: 40;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(215, 226, 237, 0.26);
  background: rgba(6, 21, 44, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(106, 220, 244, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan-2);
  font-size: 24px;
  font-weight: 800;
}

.brand-text {
  display: grid;
  line-height: 1.08;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(31, 182, 223, 0.15);
  color: #fff;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 33, 63, 0.18);
  border-radius: 6px;
  padding: 11px 15px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #03111f;
}

.button.dark {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 62px 0 54px;
  background:
    linear-gradient(90deg, rgba(6, 21, 44, 0.94) 0%, rgba(6, 21, 44, 0.86) 42%, rgba(6, 21, 44, 0.36) 100%),
    url("/assets/dotcenter/dotcenter-tech-bg.jpg") center / cover no-repeat;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--cyan-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(31, 182, 223, 0.16);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(42px, 5.7vw, 68px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.lede {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 2.3vw, 25px);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  color: #fff;
  font-size: 24px;
}

.metric span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.identity-card {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.support-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.support-links a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.09);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: #fff;
}

.section.dark {
  background: var(--navy);
  color: #fff;
}

.section-header {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-header p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 18px;
}

.dark .section-header p,
.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.services-grid,
.product-grid,
.segment-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

.service-card,
.product-card,
.segment-chip,
.contact-card,
.process-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-card,
.product-card,
.contact-card,
.process-card {
  padding: 20px;
}

.service-card {
  min-height: 220px;
}

.service-card .tag,
.product-card .tag,
.process-card .tag {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e7f8fd;
  color: #08749c;
  font-size: 12px;
  font-weight: 800;
}

.service-card:nth-child(2) .tag,
.product-card:nth-child(2) .tag {
  background: #ebf8f3;
  color: var(--green);
}

.service-card:nth-child(3) .tag,
.product-card:nth-child(3) .tag {
  background: #fff5df;
  color: #9c660d;
}

.service-card:nth-child(4) .tag {
  background: #fff0f2;
  color: var(--red);
}

.service-card p,
.product-card p,
.process-card p {
  margin-top: 11px;
  color: var(--muted);
}

.product-card {
  min-height: 278px;
  display: flex;
  flex-direction: column;
}

.product-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.segment-chip {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  color: var(--navy);
  font-weight: 800;
  background: #f8fbfd;
}

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

.process-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.process-card .tag {
  background: rgba(31, 182, 223, 0.18);
  color: var(--cyan-2);
}

.process-card h3 {
  color: #fff;
}

.contact-card {
  background: #fff;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.contact-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.link-list li {
  margin: 0;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
  text-decoration: none;
  font-weight: 800;
}

.link-list a span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

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

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

  .services-grid,
  .process-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 740px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    position: static;
  }

  .nav {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 44px 0;
    background-position: 54% center;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-metrics,
  .services-grid,
  .process-row,
  .support-links,
  .segment-grid {
    grid-template-columns: 1fr;
  }

  .contact-item,
  .link-list a {
    flex-direction: column;
  }
}
