:root {
  --ink: #202421;
  --muted: #5c625d;
  --paper: #f6f0e6;
  --paper-strong: #fffaf0;
  --moss: #51675e;
  --moss-soft: #879e91;
  --rust: #c95f44;
  --gold: #d9b65f;
  --clay: #d7c8b2;
  --line: rgba(32, 36, 33, 0.16);
  --shadow: 0 18px 45px rgba(32, 36, 33, 0.12);
  font-family:
    "Inter", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  color: var(--paper-strong);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(246, 240, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: 72vh;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 24, 21, 0.84) 0%, rgba(20, 24, 21, 0.6) 42%, rgba(20, 24, 21, 0.18) 100%),
    url("./assets/hero-board.png") center / cover no-repeat;
  color: var(--paper-strong);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--paper), rgba(246, 240, 230, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c967;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  display: grid;
  gap: 4px;
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(21px, 2.5vw, 30px);
  line-height: 1.35;
  font-weight: 700;
}

.hero-note {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(15px, 1.45vw, 17px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  border-color: var(--rust);
  background: var(--rust);
  color: #fffaf0;
}

.button.secondary {
  border-color: rgba(255, 250, 240, 0.68);
  color: #fffaf0;
}

.button.full {
  width: 100%;
}

.placeholder-action {
  cursor: default;
}

.placeholder-action:hover {
  transform: none;
}

.section,
.intro-band,
.contact-section {
  padding: clamp(72px, 9vw, 124px) 0;
}

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

.intro-band {
  padding-top: 46px;
  padding-bottom: 72px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 40px;
  align-items: center;
}

.intro-lead {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 800;
}

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

.proof-strip span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.62);
  font-weight: 800;
}

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

.section-heading.compact {
  max-width: 760px;
}

.section-heading h2,
.about-layout h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-layout p,
.about-copy p {
  color: var(--muted);
  font-size: 17px;
}

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

.problem-card,
.case-card,
.offer-grid article,
.wechat-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.problem-card {
  min-height: 290px;
  padding: 24px;
}

.card-number {
  display: block;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 36px;
}

.problem-card h3,
.case-card h3,
.offer-grid h3,
.wechat-panel h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.problem-card p,
.case-card p,
.offer-grid p,
.wechat-panel p,
.process-list span {
  color: var(--muted);
}

.case-section {
  background: #ebe3d7;
}

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

.case-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
}

.case-card.featured {
  border-color: rgba(201, 95, 68, 0.42);
  background: #fff6e4;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.case-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 800;
}

.case-card p {
  margin: 18px 0 0;
}

.case-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 22px 0 0 18px;
}

.case-card li::marker {
  color: var(--rust);
}

.process-section {
  background: var(--paper);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 110px;
}

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

.process-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--moss);
  color: var(--paper-strong);
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.25;
}

.process-list span {
  display: block;
}

.offer-section {
  background: var(--moss);
  color: var(--paper-strong);
}

.offer-section .eyebrow {
  color: #f0c967;
}

.offer-section .section-heading p {
  color: rgba(255, 250, 240, 0.74);
}

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

.offer-grid article {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 250, 240, 0.09);
  border-color: rgba(255, 250, 240, 0.22);
}

.offer-grid p {
  color: rgba(255, 250, 240, 0.78);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(32px, 7vw, 96px);
}

.about-copy {
  display: grid;
  gap: 20px;
  font-size: 21px;
  line-height: 1.65;
}

.about-copy p {
  margin: 0;
  color: var(--ink);
}

.contact-section {
  background: #2f3430;
  color: var(--paper-strong);
}

.contact-section .eyebrow {
  color: #f0c967;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.contact-layout p {
  max-width: 660px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 19px;
}

.wechat-panel {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: #fffaf0;
  color: var(--ink);
}

.wechat-qr,
.qr-placeholder {
  display: grid;
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
}

.qr-placeholder {
  place-items: center;
  border: 1px dashed rgba(32, 36, 33, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(81, 103, 94, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(81, 103, 94, 0.1) 1px, transparent 1px);
  background-size: 16px 16px;
}

.wechat-qr {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-placeholder span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--moss);
  color: var(--paper-strong);
  font-weight: 900;
}

.wechat-panel p {
  color: var(--muted);
  font-size: 15px;
}

.wechat-panel .button {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 4vw, 56px);
  background: #1f231f;
  color: rgba(255, 250, 240, 0.74);
  font-size: 14px;
}

.site-footer a {
  color: var(--paper-strong);
}

@media (max-width: 960px) {
  .problem-grid,
  .case-list,
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .process-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 18px;
  }

  .nav-links {
    max-width: 205px;
    justify-content: flex-end;
    gap: 10px 14px;
    flex-wrap: wrap;
    font-size: 13px;
  }

  .hero {
    min-height: 82vh;
    background-position: 58% center;
  }

  .hero-content {
    width: min(100% - 32px, 720px);
    padding: 108px 0 68px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-copy {
    font-size: 21px;
  }

  .hero-note {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

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

  .problem-grid,
  .case-list,
  .offer-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .case-card,
  .offer-grid article {
    min-height: auto;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wechat-panel {
    grid-template-columns: 1fr;
  }

  .qr-placeholder {
    max-width: 220px;
  }

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