/* ==========================================================================
   湖南悦帮科技有限公司 · 悦伴康共享轮椅出租  官网样式
   风格：简约大气 / 浅色 / 医疗健康质感
   ========================================================================== */

:root {
  --ink: #10202e;
  --ink-2: #33465a;
  --text: #46586b;
  --muted: #7b8b9a;
  --line: #e5ebf0;
  --line-strong: #d3dde5;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --bg-mid: #eef4f5;

  --primary: #0b6e5f;
  --primary-600: #095a4e;
  --primary-700: #07463d;
  --primary-100: #d8ece8;
  --primary-50: #eef7f5;

  --accent: #d9822b;
  --accent-600: #bf6d1c;
  --accent-50: #fdf4e8;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow-s: 0 1px 2px rgba(16, 32, 46, .05), 0 4px 14px rgba(16, 32, 46, .04);
  --shadow: 0 2px 6px rgba(16, 32, 46, .05), 0 14px 40px rgba(16, 32, 46, .07);
  --shadow-l: 0 4px 12px rgba(16, 32, 46, .06), 0 28px 70px rgba(16, 32, 46, .10);

  --max: 1180px;
  --nav-h: 74px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
    Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-600); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 2.7vw, 36px); letter-spacing: -.02em; }
h3 { font-size: clamp(18px, 1.6vw, 21px); }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--primary-100); color: var(--primary-700); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.section-head--center .eyebrow::before { display: none; }
.section-head--center .eyebrow { justify-content: center; }

