/* ============================================================
   Helmd Hardening — 视觉层样式
   深色玻璃拟态 + 极光渐变 + 粒子背景
   仅负责视觉；交互逻辑在 app.js / effects.js
   ============================================================ */

:root {
  --bg-0: #05060c;
  --bg-1: #080a14;
  --ink: #eef2ff;
  --ink-2: #b7c0d8;
  --ink-3: #7c87a3;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --cyan: #6ce9ff;
  --violet: #a78bfa;
  --emerald: #4ade80;
  --amber: #fbbf24;
  --rose: #fb7185;
  --grad-main: linear-gradient(135deg, #6ce9ff 0%, #a78bfa 55%, #f0abfc 100%);
  --grad-soft: linear-gradient(135deg, rgba(108, 233, 255, .18), rgba(167, 139, 250, .18));
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .9);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, .06), 0 24px 60px -28px rgba(108, 233, 255, .35);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: .01em;
}

/* ---------------- 背景层 ---------------- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(1200px 800px at 50% -10%, #0b1024 0%, var(--bg-0) 60%); }

.aurora {
  position: absolute;
  filter: blur(90px);
  opacity: .55;
  border-radius: 50%;
  will-change: transform;
}
.aurora-1 {
  width: 62vw; height: 62vw; left: -14vw; top: -22vw;
  background: radial-gradient(circle at 30% 30%, rgba(108, 233, 255, .55), transparent 62%);
  animation: drift1 26s ease-in-out infinite;
}
.aurora-2 {
  width: 58vw; height: 58vw; right: -12vw; top: -8vw;
  background: radial-gradient(circle at 60% 40%, rgba(167, 139, 250, .55), transparent 62%);
  animation: drift2 32s ease-in-out infinite;
}
.aurora-3 {
  width: 72vw; height: 46vw; left: 18vw; bottom: -28vw;
  background: radial-gradient(circle at 50% 50%, rgba(240, 171, 252, .28), transparent 65%);
  animation: drift3 38s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1);} 50% { transform: translate3d(6vw,4vh,0) scale(1.08);} }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1.05);} 50% { transform: translate3d(-5vw,6vh,0) scale(.95);} }
@keyframes drift3 { 0%,100% { transform: translate3d(0,0,0) scale(1);} 50% { transform: translate3d(4vw,-5vh,0) scale(1.1);} }

#particles { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  opacity: .5;
}
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(3,4,9,.78) 100%);
}

.cursor-glow {
  position: fixed; width: 460px; height: 460px; left: 0; top: 0; z-index: 1;
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,233,255,.10), transparent 62%);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0; transition: opacity .4s ease;
  will-change: transform;
}

/* ---------------- 顶栏 ---------------- */
.top {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(to bottom, rgba(5,6,12,.82), rgba(5,6,12,.42));
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: 1240px; margin: 0 auto; padding: 14px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: var(--cyan);
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 24px -12px rgba(108,233,255,.6);
}
.logo svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 15px; font-weight: 650; letter-spacing: .14em; }
.brand-name em { font-style: normal; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-size: 11.5px; color: var(--ink-3); letter-spacing: .06em; }

.top-nav { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--ink-2);
  padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--glass);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }

