:root {
  --ink: #071417;
  --ink-soft: #263638;
  --muted: #657274;
  --paper: #f4f7f6;
  --white: #ffffff;
  --line: #d7e0de;
  --teal: #24d1b5;
  --teal-dark: #087f73;
  --amber: #f0b44c;
  --green: #5ec96f;
  --graphite: #11191b;
  --shadow: 0 18px 55px rgba(7, 20, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(244, 247, 246, 0.94);
  box-shadow: 0 1px 0 rgba(7, 20, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 178px;
  height: auto;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 6px 10px 6px 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: currentColor;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  outline: none;
  background: rgba(36, 209, 181, 0.14);
}

.site-nav .nav-cta {
  color: var(--ink);
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(7, 20, 23, 0.28);
  color: currentColor;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--graphite);
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 20, 23, 0.92) 0%, rgba(7, 20, 23, 0.72) 38%, rgba(7, 20, 23, 0.24) 72%),
    linear-gradient(0deg, rgba(7, 20, 23, 0.78) 0%, rgba(7, 20, 23, 0) 42%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 54px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 7vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.6;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
}

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

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.button.light.secondary {
  color: var(--white);
}

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

.button:hover,
.button:focus-visible {
  outline: 3px solid rgba(240, 180, 76, 0.42);
  outline-offset: 2px;
}

.hero-metrics {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  min-height: 96px;
  padding: 18px;
  background: rgba(7, 20, 23, 0.66);
  backdrop-filter: blur(12px);
}

.hero-metrics strong,
.coverage-grid strong {
  display: block;
  font-size: 1.35rem;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 800;
  text-align: center;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 116px) 0;
}

.section.split,
.coverage {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.section-copy p,
.section-heading p,
.coverage-copy p,
.ops-row p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.terminal-panel {
  overflow: hidden;
  border: 1px solid rgba(7, 20, 23, 0.12);
  border-radius: 8px;
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.panel-top span:nth-child(2) {
  background: var(--amber);
}

.panel-top span:nth-child(3) {
  background: var(--green);
}

.panel-top p {
  margin: 0 0 0 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
}

.feed-list {
  margin: 0;
  padding: 10px;
}

.feed-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 70px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feed-list div:last-child {
  border-bottom: 0;
}

.feed-list dt {
  color: var(--white);
  font-weight: 780;
}

.feed-list dd {
  margin: 0;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
}

.services {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  background: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
}

.service-index {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
  border-radius: 8px;
  color: var(--ink);
  background: #dff9f5;
  font-size: 0.76rem;
  font-weight: 900;
}

.service-card:nth-child(2) .service-index,
.service-card:nth-child(4) .service-index {
  background: #fff1d6;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.coverage-grid div {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.coverage-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.operations {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  background: #e8eeec;
}

.ops-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ops-row div {
  padding-top: 22px;
  border-top: 3px solid var(--teal-dark);
}

.contact {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  color: var(--white);
  background: var(--ink);
}

.contact h2 {
  max-width: 820px;
}

.contact-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: var(--white);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.telemetry-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(390px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 20, 23, 0.94);
  color: var(--white);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.telemetry-consent p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

.telemetry-consent div {
  display: flex;
  gap: 10px;
}

.telemetry-consent .button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.86rem;
}

.consent-decline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .section.split,
  .coverage,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .ops-row {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

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

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding: 112px 0 26px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 20, 23, 0.95) 0%, rgba(7, 20, 23, 0.76) 62%, rgba(7, 20, 23, 0.42) 100%),
      linear-gradient(0deg, rgba(7, 20, 23, 0.86) 0%, rgba(7, 20, 23, 0.1) 54%);
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  h2 {
    font-size: 2.2rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }

  .trust-band,
  .service-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 24px;
  }

  .hero-metrics div {
    min-height: 68px;
    padding: 12px 10px;
  }

  .hero-metrics strong {
    font-size: 1.05rem;
  }

  .hero-metrics span {
    font-size: 0.74rem;
  }

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

  .service-index {
    margin-bottom: 28px;
  }

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

  .telemetry-consent {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }
}
