/* ==========================================================================
   AI无忧站 · 全站样式
   版式原则：暖纸底、墨绿标注、精确细线的「有温度的说明书」。
   白底深字阅读基因不变；细线只做装饰分隔，不承担控件边界。
   强调色只出现在链接、编号、主要按钮与少量标记上。
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root{
  --bg:#FBFAF8;
  --bg-soft:#F5F3EF;
  --bg-tint:#F7FAF8;
  --surface:#FFFFFF;
  --bg-accent:#E9F1ED;

  --ink:#171A1C;
  --ink-soft:#3D4449;
  --muted:#626970;
  --faint:#686F77;

  --line:#E7E5E0;
  --line-strong:#D2D0C9;
  --control:#8E918C;

  --accent:#1C6B5E;
  --accent-deep:#14544A;
  --accent-press:#0F4038;
  --accent-tint:#E9F1ED;
  --accent-tint-strong:#D8E8E1;

  --success:#2C7358;
  --success-tint:#EDF5F0;
  --success-deep:#1F5B48;
  --danger:#B42318;
  --danger-tint:#FBEFED;
  --danger-deep:#8E1C13;

  --r:3px;
  --r-sm:2px;
  --shadow-1:0 1px 2px rgba(23,26,28,.05);
  --shadow-primary:0 1px 2px rgba(20,84,74,.18);
  --shadow-primary-hover:0 3px 8px rgba(20,84,74,.20);
  --focus-ring:0 0 0 3px rgba(28,107,94,.14);

  --dur:.16s;
  --ease:cubic-bezier(.2,.7,.3,1);
  --maxw:1080px;
  --pad:32px;
  --font:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}

/* ---------- 2. 基础 ---------- */
*,*::before,*::after{
  box-sizing:border-box
}

html{
  -webkit-text-size-adjust:100%
}

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

img{
  display:block;
  max-width:100%;
  height:auto
}

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

h1,h2,h3,h4{
  margin:0;
  font-weight:600;
  line-height:1.4;
  letter-spacing:-.02em;
  color:var(--ink)
}

p{
  margin:0 0 1em
}

p:last-child{
  margin-bottom:0
}

ul,ol{
  margin:0 0 1em;
  padding-left:1.35em
}

ul:last-child,ol:last-child{
  margin-bottom:0
}

button{
  font:inherit;
  color:inherit;
  background:none;
  border:0;
  cursor:pointer
}

input,select,textarea{
  font:inherit;
  color:inherit
}

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

@media (forced-colors:active){
  :focus-visible{
    outline:2px solid Highlight;
    outline-offset:2px
  }
}

::selection{
  background:var(--accent-tint);
  color:var(--ink)
}

/* ---------- 3. 工具类 ---------- */
.container{
  width:min(var(--maxw),calc(100% - var(--pad) * 2));
  margin-inline:auto
}

.muted{
  color:var(--muted)
}

.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:fixed;
  top:-60px;
  left:16px;
  z-index:60;
  padding:9px 14px;
  background:var(--ink);
  color:#fff;
  font-size:13px
}

.skip-link:focus{
  top:0
}

.text-link{
  color:var(--accent);
  border-bottom:1px solid rgba(28,107,94,.3);
  transition:border-color var(--dur) var(--ease)
}

.text-link:hover{
  border-color:var(--accent)
}

.sep{
  color:var(--control)
}

.toast{
  position:fixed;
  left:50%;
  bottom:24px;
  z-index:70;
  max-width:calc(100% - 32px);
  padding:10px 16px;
  border-radius:var(--r);
  background:var(--ink);
  color:#fff;
  font-size:13px;
  line-height:1.5;
  box-shadow:0 8px 24px rgba(23,26,28,.14);
  opacity:0;
  transform:translate(-50%,10px);
  pointer-events:none;
  transition:opacity var(--dur) var(--ease),transform var(--dur) var(--ease)
}

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

.noscript-tip{
  margin:24px auto;
  max-width:900px;
  padding:12px 16px;
  border-left:3px solid var(--accent);
  border-radius:var(--r);
  background:var(--accent-tint);
  color:var(--ink-soft);
  font-size:13px
}

