:root {
  /* Theme tokens: update these values to change the site palette. */
  --bg: #0f2f52;
  --bg-mid: #11365d;
  --bg-secondary: #143b64;
  --bg-deep-rgb: 11, 36, 64;
  --bg-rgb: 15, 47, 82;
  --surface-rgb: 20, 59, 100;
  --surface-hover-rgb: 24, 69, 116;
  --surface-active-rgb: 20, 59, 100;
  --card: rgba(var(--surface-rgb), 0.72);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --blue: #38bdf8;
  --teal: #14b8a6;
  --purple: #8b5cf6;
  --border: rgba(148, 163, 184, 0.18);
}

* {
  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(--text);
  background: var(--bg);
  min-height: 100vh;
}

body::before {
  content: none;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(var(--bg-rgb), 0.86);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 142px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  background: rgba(var(--surface-rgb), 0.5);
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(148, 163, 184, 0.12);
  outline: none;
}

.section {
  padding: 58px 0;
}

section[id] {
  scroll-margin-top: 84px;
}

.hero {
  padding-top: 42px;
  padding-bottom: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin: 0;
  font-size: 3.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.card p,
.pillar p,
.process-step p,
.contact-panel p,
.footer-brand p,
.site-footer li,
.footer-bottom {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 1.04rem;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(var(--surface-rgb), 0.72);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(var(--surface-hover-rgb), 0.82);
}

.hero-panel,
.contact-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.hero-panel {
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: none;
}

.panel-topline,
.signal-card,
.metric-grid {
  position: relative;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.signal-stack {
  display: grid;
  gap: 10px;
}

.signal-card {
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(var(--surface-rgb), 0.7);
}

.signal-card.active {
  border-color: rgba(56, 189, 248, 0.44);
  background: rgba(var(--surface-rgb), 0.7);
}

.signal-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.45;
}

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

.metric-grid div {
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(var(--surface-rgb), 0.7);
}

.metric-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.1rem;
}

.metric-grid span {
  color: var(--soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.section-muted {
  background: var(--bg);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  min-height: 200px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.38);
  background: rgba(var(--surface-rgb), 0.84);
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.card p {
  margin: 14px 0 0;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 58px;
  align-items: start;
}

.pillar-list {
  display: grid;
  gap: 14px;
}

.pillar {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(var(--surface-rgb), 0.58);
}

.pillar h3 {
  color: var(--text);
}

.pillar p {
  margin: 8px 0 0;
}

.badge {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(56, 189, 248, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.badge.teal {
  border-color: rgba(20, 184, 166, 0.34);
  color: var(--teal);
  background: rgba(20, 184, 166, 0.08);
}

.badge.purple {
  border-color: rgba(139, 92, 246, 0.36);
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.1);
}

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

.process-step {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(var(--bg-deep-rgb), 0.48);
}

.process-step span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(56, 189, 248, 0.08);
  font-weight: 900;
}

.process-step p {
  margin: 12px 0 0;
}

.contact-section {
  padding-top: 48px;
}

.contact-panel {
  padding: 40px;
  text-align: center;
}

.contact-panel h2 {
  max-width: 760px;
  margin: 0 auto;
}

.contact-panel p {
  max-width: 820px;
  margin: 18px auto 28px;
  font-size: 1.05rem;
}

.site-footer {
  padding: 60px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(var(--bg-rgb), 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand p {
  max-width: 330px;
  margin: 16px 0 0;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blue);
  outline: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

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

  .hero-panel {
    max-width: 720px;
  }

  .card-grid.four,
  .card-grid.three,
  .process-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 760px) {
  .container,
  .nav {
    width: min(100% - 28px, 1120px);
  }

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .section {
    padding: 46px 0;
  }

  section[id] {
    scroll-margin-top: 124px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .metric-grid,
  .card-grid.four,
  .card-grid.three,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid div {
    min-height: auto;
  }

  .card,
  .service-card,
  .process-step {
    min-height: auto;
  }

  .contact-panel {
    padding: 34px 20px;
  }

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

@media (max-width: 420px) {
  h1 {
    font-size: 2.12rem;
  }

  h2 {
    font-size: 1.72rem;
  }
}
