/* 字棒棒 GEO 官网 · 共享样式
   设计基调：企业官网风 · 克制专业（2026-11-27 换皮，参照作业帮）。
   白底 + 中性深灰文字 + 青绿主色 #47c6a2 + 深色页脚。
   全站不使用位图；所有装饰均由 CSS 绘制，不进入正文，避免干扰 AI 抽取文本。
   原儿童风备份：style.css.bak_20261127 */

:root {
  /* 底色与文字：去奶油，走中性 */
  --paper: #ffffff;
  --paper-2: #ffffff;
  --paper-3: #f5faf8;
  --ink: #2b3a35;
  --ink-2: #5a6b64;
  --muted: #8a9a93;

  /* 品牌青绿（作业帮同色系）与派生 */
  --brand: #47c6a2;
  --brand-deep: #2fa98a;
  --brand-dark: #238a70;
  --soft: #e8f7f2;

  /* 辅色降饱和 */
  --sun: #e8b44a;
  --orange: #e8944a;
  --sky: #5aa8d8;
  --pink: #d98aa6;

  /* 线条与阴影 */
  --line: #e8ecef;
  --line-strong: #d5e6df;
  --tian: #f3aaa1;
  --shadow: 0 1px 3px rgba(30, 60, 50, .05), 0 8px 24px rgba(30, 80, 65, .06);

  /* 圆润无衬线：全站标题沿用 --serif 变量名，此处映射到圆体，统一替换字体族 */
  --round: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  --sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --serif: var(--round);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(#e9f8f0 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-deep); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }

/* ---------- 顶栏 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 2px solid var(--soft);
  backdrop-filter: blur(6px);
}
.head-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--round);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
}
.brand svg { flex: 0 0 auto; }
.brand-mark {
  flex: 0 0 auto;
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand);
}
.brand:hover { text-decoration: none; }
.nav { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.nav a {
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 13px;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--soft); color: var(--brand-deep); text-decoration: none; }
.nav a.on, .nav a.cur { background: var(--brand); color: #fff; font-weight: 600; }

/* ---------- 正文容器 ---------- */
.wrap { max-width: 860px; margin: 0 auto; padding: 40px 24px 72px; }

.crumb { font-size: 12.5px; color: var(--muted); margin: 0 0 16px; }
.crumb span { margin: 0 7px; }
.crumb a { color: var(--muted); font-weight: 400; }

h1 {
  font-family: var(--round);
  font-size: 35px;
  line-height: 1.34;
  letter-spacing: 0;
  margin: 0 0 22px;
  font-weight: 800;
  position: relative;
  padding-bottom: 14px;
  text-wrap: balance;
}
h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--sun) 100%);
}