/* ---------- 4. 页头 ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:40;
  display:flex;
  align-items:center;
  gap:32px;
  height:64px;
  padding:0 max(var(--pad),calc((100% - var(--maxw)) / 2));
  border-bottom:1px solid var(--line);
  background:rgba(251,250,248,.92);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px)
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:600;
  color:var(--ink)
}

.brand-mark{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:var(--r);
  background:var(--accent);
  color:#fff;
  font-size:11px;
  font-weight:600;
  letter-spacing:.06em
}

.brand small{
  display:block;
  margin-top:1px;
  color:var(--muted);
  font-size:12px;
  font-weight:400;
  letter-spacing:0
}

.menu-toggle{
  display:none;
  margin-left:auto;
  width:44px;
  height:44px;
  border:1px solid var(--control);
  border-radius:var(--r);
  background:var(--surface);
  font-size:15px;
  line-height:1;
  transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease)
}

.menu-toggle:hover{
  border-color:var(--ink);
  background:var(--bg-soft)
}

.nav{
  display:flex;
  align-items:center;
  gap:28px;
  margin-left:auto;
  font-size:13.5px;
  color:var(--ink-soft)
}

.nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:4px 0;
  border-bottom:1px solid transparent;
  transition:color var(--dur) var(--ease),border-color var(--dur) var(--ease)
}

.nav a:hover{
  color:var(--accent);
  border-bottom-color:var(--accent)
}

.nav a[aria-current="page"]{
  color:var(--accent);
  border-bottom:2px solid var(--accent)
}

.site-header .nav-cta{
  padding:7px 16px;
  border:1px solid var(--ink);
  border-radius:var(--r);
  background:transparent;
  color:var(--ink);
  font-size:13.5px;
  font-weight:500
}

.site-header .nav-cta[aria-current="page"]{
  border-bottom:1px solid var(--ink);
  color:var(--ink);
  background:transparent
}

.site-header .nav-cta:hover{
  border-color:var(--ink);
  background:var(--ink);
  color:#fff
}

/* ---------- 5. 面包屑 ---------- */
.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  width:min(var(--maxw),calc(100% - var(--pad) * 2));
  margin-inline:auto;
  padding:22px 0 0;
  color:var(--faint);
  font-size:12.5px
}

.breadcrumbs a{
  color:var(--muted)
}

.breadcrumbs a:hover{
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:4px
}

.breadcrumbs [aria-current="page"]{
  color:var(--ink-soft)
}

/* ---------- 6. 按钮 ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:40px;
  padding:9px 18px;
  border:1px solid var(--control);
  border-radius:var(--r);
  background:var(--surface);
  color:var(--ink);
  font-size:14px;
  font-weight:400;
  line-height:1.5;
  box-shadow:var(--shadow-1);
  transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease),color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease)
}

.btn:hover{
  border-color:var(--ink);
  background:var(--bg-soft)
}

.btn:active{
  transform:translateY(1px)
}

.btn:disabled{
  opacity:.55;
  cursor:not-allowed
}

.btn-primary{
  border-color:var(--accent);
  background:var(--accent);
  color:#fff;
  font-weight:500;
  box-shadow:var(--shadow-primary)
}

.btn-primary:hover{
  border-color:var(--accent-deep);
  background:var(--accent-deep);
  color:#fff;
  box-shadow:var(--shadow-primary-hover);
  transform:translateY(-1px)
}

.btn-primary:active{
  border-color:var(--accent-press);
  background:var(--accent-press);
  box-shadow:none;
  transform:none
}

/* ---------- 7. 首页 hero ---------- */
.hero{
  padding:88px 0 72px;
  background:linear-gradient(180deg,var(--bg-tint),var(--bg))
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:24px 64px;
  align-items:start
}

.hero h1{
  font-size:clamp(32px,3.6vw,44px);
  line-height:1.24;
  letter-spacing:-.02em
}

.hero h1::before{
  content:"新手友好 · 远程陪跑";
  display:block;
  margin-bottom:16px;
  padding-left:10px;
  border-left:2px solid var(--accent);
  color:var(--accent);
  font:500 12px/1.6 var(--font);
  letter-spacing:.08em
}

.hero-side{
  padding-left:28px;
  border-left:1px solid var(--line)
}

.hero-lede{
  margin:0;
  color:var(--ink-soft);
  font-size:16px;
  line-height:1.8
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 22px;
  margin-top:28px
}

.hero-note{
  margin:28px 0 0;
  padding-top:16px;
  border-top:1px solid var(--line);
  color:var(--faint);
  font-size:12.5px;
  line-height:1.8
}

