/* =========================================================
   巷口科技 · 站点样式
   设计基调：暖纸色 + 墨色 + 柿子橙，编辑感、少装饰、重内容
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink: #17140f;
  --ink-2: #3b352b;
  --muted: #7a7264;
  --muted-2: #9a9184;
  --paper: #f8f4ec;
  --paper-2: #f1eadd;
  --card: #fffdf9;
  --line: #e2d8c8;
  --line-strong: #cfc2ad;
  --accent: #e2552b;
  --accent-dark: #bf411e;
  --accent-soft: #fbe3d8;
  --green: #2f5d50;
  --green-soft: #e3ede8;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(23, 20, 15, .05);
  --shadow-md: 0 14px 34px -18px rgba(23, 20, 15, .28);
  --shadow-lg: 0 34px 70px -26px rgba(23, 20, 15, .38);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --container: 1160px;
  --section-y: clamp(72px, 9vw, 128px);
}

/* ---------- Reset ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 750; letter-spacing: -.02em; }
::selection { background: var(--accent); color: #fff; }

section[id], h2[id], h3[id] { scroll-margin-top: 88px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--ink); color: rgba(248, 244, 236, .78); }
.section--ink h2, .section--ink h3 { color: var(--paper); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.eyebrow--plain::before { display: none; }

h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; }
.section-lede {
  margin-top: 18px;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--muted);
  max-width: 62ch;
}
.section--ink .section-lede { color: rgba(248, 244, 236, .62); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(226, 85, 43, .8);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -12px rgba(226, 85, 43, .85);
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  white-space: nowrap;
  width: max-content;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s, gap .2s;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 10px; }
.link-arrow svg { width: 17px; height: 17px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 236, .84);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(248, 244, 236, .95);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: .01em;
  color: var(--ink);
  flex: none;
}
.brand svg { width: 34px; height: 34px; }
.brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--muted-2);
  line-height: 1.4;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--accent); background: rgba(226, 85, 43, .06); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 650; }
.nav-cta-item { display: none; }
.header-cta { margin-left: 10px; flex: none; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-left: auto;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 7vw, 100px) clamp(64px, 8vw, 116px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(226, 85, 43, .13), transparent 66%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 20, 15, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .22;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 62%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(43px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero h1 .mark {
  color: var(--accent);
  background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
  background-repeat: no-repeat;
  background-size: 100% .24em;
  background-position: 0 86%;
  padding-inline: .04em;
}
.hero .lede {
  margin-top: 26px;
  max-width: 30em;
  font-size: clamp(16px, 1.55vw, 18.5px);
  line-height: 1.78;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points svg { width: 15px; height: 15px; color: var(--green); flex: none; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.hero-visual .phone { transform: rotate(-3.5deg); }
.hero-visual .phone:hover { transform: rotate(-2deg) translateY(-4px); }

.float-card {
  position: absolute;
  left: 0;
  bottom: 42px;
  width: 212px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  z-index: 2;
}
.float-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 9px;
}
.float-card-head .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(47, 93, 80, .45);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 93, 80, .4); }
  70% { box-shadow: 0 0 0 8px rgba(47, 93, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 93, 80, 0); }
}
.bubble {
  font-size: 11.5px;
  line-height: 1.55;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink-2);
  margin-bottom: 6px;
}
.bubble--ai {
  background: var(--accent-soft);
  color: #7a2c12;
  border-bottom-left-radius: 3px;
}
.bubble--user {
  background: #fff;
  border: 1px solid var(--line);
  margin-left: 34px;
}
.float-badge {
  position: absolute;
  top: 24px;
  right: 4px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 650;
  transform: rotate(4deg);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.float-badge b { color: #ffb59c; }

/* ---------- Phone mockup shell ---------- */
.phone {
  position: relative;
  width: 286px;
  aspect-ratio: 9 / 19.3;
  padding: 7px;
  border-radius: 44px;
  background: linear-gradient(145deg, #2b2721, #12100c);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(23, 20, 15, .08);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  flex: none;
}
.phone::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 18px;
  border-radius: 999px;
  background: #0a0907;
  z-index: 5;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #f5f6f8;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone--sm { width: 248px; border-radius: 38px; }
.phone--sm .phone-screen { border-radius: 31px; }
.phone--lg { width: 304px; }

/* ---------- Mini app: 家政小程序 ---------- */
.mini {
  font-size: 10px;
  line-height: 1.4;
  color: #2b2721;
  background: #f5f6f8;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.mini-status {
  height: 26px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff7a45, #ff3b2f);
  padding-top: 4px;
}
.mini-home-head {
  flex: none;
  background: linear-gradient(135deg, #ff7a45, #ff3b2f);
  padding: 2px 10px 11px;
}
.mini-row { display: flex; align-items: center; gap: 6px; }
.mini-city { color: #fff; font-weight: 700; font-size: 10px; flex: none; }
.mini-city i { font-style: normal; font-size: 7px; opacity: .8; }
.mini-search {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, .93);
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 7.5px;
  color: #9aa0a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-body { flex: 1; min-height: 0; padding: 8px 8px 0; overflow: hidden; display: flex; flex-direction: column; }

.mini-banner {
  background: linear-gradient(120deg, #ff8a4c, #ff3b2f);
  border-radius: 9px;
  padding: 9px 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  box-shadow: 0 5px 12px -5px rgba(233, 51, 35, .6);
}
.mini-banner b { font-size: 11px; letter-spacing: .04em; display: block; }
.mini-banner p { font-size: 7.5px; opacity: .95; margin-top: 2px; }
.mini-banner span {
  display: inline-block;
  margin-top: 4px;
  font-size: 6.5px;
  background: rgba(255, 255, 255, .24);
  padding: 1px 5px;
  border-radius: 8px;
}
.mini-banner em {
  font-style: normal;
  background: #fff;
  color: #e93323;
  font-size: 7.5px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 12px;
  white-space: nowrap;
}
.mini-assure {
  display: flex;
  justify-content: space-between;
  padding: 7px 2px 6px;
  font-size: 6.5px;
  color: #6b7076;
}
.mini-assure span::before { content: "✓"; color: #ff3b2f; font-weight: 700; margin-right: 2px; }

.mini-grid-card {
  background: #fff;
  border-radius: 9px;
  padding: 8px 4px 4px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px 0;
}
.mini-grid div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 6.5px;
  color: #4a4f55;
  position: relative;
}
.mini-grid i { font-style: normal; font-size: 14px; line-height: 1; }
.mini-grid .badge {
  position: absolute;
  top: -3px;
  right: 1px;
  background: #ff3b2f;
  color: #fff;
  font-size: 5px;
  padding: 0 3px;
  border-radius: 4px;
  font-style: normal;
}
.mini-sec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 8px 2px 5px;
}
.mini-sec b { font-size: 9px; color: #1c1916; }
.mini-sec span { font-size: 6.5px; color: #9aa0a6; }

.mini-hot {
  background: #fff;
  border-radius: 9px;
  padding: 7px;
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}
.mini-hot-cover {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: linear-gradient(140deg, #fff0e8, #ffd9c9);
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: none;
}
.mini-hot-info { flex: 1; min-width: 0; }
.mini-hot-info b { font-size: 8px; display: block; color: #1c1916; }
.mini-hot-info p {
  font-size: 6.5px;
  color: #9aa0a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.mini-price { font-size: 9px; color: #e93323; font-weight: 700; }
.mini-price small { font-size: 6px; font-weight: 400; color: #b0b5ba; text-decoration: line-through; margin-left: 3px; }
.mini-sold { font-size: 6px; color: #b0b5ba; }

.mini-tabbar {
  flex: none;
  height: 34px;
  background: #fff;
  border-top: 1px solid #eceef1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 6.5px;
  color: #9aa0a6;
}
.mini-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.mini-tabbar i { font-style: normal; font-size: 11px; }
.mini-tabbar .on { color: #ff3b2f; }

/* 服务详情屏 */
.mini-detail-head {
  flex: none;
  background: linear-gradient(135deg, #ff7a45, #ff3b2f);
  padding: 1px 12px 14px;
  color: #fff;
}
.mini-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 600;
  padding-top: 2px;
}
.mini-navbar i { font-style: normal; font-size: 14px; line-height: 1; }
.mini-price-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  margin: -6px 8px 0;
  box-shadow: 0 6px 16px -10px rgba(23, 20, 15, .3);
  position: relative;
  z-index: 2;
}
.mini-price-top { display: flex; align-items: flex-end; justify-content: space-between; }
.mini-big-price { color: #e93323; font-weight: 800; font-size: 17px; line-height: 1; }
.mini-big-price small { font-size: 8px; font-weight: 500; }
.mini-origin { font-size: 6.5px; color: #b0b5ba; margin-top: 3px; }
.mini-rating { font-size: 7px; color: #f5a623; text-align: right; }
.mini-rating span { display: block; color: #9aa0a6; font-size: 6px; }
.mini-price-card h4 { font-size: 10px; margin-top: 6px; }
.mini-price-card p { font-size: 6.5px; color: #9aa0a6; margin-top: 2px; }
.mini-scroll { flex: 1; overflow: hidden; padding: 7px 8px 0; }
.mini-panel { background: #fff; border-radius: 9px; padding: 8px; margin-bottom: 6px; }
.mini-panel > b { font-size: 8px; display: block; margin-bottom: 6px; color: #1c1916; }
.mini-specs { display: flex; gap: 5px; }
.mini-spec {
  flex: 1;
  border: 1px solid #eceef1;
  border-radius: 6px;
  padding: 5px 2px;
  text-align: center;
  font-size: 7px;
  color: #4a4f55;
  line-height: 1.35;
}
.mini-spec b { display: block; color: #e93323; font-size: 7.5px; }
.mini-spec.on { border-color: #ff3b2f; background: #fff6f3; color: #e93323; }
.mini-addon {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 7px;
  color: #4a4f55;
  padding: 3px 0;
}
.mini-addon .ck {
  width: 8px; height: 8px;
  border: 1px solid #d5d8dc;
  border-radius: 2px;
  flex: none;
}
.mini-addon .ck.on { background: #ff3b2f; border-color: #ff3b2f; position: relative; }
.mini-addon .ck.on::after {
  content: "✓";
  color: #fff;
  font-size: 6px;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.mini-addon em { margin-left: auto; font-style: normal; color: #e93323; font-size: 6.5px; }
.mini-detail-bar {
  flex: none;
  height: 40px;
  background: #fff;
  border-top: 1px solid #eceef1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
}
.mini-detail-bar .total { font-size: 7px; color: #9aa0a6; line-height: 1.3; }
.mini-detail-bar .total b { display: block; color: #e93323; font-size: 12px; }
.mini-detail-bar button {
  margin-left: auto;
  background: linear-gradient(135deg, #ff7a45, #ff3b2f);
  color: #fff;
  font-size: 8px;
  font-weight: 650;
  padding: 7px 16px;
  border-radius: 16px;
}

/* 预约屏 */
.mini-booking-head {
  flex: none;
  background: #fff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eceef1;
  font-size: 9px;
  font-weight: 650;
  color: #1c1916;
}
.mini-booking-head i { font-style: normal; font-size: 13px; color: #9aa0a6; }
.mini-booking-body { flex: 1; padding: 7px 8px 0; overflow: hidden; }
.mini-field { background: #fff; border-radius: 9px; padding: 8px; margin-bottom: 6px; }
.mini-field > b { font-size: 7.5px; color: #1c1916; display: block; margin-bottom: 5px; }
.mini-addr { font-size: 7px; color: #4a4f55; line-height: 1.5; }
.mini-addr span { color: #e93323; font-size: 6px; border: 1px solid #ffd1c5; border-radius: 3px; padding: 0 3px; margin-right: 3px; }
.mini-dates { display: flex; gap: 5px; }
.mini-date {
  flex: 1;
  text-align: center;
  border: 1px solid #eceef1;
  border-radius: 6px;
  padding: 4px 0;
  font-size: 6.5px;
  color: #4a4f55;
}
.mini-date b { display: block; font-size: 7.5px; color: #1c1916; }
.mini-date.on { background: #fff6f3; border-color: #ff3b2f; color: #e93323; }
.mini-date.on b { color: #e93323; }
.mini-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 5px; }
.mini-slot {
  border: 1px solid #eceef1;
  border-radius: 4px;
  text-align: center;
  font-size: 6.5px;
  padding: 3px 0;
  color: #4a4f55;
}
.mini-slot.on { background: #ff3b2f; border-color: #ff3b2f; color: #fff; }
.mini-slot.off { color: #c9ced3; background: #fafbfc; }
.mini-fee { font-size: 7px; color: #4a4f55; display: flex; justify-content: space-between; padding: 1.5px 0; }
.mini-fee.total { border-top: 1px dashed #eceef1; margin-top: 4px; padding-top: 4px; color: #1c1916; font-weight: 650; }
.mini-fee.total b { color: #e93323; font-size: 10px; }
.mini-submit { flex: none; height: 38px; background: #fff; border-top: 1px solid #eceef1; padding: 6px 9px; }
.mini-submit button {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff7a45, #ff3b2f);
  color: #fff;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .04em;
}

/* ---------- Chat mockup ---------- */
.chat {
  background: #f2f3f5;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.chat-status {
  height: 26px;
  flex: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 0;
  font-size: 8px;
  font-weight: 600;
  color: #1c1916;
}
.chat-head {
  flex: none;
  background: #fff;
  border-bottom: 1px solid #e9ebee;
  padding: 7px 11px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.chat-avatar {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  flex: none;
}
.chat-head b { display: block; font-size: 8.5px; color: #1c1916; line-height: 1.3; }
.chat-head small { display: block; font-size: 6px; color: #2f9e67; }
.ai-badge {
  margin-left: auto;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #b8431f;
  background: #ffe8df;
  border-radius: 5px;
  padding: 2px 5px;
}
.chat-body {
  flex: 1;
  padding: 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.msg {
  max-width: 82%;
  padding: 6px 8px;
  border-radius: 9px;
  font-size: 7.5px;
  line-height: 1.5;
  background: #fff;
  color: #2b2721;
  box-shadow: 0 1px 2px rgba(23, 20, 15, .05);
  align-self: flex-start;
}
.msg.right {
  align-self: flex-end;
  background: #d9f7c8;
  color: #1f3b18;
}
.msg.card { width: 82%; }
.msg .mini-btn {
  display: block;
  margin-top: 5px;
  text-align: center;
  background: #e93323;
  color: #fff;
  border-radius: 9px;
  padding: 4px 0;
  font-size: 7px;
  font-weight: 650;
}
.ai-note {
  align-self: center;
  font-size: 6px;
  color: #9aa0a6;
  background: rgba(255, 255, 255, .7);
  border-radius: 8px;
  padding: 2px 7px;
}
.ai-note.success { color: #2f7d5b; background: #e6f4ec; }
.chat-input {
  flex: none;
  height: 34px;
  background: #fff;
  border-top: 1px solid #e9ebee;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  font-size: 7px;
  color: #b0b5ba;
}
.chat-input span {
  margin-left: auto;
  background: #e93323;
  color: #fff;
  font-size: 7px;
  padding: 4px 9px;
  border-radius: 10px;
}

/* ---------- Pain cards ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px 26px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.pain-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: .1em;
}
.pain-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin: 16px 0 18px;
}
.pain-icon svg { width: 21px; height: 21px; color: var(--accent-dark); }
.pain-card h3 { font-size: 18px; margin-bottom: 8px; }
.pain-card p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.pain-close {
  margin-top: 34px;
  padding: 26px 30px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ink);
  font-weight: 550;
}

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  margin-bottom: 20px;
}
.service-icon svg { width: 23px; height: 23px; color: var(--ink); }
.service-card h3 { font-size: 21px; margin-bottom: 8px; }
.service-card > p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.service-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.service-list li { display: flex; gap: 8px; align-items: flex-start; }
.service-list svg { width: 15px; height: 15px; color: var(--green); flex: none; margin-top: 4px; }
.service-fit {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.service-fit b { color: var(--ink); font-weight: 650; }

/* ---------- Case cards ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.case-thumb {
  height: 330px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding-top: 26px;
}
.case-thumb--peach { background: linear-gradient(160deg, #fbe3d8, #f6d3c2 60%, #f0c3ad); }
.case-thumb--green { background: linear-gradient(160deg, #e3ede8, #d3e3dc 60%, #c2d8ce); }
.case-thumb .phone {
  transform: translateY(26px) rotate(-2deg);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.case-card:hover .case-thumb .phone { transform: translateY(10px) rotate(-1deg); }
.case-thumb-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 253, 249, .82);
  border: 1px solid rgba(23, 20, 15, .08);
  border-radius: 999px;
  padding: 5px 10px;
  backdrop-filter: blur(4px);
}
.case-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--paper);
}
.case-body h3 { font-size: 21px; margin-bottom: 8px; }
.case-body > p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.case-body .link-arrow { margin-top: auto; align-self: flex-start; }

.case-card--cta {
  grid-column: 1 / -1;
  border-style: dashed;
  background: transparent;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 30px 36px;
  min-height: 0;
}
.case-cta-text { flex: 1; min-width: 0; }
.case-card--cta h3 { font-size: 24px; margin: 0 0 6px; }
.case-card--cta p { color: var(--muted); font-size: 14px; margin: 0; }
.case-card--cta .btn { flex: none; }
.case-cta-mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 700;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 24px 20px 26px;
  border-top: 2px solid var(--line-strong);
  transition: border-color .3s;
}
.step:hover { border-top-color: var(--accent); }
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.step-meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 3px 9px;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: rgba(248, 244, 236, .74);
  box-shadow: var(--shadow-lg);
}
.price-card--featured h3, .price-card--featured .price { color: var(--paper); }
.price-card--featured .price-desc,
.price-card--featured .price-list li { color: rgba(248, 244, 236, .68); }
.price-card--featured .price-list svg { color: #ffb59c; }
.price-card--featured .price-foot { border-top-color: rgba(248, 244, 236, .16); }
.price-flag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .03em;
  border-radius: 999px;
  padding: 4px 11px;
}
.price-card h3 { font-size: 19px; }
.price-desc { font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 42px; }
.price {
  font-size: 38px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 18px 0 4px;
}
.price small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.price-card--featured .price small { color: rgba(248, 244, 236, .55); }
.price-unit { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.price-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  margin-bottom: 24px;
}
.price-list li { display: flex; gap: 8px; align-items: flex-start; }
.price-list svg { width: 15px; height: 15px; color: var(--green); flex: none; margin-top: 4px; }
.price-card .btn { margin-top: auto; }
.price-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.price-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.price-note svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }
.addon {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13.5px;
}
.addon b { font-size: 15px; color: var(--ink); }
.addon .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.why-item {
  padding: 30px 32px 30px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
}
.why-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 40px; }
.why-item:nth-child(even) { padding-left: 40px; }
.why-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
}
.why-icon svg { width: 22px; height: 22px; color: var(--ink); }
.why-item h3 { font-size: 18px; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--muted); }

.manifesto {
  margin-top: 44px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "“";
  position: absolute;
  top: -30px;
  right: 28px;
  font-size: 200px;
  line-height: 1;
  color: rgba(248, 244, 236, .06);
  font-family: Georgia, serif;
}
.manifesto blockquote {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -.01em;
  max-width: 24em;
  position: relative;
  z-index: 1;
}
.manifesto blockquote em { color: #ffb59c; font-style: normal; }
.manifesto-sign {
  margin-top: 22px;
  font-size: 12.5px;
  color: rgba(248, 244, 236, .5);
  display: flex;
  align-items: center;
  gap: 10px;
}
.manifesto-sign::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(248, 244, 236, .3);
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon {
  width: 26px; height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  flex: none;
  transition: background-color .25s, border-color .25s, transform .25s;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: background-color .25s, transform .25s;
}
.faq-icon::before { width: 11px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 11px; }
.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  padding: 0 40px 24px 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 64ch;
}
.faq-a strong { color: var(--ink-2); font-weight: 600; }

/* ---------- Contact / form ---------- */
.contact-section { position: relative; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 28px;
  align-items: start;
}
.lead-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 38px);
  box-shadow: var(--shadow-sm);
}
.lead-form h3 { font-size: 21px; margin-bottom: 6px; }
.form-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(226, 85, 43, .12);
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a7264' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-note {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
.form-note svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--green); }
.form-error {
  display: none;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: #b3261e;
  background: #fdecea;
  border: 1px solid #f6c9c4;
  border-radius: 8px;
  padding: 9px 12px;
}
.form-error.show { display: block; }

.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-card h3 { font-size: 16px; margin-bottom: 14px; }
.qr-box {
  display: flex;
  gap: 16px;
  align-items: center;
}
.qr {
  width: 108px;
  height: 108px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(23,20,15,.06) 5px 6px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(23,20,15,.06) 5px 6px),
    var(--paper-2);
  border: 1px dashed var(--line-strong);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.45;
  flex: none;
  padding: 8px;
}
.qr b { display: block; font-size: 11px; color: var(--ink-2); margin-bottom: 2px; }
.qr-meta { font-size: 13px; color: var(--muted); line-height: 1.9; }
.qr-meta b { color: var(--ink); font-weight: 650; }
.copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.copy-row code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
}
.copy-btn {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  transition: border-color .2s, background-color .2s;
}
.copy-btn:hover { border-color: var(--accent); background: var(--accent-soft); }

.contact-list { display: flex; flex-direction: column; gap: 13px; font-size: 13.5px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.contact-list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ink); }
.contact-list b { color: var(--ink); font-weight: 650; }

/* ---------- Case detail ---------- */
.case-hero { padding-block: clamp(40px, 5vw, 64px) 0; position: relative; overflow: hidden; }
.case-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(226, 85, 43, .12), transparent 66%);
  pointer-events: none;
}
.case-hero .container { position: relative; z-index: 1; }
.back-link {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
  transition: color .2s, gap .2s;
}
.back-link:hover { color: var(--accent); gap: 9px; }
.case-hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 18em;
}
.case-hero .lede {
  margin-top: 20px;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--muted);
  max-width: 52ch;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.case-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.case-meta dd { font-size: 14px; color: var(--ink); font-weight: 600; }

.case-showcase {
  margin-top: clamp(36px, 5vw, 56px);
  padding-block: clamp(40px, 6vw, 72px);
  background: var(--paper-2);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.case-showcase--peach { background: linear-gradient(160deg, #fbe3d8, #f1ccb9 70%, #eec2ac); }
.case-showcase--green { background: linear-gradient(160deg, #e3ede8, #cfe1d9 70%, #c1d7cd); }
.phone-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(14px, 3vw, 38px);
}
.phone-row .phone:nth-child(1) { transform: rotate(-3deg) translateY(10px); }
.phone-row .phone:nth-child(2) { transform: translateY(-8px); z-index: 2; }
.phone-row .phone:nth-child(3) { transform: rotate(3deg) translateY(10px); }
.phone-row .phone:hover { transform: translateY(-12px) rotate(0); }
.showcase-caption {
  text-align: center;
  font-size: 12px;
  color: rgba(23, 20, 15, .45);
  margin-top: 26px;
}

.case-content-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding-block: var(--section-y);
}
.case-aside { position: sticky; top: 100px; }
.case-aside h2 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 14px;
}
.case-aside ul { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.case-aside ul a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  padding: 6px 0 6px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.case-aside ul a:hover { color: var(--ink); border-left-color: var(--accent); }
.case-aside .aside-cta { margin-top: 26px; }
.case-aside .aside-cta .btn { width: 100%; }

.case-content { min-width: 0; }
.case-content h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 56px 0 18px;
  scroll-margin-top: 96px;
}
.case-content h2:first-child { margin-top: 0; }
.case-content h3 { font-size: 18px; margin: 28px 0 8px; }
.case-content p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 14px; max-width: 68ch; }
.case-content p.muted { color: var(--muted); font-size: 14px; }
.case-content ul.bullets { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; }
.case-content ul.bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-2);
}
.case-content ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.case-content ul.bullets li b { color: var(--ink); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 22px 0 10px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
}
.feature-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .1em;
}
.feature h4 { font-size: 15.5px; margin: 8px 0 5px; }
.feature p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.65; }

.decision-list { display: flex; flex-direction: column; gap: 0; margin: 8px 0 18px; }
.decision {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.decision:last-child { border-bottom: 1px solid var(--line); }
.decision-idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  padding-top: 3px;
}
.decision h4 { font-size: 16px; margin-bottom: 4px; }
.decision p { font-size: 14px; color: var(--muted); margin: 0; }

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin: 18px 0;
}
.checklist li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-2);
}
.checklist svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 3px; }

.flow-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 22px 0 12px;
}
.flow-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  position: relative;
}
.flow-step b {
  display: block;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.flow-step span { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; display: block; }
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-size: 12px;
  z-index: 2;
}

.case-cta {
  background: var(--ink);
  color: rgba(248, 244, 236, .72);
  padding-block: clamp(48px, 7vw, 84px);
}
.case-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.case-cta h2 { color: var(--paper); font-size: clamp(26px, 3.2vw, 38px); max-width: 16em; }
.case-cta p { margin-top: 10px; font-size: 14.5px; max-width: 40ch; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(44px, 6vw, 72px) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 44px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 24em;
}
.footer-col h4 {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a, .footer-col li { font-size: 13.5px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted-2);
}
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(23, 20, 15, .52);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.modal.open { display: grid; }
.modal-card {
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .25s ease both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: background-color .2s;
}
.modal-close:hover { background: var(--paper-2); }
.modal-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.modal-icon svg { width: 26px; height: 26px; }
.modal-card h3 { font-size: 21px; margin-bottom: 8px; }
.modal-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.modal-qr {
  width: 124px; height: 124px;
  margin: 18px auto 12px;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  background:
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(23,20,15,.05) 6px 7px),
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(23,20,15,.05) 6px 7px),
    var(--paper);
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  padding: 10px;
}
.modal-wx {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 16px;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
}
.modal-wx code { font-family: var(--mono); font-size: 13px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }
.modal-tip { font-size: 11.5px; color: var(--muted-2); margin-top: 14px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 260;
  box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 520px; }
  .hero .lede { max-width: 38em; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .price-card--featured { order: -1; }
  .case-content-wrap { grid-template-columns: 1fr; }
  .case-aside { position: static; display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 32px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 17px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav a:hover { background: transparent; }
  .nav .btn { border-bottom: 0; border-radius: 12px; }
  .nav-cta-item { display: inline-flex; justify-content: center; margin-top: 22px; padding: 14px 22px; font-size: 15px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-inner { position: relative; }

  .hero-visual { min-height: 480px; transform: scale(.94); }
  .float-card { left: -6px; bottom: 20px; width: 190px; }
  .float-badge { right: -2px; top: 8px; }

  .case-grid { grid-template-columns: 1fr; }
  .case-thumb { height: 340px; }
  .case-card--cta { flex-direction: column; align-items: flex-start; padding: 28px; }
  .case-card--cta .btn { width: 100%; }

  .why-grid { grid-template-columns: 1fr; }
  .why-item:nth-child(odd) { border-right: 0; padding-right: 0; }
  .why-item:nth-child(even) { padding-left: 0; }
  .why-item { padding-block: 24px; }

  .contact-grid { grid-template-columns: 1fr; }
  .qr-box { align-items: flex-start; }

  .case-meta { grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
  .phone-row { gap: 10px; justify-content: flex-start; overflow-x: auto; padding: 10px 24px 20px; scroll-snap-type: x mandatory; }
  .phone-row .phone { scroll-snap-align: center; }
  .flow-rail { grid-template-columns: 1fr; }
  .flow-step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -14px; transform: translateX(-50%); }
  .feature-grid { grid-template-columns: 1fr; }
  .case-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 52px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-visual { min-height: 540px; transform: scale(.82); margin-inline: -18px; }
  .float-card { left: 0; bottom: 0; }
  .float-badge { top: 0; right: 12px; font-size: 11px; padding: 7px 12px; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-close { margin-top: 24px; padding: 20px 22px; }
  .process { grid-template-columns: 1fr; }
  .step { padding: 20px 0 22px; border-top-width: 1px; }
  .why-item { grid-template-columns: 40px 1fr; }
  .case-thumb { height: 300px; }
  .case-body { padding: 20px; }
  .manifesto { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .case-hero h1 { font-size: 34px; }
  .case-meta { grid-template-columns: 1fr 1fr; }
  .case-content h2 { margin-top: 42px; }
  .checklist { grid-template-columns: 1fr; }
  .phone { width: 260px; }
  .phone--sm { width: 228px; }
}

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

/* ---------- Web workbench mockup ---------- */
.mock-scroll { overflow-x: auto; padding-bottom: 6px; }
.mock-browser {
  width: 100%;
  min-width: 680px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-inline: auto;
}
.mock-bar {
  height: 34px;
  background: #efece5;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}
.mock-dots { display: flex; gap: 5px; flex: none; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d5cbb9; display: block; }
.mock-dots i:nth-child(1) { background: #e7a08c; }
.mock-dots i:nth-child(2) { background: #e3c27e; }
.mock-dots i:nth-child(3) { background: #a9c4a1; }
.mock-url {
  flex: 1;
  max-width: 340px;
  height: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-family: var(--mono);
}
.mock-body {
  display: grid;
  grid-template-columns: 128px 190px minmax(0, 1fr);
  min-height: 402px;
}
.wb-side {
  background: var(--ink);
  color: rgba(248, 244, 236, .6);
  padding: 13px 10px;
  font-size: 9.5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wb-brand {
  color: var(--paper);
  font-weight: 700;
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.wb-brand i { width: 16px; height: 16px; border-radius: 5px; background: var(--accent); display: block; flex: none; }
.wb-nav { padding: 6px 8px; border-radius: 6px; }
.wb-nav.on { background: rgba(248, 244, 236, .12); color: var(--paper); }
.wb-stores { margin-top: auto; border-top: 1px solid rgba(248, 244, 236, .12); padding-top: 9px; }
.wb-store { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px; }
.wb-store span { background: rgba(248, 244, 236, .14); border-radius: 8px; padding: 0 5px; font-size: 7.5px; color: rgba(248,244,236,.8); }
.wb-store.on { color: var(--paper); }
.wb-store.on span { background: var(--accent); color: #fff; }

.wb-list { background: #fff; border-right: 1px solid var(--line); overflow: hidden; }
.wb-list-head {
  padding: 11px 12px 8px;
  font-size: 10.5px;
  font-weight: 650;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.wb-list-head span { font-size: 7.5px; color: var(--muted-2); font-weight: 400; }
.wb-conv { padding: 9px 12px; border-top: 1px solid #f0ece4; font-size: 8.5px; }
.wb-conv.on { background: var(--paper); border-left: 2px solid var(--accent); }
.wb-conv b { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 9.5px; color: var(--ink); font-weight: 650; }
.wb-conv b em { font-style: normal; font-size: 6.5px; color: var(--green); background: var(--green-soft); border-radius: 4px; padding: 1px 4px; white-space: nowrap; }
.wb-conv span { display: block; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.wb-chat { display: flex; flex-direction: column; background: #f7f8f9; min-width: 0; }
.wb-chat-head { background: #fff; border-bottom: 1px solid var(--line); padding: 9px 14px; display: flex; align-items: center; gap: 8px; }
.wb-chat-head b { font-size: 10.5px; color: var(--ink); display: block; }
.wb-chat-head small { display: block; font-size: 7.5px; color: var(--green); }
.wb-btn {
  margin-left: auto;
  font-size: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 8px;
  color: var(--ink-2);
  background: #fff;
  white-space: nowrap;
}
.wb-msgs { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.wb-bubble {
  max-width: 78%;
  background: #fff;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 9px;
  color: var(--ink-2);
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(23, 20, 15, .04);
  align-self: flex-start;
}
.wb-bubble.right { align-self: flex-end; background: #e8f6ee; }
.wb-bubble.ai { align-self: flex-end; background: #fff5f0; border: 1px solid #ffd9c9; }
.wb-tag { font-size: 6.5px; color: #b8431f; background: #ffe8df; border-radius: 3px; padding: 1px 4px; margin-bottom: 3px; display: inline-block; letter-spacing: .04em; }
.wb-input {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 8.5px;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wb-input span { background: var(--accent); color: #fff; border-radius: 5px; padding: 3px 9px; font-size: 8px; }

/* ---------- Case result strip ---------- */
.result-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 8px;
}
.result-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.result-item b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.result-item span { font-size: 12px; color: var(--muted); line-height: 1.55; display: block; }

/* ---------- Contact page extras ---------- */
.contact-page-hero { padding-block: clamp(36px, 5vw, 60px) 0; }
.contact-page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.12; letter-spacing: -.03em; }
.contact-page-hero .lede { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 44ch; }
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.next-step {
  padding: 18px 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.next-step b { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: .1em; display: block; margin-bottom: 6px; }
.next-step h3 { font-size: 15px; margin-bottom: 4px; }
.next-step p { font-size: 12.5px; color: var(--muted); }

@media (max-width: 860px) {
  .result-strip { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr; }
  .mock-scroll { overflow-x: visible; }
  .mock-browser { min-width: 0; }
  .mock-body { grid-template-columns: 1fr; min-height: 380px; }
  .wb-side, .wb-list { display: none; }
}


/* ---------- Mini promo strip ---------- */
.mini-promos { display: flex; gap: 5px; margin-bottom: 6px; }
.mini-promo {
  flex: 1;
  background: #fff;
  border-radius: 7px;
  padding: 5px 4px;
  text-align: center;
  min-width: 0;
}
.mini-promo i { font-style: normal; font-size: 13px; display: block; line-height: 1.2; }
.mini-promo b { display: block; font-size: 6.5px; color: #1c1916; margin-top: 1px; }
.mini-promo em { font-style: normal; font-size: 6.5px; color: #e93323; }


/* ---------- Mini guarantee & footnote ---------- */
.mini-guarantee {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  background: #fff;
  border-radius: 6px;
  padding: 5px 6px;
  margin-bottom: 4px;
  font-size: 5.5px;
  color: #6b7076;
  flex: none;
  white-space: nowrap;
}
.mini-footnote {
  margin-top: auto;
  text-align: center;
  font-size: 6px;
  color: #b0b5ba;
  padding: 4px 0 6px;
}


/* ---------- Modal summary fallback ---------- */
.modal-summary {
  margin-top: 16px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.modal-summary p { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.modal-summary pre {
  margin: 0;
  font-family: var(--font);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-all;
}


/* ---------- Plan prefill pill ---------- */
.form-plan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8a3418;
  font-size: 12px;
  font-weight: 600;
}
.form-plan::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Short screens: keep modal actions reachable ---------- */
@media (max-width: 620px) and (max-height: 720px) {
  .modal-card { padding: 24px 22px 22px; }
  .modal-qr { display: none; }
  .modal-card h3 { font-size: 19px; }
  .modal-icon { width: 46px; height: 46px; margin-bottom: 10px; }
  .modal-icon svg { width: 22px; height: 22px; }
  .modal-summary { margin-top: 10px; }
}

.showcase-hint { display: none; }
@media (max-width: 860px) { .showcase-hint { display: inline; } }


.footer-legal {
  display: inline-block;
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

/* Honeypot field (hidden from humans) */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================================
   轻平台改版：匹配视觉、四列服务、五步流程、CTA 面板
   ========================================================= */

/* Hero match visual */
.match-stack {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
  padding: 8px 0 42px;
}
.match-project {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.5deg);
}
.match-project .mp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.match-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 4px 9px;
}
.match-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.match-time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
}
.match-project h3 { font-size: 21px; margin: 14px 0 6px; }
.match-project p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; }
.match-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.match-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.match-meta b { color: var(--ink); }

.match-result {
  position: relative;
  z-index: 2;
  margin: -6px 0 0 30px;
  background: var(--ink);
  color: rgba(248, 244, 236, .68);
  border-radius: 18px;
  padding: 16px 20px 8px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}
.mr-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
}
.mr-head b { color: var(--paper); font-size: 13px; }
.mr-head span { font-family: var(--mono); font-size: 9px; color: rgba(248,244,236,.42); }
.dev-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid rgba(248, 244, 236, .12);
}
.dev-avatar {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.dev-row:nth-child(3) .dev-avatar { background: var(--green); }
.dev-info { flex: 1; min-width: 0; }
.dev-info b { display: block; color: var(--paper); font-size: 12.5px; }
.dev-info span { display: block; font-size: 10.5px; color: rgba(248,244,236,.48); margin-top: 2px; }
.dev-tag {
  font-size: 9px;
  color: #ffb59c;
  border: 1px solid rgba(255, 181, 156, .3);
  border-radius: 999px;
  padding: 3px 7px;
  white-space: nowrap;
}
.match-note {
  position: absolute;
  left: -6px;
  bottom: 6px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 11px;
  color: var(--muted);
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}
.match-note b { color: var(--ink); }
.match-note::before { content: "✓"; color: var(--green); font-weight: 700; }

.hero-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* Four service cards */
.service-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Five-step process */
.process--5 { grid-template-columns: repeat(5, 1fr); }

/* Price text variant */
.price--text { font-size: clamp(25px, 2.6vw, 32px); }

/* CTA panel */
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
  position: relative;
  overflow: hidden;
}
.cta-panel::after {
  content: "";
  position: absolute;
  right: -80px; top: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(226, 85, 43, .28), transparent 65%);
  pointer-events: none;
}
.cta-panel-text { position: relative; z-index: 1; }
.cta-panel h3 { color: var(--paper); font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.cta-panel p { color: rgba(248, 244, 236, .65); font-size: 14.5px; margin: 0; max-width: 46ch; }
.cta-panel .btn { position: relative; z-index: 1; flex: none; }
.cta-panel-note {
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* Developer page */
.dev-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.dev-points span { display: inline-flex; align-items: center; gap: 6px; }
.dev-points span::before { content: "✓"; color: var(--green); font-weight: 700; }

@media (max-width: 1024px) {
  .service-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process--5 { grid-template-columns: repeat(2, 1fr); }
  .match-stack { max-width: 420px; }
}
@media (max-width: 760px) {
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .cta-panel .btn { width: 100%; }
}
@media (max-width: 620px) {
  .service-grid--4 { grid-template-columns: 1fr; }
  .process--5 { grid-template-columns: 1fr; }
  .match-stack { transform: scale(.94); transform-origin: top center; margin-inline: -8px; }
  .match-result { margin-left: 18px; }
  .match-note { left: 0; }
}

@media (max-width: 620px) {
  .hero-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
  }
}

.nowrap { white-space: nowrap; }

/* 企业微信入口 */
.wecom-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(23, 20, 15, .18);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.wecom-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(23, 20, 15, .22);
}
.wecom-fab svg { width: 18px; height: 18px; }
.wecom-card { max-width: 380px; text-align: center; }
.wecom-qr {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 16px auto 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
@media (max-width: 620px) {
  .wecom-fab { right: 14px; bottom: 14px; padding: 10px 14px; font-size: 12px; }
  .wecom-qr { width: 190px; height: 190px; }
}

/* 指南文章 */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 14px;
}
.guide-table th,
.guide-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
}
.guide-table th {
  color: var(--ink);
  font-weight: 600;
  background: var(--card);
}
.guide-table td { color: var(--muted); }
.guide-related {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.guide-related a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-right: 12px;
}

.wecom-image-link {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wecom-card strong { color: var(--ink); font-weight: 600; }
