/* ============================================================
   克特测试 KETE TEST — 设计系统
   Dark glass / gradient accent / 年轻人向
   ============================================================ */

:root {
  --bg: #07070b;
  --bg-soft: #0c0d13;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --surface-3: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f5f9;
  --text-2: #a6abbe;
  --text-3: #6d7186;

  --violet: #7c5cff;
  --cyan: #38e1ff;
  --pink: #ff5ca8;
  --amber: #ffb86b;
  --mint: #3ddc97;

  --grad-brand: linear-gradient(120deg, var(--violet) 0%, var(--cyan) 100%);
  --grad-warm: linear-gradient(120deg, var(--pink) 0%, var(--amber) 100%);

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.8);
  --shadow: 0 28px 70px -32px rgba(0, 0, 0, 0.92);
  --shadow-lg: 0 48px 120px -50px rgba(0, 0, 0, 1);

  --ease: cubic-bezier(0.22, 0.9, 0.28, 1);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection { background: rgba(124, 92, 255, 0.4); color: #fff; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- 背景光晕 ---------- */
.aura { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aura__blob {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5;
  animation: drift 26s var(--ease) infinite alternate;
}
.aura__blob--a { width: 620px; height: 620px; background: #4a2fd0; top: -240px; left: -140px; }
.aura__blob--b { width: 540px; height: 540px; background: #0f6f8f; top: 30%; right: -200px; animation-delay: -8s; }
.aura__blob--c { width: 460px; height: 460px; background: #8f1f5c; bottom: -200px; left: 28%; animation-delay: -16s; opacity: 0.38; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, -50px, 0) scale(1.18); }
}
.aura__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 88% 62% at 50% 0%, #000 8%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 88% 62% at 50% 0%, #000 8%, transparent 78%);
}

/* ---------- 布局 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.view { flex: 1 0 auto; position: relative; z-index: 2; padding-bottom: 40px; }
.section { padding: 54px 0; }
.section--tight { padding: 30px 0; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  background: rgba(7, 7, 11, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.topbar.is-stuck { border-bottom-color: var(--line); background: rgba(7, 7, 11, 0.88); }
.topbar__inner { display: flex; align-items: center; gap: 22px; height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__mark {
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--grad-brand);
  color: #07070b; font-weight: 800; font-size: 19px; letter-spacing: -0.03em;
  box-shadow: 0 8px 26px -10px rgba(124, 92, 255, 0.9);
}
.brand__mark--sm { width: 30px; height: 30px; border-radius: 9px; font-size: 16px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 15.5px; letter-spacing: 0.01em; }
.brand__text em {
  font-style: normal; font-size: 9px; letter-spacing: 0.26em;
  color: var(--text-3); font-weight: 600; margin-top: 2px;
}

.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 8px 15px; border-radius: 99px; font-size: 14px; color: var(--text-2);
  font-weight: 500; transition: 0.2s var(--ease); white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.is-active { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }

.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- 移动端汉堡菜单 ---------- */
.menu-btn {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: 0.2s var(--ease);
}
.menu-btn span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: 0.28s var(--ease); }
.menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  padding: 10px 17px 16px; flex-direction: column; gap: 3px;
  background: rgba(7, 7, 11, 0.97); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  animation: menuIn 0.24s var(--ease);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 13px 14px; border-radius: var(--radius-xs); font-size: 15px; font-weight: 500;
  color: var(--text-2); transition: 0.18s var(--ease);
}
.mobile-menu a:active { background: var(--surface-2); color: var(--text); }
.mobile-menu a.is-active { background: var(--surface-2); color: var(--text); font-weight: 600; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 99px; font-size: 14px; font-weight: 600;
  transition: 0.22s var(--ease); white-space: nowrap; letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.975); }
