:root {
  --gc-ink: #17211b;
  --gc-muted: #66736b;
  --gc-soft: #f6f8fb;
  --gc-surface: #ffffff;
  --gc-surface-2: #f8faf9;
  --gc-primary: #17624f;
  --gc-primary-dark: #0f4b3d;
  --gc-accent: #e4a72f;
  --gc-cobalt: #2458a6;
  --gc-danger: #b42318;
  --gc-warning: #b7791f;
  --gc-success: #13795b;
  --gc-border: rgba(23, 33, 27, .11);
  --gc-border-strong: rgba(23, 33, 27, .18);
  --gc-shadow-sm: 0 1px 2px rgba(23, 33, 27, .05);
  --gc-shadow-md: 0 16px 40px rgba(23, 33, 27, .10);
  --gc-radius: .5rem;
  --gc-radius-sm: .375rem;
  --bs-primary: var(--gc-primary);
  --bs-primary-rgb: 23, 98, 79;
  --bs-link-color: var(--gc-primary);
  --bs-link-hover-color: var(--gc-primary-dark);
  --bs-body-color: var(--gc-ink);
  --bs-body-bg: var(--gc-soft);
  --bs-border-color: var(--gc-border);
  --bs-border-radius: var(--gc-radius);
  --bs-border-radius-lg: var(--gc-radius);
  --bs-border-radius-xl: var(--gc-radius);
  --bs-font-sans-serif: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  font-size: 14px;
  min-height: 100%;
  position: relative;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(246, 248, 251, .95) 34rem),
    var(--gc-soft);
  color: var(--gc-ink);
  font-family: var(--bs-font-sans-serif);
  margin: 0;
  min-height: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gc-primary);
}

a:hover {
  color: var(--gc-primary-dark);
}

:focus-visible {
  outline: 3px solid rgba(var(--bs-primary-rgb), .22);
  outline-offset: 2px;
}

.rounded-4 {
  border-radius: var(--gc-radius) !important;
}

.text-muted,
.small-muted {
  color: var(--gc-muted) !important;
}

.small-muted {
  font-size: .9rem;
}

.box-shadow {
  box-shadow: var(--gc-shadow-sm);
}

.border-top {
  border-top-color: var(--gc-border) !important;
}

.border-bottom {
  border-bottom-color: var(--gc-border) !important;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app-shell {
  max-width: 100vw;
  overflow-x: hidden;
  width: 100%;
}

.app-shell > .d-flex {
  max-width: 100vw;
  min-width: 0;
  overflow-x: hidden;
}

.app-shell .app-sidebar + .d-flex {
  flex: 1 1 0;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.page-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.public-main {
  flex: 1 0 auto;
}

.site-navbar {
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid var(--gc-border);
  box-shadow: 0 10px 30px rgba(23, 33, 27, .06);
  min-height: 4.5rem;
  padding-bottom: .85rem;
  padding-top: .85rem;
}

@supports (backdrop-filter: blur(18px)) {
  .site-navbar {
    backdrop-filter: blur(18px);
  }
}

.navbar-brand {
  color: var(--gc-ink);
  font-weight: 800;
}

.site-brand-mark,
.app-brand-mark,
.icon-tile {
  align-items: center;
  background: var(--gc-primary);
  border-radius: var(--gc-radius);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.site-brand-mark {
  box-shadow: 0 10px 24px rgba(23, 98, 79, .24);
}

.navbar .nav-link {
  border-radius: var(--gc-radius);
  color: #3f4f45;
  font-weight: 650;
  padding-left: .8rem;
  padding-right: .8rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--gc-primary-dark);
}

.site-launch-btn {
  align-items: center;
  display: inline-flex;
  gap: .55rem;
  justify-content: center;
  line-height: 1;
}

.site-launch-btn .bi,
.site-launch-btn span {
  line-height: 1;
}

.navbar-toggler {
  border-color: var(--gc-border);
  border-radius: var(--gc-radius);
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--gc-border);
  color: var(--gc-muted);
  flex-shrink: 0;
  padding: 1.15rem 0;
}

.btn {
  border-radius: var(--gc-radius);
  font-weight: 700;
  letter-spacing: 0;
  min-height: 2.5rem;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--gc-primary);
  border-color: var(--gc-primary);
  box-shadow: 0 10px 20px rgba(23, 98, 79, .18);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--gc-primary-dark);
  border-color: var(--gc-primary-dark);
  color: #fff;
}