.status {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--glass); color: var(--ink-2);
  transition: all .3s ease;
}
.status.ok { color: #052e16; background: linear-gradient(135deg, #4ade80, #22d3ee); border-color: transparent; font-weight: 620; }

/* ---------------- 主容器 ---------------- */
main { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 34px 26px 90px; }

/* ---------------- Hero ---------------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px; align-items: center; padding: 40px 0 20px;
}
.tagline {
  display: inline-block; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(108,233,255,.28); background: rgba(108,233,255,.07);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.1; margin: 0 0 18px;
  font-weight: 720; letter-spacing: -.02em;
}
.hero-title .grad { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .grad-2 {
  background: linear-gradient(135deg, #4ade80 0%, #6ce9ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; max-width: 52ch; margin: 0 0 26px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 30px; max-width: 520px; }
.stat {
  padding: 14px 12px; border-radius: 14px; text-align: center;
  border: 1px solid var(--line); background: var(--glass);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, background .35s;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(108,233,255,.35); background: rgba(108,233,255,.06); }
.stat b { display: block; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }

/* 轨道动画 */
.hero-visual { display: grid; place-items: center; min-height: 420px; }
.orbit { position: relative; width: min(420px, 42vw); aspect-ratio: 1; display: grid; place-items: center; }
.ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
  animation: spin 26s linear infinite;
}
.ring-1 { inset: 0; border-top-color: rgba(108,233,255,.75); border-right-color: rgba(108,233,255,.18); }
.ring-2 { inset: 12%; border-top-color: rgba(167,139,250,.7); animation-duration: 34s; animation-direction: reverse; }
.ring-3 { inset: 24%; border-top-color: rgba(74,222,128,.6); animation-duration: 44s; }
@keyframes spin { to { transform: rotate(360deg); } }

.core {
  width: 34%; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 26px;
  background: radial-gradient(circle at 30% 25%, rgba(108,233,255,.16), rgba(167,139,250,.10) 55%, transparent 70%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,.14);
  animation: float 7s ease-in-out infinite;
}
.core svg { width: 62%; height: 62%; }
@keyframes float { 0%,100% { transform: translateY(-6px);} 50% { transform: translateY(6px);} }

.chip {
  position: absolute; font-size: 10.5px; letter-spacing: .16em; color: var(--ink-2);
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(8,10,20,.72); backdrop-filter: blur(8px);
  animation: bob 6s ease-in-out infinite;
}
.chip-1 { top: 6%; left: 14%; animation-delay: 0s; }
.chip-2 { top: 22%; right: 2%; animation-delay: .8s; }
.chip-3 { bottom: 20%; left: 2%; animation-delay: 1.6s; }
.chip-4 { bottom: 8%; right: 12%; animation-delay: 2.4s; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* ---------------- 卡片 ---------------- */
.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(8, 10, 20, .66);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(600px 200px at 12% -20%, rgba(108,233,255,.14), transparent 70%);
  opacity: .9;
}
.card > * { position: relative; }

.login-card { max-width: 560px; }

