:root {
  --page: #f4f6f3;
  --ink: #121512;
  --ink-2: #262d29;
  --muted: #68736c;
  --muted-2: #89938c;
  --panel: #ffffff;
  --panel-soft: #eef2ef;
  --line: #d6ddd7;
  --line-strong: #bac6be;
  --forest: #163d31;
  --forest-2: #215c48;
  --gold: #b7893c;
  --clay: #a5533a;
  --sky: #326f8f;
  --max: 1120px;
  --shadow: 0 20px 50px rgba(18, 21, 18, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  background:
    linear-gradient(180deg, #eef2ef 0, var(--page) 34%, #f8f8f4 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.68;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 21, 18, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 21, 18, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 76%);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(22, 61, 49, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(183, 137, 60, 0.08), transparent 32%);
}

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

button, input, textarea { font: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin: 0;
  padding: 14px clamp(18px, 5vw, 72px);
  background: var(--forest);
  border-bottom: 1px solid rgba(204, 232, 169, 0.22);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 59, 53, .16);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}
.nav-logo img { width: 38px; height: 38px; border: 2px solid rgba(255,255,255,.42); border-radius: 11px; object-fit: cover; }
.nav-logo, .nav-logo span { color: #fff; }
.nav-logo span { color: inherit; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 680;
  white-space: nowrap;
}

.nav-links a {
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  color: var(--forest) !important;
  background: #cce8a9;
  border: 1px solid #cce8a9;
  border-radius: 999px;
  padding: 7px 14px;
}

.nav-cta:hover { background: #e0f3c8; }

main {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 44px;
  align-items: center;
  padding: 86px 0 52px;
}

.hero-copy { max-width: 720px; }

.hero-kicker {
  color: var(--clay);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  max-width: 780px;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 24px;
}

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

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

.section-actions { margin-top: 24px; }
.section-actions--left { margin-top: 4px; }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 760;
  transition: transform 0.16s, background 0.18s, border-color 0.18s, color 0.18s;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-2); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: var(--forest); }

.hero-panel {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.profile-avatar {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.profile-row b {
  display: block;
  font-size: 18px;
  font-weight: 850;
}

.profile-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.signal-stack {
  display: grid;
  gap: 10px;
  padding: 16px 0;
}

.signal-stack div {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid rgba(214, 221, 215, 0.8);
  border-radius: 8px;
}

.signal-stack span {
  color: var(--muted);
  font-size: 12px;
}

.signal-stack b {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 760;
}

.panel-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 760;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 12px 28px rgba(18, 21, 18, 0.05);
}

.stat {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.stat b {
  color: var(--forest);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.stat b span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
}

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

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
}

.section-no {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.section-head h2 {
  color: var(--ink);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.section-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  margin: -8px 0 24px;
}

.service-strip,
.work-grid,
.tool-grid,
.follow-grid {
  display: grid;
  gap: 14px;
}

.service-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.follow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.service-card,
.work-card,
.tool-card,
.follow-card {
  position: relative;
  min-width: 0;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.service-card:hover,
.work-card:hover,
.tool-card:hover,
.follow-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  background: #fff;
}

.service-card--prime:hover,
.service-card--prime:focus,
.service-card--prime:focus-visible,
.service-card--prime:active,
.work-card--feature:hover,
.work-card--feature:focus,
.work-card--feature:focus-visible,
.work-card--feature:active,
.tool-card--feature:hover,
.tool-card--feature:focus,
.tool-card--feature:focus-visible,
.tool-card--feature:active {
  background:
    linear-gradient(135deg, rgba(22, 61, 49, 0.94), rgba(18, 21, 18, 0.92)),
    #16251f;
  border-color: rgba(22, 61, 49, 0.72);
  color: #fff;
}

.service-card--prime,
.work-card--feature,
.tool-card--feature {
  background:
    linear-gradient(135deg, rgba(22, 61, 49, 0.94), rgba(18, 21, 18, 0.92)),
    #16251f;
  border-color: rgba(22, 61, 49, 0.72);
  color: #fff;
}

.tool-card--feature {
  grid-column: 1 / -1;
  margin-bottom: 14px;
}
.work-card--feature { grid-column: 1 / -1; }

.service-label,
.work-tag,
.tool-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 2px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--forest);
  background: rgba(238, 242, 239, 0.72);
  font-size: 12px;
  font-weight: 780;
}

.service-card--prime .service-label,
.work-card--feature .work-tag,
.tool-card--feature .tool-tag {
  color: #f5d79b;
  border-color: rgba(245, 215, 155, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.service-card h3,
.work-card h3 {
  color: inherit;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 880;
  margin-top: 16px;
}

.service-card p,
.work-card p,
.tool-card p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.service-card--prime p,
.work-card--feature p,
.tool-card--feature p {
  color: rgba(255, 255, 255, 0.72);
}

.price {
  color: var(--forest);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  margin-top: 18px;
}

.service-card--prime .price,
.offer-card--prime .price { color: #f5d79b; }
.price small { font-size: 13px; color: var(--muted); }
.service-card--prime .price small,
.offer-card--prime .price small { color: rgba(255, 255, 255, 0.64); }

.work-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-card-top,
.tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.work-arrow,
.tool-arrow { color: var(--gold); }

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.work-meta span {
  color: var(--muted);
  background: var(--panel-soft);
  border: 1px solid rgba(214, 221, 215, 0.82);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
}

.work-card--feature .work-meta span {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-top b {
  color: inherit;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 850;
}

.post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.post-list li { border-bottom: 1px solid var(--line); }

.post-list a {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
}

.post-list a:hover .post-title { color: var(--forest); }

.post-date {
  color: var(--muted-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.post-title {
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  transition: color 0.18s;
}

.post-desc {
  color: var(--muted);
  font-size: 14px;
  margin-top: 3px;
}

.follow-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 112px;
}

.follow-card b { font-size: 16px; }
.follow-card span { color: var(--muted); font-size: 13px; }
.follow-card--cta { border-color: rgba(22, 61, 49, 0.35); }
.follow-card--cta span { color: var(--forest); }

.section--contact { border-bottom: 0; }

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.qr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.qr-fullcard {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}

.contact-lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.contact-channels {
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-channels li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 40px;
}

.ch-k {
  width: 56px;
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 760;
}

.contact-channels a {
  color: var(--forest);
  font-weight: 760;
}

.contact-channels a:hover { text-decoration: underline; }
.ch-v { color: var(--ink-2); }

.copy-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}

.copy-btn:hover {
  border-color: var(--forest);
  background: var(--panel-soft);
}

.copy-btn span {
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
}

.page-hero {
  padding: 78px 0 42px;
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-title {
  max-width: 860px;
  font-size: 48px;
}

.stats--service { margin-top: 28px; }

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 0.95fr));
  gap: 14px;
  align-items: stretch;
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(18, 21, 18, 0.05);
}

.offer-card--prime {
  color: #fff;
  background: linear-gradient(135deg, rgba(22, 61, 49, 0.96), rgba(18, 21, 18, 0.94));
  border-color: rgba(22, 61, 49, 0.72);
}

.offer-card--prime .service-label {
  color: #f5d79b;
  border-color: rgba(245, 215, 155, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.offer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.offer-card h3 {
  font-size: 26px;
  line-height: 1.22;
  font-weight: 900;
}

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

.offer-card--prime p { color: rgba(255, 255, 255, 0.74); }

.deliverable-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 2px 0 4px;
}

.deliverable-list li {
  position: relative;
  color: var(--ink-2);
  font-size: 14px;
  padding-left: 18px;
}

.deliverable-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 999px;
}

.offer-card--prime .deliverable-list li { color: rgba(255, 255, 255, 0.82); }

.offer-media {
  display: block;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 21, 18, 0.06);
}

.offer-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

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

.process-item {
  min-height: 160px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.process-item b {
  display: block;
  color: var(--forest);
  font-size: 18px;
  font-weight: 880;
  margin-bottom: 10px;
}

.process-item p {
  color: var(--muted);
  font-size: 14px;
}

.progress-page {
  background: #eef2ef;
}

.progress-shell {
  max-width: 1440px;
}

.progress-auth {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  padding: 40px 18px;
}

.progress-auth[hidden] {
  display: none !important;
}

.progress-auth-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.progress-auth-card h1 {
  color: var(--ink);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 900;
}

.progress-auth-card p:not(.hero-kicker) {
  color: var(--muted);
  font-size: 14px;
}

.progress-auth-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.progress-auth-card input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  outline: none;
}

.progress-auth-card input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(22, 61, 49, 0.12);
}

.progress-auth-error {
  min-height: 20px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 760;
}

.progress-locked .progress-shell {
  display: none;
}

.progress-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 0 20px;
}