/* ---------- 8. 区块 ---------- */
.section{
  padding:64px 0;
  border-top:1px solid var(--line)
}

.section-head{
  margin-bottom:32px
}

.section-head h2{
  font-size:clamp(20px,2.2vw,24px);
  line-height:1.4;
  letter-spacing:-.02em
}

.section-head p{
  max-width:44em;
  margin:8px 0 0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.75
}

.section-link{
  display:inline-block;
  margin-top:12px;
  color:var(--accent);
  font-size:13px
}

.section-link:hover{
  border-bottom:1px solid var(--accent)
}

/* ---------- 9. 工具目录 ---------- */
.tool-list{
  border-top:1px solid var(--line)
}

.tool-row{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 20px;
  align-items:center;
  gap:20px;
  margin-inline:-20px;
  padding:18px 20px;
  border-bottom:1px solid var(--line);
  border-radius:var(--r);
  transition:background var(--dur) var(--ease)
}

.tool-row:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:-2px;
  background:var(--bg-soft)
}

.tool-logo{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--surface);
  color:var(--ink-soft);
  font-size:15px
}

.tool-logo img{
  width:28px;
  height:28px;
  object-fit:contain
}

.tool-body{
  min-width:0
}

.tool-name{
  margin:0;
  font-size:16px;
  font-weight:600;
  line-height:1.5
}

.tool-cat{
  display:inline-block;
  margin-left:10px;
  padding-left:10px;
  border-left:1px solid var(--line-strong);
  color:var(--faint);
  font-size:12.5px;
  font-weight:400
}

.tool-desc{
  margin:3px 0 0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.75
}

.tool-tags{
  margin:5px 0 0;
  color:var(--faint);
  font-size:12px
}

.tool-tags span:before{
  content:"·";
  margin:0 8px 0 0;
  color:var(--line-strong)
}

.tool-tags span:first-child:before{
  content:none
}

.tool-arrow{
  color:var(--control);
  font-size:14px;
  text-align:right;
  transition:color var(--dur) var(--ease),transform var(--dur) var(--ease)
}

.tool-row:hover{
  background:var(--bg-soft)
}

.tool-row:hover .tool-name{
  color:var(--accent)
}

.tool-row:hover .tool-arrow{
  color:var(--accent);
  transform:translateX(3px)
}

/* ---------- 10. 服务清单 ---------- */
.service-list{
  border-top:1px solid var(--line)
}

.service-item{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:16px;
  padding:20px 0;
  border-bottom:1px solid var(--line)
}

.service-no{
  min-width:28px;
  padding-top:4px;
  border-top:2px solid var(--accent);
  color:var(--accent);
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.04em
}

.service-title{
  margin:0;
  font-size:16px;
  font-weight:600;
  line-height:1.5;
  transition:color var(--dur) var(--ease)
}

.service-item:hover .service-title{
  color:var(--accent)
}

.service-desc{
  margin:4px 0 0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.75
}

.service-includes{
  margin:9px 0 0;
  color:var(--faint);
  font-size:12.5px
}

.service-includes b{
  font-weight:400;
  color:var(--muted)
}

.service-model{
  margin-top:44px
}

/* ---------- 11. 价格清单 ---------- */
.price-list{
  border-top:1px solid var(--line)
}

.price-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:4px 32px;
  padding:20px 0;
  border-bottom:1px solid var(--line)
}

.price-name{
  margin:0;
  font-size:16px;
  font-weight:600;
  line-height:1.5
}

.price-desc{
  grid-column:1;
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.75
}

.price-value{
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
  padding-left:16px;
  border-left:1px solid var(--line);
  color:var(--accent-deep);
  font-family:var(--mono);
  font-size:12.5px;
  white-space:nowrap;
  transition:color var(--dur) var(--ease)
}

.price-row:hover .price-value{
  color:var(--accent)
}

/* ---------- 12. 流程 ---------- */
.step-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  margin:0;
  padding:0;
  border-top:0;
  list-style:none
}

.step-item{
  display:block;
  margin-right:16px;
  padding:16px 16px 0 0;
  border-top:2px solid var(--line-strong);
  border-bottom:0;
  transition:border-color var(--dur) var(--ease)
}

.step-item:last-child{
  margin-right:0
}

