:root {
  --ink: #121417;
  --muted: #5b6673;
  --line: #dfe4ea;
  --paper: #ffffff;
  --mist: #eef5f7;
  --coal: #0f1720;
  --red: #d83a30;
  --blue: #2563eb;
  --teal: #0f766e;
  --amber: #b7791f;
  --shadow: 0 20px 55px rgba(15, 23, 32, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 178px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #334155;
  font-size: 0.96rem;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 28px 0 25px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.button,
.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--coal);
  background: var(--coal);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.button.secondary {
  color: var(--coal);
  background: transparent;
  border-color: #b9c3ce;
}

.button:hover,
.nav-action:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 23, 32, 0.92), rgba(15, 23, 32, 0.72) 52%, rgba(15, 23, 32, 0.32)),
    linear-gradient(135deg, #172234, #224655 48%, #f7fafc 48%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: 2vw;
  top: 130px;
  width: min(410px, 32vw);
  aspect-ratio: 1.18;
  background:
    linear-gradient(#f8fafc, #f8fafc) padding-box,
    linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.1)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  opacity: 0.82;
}

.hero::before {
  content: "";
  position: absolute;
  right: 5vw;
  top: 182px;
  width: min(330px, 26vw);
  height: 220px;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--red) 0 32%, transparent 32% 100%) 0 0 / 100% 28px no-repeat,
    linear-gradient(90deg, #17324d 0 88%, transparent 88% 100%) 0 68px / 100% 14px no-repeat,
    linear-gradient(90deg, var(--teal) 0 64%, transparent 64% 100%) 0 105px / 100% 14px no-repeat,
    linear-gradient(90deg, var(--amber) 0 76%, transparent 76% 100%) 0 142px / 100% 14px no-repeat,
    linear-gradient(90deg, var(--blue) 0 54%, transparent 54% 100%) 0 179px / 100% 14px no-repeat;
  opacity: 0.75;
}

.hero-inner,
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 86px 0 68px;
}

.eyebrow,
.label {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffcf6f;
}

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

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.55rem;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  line-height: 1.68;
  margin-bottom: 30px;
}

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

.hero .button.secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.hero .button.secondary:hover {
  border-color: var(--red);
}

.hero-meta {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 880px;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-left: 1px solid rgba(255,255,255,0.2);
}

.hero-meta div {
  padding: 18px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.hero-meta strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.hero-meta span {
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.section {
  padding: 78px 0;
}

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

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

.section-head {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-head p,
.lead,
.card p,
.list li,
.split p {
  color: var(--muted);
  line-height: 1.72;
}

.section.dark .section-head p,
.section.dark .card p,
.section.dark .list li {
  color: rgba(255,255,255,0.72);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

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

.client-mark {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--coal);
  font-size: 1.12rem;
  font-weight: 900;
  text-align: center;
}

.client-mark strong {
  display: block;
}

.client-mark.other {
  color: var(--muted);
  font-weight: 800;
}

.logo-card img {
  max-width: 170px;
  max-height: 72px;
  object-fit: contain;
}

.seal-card img {
  max-width: 64px;
  max-height: 64px;
}

.seal-card span {
  color: var(--coal);
  font-size: 0.95rem;
  font-weight: 900;
}

.client-mark.other strong {
  color: var(--coal);
  font-size: 1.25rem;
}

.client-mark.other span {
  font-size: 0.9rem;
  line-height: 1.4;
}

.state-mark {
  color: #17324d;
}

.seal {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
}

.verizon-mark {
  color: #171717;
  font-size: 1.35rem;
}

.check {
  width: 34px;
  height: 18px;
  border-right: 4px solid #d52b1e;
  border-bottom: 4px solid #d52b1e;
  transform: rotate(38deg);
}

.att-mark {
  color: #0073cf;
  font-size: 1.28rem;
}

.globe {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    linear-gradient(transparent 42%, #fff 42% 52%, transparent 52%),
    linear-gradient(90deg, transparent 42%, #fff 42% 52%, transparent 52%),
    #0073cf;
}

.tmobile-mark {
  color: #e20074;
  font-size: 1.3rem;
}

.dots {
  color: #e20074;
  line-height: 1;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
}

.webmd-mark {
  color: #0f4c81;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.pfizer-mark {
  color: #ffffff;
  background: #0057b8;
  border-color: #0057b8;
  border-radius: 48px;
  font-style: italic;
  font-size: 1.42rem;
}

.section.dark .card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.13);
}

.tracks {
  counter-reset: track;
}

.track {
  position: relative;
  min-height: 240px;
}

.track::before {
  counter-increment: track;
  content: "0" counter(track);
  display: block;
  margin-bottom: 26px;
  color: var(--red);
  font-weight: 900;
}

.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

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

.list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.section.dark .list li {
  border-color: rgba(255,255,255,0.15);
}

.systems-map {
  min-height: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.system-tile {
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
}

.system-tile.large {
  grid-column: 1 / -1;
}

.bar {
  height: 10px;
  margin-top: 14px;
  background: rgba(255,255,255,0.16);
}

.bar span {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--c);
}

.page-hero {
  padding: 86px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--coal), #1f4950);
}

.page-hero h1 {
  max-width: 900px;
  font-size: 3.45rem;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255,255,255,0.78);
  font-size: 1.12rem;
  line-height: 1.7;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

label {
  display: block;
  color: #303943;
  font-weight: 800;
  line-height: 1.6;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border-radius: 4px;
}

textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.cta-band {
  padding: 56px 0;
  color: #fff;
  background: var(--red);
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-layout p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.site-footer img {
  width: 160px;
  margin-bottom: 14px;
}

.site-footer h3 {
  color: var(--ink);
}

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

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

@media (max-width: 940px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .nav-links a {
    padding: 0 0 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  h1 {
    font-size: 3.1rem;
  }

  .page-hero h1,
  h2 {
    font-size: 2.35rem;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .split,
  .process,
  .contact-panel,
  .footer-grid,
  .hero-meta,
  .client-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 150px;
  }

  .nav-action,
  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.45rem;
  }

  .page-hero h1,
  h2 {
    font-size: 2rem;
  }

  .hero-inner,
  .section,
  .page-hero {
    padding: 54px 0;
  }

  .hero-actions,
  .cta-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .systems-map {
    grid-template-columns: 1fr;
  }

  .system-tile.large {
    grid-column: auto;
  }
}
