:root {
  --ink: #1d2327;
  --muted: #63706d;
  --paper: #fff8e8;
  --paper-2: #f4ecd7;
  --mint: #8bd7c4;
  --mint-dark: #2c7c72;
  --coral: #f47d6b;
  --coral-soft: #ffd2c8;
  --blue: #6a98d8;
  --blue-soft: #d9e8ff;
  --line: #1d2327;
  --shadow: 6px 6px 0 #1d2327;
  --shadow-small: 4px 4px 0 #1d2327;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
  background:
    linear-gradient(90deg, rgba(29, 35, 39, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(29, 35, 39, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--line);
  background: rgba(255, 248, 232, 0.94);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(100% - 32px, var(--max));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 3px solid var(--line);
  background: var(--mint);
  box-shadow: var(--shadow-small);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 9px 12px;
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--line);
  background: #fff;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 3px solid var(--line);
  background: var(--coral);
  color: var(--ink);
  box-shadow: var(--shadow-small);
  font-weight: 900;
  cursor: pointer;
}

.nav-cta:hover,
.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}

.button.secondary {
  background: #fff;
}

.button.mint {
  background: var(--mint);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 168px);
  padding: 42px 0 32px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 10px;
  border: 2px solid var(--line);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--coral);
  border: 2px solid var(--line);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.28;
}

.lead {
  max-width: 660px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.inline-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-card {
  position: relative;
  border: 4px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  image-rendering: auto;
}

.hero-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 4px solid var(--line);
  background: var(--paper-2);
}

.hero-note span {
  min-height: 78px;
  padding: 12px;
  display: grid;
  align-content: center;
  border-right: 3px solid var(--line);
  font-size: 14px;
  font-weight: 900;
}

.hero-note span:last-child {
  border-right: 0;
}

.section {
  padding: 72px 0;
}

.section.alt {
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  background: rgba(217, 232, 255, 0.55);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-header p {
  max-width: 560px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.pixel-card {
  min-height: 100%;
  padding: 22px;
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-small);
}

.pixel-card.tint-mint {
  background: #e9fff7;
}

.pixel-card.tint-coral {
  background: #fff0ec;
}

.pixel-card.tint-blue {
  background: #eff6ff;
}

.pixel-card p,
.timeline p,
.note p {
  color: var(--muted);
}

.media-panel {
  border: 4px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-panel img {
  width: 100%;
  object-fit: cover;
}

.media-panel.profile img {
  aspect-ratio: 4 / 5;
  object-position: top center;
}

.media-panel.wide img {
  aspect-ratio: 16 / 10;
}

.caption {
  padding: 12px 14px;
  border-top: 3px solid var(--line);
  background: var(--paper-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.proof-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.proof-list li {
  padding: 10px 12px;
  border: 2px solid var(--line);
  background: #fff;
  font-weight: 800;
}

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

.mini-list li {
  padding: 12px;
  border: 2px solid var(--line);
  background: #fff;
}

.mini-list strong {
  display: block;
  margin-bottom: 4px;
}

.risk-note {
  color: var(--muted);
  font-size: 14px;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 8px;
  border: 2px solid var(--line);
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 800;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 3px solid var(--line);
  background: #fff;
}

.service-index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  background: var(--mint);
  font-weight: 900;
}

.checker {
  border: 3px solid var(--line);
  background:
    linear-gradient(45deg, rgba(244, 125, 107, 0.35) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(244, 125, 107, 0.35) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(106, 152, 216, 0.35) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(106, 152, 216, 0.35) 75%),
    #fff;
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}

.case-preview {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 20px;
  font-weight: 900;
  text-align: center;
}

.case-gallery {
  align-items: start;
}

.case-card {
  padding: 0;
  overflow: hidden;
}

.case-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
  border-bottom: 3px solid var(--line);
}

.case-photo.wide {
  aspect-ratio: 6 / 5;
}

.case-card-body {
  padding: 18px;
}

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

.case-gallery.compact .case-card-body {
  min-height: 150px;
}

.video-grid {
  align-items: start;
}

.video-card {
  padding: 0;
  overflow: hidden;
}

.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  border-bottom: 3px solid var(--line);
  background: #050505;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
  padding: 0;
}

.trust-list li {
  list-style: none;
  padding: 12px;
  border: 3px solid var(--line);
  background: #fff7c6;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 3px solid var(--line);
  background: #fff;
}

.timeline-day {
  display: grid;
  place-items: center;
  min-height: 70px;
  border: 3px solid var(--line);
  background: var(--blue-soft);
  font-weight: 900;
  text-align: center;
}

.cta-band {
  padding: 42px;
  border: 4px solid var(--line);
  background: var(--mint);
  box-shadow: var(--shadow);
}

.cta-band .lead {
  color: #24433d;
}

.wechat-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 20px;
  padding: 12px;
  border: 3px solid var(--line);
  background: #fff;
  font-weight: 900;
}

.copy-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--mint-dark);
  font-weight: 800;
}

.page-hero {
  padding: 70px 0 40px;
  border-bottom: 3px solid var(--line);
  background: rgba(139, 215, 196, 0.35);
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.note {
  padding: 18px;
  border: 3px solid var(--line);
  background: #fff7c6;
}

.site-footer {
  padding: 34px 0;
  border-top: 3px solid var(--line);
  background: var(--ink);
  color: #fff8e8;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
}

.footer-grid p {
  color: #d7dccf;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.footer-links a {
  color: #fff8e8;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.legal {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 232, 0.3);
  color: #d7dccf;
  font-size: 13px;
}

.legal a {
  color: #fff8e8;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
    padding: 26px 0 18px;
  }

  .hero-grid,
  .grid.three,
  .grid.two,
  .grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .hero-card img {
    aspect-ratio: 16 / 8;
  }

  .hero-note {
    display: none;
  }

  .timeline-item,
  .service-item {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 24px;
  }

  .nav-cta,
  .button {
    width: 100%;
  }
}
