:root {
  --ink: #17343a;
  --muted: #657a7d;
  --line: #dce9e5;
  --paper: #fbfaf4;
  --soft: #f0f8f5;
  --mint: #dff3ec;
  --brand: #138b7b;
  --brand-dark: #0b5f56;
  --sky: #4c9bc8;
  --accent: #d86f45;
  --gold: #d9a441;
  --white: #ffffff;
  --shadow: 0 22px 56px rgba(23, 52, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(216, 111, 69, 0.12), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(76, 155, 200, 0.14), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 34%, #f6fbf8 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

p {
  margin: 0 0 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(215, 231, 228, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(23, 52, 58, 0.05);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 2px;
  min-width: max-content;
}

.brand strong {
  color: #102c31;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #29464b;
  font-size: 14px;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  line-height: 1.2;
}

.nav-cta,
.button.primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(22, 135, 119, 0.2);
}

.button.secondary {
  border: 1px solid rgba(19, 139, 123, 0.32);
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(23, 52, 58, 0.08);
}

.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #edf7f3;
}

.hero.compact {
  min-height: 470px;
}

.hero.compact h1 {
  max-width: 760px;
  font-size: clamp(30px, 3.9vw, 46px);
}

.hero.compact h1::after {
  width: min(140px, 36%);
  height: 4px;
  margin-top: 15px;
}

.hero.compact.archive-hero {
  min-height: 360px;
}

.archive-hero .hero-inner {
  padding: 70px 0 64px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.98;
  filter: saturate(1.08) contrast(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.88) 38%, rgba(255, 253, 248, 0.28) 72%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.06), rgba(255, 253, 248, 0.48));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 82px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  position: relative;
  max-width: 900px;
  color: #102c31;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 720;
  letter-spacing: 0;
}

h1::after {
  content: "";
  display: block;
  width: min(176px, 42%);
  height: 5px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  box-shadow: 0 8px 18px rgba(19, 139, 123, 0.14);
}

h2 {
  position: relative;
  color: #102c31;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
}

h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), rgba(217, 164, 65, 0.75));
}

h3 {
  color: #173238;
  font-size: 20px;
  line-height: 1.22;
}

.hero-lede {
  max-width: 690px;
  margin: 20px 0 0;
  color: #345257;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}

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

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(19, 139, 123, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #21464c;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(23, 52, 58, 0.08);
  backdrop-filter: blur(12px);
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -58px;
  padding: 0 0 30px;
}

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

.trust-grid div {
  padding: 22px 24px;
  border: 1px solid rgba(19, 139, 123, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.trust-grid strong {
  display: block;
  color: #102c31;
  font-size: 20px;
  line-height: 1.2;
}

.trust-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 90px 0;
}

.articles-section {
  padding-top: 54px;
}

.section.soft {
  background: var(--soft);
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.62fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-head h2 {
  max-width: 760px;
}

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

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

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

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 76px 28px 28px;
  border: 1px solid rgba(22, 135, 119, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at top right, rgba(19, 139, 123, 0.18), transparent 36%);
  box-shadow: 0 16px 38px rgba(23, 52, 58, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 28px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(19, 139, 123, 0.95), rgba(76, 155, 200, 0.78));
  box-shadow: 0 10px 20px rgba(19, 139, 123, 0.22);
}

.grid .card:nth-child(2n)::before {
  background: linear-gradient(135deg, rgba(216, 111, 69, 0.92), rgba(217, 164, 65, 0.78));
}

.grid .card:nth-child(3n)::before {
  background: linear-gradient(135deg, rgba(76, 155, 200, 0.92), rgba(19, 139, 123, 0.78));
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 139, 123, 0.24);
  box-shadow: 0 24px 52px rgba(23, 52, 58, 0.13);
}

.card strong {
  display: block;
  margin-bottom: 10px;
  color: #123239;
  font-size: 21px;
  line-height: 1.22;
}

.card p,
.muted {
  color: var(--muted);
}

.service-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.64fr);
  gap: 50px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(19, 139, 123, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 50px rgba(23, 52, 58, 0.07);
}

.feature-band p {
  color: var(--muted);
  font-size: 18px;
}

.feature-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.list {
  display: grid;
  gap: 13px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #314e53;
}

.list li {
  position: relative;
  padding-left: 24px;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.steps {
  counter-reset: step;
}

.steps .card {
  position: relative;
  padding-top: 62px;
}

.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 24px;
  left: 28px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid rgba(22, 135, 119, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(23, 52, 58, 0.05);
}

.faq summary {
  cursor: pointer;
  padding: 19px 22px;
  color: #15383e;
  font-weight: 720;
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--muted);
}

.breadcrumb {
  margin-bottom: 20px;
  color: #4b686d;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-body {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 42px;
  align-items: start;
}

.content-block {
  margin-bottom: 46px;
}

.content-block.spaced {
  margin-top: 46px;
}

.content-block p {
  color: #365157;
  font-size: 17px;
}

.content-block h2 {
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 690;
}

.content-block h2::after {
  width: 62px;
  height: 3px;
  margin-top: 12px;
}

.side-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid rgba(22, 135, 119, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.side-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--brand-dark);
  font-weight: 720;
}

.side-panel a:last-child {
  border-bottom: 0;
}

.contact-band {
  background:
    radial-gradient(circle at top left, rgba(255, 226, 166, 0.22), transparent 30%),
    linear-gradient(135deg, #0f5d55, #168777 58%, #4d9ad6);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  gap: 30px;
  align-items: center;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-band .eyebrow {
  color: #ffe2a6;
}

.contact-band .button.primary {
  background: var(--white);
  color: var(--brand-dark);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

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

.contact-card {
  display: grid;
  gap: 3px;
  min-height: 68px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.contact-card strong {
  font-size: 16px;
  line-height: 1.2;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-item {
  padding: 24px;
  border: 1px solid rgba(22, 135, 119, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(23, 50, 56, 0.05);
}

.article-item span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 720;
}

.article-item h3 {
  margin-top: 8px;
}

.article-item h3 a {
  color: #173238;
}

.article-item h3 a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(22, 135, 119, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.article-lede {
  margin: 0 0 36px;
  padding: 20px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(223, 243, 236, 0.78), rgba(255, 255, 255, 0.82));
  color: #345257;
  font-size: 18px;
  line-height: 1.7;
}

.note-box {
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(217, 164, 65, 0.26);
  border-radius: 8px;
  background: rgba(255, 249, 232, 0.76);
  color: #365157;
}

.note-box strong {
  display: block;
  margin-bottom: 6px;
  color: #173238;
  font-size: 18px;
}

@media (max-width: 920px) {
  .nav {
    min-height: auto;
    padding: 15px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .hero::after {
    background:
      linear-gradient(180deg, rgba(247, 251, 249, 0.94), rgba(247, 251, 249, 0.72) 52%, rgba(247, 251, 249, 0.18)),
      linear-gradient(90deg, rgba(247, 251, 249, 0.64), rgba(247, 251, 249, 0.22));
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .feature-band,
  .page-body,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .side-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .nav-links {
    gap: 16px;
  }

  .hero-inner {
    padding: 64px 0 58px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .section {
    padding: 66px 0;
  }

  .hero.compact.archive-hero {
    min-height: 340px;
  }

  .archive-hero .hero-inner {
    padding: 54px 0 50px;
  }

  .articles-section {
    padding-top: 38px;
  }

  .trust-strip {
    margin-top: 0;
    padding-top: 18px;
  }

  .feature-band {
    padding: 22px;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .button,
  .nav-cta {
    width: 100%;
  }
}
