/* JotBean 官网样式。无构建步骤，直接改这个文件。 */
@font-face {
  font-family: "Nunito";
  src: url("/assets/nunito-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --cream: #fffbf0;
  --cream-deep: #fff4de;
  --card: #ffffff;
  --ink: #1b4d31;
  --brand: #2c7d46;
  --text: #3a4236;
  --muted: #606854;
  --line: #ece4d0;
  --mint: #e6f2e4;
  --round: "Nunito", ui-rounded, "SF Pro Rounded", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--round); font-weight: 800; color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* 顶栏 */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.icon { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 1px 4px rgba(27, 77, 49, .18); }
.brand img.word { height: 24px; width: auto; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }

/* 首屏 */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); letter-spacing: -.01em; }
.hero .lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); margin-top: 20px; max-width: 30em; }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 20px;
  font-family: var(--round); font-weight: 800; font-size: 17px;
}
.soon svg { width: 20px; height: 20px; fill: currentColor; }
.cta small { color: var(--muted); font-size: 15px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ticks li { background: var(--mint); color: var(--ink); border-radius: 999px; padding: 5px 14px; font-size: 14.5px; font-weight: 600; }

.phone {
  justify-self: center; width: min(320px, 78vw);
  border: 10px solid #16241b; border-radius: 52px; overflow: hidden; background: #fffcf5;
  box-shadow: 0 30px 60px -20px rgba(27, 77, 49, .35), 0 0 0 1px rgba(0, 0, 0, .06);
}

/* 分区 */
section { padding: 64px 0; }
.band { background: linear-gradient(var(--cream-deep), var(--cream)); }
.sec-title { font-size: clamp(28px, 4vw, 40px); text-align: center; }
.sec-sub { text-align: center; color: var(--muted); margin: 12px auto 0; max-width: 34em; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 28px; }
.card h3 { font-size: 22px; }
.card p { margin-top: 12px; font-size: 16px; }
.card .say { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.card .say span { background: var(--mint); color: var(--ink); border-radius: 14px 14px 14px 4px; padding: 5px 12px; font-size: 15px; font-weight: 600; }
.tag { display: inline-block; margin-left: 6px; vertical-align: middle; font-family: var(--body); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--brand); border: 1.5px solid var(--brand); border-radius: 6px; padding: 0 6px; line-height: 1.5; }

.mac { text-align: center; }
.mac h2 { font-size: clamp(28px, 4vw, 40px); }
.mac p { margin: 14px auto 0; max-width: 620px; }
.mac.next { margin-top: 88px; }
.mac .shot { margin-top: 36px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(27, 77, 49, .35); overflow: hidden; background: #fff; }

.also { columns: 2; column-gap: 40px; max-width: 820px; margin: 32px auto 0; padding: 0; list-style: none; }
.also li { break-inside: avoid; padding: 9px 0 9px 26px; position: relative; }
.also li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }

.final { text-align: center; }
.final h2 { font-size: clamp(30px, 4.6vw, 46px); }
.final .cta { justify-content: center; }

/* 文档页（隐私、支持） */
.doc { padding: 24px 0 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc .meta { color: var(--muted); margin-top: 10px; font-size: 15px; }
.doc .summary { background: var(--mint); color: var(--ink); border-radius: 18px; padding: 18px 22px; margin-top: 28px; font-weight: 600; }
.doc h2 { font-size: 24px; margin-top: 44px; }
.doc h3 { font-size: 19px; margin-top: 28px; }
.doc p, .doc ul { margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin-top: 6px; }
.mail { display: inline-block; margin-top: 16px; background: var(--ink); color: #fff; border-radius: 14px; padding: 11px 20px; font-family: var(--round); font-weight: 800; text-decoration: none; }
.mail:hover { color: #fff; background: var(--brand); }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 20px 0 56px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .mac.next { margin-top: 56px; }
  .mac .shot { margin-top: 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .also { columns: 1; }
  .nav { gap: 16px; }
  .brand img.word { height: 21px; }
  section { padding: 48px 0; }
}
