/* E糖 官网：一套颜色、一种圆角、一个间距节奏。
   颜色跟应用里的 brand 主题一致（--g-primary #1f6e9f），页面只用静态色，
   不跟应用的主题切换联动。 */

:root {
  --brand: #1f6e9f;
  --brand-deep: #154e73;
  --brand-soft: #e8f4fc;
  --brand-softer: #f4f9fd;
  --ink: #0d2b3e;
  --text: #3d5a73;
  --soft: #6d8296;
  --faint: #8fa4b7;
  --card: #ffffff;
  --line: rgba(31, 110, 159, 0.12);
  --line-strong: rgba(31, 110, 159, 0.2);
  --ok: #2e9e6b;
  --high: #d98324;
  --low: #2f7fd1;
  --shadow-sm: 0 2px 8px rgba(18, 67, 99, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 67, 99, 0.1);
  --shadow-lg: 0 28px 70px rgba(18, 67, 99, 0.16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shell: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--brand-softer);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

button {
  font: inherit;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  left: 24px;
}

/* ---------- 顶部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 249, 253, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 3px 10px rgba(18, 67, 99, 0.14);
  background: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.brand-text small {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--faint);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--soft);
  transition: color 0.18s ease, background 0.18s ease;
}

.site-nav a:hover {
  color: var(--brand);
  background: rgba(31, 110, 159, 0.06);
}

.header-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(31, 110, 159, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.header-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(31, 110, 159, 0.3);
}

.header-download svg {
  width: 16px;
  height: 16px;
}

/* ---------- 通用按钮 ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 110, 159, 0.24);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 110, 159, 0.3);
}

.button-quiet {
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand);
  border-color: var(--line-strong);
}

.button-quiet:hover {
  background: #fff;
}

.button-white {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 10px 24px rgba(5, 35, 55, 0.18);
}

.button-white:hover {
  transform: translateY(-2px);
}

.button-outline {
  background: transparent;
  color: #eaf5fd;
  border-color: rgba(255, 255, 255, 0.42);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.18s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--brand);
}

.eyebrow > span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(31, 110, 159, 0.15));
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 64px 0 0;
  background:
    radial-gradient(680px 420px at 82% 8%, rgba(74, 163, 219, 0.16), transparent 66%),
    radial-gradient(560px 380px at 8% 40%, rgba(46, 158, 107, 0.08), transparent 70%),
    linear-gradient(180deg, #f7fbfe 0%, var(--brand-softer) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 48px;
  padding-bottom: 46px;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.5px;
  font-weight: 700;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  z-index: 0;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 9px;
  border-radius: 6px;
  background: rgba(74, 163, 219, 0.18);
  z-index: -1;
}

.lede {
  margin-top: 20px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--faint);
}

.hero-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
}

/* 手机示意图 */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 8px 0 26px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.glow-one {
  width: 300px;
  height: 300px;
  top: 4%;
  right: 8%;
  background: radial-gradient(circle, rgba(74, 163, 219, 0.28), transparent 68%);
}

.glow-two {
  width: 240px;
  height: 240px;
  bottom: 2%;
  left: 0;
  background: radial-gradient(circle, rgba(46, 158, 107, 0.16), transparent 68%);
}

.phone {
  position: relative;
  width: 286px;
  padding: 12px 14px 0;
  border-radius: 40px;
  background: linear-gradient(165deg, #173a52, #0b2132 60%);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  z-index: 1;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.phone-status {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.phone-status i {
  width: 3px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.78);
}

.phone-status i:nth-child(1) { height: 4px; }
.phone-status i:nth-child(2) { height: 7px; }
.phone-status i:nth-child(3) { height: 9px; }

.phone > *:not(.phone-top):not(.phone-tabbar) {
  background: #f7fbff;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-radius: 24px 24px 0 0;
}

.app-head p {
  font-size: 11px;
  color: var(--faint);
}

.app-head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.latest-card {
  margin: 2px 12px 12px;
  padding: 14px 15px 13px;
  border-radius: 18px;
  background: #fff !important;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(18, 67, 99, 0.07);
}

.latest-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--soft);
}

.chip {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.chip-ok {
  color: var(--ok);
  background: rgba(46, 158, 107, 0.1);
}

.latest-value {
  margin-top: 6px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -1px;
}

.latest-value span {
  margin-left: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0;
}

.latest-meta {
  margin-top: 5px;
  font-size: 11px;
  color: var(--soft);
}

.section-list {
  margin: 0 12px 12px;
  padding: 13px 15px;
  border-radius: 18px;
  background: #fff !important;
  border: 1px solid var(--line);
}

.list-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--soft);
  margin-bottom: 6px;
}

.record-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}

.record-row:last-child {
  border-bottom: 0;
}