.btn--primary {
  background: var(--grad-brand); color: #07070b;
  box-shadow: 0 14px 34px -16px rgba(124, 92, 255, 0.95);
}
.btn--primary:hover { box-shadow: 0 18px 44px -14px rgba(56, 225, 255, 0.7); transform: translateY(-1px); }
.btn--ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--lg { padding: 15px 30px; font-size: 15.5px; }
.btn--sm { padding: 8px 15px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.link-btn { color: var(--cyan); font-size: 13.5px; font-weight: 500; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 通用卡片 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Hero ---------- */
.hero { padding: 78px 0 30px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 600;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-2); margin-bottom: 26px;
}
.hero__badge i {
  width: 18px; height: 18px; border-radius: 50%; background: var(--grad-brand); display: block;
  box-shadow: 0 0 14px rgba(56, 225, 255, 0.8);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.hero h1 {
  font-size: clamp(38px, 6.6vw, 76px); font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.04; margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 6%, var(--cyan) 44%, var(--violet) 72%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  font-size: clamp(15px, 1.7vw, 18px); color: var(--text-2); max-width: 620px; line-height: 1.78;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 46px; }
.hero__stat b {
  display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__stat span { font-size: 12.5px; color: var(--text-3); letter-spacing: 0.06em; }

/* ---------- 搜索 ---------- */
.searchbox {
  display: flex; align-items: center; gap: 11px; margin-top: 34px; max-width: 460px;
  padding: 13px 18px; border-radius: 99px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: 0.24s var(--ease);
}
.searchbox:focus-within { box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.75), 0 0 0 5px rgba(124, 92, 255, 0.12); }
.searchbox svg { flex: 0 0 auto; opacity: 0.5; }
.searchbox input { flex: 1; background: none; border: none; outline: none; font-size: 14.5px; }
.searchbox input::placeholder { color: var(--text-3); }
.searchbox kbd {
  font-size: 11px; padding: 2px 7px; border-radius: 6px; color: var(--text-3);
  background: var(--surface-2); font-family: inherit;
}

/* ---------- 段落标题 ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.head h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.025em; }
.head p { color: var(--text-2); font-size: 14px; margin-top: 7px; }
.eyebrow {
  font-size: 11.5px; letter-spacing: 0.22em; color: var(--text-3);
  font-weight: 700; text-transform: uppercase; margin-bottom: 9px; display: block;
}

/* ---------- 分类筛选 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.chip {
  padding: 8px 17px; border-radius: 99px; font-size: 13.5px; font-weight: 500;
  color: var(--text-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: 0.2s var(--ease);
}
.chip:hover { color: var(--text); background: var(--surface-2); }
.chip.is-active { background: var(--grad-brand); color: #07070b; font-weight: 700; box-shadow: 0 10px 26px -14px rgba(124, 92, 255, 0.95); }

/* ---------- 测试卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid--1 { grid-template-columns: 1fr; max-width: 420px; }

.tcard {
  position: relative; display: flex; flex-direction: column; gap: 15px;
  padding: 24px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(168deg, rgba(255,255,255,0.072), rgba(255,255,255,0.022));
  border: 1px solid var(--line);
  transition: 0.34s var(--ease); cursor: pointer;
  min-height: 232px;
}
.tcard::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--c1, #7c5cff), transparent 62%);
  opacity: 0; transition: opacity 0.4s var(--ease); mix-blend-mode: soft-light;
}
.tcard:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.tcard:hover::after { opacity: 0.5; }
.tcard__top { display: flex; align-items: flex-start; gap: 14px; }
.tcard__icon {
  width: 50px; height: 50px; border-radius: 16px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 24px; line-height: 1;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow: 0 14px 34px -18px var(--c1), inset 0 1px 0 rgba(255,255,255,0.32);
}
.tcard__hot {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 99px; color: var(--amber);
  background: rgba(255, 184, 107, 0.13); box-shadow: inset 0 0 0 1px rgba(255, 184, 107, 0.26);
}
.tcard__badges { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.tcard__paid {
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  padding: 4px 10px; border-radius: 99px; color: var(--cyan);
  background: rgba(56, 225, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(56, 225, 255, 0.28);
}
.tcard h3 { font-size: 18.5px; letter-spacing: -0.02em; }
.tcard__sub { font-size: 13.5px; color: var(--text-2); margin-top: 5px; line-height: 1.6; }
.tcard__foot { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-3); }
.tcard__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.tcard__go {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--text); font-size: 13px;
  transition: gap 0.25s var(--ease);
}
.tcard:hover .tcard__go { gap: 11px; color: var(--cyan); }

/* ---------- 测试详情（开始页） ---------- */
.test-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 34px; align-items: start; padding: 44px 0 8px; }
.test-hero__icon {
  width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center;
  font-size: 38px; background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow: 0 26px 60px -26px var(--c1); margin-bottom: 24px;
}
.test-hero h1 { font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -0.032em; }
.test-hero__sub { color: var(--text-2); font-size: 16px; margin-top: 14px; max-width: 620px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 99px;
  font-size: 12.5px; color: var(--text-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.meta-pill b { color: var(--text); font-weight: 700; }
.meta-pill--pay { color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(56, 225, 255, 0.3); background: rgba(56, 225, 255, 0.08); }

.side-card { padding: 26px; position: sticky; top: 92px; }
.side-card h4 { font-size: 15px; margin-bottom: 16px; }
.side-list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.side-list li { display: flex; gap: 10px; align-items: flex-start; }
.side-list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; margin-top: 8px; flex: 0 0 auto;
  background: var(--grad-brand);
}

/* ---------- Markdown 排版 ---------- */
.md { font-size: 15.5px; line-height: 1.95; color: var(--text-2); }
.md > *:first-child { margin-top: 0; }
.md > *:last-child { margin-bottom: 0; }
.md h1, .md h2 { font-size: 23px; color: var(--text); margin: 30px 0 14px; letter-spacing: -0.024em; }
.md h3 { font-size: 18.5px; color: var(--text); margin: 28px 0 12px; letter-spacing: -0.02em; }
.md h4 { font-size: 15.5px; color: var(--text); margin: 22px 0 10px; }
.md p { margin: 13px 0; }
.md strong { color: var(--text); font-weight: 700; }
.md em { color: var(--cyan); font-style: normal; font-weight: 600; }
.md del { color: var(--text-3); }
.md a { color: var(--cyan); border-bottom: 1px solid rgba(56, 225, 255, 0.35); }
.md a:hover { border-bottom-color: var(--cyan); }
.md ul, .md ol { margin: 13px 0; padding-left: 4px; list-style: none; }
.md ul li, .md ol li { position: relative; padding-left: 24px; margin: 8px 0; }
.md ul li::before {
  content: ""; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--grad-brand);
}
.md ol { counter-reset: mdol; }
.md ol li { padding-left: 30px; }
.md ol li::before {
  counter-increment: mdol; content: counter(mdol);
  position: absolute; left: 0; top: 0.16em; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #07070b;
  background: var(--grad-brand);
}
.md blockquote {
  margin: 20px 0; padding: 16px 22px; border-radius: var(--radius-sm);
  background: linear-gradient(100deg, rgba(124, 92, 255, 0.14), rgba(56, 225, 255, 0.06));
  border-left: 3px solid var(--violet); color: var(--text); font-size: 15px;
}
.md blockquote p { margin: 0; }
.md code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em; padding: 2px 7px; border-radius: 7px;
  background: var(--surface-2); color: var(--cyan);
}
.md pre {
  margin: 18px 0; padding: 18px; border-radius: var(--radius-sm); overflow-x: auto;
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line);
}
.md pre code { background: none; padding: 0; color: var(--text); font-size: 13px; line-height: 1.7; }
.md hr { border: none; height: 1px; background: var(--line); margin: 28px 0; }
.md table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.md th, .md td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.md th { color: var(--text); font-weight: 700; background: var(--surface); }

