/* ===== Ember Launcher · 官网 ===== */
:root {
  --teal: #2dc1d1;
  --teal-deep: #1f8fa0;
  --teal-soft: #e6f8fa;
  --ink: #10242a;
  --ink-2: #3d5a63;
  --muted: #6b8189;
  --line: #dce7ea;
  --bg: #ffffff;
  --bg-2: #f5fafb;
  --radius: 16px;
  --shadow: 0 18px 46px -22px rgba(16, 36, 42, .28);
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
code { font-family: var(--mono); font-size: .92em; background: var(--teal-soft); padding: 1px 6px; border-radius: 6px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.wrap.narrow { width: min(760px, calc(100% - 48px)); }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand em { font-style: normal; font-weight: 600; color: var(--teal-deep); margin-left: 2px; }
.brand.small { font-size: 15px; }
.brand.small img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--teal-deep); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  text-decoration: none; font-weight: 600; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #06343a; box-shadow: 0 10px 24px -12px rgba(45, 193, 209, .9); }
.btn-primary:hover { background: #26b2c1; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 76px 0 64px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(45, 193, 209, .18), transparent 70%),
    radial-gradient(700px 320px at 88% 0%, rgba(45, 193, 209, .12), transparent 70%),
    linear-gradient(180deg, #fbfeff, #ffffff);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(16, 36, 42, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(16, 36, 42, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(650px 320px at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(650px 320px at 50% 0%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.06fr .94fr; gap: 52px; align-items: center; }
.pill {
  display: inline-block; margin-bottom: 18px; padding: 5px 12px;
  background: var(--teal-soft); color: var(--teal-deep);
  border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.18; letter-spacing: -.5px; }
.lead { margin-top: 18px; font-size: 16px; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.meta { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hero-shot img {
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 30px 70px -34px rgba(16, 36, 42, .5);
}

/* ---------- 区块 ---------- */
.section { padding: 74px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.3px; }
.section-lead { margin-top: 10px; color: var(--muted); max-width: 46em; }

/* ---------- 功能卡 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 24px; box-shadow: 0 10px 30px -24px rgba(16, 36, 42, .5);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); border-color: #bfe6ec; box-shadow: var(--shadow); }
.card .ico {
  width: 42px; height: 42px; border-radius: 11px; background: var(--teal-soft);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--ink-2); }

/* ---------- 截图 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.shot { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.shot img { width: 100%; height: 210px; object-fit: cover; object-position: top left; }
.shot figcaption { padding: 12px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- 下载 ---------- */
.dl-card {
  background: linear-gradient(180deg, #ffffff, #f7fdfe);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 30px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center;
}
.dl-left { display: flex; align-items: center; gap: 16px; }
.dl-logo { width: 56px; height: 56px; object-fit: contain; }
.dl-left h2 { font-size: 24px; }
.dl-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.dl-right { text-align: right; }
.dl-hint { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.dl-facts {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; list-style: none; margin-top: 6px;
}
.dl-facts li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.dl-facts span { display: block; font-size: 12px; color: var(--muted); }
.dl-facts b { font-size: 14px; }
.sha { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); }
.sha summary { cursor: pointer; color: var(--teal-deep); }
.sha code { display: block; margin-top: 8px; word-break: break-all; background: #fff; border: 1px solid var(--line); padding: 10px 12px; border-radius: 10px; }

.req { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.req h3 { font-size: 16px; margin-bottom: 10px; }
.req ul { list-style: none; }
.req li { position: relative; padding-left: 18px; margin-bottom: 7px; color: var(--ink-2); font-size: 14px; }
.req li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--teal); }

/* ---------- FAQ ---------- */
details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; margin-top: 12px;
}
details summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--teal-deep); font-weight: 700; }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; color: var(--ink-2); font-size: 14px; }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); padding: 30px 0; background: #fff; }
.foot-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-note { color: var(--muted); font-size: 12.5px; flex: 1; }
.foot-ver { color: var(--muted); font-size: 12.5px; font-family: var(--mono); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-shot { order: -1; }
  .grid, .shots { grid-template-columns: 1fr 1fr; }
  .dl-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .grid, .shots, .req { grid-template-columns: 1fr; }
  .dl-card { grid-template-columns: 1fr; }
  .dl-right { text-align: left; }
  .dl-facts { grid-template-columns: 1fr 1fr; }
}
