:root {
  --navy: #07365f;
  --navy-2: #0d2741;
  --teal: #009b8f;
  --teal-text: #00786f;
  --teal-2: #12b8aa;
  --gold: #c99a24;
  --ink: #102033;
  --text: #3d4a5c;
  --muted: #566577;
  --line: #dce5eb;
  --soft: #f5f8fa;
  --soft-2: #edf6f5;
  --surface: #ffffff;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(7, 54, 95, 0.07);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-padding-top: 96px;
}

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

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

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  font-size: 64px;
  line-height: 1.08;
  font-weight: 700;
  max-width: 820px;
}

h2 {
  font-size: 40px;
  line-height: 1.18;
  font-weight: 700;
  text-wrap: balance;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

p {
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button, summary, a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--teal-text);
  outline-offset: 4px;
}

.footer :focus-visible, .cta-band :focus-visible {
  outline-color: #fff;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

main:focus {
  outline: none;
}

.lucide {
  flex: 0 0 auto;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(220, 229, 235, 0.85);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 190px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.brand-tagline {
  display: block;
  margin-top: 2px;
  color: var(--teal-text);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.nav-links a,
.nav-links summary {
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 10px 11px;
  font: inherit;
  color: #435268;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links summary:hover,
.nav-links [aria-current],
.dropdown[open] > summary {
  color: var(--teal-text);
  background: #eef8f7;
}

.dropdown:has([aria-current="page"]) > summary { color: var(--teal-text); }

.dropdown {
  position: relative;
}

summary {
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

.dropdown > summary {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown[open] > summary .lucide {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 230px;
  display: grid;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dropdown-panel a {
  min-height: 44px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.btn:hover {
  border-color: var(--teal-text);
}

.btn.primary {
  color: #fff;
  background: var(--navy);
}

.btn.primary:hover {
  background: #0a4779;
}

.btn.teal {
  color: #fff;
  background: var(--teal-text);
}

.btn.teal:hover {
  background: #005f58;
}

.btn.secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.btn.ghost {
  color: var(--navy);
  background: transparent;
  border-color: rgba(7, 54, 95, 0.18);
}

.btn.icon {
  width: 44px;
  height: 44px;
  padding: 0;
}

.hero {
  position: relative;
  padding: 48px 0;
  background: #f3f8f7;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--teal-text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 26px;
  flex: 0 0 26px;
  height: 2px;
  background: var(--gold);
}

.hero-lead {
  max-width: 720px;
  margin-top: 20px;
  color: #405067;
  font-size: 20px;
  line-height: 1.6;
}

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

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  max-width: 780px;
}

.proof {
  padding: 14px 0 0;
  border-top: 2px solid var(--line);
}

.proof:nth-child(1) { border-color: var(--navy); }
.proof:nth-child(2) { border-color: var(--teal); }
.proof:nth-child(3) { border-color: var(--gold); }

.proof b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.proof span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.ops-panel {
  background: var(--surface);
  border: 1px solid #d5e2e8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfc;
}

.panel-title small,
.metric small,
.status small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.panel-title strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: #11665f;
  background: #e8f7f5;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 760;
}

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

.panel-body {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
}

.panel-side {
  padding: 12px 8px;
  background: var(--navy-2);
  color: rgba(255, 255, 255, .74);
}

.side-link {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 8px 4px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 720;
}

.side-link.active {
  color: #fff;
  background: rgba(0, 155, 143, .34);
}

.panel-main {
  min-width: 0;
  padding: 16px;
  background: #fff;
}

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

.metric {
  min-width: 0;
  padding: 0 8px;
  border-left: 1px solid var(--line);
}

.metric:first-child { border-left: 0; padding-left: 0; }
.metric small { min-height: 28px; text-transform: none; line-height: 1.4; }

.metric b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.2;
}

.worklist {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.case-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.case-row i,
.feature-icon,
.service-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--teal-text);
  background: #e8f7f5;
  border-radius: 7px;
}

.case-row strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.case-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.case-row .tag { margin-top: 0; color: #0b625d; font-size: 11px; }
.case-row .tag.gold { color: #73540f; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 6px 8px;
  color: #0b625d;
  background: #e8f7f5;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 760;
}

.tag.gold {
  color: #73540f;
  background: #fff4d8;
}

.bar-panel {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.bar {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.bar-track {
  height: 8px;
  background: #e8eef2;
  border-radius: 999px;
  overflow: hidden;
}

.bar-track span {
  display: block;
  height: 100%;
  background: var(--teal);
}

.bar:nth-of-type(3) .bar-track span { background: var(--navy); }
.bar:nth-of-type(4) .bar-track span { background: var(--gold); }

.sample-label,
.page-hero .sample-label {
  margin: 0;
  padding: 10px 16px;
  color: var(--muted);
  background: var(--soft);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding: 64px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
}

.solutions-head {
  display: block;
  max-width: none;
  margin-bottom: 34px;
}

.solutions-head h2 {
  max-width: 1100px;
  text-wrap: balance;
}

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

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

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

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

.grid > *, .hero-grid > *, .page-hero-grid > *, .section-head > *,
.operator > *, .tab-content > *, .footer-grid > *, .local-card > * {
  min-width: 0;
}

.grid.four .card {
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.feature-icon {
  margin-bottom: 16px;
}

.split-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solution-card {
  display: grid;
  gap: 22px;
  grid-template-rows: auto minmax(100px, auto) 1fr auto;
  min-height: 330px;
}

.solution-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.solution-top span {
  color: var(--teal-text);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.mini-flow {
  display: grid;
  gap: 8px;
}

.mini-flow div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e7eef2;
  color: var(--muted);
  font-size: 13px;
}

.mini-flow b {
  color: var(--ink);
}

.operator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.operator-copy p {
  margin-top: 16px;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 0;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 18px 0 18px 48px;
  border-bottom: 1px solid var(--line);
}

.step:first-child { border-top: 1px solid var(--line); }

.step:before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 20px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--teal-text);
  font-weight: 800;
}

.step strong {
  display: block;
  color: var(--ink);
}

.step span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.tab-shell {
  background: #fff;
}

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

.tabs-ready .tabs { display: grid; }

.tab-button {
  min-height: 54px;
  padding: 12px;
  border: 0;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.tab-button.active {
  color: var(--navy);
  background: #eff8f7;
  box-shadow: inset 0 -3px 0 var(--teal);
}

.tab-content {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 24px;
  min-height: 216px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.tab-content.active {
  display: grid;
}

.tab-content p {
  margin-top: 12px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  align-content: start;
}

.check-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  line-height: 1.45;
}

.check-list li:before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.quote-panel {
  padding: 8px 0 8px 24px;
  border-left: 3px solid var(--gold);
}

.quote-panel h2 {
  font-size: 20px;
  text-wrap: initial;
}

.page-hero .quote-panel p {
  color: var(--text);
  margin-top: 12px;
  font-size: 16px;
}

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.local-card {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.local-card p { margin-top: 10px; color: var(--muted); }

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

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band h2 { max-width: 780px; font-size: 32px; text-wrap: initial; }
.cta-band .btn { max-width: 100%; }

.cta-band p {
  opacity: .84;
  margin-top: 12px;
}

.footer {
  padding: 44px 0 60px;
  background: #fff;
  color: var(--text);
}

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

.footer img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

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

.footer h3 { font-size: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand strong { font-size: 18px; color: var(--navy); }
.footer :focus-visible { outline-color: var(--teal-text); }

.footer p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.footer a:hover {
  color: var(--teal-text);
  text-decoration: underline;
}

.page-hero {
  padding: 56px 0;
  background: #f3f8f7;
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 64px;
  align-items: center;
}

.page-hero h1 { font-size: 48px; max-width: 680px; text-wrap: balance; }
.page-hero .page-lead { color: var(--ink); font-size: 24px; line-height: 1.4; }

.page-hero p {
  margin-top: 22px;
  color: #405067;
  font-size: 18px;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .operator,
  .tab-content,
  .page-hero-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .nav-links,
  .nav-actions .btn.primary {
    display: none;
  }

  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; }
  .mobile-menu .menu-close, .mobile-menu[open] .menu-open { display: none; }
  .mobile-menu[open] .menu-close { display: block; }

  .mobile-panel {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 22px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .mobile-panel a {
    padding: 13px 0;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }

  .mobile-panel [aria-current] { color: var(--teal-text); }
  .mobile-panel a:last-child { border: 0; }

  .grid.four,
  .grid.three,
  .local-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ops-panel {
    width: 100%;
    max-width: none;
  }

  .hero-grid, .page-hero-grid, .operator { gap: 32px; }
  .section-head { gap: 20px; }
  .section-head p { max-width: 680px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

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

  .section.tight { padding: 40px 0; }
  .hero { padding-top: 32px; }
  .hero-lead { font-size: 18px; }
  .hero-actions, .subnav { display: grid; grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 36px; text-wrap: initial; }
  .page-hero .page-lead { font-size: 21px; }
  .eyebrow { font-size: 11px; }
  .proof b { font-size: 16px; }
  .proof span { font-size: 12px; }
  .proof-row { gap: 14px; }

  .grid.four,
  .grid.three,
  .local-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .panel-body {
    grid-template-columns: 1fr;
  }

  .panel-side {
    display: none;
  }

  .case-row {
    grid-template-columns: 22px minmax(0, 1fr) auto;
  }

  .case-row .tag {
    max-width: 64px;
  }

  .bar {
    grid-template-columns: 56px minmax(0, 1fr) 36px;
  }

  .brand-tagline {
    display: none;
  }

  .brand { min-width: 0; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 17px; }
  .panel-top { padding: 14px; gap: 8px; }
  .panel-title strong { font-size: 16px; }
  .panel-main { padding: 14px; }
  .metric b { font-size: 23px; }
  .metric small { min-height: 32px; }
  .case-row strong { font-size: 13px; }
  .status-dot { padding: 6px 8px; }
  .tab-button { padding: 10px 6px; font-size: 12px; min-height: 60px; }
  .tab-content { padding: 24px 0; min-height: 320px; gap: 20px; }
  .footer-grid { gap: 28px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer a { padding: 6px 0; margin-top: 4px; }
  .cta-band { padding: 40px 0; }
  .cta-band h2 { font-size: 28px; }
}

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