.btn-outline-secondary {
  border-color: var(--gc-border-strong);
  color: #334139;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background: #eef5f1;
  border-color: rgba(var(--bs-primary-rgb), .35);
  color: var(--gc-primary-dark);
}

.btn-link {
  color: var(--gc-primary);
  font-weight: 700;
}

.btn-light {
  background: rgba(255, 255, 255, .94);
  border-color: rgba(255, 255, 255, .78);
  color: var(--gc-ink);
}

.form-label {
  color: #334139;
  font-weight: 700;
  margin-bottom: .4rem;
}

.form-control,
.form-select,
.input-group-text {
  border-color: var(--gc-border);
  border-radius: var(--gc-radius);
  box-shadow: none;
}

.form-control,
.form-select {
  background-color: #fff;
  min-height: 2.55rem;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: rgba(var(--bs-primary-rgb), .45);
  box-shadow: 0 0 0 .22rem rgba(var(--bs-primary-rgb), .12);
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.input-group > .form-control,
.input-group > .form-select,
.input-group > .input-group-text,
.input-group > .btn {
  min-height: 2.55rem;
}

.input-group-text {
  background: var(--gc-surface-2);
  color: var(--gc-muted);
}

.form-check-input:checked {
  background-color: var(--gc-primary);
  border-color: var(--gc-primary);
}

.soft-card,
.metric-card,
.card {
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  box-shadow: var(--gc-shadow-sm);
}

.metric-card {
  overflow: hidden;
  position: relative;
}

.metric-card::before {
  background: linear-gradient(180deg, var(--gc-accent), var(--gc-primary));
  content: "";
  height: 100%;
  left: 0;
  opacity: .85;
  position: absolute;
  top: 0;
  width: 3px;
}

.metric-card,
.soft-card {
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.metric-card:hover,
.soft-card:hover {
  border-color: rgba(var(--bs-primary-rgb), .22);
  box-shadow: 0 10px 28px rgba(23, 33, 27, .08);
}

.kpi-value {
  color: var(--gc-ink);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.08;
}

.kpi-label {
  color: var(--gc-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--gc-border);
  color: var(--gc-ink);
}

.table > :not(caption) > * > * {
  padding: .9rem .85rem;
}

.table thead th {
  border-bottom: 1px solid var(--gc-border-strong);
  color: #5e6b63;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.table tbody tr {
  transition: background-color .16s ease;
}

.table tbody tr:hover {
  background: rgba(var(--bs-primary-rgb), .035);
}

.table-responsive {
  scrollbar-color: rgba(23, 98, 79, .35) transparent;
}

.badge {
  border-radius: .35rem;
  font-weight: 800;
  letter-spacing: 0;
}

.text-bg-light {
  background-color: #f2f7f4 !important;
  border: 1px solid rgba(var(--bs-primary-rgb), .14);
  color: #315343 !important;
}

.text-bg-warning {
  background-color: #fff3d7 !important;
  color: #7a4d00 !important;
}

.text-bg-secondary-subtle {
  background-color: #edf2f7 !important;
}

.progress {
  background-color: #e5ece8;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(23, 33, 27, .06);
  overflow: hidden;
}

.progress-bar {
  background-color: var(--gc-primary);
}

.dropdown-menu {
  border-color: var(--gc-border);
  border-radius: var(--gc-radius);
  box-shadow: var(--gc-shadow-md);
  padding: .4rem;
}

.dropdown-item {
  border-radius: .4rem;
  font-weight: 650;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--gc-primary);
}

.modal-content {
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  box-shadow: 0 24px 80px rgba(23, 33, 27, .18);
}

.modal-header,
.modal-footer {
  border-color: var(--gc-border);
}

.alert {
  border-radius: var(--gc-radius);
}

.site-hero {
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(8, 31, 25, .9) 0%, rgba(8, 31, 25, .78) 43%, rgba(8, 31, 25, .22) 70%, rgba(8, 31, 25, .06) 100%),
    url("../img/field-ops-hero.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  margin: -1.5rem calc(50% - 50vw) 0;
  min-height: clamp(520px, calc(100svh - 8rem), 760px);
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) max(1rem, calc((100vw - 1320px) / 2 + .75rem));
  width: 100vw;
}

