/* 东明圈子 · 下载页 */
:root {
  --paper: #f4f0e7;
  --paper-deep: #efeadf;
  --card: #fffdf8;
  --ink: #201e1a;
  --ink-2: #5b5449;
  --ink-3: #8b8374;
  --line: #d9d0be;
  --line-soft: #e8e0d0;
  --accent: #a8432a;
  --serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", STSong, "SimSun", Georgia, serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #e6d3b8; }

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* 顶部 */
.head { border-bottom: 1px solid var(--line); }

.head .wrap {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand i {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: block;
}

.brand b {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .16em;
}

.head nav { display: flex; gap: 28px; }

.head nav a {
  color: var(--ink-3);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: .08em;
  transition: color .15s;
}

.head nav a:hover { color: var(--ink); }

/* 公告 */
.notice {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.notice .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.notice em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--accent);
  flex: none;
}

/* 首屏 */
.hero { padding: 74px 0 68px; }

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .82fr);
  gap: 64px;
  align-items: start;
}

.eyebrow {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .3em;
  color: var(--accent);
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.3;
  letter-spacing: -.01em;
}

.lead {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-2);
}

.actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fbf7ef;
  border: 1px solid var(--ink);
  padding: 14px 26px;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: 2px;
  transition: background .18s, border-color .18s;
}

.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn svg { width: 16px; height: 16px; flex: none; }

.meta { font-size: 12.5px; color: var(--ink-3); letter-spacing: .05em; }

.ios-note {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-3);
  max-width: 30em;
}

/* 版本信息卡 */
.spec {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 24px 22px 14px;
}

.spec::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.spec .k {
  margin: 0;
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.spec .ver {
  margin: 12px 0 2px;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.02em;
}

.spec .date { margin: 0; font-size: 12.5px; color: var(--ink-3); }

.spec ul { list-style: none; margin: 20px 0 0; padding: 0; }

.spec li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
}

.spec li span { color: var(--ink-3); }
.spec li b { font-weight: 500; }

/* 通用分节 */
.sec {
  border-top: 1px solid var(--line);
  padding: 58px 0;
}

.sec .wrap {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 48px;
}

.sec h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--ink);
  padding-top: 2px;
}

.sec h2 span {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  color: var(--ink-3);
}

/* 关于 */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feat > div { padding: 0 24px; border-left: 1px solid var(--line-soft); }
.feat > div:first-child { padding-left: 0; border-left: 0; }
.feat > div:last-child { padding-right: 0; }

.feat .n {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--accent);
}

.feat h3 { margin: 10px 0 8px; font-size: 16px; font-weight: 600; letter-spacing: .04em; }

.feat p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }

/* 更新日志 */
.log article { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px dashed var(--line); }
.log article:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }

.log header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.log .v { font-family: var(--serif); font-size: 20px; }

.log .tag {
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--accent);
  border: 1px solid currentColor;
  padding: 1px 6px;
  border-radius: 2px;
}

.log time { margin-left: auto; font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }

.log ul { list-style: none; margin: 14px 0 0; padding: 0; }

.log li {
  position: relative;
  padding-left: 17px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
}

.log li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .95em;
  width: 5px;
  height: 1px;
  background: var(--ink-3);
}

/* 常见问题 */
.faq details { border-bottom: 1px solid var(--line-soft); padding: 15px 0; }
.faq details:first-child { padding-top: 0; }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink-3);
  flex: none;
}

.faq details[open] summary::after { content: "−"; }

.faq p {
  margin: 11px 0 2px;
  max-width: 42em;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

/* 页脚 */
.foot {
  border-top: 1px solid var(--line);
  padding: 26px 0 44px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot .links { display: flex; gap: 22px; }

.foot a {
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}

.foot a:hover { color: var(--ink); border-color: var(--ink-3); }

/* 响应式 */
@media (max-width: 900px) {
  .hero { padding: 48px 0 44px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .spec { max-width: 420px; }
  .sec { padding: 44px 0; }
  .sec .wrap { grid-template-columns: 1fr; gap: 24px; }
  .feat { grid-template-columns: 1fr; }
  .feat > div { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .feat > div:first-child { padding-top: 0; border-top: 0; }
  .feat > div:last-child { padding-right: 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .head .wrap { height: 62px; }
  .head nav { display: none; }
  .brand b { font-size: 15px; }
  .btn { width: 100%; justify-content: center; }
  .actions { gap: 14px; }
  .log time { margin-left: 0; width: 100%; }
  .foot .wrap { flex-direction: column; gap: 10px; }
}
