/* 证照新工坊 — intro one-pager (idphoto.lcswltd.com)
   Minimal CSS · no frameworks · mobile-first */

:root {
  --bg: #f7f8fa;
  --bg-alt: #ffffff;
  --ink: #1a1a1a;
  --muted: #5c6370;
  --line: #e5e7eb;
  --accent: #07c160; /* WeChat-adjacent green, soft */
  --accent-ink: #056b36;
  --chip-bg: #eef8f1;
  --radius: 12px;
  --max: 720px;
  --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.brand {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7f3 100%);
  padding: 2.75rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--accent-ink);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 5vw, 2rem);
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.chips {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips li {
  background: var(--chip-bg);
  color: var(--accent-ink);
  border: 1px solid #cfe9d8;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 550;
}

.softener {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.softener.center {
  text-align: center;
  margin-top: 1.5rem;
}

.cta-note {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-ink);
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.section p {
  margin: 0 0 1rem;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
}

/* Who */
.who-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.who-grid li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.who-grid strong {
  font-size: 1rem;
}

.who-grid span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.section:not(.section-alt) .steps li {
  background: #fff;
}

.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
}

.steps strong {
  display: block;
  margin-bottom: 0.2rem;
}

.steps p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--muted);
}

/* Screenshots */
.shot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .who-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shot-ph {
  margin: 0;
  text-align: center;
}

.ph-box {
  aspect-ratio: 9 / 16;
  max-height: 320px;
  margin-inline: auto;
  background: repeating-linear-gradient(
    -45deg,
    #eef0f3,
    #eef0f3 8px,
    #e4e7ec 8px,
    #e4e7ec 16px
  );
  border: 2px dashed #b8bec8;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.shot-ph figcaption,
.qr-ph figcaption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  word-break: break-all;
}

/* QR */
.qr-section {
  background: #f0f7f3;
  border-top: 1px solid #cfe9d8;
}

.qr-inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 560px) {
  .qr-inner {
    grid-template-columns: 1fr auto;
  }
}

.qr-copy h2 {
  margin-top: 0;
}

.price-soft {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.55rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
}

.qr-ph {
  margin: 0;
  text-align: center;
  justify-self: center;
}

.qr-box {
  width: 180px;
  height: 180px;
  background: #fff;
  border: 2px dashed #b8bec8;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-inline: auto;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #c8ccd2;
  padding: 2.25rem 0 2.75rem;
  font-size: 0.85rem;
  line-height: 1.7;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem !important;
}

.site-footer a {
  color: #9ad4b3;
}

.footer-note {
  margin-top: 1rem !important;
  color: #8b919a;
}

.footer-disclaimer {
  margin-top: 0.75rem !important;
  color: #8b919a;
  font-size: 0.8rem;
}


/* Real screenshots / QR */
.shot {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot figcaption {
  padding: .6rem .75rem .85rem;
  text-align: center;
  font-size: .85rem;
  color: #666;
}
.qr-img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  padding: .5rem;
}
