/* ============================================================================
   cat-iot 登录页样式 —— 蓝白简约风
   结构：背景光晕/点阵 → 顶栏 → 主体(左介绍 + 右登录卡) → 底栏服务状态
   ========================================================================== */

.page-login {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 46%, #eef5ff 100%);
}

/* ------------------------------------------------------------ 背景装饰 */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.glow-a {
  width: 620px;
  height: 620px;
  left: -180px;
  top: -240px;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.16), transparent 68%);
  animation: drift 30s ease-in-out infinite;
}

.glow-b {
  width: 560px;
  height: 560px;
  right: -160px;
  top: -120px;
  background: radial-gradient(circle, rgba(79, 151, 255, 0.15), transparent 68%);
  animation: drift 36s ease-in-out infinite reverse;
}

.glow-c {
  width: 700px;
  height: 500px;
  left: 32%;
  bottom: -280px;
  background: radial-gradient(circle, rgba(148, 194, 251, 0.2), transparent 70%);
  animation: drift 42s ease-in-out infinite;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(40px, 30px, 0) scale(1.1);
  }
}

/* 点阵：极淡，只做质感 */
.dots {
  position: absolute;
  inset: -10%;
  background-image: radial-gradient(circle, #c6d9f2 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 10%, transparent 78%);
  opacity: 0.55;
}

/* ------------------------------------------------------------ 顶栏 */

.topbar {
  position: relative;
  z-index: 2;
  flex: none;
  height: 68px;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
}

.brand-mini:hover {
  color: inherit;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px -4px rgba(22, 119, 255, 0.5);
}

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

.brand-mini-text strong {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.06em;
  color: var(--ink-1);
}

.brand-mini-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.topbar-tag {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  color: var(--ink-3);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 管理台服务上给个显眼的标记，别和客户面搞混 */
.topbar-tag--admin {
  border-color: var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}

/* ------------------------------------------------------------ 主体 */

.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(16px, 4vh, 48px) clamp(20px, 4vw, 48px) clamp(28px, 5vh, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

/* ------------------------------------------------------ 左侧介绍 */

.hero {
  min-width: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 5px 13px;
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  background: var(--blue-50);
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-600);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.05s forwards;
}

.hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}

.hero-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink-1);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.12s forwards;
}

.hero-desc {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.19s forwards;
}

/* --- 三步接入流程 --- */

.steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.26s forwards;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 20px;
  min-width: 0;
}

.step-badge {
  width: 30px;
  height: 30px;
  margin-bottom: 11px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-500);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  box-shadow: 0 5px 14px -5px rgba(22, 119, 255, 0.75);
}

.step strong {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-1);
}

.step em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* 连接线 + 流动的数据点 */
.step-flow {
  position: absolute;
  top: 14px;
  left: 40px;
  right: 10px;
  height: 2px;
  border-radius: 2px;
  background-image: linear-gradient(90deg, var(--blue-200) 0 5px, transparent 5px 10px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
}

.step-flow::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.16);
  animation: flowDot 2.6s ease-in-out infinite;
}

.step:nth-child(2) .step-flow::after {
  animation-delay: 0.55s;
}

@keyframes flowDot {
  0% {
    left: 0;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 8px);
    opacity: 0;
  }
}

/* --- 能力标签 --- */

.checks {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.33s forwards;
}

.checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-2);
}

.checks svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--blue-500);
}

/* ------------------------------------------------------ 右侧登录卡 */

.card-wrap {
  position: relative;
  width: 100%;
}

.card {
  position: relative;
  padding: 32px 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation: cardIn 0.75s var(--ease-out) 0.16s forwards;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.card.is-shaking {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

.card-head {
  margin-bottom: 24px;
}

.card-head h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ink-1);
}

.card-head p {
  margin: 7px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ------------------------------------------------------------ 表单 */

.field {
  position: relative;
  margin-bottom: 14px;
}

.field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--ink-4);
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

.field input {
  width: 100%;
  height: 56px;
  padding: 20px 46px 8px 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink-1);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.22s ease, background 0.2s ease;
}

.field input::placeholder {
  color: transparent;
}