.step-item:hover{
  border-top-color:var(--accent)
}

.step-no{
  color:var(--accent);
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.04em
}

.step-title{
  margin:10px 0 0;
  font-size:14.5px;
  font-weight:600;
  line-height:1.6;
  transition:color var(--dur) var(--ease)
}

.step-item:hover .step-title{
  color:var(--accent)
}

.step-desc{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.7
}

/* ---------- 13. 要点清单 ---------- */
.checklist{
  margin:0;
  padding:20px 24px;
  border:1px solid var(--line);
  border-left:3px solid var(--accent);
  border-radius:var(--r);
  background:var(--bg-soft);
  list-style:none
}

.check{
  display:grid;
  grid-template-columns:18px minmax(0,1fr);
  gap:14px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  color:var(--ink-soft);
  font-size:13.5px;
  line-height:1.8
}

.check:last-child{
  border-bottom:0
}

.check b{
  color:var(--accent);
  font-size:0;
  line-height:0;
  font-weight:400
}

.check b::before{
  content:"✓";
  display:block;
  text-align:center;
  font-size:14px;
  line-height:1
}

/* ---------- 14. FAQ ---------- */
.faq-list{
  border-top:1px solid var(--line)
}

.faq-item{
  border-bottom:1px solid var(--line);
  transition:background var(--dur) var(--ease)
}

.faq-item[open]{
  background:var(--bg-tint)
}

.faq-item summary{
  position:relative;
  padding:18px 44px 18px 0;
  color:var(--ink);
  font-size:15px;
  font-weight:500;
  line-height:1.7;
  cursor:pointer;
  list-style:none;
  transition:color var(--dur) var(--ease)
}

.faq-item summary::-webkit-details-marker{
  display:none
}

.faq-item summary:after{
  content:"+";
  position:absolute;
  top:50%;
  right:0;
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  border:1px solid var(--control);
  border-radius:var(--r-sm);
  color:var(--faint);
  font-size:13px;
  font-weight:400;
  line-height:1;
  transform:translateY(-50%);
  transition:border-color var(--dur) var(--ease),color var(--dur) var(--ease),background var(--dur) var(--ease)
}

.faq-item[open] summary:after{
  content:"−";
  border-color:var(--accent);
  background:var(--accent-tint);
  color:var(--accent)
}

.faq-item summary:hover{
  color:var(--accent)
}

.faq-item p{
  margin:0;
  padding:2px 0 18px 16px;
  border-left:2px solid var(--accent-tint-strong);
  color:var(--muted);
  font-size:13.5px;
  line-height:1.85
}

/* ---------- 15. 行动号召 ---------- */
.cta-block{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:48px 0 8px;
  padding:28px 32px;
  border:1px solid var(--line);
  border-left:3px solid var(--accent);
  border-radius:var(--r);
  background:var(--bg-soft)
}

.cta-block strong{
  display:block;
  font-size:17px;
  font-weight:600
}

.cta-block p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.75
}

.cta-block .btn{
  min-width:132px
}

.article .cta-block,
.filter-wrap .cta-block{
  margin-top:48px
}

/* ---------- 16. 内容页 ---------- */
.page-hero{
  padding:56px 0 40px;
  border-bottom:1px solid var(--line)
}

.page-title{
  font-size:clamp(26px,3vw,34px);
  line-height:1.3;
  letter-spacing:-.02em
}

.page-hero .muted{
  max-width:42em;
  margin:10px 0 0;
  color:var(--ink-soft);
  font-size:14.5px;
  line-height:1.8
}

.page-logo{
  width:44px;
  height:44px;
  margin-bottom:14px;
  object-fit:contain
}

.page-content{
  padding:36px 0 80px
}

.article{
  max-width:680px
}

.article h2{
  margin:36px 0 12px;
  padding-top:18px;
  border-top:1px solid var(--line);
  font-size:18px;
  font-weight:600;
  line-height:1.5
}

.article h2:first-child{
  margin-top:0;
  padding-top:0;
  border-top:0
}

.article h3{
  margin:22px 0 8px;
  font-size:15px;
  line-height:1.5
}

.article p,
.article li{
  max-width:40em;
  color:var(--ink-soft);
  font-size:14.5px;
  line-height:1.9
}

.article ul{
  list-style:disc
}

.meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
  margin-bottom:20px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
  color:var(--faint);
  font-size:12.5px
}