.lead { font-size: 17px; color: var(--text); line-height: 1.85; }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 100px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; line-height: 1.2;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(11, 110, 95, .22); }
.btn--primary:hover { background: var(--primary-600); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(11, 110, 95, .28); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(217, 130, 43, .24); }
.btn--accent:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn--link { padding: 0; background: none; color: var(--primary); font-weight: 600; }
.btn--link:hover { color: var(--primary-600); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: var(--nav-h); display: flex; align-items: center; gap: 28px;
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 17.5px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.nav a {
  position: relative; padding: 9px 15px; border-radius: 100px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav a.active { color: var(--primary); font-weight: 600; background: var(--primary-50); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.header-phone svg { width: 16px; height: 16px; color: var(--primary); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--ink); }

.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 100px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.user-chip:hover { border-color: var(--primary); color: var(--primary); }
.user-chip .av {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, var(--primary), #16907b);
  color: #fff; font-size: 12.5px; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.user-chip .av img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7fbfa 0%, #ffffff 62%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 88% -8%, rgba(11, 110, 95, .10), transparent 70%),
    radial-gradient(560px 380px at 4% 4%, rgba(217, 130, 43, .09), transparent 68%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 64px; align-items: center; padding: 84px 0 76px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl {
  background: linear-gradient(180deg, transparent 66%, var(--primary-100) 66%);
  padding: 0 4px;
}
.hero-lead { font-size: 17.5px; line-height: 1.85; color: var(--text); max-width: 540px; margin-bottom: 34px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 100px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.tag svg { width: 14px; height: 14px; color: var(--primary); }
.tag--accent { background: var(--accent-50); border-color: #f2ddc0; color: #8a5410; }
.tag--accent svg { color: var(--accent); }

.hero-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); box-shadow: var(--shadow-l);
  padding: 28px; position: relative;
}
.hero-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hero-panel-head strong { font-size: 16px; color: var(--ink); }
.hero-panel-head span { font-size: 12.5px; color: var(--muted); }
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.flow-list li { display: flex; gap: 14px; align-items: flex-start; }
.flow-num {
  width: 30px; height: 30px; border-radius: 10px; flex: none;
  background: var(--primary-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.flow-list strong { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.flow-list p { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; line-height: 1.6; }

.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; display: block; }

/* ---------- stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: #fff; padding: 28px 22px; }
.stat b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
.stat b em { font-style: normal; font-size: .5em; font-weight: 600; color: var(--primary); margin-left: 3px; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .22s ease, box-shadow .26s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.8px; margin: 0; }
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

.icon-box {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-50); color: var(--primary); margin-bottom: 18px;
}
.icon-box svg { width: 23px; height: 23px; }
.icon-box--accent { background: var(--accent-50); color: var(--accent); }
.icon-box--ink { background: #eef1f5; color: var(--ink); }

.card-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.card-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-2); }
.card-list li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); opacity: .55;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 0 22px 0 0; }
.step-line { position: absolute; top: 25px; left: 54px; right: 10px; height: 1px; background: var(--line-strong); }
.step-dot {
  position: relative; z-index: 1;
  width: 50px; height: 50px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-weight: 700; font-size: 16px; margin-bottom: 20px;
}
.step:last-child .step-line { display: none; }
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: center; }
.split--reverse .split-media { order: 2; }

.media-frame {
  border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-mid);
  box-shadow: var(--shadow); position: relative; aspect-ratio: 4 / 3;
}
.media-frame img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.media-frame .media-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 32px; text-align: center;
  background: linear-gradient(140deg, #eef6f4 0%, #e2eef3 100%);
  color: var(--primary-700);
}
.media-frame .media-fallback svg { width: 58px; height: 58px; opacity: .5; }
.media-frame .media-fallback span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- price / plan cards ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .26s ease, border-color .22s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured {
  border-color: var(--primary); box-shadow: var(--shadow);
  position: relative; background: linear-gradient(180deg, #fbfefd, #fff);
}
.plan-badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  padding: 4px 14px; border-radius: 100px;
}
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan-duration { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.plan-price { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 44px 24px 0; position: relative;
  font-family: inherit; font-size: 16.5px; font-weight: 600; color: var(--ink);
  line-height: 1.55;
}
.faq-q::after {
  content: ""; position: absolute; right: 8px; top: 50%; margin-top: -1px;
  width: 11px; height: 11px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq-item.open .faq-q::after { transform: rotate(-135deg); margin-top: 3px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a p { padding: 0 44px 26px 0; color: var(--text); font-size: 15px; margin: 0; }

/* ---------- notice / alert ---------- */
.notice {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 18px; border-radius: var(--radius-s);
  font-size: 14px; line-height: 1.65;
  background: var(--accent-50); border: 1px solid #f2ddc0; color: #7d4e12;
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.notice--info { background: var(--primary-50); border-color: var(--primary-100); color: var(--primary-700); }
.notice--info svg { color: var(--primary); }
.notice--error { background: #fdf0ee; border-color: #f6d5d0; color: #96372c; }
.notice--error svg { color: #c1503f; }
.notice b { font-weight: 600; }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px; border-radius: var(--radius-s);
  border: 1px solid var(--line-strong); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #a9b6c1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 110, 95, .12);
}
.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237b8b9a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px;
}
.field-error { font-size: 13px; color: #c1503f; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #e0907f; }
.field.invalid .field-error { display: block; }
.field-hint { font-size: 12.5px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; }
.otp-row .btn { flex: none; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--primary); flex: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 46px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.info-list li { display: flex; gap: 15px; }
.info-list .icon-box { margin: 0; width: 42px; height: 42px; border-radius: 12px; }
.info-list .icon-box svg { width: 20px; height: 20px; }
.info-list dt { font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.info-list dd { margin: 0; font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.6; }
.info-list dd a { font-weight: 600; }

.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 34px; box-shadow: var(--shadow-s);
}

/* ---------- auth ---------- */
.auth-shell {
  min-height: calc(100vh - var(--nav-h) - 320px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0; align-items: stretch;
  background: var(--bg-soft);
}
.auth-aside {
  background: linear-gradient(150deg, var(--primary-700) 0%, var(--primary) 55%, #12806c 100%);
  color: #fff; padding: 72px 56px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-aside::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.auth-aside h2 { color: #fff; font-size: 28px; }
.auth-aside p { color: rgba(255, 255, 255, .82); font-size: 15.5px; }
.auth-aside .card-list li { color: rgba(255, 255, 255, .9); }
.auth-aside .card-list li::before { background: rgba(255, 255, 255, .7); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 72px 40px; }
.auth-card { width: 100%; max-width: 424px; }
.auth-card h1 { font-size: 27px; margin-bottom: 8px; }
.auth-card > p.sub { color: var(--muted); font-size: 14.5px; margin-bottom: 30px; }

.tabs { display: flex; gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: 100px; margin-bottom: 26px; }
.tabs button {
  flex: 1; padding: 9px 14px; border-radius: 100px; border: 0; cursor: pointer;
  background: transparent; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.tabs button.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-s); }

.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 24px 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.btn--wechat { background: #fff; color: #0e1116; border-color: var(--line-strong); }
.btn--wechat:hover { border-color: #07c160; color: #0e1116; }
.btn--wechat svg { color: #07c160; }

.auth-foot { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 24px; }
.auth-foot a { font-weight: 600; }

/* ---------- account ---------- */
.dash-top {
  background: linear-gradient(160deg, #f3f9f8 0%, #ffffff 70%);
  border-bottom: 1px solid var(--line); padding: 46px 0;
}
.dash-ident { display: flex; align-items: center; gap: 20px; }
.avatar {
  width: 68px; height: 68px; border-radius: 22px; flex: none; overflow: hidden;
  background: linear-gradient(145deg, var(--primary), #17907a); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: var(--shadow-s);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-ident h2 { font-size: 23px; margin-bottom: 4px; }
.dash-ident p { color: var(--muted); font-size: 14px; margin: 0; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }

.record {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  background: #fff; display: grid; gap: 10px;
}
.record + .record { margin-top: 14px; }
.record-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.record-head strong { font-size: 15.5px; color: var(--ink); }
.record-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--muted); }
.record-body { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; white-space: pre-wrap; }
.record-files { display: flex; flex-wrap: wrap; gap: 10px; }
.file-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 100px; background: var(--bg-soft);
  border: 1px solid var(--line); font-size: 13px; color: var(--ink-2);
}
.file-chip svg { width: 14px; height: 14px; color: var(--primary); }
.file-chip a, .file-chip button { font-size: 13px; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; color: var(--primary); font-family: inherit; }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px; font-size: 12.5px; font-weight: 600;
  background: var(--primary-50); color: var(--primary);
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill--wait { background: var(--accent-50); color: var(--accent-600); }
.status-pill--done { background: #eef1f5; color: var(--ink-2); }

.empty {
  text-align: center; padding: 52px 24px; border: 1px dashed var(--line-strong);
  border-radius: var(--radius); background: #fff;
}
.empty svg { width: 42px; height: 42px; color: var(--line-strong); margin: 0 auto 14px; }
.empty h4 { color: var(--ink-2); margin-bottom: 6px; }
.empty p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

/* ---------- sidebar nav (account) ---------- */
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-nav button, .side-nav a {
  width: 100%; text-align: left; padding: 11px 15px; border-radius: 10px;
  border: 0; background: none; cursor: pointer; font-family: inherit;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px; box-sizing: border-box;
}
.side-nav button svg, .side-nav a svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.side-nav button:hover, .side-nav a:hover { background: var(--bg-soft); color: var(--ink-2); }
.side-nav button.active, .side-nav a.active { background: var(--primary-50); color: var(--primary); font-weight: 600; }
.side-nav button.active svg, .side-nav a.active svg { color: var(--primary); }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(140deg, var(--primary-700) 0%, var(--primary) 60%, #12806c 100%);
  border-radius: var(--radius-l); padding: 58px 56px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; left: -80px; bottom: -140px;
  width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .84); margin: 0; font-size: 15.5px; position: relative; }
.cta-band .btn-row { position: relative; }
.cta-band .btn--accent { box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn--onDark { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--onDark:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: #0d1a24; color: rgba(255, 255, 255, .62); padding: 66px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; margin-bottom: 18px; font-weight: 600; }
.site-footer a { color: rgba(255, 255, 255, .62); }
.site-footer a:hover { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: rgba(255, 255, 255, .42); }
.footer-about p { line-height: 1.8; margin-bottom: 18px; font-size: 13.5px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; font-size: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: rgba(255, 255, 255, .4); }
.footer-bottom {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between;
  font-size: 12.8px; color: rgba(255, 255, 255, .45);
}
.footer-bottom a { color: rgba(255, 255, 255, .45); }

/* ---------- page hero (sub pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, #f7fbfa 0%, #fff 100%);
  border-bottom: 1px solid var(--line); padding: 66px 0 58px;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span.sep { opacity: .5; }

/* ---------- toast ---------- */
#toast-host {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 200; display: grid; gap: 10px; justify-items: center; pointer-events: none; width: max-content; max-width: 92vw;
}
.toast {
  background: #12212e; color: #fff; padding: 12px 22px; border-radius: 100px;
  font-size: 14px; box-shadow: var(--shadow-l);
  display: flex; align-items: center; gap: 9px;
  animation: toast-in .26s ease both;
}
.toast svg { width: 17px; height: 17px; flex: none; }
.toast--ok svg { color: #4fd1a5; }
.toast--err svg { color: #ff9d8a; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- misc ---------- */
.skeleton { background: linear-gradient(90deg, #f1f5f7 25%, #e8eef1 37%, #f1f5f7 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 8px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.hidden { display: none !important; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.nowrap { white-space: nowrap; }

.mode-banner {
  background: #12212e; color: rgba(255, 255, 255, .9);
  font-size: 13px; padding: 9px 0; text-align: center;
}
.mode-banner .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.mode-banner svg { width: 15px; height: 15px; opacity: .7; }
.mode-banner b { color: #fff; }

/* ---------- reveal on scroll（渐进增强：JS 未启用时内容始终可见） ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.reveal-armed { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; padding: 60px 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .step-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .dash-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .plans { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 18px 20px; margin: 0;
    box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 12px; border-radius: 10px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .header-actions .btn { padding: 10px 18px; font-size: 14px; }
  .section { padding: 68px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .panel { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .card { padding: 24px; }
  .hero-panel { padding: 22px; }
  .auth-main { padding: 48px 20px; }
}

/* ==========================================================================
   管理后台（admin.html）
   ========================================================================== */
.adm-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between; margin-bottom: 4px;
}
.adm-stamp { font-size: 13.5px; color: var(--muted); }

.adm-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 18px 0 26px;
}
.adm-stats .stat { background: #fff; padding: 20px 18px; }
.adm-stats .stat b { font-size: clamp(22px, 2.4vw, 28px); }
.adm-stats .stat--warn b { color: var(--accent-600); }

.adm-filters {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; margin-bottom: 20px;
}
.adm-tabs {
  display: inline-flex; gap: 2px; padding: 3px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px;
}
.adm-tabs button {
  border: 0; background: none; cursor: pointer; font: inherit;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding: 7px 15px; border-radius: 100px; white-space: nowrap;
}
.adm-tabs button:hover { color: var(--primary); }
.adm-tabs button.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-s); }

.adm-filters select,
.adm-search input {
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 9px 12px; font: inherit; font-size: 14px;
  background: #fff; color: var(--ink);
}
.adm-filters select:focus,
.adm-search input:focus { outline: 2px solid var(--primary-100); border-color: var(--primary); }
.adm-search { position: relative; flex: 1; min-width: 200px; display: block; }
.adm-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted); pointer-events: none;
}
.adm-search input { width: 100%; padding-left: 36px; }

.adm-tablewrap { overflow-x: auto; margin: 0 -2px; }
.adm-table { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 14px; }
.adm-table th {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line);
  font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap;
}
.adm-table td {
  padding: 15px 12px; border-bottom: 1px solid var(--line);
  vertical-align: top; color: var(--ink-2);
}
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table tbody tr:hover > td { background: var(--bg-soft); }

.adm-name { font-weight: 600; color: var(--ink); }
.adm-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.adm-msg { max-width: 360px; color: var(--text); line-height: 1.6; }
.adm-row-act { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-status {
  border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 7px 9px; font: inherit; font-size: 13.5px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.adm-status:disabled { opacity: .6; }

.adm-detail > td { background: var(--bg-soft) !important; }
.adm-detail .box { display: grid; gap: 16px; max-width: 780px; }
.adm-detail .box > div > b { font-size: 13px; color: var(--muted); font-weight: 700; }
.adm-detail p { color: var(--ink-2); line-height: 1.7; margin: 0; }
.adm-files { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-kv {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 20px; padding-top: 4px;
}
.adm-kv > div { font-size: 13.5px; }
.adm-kv span { color: var(--muted); }
.adm-kv b { color: var(--ink-2); font-weight: 600; margin-left: 6px; }
.adm-uid {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; background: #fff; border: 1px solid var(--primary-100);
  border-radius: 6px; padding: 2px 7px; word-break: break-all;
}
.adm-cmd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.7; background: #fff;
  border: 1px solid var(--primary-100); border-radius: 8px;
  padding: 12px 14px; margin: 0 0 12px; overflow-x: auto; white-space: pre;
  color: var(--ink-1);
}

@media (max-width: 720px) {
  .adm-hide-sm { display: none; }
  .adm-toolbar { flex-direction: column; align-items: flex-start; }
  .adm-filters { flex-direction: column; align-items: stretch; }
  .adm-tabs { overflow-x: auto; align-self: flex-start; max-width: 100%; }
  .adm-msg { max-width: none; }
}

