/* ==========================================================================
   zhangfangai.site — 共用样式表
   风格：青绿主色（teal）+ 整屏电影感首屏，参考 inscape web design
   改颜色 / 改字号：只动下面 :root 里的变量。改文案不用碰这个文件。
   ========================================================================== */

:root{
  --teal:#0e7c7b;        /* 主色：青绿 */
  --teal-deep:#0a5f5e;   /* hover 用 */
  --teal-soft:#e8f4f4;   /* 极浅青底 */
  --teal-line:#c8e3e2;
  --amber:#d98324;       /* 点缀暖色，对应大图里的金光 */

  --night:#0d2b33;       /* 深夜底色，深色区块用 */
  --night-2:#082026;

  --ink:#12211f;
  --ink-2:#2c3d3b;
  --muted:#5d6f6d;
  --muted-2:#8a9a98;
  --line:#e4eae9;
  --line-soft:#f0f4f3;
  --bg:#fff;
  --bg-2:#f6f9f8;

  --ok:#12a150;
  --warn:#d98324;

  --max:1160px;
  --read:720px;
  --radius:10px;
  --radius-sm:6px;
  --shadow:0 1px 2px rgba(18,33,31,.04), 0 10px 30px rgba(18,33,31,.07);
  --shadow-teal:0 12px 34px rgba(14,124,123,.22);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB",
              "Microsoft YaHei","Source Han Sans SC","Noto Sans CJK SC",
              "Segoe UI",Roboto,sans-serif;
  font-size:16.5px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%; height:auto; display:block}
a{color:var(--teal); text-decoration:none}
a:hover{color:var(--teal-deep)}
:focus-visible{outline:2px solid var(--teal); outline-offset:3px}

.wrap{max-width:var(--max); margin:0 auto; padding:0 24px}
.narrow{max-width:var(--read); margin-left:auto; margin-right:auto}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--teal); color:#fff; padding:12px 18px}
.skip-link:focus{left:12px; top:12px}

/* ============================ 导航（白底，居中） ============================ */

.nav{
  position:sticky; top:0; z-index:100;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--max); margin:0 auto; padding:16px 24px;
  display:flex; align-items:center; gap:20px;
}
.brand{font-weight:800; font-size:18px; color:var(--ink); white-space:nowrap}
.brand span{font-weight:400; color:var(--muted-2); font-size:13px; margin-left:8px}
.nav-links{margin-left:auto; display:flex; align-items:center; gap:26px; font-size:15px}
.nav-links a{color:var(--muted)}
.nav-links a:hover{color:var(--ink)}
.nav-cta{
  background:var(--teal); color:#fff !important;
  padding:10px 22px; border-radius:var(--radius-sm);
  font-weight:600; font-size:15px;
}
.nav-cta:hover{background:var(--teal-deep)}

/* ============================ 首屏：整屏大图 + 居中文字 ============================ */

.hero{
  position:relative;
  min-height:clamp(520px,82vh,760px);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  background:var(--night);
  text-align:center;
}
/* 整屏首屏：减去导航条高度，图占满一屏 */
.hero-full{
  min-height:calc(100svh - 61px);
  height:calc(100svh - 61px);
}
@supports not (height:100svh){
  .hero-full{min-height:calc(100vh - 61px); height:calc(100vh - 61px)}
}
.hero-bg{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
}
.hero::after{
  content:""; position:absolute; inset:0;
  /* 遗罩只用来保证文字可读，不能把图压成纯色底。
     如果觉得字看不清，把下面三个数值调大；觉得图太暗，调小。 */
  background:
    radial-gradient(ellipse 74% 56% at 50% 46%,
      rgba(6,26,32,.46) 0%, rgba(6,26,32,.12) 62%, rgba(6,26,32,0) 100%),
    linear-gradient(180deg,
      rgba(6,26,32,.30) 0%, rgba(6,26,32,.06) 40%, rgba(6,26,32,.52) 100%);
}
.hero-inner{
  position:relative; z-index:2;
  max-width:900px; padding:80px 24px;
}

