* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #193c35;
  background: #faf9f4;
  font-family: system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  line-height: 1.75;
}

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

a:hover {
  color: #ce694e;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  background: #fffdf8;
  border-bottom: 1px solid #e7e8df;
  position: sticky;
  top: 0;
  z-index: 10;
}

.wrap {
  width: min(1160px,calc(100% - 40px));
  margin: auto;
}

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

.brand img {
  width: 196px;
  display: block;
}

.links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  background: linear-gradient(110deg,#e6f2e9,#fff8ee);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  min-height: 520px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  color: #bc6a4e;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(34px,4.3vw,60px);
  line-height: 1.2;
  letter-spacing: -.04em;
  margin: 18px 0 20px;
}

.hero p {
  color: #55716a;
  font-size: 17px;
  max-width: 490px;
}

.hero img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 24px 60px #244f3922;
}

.cta,.download {
  display: inline-block;
  background: #194e43;
  color: white;
  border-radius: 40px;
  padding: 12px 24px;
  font-weight: 700;
  margin-top: 18px;
}

.cta:hover,.download:hover {
  background: #2b7263;
  color: white;
}

.section {
  padding: 76px 0;
}

.section h2 {
  font-size: clamp(26px,3vw,37px);
  line-height: 1.35;
  margin: 0 0 12px;
}

.lead {
  color: #6a8078;
  max-width: 720px;
  margin: 0 0 30px;
}

.categories {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.category {
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e7e9df;
}

.category b {
  display: block;
  font-size: 19px;
  margin: 12px 0;
}

.category span {
  font-size: 14px;
  color: #6a8078;
}

.symbol {
  font-size: 30px;
}

.altbg {
  background: #eef3ec;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e5e9df;
}

.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 23px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.card p {
  color: #687f77;
  margin: 0;
}

.meta {
  font-size: 12px;
  color: #a36c56;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.step {
  padding: 28px;
  border-left: 3px solid #e29c75;
  background: #fff;
}

.step strong {
  font-size: 24px;
}

.article {
  max-width: 820px;
  margin: 55px auto 90px;
}

.article h1 {
  font-size: clamp(28px,4vw,44px);
  line-height: 1.3;
}

.article h2 {
  margin-top: 40px;
  font-size: 25px;
}

.article p,.article li {
  color: #4f6a62;
}

.breadcrumb {
  font-size: 13px;
  color: #72847d;
}

.article figure {
  margin: 30px 0;
}

.article figure img {
  border-radius: 16px;
  width: 100%;
}

.article figcaption {
  font-size: 13px;
  color: #7a8b85;
}

.notice {
  border-left: 4px solid #d79d75;
  background: #f1f4ed;
  padding: 16px 20px;
  border-radius: 8px;
}

footer {
  background: #183e36;
  color: #d8e7df;
  padding: 40px 0;
  font-size: 13px;
}

footer a {
  color: #d8e7df;
}

footer .foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.small-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

a:focus-visible {
  outline: 3px solid #d56c4b;
  outline-offset: 3px;
}

@media(max-width:800px) {
  .links {
    gap: 12px;
    flex-wrap: wrap;
  }
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 28px;
    min-height: 0;
  }
  .categories {
    grid-template-columns: repeat(2,1fr);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 48px 0;
  }
}

@media(max-width:560px) {
  .wrap {
    width: min(100% - 28px,1160px);
  }
  .cards,.categories {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 34px;
  }
  .brand img {
    width: 165px;
  }
}

/* V4.1: resilient layouts, keyboard access and mobile overflow protection */
html { scroll-padding-top: 110px; }
body { overflow-wrap: break-word; }
.hero-grid > *, .hero-art, .card, .category { min-width: 0; }
.hero-grid { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); padding-top: 48px; padding-bottom: 48px; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero h1 { overflow-wrap: anywhere; }
.category, .card { transition: transform .18s ease, box-shadow .18s ease; }
.category:hover, .card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #194e4314; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: #fff; color: #183e36; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 680px; }
  html { scroll-padding-top: 150px; }
}
@media (max-width: 560px) {
  .hero-grid { padding-top: 28px; padding-bottom: 36px; }
  .hero h1 { font-size: clamp(29px, 8vw, 34px); }
  .links { column-gap: 14px; row-gap: 6px; }
  .section h2 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .category, .card { transition: none; }
}