.lede {
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 1.95;
  margin: 0 0 28px;
  padding: 16px 20px;
  background: var(--paper-2);
  border: 2px solid var(--line-strong);
  border-left: 8px solid var(--brand);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* 要点速览：三色卡片 */
.keypoints {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.keypoints li {
  background: var(--paper-2);
  border: 2px solid var(--line-strong);
  border-radius: 16px;
  padding: 15px 17px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
  box-shadow: var(--shadow);
}
.keypoints li:nth-child(1) { background: #effcf5; border-color: #c9f0da; }
.keypoints li:nth-child(2) { background: #fff9e6; border-color: #ffe7a3; }
.keypoints li:nth-child(3) { background: #eef8ff; border-color: #c5e9ff; }
.keypoints b {
  display: block;
  font-family: var(--round);
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 800;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 44px;
}
.toc a {
  font-size: 13px;
  color: var(--ink-2);
  border: 2px solid var(--line-strong);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 6px 15px;
  font-weight: 500;
  transition: transform .15s, border-color .15s, color .15s;
}
.toc a:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  text-decoration: none;
  transform: translateY(-2px);
}

section.faq-block { margin: 0 0 46px; scroll-margin-top: 86px; }

/* ---------- 标题 ---------- */
h2 {
  font-family: var(--round);
  font-size: 22px;
  letter-spacing: 0;
  margin: 0 0 10px;
  font-weight: 800;
  padding: 6px 16px 6px 18px;
  border-left: 8px solid var(--brand);
  border-radius: 6px 14px 14px 6px;
  background: linear-gradient(90deg, #eafaf2 0%, rgba(234, 250, 242, 0) 78%);
  line-height: 1.5;
  scroll-margin-top: 96px;
}
.block-intro { font-size: 13.5px; color: var(--muted); margin: 0 0 18px 20px; }

/* ---------- 问答 ---------- */
.qa { border-bottom: 2px dashed var(--line); padding: 20px 0 22px; }
.qa:last-child { border-bottom: none; }
.qa h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.65;
  scroll-margin-top: 96px;
  color: var(--ink);
}
.qa h3::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 9px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-family: var(--round);
  font-size: 12px;
  font-weight: 800;
  vertical-align: 2px;
}
.qa p { margin: 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.9; }

/* ---------- 引用块 ---------- */
.cite {
  background: #f1fcf6;
  border: 2px dashed #c7efda;
  border-radius: 18px;
  padding: 20px 24px;
  margin: 8px 0 0;
}
.cite h2 {
  font-size: 15.5px;
  border-left: 0;
  padding: 0 0 0 12px;
  background: none;
  position: relative;
}
.cite h2::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 5px;
  border-radius: 3px;
  background: var(--brand);
}
.cite ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); line-height: 1.95; }
.cite p { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }

.byline {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 2px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------- 页脚 ---------- */
.site-foot {
  border-top: 2px solid var(--soft);
  background: #fbfffc;
}
.foot-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 2;
}
.foot-inner nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-inner a { color: var(--ink-2); font-weight: 400; }
.foot-title { font-family: var(--round); font-size: 15px; color: var(--ink); font-weight: 800; letter-spacing: .04em; }

/* ---------- 通用版式 ---------- */
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .06em;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: 6px 16px;
  margin: 0 0 18px;
}

.section { padding: 54px 0; border-top: 2px dashed var(--line); }
.section:first-of-type { border-top: none; }
.section-head { margin: 0 0 28px; }
.section-head .kicker {
  font-size: 12.5px;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--brand-deep);
  margin: 0 0 8px;
  font-family: var(--sans);
}
.section-head h2 {
  border-left: 0;
  padding: 0;
  background: none;
  font-size: 27px;
  margin: 0 0 12px;
  letter-spacing: 0;
  line-height: 1.4;
}
.section-head p { margin: 0; font-size: 14.5px; color: var(--muted); max-width: 62ch; line-height: 1.9; }

/* ---------- 首屏 ---------- */
.hero {
  padding: 58px 0 50px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 424px;
  gap: 26px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; }
/* 带设备图的首屏（仅首页）改用设备后方柔光，关掉原来那个位置固定的大圆，避免两个光斑叠在一起 */
.hero:has(.hero-visual)::before,
.hero:has(.hero-visual)::after { display: none; }
.hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: -20px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d8fbec 0%, rgba(216, 251, 236, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: 120px;
  top: 250px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sun);
  opacity: .28;
  pointer-events: none;
}
.hero h1 {
  font-family: var(--round);
  font-size: 45px;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 22px;
  font-weight: 800;
  max-width: 11.6em;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
  text-wrap: wrap; /* 首屏用固定宽度断行，balance 会在词中间断开 */
}
.hero h1::after { display: none; }
.hero h1 em {
  font-style: normal;
  color: var(--brand-deep);
  /* 荧光笔式下划线：贴着基线，随行断行，不会压住上下行 */
  text-decoration: underline;
  text-decoration-color: rgba(255, 197, 61, .9);
  text-decoration-thickness: .16em;
  text-underline-offset: .13em;
  text-decoration-skip-ink: none;
}
.hero .sub {
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 2;
  max-width: 56ch;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; position: relative; z-index: 1; }