.panel{
  padding:28px 32px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--surface);
  box-shadow:var(--shadow-1)
}

.panel h2{
  margin:26px 0 10px;
  padding-top:0;
  border-top:0;
  font-size:18px;
  font-weight:600;
  line-height:1.5
}

.panel h2::before{
  content:"";
  display:block;
  width:20px;
  height:2px;
  margin-bottom:10px;
  background:var(--accent)
}

.panel h2:first-child{
  margin-top:0
}

.panel p,
.panel li{
  color:var(--ink-soft);
  font-size:14.5px;
  line-height:1.9
}

.panel ul{
  margin:0 0 1em;
  padding-left:1.35em;
  color:var(--ink-soft)
}

/* ---------- 17. 筛选 ---------- */
.filter-wrap{
  margin-bottom:8px
}

.filter-bar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px
}

.chip{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:6px 14px;
  border:1px solid transparent;
  border-radius:var(--r);
  background:var(--surface);
  color:var(--muted);
  font-size:13px;
  transition:color var(--dur) var(--ease),border-color var(--dur) var(--ease),background var(--dur) var(--ease)
}

.chip:hover{
  border-color:var(--control);
  background:var(--bg-soft);
  color:var(--ink)
}

.chip.active{
  border-color:var(--accent);
  background:var(--accent-tint);
  color:var(--accent-deep);
  font-weight:600
}

.search-box{
  flex:0 1 240px
}

.search-box input{
  width:100%;
  height:38px;
  padding:0 12px;
  border:1px solid var(--control);
  border-radius:var(--r);
  background:var(--surface);
  color:var(--ink);
  font-size:13.5px;
  transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)
}

.search-box input:focus{
  border-color:var(--accent);
  box-shadow:var(--focus-ring)
}

.result-count{
  margin:0 0 10px;
  color:var(--faint);
  font-size:12.5px
}

.empty-state{
  margin:0;
  padding:32px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--bg-soft);
  color:var(--muted);
  font-size:13.5px;
  text-align:center
}

/* ---------- 18. 表单 ---------- */
.field{
  display:grid;
  gap:8px;
  margin:0
}

.field label{
  color:var(--ink-soft);
  font-size:13px;
  font-weight:500
}

.field input,
.field select,
.field textarea{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid var(--control);
  border-radius:var(--r-sm);
  background:var(--surface);
  color:var(--ink);
  font-size:14.5px;
  transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),background var(--dur) var(--ease)
}

.field input:hover,
.field select:hover,
.field textarea:hover{
  border-color:var(--ink-soft)
}

.field select{
  appearance:none;
  -webkit-appearance:none;
  padding-right:36px;
  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 1.5 6 6.5 11 1.5' fill='none' stroke='%23686F77' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:12px 8px;
  cursor:pointer
}

.field textarea{
  min-height:108px;
  line-height:1.8;
  resize:vertical
}

