:root {
  --ink: #1f2a2e;
  --ink-soft: #41504a;
  --muted: #64716a;
  --line: #d8e1d9;
  --paper: #ffffff;
  --wash: #f4f7f3;
  --wash-strong: #eaf1eb;
  --teal: #008a7a;
  --teal-dark: #006e63;
  --coral: #c94c39;
  --amber: #b97900;
  --moss: #415b50;
  --shadow: 0 18px 42px rgba(31, 42, 46, .12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-main {
  flex: 1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 247, 243, .94);
  border-bottom: 1px solid rgba(216, 225, 217, .9);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: inset 0 -4px 0 rgba(0, 138, 122, .45);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

.nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  background: var(--wash-strong);
}

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

.mobile-menu-btn {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.btn svg,
.mobile-menu-btn svg,
.icon-pill svg,
.field-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

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

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--teal);
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: #fff;
}

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

.section-head h1,
.section-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

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

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

.feature-card,
.module-card,
.metric-card,
.value-card,
.contact-card,
.form-panel,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(31, 42, 46, .06);
}

.feature-card,
.module-card,
.value-card,
.contact-card,
.timeline-item {
  padding: 24px;
}

.feature-card h3,
.module-card h3,
.value-card h3,
.contact-card h3,
.timeline-item h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.feature-card p,
.module-card p,
.value-card p,
.contact-card p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.icon-pill {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

.icon-pill.teal {
  background: var(--teal);
}

.icon-pill.coral {
  background: var(--coral);
}

.icon-pill.amber {
  background: var(--amber);
}

.icon-pill.moss {
  background: var(--moss);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  background: var(--wash);
  font-size: 13px;
  font-weight: 800;
}

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

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

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.cta-inner p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

.site-footer {
  padding: 42px 0 28px;
  color: rgba(255, 255, 255, .78);
  background: #1f2a2e;
}

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

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .72);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
}

.page-hero {
  padding: 86px 0 58px;
  background: var(--wash);
}

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

.page-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.mini-dashboard {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.mini-dashboard-head {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
}

.mini-dashboard-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mini-dashboard-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-tile {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.mini-tile strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
}

.mini-chart {
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(transparent 74%, rgba(0, 138, 122, .2) 75%),
    linear-gradient(90deg, transparent 74%, rgba(65, 91, 80, .16) 75%),
    #fff;
  background-size: 100% 36px, 48px 100%, auto;
  position: relative;
}

.mini-chart::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 54px;
  height: 64px;
  clip-path: polygon(0 82%, 16% 58%, 32% 70%, 48% 28%, 64% 48%, 82% 12%, 100% 30%, 100% 46%, 82% 28%, 64% 64%, 48% 44%, 32% 86%, 16% 74%, 0 98%);
  background: var(--teal);
}

.form-panel {
  padding: 26px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-soft);
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 134px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(0, 138, 122, .18);
  border-color: var(--teal);
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--coral);
}

.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;
}

@media (max-width: 920px) {
  .mobile-menu-btn {
    display: inline-grid;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    grid-template-columns: 1fr;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .grid-3,
  .grid-2,
  .page-hero-inner,
  .footer-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    display: grid;
  }
}

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

  .nav-wrap {
    min-height: 68px;
  }

  .nav-links {
    top: 68px;
    left: 14px;
    right: 14px;
  }

  .brand-text small {
    display: none;
  }

  .nav-actions .btn-primary {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .nav-actions .btn-primary span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

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

  .form-grid,
  .mini-row {
    grid-template-columns: 1fr;
  }
}