/* 大图上唯一的一句标语。改文案直接改 index.html 里那七个字。 */
.hero-tagline{
  display:flex; align-items:center; justify-content:center;
  gap:clamp(16px,3vw,34px);
  margin:0;
  font-size:clamp(30px,6.4vw,64px); font-weight:800;
  letter-spacing:.16em; text-indent:.16em;
  line-height:1.3; color:#fff;
  text-shadow:0 2px 30px rgba(4,18,22,.62);
}
.hero-tagline::before,.hero-tagline::after{
  content:""; height:1px; width:clamp(28px,8vw,110px);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);
  flex:none;
}

/* 标语下面那行资历小字：落地就知道你是谁，不抢视觉 */
.hero-cred{
  margin:20px 0 0;
  font-size:clamp(13px,1.6vw,15.5px); font-weight:500;
  letter-spacing:.14em; text-indent:.14em;
  color:rgba(255,255,255,.82);
  text-shadow:0 1px 14px rgba(4,18,22,.6);
}

/* 首屏底部向下箭头，暗示还有内容 */
.hero-scroll{
  position:absolute; left:50%; bottom:32px; transform:translateX(-50%);
  z-index:3; width:38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.4); border-radius:50%;
  transition:background .18s ease, border-color .18s ease;
}
.hero-scroll span{
  width:9px; height:9px; margin-top:-3px;
  border-right:1.5px solid rgba(255,255,255,.85);
  border-bottom:1.5px solid rgba(255,255,255,.85);
  transform:rotate(45deg);
}
.hero-scroll:hover{background:rgba(255,255,255,.16); border-color:#fff}
@media (prefers-reduced-motion:no-preference){
  .hero-scroll{animation:nudge 2.4s ease-in-out infinite}
}
@keyframes nudge{
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(6px)}
}

.eyebrow{
  display:inline-block;
  font-size:13px; font-weight:600; letter-spacing:.06em;
  color:#fff; background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.28);
  padding:6px 16px; border-radius:100px;
  margin:0 0 26px;
  backdrop-filter:blur(4px);
}
.hero h1{
  font-size:clamp(30px,5vw,54px);
  line-height:1.2; letter-spacing:-.02em; font-weight:800;
  margin:0 0 22px; color:#fff;
  text-shadow:0 2px 24px rgba(4,18,22,.5);
}
.hero h1 em{
  font-style:normal; color:#fff;
  border-bottom:4px solid var(--amber); padding-bottom:2px;
}
.hero .sub{
  font-size:clamp(16px,2vw,19px);
  color:rgba(255,255,255,.9);
  margin:0 auto 34px; max-width:620px;
  text-shadow:0 1px 16px rgba(4,18,22,.5);
}