.field input::placeholder,
.field textarea::placeholder{
  color:var(--faint)
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled{
  background:var(--bg-soft);
  cursor:not-allowed
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:var(--accent);
  box-shadow:var(--focus-ring)
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea{
  border-color:var(--danger);
  box-shadow:0 0 0 3px rgba(180,35,24,.12)
}

.field-error{
  display:none;
  color:var(--danger);
  font-size:12.5px;
  font-weight:500;
  line-height:1.5
}

.field.invalid .field-error{
  display:block
}

.field-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px
}

.label-opt{
  color:var(--muted);
  font-size:11.5px;
  font-weight:400
}

.req{
  color:var(--danger);
  font-style:normal;
  font-weight:400
}

.form-section{
  margin:22px 0 0;
  padding:0;
  border:0;
  min-width:0
}

.form-section legend{
  width:100%;
  margin:0 0 16px;
  padding:0 0 10px;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  font-size:13.5px;
  font-weight:600
}

.legend-num{
  margin-right:7px;
  color:var(--accent);
  font-family:var(--mono);
  font-size:12px;
  font-weight:400;
  letter-spacing:.04em
}

.legend-opt{
  float:right;
  color:var(--muted);
  font-size:11.5px;
  font-weight:400
}

/* ---------- 19. 联系页 ---------- */
.page-hero--contact .page-title{
  max-width:14em
}

.contact-hero{
  max-width:660px
}

.contact-meta{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  margin:22px 0 0;
  padding:0;
  list-style:none
}

.contact-meta li{
  padding-right:18px;
  margin-right:18px;
  border-right:1px solid var(--line);
  font-size:13px;
  color:var(--muted)
}

.contact-meta li:last-child{
  padding-right:0;
  margin-right:0;
  border-right:0
}

.contact-meta b{
  color:var(--ink);
  font-weight:600
}

.contact-meta span{
  margin-left:6px;
  color:var(--faint);
  font-size:12.5px
}

.contact-section{
  padding:36px 0 80px
}

.consult-page{
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:64px;
  align-items:start
}

.consult-intro{
  position:sticky;
  top:96px;
  padding-top:20px;
  border-top:2px solid var(--ink)
}

.consult-intro h2{
  margin:8px 0 8px;
  font-size:18px;
  line-height:1.5
}

.consult-lead{
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.8
}

.consult-steps{
  margin:18px 0 0;
  padding:0;
  list-style:none
}

.consult-steps li{
  display:grid;
  grid-template-columns:26px minmax(0,1fr);
  gap:10px;
  padding:10px 0;
  border-top:1px solid var(--line)
}

.consult-step-num{
  color:var(--accent);
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.04em;
  line-height:1.7
}

.consult-steps strong{
  display:block;
  font-size:14.5px;
  font-weight:600;
  line-height:1.6
}

.consult-steps p{
  margin:2px 0 0;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.7
}

.consult-guards{
  margin:16px 0 0;
  padding:12px 16px;
  border-left:3px solid var(--accent);
  border-radius:0 var(--r) var(--r) 0;
  background:var(--accent-tint);
  list-style:none
}

.consult-guards li{
  position:relative;
  padding-left:14px;
  color:var(--ink-soft);
  font-size:12.5px;
  line-height:1.7
}

.consult-guards li + li{
  margin-top:5px
}

.consult-guards li:before{
  content:"—";
  position:absolute;
  left:0;
  color:var(--accent)
}

.consult-privacy{
  margin:16px 0 0;
  color:var(--faint);
  font-size:12px;
  line-height:1.8
}

.consult-form{
  padding-top:20px;
  border-top:2px solid var(--accent)
}

.consult-form-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding-bottom:14px;
  margin-bottom:2px
}

.consult-form-head h2{
  margin:6px 0 0;
  font-size:18px
}

.consult-form-tip{
  margin:6px 0 0;
  color:var(--faint);
  font-size:12px
}

.consult-form-tip b{
  color:var(--danger);
  font-weight:400
}

.consult-duration{
  float:none;
  margin-top:0;
  color:var(--faint);
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.04em;
  white-space:nowrap
}

.consult-form .field{
  margin-top:14px
}

.consult-form .field-row{
  margin-top:14px
}

.consult-form .field-row .field{
  margin-top:0
}

.consult-actions{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid var(--line)
}

.consult-form .btn-primary{
  width:100%;
  height:46px;
  min-height:46px;
  justify-content:center;
  font-size:15px;
  font-weight:600
}

.consult-actions-note{
  margin:9px 0 0;
  color:var(--faint);
  font-size:12px;
  text-align:center
}

.form-success{
  margin:0 0 16px;
  padding:12px 16px;
  border-left:3px solid var(--success);
  border-radius:0 var(--r) var(--r) 0;
  background:var(--success-tint);
  color:var(--success-deep);
  font-size:13px;
  line-height:1.7
}

.form-success strong{
  font-weight:600
}

/* ---------- 20. 页脚 ---------- */
.footer{
  padding:56px max(var(--pad),calc((100% - var(--maxw)) / 2)) 28px;
  border-top:1px solid var(--line);
  background:var(--bg-soft);
  color:var(--muted);
  font-size:13px
}

.footer-main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:40px;
  padding-bottom:18px
}

.footer-main p{
  max-width:400px;
  margin:0;
  font-size:13px;
  line-height:1.8
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px 20px;
  padding:0 0 18px
}

.footer-links a{
  color:var(--ink-soft);
  transition:color var(--dur) var(--ease)
}

.footer-links a:hover{
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:4px
}

.legal{
  padding-top:18px;
  border-top:1px solid var(--line);
  color:var(--faint);
  font-size:12px;
  line-height:1.9
}

.section:last-of-type{
  padding-bottom:36px
}

