:root {
  --bg: #f4f6fb;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --panel: #ffffff;
  --raised: #f1f5f9;
  --pri: #1a7fd4;
  --pri-hover: #156db8;
  --accent: #0369a1;
  --warn: #f97316;
  --ok: #047857;
  --err: #c2410c;
  --ring: rgba(26, 127, 212, 0.16);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --font: "Plus Jakarta Sans", "Noto Sans SC", "Segoe UI", sans-serif;
  --z-nav: 50;
  --radius: 12px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }
html { height: 100%; }
html, body { margin: 0; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
  font-size: 15px;
  line-height: 1.55;
}
body:has(#app) {
  height: 100%;
  overflow: hidden;
}
#app {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
a { color: var(--pri); cursor: pointer; text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
button, [role="button"], label[for], summary { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--pri);
  outline-offset: 2px;
}

.top {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  box-sizing: border-box;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  flex-shrink: 0;
  padding: 0 24px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-decoration: none;
  justify-self: start;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { width: 28px; height: 28px; border-radius: 10px; object-fit: cover; }
.mid {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.mid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 36px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  border-radius: 10px;
  text-decoration: none;
  transition: color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.mid a:hover { color: var(--ink); background: var(--raised); text-decoration: none; }
.mid a.on {
  color: var(--pri);
  background: var(--ring);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pri) 32%, transparent);
  text-decoration: none;
}
.right {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
.right a.plain {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 8px;
  text-decoration: none;
  transition: color 200ms ease;
}
.right a.plain:hover { color: var(--pri); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 10px 16px;
  background: var(--pri);
  color: #fff;
  font: 600 13px/1 var(--font);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  text-decoration: none;
}
.btn:hover { background: var(--pri-hover); color: #fff; text-decoration: none; }
.btn:disabled { opacity: 0.6; cursor: default; }
.plan.claimed { background: var(--bg); }
.plan .btn:disabled {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  opacity: 1;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost:hover { background: var(--raised); color: var(--ink); }
.btn.sm { padding: 6px 12px; font-size: 12px; }
.btn.accent { background: var(--pri); }
.btn.accent:hover { background: var(--pri-hover); }
.btn.warn { background: var(--warn); }
.btn.warn:hover { background: #ea6a0c; }

.session {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}
.avatar {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--pri) 12%, white);
  color: var(--pri); font-size: 11px; font-weight: 650;
}
.session .name { font-size: 12px; font-weight: 600; }
.session .mail { display: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 32px 24px 96px; }
.page-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.page-sub {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 14px;
  max-width: 560px;
}

.home { overflow: clip; }
.hero-band {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: calc(100dvh - 64px);
  padding: 40px 0 24px;
  scroll-margin-top: 16px;
}
.mesh {
  position: absolute;
  inset: -80px 0 auto;
  height: 560px;
  pointer-events: none;
  background:
    radial-gradient(420px 220px at 18% 20%, rgba(26, 127, 212, 0.16), transparent 70%),
    radial-gradient(380px 240px at 82% 8%, rgba(3, 105, 161, 0.12), transparent 68%),
    radial-gradient(520px 180px at 50% 100%, rgba(26, 127, 212, 0.08), transparent 70%);
  animation: mesh-drift 16s ease-in-out infinite;
}
.hero {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 12px;
  text-align: center;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.hero-points li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 86%, transparent);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.preview-wrap {
  position: relative;
  max-width: 1040px;
  margin: 28px auto 48px;
  padding: 0 24px;
}
.preview-wrap .window { margin: 0; }
.window-float { animation: window-float 7s ease-in-out infinite; }
.features .reveal:nth-child(2),
.steps .reveal:nth-child(2) { transition-delay: 70ms; }
.features .reveal:nth-child(3),
.steps .reveal:nth-child(3) { transition-delay: 140ms; }
.features .reveal:nth-child(4) { transition-delay: 70ms; }
.features .reveal:nth-child(5) { transition-delay: 140ms; }
.features .reveal:nth-child(6) { transition-delay: 210ms; }
.win-modes {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}
.win-modes span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--raised);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.win-modes span.on { background: var(--pri); color: #fff; }
.win-right b { color: var(--ink); font-weight: 650; }
.kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pri);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5.4vw, 52px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.lede {
  margin: 0 auto 24px;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.cta-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.window {
  max-width: 1040px;
  margin: 8px auto 64px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.win-title { margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.win-body { display: grid; grid-template-columns: 220px 1fr 188px; min-height: 320px; background: var(--bg); }
.win-side, .win-right {
  padding: 14px 12px;
  background: var(--panel);
  font-size: 12px;
  color: var(--muted);
}
.win-side { border-right: 1px solid var(--line); }
.win-right { border-left: 1px solid var(--line); }
.win-app {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.win-app img {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  object-fit: cover;
}
.win-app-sub { margin: 2px 0 10px; font-size: 11px; }
.win-new {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 7px 8px;
  border-radius: 10px;
  background: var(--pri);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.win-item {
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 4px;
}
.win-item.on { background: color-mix(in srgb, var(--pri) 10%, white); color: var(--pri); font-weight: 600; }
.win-chat { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.bubble.me {
  align-self: flex-end;
  background: color-mix(in srgb, var(--pri) 10%, white);
  border-color: color-mix(in srgb, var(--pri) 22%, white);
}
.composer {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.win-file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
}
.win-file:last-child { border-bottom: 0; }
.win-file i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--pri);
  flex-shrink: 0;
}

.section { max-width: 1080px; margin: 0 auto; padding: 56px 24px 0; }
.section h2, .section-head h2, .scene-panel h3, .closing h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.section-head { text-align: center; margin-bottom: 28px; }
.section-head .muted, .section > .muted { margin: 0 auto 0; max-width: 560px; }
.band {
  margin-top: 56px;
  padding: 64px 0 8px;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band .section { padding-top: 0; }
#ability, #scenes, #flow, #packages { scroll-margin-top: 72px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}
.mini {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.mini svg {
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
  color: var(--pri);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mini b { display: block; color: var(--ink); font-weight: 650; margin-bottom: 8px; font-size: 15px; }
.mini p { margin: 0; }
.mini:hover { border-color: color-mix(in srgb, var(--pri) 35%, var(--line)); }

.scenes-wrap { padding-bottom: 8px; }
.scene-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.scene-tabs button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 13px var(--font);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.scene-tabs button:hover { color: var(--ink); background: var(--raised); }
.scene-tabs button.on {
  background: var(--pri);
  border-color: var(--pri);
  color: #fff;
}
.scene-stage { position: relative; min-height: 280px; }
.scene-panel {
  display: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 8px 0 24px;
}
.scene-panel.on { display: grid; }
.scene-panel h3 { font-size: 22px; }
.scene-panel p { margin: 0 0 16px; color: var(--muted); }
.scene-panel ul { margin: 0; padding: 0; list-style: none; }
.scene-panel li {
  position: relative;
  padding: 6px 0 6px 16px;
  color: var(--ink);
  font-size: 14px;
}
.scene-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pri);
}
.scene-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scene-kicker { font-size: 12px; font-weight: 650; color: var(--pri); }
.scene-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.scene-step i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--pri) 12%, white);
  color: var(--pri);
  font-style: normal;
  font-size: 12px;
}
.scene-canvas {
  height: 148px;
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(26, 127, 212, 0.18), rgba(255, 255, 255, 0.2) 42%, rgba(3, 105, 161, 0.16)),
    var(--bg);
}
.scene-caption { font-size: 12px; color: var(--muted); }
.scene-panel.scene-in .scene-card,
.scene-panel.scene-in > div:first-child {
  animation: scene-in 480ms ease both;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0 0 48px;
  list-style: none;
}
.steps li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.steps span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pri);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}
.steps b { display: block; margin: 12px 0 6px; font-size: 15px; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; }
.closing {
  max-width: 760px;
  margin: 8px auto 72px;
  padding: 48px 24px 8px;
  text-align: center;
}
.closing p { margin: 0 auto 20px; max-width: 460px; color: var(--muted); }
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}
.reveal.in { opacity: 1; transform: none; }
@keyframes mesh-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 16px, 0); }
}
@keyframes window-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes scene-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 16px;
  align-items: stretch;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  cursor: default;
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms ease;
}
.plan.featured {
  border-color: var(--pri);
  box-shadow: 0 0 0 1px var(--pri), var(--shadow-sm);
}
.plan h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 650;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  background: color-mix(in srgb, var(--pri) 12%, white);
  color: var(--pri);
  font-size: 11px;
  font-weight: 650;
}
.price {
  margin: 12px 0 8px;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan > .muted { margin: 0; }
.plan-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  flex: 1;
}
.plan-list li {
  display: grid;
  grid-template-columns: 2.75em minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  border-top: 1px solid var(--line);
}
.plan-list li:first-child { border-top: 0; }
.plan-list b {
  color: var(--ink);
  font-weight: 650;
  font-size: 13px;
}
.packages-page { padding-bottom: 32px; }
.plan .btn { margin-top: 20px; width: 100%; }
.coupon-fold {
  max-width: 280px;
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 13px;
}
.coupon-fold summary { font-weight: 500; }
.coupon-fold input { margin-top: 8px; }
.recharge {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 24px;
  align-items: center;
  margin: 8px 0 48px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 72px;
}
.recharge h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.recharge .muted { margin: 0; }
.recharge-form label { margin-top: 0; }
.recharge-form .code-row { margin-top: 6px; }
.recharge-form .btn { white-space: nowrap; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0 0 12px; font-size: 15px; font-weight: 650; }
.profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile .avatar { width: 44px; height: 44px; font-size: 16px; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--ink);
}
.usage {
  height: 8px;
  margin: 10px 0 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--raised);
}
.usage > i {
  display: block;
  height: 100%;
  background: var(--pri);
}
.muted { color: var(--muted); font-size: 14px; }
.hint { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.err { color: var(--err); font-size: 13px; margin: 8px 0 0; }
.ok { color: var(--ok); font-size: 13px; }
.auth-screen {
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 24px 32px;
}
.auth-screen .auth { margin: 0; width: min(400px, 100%); }
.auth { max-width: 400px; margin: 40px auto; }
.auth h2, .auth .page-title { font-size: 1.375rem; }
.auth .page-title + .muted { margin: 8px 0 0; }
.auth-tabs {
  display: flex;
  gap: 8px;
  margin: 20px 0 4px;
}
.auth-tabs button {
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.auth-tabs button.on {
  background: var(--pri);
  border-color: var(--pri);
  color: #fff;
}
.auth-pane { display: none; }
.auth-pane.on { display: block; }
.banner {
  background: color-mix(in srgb, var(--pri) 8%, white);
  border: 1px solid color-mix(in srgb, var(--pri) 22%, white);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--accent);
  margin: 16px 0 0;
}
.field { margin-top: 14px; }
.field label { margin-top: 0; }
.actions { margin-top: 20px; }
.actions .btn { width: 100%; }
.auth-extra { margin-top: 16px; font-size: 13px; }
.auth-extra a { font-weight: 500; }
.quiet { margin-top: 16px; color: var(--muted); font-size: 12px; }
.code-row { display: flex; gap: 8px; align-items: stretch; margin-top: 6px; }
.code-row input { margin: 0; flex: 1; }
.code-row .btn { flex-shrink: 0; white-space: nowrap; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 12px; }
input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  margin: 6px 0 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font: 14px var(--font);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--pri);
  box-shadow: 0 0 0 3px var(--ring);
  outline: none;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12px; }
