:root {
  color-scheme: light;
  --ink: #13231f;
  --muted: #5f706a;
  --paper: #f5f1e8;
  --surface: #fffdf8;
  --green: #0a604d;
  --green-dark: #073c32;
  --gold: #835507;
  --line: rgba(19, 35, 31, .13);
  --shadow: 0 24px 70px rgba(14, 42, 34, .12);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  z-index: 20;
  left: 1rem;
  top: -5rem;
  padding: .65rem 1rem;
  color: white;
  background: var(--green-dark);
  border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-header.compact { min-height: 76px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .78rem;
  text-decoration: none;
  color: var(--green-dark);
}
.brand-mark { width: 48px; height: 48px; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { letter-spacing: .08em; }
.brand small { margin-top: .23rem; color: var(--muted); letter-spacing: .18em; }
nav { display: flex; align-items: center; gap: 1.65rem; }
nav a {
  color: #33463f;
  font-size: .94rem;
  text-decoration: none;
}
nav a:hover, nav a:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: .3rem; }

.hero {
  width: min(1240px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  background: linear-gradient(145deg, #fdfbf5 0%, #ece9db 58%, #dbe7df 100%);
  border: 1px solid rgba(10, 96, 77, .12);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(7, 60, 50, .12) .7px, transparent .7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to right, transparent 10%, black 100%);
  opacity: .28;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--green);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.2; }
h1 { margin-bottom: 1.4rem; font-size: clamp(2.7rem, 6vw, 5.4rem); letter-spacing: -.045em; }
.hero-lead { max-width: 640px; margin: 0; color: #475952; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .85rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .68rem 1.25rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { color: white; background: var(--green); box-shadow: 0 10px 26px rgba(10, 96, 77, .22); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { color: var(--green); background: rgba(255,255,255,.55); }
.button-secondary:hover { background: white; }

.hero-scene { position: relative; z-index: 1; min-height: 420px; align-self: end; }
.sun { position: absolute; width: 84px; height: 84px; right: 6%; top: 7%; border-radius: 50%; background: #f3c86a; box-shadow: 0 0 60px rgba(243, 200, 106, .6); }
.mountain { position: absolute; clip-path: polygon(0 100%, 17% 55%, 28% 70%, 48% 15%, 65% 62%, 77% 44%, 100% 100%); }
.mountain-back { inset: 23% -16% 11% -5%; background: #a7beb5; opacity: .65; }
.mountain-front { inset: 38% -9% 8% -3%; background: #54766b; }
.market-building {
  position: absolute;
  z-index: 2;
  left: 10%;
  right: 6%;
  bottom: 8%;
  height: 138px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 40px 18px 14px;
  background: #f4e2bf;
  border: 7px solid #704c32;
  border-top-width: 15px;
  box-shadow: 0 18px 30px rgba(21, 46, 38, .22);
}
.market-building::before {
  content: "吉隆边贸市场";
  position: absolute;
  top: 5px;
  width: 100%;
  color: #6c3824;
  font-weight: 800;
  text-align: center;
  letter-spacing: .2em;
}
.market-building span { background: linear-gradient(90deg, #8f5b3a 13%, #23443c 13% 87%, #8f5b3a 87%); border: 3px solid #6d462e; }
.road { position: absolute; z-index: 1; left: -8%; right: -10%; bottom: -18%; height: 120px; transform: perspective(200px) rotateX(45deg); background: linear-gradient(90deg, #6f7873, #a6aaa2 45%, #6f7873); }

.section { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: clamp(5.5rem, 10vw, 8.5rem) 0; }
.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.05rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { min-height: 310px; padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.feature-number { color: var(--gold); font-weight: 800; letter-spacing: .12em; }
.feature-card h3 { margin: 4.2rem 0 1rem; font-size: 1.45rem; }
.feature-card p { margin: 0; color: var(--muted); }

.assurance {
  width: min(1240px, calc(100% - 32px));
  padding-inline: clamp(2rem, 7vw, 6rem);
  color: white;
  background: var(--green-dark);
  border-radius: 32px;
}
.section-heading.light .eyebrow { color: #e9c878; }
.assurance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.assurance-grid div { display: flex; flex-direction: column; gap: .45rem; padding: 2rem; background: var(--green-dark); }
.assurance-grid strong { font-size: 1.18rem; }
.assurance-grid span { color: rgba(255,255,255,.68); }

.progress-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.progress-list li { position: relative; min-height: 180px; padding: 1.4rem; background: rgba(255,255,255,.58); border: 1px solid var(--line); border-radius: 18px; }
.progress-list li > span { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 2.5rem; border: 1px solid #9aaba5; border-radius: 50%; color: var(--muted); font-weight: 800; }
.progress-list li.done > span { color: white; background: var(--green); border-color: var(--green); }
.progress-list li.active { background: white; border-color: var(--gold); box-shadow: 0 12px 35px rgba(71, 71, 39, .08); }
.progress-list li.active > span { color: white; background: var(--gold); border-color: var(--gold); }
.progress-list div { display: flex; flex-direction: column; gap: .35rem; }
.progress-list small { color: var(--muted); line-height: 1.55; }

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 1rem auto 0;
  padding: 2.5rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer > div:first-child { display: flex; flex-direction: column; }
.site-footer strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem 1.2rem; }
.footer-links a { text-underline-offset: .25rem; }
.site-footer > small { grid-column: 1 / -1; }

.document-page { background: #f8f6f0; }
.document-wrap { width: min(820px, calc(100% - 40px)); margin: 4.5rem auto 7rem; }
.document-wrap > h1 { max-width: 760px; margin-bottom: .6rem; font-size: clamp(2.5rem, 7vw, 4.7rem); }
.document-meta { margin: 0 0 4rem; color: var(--muted); }
.document-wrap section { padding: 1.7rem 0; border-top: 1px solid var(--line); }
.document-wrap section h2 { margin-bottom: .7rem; font-size: 1.2rem; }
.document-wrap section p { margin: 0; color: #4f605a; }
.document-footer { margin-top: 0; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; padding: 1rem 0; }
  nav { gap: .85rem 1.2rem; flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 0; }
  .hero-scene { width: min(560px, 100%); min-height: 380px; margin: 0 auto; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .feature-card h3 { margin-top: 2rem; }
  .progress-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .site-header { width: min(100% - 28px, 1180px); flex-direction: column; gap: .8rem; }
  .brand-mark { width: 40px; height: 40px; }
  nav { justify-content: flex-start; }
  nav a { font-size: .87rem; }
  .hero { width: calc(100% - 20px); padding: 2.5rem 1.35rem 0; border-radius: 22px; }
  h1 { font-size: clamp(2.5rem, 15vw, 4rem); }
  .hero-scene { min-height: 310px; }
  .market-building { left: 2%; right: 2%; }
  .section { width: calc(100% - 28px); }
  .assurance { width: calc(100% - 20px); padding-inline: 1.35rem; }
  .assurance-grid, .progress-list { grid-template-columns: 1fr; }
  .progress-list li { min-height: 150px; }
  .progress-list li > span { margin-bottom: 1.7rem; }
  .site-footer { width: calc(100% - 28px); grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .document-wrap { width: calc(100% - 28px); margin-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
