/* =========================================================
   头皮自测 —— 视觉设计（明亮清新版）
   主色由 config.js 的 brandColor 控制（--brand）
   ========================================================= */
:root {
  /* Kállos 品牌色：象牙白、沙色、古铜、深咖啡黑 */
  --brand: #1b1916;
  --brand-ink: #f7f2e8;
  --brand-deep: #1b1916;
  --brand-soft: #f3ece0;
  --brand-line: #d9cdb6;
  --accent: #a8865a;          /* 古铜 */
  --accent-soft: #efe4d0;
  --sand: #d6b68a;
  --khaki: #b9ac8d;
  --mint: #f1e9da;            /* 沿用变量名，现在是浅沙色 */

  --bg: #edeae2;
  --surface: #fbf9f5;
  --ink: #1b1916;
  --ink-2: #4c463d;
  --muted: #8f877a;
  --line: #e2dccf;
  --num: "DM Serif Display", "Didot", "Bodoni 72", Georgia, serif;

  --serif: var(--sans); /* 标题也用黑体，比较像真人做的页面 */
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;

  --r-lg: 22px;
  --r-md: 16px;
  --shadow: 0 1px 2px rgba(28, 38, 34, .04), 0 10px 26px -14px rgba(28, 38, 34, .16);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --grad: linear-gradient(115deg, #5b4630 5%, #a8865a 55%, #d6b68a 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(800px 500px at 100% -10%, rgba(214, 182, 138, .28), transparent 65%),
    radial-gradient(700px 500px at -10% 110%, rgba(185, 172, 141, .3), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.feature {
  background:
    radial-gradient(560px 420px at 20% 0%, rgba(214, 182, 138, .35), transparent 70%),
    radial-gradient(520px 420px at 105% 95%, rgba(168, 134, 90, .25), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}

button { font: inherit; color: inherit; }

.app {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(16px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.screen { flex: 1; display: flex; flex-direction: column; animation: enter .45s var(--ease) both; }
.screen.back-dir { animation-name: enter-back; }
@keyframes enter { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes enter-back { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 共用文字 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.display {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(29px, 8.2vw, 46px);
  line-height: 1.24;
  letter-spacing: -.01em;
  margin: 0 0 14px;
}
.hl {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.sub { color: var(--ink-2); font-size: 16.5px; margin: 0 0 22px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin: 0 0 10px; }

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--brand-ink);
  background: linear-gradient(135deg, #3a332b, var(--brand) 60%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--brand) 80%, transparent);
  transition: transform .15s var(--ease), box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .35; cursor: default; transform: none; box-shadow: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(214, 182, 138, .55) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine { 0%, 55% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.btn.wa { background: linear-gradient(135deg, #34d07a, #1faa59); box-shadow: 0 12px 26px -12px rgba(31, 170, 89, .75); }

.link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
}
.link:hover { color: var(--brand); }
.fineprint { text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---------- 开场 ---------- */
.intro { padding-top: 0; }
.intro-art { width: min(66vw, 260px); aspect-ratio: 1; margin: 0 auto 10px; }
.intro-art svg { width: 100%; height: 100%; overflow: visible; }
.intro-art .ring { transform-origin: 130px 130px; animation: spin 40s linear infinite; }
.intro-art .ring.r2 { animation-duration: 60s; animation-direction: reverse; }
.intro-art .scan { animation: scan 3.6s var(--ease) infinite; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translateY(180px); opacity: 0; } }
.intro-art .particles circle { animation: float 4s ease-in-out infinite; }
.intro-art .particles circle:nth-child(2) { animation-delay: -1s; }
.intro-art .particles circle:nth-child(3) { animation-delay: -2s; }
.intro-art .particles circle:nth-child(4) { animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-10px); opacity: 1; } }
.intro-art .strand { stroke-dasharray: 140; stroke-dashoffset: 140; animation: grow 1.4s .2s var(--ease) forwards; }
.intro-art .s2 { animation-delay: .35s; } .intro-art .s3 { animation-delay: .5s; } .intro-art .s4 { animation-delay: .65s; } .intro-art .s5 { animation-delay: .8s; }
@keyframes grow { to { stroke-dashoffset: 0; } }
.intro-art .callout { opacity: 0; animation: rise .6s var(--ease) forwards; }
.intro-art .c1 { animation-delay: 1.3s; } .intro-art .c2 { animation-delay: 1.6s; }

.hero-photo {
  margin: -16px -20px 0;
  height: 42vh;
  background: center/cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.stats {
  list-style: none;
  padding: 16px 6px;
  margin: 2px 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.stats li { display: flex; flex-direction: column; align-items: center; gap: 2px; animation: rise .5s var(--ease) both; }
.stats li + li { border-left: 1px solid var(--line); }
.stats li:nth-child(2) { animation-delay: .08s; } .stats li:nth-child(3) { animation-delay: .16s; }
.stats strong {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.stats span { font-size: 13px; color: var(--ink-2); }

/* ---------- 冲击画面 ---------- */
.break { justify-content: space-between; padding: 8vh 0 8px; }
.break-inner { margin: auto 0; }
.big-stat { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 20px; animation: pop .7s var(--ease) both; }
.big-stat strong {
  font-family: var(--serif);
  font-size: clamp(100px, 33vw, 150px);
  line-height: .95;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.big-stat span { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--accent); }
.break-text {
  font-family: var(--serif);
  font-size: clamp(20px, 5.6vw, 24px);
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  animation: rise .6s .25s var(--ease) both;
}

/* ---------- 题目 ---------- */
.question { position: relative; }
.qtop { display: flex; align-items: center; gap: 12px; height: 44px; margin-bottom: 26px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: -8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.icon-btn:hover { background: rgba(28, 38, 34, .06); }
.icon-btn svg { width: 22px; height: 22px; }
.segments { flex: 1; display: flex; gap: 6px; }
.segments span { flex: 1; height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.segments i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width .4s var(--ease); }
.step-count { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 700; color: var(--muted); min-width: 52px; text-align: right; }

.watermark {
  position: absolute;
  right: -6px;
  top: 34px;
  font-family: var(--serif);
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 30%, transparent);
  pointer-events: none;
  z-index: 0;
}
.question > *:not(.watermark) { position: relative; z-index: 1; }
.qtitle {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(25px, 6.8vw, 31px);
  line-height: 1.4;
  margin: 0 0 8px;
}
.hint { color: var(--muted); font-size: 15px; margin: 0 0 22px; min-height: 1px; }

.options { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 14px 16px 14px 14px;
  text-align: left;
  font-size: 16px;
  line-height: 1.45;
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  cursor: pointer;
  animation: rise .4s var(--ease) both;
  transition: border-color .18s, background .18s, color .18s, transform .12s var(--ease);
}
.opt:hover { border-color: var(--brand-line); }
.opt:active { transform: scale(.99); }
.opt .key {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 9px;
}
.opt .olabel { flex: 1; }
.opt .check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
}
.opt.multi .check { border-radius: 7px; }
.opt .check svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .15s, transform .2s var(--ease); }
.opt.selected {
  color: #fff;
  background: linear-gradient(135deg, #3a332b, var(--brand) 60%);
  box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--brand) 80%, transparent);
}
.opt.selected .key { background: rgba(255, 255, 255, .22); color: #fff; }
.opt.selected .check { background: var(--accent); border-color: var(--accent); }
.opt.selected .check svg { opacity: 1; transform: none; color: var(--brand); }
.opt.selected .check { background: var(--sand); border-color: var(--sand); }

.extra { margin-top: 12px; }
.qfoot { margin-top: auto; padding-top: 24px; }

/* ---------- 输入 ---------- */
.field { position: relative; margin-bottom: 12px; }
.field input {
  width: 100%;
  height: 60px;
  padding: 22px 16px 6px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.field label {
  position: absolute;
  left: 17px;
  top: 19px;
  font-size: 16px;
  color: var(--muted);
  pointer-events: none;
  transition: font-size .18s, top .18s, color .18s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label { top: 9px; font-size: 12px; color: var(--brand); }
.field.plain input { height: 54px; padding: 14px 16px; }
.field.plain input::placeholder { color: var(--muted); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 6px; font-size: 14px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.consent input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--brand-line); border-radius: 7px; background: var(--surface) center/13px no-repeat; cursor: pointer; }
.consent input:checked { background-color: var(--brand); border-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.error { color: #c0392b; font-size: 14px; margin: 8px 0 0; min-height: 22px; }
.phone-hint { margin: -4px 2px 10px; font-size: 13px; line-height: 1.5; min-height: 0; color: var(--muted); }
.phone-hint:empty { display: none; }
.phone-hint.ok { color: #2e7d4f; font-weight: 600; }
.phone-hint.bad { color: #c0392b; }
.field.invalid input, .field.invalid input:focus { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12); }
.confirm { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 17, 14, .45); animation: fadeIn .2s ease; }
.confirm .sheet { width: 100%; max-width: 480px; padding: 26px 22px calc(22px + env(safe-area-inset-bottom)); background: var(--surface); border-radius: 24px 24px 0 0; text-align: center; animation: sheetUp .28s var(--ease); }
.confirm .sheet p { margin: 0 0 10px; font-size: 15px; color: var(--ink-2); }
.confirm .cf-num { display: block; margin: 0 0 8px; font-size: 28px; font-weight: 800; letter-spacing: .03em; color: var(--ink); }
.confirm .sheet small { display: block; margin: 0 0 20px; font-size: 13px; color: var(--muted); }
.confirm .link { background: none; border: 0; cursor: pointer; font-family: inherit; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.privacy svg { width: 14px; height: 14px; }

/* ---------- 分析中 ---------- */
.analyzing { justify-content: center; align-items: center; text-align: center; }
.scanner { position: relative; width: 180px; height: 180px; margin-bottom: 30px; color: var(--brand); }
.scanner svg { width: 100%; height: 100%; }
.scanner .sweep { transform-origin: 66px 66px; animation: spin 1.6s linear infinite; }
.pct {
  position: absolute;
  inset: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand-deep);
}
.analyzing h2 { font-family: var(--serif); font-size: 25px; margin: 0 0 22px; }
.steps { list-style: none; padding: 0; margin: 0; width: 100%; max-width: 300px; text-align: left; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--muted); font-size: 15px; transition: color .3s; }
.steps .dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: all .3s var(--ease); }
.steps .dot svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.steps li.active, .steps li.done { color: var(--ink); }
.steps li.active .dot { border-color: var(--brand); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li.done .dot { background: var(--brand); border-color: var(--brand); }
.steps li.done .dot svg { opacity: 1; }

/* ---------- 留资料 ---------- */
.ready {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: var(--mint);
  border-radius: 99px;
}
.ready svg { width: 16px; height: 16px; }
.teaser {
  position: relative;
  margin: 0 0 22px;
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, var(--mint), #fff 70%);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.teaser small { display: block; font-size: 12px; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.teaser .blur { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--brand-deep); filter: blur(7px); user-select: none; }
.teaser .lines { margin-top: 12px; display: grid; gap: 8px; }
.teaser .lines span { height: 9px; border-radius: 9px; background: rgba(28, 38, 34, .08); }
.teaser .lines span:nth-child(2) { width: 82%; }
.teaser .lines span:nth-child(3) { width: 64%; }
.teaser .lock { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: var(--shadow); }
.teaser .lock svg { width: 17px; height: 17px; }

/* ---------- 诊断报告（短、可扫读）---------- */
.report { padding-bottom: 96px; }
.report-head {
  position: relative;
  margin: 4px 0 0;
  padding: 22px 20px 20px;
  text-align: center;
  background:
    radial-gradient(320px 200px at 0% 0%, rgba(214, 182, 138, .35), transparent 70%),
    radial-gradient(320px 220px at 100% 100%, rgba(185, 172, 141, .3), transparent 70%),
    var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow);
  animation: rise .5s var(--ease) both;
}
.report-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.report-head .kicker { margin-bottom: 4px; }
.report-head h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 9.2vw, 50px);
  line-height: 1.1;
  margin: 0 0 8px;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.report-head .lead { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }

.meter { margin: 16px auto 0; max-width: 260px; }
.gauge { display: block; width: 100%; height: auto; overflow: visible; }
.gauge .arc { stroke-dasharray: var(--fill) 100; animation: arc 1.2s .3s var(--ease) both; }
@keyframes arc { from { stroke-dasharray: 0 100; } }
.gauge .needle { transform-origin: 110px 112px; transform: rotate(var(--deg)); animation: needle 1.2s .3s var(--ease) both; }
@keyframes needle { from { transform: rotate(-90deg); } }
.meter-read { margin-top: 6px; display: flex; flex-direction: column; align-items: center; }
.meter-read span { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.meter-read strong { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--accent); }
.meter .scale { display: flex; justify-content: space-between; margin-top: -2px; font-size: 12px; color: var(--muted); }

.sec { margin-top: 30px; animation: rise .5s var(--ease) both; }
.sec h3 { font-family: var(--serif); font-size: 20px; line-height: 1.4; margin: 0 0 12px; }

/* 顾问的话 */
.note { padding: 18px 18px 8px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.note-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.note-head p { margin: 0; font-size: 16px; font-weight: 700; }
.points { list-style: none; padding: 0; margin: 0; }
.points li { display: flex; flex-direction: column; padding: 10px 0 10px 18px; position: relative; }
.points li + li { border-top: 1px dashed var(--line); }
.points li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.points strong { font-size: 16px; }
.points span { font-size: 14px; color: var(--muted); }

/* 之前的方法 */
.tried { list-style: none; padding: 0; margin: 0; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden; }
.tried li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; }
.tried li + li { border-top: 1px solid var(--line); }
.tried .x { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fde4dc; color: #d4573a; }
.tried .x svg { width: 11px; height: 11px; }
.tried .name { flex: none; min-width: 5.6em; font-size: 14px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(212, 87, 58, .5); }
.tried .why { font-size: 15px; font-weight: 600; }
.banner {
  margin: 12px 0 0;
  padding: 14px 16px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--brand-deep);
  background: linear-gradient(120deg, var(--mint), var(--accent-soft));
  border-radius: var(--r-md);
}

/* 3 件事 */
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: tip; }
.tips li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 15.5px;
  font-weight: 600;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  counter-increment: tip;
}
.tips li::before {
  content: counter(tip);
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  background: var(--mint);
  border-radius: 50%;
}

/* 下一步 */
.offer {
  margin-top: 32px;
  padding: 24px 20px 20px;
  background: var(--surface);
  border-radius: 26px;
  border: 1.5px solid var(--brand-line);
  box-shadow: 0 24px 48px -26px rgba(28, 38, 34, .3);
}
.offer .tag { display: inline-block; margin-bottom: 10px; padding: 4px 10px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #c46a33; background: var(--accent-soft); border-radius: 99px; }
.offer h3 { font-family: var(--serif); font-size: 24px; line-height: 1.35; margin: 0 0 14px; }
.offer p { margin: 0 0 16px; color: var(--ink-2); }
.stack { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.stack li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; font-weight: 600; }
.stack .ok { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; }
.stack .ok svg { width: 12px; height: 12px; }

.disclaimer { margin: 24px 4px 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 12px 20px max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 60%, rgba(248, 245, 239, 0));
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.sticky.show { transform: none; }
.sticky .btn { max-width: 520px; margin: 0 auto; }

@media (min-width: 640px) {
  .app { padding-top: 48px; }
  .hero-photo { margin: -48px -20px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   真实感：顾问、照片、成绩、Logo
   ========================================================= */
h1, h2, h3, .display, .qtitle { font-weight: 800; letter-spacing: -.01em; }

.logo { display: block; height: 28px; width: auto; margin: 0 auto 14px; }

.avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--mint);
  border: 2px solid #fff;
  box-shadow: var(--shadow);
}
.avatar.ph { display: grid; place-items: center; font-size: 16px; font-weight: 800; color: var(--brand); }

.consultant { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; background: rgba(255, 255, 255, .75); border-radius: var(--r-md); }
.consultant strong { display: block; font-size: 15px; line-height: 1.3; }
.consultant small { display: block; font-size: 12.5px; color: var(--muted); }
.consultant p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.offer .consultant { margin: -4px 0 16px; padding: 0; background: none; }

.proof { margin: 16px 0 0; text-align: center; font-size: 14px; font-weight: 700; color: var(--brand); }

.scalp-photo { margin: 18px 0 0; }
.scalp-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.scalp-photo figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }

.slot {
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #b0663a;
  background: repeating-linear-gradient(-45deg, rgba(238, 143, 85, .06) 0 10px, transparent 10px 20px);
  border: 1.5px dashed rgba(238, 143, 85, .6);
  border-radius: var(--r-md);
}
.slot.hero { height: 34vh; margin-bottom: 20px; border-radius: var(--r-lg); }
.slot.photo { aspect-ratio: 4 / 3; margin-top: 18px; border-radius: var(--r-lg); }
.slot.line { margin-top: 16px; }

/* =========================================================
   Kállos 品牌：数字用高对比衬线体，呼应 Logo
   ========================================================= */
.stats strong, .big-stat strong, .big-stat span, .pct, .step-count, .watermark, .meter-read strong { font-family: var(--num); font-weight: 400; }
.stats strong { font-size: 40px; }
.big-stat strong { letter-spacing: 0; }
.logo { height: 42px; margin: 2px auto 18px; }
.eyebrow { color: var(--accent); }
.kicker { color: var(--accent); }
.proof { color: var(--accent); letter-spacing: .04em; }
.hl { padding-right: 2px; }
.points li::before { background: var(--sand); }
.offer .tag { color: #6e5532; }
.ready { color: var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { color: var(--accent); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(168, 134, 90, .18); }
.consent input:checked { background-color: var(--brand); border-color: var(--brand); }

/* 品牌叶影：只在开场、冲击画面、分析中出现，边缘柔和淡出 */
body.feature::before {
  content: "";
  position: fixed;
  top: -40px;
  right: -60px;
  width: 340px;
  height: 470px;
  background: url("leaf-shadow.jpg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
          mask-image: radial-gradient(closest-side, #000 55%, transparent);
  mix-blend-mode: multiply;
  opacity: .85;
  pointer-events: none;
  z-index: 0;
}
.app { position: relative; z-index: 1; }

/* 开场照片：人脸在画面中上方，往下淡出接标题 */
/* 开场照片：贴满整个上半部（顶到屏幕最上面、左右到边），底部淡出接标题 */
.intro .hero-photo {
  height: 54vh;
  height: 54svh;
  min-height: 340px;
  max-height: 560px;
  /* 顶到屏幕最上面，左右贴满整个视窗（不受内容 560px 宽度限制） */
  width: 100vw;
  margin: calc(-1 * max(16px, env(safe-area-inset-top))) calc(50% - 50vw) -36px;
  background-size: cover;
  background-position: center 18%;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
          mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.intro .intro-copy { position: relative; }
@media (min-width: 640px) {
  .intro .hero-photo { margin: -48px calc(50% - 50vw) -36px; background-position: center 34%; }
}
/* 照片墙上已经有 Logo，就不再重复放顶部 Logo */
.intro .logo:has(+ .hero-photo) { display: none; }

.analyzing-who { margin: -8px 0 10px; }
.analyzing .scanner { margin-bottom: 22px; }

body:has(.intro .hero-photo) { overflow-x: hidden; }

/* 标题上方的方案亮点 */
.offer .offer-plan { margin: 0 0 6px; font-size: 15px; font-weight: 800; letter-spacing: .02em; color: var(--accent); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* 「你提到的情况」：小标题在上，答案在下 */
.points li.mirror span { font-size: 12px; letter-spacing: .06em; margin-bottom: 2px; }
.points li.mirror::before { top: 30px; }
.meter-read strong small { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 2px; }

/* 陪跑的价值：自己乱试 vs 有人陪跑 */
.vs { border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.vs-head, .vs-row { display: grid; grid-template-columns: 1fr 1.35fr; }
.vs-head span { padding: 12px 14px; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.vs-head span:first-child { color: var(--muted); }
.vs-head span:last-child { color: #fff; background: var(--grad); }
.vs-row + .vs-row { border-top: 1px solid var(--line); }
.vs-row > span { display: flex; gap: 8px; align-items: flex-start; padding: 13px 14px; font-size: 14px; line-height: 1.45; }
.vs-a { color: var(--muted); }
.vs-b { color: var(--ink); font-weight: 700; background: rgba(214, 182, 138, .14); }
.vs i { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; }
.vs i svg { width: 11px; height: 11px; }
.vs-a i { color: #b5ab9b; background: #efebe3; }
.vs-b i { color: #fff; background: var(--accent); }

/* 陪跑用户的节奏 */
.journey { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.journey::before { content: ""; position: absolute; left: 10px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--grad); }
.journey li { position: relative; display: grid; grid-template-columns: 112px 1fr; align-items: baseline; padding: 9px 0 9px 28px; }
.journey li::before { content: ""; position: absolute; left: 1px; top: 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.journey li:last-child::before { background: var(--accent); }
.journey strong { font-family: var(--num); font-weight: 400; font-size: 20px; color: var(--accent); }
.journey span { font-size: 15px; font-weight: 700; color: var(--ink); }
.journey-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* Offer：点了按钮之后会发生什么 */
.offer .how { list-style: none; counter-reset: how; margin: 0 0 20px; padding: 0; }
.offer .how li { counter-increment: how; position: relative; display: flex; flex-direction: column; padding: 0 0 14px 42px; }
.offer .how li::before { content: counter(how); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--num); font-size: 15px; }
.offer .how li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line); }
.offer .how strong { font-size: 16px; line-height: 1.4; }
.offer .how span { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.offer .btn.wa { font-size: 17px; padding-top: 19px; padding-bottom: 19px; }
.offer .btn-note { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* 真实用户评价：横向滑动卡片 */
.tm-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none; }
.tm-row::-webkit-scrollbar { display: none; }
.tm, .slot.tm-slot { flex: 0 0 82%; scroll-snap-align: start; margin: 0; }
.tm { background: var(--surface); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.tm img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.tm blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.tm blockquote::before { content: "“"; display: block; font-family: var(--num); font-size: 40px; line-height: .6; color: var(--sand); margin-bottom: 4px; }
.tm figcaption { display: flex; flex-direction: column; font-size: 13px; }
.tm figcaption span { color: var(--accent); font-weight: 700; }
.slot.tm-slot { min-height: 200px; border-radius: 18px; }
