:root {
  --ink: #111827;
  --muted: #5f6b68;
  --line: #dde5df;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --soft-green: #e8f6f0;
  --soft-gold: #fff5df;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --copper: #d97706;
  --wine: #8b2f57;
  --sky: #dbeafe;
  --shadow: 0 24px 80px rgba(17, 24, 39, .09);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(247, 248, 244, .95) 34rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
  font-weight: 760;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 730;
}

h3 {
  font-size: 1.15rem;
  font-weight: 720;
}

h1 + p {
  margin-top: 28px;
}

h2 + p {
  margin-top: 24px;
}

h3 + p {
  margin-top: 14px;
}

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

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

.top-strip {
  background: #111827;
  color: #fff;
  font-size: .82rem;
}

.top-strip .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-links,
.mini-links,
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.top-strip a {
  color: #fff;
  opacity: .92;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 244, .82);
  border-bottom: 1px solid rgba(221, 229, 223, .72);
  backdrop-filter: blur(22px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
}

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

.brand-text span {
  font-size: .76rem;
  font-weight: 650;
  color: var(--muted);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  position: relative;
  padding: 12px 13px;
  border-radius: 8px;
  color: #374151;
  font-size: .93rem;
  font-weight: 680;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--accent-dark);
  background: transparent;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 7px;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(.6);
  transition: opacity .18s ease, transform .18s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(17, 24, 39, .16);
}

.primary-nav .nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: #f3f6f1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 248, 244, .99) 0%, rgba(247, 248, 244, .98) 45%, rgba(247, 248, 244, .42) 72%, rgba(247, 248, 244, .68) 100%);
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 52%;
  z-index: -2;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-content {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 74px 0 90px;
}

.hero-copy {
  width: min(860px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--copper));
}

.hero p {
  max-width: 610px;
  color: #46524f;
  font-size: 1.12rem;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions {
  max-width: 610px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(15, 118, 110, .2);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--soft-gold);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(820px, calc(100% - 40px));
  margin: -74px auto 0;
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.metric {
  min-height: 145px;
  padding: 26px;
  background: rgba(255, 255, 255, .7);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: 104px 0;
}

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

.section.alt {
  background: rgba(255, 255, 255, .72);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head p {
  margin-top: 24px;
  font-size: 1.05rem;
}

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

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

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

.card {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card.padded {
  padding: 30px;
}

.card:hover {
  box-shadow: 0 22px 60px rgba(17, 24, 39, .09);
  transform: translateY(-2px);
  transition: transform .18s ease, box-shadow .18s ease;
}

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

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--soft-green), #ffffff);
  color: var(--accent-dark);
  border: 1px solid rgba(15, 118, 110, .12);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 54px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.feature-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-item span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--soft-gold), #ffffff);
  color: var(--copper);
  font-weight: 800;
}

.visual-frame {
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quote-band {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    linear-gradient(135deg, #111827 0%, #0f3f3b 58%, #111827 100%);
  color: #fff;
}

.quote-band blockquote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 720;
  line-height: 1.28;
}

.quote-band cite {
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
  font-style: normal;
  font-weight: 650;
}

.article-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  background: #eef5f1;
}

.article-body {
  padding: 24px;
}

.article-card h3 {
  min-height: 3.15rem;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.meta span:last-child {
  margin-left: auto;
  color: #7a8582;
  text-align: right;
}

.link-text {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 780;
}

.post-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.post-article .meta {
  margin-bottom: 24px;
}

.post-article h2 {
  margin: 42px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.post-article p {
  margin-top: 18px;
  font-size: 1.05rem;
}

.post-article ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.post-nav {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.cta-strip {
  padding: 62px 0;
  background:
    linear-gradient(120deg, #0f766e, #115e59 58%, #111827);
  color: #fff;
}

.cta-strip .container {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

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

.cta-strip p {
  max-width: 720px;
  margin: 20px auto 0;
  opacity: .86;
}

.cta-strip .button {
  background: #fff;
  color: var(--accent-dark);
}

.page-hero {
  padding: 92px 0;
  background:
    linear-gradient(120deg, rgba(247, 248, 244, .96) 0%, rgba(232, 246, 240, .9) 52%, rgba(255, 245, 223, .9) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(280px, 390px);
  gap: 40px;
  align-items: center;
}

.page-hero p {
  font-size: 1.1rem;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: .84rem;
  font-weight: 760;
}

.stat-panel {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(222, 219, 210, .85);
  border-radius: 8px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.stat-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat-row strong {
  color: var(--ink);
}

.timeline {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-weight: 800;
}

.service-detail {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
}

.service-number {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--soft-gold), #ffffff);
  color: var(--copper);
  font-size: 2rem;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.insight-feature {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-box {
  display: grid;
  gap: 22px;
}

.contact-line {
  padding: 22px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-line strong {
  display: block;
  margin-bottom: 6px;
}

.form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-helper {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .94rem;
}

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

.field label {
  font-size: .9rem;
  font-weight: 760;
}

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

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

.form-note {
  min-height: 24px;
  margin: 0;
  text-align: center;
  color: var(--accent-dark);
  font-weight: 700;
}

.form .button {
  justify-self: center;
  min-width: 190px;
}

.legal {
  max-width: 900px;
}

.legal h2 {
  margin: 34px 0 14px;
  font-size: 1.35rem;
}

.site-footer {
  background: #111827;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr 1fr;
  gap: 32px;
  padding: 62px 0;
}

.footer-main h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1rem;
}

.footer-main p,
.footer-main a,
.footer-main li {
  color: rgba(255, 255, 255, .75);
}

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

.footer-main a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .86rem;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.risk-note {
  color: rgba(255, 255, 255, .67);
}

@media (max-width: 980px) {
  .top-strip .container {
    justify-content: center;
  }

  .top-links {
    justify-content: center;
  }

  .mini-links,
  .social-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(17, 24, 39, .1);
  }

  .primary-nav.open {
    display: grid;
  }

  .primary-nav a {
    width: 100%;
  }

  .nav-cta {
    margin-top: 4px;
  }

  .hero,
  .hero-content {
    min-height: 590px;
  }

  .hero::after {
    background: rgba(247, 248, 244, .92);
  }

  .hero-visual {
    inset: 0;
    opacity: .18;
  }

  .hero-metrics,
  .grid.three,
  .grid.two,
  .split,
  .page-hero .container,
  .contact-grid,
  .insight-feature {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .nav-shell {
    min-height: 72px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: .95rem;
  }

  .brand-text span {
    font-size: .68rem;
  }

  .hero,
  .hero-content {
    min-height: 560px;
  }

  .hero-content {
    padding: 56px 0;
  }

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
    padding: 22px;
  }

  .section {
    padding: 68px 0;
  }

  .page-hero {
    padding: 64px 0;
  }

  .card.padded,
  .service-detail,
  .form,
  .insight-feature {
    padding: 22px;
  }

  .service-detail,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .service-number {
    width: 70px;
    height: 70px;
    font-size: 1.45rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}