.progress-head h1 {
  color: var(--ink);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 900;
}

.progress-head p:not(.hero-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
}

.progress-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.progress-frame-wrap {
  height: calc(100vh - 190px);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.progress-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

.foot {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.foot a:hover { color: var(--ink); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 60;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 760;
  box-shadow: var(--shadow);
  transition: opacity 0.22s, transform 0.22s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 58px 0 40px;
  }

  .hero-title { font-size: 42px; }

  .stats,
  .service-strip,
  .work-grid,
  .tool-grid,
  .follow-grid,
  .contact-wrap,
  .offer-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tool-card--feature,
  .work-card--feature {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  main { padding: 0 18px; }
  .nav { padding: 12px 18px; }
  .nav-logo { font-size: 17px; }
  .nav-logo img { width: 34px; height: 34px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 58px 0; }
  .section-head h2 { font-size: 28px; }

  .stats,
  .service-strip,
  .work-grid,
  .tool-grid,
  .follow-grid,
  .contact-wrap,
  .offer-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .page-hero .hero-title { font-size: 34px; }
  .offer-head { flex-direction: column; }
  .progress-head { align-items: flex-start; flex-direction: column; }
  .progress-actions { justify-content: flex-start; }
  .progress-frame-wrap { height: 72vh; min-height: 560px; }

  .stat { min-height: 96px; }
  .post-list a { grid-template-columns: 1fr; gap: 4px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
}