/* ---------- 按钮：厚底胶囊 ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2ed486 0%, #17b96b 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: 0;
  box-shadow: 0 4px 0 var(--brand-dark), 0 10px 20px rgba(23, 185, 107, .22);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--brand-dark), 0 14px 24px rgba(23, 185, 107, .26);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--brand-dark), 0 6px 12px rgba(23, 185, 107, .2);
}
.btn-ghost {
  background: #fff;
  color: var(--brand-deep);
  border: 2px dashed var(--brand);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--soft);
  box-shadow: none;
  transform: translateY(-2px);
}

.facts { display: flex; flex-wrap: wrap; gap: 9px; position: relative; z-index: 1; }
.facts span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-deep);
  background: #fff;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 15px;
}

/* 首屏右侧：App 界面双机展示（主机＝课程页，副机＝首页，错位叠放） */
.hero-visual { position: relative; height: 476px; }
.device-stage { position: absolute; inset: 0; }
.device {
  position: absolute;
  z-index: 2;
  padding: 7px;
  background: #101a17;
  border-radius: 30px;
  box-shadow: 0 32px 60px -24px rgba(20, 70, 56, .40), 0 12px 24px -14px rgba(20, 70, 56, .18);
}
.device img { display: block; width: 100%; height: auto; border-radius: 24px; }
.device-back { width: 180px; left: -2px; top: 48px; transform: rotate(-9deg); }
.device-front { width: 206px; left: 190px; top: 0; transform: rotate(3deg); }

