/* ============================================================
   style.css —— 首页布局（2026-11-10 视觉改版：白底 + 靛蓝）
   取色只从 tokens.css 取，这里只写布局与字号。
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, figure, blockquote { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

:root {
  --t-hero:  clamp(34px, 5.1vw, 60px);
  --t-h2:    clamp(24px, 3.3vw, 34px);
  --t-h3:    19px;
  --t-body:  16px;
  --t-small: 14px;
  --t-micro: 12.5px;
  --sec-pad: 76px;
  --ease:    cubic-bezier(.16, 1, .3, 1);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--on-brand); padding: 10px 16px; font-size: 13.5px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------- 导航 ---------------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: var(--band-sky-a);
  border-bottom: 1px solid transparent;
  transition: background .24s var(--ease), border-color .24s var(--ease);
}
/* 滚动后才浮出一层底，首屏上它是透明的——导航和浅蓝首屏不留一条白边 */
.masthead.is-scrolled {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--rule);
}
.masthead-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 40px; height: 72px;
  display: flex; align-items: center; gap: 46px;
}
.mh-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.mh-mark {
  width: 22px; height: 22px; border-radius: 6px; background: var(--brand);
  position: relative; flex: none;
}
.mh-mark::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px;
  border-radius: 2px; background: var(--on-brand); opacity: .92;
}
.mh-name { letter-spacing: .02em; }
.mh-sub { color: var(--muted); font-weight: 400; font-size: 12px; letter-spacing: .08em; margin-left: 2px; }
.mh-nav { margin-left: auto; display: flex; align-items: center; gap: 32px; font-size: 14.5px; }
.mh-nav a { color: var(--ink-2); transition: color .16s; }
.mh-nav a:hover { color: var(--ink); }
.mh-cta {
  height: 42px; padding: 0 22px; border-radius: var(--radius);
  background: var(--brand); color: #fff !important;
  display: inline-flex; align-items: center; font-weight: 600; font-size: 14px;
  transition: background .16s;
}
.mh-cta:hover { background: var(--brand-d); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 26px; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 600; transition: all .18s; white-space: nowrap;
}
.btn-solid { background: var(--brand); color: var(--on-brand); }
.btn-solid:hover { background: var(--brand-d); }
.btn-line { border: 1px solid #CFD4DD; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }

/* ---------------- 首屏 ---------------- */
.hero {
  background: linear-gradient(180deg, var(--band-sky-a) 0%, var(--band-sky-b) 100%);
  padding: 68px 0 62px;
}
.hero-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted); letter-spacing: .1em; margin-bottom: 26px;
}
.eyebrow-dash { width: 26px; height: 1.5px; background: var(--brand); display: inline-block; }
.hero-title {
  font-size: var(--t-hero); line-height: 1.18; font-weight: 700;
  letter-spacing: -.02em;
}
.ht-line { display: block; }
.ht-line--accent { color: var(--brand); }
.ht-num { letter-spacing: -.03em; }
.hero-lede {
  margin-top: 26px; font-size: 17px; line-height: 1.86; color: var(--ink-2);
  max-width: 30em;
}
.hero-actions { margin-top: 38px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-hint { margin-top: 18px; font-size: 13px; color: var(--muted); }

.hero-figure {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3.2; background: var(--paper-2);
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 18px 48px -22px rgba(16,24,40,.28);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------- 数字带 ---------------- */
.metrics { padding: 0; border-bottom: 1px solid var(--rule); }
.metrics .sec-in { padding-top: 46px; padding-bottom: 46px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 0 34px; border-left: 1px solid var(--rule); }
.metric:first-child { padding-left: 0; border-left: 0; }
.metric:last-child { padding-right: 0; }
.metric b {
  display: block; font-size: 42px; font-weight: 700; line-height: 1;
  letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.metric b span { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--brand); margin-left: 3px; }
.metric i {
  display: block; margin-top: 14px; font-size: 14.5px; font-weight: 600;
  font-style: normal; color: var(--ink);
}
.metric em {
  display: block; margin-top: 7px; font-size: 12.8px; line-height: 1.65;
  font-style: normal; color: var(--muted);
}

/* ---------------- 区块通用 ---------------- */
/* ---------------- 色带：板块之间靠底色切换分隔 ----------------
   .sec 现在只负责上下留白（全宽），内容宽度交给 .sec-in。
   这样底色能铺满整个视口宽度，而不是被 max-width 截断成中间一块。 */
.sec { padding: var(--sec-pad) 0; }
.sec-in { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

.band-white { background: var(--paper); }
.band-grey  { background: var(--band-1); }
.band-blue  { background: var(--band-2); }
.band-tint  { background: linear-gradient(180deg, var(--band-tint-a) 0%, var(--band-tint-b) 100%); }

.sec-head {
  display: flex; align-items: baseline; gap: 20px;
  padding-bottom: 26px; border-bottom: 1px solid var(--rule); margin-bottom: 44px;
}
.sec-title { font-size: var(--t-h2); font-weight: 700; letter-spacing: -.015em; }
.sec-rule { flex: none; width: 34px; height: 1.5px; background: var(--brand); }
.sec-note { margin-left: auto; font-size: var(--t-micro); color: var(--muted); letter-spacing: .08em; }

/* ---------------- 做什么：左图 + 右三条 ---------------- */
.svc-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: stretch; }
.svc-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); min-height: 0; }
.svc-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-grid { display: block; }
.svc-lead {
  padding: 0 0 28px; border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; justify-content: flex-start;
}
.svc-no {
  font-size: 12.5px; letter-spacing: .14em; color: var(--brand);
  font-variant-numeric: tabular-nums; display: block; margin-bottom: 14px;
}
.svc-name { font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.4; }
.svc-text { margin-top: 14px; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }
.svc-sub { padding: 28px 0 0; border-bottom: 0; }
.svc-sub + .svc-sub { padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--rule); }
.svc-sub .svc-name { font-size: 20px; }
.svc-sub .svc-text { margin-top: 10px; font-size: 14.5px; }
.svc-tags { margin-top: 18px; font-size: 13px; color: var(--muted); letter-spacing: .1em; }