.field input:hover {
  border-color: var(--blue-200);
}

.field input:focus {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-focus);
}

/* 图标在 input 之前，所以用 :focus-within（兼容性好过 :has） */
.field:focus-within .field-icon {
  color: var(--blue-500);
}

.field label {
  position: absolute;
  left: 44px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14.5px;
  color: var(--ink-4);
  pointer-events: none;
  transition: top 0.18s var(--ease-out), font-size 0.18s var(--ease-out), color 0.18s ease;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: 14px;
  transform: none;
  font-size: 11px;
  color: var(--blue-500);
}

.field input[aria-invalid="true"] {
  border-color: #f7b4ae;
  box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.1);
}

/* Chrome 自动填充会给白底加一层黄，这里盖回白 */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink-1);
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  caret-color: var(--ink-1);
  transition: background-color 9999s ease-in-out 0s;
}

.field-action {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-4);
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.field-action:hover {
  color: var(--blue-500);
  background: var(--blue-50);
}

.field-action svg {
  width: 18px;
  height: 18px;
}

.caps-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -4px 0 12px;
  font-size: 12px;
  color: var(--amber);
}

.caps-hint[hidden] {
  display: none;
}

.caps-hint svg {
  width: 14px;
  height: 14px;
}

/* 记住我 / 忘记密码 */
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 22px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
}

.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.check-box {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-2);
  border-radius: 5px;
  background: var(--surface);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.2s ease;
}

.check-box svg {
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.16s ease, transform 0.2s var(--ease-out);
}

.check input:checked + .check-box {
  background: var(--blue-500);
  border-color: var(--blue-500);
  box-shadow: 0 3px 10px -3px rgba(22, 119, 255, 0.6);
}

.check input:checked + .check-box svg {
  opacity: 1;
  transform: scale(1);
}

.check input:focus-visible + .check-box {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.link-muted {
  border: 0;
  background: none;
  padding: 0;
  font-size: 13px;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.18s ease;
}

.link-muted:hover {
  color: var(--blue-500);
}

/* 提交按钮 */
.btn {
  position: relative;
  width: 100%;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2b80ff 0%, #1268e6 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 22px -10px rgba(22, 119, 255, 0.8);
  transition: transform 0.16s var(--ease-out), box-shadow 0.24s ease, filter 0.18s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -10px rgba(22, 119, 255, 0.9);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
  filter: brightness(0.96);
}

.btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.2);
  opacity: 0.72;
}

.btn-label {
  transition: opacity 0.18s ease;
}

.btn-spinner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  opacity: 0;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn.is-loading .btn-label {
  opacity: 0;
}

.btn.is-loading .btn-spinner {
  opacity: 1;
}

.btn.is-done {
  background: linear-gradient(135deg, #34c77b 0%, #12b76a 100%);
}

/* 提示条 */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 16px;
  padding: 11px 14px;
  border: 1px solid #fbd0cc;
  border-radius: var(--radius-md);
  background: var(--red-soft);
  color: #b42318;
  font-size: 13px;
  line-height: 1.55;
  animation: alertIn 0.26s var(--ease-out) both;
}

.alert[hidden] {
  display: none;
}

.alert svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
}

.alert[data-tone="warn"] {
  border-color: #fadfb0;
  background: var(--amber-soft);
  color: #b25e09;
}

.alert[data-tone="info"] {
  border-color: var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-700);
}

.alert[data-tone="success"] {
  border-color: #b3e9cd;
  background: var(--green-soft);
  color: #067647;
}

@keyframes alertIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.card-tip {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* -------------------------------------------------- 注册入口 / 验证码 */

.card-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}

.link-register {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
  color: var(--blue-500);
}

.link-register svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s var(--ease-out);
}

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

/* 验证码：输入框 + 图片并排 */
.field-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 10px;
  align-items: stretch;
}

.field-captcha .field {
  margin-bottom: 0;
}