/* ---------- 答题 ---------- */
.quiz-wrap { max-width: 760px; margin: 0 auto; padding: 40px 0; }
.quiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.quiz-back {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: 0.2s var(--ease);
}
.quiz-back:hover { background: var(--surface-2); }
.quiz-top__title { font-size: 14.5px; font-weight: 600; }
.quiz-top__count { margin-left: auto; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.quiz-top__count b { color: var(--text); font-size: 17px; font-weight: 800; }

.progress { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-bottom: 40px; }
.progress__fill {
  height: 100%; border-radius: 99px; background: var(--grad-brand); width: 0;
  transition: width 0.5s var(--ease); box-shadow: 0 0 18px rgba(56, 225, 255, 0.65);
}

/* ---------- 答题卡入口按钮 ---------- */
.quiz-card-btn {
  position: relative;
  width: 36px; height: 36px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text-2); cursor: pointer;
  transition: 0.2s var(--ease);
}
.quiz-card-btn:hover { background: var(--surface-2); color: var(--text); }
.quiz-card-btn.has-todo { color: var(--text); border-color: rgba(255, 184, 107, 0.45); }
.quiz-card-btn__badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 99px;
  background: var(--amber); color: #201200;
  font-size: 10.5px; font-weight: 800; line-height: 17px; text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ---------- 答题卡抽屉 ---------- */