.hero-copy {
  max-width: 46rem;
}

.hero-eyebrow,
.section-eyebrow {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
}

.hero-eyebrow {
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
}

.hero-copy .display-4 {
  line-height: .98;
  max-width: 12ch;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, .82);
  max-width: 38rem;
}

.hero-proof {
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .78);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.hero-proof strong {
  color: #fff;
  display: block;
  font-size: 1.25rem;
  line-height: 1.1;
}

.home-section {
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.section-eyebrow {
  color: var(--gc-primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-card,
.workflow-panel,
.ops-panel {
  background: #fff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  box-shadow: var(--gc-shadow-sm);
}

.feature-card {
  height: 100%;
  padding: 1.35rem;
}

.feature-card .icon-tile {
  background: #edf6f1;
  color: var(--gc-primary);
}

.ops-panel {
  overflow: hidden;
}

.ops-panel-header {
  background: #f4f7f5;
  border-bottom: 1px solid var(--gc-border);
  padding: .8rem 1rem;
}

.ops-map {
  background:
    linear-gradient(90deg, rgba(23, 98, 79, .12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 88, 166, .12) 1px, transparent 1px),
    #f8fbf9;
  background-size: 38px 38px;
  min-height: 280px;
  position: relative;
}

.ops-route {
  background: rgba(23, 98, 79, .9);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(23, 33, 27, .18);
  height: 1.1rem;
  position: absolute;
  width: 1.1rem;
}

.ops-route.route-1 {
  left: 18%;
  top: 28%;
}

.ops-route.route-2 {
  background: var(--gc-accent);
  left: 48%;
  top: 58%;
}

.ops-route.route-3 {
  background: var(--gc-cobalt);
  left: 72%;
  top: 34%;
}

.ops-route-line {
  background: linear-gradient(90deg, rgba(23, 98, 79, .9), rgba(36, 88, 166, .7));
  border-radius: 999px;
  height: .35rem;
  left: 19%;
  position: absolute;
  top: 44%;
  transform: rotate(16deg);
  transform-origin: left center;
  width: 57%;
}

.workflow-panel {
  padding: 1.5rem;
}

.workflow-step {
  border-top: 1px solid var(--gc-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  padding: 1rem 0;
}

.workflow-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.workflow-step:last-child {
  padding-bottom: 0;
}

.workflow-step-number {
  align-items: center;
  background: #edf6f1;
  border-radius: 999px;
  color: var(--gc-primary);
  display: inline-flex;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

@media (max-width: 991.98px) {
  .site-hero {
    background-image:
      linear-gradient(180deg, rgba(8, 31, 25, .9) 0%, rgba(8, 31, 25, .82) 55%, rgba(8, 31, 25, .55) 100%),
      url("../img/field-ops-hero.jpg");
    background-position: center right;
    min-height: auto;
  }

  .hero-copy .display-4 {
    max-width: 11ch;
  }
}

@media (max-width: 575.98px) {
  .btn-lg {
    min-height: 2.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-navbar {
    min-height: 4rem;
  }

  .site-hero {
    margin-top: -1rem;
    padding-bottom: 3.5rem;
    padding-top: 3rem;
  }
}