.card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.step {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--cyan);
  background: rgba(108,233,255,.10); border: 1px solid rgba(108,233,255,.25);
}
.card h2 { margin: 0 0 4px; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.hint { margin: 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.mono { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

/* ---------------- 表单 ---------------- */
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.field { position: relative; flex: 1 1 240px; }
.field input {
  width: 100%; padding: 16px 14px 10px; font-size: 15px; color: var(--ink);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  outline: none; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field label {
  position: absolute; left: 14px; top: 15px; font-size: 14px; color: var(--ink-3);
  pointer-events: none; transition: all .2s ease; transform-origin: left top;
}
.field input:focus { border-color: rgba(108,233,255,.55); box-shadow: 0 0 0 4px rgba(108,233,255,.10); background: rgba(108,233,255,.05); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label { top: 7px; font-size: 10.5px; letter-spacing: .08em; color: var(--cyan); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 14px; font-weight: 620; color: #04070f; cursor: pointer;
  background: var(--grad-main);
  box-shadow: 0 12px 30px -14px rgba(108,233,255,.85), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .25s, filter .25s;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 40px -16px rgba(108,233,255,.95), inset 0 1px 0 rgba(255,255,255,.4); }
.btn:active { transform: translateY(0) scale(.99); }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn-lg { padding: 15px 26px; font-size: 15px; border-radius: 14px; }

.ghost {
  padding: 8px 14px; border-radius: 10px; cursor: pointer;
  font-size: 12.5px; color: var(--ink-2);
  background: var(--glass); border: 1px solid var(--line-2);
  transition: all .25s ease;
}
.ghost:hover { color: var(--ink); border-color: rgba(108,233,255,.4); background: rgba(108,233,255,.08); transform: translateY(-1px); }
.ghost-sm { padding: 6px 12px; font-size: 12px; margin-left: auto; }

/* ---------------- 上传区 ---------------- */
.drop-zone {
  position: relative; border-radius: 16px; padding: 30px 20px; text-align: center;
  border: 1.5px dashed rgba(255,255,255,.16);
  background: radial-gradient(400px 160px at 50% 0%, rgba(108,233,255,.08), transparent 70%);
  transition: border-color .3s, background .3s, transform .3s;
  cursor: pointer;
}
.drop-zone:hover, .drop-zone.drag { border-color: rgba(108,233,255,.6); background: radial-gradient(400px 180px at 50% 0%, rgba(108,233,255,.16), transparent 72%); transform: translateY(-2px); }
.drop-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-inner svg { color: var(--cyan); margin-bottom: 10px; }
.drop-title { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.drop-sub { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.drop-zone.has-file { border-style: solid; border-color: rgba(74,222,128,.55); background: radial-gradient(420px 180px at 50% 0%, rgba(74,222,128,.14), transparent 72%); }
.drop-zone.has-file .drop-title { color: #86efac; }

/* ---------------- 权属确认 ---------------- */
.rights {
  display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 6px;
  padding: 14px 16px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line); background: var(--glass);
  font-size: 13px; color: var(--ink-2); line-height: 1.6;
  transition: border-color .25s, background .25s;
}
.rights:hover { border-color: rgba(108,233,255,.35); background: rgba(108,233,255,.05); }
.rights input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-mark {
  flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid var(--line-2); background: rgba(255,255,255,.04);
  display: grid; place-items: center; transition: all .2s ease;
}
.checkbox-mark::after {
  content: ""; width: 10px; height: 6px; border-left: 2px solid #04070f; border-bottom: 2px solid #04070f;
  transform: rotate(-45deg) scale(.6); opacity: 0; transition: all .2s ease;
}
.rights input:checked + .checkbox-mark { background: var(--grad-main); border-color: transparent; box-shadow: 0 6px 18px -8px rgba(108,233,255,.9); }
.rights input:checked + .checkbox-mark::after { opacity: 1; transform: rotate(-45deg) scale(1); }

/* ---------------- 工具条 ---------------- */
.toolbar { display: flex; align-items: center; gap: 10px; margin: 18px 0 12px; flex-wrap: wrap; }
.sel-count { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--cyan); }

/* ---------------- 能力清单 ---------------- */
.catalogue { display: grid; gap: 16px; }
.group {
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  background: rgba(255,255,255,.02);
}
.group h3 {
  margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.group .item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 12px; margin: 4px 6px 4px 0; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,.025);
  font-size: 13px; color: var(--ink-2); cursor: pointer;
  transition: all .2s ease;
}
.group .item:hover { border-color: rgba(108,233,255,.45); color: var(--ink); transform: translateY(-1px); background: rgba(108,233,255,.07); }
.group .item input { accent-color: var(--cyan); width: 15px; height: 15px; cursor: pointer; }
.group .item:has(input:checked) {
  border-color: rgba(108,233,255,.55);
  background: linear-gradient(135deg, rgba(108,233,255,.16), rgba(167,139,250,.14));
  color: #fff; box-shadow: 0 8px 22px -14px rgba(108,233,255,.9);
}
.group .item .no { font-family: var(--mono); font-size: 11px; color: var(--ink-3); min-width: 16px; }
.group .item:has(input:checked) .no { color: var(--cyan); }

.conflicts { margin-top: 12px; font-size: 12.5px; color: var(--amber); white-space: pre-wrap; line-height: 1.7; }

.submit-row { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }

/* ---------------- 消息 ---------------- */
.msg { font-size: 13px; color: var(--ink-3); line-height: 1.6; min-height: 20px; }
.msg.ok { color: var(--emerald); }
.msg.bad { color: var(--rose); }

/* ---------------- 任务列表 ---------------- */
.jobs { display: grid; gap: 10px; max-height: 520px; overflow: auto; padding-right: 4px; }
.jobs::-webkit-scrollbar { width: 8px; }
.jobs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 8px; }
.job {
  border: 1px solid var(--line); border-radius: 13px; padding: 13px 15px;
  background: rgba(255,255,255,.025); cursor: pointer;
  transition: all .25s ease; position: relative; overflow: hidden;
}
.job::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-main); opacity: 0; transition: opacity .25s;
}
.job:hover { border-color: rgba(108,233,255,.4); background: rgba(108,233,255,.06); transform: translateX(2px); }
.job:hover::before { opacity: 1; }
.job .meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.job .meta + .meta { margin-top: 6px; font-size: 11.5px; color: var(--ink-3); }

.badge {
  font-size: 11px; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em;
  border: 1px solid var(--line-2); color: var(--ink-2); background: rgba(255,255,255,.05);
  text-transform: lowercase;
}
.badge.succeeded { color: #052e16; background: linear-gradient(135deg, #4ade80, #22d3ee); border-color: transparent; font-weight: 650; }
.badge.running, .badge.queued { color: #0b1024; background: linear-gradient(135deg, #fbbf24, #fda4af); border-color: transparent; font-weight: 650; }
.badge.failed { color: #fff; background: linear-gradient(135deg, #fb7185, #f43f5e); border-color: transparent; font-weight: 650; }

/* ---------------- 详情 ---------------- */
.card-detail { margin-top: 22px; }
#detail .row { gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
#detail a {
  color: var(--cyan); text-decoration: none; font-size: 13px;
  padding: 7px 12px; border-radius: 9px; border: 1px solid rgba(108,233,255,.3);
  background: rgba(108,233,255,.07); transition: all .2s ease;
}
#detail a:hover { background: rgba(108,233,255,.16); transform: translateY(-1px); }

.log-wrap { margin-top: 16px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: rgba(3,5,12,.72); }
.log-title {
  padding: 10px 14px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.log {
  margin: 0; padding: 14px 16px; max-height: 340px; overflow: auto;
  font-family: var(--mono); font-size: 12px; line-height: 1.75; color: #9fb0d0;
  white-space: pre-wrap; word-break: break-word;
}
.log::-webkit-scrollbar { width: 8px; }
.log::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 8px; }

/* ---------------- 布局 ---------------- */
.grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 22px; align-items: start; }

.foot {
  position: relative; z-index: 2; text-align: center; padding: 26px 20px 40px;
  font-size: 11.5px; color: var(--ink-3); letter-spacing: .05em;
}
.foot-sep { opacity: .4; margin: 0 6px; }

/* ---------------- 入场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 26px; padding-top: 22px; }
  .hero-visual { display: none; }
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .top-inner { padding: 12px 16px; }
  main { padding: 22px 16px 70px; }
  .card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 窄屏顶栏：胶囊不换行，信息胶囊隐藏，只留品牌与状态 */
.pill, .status { white-space: nowrap; }
@media (max-width: 720px) {
  .top-nav .pill { display: none; }
  .top-nav { gap: 8px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 14px; letter-spacing: .10em; }
  .status { font-size: 11.5px; padding: 5px 10px; }
  .hero-title { font-size: clamp(28px, 8.6vw, 40px); }
  .hero-sub { font-size: 14px; }
  .stats { gap: 10px; }
  .stat b { font-size: 21px; }
  .card { padding: 18px; border-radius: 16px; }
  .tagline { font-size: 10.5px; letter-spacing: .18em; }
  .rights { font-size: 12.5px; }
  .group .item { font-size: 12.5px; padding: 7px 10px; }
  .btn-lg { width: 100%; }
  .submit-row { gap: 10px; }
}