td.clip { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
tr:hover td { background: var(--raised); }
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 16px;
  margin: 0 0 48px;
}
.faq details {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.footer {
  margin-top: auto;
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  padding: 24px 24px 32px;
  color: var(--muted);
  font-size: 13px;
  background: var(--panel);
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--pri); }
.beian { letter-spacing: 0.02em; }

.legal-hero { margin-bottom: 28px; }
.legal-nav {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
}
.legal-nav a {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.legal-nav a:hover { color: var(--pri); text-decoration: none; background: var(--raised); }
.legal-nav a.on {
  background: var(--pri);
  border-color: var(--pri);
  color: #fff;
}
.legal-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.legal-toc a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.legal-toc a:hover { color: var(--pri); text-decoration: none; }
.prose h2 {
  margin: 32px 0 12px;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 14px; line-height: 1.75; }
.prose p { margin: 0 0 12px; }
.prose ol, .prose ul { margin: 0 0 12px; padding-left: 1.25rem; }
.prose li { margin: 6px 0; }
.agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.agree input { width: auto; margin: 3px 0 0; flex-shrink: 0; }

.dl-page { max-width: 880px; }
.dl-hero { text-align: center; padding-top: 12px; }
.dl-hero .page-title { margin-bottom: 0; }
.dl-hero .page-sub { margin-left: auto; margin-right: auto; }
.dl-hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.dl-hero .kicker {
  margin: 16px 0 8px;
  color: var(--pri);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.dl-card:hover {
  border-color: color-mix(in srgb, var(--pri) 40%, var(--line));
  box-shadow: var(--shadow-md);
}
.dl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dl-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--raised);
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}
.dl-os { width: 16px; height: 16px; display: block; }
.dl-card h3 { margin: 16px 0 10px; font-size: 18px; }
.dl-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.dl-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.dl-points svg { width: 16px; height: 16px; margin-top: 2px; flex: none; color: var(--pri); }
.dl-meta { margin: 16px 0; font-size: 13px; color: var(--muted); }
.dl-card .btn { width: 100%; margin-top: auto; }
.dl-card .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.dl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.dl-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.dl-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ring);
  color: var(--pri);
  font-size: 13px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  margin-right: 4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
}

@media (max-width: 900px) {
  .top {
    display: flex;
    align-items: center;
    height: 64px;
    min-height: 64px;
    max-height: 64px;
    padding: 0 16px;
  }
  .brand { margin-right: auto; }
  .nav-toggle { display: inline-flex; }
  .mid {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px 12px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  body.nav-open .mid { display: flex; }
  .mid a { height: 40px; padding: 0 12px; }
  .features, .plans, .faq, .recharge, .dl-grid, .dl-steps { grid-template-columns: 1fr; }
  .win-body, .legal-layout, .scene-panel.on, .steps { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .win-side, .win-right { display: none; }
  .hero { padding: 36px 16px 8px; }
  .preview-wrap, .wrap, .section { padding-left: 16px; padding-right: 16px; }
  .scene-stage { min-height: 0; }
}
@media (max-width: 640px) {
  .features, .plans, .faq { grid-template-columns: 1fr; }
  .hero-points { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mesh { backdrop-filter: none; }
  .dl-card { transition: none; }
}
