/* 落地页 —— 讲清"凭什么值得试"，并让人当场试一次。
 *
 * 只被 landing.html 引用；基础样式（.shell/.masthead/.primary/.text-button）
 * 来自 style.css，这里只写这一页独有的部分。
 * 排版走"纸感 + 墨绿 + 衬线标题"，与工作台、课程区保持一致。
 */

/* ------------------------------------------------------------------ 首屏 */

.landing main { padding-bottom: 8px }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
  padding: 54px 0 64px;
}

.hero h1 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 45px;
  line-height: 1.34;
  letter-spacing: 1px;
  font-weight: 500;
  margin: 14px 0 20px;
}
.hero h1 span { color: #6e8266 }

.hero-lead {
  font-size: 15px;
  line-height: 2.05;
  color: #4d5850;
  max-width: 53ch;
  margin: 0 0 22px;
}

.hero-points { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 9px }
.hero-points li {
  position: relative;
  padding-left: 19px;
  font-size: 13.5px;
  line-height: 1.95;
  color: #5a6459;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9dba8c;
}
.hero-points strong { color: var(--ink); font-weight: 600 }

.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap }
.hero-actions .text-button { font-size: 13px }
.hero-actions .primary-link,
.closing-actions .primary-link { font-size: 14px }

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #3d714d;
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  box-shadow: 0 3px 9px #36593b12;
  transition: background .15s;
}
.primary-link:hover { background: #2e603e }

/* -------------------------------------------------------------- 试用卡片 */

.try-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 26px 22px;
  box-shadow: 0 6px 26px #3c4a3d12;
  scroll-margin-top: 24px;
}
.try-card h2 { font-size: 19px; margin: 0 0 9px; font-weight: 600 }
.try-lead { font-size: 12.5px; color: var(--muted); line-height: 1.85; margin: 0 0 16px }

#try-text {
  width: 100%;
  height: 170px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  font: 13.5px/1.95 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: #fbfaf5;
  color: #343d35;
}
#try-text:focus { outline: 2px solid #9eae90; outline-offset: 1px; border-color: #bdd0b2 }

.try-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 14px;
  font-size: 11.5px;
  color: var(--muted);
}
.try-meta .text-button { font-size: 11.5px; text-align: left }
#try-count { font-variant-numeric: tabular-nums; white-space: nowrap }
#try-count.over { color: #a8562f; font-weight: 600 }

.try-card .primary {
  width: 100%;
  height: 46px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.try-status {
  font-size: 12.5px;
  line-height: 1.75;
  color: #5a6459;
  min-height: 19px;
  margin: 12px 0 0;
}
.try-status[data-state="done"] { color: #315e40 }
.try-status[data-state="failed"] { color: #994c30 }

#try-audio { display: block; width: 100%; margin-top: 12px }

.try-quota {
  margin-top: 13px;
  padding: 11px 13px;
  border-radius: 9px;
  background: var(--pale);
  border: 1px solid #dbe4d4;
  font-size: 12px;
  line-height: 1.85;
  color: #48604f;
}
.try-quota[data-tone="warn"] { background: #f7edda; border-color: #e6d3a8; color: #7c602c }
.try-quota button {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.try-note { font-size: 10.5px; color: #98a094; line-height: 1.7; margin: 13px 0 0 }

/* ------------------------------------------------------------------ 三段 */

.section-heading {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin: 0 0 26px;
}

.steps, .abilities { padding: 54px 0; border-top: 1px solid var(--line) }

.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px }
.step-index {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 29px;
  letter-spacing: 1px;
  color: #c3d0b8;
}
.step-list h3 { font-size: 16px; font-weight: 600; margin: 6px 0 9px }
.step-list p { font-size: 13px; line-height: 1.95; color: #5a6459; margin: 0 }

/* ------------------------------------------------------------------ 能力 */

.ability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px }
.ability {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
}
.ability-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--pale);
  color: var(--green);
  font-size: 16px;
}
.ability h3 { font-size: 15px; font-weight: 600; margin: 12px 0 8px }
.ability p { font-size: 13px; line-height: 1.95; color: #5a6459; margin: 0 }
.abilities-foot { margin: 22px 0 0; font-size: 12.5px }

/* ------------------------------------------------------------------ 收口 */

.closing {
  max-width: 760px;
  margin: 0 auto;
  padding: 62px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.closing h2 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 30px;
  line-height: 1.55;
  letter-spacing: 1px;
  font-weight: 500;
  margin: 0 0 20px;
}
.closing h2 span { color: var(--orange) }
.closing > p {
  font-size: 14px;
  line-height: 2.05;
  color: #4d5850;
  margin: 0 0 28px;
  text-align: left;
}
.closing-actions { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap }

.landing-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* -------------------------------------------------------------- 自适应 */

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding: 38px 0 50px }
  .hero h1 { font-size: 34px }
  .step-list { grid-template-columns: 1fr; gap: 26px }
  .ability-grid { grid-template-columns: 1fr }
  .closing h2 { font-size: 23px }
}

@media (max-width: 650px) {
  .hero { padding: 26px 0 40px }
  .hero h1 { font-size: 27px; margin: 10px 0 16px }
  .hero-lead { font-size: 14px }
  .try-card { padding: 20px }
  #try-text { height: 150px }
  .steps, .abilities { padding: 40px 0 }
  .section-heading { font-size: 21px }
  .closing { padding: 44px 0 }
  .closing h2 { font-size: 20px }
  .closing > p { font-size: 13px }
  .landing-foot { flex-direction: column; align-items: flex-start; gap: 10px }
}

/* 导航有三个入口，窄屏要让它们整行落下，别把品牌挤扁。 */
@media (max-width: 620px) {
  .landing .masthead { height: auto; flex-wrap: wrap; gap: 12px; padding: 18px 0 }
  .landing .masthead > .site-nav { order: 3; flex-basis: 100%; margin-left: 0; gap: 20px }
}

/* 备案号：悬挂 ICP 备案号是法规要求（并需链接到工信部），别删。 */
.beian{display:inline-block;margin-left:14px;font-size:11px;color:#98a189}
.beian a{color:#98a189;text-decoration:none;border-bottom:1px solid #d9ddd0}
.beian a:hover{color:#6e8266}