.card-mask {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: cardFade 0.18s var(--ease);
}
.card-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 91;
  max-height: 78vh; overflow-y: auto; overscroll-behavior: contain;
  background: #101018;
  border-top: 1px solid var(--line-strong);
  border-radius: 24px 24px 0 0;
  padding: 8px 20px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -30px 80px -40px #000;
  animation: cardUp 0.26s var(--ease);
}
.card-sheet__bar { width: 44px; height: 4px; border-radius: 99px; background: var(--surface-3); margin: 4px auto 14px; }
.card-sheet__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.card-sheet__head b { font-size: 16px; }
.card-sheet__head p { font-size: 12.5px; color: var(--text-2); margin-top: 5px; }
.card-sheet__head .is-done-num { color: var(--mint); }
.card-sheet__head .is-todo-num { color: var(--amber); }
.card-sheet__close {
  margin-left: auto; width: 32px; height: 32px; flex: 0 0 auto;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text-2); font-size: 18px; line-height: 1; cursor: pointer;
}
.card-legend { display: flex; gap: 16px; font-size: 11.5px; color: var(--text-3); margin-bottom: 14px; }
.card-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 11px; height: 11px; border-radius: 4px; display: inline-block; }
.lg--done { background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.lg--todo { border: 1.5px dashed var(--amber); }
.lg--cur { border: 2px solid var(--cyan); }

.card-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.card-cell {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: 0.16s var(--ease);
  border: 1px solid transparent;
  background: var(--surface-2); color: var(--text-2);
}
.card-cell.is-done { background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(56, 225, 255, 0.62)); color: #fff; }
.card-cell.is-todo { background: transparent; border: 1.5px dashed rgba(255, 184, 107, 0.55); color: var(--amber); }
.card-cell.is-cur { box-shadow: 0 0 0 2px var(--cyan) inset, 0 0 18px -6px var(--cyan); }
.card-cell:active { transform: scale(0.93); }

.card-sheet__foot { margin-top: 18px; }

@keyframes cardFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardUp { from { transform: translateY(26px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* 全部答完后点亮「查看结果」按钮 */
.btn.is-ready { animation: readyPulse 1.5s ease-in-out infinite; }
@keyframes readyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 225, 255, 0.45); }
  50% { box-shadow: 0 0 0 9px rgba(56, 225, 255, 0); }
}

@media (max-width: 430px) {
  .card-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .card-sheet { padding-left: 16px; padding-right: 16px; }
}

.q-card { animation: qIn 0.42s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.q-index { font-size: 12.5px; letter-spacing: 0.18em; color: var(--text-3); font-weight: 700; margin-bottom: 14px; }
.q-text { font-size: clamp(20px, 3.1vw, 27px); font-weight: 700; letter-spacing: -0.026em; line-height: 1.42; margin-bottom: 32px; }

.opts { display: flex; flex-direction: column; gap: 12px; }
.opt {
  display: flex; align-items: center; gap: 15px; width: 100%; text-align: left;
  padding: 18px 20px; border-radius: var(--radius-sm); font-size: 15.5px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: 0.2s var(--ease); color: var(--text-2);
}
.opt:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text); transform: translateX(3px); }
.opt__key {
  width: 27px; height: 27px; border-radius: 9px; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800; color: var(--text-3);
  background: var(--surface-2); transition: 0.2s var(--ease);
}
.opt:hover .opt__key { color: var(--cyan); }
.opt.is-picked {
  background: linear-gradient(100deg, rgba(124, 92, 255, 0.2), rgba(56, 225, 255, 0.08));
  box-shadow: inset 0 0 0 1.5px rgba(124, 92, 255, 0.6); color: var(--text);
}
.opt.is-picked .opt__key { background: var(--grad-brand); color: #07070b; }

.quiz-foot { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.quiz-hint { font-size: 12.5px; color: var(--text-3); }

/* ---------- 结果 ---------- */
.result-hero {
  position: relative; overflow: hidden; padding: 52px 40px; border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(255,255,255,0.085), rgba(255,255,255,0.02));
  border: 1px solid var(--line); margin-top: 34px;
}
.result-hero::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, var(--c1, #7c5cff), transparent 66%);
  top: -300px; right: -180px; opacity: 0.42; filter: blur(30px);
}
.result-hero__inner { position: relative; z-index: 2; }
.result-code {
  font-size: 12.5px; letter-spacing: 0.3em; color: var(--text-3); font-weight: 700; margin-bottom: 16px;
}
.result-title { font-size: clamp(32px, 5.4vw, 58px); font-weight: 800; letter-spacing: -0.038em; line-height: 1.08; }
/* 一句话式结论（长句）用更小的字号，避免手机上一行挤不下、桌面端过大 */
.result-title--long { font-size: clamp(24px, 3.6vw, 40px); line-height: 1.24; letter-spacing: -0.02em; }
.result-tagline { font-size: clamp(15px, 1.9vw, 18.5px); color: var(--text-2); margin-top: 16px; max-width: 640px; }
.result-emoji { font-size: 58px; line-height: 1; margin-bottom: 18px; }

.dim-list { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.dim-item__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.dim-item__name { font-size: 14.5px; font-weight: 600; }
.dim-item__val { font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.dim-bar { height: 9px; border-radius: 99px; background: var(--surface-2); overflow: hidden; position: relative; }
.dim-bar__fill {
  height: 100%; border-radius: 99px; width: 0; transition: width 1.1s var(--ease);
  background: linear-gradient(90deg, var(--c1, #7c5cff), var(--c2, #38e1ff));
}
.dim-item__desc { font-size: 13px; color: var(--text-2); margin-top: 10px; line-height: 1.75; }

.dist-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.dist-row { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.dist-row__name { flex: 0 0 auto; width: 92px; color: var(--text-2); }
.dist-row__track { flex: 1; height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.dist-row__fill { height: 100%; border-radius: 99px; background: var(--grad-brand); width: 0; transition: width 1s var(--ease); }
.dist-row__num { flex: 0 0 auto; width: 46px; text-align: right; font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.dist-row.is-top .dist-row__name { color: var(--text); font-weight: 700; }

.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- 表单 / 登录 ---------- */
.auth-shell { max-width: 452px; margin: 0 auto; padding: 56px 0 80px; }
.auth-head { text-align: center; margin-bottom: 30px; }
.auth-head h1 { font-size: 30px; letter-spacing: -0.03em; }
.auth-head p { color: var(--text-2); margin-top: 11px; font-size: 14px; }

.seg { display: flex; padding: 5px; gap: 5px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 28px; }
.seg button {
  flex: 1; padding: 10px; border-radius: 99px; font-size: 13.5px; font-weight: 600;
  color: var(--text-2); transition: 0.22s var(--ease);
}
.seg button.is-active { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: var(--text-3); margin-bottom: 8px; font-weight: 600; letter-spacing: 0.03em; }
.field input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); outline: none;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px; transition: 0.22s var(--ease);
}
.field input:focus { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px rgba(124, 92, 255, 0.7), 0 0 0 4px rgba(124, 92, 255, 0.1); }
.field input::placeholder { color: var(--text-3); }
.field__row { display: flex; gap: 10px; }
.field__row input { flex: 1; }
.field__hint { font-size: 12px; color: var(--text-3); margin-top: 7px; }

.form-note { font-size: 12.5px; color: var(--text-3); margin-top: 16px; line-height: 1.7; text-align: center; }
.err {
  font-size: 13px; color: #ff8f8f; background: rgba(255, 107, 107, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.25);
  padding: 11px 14px; border-radius: var(--radius-xs); margin-bottom: 16px;
}
.ok {
  font-size: 13px; color: #7ff0bd; background: rgba(61, 220, 151, 0.1);
  box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.25);
  padding: 11px 14px; border-radius: var(--radius-xs); margin-bottom: 16px;
}

/* ---------- 用户胶囊 ---------- */
.user-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 8px 6px 6px;
  border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: 0.2s var(--ease);
}
.user-pill:hover { background: var(--surface-2); }
.avatar {
  width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800; color: #07070b; background: var(--grad-brand); flex: 0 0 auto;
}
.avatar--lg { width: 66px; height: 66px; font-size: 26px; border-radius: 22px; }
.user-pill__name { font-size: 13.5px; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 个人中心 ---------- */
.me-hero { display: flex; align-items: center; gap: 22px; padding: 34px; margin-top: 34px; flex-wrap: wrap; }
.me-hero__meta h1 { font-size: 25px; letter-spacing: -0.026em; }
.me-hero__meta p { color: var(--text-3); font-size: 13.5px; margin-top: 7px; }
.me-stats { display: flex; gap: 30px; margin-left: auto; flex-wrap: wrap; }
.me-stat b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.me-stat span { font-size: 12px; color: var(--text-3); }

.rec-list { display: flex; flex-direction: column; gap: 12px; }
.rec {
  display: flex; align-items: center; gap: 16px; padding: 17px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: 0.24s var(--ease);
}
.rec:hover { background: var(--surface-2); border-color: var(--line-strong); transform: translateX(4px); }
.rec__icon {
  width: 42px; height: 42px; border-radius: 13px; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 20px; background: linear-gradient(140deg, var(--c1), var(--c2));
}
.rec__main { flex: 1; min-width: 0; }
.rec__main h4 { font-size: 15px; letter-spacing: -0.01em; }
.rec__main p { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.rec__score { font-weight: 800; font-size: 15px; color: var(--cyan); flex: 0 0 auto; max-width: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 70px 20px; }
.empty__ico {
  width: 66px; height: 66px; border-radius: 22px; margin: 0 auto 20px; display: grid; place-items: center;
  font-size: 30px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.empty h3 { font-size: 19px; margin-bottom: 10px; }
.empty p { color: var(--text-2); font-size: 14px; max-width: 380px; margin: 0 auto 24px; }

/* ---------- 面包屑 ---------- */
.crumb { font-size: 13px; color: var(--text-3); padding-top: 26px; display: flex; align-items: center; gap: 9px; }
.crumb a:hover { color: var(--text); }

/* ---------- Toast ---------- */
.toast-host { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  padding: 12px 20px; border-radius: 99px; font-size: 13.5px; font-weight: 600;
  background: rgba(20, 21, 28, 0.96); color: var(--text);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--line-strong);
  animation: toastIn 0.32s var(--ease);
  backdrop-filter: blur(14px);
}
.toast--err { color: #ffb3b3; box-shadow: 0 20px 50px -18px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,107,107,.35); }
.toast--ok { color: #9df1cb; box-shadow: 0 20px 50px -18px rgba(0,0,0,.9), inset 0 0 0 1px rgba(61,220,151,.32); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Modal ---------- */
.modal-host { position: fixed; inset: 0; z-index: 180; display: none; }
.modal-host.is-open { display: block; }
.modal-mask { position: absolute; inset: 0; background: rgba(4, 4, 8, 0.72); backdrop-filter: blur(8px); animation: fadeIn 0.25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; z-index: 2; max-width: 420px; margin: 12vh auto 0; padding: 30px;
  border-radius: var(--radius-lg); background: #12131a;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
  animation: qIn 0.32s var(--ease);
}
.modal h3 { font-size: 20px; margin-bottom: 11px; }
.modal p { color: var(--text-2); font-size: 14px; }
.modal__actions { display: flex; gap: 10px; margin-top: 26px; }
.modal__actions .btn { flex: 1; }

/* ---------- 页脚 ---------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); margin-top: 40px; background: rgba(0,0,0,0.3); }
.footer__inner { display: flex; justify-content: space-between; gap: 26px; padding: 40px 24px; flex-wrap: wrap; align-items: flex-start; }
.footer__brand { display: flex; gap: 13px; align-items: flex-start; }
.footer__brand strong { font-size: 14.5px; }
.footer__brand p { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.footer__meta { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--text-3); text-align: right; max-width: 520px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 13px; flex: 0 0 auto; }
.footer__links a { color: var(--text-2); transition: 0.2s var(--ease); }
.footer__links a:hover { color: var(--text); }
.footer__legal { display: flex; gap: 14px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.footer__icp { color: var(--text-3); text-decoration: none; transition: 0.2s var(--ease); }
.footer__icp:hover { color: var(--text-2); text-decoration: underline; }
.footer__icp[hidden] { display: none; }

/* ---------- 合规页面 ---------- */
.legal-wrap { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 214px 1fr; gap: 34px; align-items: start; padding-bottom: 40px; }
.legal-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 5px; }
.legal-aside__label { font-size: 11.5px; letter-spacing: 0.16em; color: var(--text-3); font-weight: 700; padding: 0 14px 9px; text-transform: uppercase; }
.legal-aside a { padding: 11px 14px; border-radius: var(--radius-xs); font-size: 13.5px; color: var(--text-2); transition: 0.2s var(--ease); }
.legal-aside a:hover { background: var(--surface); color: var(--text); }
.legal-aside a.is-active { background: var(--surface-2); color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-strong); }
.legal-doc { padding: 40px 44px; }
.legal-doc .md { font-size: 14.5px; line-height: 1.92; }
.legal-doc .md h1 { font-size: clamp(23px, 3.4vw, 29px); margin: 0 0 8px; }
.legal-doc .md h2 { font-size: 17.5px; margin: 34px 0 12px; }
.legal-doc .md h3 { font-size: 15px; margin: 22px 0 9px; }
.legal-doc .md > p:first-of-type { font-size: 12.5px; color: var(--text-3); letter-spacing: 0.02em; }
.legal-foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); line-height: 1.8; }

/* ---------- 同意勾选 ---------- */
.check { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 18px; font-size: 13px; line-height: 1.7; color: var(--text-2); cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px;
  border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: 0.18s var(--ease); cursor: pointer; position: relative;
}
.check input:checked { background: var(--grad-brand); box-shadow: none; }
.check input:checked::after {
  content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 9px;
  border: solid #07070b; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.check input:focus-visible { box-shadow: inset 0 0 0 1.5px rgba(124, 92, 255, 0.9), 0 0 0 4px rgba(124, 92, 255, 0.16); }
.check a { color: var(--cyan); border-bottom: 1px solid rgba(56, 225, 255, 0.35); }
.check.is-err { color: #ff9d9d; }
.check.is-err input { box-shadow: inset 0 0 0 1.5px rgba(255, 107, 107, 0.75); }
.check code { font-size: 12px; }

@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 18px; }
  .legal-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .legal-aside__label { display: none; }
  .legal-doc { padding: 26px 22px; }
  .footer__links { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .footer__legal { justify-content: flex-start; }
}

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

/* ---------- 骨架 ---------- */
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface)); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .test-hero { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .me-stats { margin-left: 0; width: 100%; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 17px; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .topbar__inner { gap: 12px; height: 60px; }
  .hero { padding: 42px 0 14px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero__sub { font-size: 15px; }
  .hero__stats { gap: 22px; margin-top: 34px; }
  .hero__stat b { font-size: 22px; }
  .section { padding: 36px 0; }
  .section--tight { padding: 22px 0; }
  .grid { gap: 14px; }
  /* 窄屏改为单列，避免 minmax 最小值把卡片横向撑破 */
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--1 { max-width: none; }
  .test-hero { padding: 26px 0 4px; gap: 24px; }
  .test-hero h1 { font-size: clamp(26px, 7vw, 34px); }
  .test-hero__icon { width: 64px; height: 64px; font-size: 30px; margin-bottom: 18px; }
  .quiz-wrap { padding: 22px 0; }
  .quiz-top { gap: 12px; margin-bottom: 18px; }
  .q-text { font-size: clamp(19px, 5.4vw, 24px); margin-bottom: 24px; }
  .opt { padding: 15px 16px; font-size: 15px; gap: 12px; }
  .quiz-foot { flex-wrap: wrap; gap: 10px; margin-top: 24px; }
  .quiz-hint { width: 100%; }
  .result-hero { padding: 30px 20px; margin-top: 20px; }
  .result-title { font-size: clamp(28px, 8.5vw, 40px); }
  .result-title--long { font-size: clamp(21px, 6.2vw, 28px); line-height: 1.3; }
  .result-emoji { font-size: 46px; }
  .result-actions { flex-direction: column; align-items: stretch; }
  .result-actions .btn { width: 100%; }
  .pay-shell { max-width: none; }
  .pay-card { padding: 24px 20px; }
  .pay-hero { padding: 24px 0 20px; }
  .me-hero { padding: 24px; }
  .me-stats { gap: 20px; }
  .rec { padding: 15px 16px; gap: 12px; }
  .rec__score { max-width: 44%; }
  .footer__inner { flex-direction: column; }
  .footer__meta { text-align: left; }
  .tcard { min-height: 0; padding: 20px; }
  .modal { margin: 8vh 16px 0; }
}
@media (max-width: 430px) {
  .brand__text em { display: none; }
  .btn { padding: 10px 16px; font-size: 13.5px; }
  .btn--lg { padding: 13px 20px; font-size: 14.5px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .user-pill__name { display: none; }
  .crumb { padding-top: 18px; }
  .section--feature .head h2 { font-size: 20px; }
}
/* ---------- 重点测试专区 ---------- */
.section--feature { padding: 44px 0 30px; }
.section--feature .head h2 { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 付费 / 兑换码页 ---------- */
.pay-shell { max-width: 560px; margin: 8px auto 0; padding-bottom: 40px; }
.pay-hero { text-align: center; padding: 36px 0 28px; }
.pay-hero__icon {
  width: 74px; height: 74px; border-radius: 24px; display: grid; place-items: center; margin: 0 auto 20px;
  font-size: 36px; background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow: 0 24px 54px -24px var(--c1);
}
.pay-hero h1 { font-size: clamp(25px, 4vw, 34px); letter-spacing: -0.03em; }
.pay-hero__sub { color: var(--text-2); font-size: 14.5px; margin-top: 12px; line-height: 1.7; }
.pay-price { margin-top: 22px; }
.pay-price b { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-price span { font-size: 14px; color: var(--text-3); margin-left: 2px; }
.pay-card { padding: 30px 28px; }
.pay-card h3 { font-size: 19px; margin-bottom: 4px; }
.pay-status { padding: 14px 16px; border-radius: var(--radius-xs); font-size: 14px; margin-bottom: 6px; }
.pay-status--ok { color: #9df1cb; background: rgba(61, 220, 151, 0.1); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.25); }
.pay-steps { display: flex; flex-direction: column; gap: 11px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.pay-step { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.pay-step span {
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #07070b; background: var(--grad-brand);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
