:root {
  --ink: #17212b;
  --muted: #66717c;
  --line: #d9e0e4;
  --paper: #f7f5f1;
  --white: #ffffff;
  --teal: #0f6f73;
  --red: #8b1e2d;
  --gold: #b08a4a;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 33, 43, 0.1);
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--red);
  color: var(--red);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  color: #2c3944;
}

.nav-cta {
  padding: 8px 14px;
  background: var(--ink);
  color: var(--white) !important;
}

.hero {
  position: relative;
  min-height: min(78vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #111922;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(10, 18, 25, 0.92) 0%, rgba(10, 18, 25, 0.74) 42%, rgba(10, 18, 25, 0.22) 100%);
}

.hero-content {
  position: relative;
  max-width: 780px;
  padding: 64px clamp(22px, 6vw, 72px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 680px;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--white);
  color: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip span {
  padding: 18px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
  font-weight: 700;
  color: #31414e;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 92px) clamp(20px, 4vw, 36px);
}

.intro,
.two-column,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.asset-card,
.case-layout article,
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.asset-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 24px;
}

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

.asset-card a {
  margin-top: auto;
  font-weight: 700;
  color: var(--teal);
}

.asset-type {
  width: max-content;
  margin-bottom: 28px;
  padding: 4px 9px;
  border: 1px solid var(--gold);
  color: #795f2d;
  font-size: 12px;
  font-weight: 800;
}

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

.matrix div,
.steps li {
  padding: 18px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.72);
}

.matrix strong,
.matrix span,
.steps strong,
.steps span {
  display: block;
}

.matrix span,
.steps span {
  color: var(--muted);
  font-size: 14px;
}

.evidence-band {
  max-width: none;
  background: #e7eeee;
}

.evidence-band .section-heading,
.case-layout {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.case-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.case-layout article {
  min-height: 220px;
  padding: 22px;
}

.section-link {
  max-width: 1180px;
  margin: 22px auto 0;
  font-weight: 800;
  color: var(--teal);
}

.case-dossier {
  scroll-margin-top: 92px;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 28px;
}

.case-meta span {
  display: block;
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  background: var(--white);
  color: #31414e;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: event;
}

.timeline li {
  counter-increment: event;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.timeline li::before {
  content: counter(event);
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-list strong {
  flex-basis: 100%;
}

.tag-list span {
  padding: 5px 9px;
  border: 1px solid rgba(15, 111, 115, 0.25);
  background: rgba(15, 111, 115, 0.08);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.case-note {
  display: block;
  margin-top: 32px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  color: var(--muted);
}

.content-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 96px) 0;
}

.content-hero.compact {
  padding: 0 0 34px;
  border-bottom: 1px solid var(--line);
}

.content-hero.compact h1 {
  max-width: 980px;
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.content-hero.compact p:not(.eyebrow) {
  max-width: 980px;
  color: #2d3a44;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 44px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat-strip div {
  padding: 22px;
  background: var(--white);
}

.stat-strip strong,
.stat-strip span {
  display: block;
}

.stat-strip strong {
  font-size: 36px;
  line-height: 1;
}

.stat-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.content-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.content-section h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.case-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.case-index-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.case-index-card p {
  margin: 10px 0 0;
  color: #2d3a44;
  font-size: 14px;
}

.case-index-card .tag-list {
  margin-top: 8px;
}

.case-index-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(217, 224, 228, 0.8);
}

.case-index-head .eyebrow {
  margin: 0;
}

.case-index-head strong {
  max-width: 72%;
  text-align: right;
  font-size: 14px;
}

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

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-weight: 900;
}

.faq details {
  margin-bottom: 12px;
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

.article {
  max-width: 980px;
}

.article article,
.article .faq {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article article p {
  margin-bottom: 12px;
}

.article .matrix {
  margin: 28px 0 18px;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font: inherit;
  color: var(--ink);
  background: #fbfbfa;
}

button {
  min-height: 48px;
  border: 0;
  background: var(--teal);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(20px, 4vw, 56px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 920px) {
  .site-header,
  .site-footer,
  .intro,
  .two-column,
  .contact {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
  }

  .nav {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .trust-strip,
  .asset-grid,
  .case-layout,
  .case-meta,
  .case-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 18, 25, 0.95), rgba(10, 18, 25, 0.62));
  }

  .hero-content {
    padding-top: 110px;
  }

  .trust-strip,
  .asset-grid,
  .case-layout,
  .case-meta,
  .matrix,
  .case-index-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .content-hero.compact h1 {
    font-size: 40px;
  }

  .case-index-head {
    display: block;
  }

  .case-index-head strong {
    display: block;
    max-width: none;
    margin-top: 6px;
    text-align: left;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
