:root {
  --ink: #17251f;
  --ink-soft: #34473f;
  --muted: #69776f;
  --paper: #f8f5ee;
  --panel: #fffdf8;
  --line: #e5ded1;
  --green: #245d49;
  --green-dark: #123d2f;
  --green-pale: #e7f0e9;
  --amber: #b98b4f;
  --amber-pale: #f5ecdc;
  --red: #945347;
  --shadow: 0 24px 70px rgba(25, 52, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 5% 3%, rgba(185, 139, 79, 0.14), transparent 24%),
    radial-gradient(circle at 92% 12%, rgba(36, 93, 73, 0.12), transparent 28%);
  content: "";
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 78px);
  border-bottom: 1px solid rgba(37, 43, 49, 0.08);
  background: rgba(246, 248, 250, 0.95);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--green);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(93, 115, 137, 0.2);
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 17px;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.2vw, 26px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
}

.site-nav a.is-current {
  color: var(--green);
}

.site-nav .nav-contact {
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact:focus-visible {
  color: #fff;
  background: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  min-height: auto;
  padding: clamp(60px, 7vw, 92px) clamp(18px, 5vw, 78px) clamp(54px, 7vw, 88px);
}

.hero-copy {
  max-width: 810px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin-bottom: 28px;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 9px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 26px rgba(93, 115, 137, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.88);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.trust-row span,
.about-tags span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel {
  display: grid;
  gap: 15px;
  min-height: 510px;
  align-content: center;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(93, 115, 137, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 10%, rgba(178, 154, 123, 0.14), transparent 34%),
    linear-gradient(145deg, #edf3f7 0%, #fdfefe 100%);
  box-shadow: var(--shadow);
}

.profile-card,
.market-card,
.hero-contact-card {
  border: 1px solid rgba(20, 32, 28, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(20, 32, 28, 0.08);
}

.profile-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
}

.profile-photo {
  width: 112px;
  height: 112px;
  border-radius: 15px;
  object-fit: contain;
  object-position: center;
  background: #eef2f5;
}

.profile-card p,
.market-card span,
.hero-contact-card span {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.profile-card h2 {
  margin-bottom: 3px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
}

.profile-card div > span,
.market-card p {
  color: var(--muted);
}

.market-card {
  padding: 25px;
}

.market-card strong {
  display: block;
  margin: 6px 0 9px;
  font-size: clamp(31px, 4.2vw, 50px);
  line-height: 1.08;
}

.market-card p {
  margin-bottom: 0;
}

.hero-contact-card {
  display: grid;
  gap: 1px;
  padding: 20px 23px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.hero-contact-card span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-contact-card strong {
  font-size: 28px;
  letter-spacing: 0.02em;
}

.section-directory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 clamp(18px, 5vw, 78px) clamp(22px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(37, 43, 49, 0.06);
}

.directory-card {
  display: grid;
  min-height: 190px;
  padding: 22px;
  border-right: 1px solid var(--line);
  transition: color 160ms ease, background 160ms ease;
}

.directory-card:last-child {
  border-right: 0;
}

.directory-card:hover,
.directory-card:focus-visible {
  color: #fff;
  background: var(--green);
}

.directory-card-primary {
  color: #fff;
  background: var(--green-dark);
}

.directory-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.directory-card strong {
  align-self: end;
  margin-top: 26px;
  font-size: 21px;
  line-height: 1.25;
}

.directory-card small {
  color: var(--muted);
  line-height: 1.5;
}

.directory-card-primary small,
.directory-card:hover small,
.directory-card:focus-visible small {
  color: rgba(255, 255, 255, 0.68);
}

.directory-card b {
  align-self: end;
  margin-top: 16px;
  color: inherit;
  font-size: 12px;
}

.section {
  padding: clamp(64px, 9vw, 126px) clamp(18px, 5vw, 78px);
  border-top: 1px solid var(--line);
}

.section h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

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

.split-heading,
.qa-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(26px, 6vw, 82px);
  align-items: end;
}

.split-heading > p,
.qa-intro {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.qa-section {
  background: #eef3f7;
  color: var(--ink);
}

.qa-section .section-kicker {
  color: var(--green);
}

.qa-intro p:first-child {
  margin-bottom: 10px;
  color: var(--muted);
}

.update-status {
  margin-bottom: 0;
  color: #927552;
  font-size: 13px;
  font-weight: 800;
}

.qa-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 38px 0 20px;
}

.qa-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.qa-search {
  flex: 0 1 360px;
}

.qa-search input {
  width: 100%;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  color: var(--ink);
  background: #fff;
}

.qa-search input::placeholder {
  color: #98a2ad;
}

.qa-search input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(93, 115, 137, 0.13);
}

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

.qa-card {
  min-height: 310px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(37, 43, 49, 0.045);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.qa-card:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 115, 137, 0.36);
  background: #fff;
}

.qa-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
}

.qa-card-meta .qa-category {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-pale);
  font-weight: 900;
}

