:root {
  color-scheme: light;
  --background: #f7f8f5;
  --text: #18211f;
  --muted: #60706a;
  --surface: #ffffff;
  --surface-alt: #edf4f0;
  --line: #d8e3dd;
  --primary: #168f7a;
  --primary-dark: #0f6658;
  --accent: #f26d59;
  --warm: #f6be74;
  --shadow: 0 22px 54px rgba(24, 33, 31, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: 72px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(247, 248, 245, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.nav-links a,
.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.header-action:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.header-action {
  background: var(--text);
  color: var(--surface);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(430px, 76svh, 700px);
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 248, 245, 0.98) 0%, rgba(247, 248, 245, 0.82) 35%, rgba(247, 248, 245, 0.18) 72%),
    linear-gradient(180deg, rgba(247, 248, 245, 0.92) 0%, rgba(247, 248, 245, 0.06) 45%, rgba(247, 248, 245, 0.38) 100%);
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  align-self: center;
  margin: 0 auto;
  padding-top: 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.8rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 28px rgba(22, 143, 122, 0.24);
}

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

.button-secondary {
  border-color: rgba(24, 33, 31, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.stats-band {
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stat-item {
  min-height: 104px;
  padding: 22px;
  background: var(--surface);
}

.stat-item strong {
  display: block;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.1;
}

.stat-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.section-tint {
  background: var(--surface-alt);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-layout h2 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1.12;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 246px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 28px;
}

.feature-number {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--primary-dark);
  font-weight: 900;
}

.feature-card h3,
.process-item h3 {
  margin: 20px 0 10px;
  font-size: 1.22rem;
  line-height: 1.28;
}

.feature-card p,
.process-item p {
  margin: 0;
  color: var(--muted);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) 1.22fr;
  gap: 56px;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-item {
  position: relative;
  min-height: 116px;
  padding: 24px 24px 24px 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  counter-increment: step;
}

.process-item::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--text);
  color: var(--surface);
  content: counter(step);
  font-weight: 900;
}

.process-item h3 {
  margin-top: 0;
}

.contact-band {
  padding: 76px 0;
  background: var(--text);
  color: var(--surface);
}

.contact-band .eyebrow {
  color: var(--warm);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.contact-details {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-detail {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  line-height: 1.7;
}

.contact-detail span {
  color: var(--warm);
  font-weight: 800;
}

.contact-detail a,
.contact-detail strong {
  color: inherit;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-band .button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--surface);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--text);
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-inline: 20px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .stats-grid,
  .feature-grid,
  .process-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .process-layout,
  .contact-layout {
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 64px;
  }

  .brand-logo {
    height: 42px;
  }

  .header-action {
    min-height: 36px;
    padding-inline: 12px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(247, 248, 245, 0.94) 0%, rgba(247, 248, 245, 0.82) 62%, rgba(247, 248, 245, 0.28) 100%),
      linear-gradient(90deg, rgba(247, 248, 245, 0.96), rgba(247, 248, 245, 0.18));
  }

  .hero-content,
  .section-inner {
    width: min(100% - 32px, 1180px);
  }

  .hero h1 {
    font-size: 2.45rem;
  }

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

  .button {
    width: 100%;
  }

  .stats-grid,
  .feature-grid,
  .process-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .contact-layout h2 {
    font-size: 2rem;
  }

  .feature-card {
    min-height: auto;
  }

  .process-item {
    padding-left: 76px;
  }
}