/* ---------- 定义块 ---------- */
.definition {
  background: #fff;
  border: 2px solid var(--line-strong);
  border-left: 8px solid var(--brand);
  border-radius: 18px;
  padding: 24px 28px;
  margin: 0 0 8px;
  box-shadow: var(--shadow);
}
.definition .tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--brand-deep);
  background: var(--soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.definition p { margin: 0; font-size: 16px; line-height: 2; color: var(--ink); }

/* ---------- 服务卡 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-card {
  display: block;
  background: var(--paper-2);
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  padding: 24px 26px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
a.svc-card:hover {
  text-decoration: none;
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 6px 0 rgba(36, 202, 120, .18), 0 14px 26px rgba(20, 90, 60, .1);
}
.svc-card .no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--brand-deep);
  font-family: var(--round);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}
.svc-card h3 { font-size: 18px; margin: 0 0 8px; font-weight: 800; letter-spacing: 0; }
.svc-card .form {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.svc-card p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.svc-card.core {
  border-color: var(--brand);
  background: #f3fdf8;
  box-shadow: 0 0 0 4px rgba(36, 202, 120, .14), var(--shadow);
}

/* ---------- 首页：家长常问问题直达（GEO 内链入口） ---------- */
.q-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 16px;
}
.q-card {
  display: block;
  padding: 15px 18px;
  background: #fff;
  border: 2px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .12s, border-color .12s;
}
.q-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  text-decoration: none;
}
.q-card b {
  display: block;
  font-family: var(--round);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 5px;
}
.q-card b::after { content: " →"; color: var(--brand); font-weight: 700; }
.q-card span { display: block; font-size: 13px; color: var(--muted); line-height: 1.7; }
.q-more { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- 两列对照 ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.col-pane { padding: 24px 26px; background: var(--paper-2); }
.col-pane + .col-pane { border-left: 2px solid var(--line-strong); background: #f2fcf7; }
.col-pane h3 { font-size: 15px; margin: 0 0 14px; font-weight: 800; letter-spacing: 0; }
.col-pane h3.dim { color: var(--muted); }
.col-pane ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); line-height: 2; }
.col-pane li::marker { color: var(--brand); }
.col-pane.dim li::marker { color: #c9d8d0; }

/* ---------- 表格 ---------- */
.tbl-wrap {
  overflow-x: auto;
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
table.tbl thead th {
  background: #e9fbf2;
  text-align: left;
  padding: 13px 16px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--brand-deep);
  border-bottom: 2px solid var(--line-strong);
}
table.tbl td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.8;
  vertical-align: top;
}
table.tbl tbody tr:last-child td { border-bottom: none; }
table.tbl tbody tr:nth-child(even) td { background: #fbfefc; }
table.tbl td:first-child { color: var(--ink); font-weight: 700; white-space: nowrap; }
table.tbl .hl { color: var(--brand-deep); font-weight: 700; }
/* 完整格子版：每一列左右都有线，末行也补底线，仅用于价格表 */
table.tbl.tbl-grid th,
table.tbl.tbl-grid td { border: 1px solid var(--line); }
table.tbl.tbl-grid thead th { border-bottom: 2px solid var(--line-strong); }
table.tbl.tbl-grid tbody tr:last-child td { border-bottom: 1px solid var(--line); }
/* 权益格内的分行线 */
table.tbl td.cell-lines { padding: 0; }
table.tbl td.cell-lines > div { padding: 8px 16px; border-bottom: 1px solid var(--line); }
table.tbl td.cell-lines > div:last-child { border-bottom: none; }
table.tbl td.cell-lines > div.nowrap { white-space: nowrap; }

/* 价格表：固定列宽，避免右侧「备注」被挤成一字一行 */
/* 课程体系表：五列定宽，窄屏在 .tbl-wrap 内横向滚动 */
table.tbl.tbl-course { table-layout: fixed; min-width: 820px; }
table.tbl.tbl-course td[rowspan] { vertical-align: middle; background: #f7fbf9; }
/* 合并后课程列会成为部分行的 first-child，重置字重与颜色，避免阶段名被误加粗 */
table.tbl.tbl-course td { font-weight: 400; color: var(--ink-2); }
table.tbl.tbl-course td.c-cat { font-weight: 700; color: var(--ink); }
table.tbl.tbl-course th:nth-child(1), table.tbl.tbl-course td:nth-child(1) { width: 84px;  white-space: nowrap; }
table.tbl.tbl-course th:nth-child(2), table.tbl.tbl-course td:nth-child(2) { width: 108px; white-space: nowrap; }
table.tbl.tbl-course th:nth-child(3), table.tbl.tbl-course td:nth-child(3) { width: 280px; }
table.tbl.tbl-course th:nth-child(4), table.tbl.tbl-course td:nth-child(4) { width: 190px; }
table.tbl.tbl-course th:nth-child(5), table.tbl.tbl-course td:nth-child(5) { width: 158px; }

table.tbl.tbl-price { table-layout: fixed; min-width: 740px; }
table.tbl.tbl-price col.c-plan  { width: 80px; }
table.tbl.tbl-price col.c-price { width: 94px; }
/* 「软件使用期限」「老师服务时长」6 字表头，列宽留够，避免折成两行 */
table.tbl.tbl-price col.c-term  { width: 100px; }
table.tbl.tbl-price col.c-serv  { width: 100px; }
table.tbl.tbl-price col.c-note  { width: 176px; }
table.tbl.tbl-price th,
table.tbl.tbl-price td { padding: 12px 10px; }
table.tbl.tbl-price td { word-break: break-word; }
table.tbl.tbl-price td:nth-child(2) { white-space: nowrap; }
table.tbl.tbl-price td:nth-child(2),
table.tbl.tbl-price th:nth-child(2) { padding-left: 12px; }
table.tbl.tbl-price th:nth-child(4),
table.tbl.tbl-price th:nth-child(5),
table.tbl.tbl-price td:nth-child(4),
table.tbl.tbl-price td:nth-child(5) { text-align: center; }
table.tbl.tbl-price td:last-child {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}
table.tbl.tbl-price td.cell-lines > div { padding: 8px 12px; white-space: normal; }

/* ---------- 步骤 ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 22px 46px;
  border-left: 2px dashed var(--line-strong);
  margin-left: 13px;
}
.steps li:last-child { border-left: none; padding-bottom: 0; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: -13px;
  top: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
  line-height: 26px;
  box-shadow: 0 0 0 4px #fff;
}
.steps h4 { margin: 0 0 4px; font-size: 15.5px; font-weight: 800; }
.steps p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.9; }

/* ---------- 清单 ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 2px dashed var(--line);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
}
.checklist li:last-child { border-bottom: none; }
.checklist li span {
  flex: 0 0 22px;
  height: 22px;
  border: 2px solid var(--brand);
  border-radius: 7px;
  margin-top: 4px;
  background: #fff;
}
.checklist li em { font-style: normal; color: var(--muted); display: block; font-size: 13.5px; margin-top: 3px; }

/* ---------- 数据条：四色卡片 ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border: 0;
}
.stat-row div {
  padding: 20px 18px;
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.stat-row div:nth-child(1) { background: #effcf5; border-color: #c9f0da; }
.stat-row div:nth-child(2) { background: #fff9e6; border-color: #ffe7a3; }
.stat-row div:nth-child(3) { background: #eef8ff; border-color: #c5e9ff; }
.stat-row div:nth-child(4) { background: #fff0f5; border-color: #ffd3e2; }
.stat-row b {
  display: block;
  font-family: var(--round);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--brand-deep);
  line-height: 1.3;
}
.stat-row div:nth-child(2) b { color: #b17c00; }
.stat-row div:nth-child(3) b { color: #1478b8; }
.stat-row div:nth-child(4) b { color: #c9527a; }
.stat-row span { font-size: 12.5px; color: var(--ink-2); }

/* ---------- CTA ---------- */
.note-line { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; line-height: 1.9; }
/* 资质与知识产权：说明段 + 牌匾图（2026-12-05） */
.cred-body { font-size: 15.5px; color: var(--ink-2); line-height: 2; margin: 14px 0 0; }
.cred-fig { margin: 18px 0 0; text-align: center; }
.cred-fig img { width: 100%; max-width: 560px; height: auto; border-radius: 10px; box-shadow: 0 6px 18px rgba(15,23,42,.12); }
.cred-fig figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.8; }
/* 名单前的引导句：紧贴卡片网格，比导语更轻（2026-12-04） */
.grid-lead { font-size: 13px; color: var(--ink-2); margin: 2px 0 12px 20px; }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--paper-2);
  border: 2px solid var(--line-strong);
  border-radius: 20px;
  padding: 30px 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field > label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  font-family: var(--sans);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(36, 202, 120, .16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips-field { display: flex; flex-wrap: wrap; gap: 9px; }
.chips-field label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13.5px;
  cursor: pointer;
  background: #fff;
  margin: 0;
  color: var(--ink-2);
}
.chips-field label:hover { border-color: var(--brand); }
.chips-field input { width: auto; margin: 0; accent-color: var(--brand-deep); }
.form-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.9; }
button.btn { cursor: pointer; font-family: var(--sans); }