/* ---------------- 免费工具：三列卡片 ---------------- */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card {
  /* 浅灰带上放白卡，靠明度差立起来，不用边框和重阴影 */
  display: block; padding: 28px 26px 26px; border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(12,20,40,.045);
  transition: box-shadow .18s, transform .18s;
}
.tool-card:hover { box-shadow: 0 6px 22px rgba(12,20,40,.09); transform: translateY(-3px); }
.tool-card .svc-no { margin-bottom: 12px; }
.tool-card h3 { font-size: 17.5px; font-weight: 700; line-height: 1.5; letter-spacing: -.005em; }
.tool-card p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.tool-card .arr { color: var(--brand); margin-left: 4px; }
.sec-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- 常见问题：两栏 ---------------- */
.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.qa-item { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.qa-q { font-size: 16.5px; font-weight: 600; line-height: 1.6; display: flex; gap: 12px; }
.qa-q i {
  font-style: normal; color: var(--brand); font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums; padding-top: 3px; flex: none;
}
.qa-a { margin-top: 10px; padding-left: 27px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.qa-item a:hover .qa-q { color: var(--brand); }

/* ---------------- 做过的活儿 ---------------- */
.case-band { margin: 0 0 44px; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.case-band img { width: 100%; height: auto; display: block; aspect-ratio: 21 / 9; object-fit: cover; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.case { padding-top: 24px; border-top: 1.5px solid var(--ink); display: flex; flex-direction: column; }
.case-no { font-size: 12px; letter-spacing: .14em; color: var(--brand); display: block; font-variant-numeric: tabular-nums; }
.case-name { margin-top: 14px; font-size: 19px; font-weight: 700; line-height: 1.55; }
.case-text { margin-top: 14px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.case-result {
  margin-top: auto; padding-top: 18px; padding-left: 14px; border-left: 2px solid var(--brand);
  font-size: 14px; line-height: 1.75; color: var(--ink);
}

/* ---------------- 他们说的：深色通栏 ---------------- */
.quotes { background: var(--dark); color: var(--on-brand); margin: 0; }
.quotes-in { max-width: var(--wrap); margin: 0 auto; padding: 76px 40px; }
.quotes .sec-head { border-bottom-color: rgba(255,255,255,.14); }
.quotes .sec-title { color: var(--on-brand); }
.quotes .sec-note { color: rgba(255,255,255,.5); }
.quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; }
.quote { max-width: none; }
.quote-mark {
  display: block; font-size: 52px; line-height: .8; color: var(--brand);
  font-family: Georgia, serif; margin-bottom: 18px;
}
.quote-text {
  font-size: 28px; line-height: 1.55; font-weight: 600; letter-spacing: -.015em;
  color: var(--on-brand);
}
.quote-text--small { font-size: 21px; font-weight: 400; color: rgba(255,255,255,.72); }
.quote-by {
  margin-top: 22px; font-size: 13.5px; color: rgba(255,255,255,.55); letter-spacing: .04em;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); max-width: 320px;
}
.quote + .quote { margin-top: 0; }

/* ---------------- 关于 ---------------- */
.about { display: grid; grid-template-columns: 1.35fr .78fr; gap: 64px; align-items: center; }
.about-lead { font-size: 22px; line-height: 1.8; font-weight: 600; letter-spacing: -.005em; }
.about-text p { margin-top: 20px; font-size: 15.5px; line-height: 1.9; color: var(--ink-2); }
.cert {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 20px; background: var(--brand-tint); border-radius: var(--radius);
  color: var(--brand-d);
}
.cert-line { font-size: 14.5px; font-weight: 700; }
.cert-year { font-size: 12.5px; color: var(--brand); letter-spacing: .04em; }
.about-side { position: relative; }
.about-side img {
  width: 100%; height: auto; border-radius: var(--radius-lg); display: block;
  aspect-ratio: 4/5; object-fit: cover;
}
.portrait-cap {
  margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: .06em;
}

/* ---------------- 联系 ---------------- */
.contact { }  /* 底色由 .band-tint 渐变接管 */
.contact-in { max-width: var(--wrap); margin: 0 auto; padding: var(--sec-pad) 40px; }
.contact-grid { display: grid; grid-template-columns: .72fr 1fr; gap: 72px; align-items: start; }
.contact-qr { text-align: left; }
.contact-qr img {
  width: 190px; height: auto; display: block; border-radius: 10px;
  background: var(--on-brand); padding: 8px; filter: grayscale(1) contrast(1.08);
}
.qr-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.qr-id {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums;
}
.copy-btn {
  font: inherit; font-size: 12.5px; padding: 6px 14px; cursor: pointer;
  border: 1px solid #CFD4DD; background: var(--on-brand); border-radius: 999px; color: var(--ink-2);
  transition: all .16s;
}
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }

.contact-rows { display: grid; gap: 0; }
.c-row {
  display: grid; grid-template-columns: 84px 1fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.c-row:first-child { padding-top: 0; }
.c-row:last-child { border-bottom: 0; }
.c-row dt { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.c-row dd { font-size: 15.5px; color: var(--ink); }
.c-row dd a:hover { color: var(--brand); }

/* ---------------- 页脚：深色收尾，和"他们说的"通栏呼应 ---------------- */
.colophon { background: var(--deep); color: rgba(255,255,255,.72); }
.colophon-in {
  max-width: var(--wrap); margin: 0 auto; padding: 48px 40px 56px;
  display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline;
}
.cp-name { font-size: 14.5px; font-weight: 700; color: var(--on-brand); }
.cp-desc { font-size: 13.5px; color: rgba(255,255,255,.6); }
.cp-place { font-size: 13px; color: rgba(255,255,255,.42); }
.cp-legal {
  width: 100%; margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 12.5px; color: rgba(255,255,255,.4); display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.cp-legal a { color: rgba(255,255,255,.6); }
.cp-legal a:hover { color: var(--on-brand); }

/* ---------------- 动效 ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- 响应式 ---------------- */
@media (min-width: 900px) {
  :root { --sec-pad: 84px; }
}
@media (max-width: 980px) {
  .masthead-in { padding: 0 22px; height: 64px; gap: 18px; }
  .mh-nav { gap: 20px; font-size: 13.5px; }
  .mh-nav a:not(.mh-cta) { display: none; }
  .mh-sub { display: none; }
  .wrap, .sec-in, .hero-in, .quotes-in, .contact-in, .colophon-in { padding-left: 22px; padding-right: 22px; }
  .hero { padding: 44px 0 56px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: clamp(32px, 8.6vw, 42px); }
  .hero-lede { font-size: 15.5px; }
  .hero-figure { aspect-ratio: 4/3.1; }
  .metrics .sec-in { padding-top: 30px; padding-bottom: 30px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .metric { padding: 0 0 0 18px; }
  .metric:nth-child(odd) { padding-left: 0; border-left: 0; }
  .metric b { font-size: 30px; }
  .metric i { font-size: 13.5px; margin-top: 10px; }
  .metric em { font-size: 12px; }
  .sec-head { flex-wrap: wrap; gap: 12px; padding-bottom: 18px; margin-bottom: 30px; }
  .sec-rule { display: none; }
  .sec-note { margin-left: 0; width: 100%; }
  .svc-layout { grid-template-columns: 1fr; gap: 28px; }
  .svc-figure { aspect-ratio: 4/3; }
  .svc-lead { padding-bottom: 24px; }
  .svc-name { font-size: 22px; }
  .tool-grid, .case-grid { grid-template-columns: 1fr; gap: 16px; }
  .case + .case { margin-top: 8px; }
  .qa-grid { grid-template-columns: 1fr; gap: 0; }
  .quote-text { font-size: 22px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-lead { font-size: 17.5px; }
  .about-side { order: -1; }
  .about-side img { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .c-row { grid-template-columns: 76px 1fr; gap: 16px; }
}
