/* 🎨 官网样式 —— 只用系统字体、没有外部依赖（国内打开快、不需要任何构建工具）。
   配色沿用 App 那套"纸感"：底 #faf7f3、主色 #60745f（鼠尾草绿）、字 #2b2a31。
   ⚠️ 改配色只改下面 :root 这几个变量，别在别处硬编码颜色。
   版式参考：印象笔记那种官网（首屏大字 + 产品截图 + 交替图文 + 下载区 + 页脚分栏），
   但**不写**用户数量、不造假评价 —— 她是个人作品，编这些既违规也容易被打回。 */

:root {
  color-scheme: light dark;
  --bg: #faf7f3;
  --panel: #ffffff;
  --line: #e8e1d8;
  --text: #2b2a31;
  --muted: #6f6b74;
  --accent: #60745f;
  --accent-soft: #eaf0e8;
  --shadow: 0 18px 50px rgba(40, 36, 30, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14131a;
    --panel: #1e1d26;
    --line: #2e2c36;
    --text: #ece9f0;
    --muted: #a09aa8;
    --accent: #9db79a;
    --accent-soft: #24302a;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.8 -apple-system, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 22px;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}

/* ── 顶栏 ─────────────────────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 650;
  font-size: 16px;
}
.nav {
  display: flex;
  gap: 20px;
  font-size: 14.5px;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
}
.nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.nav-cta {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

/* ── 按钮 ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 15px;
  font-weight: 550;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.btn:hover {
  text-decoration: none;
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn.primary:hover {
  filter: brightness(1.06);
}
.btn.lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 16.5px;
  border-radius: 14px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta.center {
  justify-content: center;
}

/* ── 首屏 ─────────────────────────────────────────────────────────────── */
.hero {
  padding: 64px 0 10px;
  text-align: center;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.28;
  letter-spacing: 0.3px;
  margin: 0 0 18px;
}
.hero .sub {
  max-width: 660px;
  margin: 0 auto 26px;
  font-size: 17px;
  color: var(--muted);
}
.hero .sub b {
  color: var(--text);
}
.hero .cta {
  justify-content: center;
  margin-bottom: 14px;
}
.hero .meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 34px;
}
.hero-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
  line-height: 0;
}
.hero-shot img {
  width: 100%;
  display: block;
}

/* ── 四条事实 ─────────────────────────────────────────────────────────── */
.facts {
  padding: 40px 0 10px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.facts-grid > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 14px;
}
.facts-grid b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.facts-grid span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── 功能：标题 + 交替图文 ────────────────────────────────────────────── */
section {
  padding: 46px 0;
}
.sec-title {
  font-size: 28px;
  line-height: 1.35;
  margin: 0 0 30px;
  text-align: center;
}
.features {
  padding-top: 56px;
}
.row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 42px;
  margin-bottom: 56px;
}
.row.rev {
  grid-template-columns: 1.15fr 0.85fr;
}
.row.rev .row-txt {
  order: 2;
}
.row.rev .row-shot {
  order: 1;
}
.tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 10px;
}
.row h3 {
  font-size: 23px;
  margin: 0 0 10px;
}
.row p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}
.row p b {
  color: var(--text);
}
.row-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(40, 36, 30, 0.1);
  background: var(--panel);
  line-height: 0;
}
.row-shot img {
  width: 100%;
  display: block;
}
/* 只截"内容区"：把左边的空侧栏裁掉（复习那张的侧栏是空的，露出来像没做完） */
.row-shot.crop img,
.row-shot.crop-right img {
  height: 300px;
  object-fit: cover;
  object-position: 78% 50%;
}
code {
  font-size: 13px;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--text);
}

/* ── 三个小能力 ───────────────────────────────────────────────────────── */
.grid3 {
  padding-top: 0;
}
.g3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.g3 > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.g3 h4 {
  font-size: 16px;
  margin: 0 0 6px;
}
.g3 p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── 适合谁 ───────────────────────────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.who-grid > div {
  padding: 22px 20px;
  border-radius: 16px;
  background: var(--accent-soft);
}
.who-grid b {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.who-grid p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── 作者的话 ─────────────────────────────────────────────────────────── */
.author {
  padding-top: 0;
}
.author p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--muted);
  padding: 22px 24px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 0 14px 14px 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.author b {
  color: var(--text);
  margin-right: 6px;
}

/* ── 下载 ─────────────────────────────────────────────────────────────── */
.download {
  text-align: center;
}
.download h2 {
  font-size: 30px;
  margin: 0 0 10px;
}
.dl-sub {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 15px;
}
.dl-notes {
  list-style: none;
  padding: 0;
  margin: 26px auto 0;
  max-width: 620px;
  text-align: left;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.9;
}
.dl-notes li {
  padding: 7px 0;
  border-top: 1px dashed var(--line);
}
.dl-notes b {
  color: var(--text);
  margin-right: 6px;
}

/* ── 更新日志 ─────────────────────────────────────────────────────────── */
.log {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 2;
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 550;
}
.faq summary::marker {
  color: var(--accent);
}
.faq details p {
  margin: 10px 0 2px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

/* ── 页脚 ─────────────────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 36px 0 44px;
  font-size: 13px;
  color: var(--muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.7fr));
  gap: 26px;
  margin-bottom: 26px;
}
.foot-grid b {
  display: block;
  color: var(--text);
  font-size: 13.5px;
  margin-bottom: 8px;
}
.foot-grid a {
  display: block;
  color: var(--muted);
  padding: 3px 0;
}
.foot-grid a:hover {
  color: var(--text);
}
.foot-note {
  margin: 10px 0 0;
  line-height: 1.8;
}
.icp {
  opacity: 0.8;
  margin: 6px 0;
}
.copy {
  margin: 4px 0 0;
}

/* ── 窄屏：全部单列，按钮撑满 ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .top-in {
    height: 58px;
    gap: 10px;
  }
  .nav {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
  }
  .hero {
    padding: 38px 0 6px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero .sub {
    font-size: 15.5px;
  }
  .hero .cta .btn {
    flex: 1 1 100%;
  }
  .facts-grid,
  .g3,
  .who-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .row,
  .row.rev {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }
  .row.rev .row-txt,
  .row.rev .row-shot {
    order: initial;
  }
  .sec-title {
    font-size: 22px;
  }
  .row h3 {
    font-size: 19px;
  }
  .row-shot.crop img,
  .row-shot.crop-right img {
    height: 220px;
  }
}