.qa-card h3 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.25;
}

.qa-card-answer {
  margin-bottom: 20px;
  color: var(--muted);
}

.qa-card-takeaway {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #927552;
  font-size: 13px;
}

.qa-card-takeaway strong {
  white-space: nowrap;
}

.qa-card-loading {
  display: grid;
  min-height: 180px;
  place-items: center;
  color: var(--muted);
}

.qa-empty {
  grid-column: 1 / -1;
  min-height: 180px;
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.qa-disclaimer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.qa-disclaimer strong {
  color: var(--ink);
}

.qa-disclaimer p {
  margin-bottom: 0;
}

.knowledge-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.knowledge-cta > div {
  display: grid;
}

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

.button.light {
  flex: 0 0 auto;
  color: #fff;
  background: var(--green);
}

.expertise-section {
  background: #fbfcfd;
}

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

.feature-card {
  min-height: 300px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.feature-card > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 52px 0 14px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

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

.method-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(330px, 1.18fr);
  gap: clamp(36px, 8vw, 110px);
  background: var(--green-pale);
}

.method-copy {
  position: sticky;
  top: 116px;
  align-self: start;
}

.method-copy p:last-child {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}

.method-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(31, 87, 68, 0.18);
}

.method-list li:first-child {
  padding-top: 0;
}

.method-list span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.method-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(20px, 2vw, 26px);
}

.method-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-section {
  background: #f1f5f8;
}

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