.cta-row{display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:center}
.btn{
  display:inline-block; cursor:pointer;
  background:var(--teal); color:#fff;
  padding:15px 32px; border-radius:var(--radius-sm);
  font-weight:600; font-size:16px;
  border:1px solid var(--teal);
  transition:background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn:hover{background:var(--teal-deep); border-color:var(--teal-deep);
  color:#fff; transform:translateY(-1px); box-shadow:var(--shadow-teal)}
.btn-ghost{background:rgba(255,255,255,.1); color:#fff;
  border:1px solid rgba(255,255,255,.45); backdrop-filter:blur(4px)}
.btn-ghost:hover{background:rgba(255,255,255,.2); border-color:#fff;
  color:#fff; box-shadow:none}
.btn-sm{padding:11px 22px; font-size:15px}
.hero-note{margin:22px 0 0; font-size:14px; color:rgba(255,255,255,.65)}

/* 浅色区块里的次要按钮 */
.btn-outline{background:#fff; color:var(--ink); border:1px solid var(--line)}
.btn-outline:hover{background:var(--bg-2); border-color:var(--muted-2);
  color:var(--ink); box-shadow:none}

/* 白底区块里的主按钮（深色，比青绿更稳重） */
.btn-dark{background:var(--night); border-color:var(--night); color:#fff}
.btn-dark:hover{background:var(--night-2); border-color:var(--night-2); color:#fff;
  box-shadow:0 12px 30px rgba(13,43,51,.26)}

/* ============================ 数字条 ============================ */

.statsbar{background:var(--teal); color:#fff}
.stats{
  max-width:var(--max); margin:0 auto; padding:36px 24px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:8px;
}
.stat{padding:4px 18px; border-left:1px solid rgba(255,255,255,.26)}
.stat:first-child{border-left:0; padding-left:0}
.stat b{
  display:block; font-size:clamp(24px,3.2vw,34px); font-weight:800;
  color:#fff; line-height:1.15; letter-spacing:-.02em;
}
.stat small{display:block; margin-top:6px; font-size:13px;
  color:rgba(255,255,255,.8); line-height:1.55}

/* ============================ 区块 ============================ */

section{padding:78px 0}
section.tight{padding:56px 0}
.band-grey{background:var(--bg-2)}
.band-white{background:#fff}
.band-teal{background:var(--teal); color:#fff}
.band-night{background:var(--night); color:#fff}
.band-soft{background:var(--teal-soft)}

h2{font-size:clamp(24px,3.2vw,34px); line-height:1.28;
  font-weight:800; letter-spacing:-.02em; margin:0 0 14px}
h2 em{font-style:normal; color:var(--teal)}
h3{font-size:18.5px; line-height:1.45; font-weight:700; margin:0 0 10px}
.band-teal h2,.band-teal h3,.band-night h2,.band-night h3{color:#fff}
.band-teal h2 em,.band-night h2 em{color:#fff;
  border-bottom:3px solid var(--amber); padding-bottom:1px}

.kicker{
  font-size:13px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--teal); margin:0 0 12px;
}
.band-teal .kicker,.band-night .kicker{color:rgba(255,255,255,.75)}
.section-note{color:var(--muted); margin:0 0 34px; max-width:var(--read)}
.band-teal .section-note,.band-night .section-note{color:rgba(255,255,255,.84)}
p{margin:0 0 16px}

/* ============================ 钩子卡片 ============================ */

.hook{
  background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow);
  padding:44px; position:relative; overflow:hidden;
}
.hook::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:4px;
  background:var(--teal);
}
.hook h2{margin-bottom:10px}
.hook-lead{font-size:18.5px; color:var(--ink-2); margin:0 0 30px; max-width:var(--read)}

.badge{
  display:inline-block; font-size:12.5px; font-weight:700;
  padding:3px 12px; border-radius:100px; margin-left:8px;
  vertical-align:middle;
}
.badge-free{background:rgba(18,161,80,.1); color:var(--ok)}
.badge-paid{background:rgba(217,131,36,.14); color:var(--warn)}

.steps3{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
  margin:0 0 30px; padding:0; list-style:none; counter-reset:s3;
}
.steps3 li{
  counter-increment:s3; padding:24px 22px;
  background:var(--bg-2); border:1px solid var(--line-soft);
  border-radius:var(--radius-sm);
}
.steps3 li::before{
  content:counter(s3);
  display:flex; align-items:center; justify-content:center;
  width:30px; height:30px; margin-bottom:14px;
  background:var(--teal); color:#fff; border-radius:8px;
  font-size:14px; font-weight:700;
}
.steps3 b{display:block; margin-bottom:6px; font-size:16px}
.steps3 small{display:block; color:var(--muted); font-size:14px; line-height:1.65}

.why-free{
  background:var(--teal-soft); border:1px solid var(--teal-line);
  border-radius:var(--radius-sm);
  padding:20px 24px; margin:0 0 30px; font-size:15.5px; color:var(--ink-2);
}
.why-free strong{color:var(--teal-deep)}

/* ============================ 卡片网格 ============================ */

.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:22px}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}

.card{
  background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); padding:28px;
  transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover{box-shadow:var(--shadow); transform:translateY(-2px); border-color:var(--teal-line)}
.card p:last-child{margin-bottom:0}
.card .num{
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; margin:0 0 14px;
  background:var(--teal-soft); color:var(--teal-deep);
  border-radius:8px; font-size:14px; font-weight:800;
}

.tag{
  display:inline-block; margin:5px 6px 0 0;
  background:var(--bg-2); color:var(--muted);
  border:1px solid var(--line);
  padding:4px 12px; border-radius:100px;
  font-size:12.5px; line-height:1.6; white-space:nowrap;
}
.band-teal .tag,.band-night .tag{background:rgba(255,255,255,.14);
  color:#fff; border-color:rgba(255,255,255,.24)}

/* ============================ 我是谁 ============================ */

.about{display:grid; grid-template-columns:290px 1fr; gap:46px; align-items:start}
.portrait{border-radius:var(--radius); overflow:hidden;
  background:var(--bg-2); border:1px solid var(--line)}
.portrait img{width:100%; aspect-ratio:4/5; object-fit:cover}
.portrait-ph{
  aspect-ratio:4/5; display:flex; align-items:center; justify-content:center;
  text-align:center; color:var(--muted-2); font-size:14px; line-height:1.7;
  border:1px dashed var(--line); background:var(--bg-2);
}
.portrait-cap{margin:12px 0 0; font-size:14px; color:var(--muted)}

/* ============================ 机构名单 ============================ */

.orgs{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:rgba(255,255,255,.2);
  border:1px solid rgba(255,255,255,.2);
  border-radius:var(--radius); overflow:hidden;
}
.orgs div{
  background:var(--night); padding:24px 22px;
  font-size:15.5px; font-weight:700; color:#fff;
  display:flex; flex-direction:column; justify-content:center; min-height:88px;
}
.orgs div small{display:block; font-weight:400; font-size:13px;
  color:rgba(255,255,255,.7); margin-top:5px}

/* ============================ 交付流程 ============================ */

.steps{counter-reset:st; list-style:none; margin:0; padding:0}
.steps li{counter-increment:st; position:relative; padding:0 0 28px 60px}
.steps li::before{
  content:counter(st,decimal-leading-zero);
  position:absolute; left:0; top:1px;
  font-size:15px; font-weight:800; color:var(--teal);
}
.steps li::after{content:""; position:absolute; left:16px; top:28px; bottom:2px;
  width:2px; background:var(--line)}
.steps li:last-child{padding-bottom:0}
.steps li:last-child::after{display:none}
.steps b{display:block; font-size:17px; margin-bottom:4px}
.steps small{display:block; color:var(--muted); font-size:15px; line-height:1.7}

/* ============================ 行业滚动 ============================ */

.marquee{overflow:hidden; background:var(--bg-2);
  padding:20px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.marquee-track{display:flex; width:max-content; animation:slide 36s linear infinite}
.marquee span{
  font-size:clamp(17px,2.2vw,22px); font-weight:700;
  color:var(--muted-2); white-space:nowrap; padding:0 22px;
}
.marquee span::after{content:"/"; margin-left:22px; color:var(--teal-line)}
@keyframes slide{from{transform:translateX(0)} to{transform:translateX(-50%)}}
.marquee:hover .marquee-track{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){
  .marquee-track{animation:none; flex-wrap:wrap; width:auto; justify-content:center}
  html{scroll-behavior:auto}
}

/* ============================ 笔记列表 ============================ */

.post-list{list-style:none; margin:0; padding:0}
.post-list li{padding:22px 0; border-bottom:1px solid var(--line)}
.post-list li:first-child{border-top:1px solid var(--line)}
.post-list a{font-size:19px; font-weight:700; color:var(--ink);
  line-height:1.45; display:inline-block}
.post-list a:hover{color:var(--teal)}
.post-list a.pending{color:var(--muted-2); cursor:default; pointer-events:none}
.post-list small{display:block; margin-top:7px; color:var(--muted); font-size:14.5px}

/* ============================ 文章正文 ============================ */

article.post{max-width:var(--read); margin:0 auto; padding:56px 0 78px}
article.post h1{font-size:clamp(26px,4vw,40px); line-height:1.25;
  font-weight:800; letter-spacing:-.02em; margin:0 0 14px}
article.post .meta{color:var(--muted-2); font-size:14.5px; margin:0 0 12px}
article.post .lede{font-size:18.5px; color:var(--muted); line-height:1.7;
  padding:18px 0 0; margin:0 0 34px; border-top:1px solid var(--line)}
article.post h2{font-size:clamp(21px,2.6vw,26px); margin:44px 0 14px}
article.post ul,article.post ol{margin:0 0 20px; padding-left:24px}
article.post li{margin-bottom:9px}
article.post table{width:100%; border-collapse:collapse; margin:0 0 26px;
  font-size:15.5px; background:#fff}
article.post th,article.post td{border:1px solid var(--line);
  padding:11px 14px; text-align:left; vertical-align:top}
article.post th{background:var(--teal-soft); font-weight:700; color:var(--ink)}

.callout{
  background:var(--teal-soft); border:1px solid var(--teal-line);
  border-left:4px solid var(--teal);
  border-radius:var(--radius-sm);
  padding:22px 26px; margin:30px 0;
}
.callout p:last-child{margin-bottom:0}

/* ============================ FAQ ============================ */

.faq{max-width:var(--read)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{
  cursor:pointer; list-style:none;
  padding:20px 44px 20px 0; position:relative;
  font-size:17px; font-weight:700; line-height:1.5;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+"; position:absolute; right:8px; top:16px;
  font-size:24px; font-weight:400; color:var(--teal); line-height:1;
}
.faq details[open] summary::after{content:"–"}
.faq summary:hover{color:var(--teal)}
.faq .answer{padding:0 0 24px; color:var(--muted)}
.faq .answer p:last-child{margin-bottom:0}
.faq .answer strong{color:var(--ink)}

/* ============================ 联系 ============================ */

.contact-grid{display:grid; grid-template-columns:1fr 236px; gap:46px; align-items:start}
.qr-slot{
  width:100%; aspect-ratio:1;
  display:flex; align-items:center; justify-content:center; text-align:center;
  background:rgba(255,255,255,.1); border:1px dashed rgba(255,255,255,.42);
  border-radius:var(--radius); color:rgba(255,255,255,.7);
  font-size:14px; line-height:1.7;
}
.qr-slot img{width:100%; height:100%; object-fit:contain}
.contact-line{margin:0 0 10px; font-size:16px; color:rgba(255,255,255,.9)}
.contact-line b{color:#fff; display:inline-block; min-width:70px}

/* ============================ 页脚 ============================ */

footer{
  background:var(--night-2); color:rgba(255,255,255,.55);
  font-size:14px; line-height:1.8; padding:42px 0;
}
footer a{color:rgba(255,255,255,.75)}
footer .foot-grid{display:flex; flex-wrap:wrap; gap:26px; justify-content:space-between}

/* ============================ 响应式 ============================ */

@media (max-width:960px){
  .about{grid-template-columns:1fr; gap:28px}
  .portrait{max-width:270px}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .orgs{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr; gap:30px}
  .qr-slot{max-width:220px}
}

@media (max-width:640px){
  body{font-size:16px}
  section{padding:52px 0}
  .wrap{padding:0 18px}
  .nav-inner{padding:12px 18px; gap:12px}
  .brand span{display:none}
  .nav-links{gap:14px; font-size:14px}
  .nav-links a:not(.nav-cta){display:none}
  .hero{min-height:clamp(460px,78vh,620px)}
  .hero-full{min-height:calc(100svh - 53px); height:calc(100svh - 53px)}
  .hero-inner{padding:56px 18px}
  .hero-scroll{bottom:22px}
  .stats{grid-template-columns:repeat(2,1fr); gap:20px 8px; padding:28px 18px}
  .stat{padding-left:14px}
  .stat:nth-child(3){border-left:0; padding-left:0}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .steps3{grid-template-columns:1fr; gap:14px}
  .orgs{grid-template-columns:1fr}
  .hook{padding:26px 20px}
  .hook::before{width:3px}
  .steps li{padding-left:42px}
  .steps li::after{left:11px}
  .cta-row .btn{flex:1 1 100%; text-align:center}
}

@media print{
  .nav,.marquee,.hero-bg{display:none}
  body{background:#fff; color:#000}
}

/* ============================ 联系表单（公开面） ============================ */

.lead-form{display:grid; gap:14px; margin-top:6px}
.lead-form .row2{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.lead-form label{display:block; font-size:14px; font-weight:600;
  margin-bottom:6px; color:rgba(255,255,255,.9)}
.lead-form input,.lead-form textarea{
  width:100%; box-sizing:border-box;
  padding:11px 13px; font:inherit; font-size:15px;
  border:1px solid rgba(255,255,255,.3); border-radius:var(--radius-sm);
  background:rgba(255,255,255,.94); color:var(--ink);
}
.lead-form input:focus,.lead-form textarea:focus{
  outline:2px solid #fff; outline-offset:1px; border-color:#fff;
}
.lead-form textarea{resize:vertical; min-height:96px}
.lead-form .hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
.lead-form button{justify-self:start}
.form-msg{margin:0; font-size:14.5px; line-height:1.6; min-height:22px}
.form-msg.ok{color:#c9f7d8; font-weight:600}
.form-msg.err{color:#ffd9c2; font-weight:600}
.form-note{font-size:13.5px; color:rgba(255,255,255,.7); margin:0}

@media (max-width:700px){
  .lead-form .row2{grid-template-columns:1fr}
}

/* ============================ 后台（/admin） ============================ */

.admin-body{background:var(--bg-2); color:var(--ink)}

.admin-login{min-height:100svh; display:grid; place-items:center; padding:24px}
.admin-card{background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow);
  padding:34px 32px; width:100%; max-width:380px}
.admin-card h1{font-size:23px; margin:0 0 20px}
.admin-card label{display:block; font-size:14px; font-weight:600; margin:14px 0 6px}
.admin-card input{width:100%; box-sizing:border-box; padding:10px 12px;
  font:inherit; font-size:15px; border:1px solid var(--line);
  border-radius:var(--radius-sm); background:#fff}
.admin-card input:focus{outline:2px solid var(--teal); outline-offset:1px}
.admin-card button{width:100%; margin-top:20px; justify-content:center}
.admin-error{background:#fdeaea; border:1px solid #f5c6c6; color:#a12525;
  padding:10px 12px; border-radius:var(--radius-sm); font-size:14px; margin:0}
.admin-hint{color:var(--muted-2); font-size:13px; margin:14px 0 0}

.admin-wrap{max-width:1240px; margin:0 auto; padding:30px 22px 60px}
.admin-head{display:flex; align-items:flex-start; justify-content:space-between;
  gap:20px; flex-wrap:wrap; padding-bottom:20px; border-bottom:1px solid var(--line)}
.admin-head h1{font-size:25px; margin:0}
.admin-sub{color:var(--muted); font-size:14px; margin:6px 0 0}
.admin-flash{background:var(--teal-soft); border:1px solid var(--teal-line);
  color:var(--ink); padding:10px 14px; border-radius:var(--radius-sm);
  font-size:14.5px; margin:18px 0 0}
.admin-stats{display:flex; gap:34px; flex-wrap:wrap; margin:22px 0 26px}
.admin-stats .stat{display:flex; flex-direction:column; gap:2px;
  border-left:3px solid var(--teal); padding-left:14px}
.admin-stats .stat b{font-size:27px; line-height:1.1}
.admin-stats .stat span{color:var(--muted); font-size:13.5px}

.admin-tablewrap{overflow-x:auto; background:#fff;
  border:1px solid var(--line); border-radius:var(--radius)}
.admin-table{width:100%; border-collapse:collapse; font-size:14.5px}
.admin-table th,.admin-table td{padding:11px 13px; text-align:left;
  vertical-align:top; border-bottom:1px solid var(--line-soft)}
.admin-table th{background:var(--teal-soft); font-weight:700;
  white-space:nowrap; font-size:13.5px}
.admin-table tr:last-child td{border-bottom:0}
.admin-table .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:13px}
.admin-table .need{max-width:340px; white-space:pre-wrap; word-break:break-word;
  color:var(--ink-2); line-height:1.55}
.admin-table .empty{color:var(--muted); text-align:center; padding:40px 13px}

.pill{display:inline-block; padding:3px 10px; border-radius:99px;
  font-size:12.5px; font-weight:700; white-space:nowrap}
.pill-new{background:#fdf1e0; color:#92590f}
.pill-contacted{background:var(--teal-soft); color:var(--teal-deep)}
.pill-closed{background:#eef0ef; color:var(--muted)}

.inline-form{display:flex; gap:6px; align-items:center}
.inline-form select{padding:6px 8px; font:inherit; font-size:13.5px;
  border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff}

/* ============ 表单移入诊断区（白底）后的配色修正 ============ */
/* 原表单样式是为青底 .band-teal 写的，白底下必须改回深色文字，否则不可读 */

/* .hook-form 已废弃：表单改为 .hook-aside 右侧窄栏 */
.hook-form-title{font-size:19px; margin:0 0 6px}
.hook-form-sub{color:var(--muted); font-size:14.5px; line-height:1.65; margin:0 0 20px}

.hook .lead-form label{color:var(--ink-2)}
.hook .lead-form input,
.hook .lead-form textarea{
  background:#fff; border:1px solid var(--line); color:var(--ink);
}
.hook .lead-form input:focus,
.hook .lead-form textarea:focus{
  outline:2px solid var(--teal); outline-offset:1px; border-color:var(--teal);
}
.hook .form-note{color:var(--muted-2)}
.hook .form-msg.ok{color:#0f7a3d}
.hook .form-msg.err{color:#a12525}

/* ============ 联系区：二维码缩小并靠上对齐 ============ */

.qr-col{display:flex; justify-content:flex-start; align-items:flex-start}
.qr-slot.qr-sm{max-width:190px; font-size:13.5px}

@media (max-width:960px){
  .qr-col{justify-content:center}
  .qr-slot.qr-sm{max-width:170px}
}

/* ============ 诊断区两栏：左说明 + 右信息收集（缩小） ============ */
/* 表单从通栏改为右侧窄栏，宽度收到 340px，左侧说明占剩余空间 */

.hook-grid{display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:38px; align-items:start}
.hook-main{min-width:0}
.hook-main .why-free{margin-bottom:0}

.hook-aside{
  background:var(--bg-2); border:1px solid var(--line);
  border-radius:var(--radius-sm); padding:24px 22px;
  position:sticky; top:74px;
}
.hook-aside .hook-form-title{font-size:17.5px; margin:0 0 6px}
.hook-aside .hook-form-sub{color:var(--muted); font-size:13.5px; line-height:1.6; margin:0 0 18px}

/* 窄栏里两列输入挤，改单列；字号略收 */
.hook-aside .lead-form{gap:12px}
.hook-aside .lead-form .row2{grid-template-columns:1fr; gap:12px}
.hook-aside .lead-form label{font-size:13.5px; margin-bottom:5px}
.hook-aside .lead-form input,
.hook-aside .lead-form textarea{padding:9px 11px; font-size:14.5px}
.hook-aside .lead-form textarea{min-height:80px}
.hook-aside .lead-form button{width:100%; justify-content:center}
.hook-aside .form-note{font-size:12.5px; line-height:1.55}
.hook-aside .form-msg{font-size:13.5px}

/* 三步卡片在变窄的左栏里挤成一列不好看，改两列 */
@media (max-width:1120px){
  .hook-grid{grid-template-columns:minmax(0,1fr) 300px; gap:28px}
  .steps3{grid-template-columns:repeat(2,1fr)}
}

/* 平板及以下回到单栏，表单排在说明下方 */
@media (max-width:900px){
  .hook-grid{grid-template-columns:1fr; gap:28px}
  .hook-aside{position:static; top:auto}
  .hook-main .why-free{margin-bottom:0}
}

/* ============ 联系方式拆成微信+邮箱后的补充样式 ============ */

.field-hint{font-size:12.5px; color:var(--muted); margin:-4px 0 0; line-height:1.55}
.hook .field-hint{color:var(--muted-2)}

/* 后台新增列：意向评分 */
.admin-table .nowrap{white-space:nowrap}
.admin-table .contact-cell{line-height:1.7; font-size:12.5px}
.admin-table .muted-cell{color:var(--muted-2)}
.score-num{font-size:12.5px; color:var(--muted); margin-left:5px; font-weight:700}

.pill-lvl-high{background:var(--teal-soft); color:var(--teal-deep)}
.pill-lvl-medium{background:#fdf1e0; color:#92590f}
.pill-lvl-low{background:#eef0ef; color:var(--muted)}
.pill-lvl-junk{background:#fdeaea; color:#a12525}