.record-time {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.record-tag {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
}

.record-value {
  margin-left: auto;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.phone-tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
  padding: 10px 8px 16px;
  border-radius: 0 0 28px 28px;
  background: #fff !important;
  border-top: 1px solid var(--line);
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: var(--faint);
}

.tab i {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: rgba(143, 164, 183, 0.28);
}

.tab.active {
  color: var(--brand);
  font-weight: 600;
}

.tab.active i {
  background: var(--brand);
}

.mock-note {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--faint);
  white-space: nowrap;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 11px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
  font-size: 11px;
  color: var(--soft);
}

.float-card b {
  display: block;
  font-size: 12px;
  color: var(--ink);
}

.float-card small {
  font-size: 10px;
  color: var(--faint);
}

.float-local {
  left: -6%;
  bottom: 15%;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(46, 158, 107, 0.12);
  color: var(--ok);
}

.float-icon svg {
  width: 16px;
  height: 16px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--soft);
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-strip span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.55;
}

/* ---------- 通用 section ---------- */

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.section-heading > p:last-child {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
}

/* ---------- 功能 ---------- */

.features {
  background: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--brand-softer);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.feature-number {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(31, 110, 159, 0.28);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.icon-blue { background: rgba(47, 127, 209, 0.11); color: #2f7fd1; }
.icon-mint { background: rgba(46, 158, 107, 0.12); color: #2e9e6b; }
.icon-sky { background: rgba(31, 110, 159, 0.11); color: var(--brand); }
.icon-violet { background: rgba(107, 91, 176, 0.12); color: #6b5bb0; }
.icon-amber { background: rgba(217, 131, 36, 0.13); color: #c1761c; }
.icon-rose { background: rgba(184, 86, 74, 0.12); color: #b8564a; }

.feature-card h3 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

/* ---------- 统计 ---------- */

.stats {
  background: linear-gradient(180deg, var(--brand-softer), #eef7fd);
}

.stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: center;
}

.stats-copy h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.stats-copy > p:last-of-type {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.85;
}

.check-list {
  margin-top: 22px;
  display: grid;
  gap: 11px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  font-size: 14px;
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(46, 158, 107, 0.12);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

.stats-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.panel-head p {
  font-size: 12px;
  color: var(--faint);
}

.panel-head h3 {
  font-size: 19px;
  color: var(--ink);
}

.panel-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
}

.tir-row {
  margin-top: 22px;
}

.tir-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 9px;
}

.tir-label b {
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.tir-label span {
  font-size: 12px;
  color: var(--soft);
}

.tir-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef2f6;
}

.tir-bar i {
  display: block;
  height: 100%;
}

.tir-bar .ok { background: var(--ok); }
.tir-bar .high { background: var(--high); opacity: 0.82; }
.tir-bar .low { background: var(--low); opacity: 0.78; }

.stat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--soft);
}

.stat-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stat-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-ok { background: var(--ok); }
.dot-high { background: var(--high); }
.dot-low { background: var(--low); }

.avg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.avg-card {
  padding: 13px 12px;
  border-radius: 14px;
  background: var(--brand-softer);
  border: 1px solid var(--line);
}

.avg-card span {
  display: block;
  font-size: 11px;
  color: var(--soft);
}

.avg-card b {
  display: inline-block;
  margin-top: 4px;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
}

.avg-card small {
  margin-left: 4px;
  font-size: 10px;
  color: var(--faint);
}

.panel-note {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  color: var(--faint);
}

/* ---------- 共享 ---------- */

.sharing {
  background: #fff;
}

.sharing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}

.share-visual {
  position: relative;
  padding: 26px 0 30px;
}

.code-card {
  max-width: 330px;
  margin: 0 auto;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--soft);
}

.code-ttl {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 600;
}

.code-value {
  margin: 18px 0 8px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 6px;
  text-align: center;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.purpose-block {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--brand-softer);
  border: 1px solid var(--line);
}

.purpose-label {
  font-size: 11px;
  color: var(--soft);
}

.purpose-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.purpose-chip {
  flex: 1;
  padding: 7px 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--soft);
}

.purpose-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.code-hint {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--faint);
}

.code-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.mini-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.sharing-copy h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.sharing-copy > p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.85;
}

.sharing-copy .text-link {
  margin-top: 24px;
}

/* ---------- 边界 ---------- */

.boundary {
  background:
    radial-gradient(620px 380px at 88% 0%, rgba(74, 163, 219, 0.16), transparent 65%),
    linear-gradient(160deg, #102638, #0a1b29 72%);
  color: #c6d7e4;
}

.boundary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 56px;
  align-items: start;
}

.eyebrow-light {
  color: #7cc1ea;
}

.eyebrow-light > span {
  background: linear-gradient(90deg, #7cc1ea, rgba(124, 193, 234, 0.12));
}

.boundary-copy h2 {
  margin-top: 12px;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.3;
  color: #f3f9fd;
  letter-spacing: -0.3px;
}

.boundary-copy p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: #b8cede;
}

