:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --paper: #fffdf8;
  --ink: #202018;
  --muted: #65645e;
  --line: rgba(32, 32, 24, 0.14);
  --accent: #1f6f68;
  --accent-2: #9a4f2f;
  --accent-3: #23395b;
  --soft: #ebe5d8;
  --shadow: 0 24px 70px rgba(37, 34, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(31, 111, 104, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(31, 111, 104, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: 40px 40px;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fffdf8;
  background: var(--ink);
  border-radius: 50%;
  font-size: 15px;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a,
.footer-links a {
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav .is-active {
  color: var(--ink);
  background: rgba(31, 111, 104, 0.1);
}

main {
  overflow: hidden;
}

.hero,
.section,
.quote-band,
.cta {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 68px 0 44px;
}

.hero.compact {
  padding: 60px 0 34px;
}

.eyebrow,
.section-heading span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: #fffdf8;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.signal-grid div {
  min-height: 118px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.82);
}

.signal-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.signal-grid strong {
  font-size: 22px;
  line-height: 1.35;
}

.section {
  padding: 84px 0;
}

.section.compact {
  padding: 52px 0;
}

.figure-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 72px;
}

.figure-section.compact {
  padding-bottom: 48px;
}

.feature-figure {
  margin: 0;
}

.feature-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.feature-figure figcaption {
  max-width: 820px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.gallery-item {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 34px rgba(37, 34, 25, 0.06);
}

.gallery-item a {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--soft);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.gallery-item strong {
  font-size: 17px;
  line-height: 1.35;
}

.gallery-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
}

.qr-section {
  width: min(1120px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 44px;
  margin: 0 auto 84px;
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 34px rgba(37, 34, 25, 0.06);
}

.qr-section span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.qr-section h2 {
  max-width: 680px;
  margin: 10px 0 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
}

.qr-section p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.qr-card {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.qr-card img {
  display: block;
  width: 100%;
  height: auto;
}

.qr-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

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

.section-heading h2,
.cta h2 {
  margin: 10px 0 16px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
}

.section-heading p,
.body-copy,
.card p,
.step p,
.cta p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.body-copy {
  max-width: 820px;
}

.body-copy p {
  margin-bottom: 18px;
}

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

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

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

.card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 34px rgba(37, 34, 25, 0.06);
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--paper);
  background: var(--accent);
  border-radius: 50%;
  font-weight: 900;
}

.card:nth-child(2n) .card-icon {
  background: var(--accent-2);
}

.card:nth-child(3n) .card-icon {
  background: var(--accent-3);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.quote-band {
  padding: 72px 0;
}

.quote-band blockquote {
  margin: 0;
  padding: 40px;
  color: var(--paper);
  background: var(--ink);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.35;
}

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

.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step > span {
  color: var(--accent-2);
  font-weight: 900;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.evidence-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 253, 248, 0.14);
  color: var(--paper);
  background: #161814;
  box-shadow: var(--shadow);
}

.evidence-meta {
  display: inline-flex;
  grid-column: 1 / -1;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  color: rgba(255, 253, 248, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.evidence-card h3 {
  grid-column: 2;
  grid-row: 2;
  margin-bottom: 14px;
  font-size: 26px;
}

.evidence-shot {
  grid-column: 1;
  grid-row: 2 / span 5;
  height: 640px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.14);
  background: #0c0d0b;
}

.evidence-shot a {
  position: relative;
  display: block;
  height: 100%;
  color: var(--paper);
  text-decoration: none;
}

.evidence-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.evidence-shot span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.9);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.evidence-card p,
.evidence-card li {
  color: rgba(255, 253, 248, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.evidence-card > p,
.evidence-table,
.evidence-card ul {
  grid-column: 2;
}

.evidence-table {
  margin: 24px 0;
  border: 1px solid rgba(255, 253, 248, 0.16);
}

.evidence-table div {
  display: grid;
  grid-template-columns: 96px 1fr;
  border-bottom: 1px solid rgba(255, 253, 248, 0.12);
}

.evidence-table div:last-child {
  border-bottom: 0;
}

.evidence-table span,
.evidence-table strong {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.evidence-table span {
  color: rgba(255, 253, 248, 0.58);
  background: rgba(255, 253, 248, 0.05);
}

.evidence-table strong {
  color: var(--paper);
}

.evidence-card ul {
  margin: 0;
  padding-left: 20px;
}

.evidence-note {
  max-width: 860px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.cta {
  margin-bottom: 90px;
  padding: 46px;
  color: var(--paper);
  background: var(--accent-3);
}

.cta p {
  max-width: 720px;
  color: rgba(255, 253, 248, 0.78);
}

.cta .button {
  margin-top: 20px;
  color: var(--accent-3);
  background: var(--paper);
  border-color: var(--paper);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 36px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.64);
}

.site-footer p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .signal-grid,
  .card-grid,
  .card-grid.columns-2,
  .card-grid.columns-4,
  .gallery-grid,
  .qr-section,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .qr-section {
    gap: 24px;
    padding: 24px;
  }

  .qr-card {
    max-width: 260px;
  }

  .evidence-card {
    grid-template-columns: 1fr;
  }

  .evidence-meta,
  .evidence-card h3,
  .evidence-shot,
  .evidence-card > p,
  .evidence-table,
  .evidence-card ul {
    grid-column: 1;
    grid-row: auto;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quote-band blockquote,
  .cta {
    padding: 28px;
  }

  .evidence-table div {
    grid-template-columns: 1fr;
  }

  .evidence-shot {
    height: 520px;
  }
}