/* ---------- 三列 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-card {
  background: var(--paper-2);
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.mini-card h3 { font-size: 15.5px; margin: 0 0 6px; font-weight: 800; }
.mini-card p { margin: 0; font-size: 13.8px; color: var(--ink-2); line-height: 1.85; }
.mini-card .k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--brand-deep);
  font-family: var(--round);
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

/* ---------- 响应式 ---------- */
/* 中等宽度：右列收窄，只留主机（两台并排会挤成一片，反而看不清内容） */
@media (max-width: 1100px) and (min-width: 981px) {
  .hero { grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; }
  .hero-visual { height: 444px; }
  .device-back { display: none; }
  .device-front { width: 206px; left: 4px; top: 0; margin-left: 0; }
}

@media (max-width: 980px) {
  .head-inner { flex-wrap: wrap; padding-bottom: 10px; }
  /* 导航 11 项，窄屏放不下一行；改为换行显示，避免最后几项被横向滚动藏住。
     顶栏随之变高，改为不吸顶，免得长期占用屏幕 */
  .site-head { position: static; }
  .nav {
    margin-left: 0;
    width: 100%;
    padding-bottom: 4px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .nav a { white-space: nowrap; }

  /* 首屏改为单栏：设备图移到文字下方，只保留主机并居中 */
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { height: 508px; margin-top: 28px; }
  .device-stage { position: relative; inset: auto; width: 100%; height: 100%; }
  .device-back { display: none; }
  .device-front {
    width: 224px;
    left: 50%;
    top: 0;
    margin-left: -112px;
    transform: rotate(0deg);
  }
}

@media (max-width: 860px) {
  .hero h1 { font-size: 33px; max-width: 100%; }
  .hero::before { display: none; }
  .hero::after { display: none; }
  .svc-grid, .two-col { grid-template-columns: 1fr; }
  .q-grid { grid-template-columns: 1fr; }
  .col-pane + .col-pane { border-left: none; border-top: 2px solid var(--line-strong); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .wrap-wide { padding: 0 18px; }
  .section { padding: 40px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px 20px; }
}

/* 平板竖屏（640~980）：单栏但屏幕够宽，设备图可以给大一号 */
@media (max-width: 980px) and (min-width: 640px) {
  .device-front { width: 258px; margin-left: -129px; }
  .hero-visual { height: 578px; }
}

@media (max-width: 760px) {
  h1 { font-size: 27px; }
  h2 { font-size: 19px; padding: 5px 13px 5px 14px; }
  .keypoints { grid-template-columns: 1fr; }
  /* 手机端导航改为换行，避免横向滚动时后面的入口被藏住；
     换行后顶栏变高，改为不吸顶，避免长期占用首屏 */
  .site-head { position: static; }
  .nav { gap: 4px; flex-wrap: wrap; overflow-x: visible; }
  .nav a { font-size: 13px; padding: 5px 11px; }
  .wrap { padding: 28px 18px 56px; }
  .lede { font-size: 15.5px; padding: 14px 16px; border-left-width: 6px; }
  .section-head h2 { font-size: 23px; }
  .stat-row b { font-size: 23px; }
  /* 价格表：缩小固定列，把宽度让给「课程内容」，避免每行只挤两三个字 */
  table.tbl.tbl-price { min-width: 620px; font-size: 13px; }
  table.tbl.tbl-price col.c-plan  { width: 62px; }
  table.tbl.tbl-price col.c-price { width: 76px; }
  table.tbl.tbl-price col.c-term  { width: 66px; }
  table.tbl.tbl-price col.c-serv  { width: 66px; }
  table.tbl.tbl-price col.c-note  { width: 104px; }
  table.tbl.tbl-price th,
  table.tbl.tbl-price td { padding: 10px 7px; }
  table.tbl.tbl-price td.cell-lines > div { padding: 7px 9px; }
  table.tbl.tbl-price td:last-child { font-size: 11.5px; line-height: 1.65; }
  table.tbl.tbl-price td:nth-child(2) { white-space: normal; }
  .tbl-wrap-price::before,
  .tbl-wrap-course::before {
    content: "左右滑动可查看完整表格";
    display: block;
    padding: 9px 14px 2px;
    font-size: 12px;
    color: var(--muted);
    position: sticky;
    left: 0;
  }
}

/* ================================================================
   作业帮风格换皮层（2026-11-27）
   只改视觉，不动 HTML 结构与任何文案；GEO 的正文纯文本完全不变。
   整段删除即可回到原来的儿童风。
   ================================================================ */

/* 1. 页面底：去掉波点，改纯白 enterprise 底 */
body {
  background-image: none;
  background-color: #ffffff;
}

/* 2. 顶栏：作业帮式白底细线、logo 青绿、导航更规整 */
.site-head { background:#fff; border-bottom:1px solid var(--line); backdrop-filter:none; }
.head-inner { max-width:1100px; padding:14px 24px; }
.brand { color:var(--brand-deep); font-size:21px; }
.nav { gap:4px; }
.nav a { border-radius:6px; padding:8px 11px; font-size:14px; }
.nav a.on, .nav a.cur { background:var(--brand); color:#fff; border-radius:6px; }

/* 3. 标题：作业帮式简洁——去糖果渐变，左侧细绿条 */
h2 {
  background:none;
  border-left:5px solid var(--brand);
  border-radius:0;
  padding:2px 0 2px 14px;
  font-size:23px;
  color:var(--ink);
}

/* 4. 要点卡 / 数字条：三种糖果色统一为浅灰底 + 绿描边 */
.keypoints li,
.stat-row div {
  background:#f7faf9 !important;
  border:1px solid var(--line) !important;
  border-left:3px solid var(--brand) !important;
  border-radius:10px;
}
.keypoints b, .stat-row b { color:var(--brand-deep); }

/* 5. 按钮：企业官网式小圆角 + 箭头引导（箭头是伪元素，不进正文文本） */
.btn {
  background:var(--brand);
  box-shadow:none;
  border-radius:8px;
  padding:13px 26px;
  font-size:15px;
  letter-spacing:.01em;
  transition:background .18s, transform .18s;
}
.btn::after {
  content:"\2192";
  display:inline-block;
  margin-left:9px;
  font-weight:400;
  transition:transform .18s;
}
.btn:hover { background:var(--brand-deep); box-shadow:none; transform:translateY(-1px); text-decoration:none; }
.btn:hover::after { transform:translateX(3px); }
.btn:active { transform:none; }
.btn-ghost { background:#fff; border:1.5px solid var(--brand-deep); color:var(--brand-deep); box-shadow:none; }
.btn-ghost:hover { background:var(--soft); box-shadow:none; color:var(--brand-deep); }

/* 6. 问答：去掉虚线，改细实线 */
.qa { border-bottom:1px solid var(--line); }
.qa h3::before { background:var(--brand); }

/* 7. 表格：外框收敛 */
.tbl-wrap { border:1px solid var(--line-strong); border-radius:10px; box-shadow:var(--shadow); }
table.tbl thead th { background:#edf9f4; }

/* 8. 深色页脚：作业帮同款 #3d3d3d */
.site-foot { background:#3d3d3d; border-top:none; color:#b9c2be; }
.foot-inner { color:#b9c2be; }
.foot-inner a { color:#d6ded9; }
.foot-title { color:#fff; }
/* 页脚 HTML 里有 inline 写死的浅绿分割线与字号，这里用 !important 覆盖 */
.site-foot div[style*="border-top"] {
  border-top:1px solid #555 !important;
  color:#9aa5a0 !important;
}
.site-foot a[style*="color:inherit"] { color:#9aa5a0 !important; }

/* 9. 引用块 / 说明块 */
.cite { background:#f7faf9; border:1px solid var(--line); border-left:3px solid var(--brand); border-radius:8px; }

/* 10. 预约表单（2026-12-01，仅 try.html 使用） */
.book-form { margin: 16px 0 2px; padding: 18px 18px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: #f7fbf9; }
.book-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-form .field { display: block; margin-bottom: 12px; }
.book-form .field > span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.book-form input, .book-form select, .book-form textarea {
  display: block; width: 100%; padding: 10px 12px; font-size: 15px; font-family: inherit;
  color: var(--ink); background: #fff; border: 1px solid #d8e5df; border-radius: 8px;
  transition: border-color .15s;
}
.book-form textarea { resize: vertical; line-height: 1.7; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(71,198,162,.16); }
.book-form input:invalid:not(:placeholder-shown) { border-color: #e0a49b; }
.book-form .btn { width: 100%; margin-top: 4px; cursor: pointer; }
.book-form .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.book-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.book-form .form-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); line-height: 1.75; }
.book-form .form-note a { color: var(--brand-deep); }
.book-form .form-msg { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }
.book-form .form-msg.err { color: #c0392b; }
.book-form .form-msg.ok { color: var(--brand-dark); font-weight: 600; }
.book-form.sent .field-row, .book-form.sent .field, .book-form.sent .btn, .book-form.sent .hp { display: none; }
@media (max-width: 560px) { .book-form .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ================================================================
   导航 11 项（新增「师资」「成长成果」后）：980 以下放不下一行，
   改为换行显示；字号/内距在此覆盖上方换皮层，避免最后一项被挤掉。
   ================================================================ */
@media (max-width: 980px) {
  .site-head { position: static; }
  .nav { width: 100%; margin-left: 0; flex-wrap: wrap; gap: 4px; padding-bottom: 4px; }
  .nav a { font-size: 13px; padding: 6px 8px; white-space: nowrap; }
}

/* ================================================================
   师资页「教研团队」卡片（2026-12-04）
   头像为占位：把 .teach-avatar 内整块换成 <img src="assets/teach/xxx.jpg" alt="姓名">
   ================================================================ */
.teach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 4px 0 0;
}
.teach-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f7faf9;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  padding: 18px 20px;
}
.teach-avatar {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--soft);
  border: 1px dashed var(--brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  overflow: hidden;
}
.teach-avatar span { font-size: 26px; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.teach-avatar em { font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: .5px; }
.teach-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 有真实头像时去掉占位虚线框，圆形由 overflow 裁切 */
.teach-avatar:has(img) { border-color: transparent; background: transparent; box-shadow: inset 0 0 0 1px rgba(16, 58, 44, .14); }
.teach-body { min-width: 0; }
.teach-name { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: .5px; }
.teach-title { font-size: 13px; color: var(--ink-2); line-height: 1.7; margin-top: 3px; }
.teach-role {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--soft);
  border-radius: 4px;
  padding: 2px 8px;
}
/* 教师资格证编号：标签与编号分行，编号不折行、不断开（2026-12-05） */
.teach-cert {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}
.teach-cert span { display: block; font-size: 10px; letter-spacing: .2px; }
.teach-cert b {
  display: block;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: var(--ink-2);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .teach-grid { grid-template-columns: 1fr; gap: 10px; }
  .teach-card { padding: 14px 16px; gap: 13px; }
  .teach-avatar { width: 64px; height: 64px; }
  .teach-avatar span { font-size: 22px; }
}

/* ---------- 辅导团队：三人一行，卡片更紧凑（2026-12-04） ---------- */
.teach-grid.is-compact {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.teach-grid.is-compact .teach-card {
  padding: 14px 16px;
  gap: 12px;
  align-items: center;
}
.teach-grid.is-compact .teach-avatar {
  width: 60px;
  height: 60px;
}
.teach-grid.is-compact .teach-avatar span { font-size: 20px; }
.teach-grid.is-compact .teach-avatar em { font-size: 9px; }
.teach-grid.is-compact .teach-name { font-size: 15px; }
.teach-grid.is-compact .teach-title { font-size: 12px; line-height: 1.6; margin-top: 2px; }
.teach-grid.is-compact .teach-role { font-size: 11px; padding: 1px 7px; margin-top: 5px; }
.teach-grid.is-compact .teach-cert { font-size: 10px; margin-top: 3px; }
.teach-grid.is-compact .teach-cert span { font-size: 9px; }
.teach-grid.is-compact .teach-cert b { font-size: 10.5px; }
@media (max-width: 920px) {
  /* 三人一行放不下时直接单列，避免出现「两张一行 + 一张落单」 */
  .teach-grid.is-compact { grid-template-columns: 1fr; gap: 10px; }
  .teach-grid.is-compact .teach-avatar { width: 64px; height: 64px; }
  .teach-grid.is-compact .teach-name { font-size: 16px; }
  .teach-grid.is-compact .teach-title { font-size: 13px; }
  .teach-grid.is-compact .teach-role { font-size: 12px; }
}