.faq-grid details {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.faq-grid summary {
  padding: 20px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

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

.about-section {
  background: #fbfcfd;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1.1fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about-card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  object-fit: contain;
  object-position: center;
  background: #eef2f5;
}

.about-card > div > p:not(.section-kicker) {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(390px, 1.15fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
  background: var(--amber-pale);
}

.contact > div:first-child > p:last-child {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(210px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(20, 32, 28, 0.12);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.wechat-qr {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.contact-methods {
  display: grid;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.contact-methods p {
  margin-bottom: 0;
}

.contact-name {
  color: var(--green);
  font-size: 21px;
}

.contact-methods small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 78px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 13px;
}

.library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: end;
  padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 78px) clamp(48px, 6vw, 78px);
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(178, 154, 123, 0.18), transparent 25%),
    linear-gradient(135deg, #eef3f7 0%, #fbfcfd 100%);
}

.library-hero h1 {
  max-width: 920px;
  margin-bottom: 23px;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 82px);
}

.library-hero > div:first-child > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.library-hero .eyebrow {
  color: var(--green);
}

.library-hero-note {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.library-hero-note span {
  color: #927552;
  font-size: 12px;
  font-weight: 900;
}

.library-hero-note strong {
  display: block;
  margin: 9px 0 10px;
  font-size: 25px;
  line-height: 1.35;
}

.library-hero-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.library-quick-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 14px clamp(18px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  scrollbar-width: none;
}

.library-quick-nav::-webkit-scrollbar {
  display: none;
}

.library-quick-nav a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
  font-size: 13px;
  font-weight: 800;
}

.library-quick-nav a:hover,
.library-quick-nav a:focus-visible {
  color: #fff;
  background: var(--green);
}

.library-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 78px) clamp(70px, 9vw, 120px);
}

.library-sidebar {
  position: sticky;
  top: 104px;
}

.library-sidebar h2,
.library-toolbar h2 {
  margin-bottom: 22px;
  font-size: 28px;
  line-height: 1.2;
}

.library-categories {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.library-categories .filter-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 10px 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.library-categories .filter-button:last-child {
  border-bottom: 0;
}

.library-categories .filter-button b {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.library-categories .filter-button:hover,
.library-categories .filter-button:focus-visible,
.library-categories .filter-button.is-active {
  color: #fff;
  background: var(--green);
}

.library-categories .filter-button:hover b,
.library-categories .filter-button:focus-visible b,
.library-categories .filter-button.is-active b {
  color: rgba(255, 255, 255, 0.62);
}

.sidebar-contact {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 15px;
  color: #fff;
  background: var(--green-dark);
}

.sidebar-contact span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.sidebar-contact a {
  margin-top: 8px;
  color: #d7b487;
  font-size: 13px;
  font-weight: 900;
}

.library-content {
  min-width: 0;
}

.library-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 20px;
}

.library-toolbar h2 {
  margin-bottom: 4px;
  font-size: clamp(34px, 4vw, 52px);
}

.library-toolbar .update-status {
  color: var(--muted);
}

.library-search {
  flex: 0 1 420px;
}

.library-search input {
  min-height: 48px;
  border-color: var(--line);
  color: var(--ink);
  background: var(--panel);
}

.library-search input::placeholder {
  color: #95a0b0;
}

.library-list .qa-card {
  color: var(--ink);
  border-color: var(--line);
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(36, 35, 33, 0.05);
}

.library-list .qa-card:hover {
  border-color: rgba(128, 61, 53, 0.34);
  background: #fff;
}

.library-list .qa-card-meta {
  color: var(--muted);
}

.library-list .qa-card-meta .qa-category {
  color: var(--green);
  background: var(--green-pale);
}

.library-list .qa-card-answer {
  color: var(--muted);
}

.library-list .qa-card-takeaway {
  border-color: var(--line);
  color: var(--amber);
}

.qa-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.qa-pagination button {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--panel);
  cursor: pointer;
}

.qa-pagination button:hover:not(:disabled),
.qa-pagination button:focus-visible:not(:disabled) {
  color: #fff;
  background: var(--green);
}

.qa-pagination button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.qa-pagination span {
  min-width: 130px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.library-disclaimer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: var(--green-pale);
  font-size: 12px;
}

.library-disclaimer strong {
  color: var(--ink);
}

.library-disclaimer p {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .site-nav a:not(.nav-contact) {
    display: none;
  }

  .hero,
  .method-section,
  .contact,
  .library-hero,
  .library-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: auto;
  }

  .method-copy {
    position: static;
  }

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

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

  .directory-card:nth-child(2) {
    border-right: 0;
  }

  .directory-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .library-sidebar {
    position: static;
  }

  .library-categories {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .library-categories .filter-button {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .sidebar-contact {
    display: none;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 80px;
  }

  .site-header {
    min-height: 68px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .site-nav .nav-contact {
    padding: 8px 12px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .profile-card {
    grid-template-columns: 86px minmax(0, 1fr);
    padding: 18px;
  }

  .profile-photo {
    width: 86px;
    height: 86px;
  }

  .profile-card h2 {
    font-size: 30px;
  }

  .section-directory,
  .split-heading,
  .qa-heading,
  .qa-list,
  .faq-grid,
  .about-card,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .directory-card {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .directory-card:nth-child(2) {
    border-right: 0;
  }

  .directory-card:last-child {
    border-bottom: 0;
  }

  .knowledge-cta,
  .library-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .knowledge-cta .button {
    width: 100%;
  }

  .library-hero h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

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

  .library-categories .filter-button {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .library-categories .filter-button:nth-child(2n) {
    border-right: 0;
  }

  .library-categories .filter-button:last-child {
    border-bottom: 0;
  }

  .library-search {
    flex-basis: auto;
  }

  .library-disclaimer {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .qa-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .qa-search {
    flex-basis: auto;
  }

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

  .qa-disclaimer {
    grid-template-columns: 1fr;
    gap: 5px;
  }

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

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

  .feature-card h3 {
    margin-top: 28px;
  }

  .about-card > img {
    max-height: 430px;
  }

  .contact-panel {
    padding: 20px;
  }

  .wechat-qr {
    max-width: 310px;
    margin: 0 auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.not-found-card {
  max-width: 760px;
  text-align: center;
}

.not-found-card h1 {
  margin: 12px 0 18px;
}

.not-found-card .hero-actions {
  justify-content: center;
}

.entity-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(24px, 5vw, 78px);
  align-items: center;
  margin: 0 clamp(18px, 5vw, 78px) clamp(22px, 4vw, 48px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, var(--green-pale));
}

.entity-section h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.entity-section > p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.qa-detail-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.qa-detail-link:hover,
.qa-detail-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.answer-main {
  max-width: 1080px;
  min-height: 70vh;
  padding: clamp(36px, 6vw, 84px) clamp(18px, 5vw, 60px) clamp(72px, 9vw, 120px);
  margin: 0 auto;
}

.answer-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.answer-breadcrumb a:hover,
.answer-breadcrumb a:focus-visible {
  color: var(--green-dark);
}

.answer-article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.answer-article > header,
.answer-article > section,
.answer-article > aside,
.answer-article > footer {
  padding: clamp(28px, 5vw, 64px);
}

.answer-article > header {
  background: linear-gradient(135deg, var(--green-pale), #fff);
}

.answer-article h1 {
  max-width: 850px;
  margin: 24px 0 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.answer-summary {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.2vw, 24px);
}

.answer-source-date {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.answer-article > section {
  border-top: 1px solid var(--line);
}

.answer-article > section h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.answer-article > section > p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.answer-takeaway {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: var(--green-dark);
}

.answer-takeaway strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.answer-takeaway p {
  margin-bottom: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.35;
}

.answer-checklist ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.answer-checklist li {
  position: relative;
  padding: 15px 18px 15px 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
  background: var(--paper);
}

.answer-checklist li::before {
  position: absolute;
  top: 15px;
  left: 17px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

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

.answer-related-list a {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.answer-related-list a:hover,
.answer-related-list a:focus-visible {
  border-color: var(--green);
  transform: translateY(-2px);
}

.answer-related-list span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.answer-related-list strong {
  line-height: 1.45;
}

.answer-author {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.answer-author img {
  width: 112px;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
}

.answer-author p {
  margin: 6px 0 8px;
  color: var(--muted);
}

.answer-author a {
  color: var(--green-dark);
  font-weight: 800;
}

.answer-next {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  font-weight: 800;
}

.about-main {
  max-width: 1180px;
  padding: clamp(36px, 6vw, 84px) clamp(18px, 5vw, 60px) clamp(72px, 9vw, 120px);
  margin: 0 auto;
}

.about-entity-hero,
.entity-facts,
.about-adviser,
.service-boundary,
.about-contact {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about-entity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: clamp(28px, 7vw, 90px);
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  background: linear-gradient(135deg, var(--green-pale), #fff 64%);
}

.about-entity-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.about-entity-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.about-entity-hero img {
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(37, 43, 49, 0.14);
}

.entity-facts,
.service-boundary,
.about-contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(30px, 5vw, 62px);
  margin-top: 24px;
}

.entity-facts h2,
.about-adviser h2,
.service-boundary h2,
.about-contact h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.entity-facts dl {
  margin: 0;
}

.entity-facts dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.entity-facts dt {
  color: var(--muted);
  font-size: 14px;
}

.entity-facts dd {
  margin: 0;
  font-weight: 700;
}

.about-adviser {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  padding: clamp(30px, 5vw, 62px);
  margin-top: 24px;
}

.about-adviser > img {
  width: 100%;
  max-height: 430px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 24%;
}

.about-adviser p:not(.section-kicker),
.about-contact p {
  color: var(--ink-soft);
}

.boundary-grid {
  display: grid;
  gap: 12px;
}

.boundary-grid article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.boundary-grid p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.about-contact > div:last-child {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
}

.about-contact > div:last-child strong {
  color: var(--green-dark);
  font-size: 24px;
}

.about-contact > div:last-child > a:not(.button) {
  color: var(--ink-soft);
}

.about-contact .button {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .entity-section {
    grid-template-columns: 1fr;
  }

  .answer-article > header,
  .answer-article > section,
  .answer-article > aside,
  .answer-article > footer {
    padding: 26px 22px;
  }

  .answer-author {
    grid-template-columns: 76px 1fr;
    gap: 16px;
  }

  .answer-author img {
    width: 76px;
    border-radius: 14px;
  }

  .answer-next {
    flex-direction: column;
  }

  .answer-related-list,
  .about-entity-hero,
  .entity-facts,
  .about-adviser,
  .service-boundary,
  .about-contact {
    grid-template-columns: 1fr;
  }

  .about-entity-hero img {
    width: 112px;
    grid-row: 1;
  }

  .entity-facts dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* 2026 brand refresh: warm, trustworthy real-estate palette */
.site-header {
  border-bottom-color: rgba(18, 61, 47, 0.1);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 8px 30px rgba(18, 61, 47, 0.045);
}

.brand-mark {
  border: 1px solid rgba(185, 139, 79, 0.72);
  border-radius: 50%;
  background: linear-gradient(145deg, #245d49, #123d2f);
  box-shadow: 0 9px 24px rgba(18, 61, 47, 0.22);
}

.brand-copy strong,
h1,
.section h2,
.library-hero h1,
.about-entity-hero h1 {
  color: var(--green-dark);
}

.site-nav .nav-contact,
.button.primary,
.button.light {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 12px 30px rgba(18, 61, 47, 0.2);
}

.button {
  border-radius: 12px;
}

.button.secondary {
  border-color: rgba(36, 93, 73, 0.18);
  background: rgba(255, 253, 248, 0.9);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--amber);
  background: #fffdf8;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255, 253, 248, 0.66), rgba(248, 245, 238, 0.18)),
    radial-gradient(circle at 78% 20%, rgba(36, 93, 73, 0.09), transparent 30%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -170px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(185, 139, 79, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--amber);
  content: "";
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.35vw, 70px);
}

.eyebrow,
.section-kicker {
  color: var(--green);
  letter-spacing: 0.16em;
}

.trust-row span,
.about-tags span {
  border-color: rgba(36, 93, 73, 0.15);
  color: var(--green-dark);
  background: rgba(255, 253, 248, 0.86);
}

.hero-panel {
  border-color: rgba(185, 139, 79, 0.3);
  background:
    radial-gradient(circle at 90% 8%, rgba(185, 139, 79, 0.3), transparent 33%),
    linear-gradient(145deg, #1f5944 0%, #123d2f 100%);
  box-shadow: 0 28px 72px rgba(18, 61, 47, 0.22);
}

.profile-card,
.market-card {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 253, 248, 0.97);
}

.profile-photo,
.about-card > img {
  background: #eee8dd;
}

.hero-contact-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #b98b4f, #9f7138);
  box-shadow: 0 14px 34px rgba(62, 41, 18, 0.2);
}

.section-directory {
  border-color: rgba(36, 93, 73, 0.12);
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(18, 61, 47, 0.08);
}

.directory-card-primary {
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 139, 79, 0.26), transparent 35%),
    var(--green-dark);
}

.directory-card:hover,
.directory-card:focus-visible {
  background: var(--green);
}

.entity-section {
  border-color: rgba(185, 139, 79, 0.24);
  background: linear-gradient(110deg, #fffdf8, #f2eadc);
  box-shadow: 0 18px 48px rgba(18, 61, 47, 0.06);
}

.qa-section,
.method-section {
  background:
    radial-gradient(circle at 90% 5%, rgba(185, 139, 79, 0.1), transparent 24%),
    var(--green-pale);
}

.qa-card,
.feature-card,
.faq-grid details,
.about-card,
.contact-panel,
.answer-article,
.about-entity-hero,
.entity-facts,
.about-adviser,
.service-boundary,
.about-contact {
  border-color: rgba(36, 93, 73, 0.12);
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(18, 61, 47, 0.055);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 74px;
  height: 4px;
  border-radius: 0 0 0 6px;
  background: var(--amber);
  content: "";
}

.expertise-section,
.about-section {
  background: #fbf9f4;
}

.faq-section {
  background: #f3eee4;
}

.contact {
  background:
    radial-gradient(circle at 12% 85%, rgba(185, 139, 79, 0.2), transparent 25%),
    var(--amber-pale);
}

.site-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  background: var(--green-dark);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.qa-card-meta .qa-category,
.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.qa-card-meta .qa-category {
  color: var(--green-dark);
  background: var(--green-pale);
}

@media (max-width: 760px) {
  .hero::after {
    right: -260px;
    bottom: -100px;
  }

  .hero-panel {
    border-radius: 20px;
  }

  h1 {
    font-size: clamp(39px, 12vw, 58px);
  }
}

/* Keep every hero element inside narrow phone viewports. */
html,
body {
  overflow-x: clip;
}

.hero,
.hero-copy,
.hero-panel,
.profile-card,
.profile-card > div {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 760px) {
  .site-header {
    width: 100vw;
  }

  .site-nav {
    display: none;
  }

  .hero {
    width: 100vw;
    grid-template-columns: minmax(0, 1fr);
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-copy,
  .hero-panel {
    width: calc(100vw - 40px);
  }

  .lead {
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .trust-row span {
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .hero-panel {
    width: 100%;
    padding: 20px;
  }

  .profile-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
  }

  .profile-photo {
    width: 74px;
    height: 74px;
  }

  .profile-card > div > span {
    display: block;
    overflow-wrap: anywhere;
  }

  .hero-contact-card strong {
    font-size: 24px;
  }
}