.field-captcha .field input {
  padding-left: 18px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.captcha-box {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  background: #f7fbff;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.18s ease;
}

.captcha-box:hover {
  border-color: var(--blue-200);
}

.captcha-box img {
  display: block;
  width: 100%;
  height: 56px;
  object-fit: cover;
}

.captcha-box.is-loading img {
  opacity: 0.35;
}

.captcha-box .captcha-hint {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2px 0;
  text-align: center;
  font-size: 10px;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.04em;
}

/* 密码强度条 */
.pw-meter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 14px;
}

.pw-bars {
  display: flex;
  gap: 4px;
  flex: 1;
}

.pw-bars i {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.22s ease;
}

.pw-meter[data-score="1"] .pw-bars i:nth-child(-n + 1),
.pw-meter[data-score="2"] .pw-bars i:nth-child(-n + 2) {
  background: var(--amber);
}

.pw-meter[data-score="3"] .pw-bars i:nth-child(-n + 3) {
  background: #4f97ff;
}

.pw-meter[data-score="4"] .pw-bars i {
  background: var(--green);
}

.pw-label {
  flex: none;
  font-size: 11.5px;
  color: var(--ink-3);
  min-width: 3.4em;
  text-align: right;
}

.pw-hint {
  margin: -8px 0 14px;
  font-size: 11.5px;
  color: var(--ink-4);
}

/* 提交成功后的结果面板 */
.result-panel {
  text-align: center;
  padding: 6px 0 4px;
  animation: fadeUp 0.4s var(--ease-out) both;
}

.result-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.result-icon svg {
  width: 26px;
  height: 26px;
}

.result-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-1);
}

.result-panel p {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
}

.result-panel .result-meta {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: left;
}

.result-panel .result-meta b {
  color: var(--ink-1);
  font-weight: 600;
}

/* ------------------------------------------------ 结果页的 QQ 群卡片 */

.qq-card {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #f2f8ff, #e9f3ff);
  text-align: left;
}

.qq-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}

.qq-badge {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #2b80ff, #1268e6);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.qq-head strong {
  font-size: 14px;
  color: var(--ink-1);
}

.qq-desc {
  margin: 0 0 11px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.qq-group {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
}

/* 二维码 + 群号 左右排布 */
.qq-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qq-qr-link {
  flex: none;
  display: block;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  line-height: 0;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.qq-qr-link:hover {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.qq-qr {
  display: block;
  width: 148px;
  height: 148px;
  border-radius: 6px;
}

.qq-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.qq-tip {
  font-size: 11.5px;
  color: var(--ink-3);
}

@media (max-width: 420px) {
  .qq-body {
    flex-direction: column;
    align-items: stretch;
  }

  .qq-qr-link {
    align-self: center;
  }
}

.qq-label {
  font-size: 11.5px;
  color: var(--ink-3);
  flex: none;
}

.qq-number {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  user-select: all;
}

.qq-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.qq-copy svg {
  width: 13px;
  height: 13px;
}

.qq-copy:hover {
  border-color: var(--blue-200);
  color: var(--blue-600);
  background: var(--blue-50);
}

.qq-copy.is-done {
  border-color: #b3e9cd;
  color: #067647;
  background: var(--green-soft);
}

/* ------------------------------------------------------------ 底栏 */

.footbar {
  position: relative;
  z-index: 2;
  flex: none;
  padding: 0 clamp(20px, 4vw, 48px) 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  color: var(--ink-2);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.pill.is-up {
  border-color: #c5ead8;
}

.pill.is-down {
  border-color: #fbd0cc;
  color: #b42318;
}

.pill .pill-ms {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-4);
}

.foot-meta {
  font-size: 11px;
  color: var(--ink-4);
}

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

@media (max-width: 960px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
    max-width: 470px;
    gap: 32px;
    padding-top: 12px;
    align-items: start;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-desc br {
    display: none;
  }

  .steps,
  .checks {
    max-width: none;
  }

  .footbar {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .topbar {
    height: 60px;
  }

  .stage {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card {
    padding: 26px 20px 22px;
  }

  .hero-title {
    font-size: 26px;
  }

  /* 窄屏改成竖排，并去掉横向连接线 */
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 26px;
  }

  .step {
    padding-right: 0;
    padding-left: 42px;
    gap: 2px;
  }

  .step-badge {
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
  }

  .step-flow {
    display: none;
  }
}