/* ---------- 21. 响应式 ---------- */

/* 服务双栏只在 ≥1024 启用；901–1023 保持单栏 + hero 双栏 + step 横向 */
@media (min-width:1024px){
  .service-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:48px;
    border-top:0;
    border-bottom:1px solid var(--line)
  }
  .service-item{
    padding:24px 0;
    border-top:1px solid var(--line);
    border-bottom:0
  }
}

@media (max-width:900px){
  .nav{
    gap:16px
  }
  .hero-grid{
    grid-template-columns:1fr;
    gap:20px
  }
  .hero-side{
    padding-left:0;
    border-left:0
  }
  .consult-page{
    grid-template-columns:1fr;
    gap:32px
  }
  .consult-intro{
    position:static
  }
  .consult-form{
    order:-1
  }
  .step-list{
    border-top:1px solid var(--line)
  }
  .step-item{
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    gap:10px 14px;
    margin-right:0;
    padding:14px 0;
    border-top:0;
    border-bottom:1px solid var(--line)
  }
  .step-item:last-child{
    border-bottom:0
  }
  .step-desc{
    grid-column:2
  }
  .section{
    padding:48px 0
  }
}

@media (max-width:760px){
  :root{
    --pad:20px
  }
  .site-header{
    height:56px;
    gap:12px
  }
  .brand small{
    display:none
  }
  .menu-toggle{
    display:block
  }
  .nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    margin:0;
    padding:6px var(--pad) 12px;
    border-bottom:1px solid var(--line);
    background:var(--surface)
  }
  .nav.open{
    display:flex
  }
  .nav a{
    padding:10px 0;
    border-bottom:1px solid var(--line)
  }
  .nav a:last-child{
    border-bottom:0
  }
  .site-header .nav-cta{
    margin-top:8px;
    text-align:center
  }
  .hero{
    padding:56px 0 44px
  }
  .hero-actions{
    gap:10px
  }
  .section{
    padding:40px 0
  }
  .tool-row{
    grid-template-columns:30px minmax(0,1fr);
    gap:14px;
    padding:14px 20px
  }
  .tool-logo{
    width:30px;
    height:30px
  }
  .tool-logo img{
    width:24px;
    height:24px
  }
  .tool-arrow{
    display:none
  }
  .tool-tags{
    display:none
  }
  .price-row{
    grid-template-columns:1fr;
    gap:4px
  }
  .price-value{
    grid-column:1;
    grid-row:auto;
    justify-self:start;
    align-self:start
  }
  .cta-block{
    flex-direction:column;
    align-items:stretch;
    padding:24px
  }
  .cta-block .btn{
    width:100%;
    justify-content:center
  }
  .chip{
    min-height:44px
  }
  .field-row{
    grid-template-columns:1fr;
    gap:12px
  }
  .consult-form .field-row{
    margin-top:0
  }
  .consult-form .field-row + .field-row{
    margin-top:14px
  }
  .consult-form .field-row .field + .field{
    margin-top:14px
  }
  .filter-bar{
    align-items:stretch
  }
  .search-box{
    flex:1 1 100%
  }
  .contact-meta{
    gap:6px 0
  }
  .contact-meta li{
    padding-right:12px;
    margin-right:12px
  }
  .footer-main{
    flex-direction:column;
    gap:12px
  }
  .article h2{
    font-size:18px
  }
}

@media (max-width:480px){
  :root{
    --pad:16px
  }
  .section{
    padding:36px 0
  }
  .hero h1{
    font-size:clamp(26px,7vw,28px)
  }
  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:12px
  }
  .hero-actions .btn{
    width:100%;
    justify-content:center
  }
  .hero-actions .text-link{
    display:block;
    padding:11px 0;
    text-align:center
  }
  .tool-row{
    margin-inline:-16px;
    padding-inline:16px
  }
  .consult-page{
    gap:20px
  }
  .consult-form-head{
    flex-wrap:wrap;
    gap:8px
  }
  .chip{
    min-height:36px;
    padding:5px 12px
  }
  .search-box input{
    height:44px
  }
  .field input,
  .field select,
  .field textarea{
    min-height:44px
  }
  .faq-item summary:after{
    width:20px;
    height:20px;
    flex:none
  }
  .cta-block{
    padding:20px
  }
  .panel{
    padding:20px
  }
}

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