.boundary-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.boundary-cards article {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.boundary-cards h3 {
  font-size: 15px;
  color: #f3f9fd;
  margin-bottom: 8px;
}

.boundary-cards p {
  font-size: 13px;
  line-height: 1.8;
  color: #a9c2d4;
}

/* ---------- 下载 ---------- */

.download-section {
  background: #fff;
  padding-bottom: 56px;
}

.download-panel {
  position: relative;
  padding: 38px 40px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 320px at 90% 0%, rgba(124, 193, 234, 0.3), transparent 62%),
    linear-gradient(150deg, #1f6e9f, #154e73 72%);
  color: #eaf5fd;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.download-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.download-main {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.download-icon {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(5, 35, 55, 0.2);
  flex: none;
}

.download-kicker {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #9fd0ee;
}

.download-main h2 {
  margin-top: 4px;
  font-size: clamp(26px, 3vw, 34px);
  color: #fff;
  letter-spacing: -0.3px;
}

.download-lede {
  margin-top: 8px;
  max-width: 470px;
  font-size: 14px;
  line-height: 1.8;
  color: #c6e0f0;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.download-actions .button {
  min-height: 46px;
}

.download-qr {
  flex: none;
  width: 210px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.download-qr-img {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
  padding: 7px;
}

.download-qr-copy {
  margin-top: 10px;
  display: grid;
  gap: 2px;
}

.download-qr-copy strong {
  font-size: 13px;
  color: #fff;
}

.download-qr-copy span {
  font-size: 11px;
  color: #b7d7ea;
}

.download-qr-copy small {
  font-size: 10px;
  color: #8fb8d2;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.download-meta dt {
  font-size: 11px;
  color: #8fb8d2;
}

.download-meta dd {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.download-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#download-notes {
  /* 一条一行的更新说明：保留换行，别挤成一大段 */
  white-space: pre-line;
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: #b7d7ea;
}

.download-foot details {
  margin-top: 12px;
}

.download-foot summary {
  width: fit-content;
  font-size: 12px;
  color: #9fd0ee;
  cursor: pointer;
}

.hash-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  flex-wrap: wrap;
}

.hash-row code {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(5, 35, 55, 0.32);
  font-size: 11px;
  color: #d7ecf8;
  word-break: break-all;
}

.hash-row button {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #d7ecf8;
  font-size: 11px;
  cursor: pointer;
}

.hash-row button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--brand-softer);
  border: 1px solid var(--line);
}

.step-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}

.steps h3 {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.steps p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--brand-softer);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 15px;
  font-weight: 500;
  flex: none;
  transition: transform 0.2s ease;
}

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

.faq-item p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: #0a1b29;
  color: #92aec2;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e6f2fa;
  font-weight: 600;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff;
}

.footer-inner p {
  font-size: 12px;
  color: #7e9cb0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
}

.footer-links a {
  color: #a9c6d9;
}

.footer-links a:hover {
  color: #fff;
}

.footer-icp {
  color: #7e9cb0 !important;
}

/* ---------- 文档页（隐私 / 协议） ---------- */

.doc-page {
  background: #fff;
}

.doc-page .header-inner {
  justify-content: space-between;
}

.doc-main {
  padding: 52px 0 80px;
}

.doc-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--brand);
}

.doc-back svg {
  width: 17px;
  height: 17px;
}

.doc-wrap h1 {
  font-size: clamp(30px, 4vw, 40px);
  color: var(--ink);
  letter-spacing: -0.4px;
}

.doc-updated {
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 13px;
  color: var(--faint);
}

.doc-wrap h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 19px;
  color: var(--ink);
}

.doc-wrap p,
.doc-wrap li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}

.doc-wrap p + p {
  margin-top: 10px;
}

.doc-wrap ul {
  margin-top: 10px;
  padding-left: 22px;
}

.doc-wrap li + li {
  margin-top: 6px;
}

.doc-wrap a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc-note {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--brand-softer);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
}

.doc-note p {
  font-size: 14px;
}

.doc-legal {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px !important;
  color: var(--faint) !important;
}

.doc-legal span {
  margin: 0 8px;
}

/* ---------- 响应式 ---------- */

@media (max-width: 940px) {
  .hero-grid,
  .stats-grid,
  .sharing-grid,
  .boundary-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-grid {
    padding-bottom: 34px;
  }

  .hero-visual {
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  /* 单列后手机居中，浮动卡片会压住内容，直接收起 */
  .float-card {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-qr {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
  }

  .download-qr-img {
    margin: 0;
  }

  .download-qr-copy {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 0 18px;
  }

  .site-nav {
    display: none;
  }

  .header-inner {
    height: 62px;
    gap: 12px;
  }

  .header-download {
    margin-left: auto;
  }

  .hero {
    padding-top: 40px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-grid,
  .faq-grid,
  .steps,
  .boundary-cards {
    grid-template-columns: 1fr;
  }

  .download-panel {
    padding: 28px 22px 26px;
  }

  .download-main {
    flex-direction: column;
    gap: 16px;
  }

  .download-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-qr {
    flex-direction: column;
    align-items: flex-start;
  }

  .avg-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .float-card {
    display: none;
  }

  .phone {
    width: 270px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

/* hidden 属性优先于按钮的 display:inline-flex */
[hidden] {
  display: none !important;
}
