/* ========== 设计变量 ========== */
:root {
  --bg: #07080d;
  --bg-2: #0b0d15;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --panel-solid: #10131d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceef6;
  --muted: #8d93a8;
  --faint: #5d6278;
  --accent: #8b7bff;
  --accent-2: #2dd4f0;
  --grad: linear-gradient(120deg, #a594ff 0%, #6d8bff 45%, #2dd4f0 100%);
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Code', Consolas, ui-monospace, 'SFMono-Regular', Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
code, pre, .mono { font-family: var(--mono); }
::selection { background: rgba(139, 123, 255, 0.35); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.hidden { display: none !important; }

/* ========== 通用组件 ========== */
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 16px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad); color: #0a0b12; font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 20px -6px rgba(109, 139, 255, 0.8);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--panel-2); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s; white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--grad); border: 0; color: #090a12; box-shadow: 0 10px 30px -10px rgba(109, 139, 255, 0.9); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.08); box-shadow: 0 14px 36px -10px rgba(109, 139, 255, 1); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--panel-2); border-color: transparent; }
.btn-danger { color: var(--err); }
.btn-danger:hover { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.35); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn-icon { width: 32px; padding: 0; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 22px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--muted); white-space: nowrap;
}
.badge.ok { color: var(--ok); border-color: rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.08); }
.badge.warn { color: var(--warn); border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.08); }
.badge.err { color: var(--err); border-color: rgba(248, 113, 113, 0.3); background: rgba(248, 113, 113, 0.08); }
.badge.accent { color: #b9afff; border-color: rgba(139, 123, 255, 0.35); background: rgba(139, 123, 255, 0.1); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

.input, .select, textarea.input {
  width: 100%; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.25); outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.input { height: auto; min-height: 90px; padding: 10px 14px; resize: vertical; }
.input:focus, .select:focus { border-color: rgba(139, 123, 255, 0.7); box-shadow: 0 0 0 4px rgba(139, 123, 255, 0.15); }
.input::placeholder { color: var(--faint); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.select option { background: var(--panel-solid); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field .hint { font-size: 12px; color: var(--faint); }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: var(--muted); }
.check input { accent-color: var(--accent); width: 16px; height: 16px; }

.code {
  position: relative; background: #05060a; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; font-family: var(--mono); font-size: 13px; line-height: 1.7; overflow-x: auto; color: #c9cee0; white-space: pre;
}
.code .k { color: #c4b5fd; } .code .s { color: #7dd3fc; } .code .c { color: #5d6278; } .code .n { color: #fca5a5; } .code .g { color: #86efac; }
.copy-btn { position: absolute; top: 10px; right: 10px; }

.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: 0.04em; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background 0.12s; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.table .num { font-variant-numeric: tabular-nums; text-align: right; }
.table th.num { text-align: right; }
.empty { padding: 48px 20px; text-align: center; color: var(--faint); }

/* 提示消息 */
#toasts { position: fixed; top: 18px; right: 18px; z-index: 1000; display: grid; gap: 10px; }
.toast {
  min-width: 240px; max-width: 380px; padding: 12px 16px; border-radius: 12px; background: #151826; border: 1px solid var(--line-2);
  box-shadow: var(--shadow); font-size: 14px; animation: toast-in 0.25s ease; display: flex; gap: 10px; align-items: flex-start;
}
.toast.ok { border-color: rgba(52, 211, 153, 0.4); }
.toast.err { border-color: rgba(248, 113, 113, 0.45); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(3, 4, 8, 0.7); backdrop-filter: blur(6px); z-index: 900; display: grid; place-items: center; padding: 16px; animation: fade 0.2s; }
.modal { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #0f121c; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); }
.modal-head { padding: 20px 24px 6px; display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { margin: 0; font-size: 18px; }
.modal-body { padding: 14px 24px; }
.modal-foot { padding: 6px 24px 22px; display: flex; justify-content: flex-end; gap: 10px; }
@keyframes fade { from { opacity: 0; } }

.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: currentColor; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ========== 首页 ========== */
.bg-glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-glow::before, .bg-glow::after { content: ''; position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; }
.bg-glow::before { width: 720px; height: 720px; left: -200px; top: -300px; background: radial-gradient(circle, rgba(124, 92, 255, 0.55), transparent 65%); }
.bg-glow::after { width: 640px; height: 640px; right: -220px; top: 80px; background: radial-gradient(circle, rgba(45, 212, 240, 0.32), transparent 65%); }
.bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; position: relative; z-index: 1; }

.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(7, 8, 13, 0.6); border-bottom: 1px solid transparent; transition: border-color 0.2s, background 0.2s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(7, 8, 13, 0.82); }
.nav-inner { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 7px 13px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--text); background: var(--panel-2); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

.hero { position: relative; padding: 84px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.08; letter-spacing: -0.035em; margin: 18px 0 20px; font-weight: 800; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .v { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-meta .l { font-size: 13px; color: var(--faint); }

.term { background: rgba(8, 9, 15, 0.85); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 40px 100px -30px rgba(80, 70, 200, 0.45), var(--shadow); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2e3d; }
.term-bar span { margin-left: 8px; font-size: 12px; color: var(--faint); font-family: var(--mono); }
.term-body { padding: 18px 20px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.75; min-height: 300px; white-space: pre-wrap; word-break: break-all; color: #c9cee0; }
.term-out { color: var(--text); }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--accent-2); vertical-align: -3px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.section { padding: 84px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; line-height: 1.15; margin: 12px 0 14px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); transition: border-color 0.2s, transform 0.2s; }
.feature:hover { border-color: rgba(139, 123, 255, 0.4); transform: translateY(-2px); }
.feature .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(139, 123, 255, 0.12); border: 1px solid rgba(139, 123, 255, 0.25); color: #b9afff; margin-bottom: 18px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); position: relative; }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent-2); }
.step h4 { margin: 12px 0 6px; font-size: 16px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

.models-toolbar { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; }
.models-toolbar .input { max-width: 320px; }
.model-name { font-family: var(--mono); font-size: 13.5px; font-weight: 600; }
.price { font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 13px; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.tab { padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; border: 0; background: transparent; }
.tab.active { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

.quick { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
.kv { display: grid; gap: 12px; }
.kv-item { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.kv-item .l { font-size: 12px; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.kv-item .v { font-family: var(--mono); font-size: 14px; margin-top: 4px; display: flex; justify-content: space-between; gap: 10px; align-items: center; word-break: break-all; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--faint); font-size: 20px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.cta-band { margin: 20px 0 0; padding: 56px; border-radius: 22px; text-align: center; border: 1px solid rgba(139, 123, 255, 0.3); background: radial-gradient(ellipse at top, rgba(124, 92, 255, 0.25), transparent 70%), var(--panel); }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; letter-spacing: -0.03em; }
.cta-band p { color: var(--muted); margin: 0 0 28px; }

.footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--faint); font-size: 13px; margin-top: 60px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ========== 控制台 ========== */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; overflow: hidden; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); background: radial-gradient(ellipse at 20% 10%, rgba(124, 92, 255, 0.35), transparent 60%), radial-gradient(ellipse at 90% 90%, rgba(45, 212, 240, 0.22), transparent 55%), var(--bg-2); }
.auth-art h2 { font-size: 40px; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 16px; max-width: 460px; }
.auth-art p { color: var(--muted); max-width: 420px; margin: 0; }
.auth-points { display: grid; gap: 12px; margin-top: 32px; }
.auth-points div { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.auth-points svg { color: var(--ok); flex: none; }
.auth-form { display: grid; place-items: center; padding: 40px 20px; }
.auth-box { width: min(400px, 100%); }
.auth-box h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -0.02em; }
.auth-switch { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.auth-switch a { color: #b9afff; font-weight: 600; cursor: pointer; }

.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); background: var(--bg-2); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.side .logo { padding: 6px 10px 18px; }
.side-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding: 16px 12px 6px; }
.side a.item { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 500; transition: background 0.12s, color 0.12s; }
.side a.item:hover { background: var(--panel-2); color: var(--text); }
.side a.item.active { background: rgba(139, 123, 255, 0.12); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.side a.item svg { width: 18px; height: 18px; flex: none; opacity: 0.9; }
.side-foot { margin-top: auto; padding-top: 14px; }
.side-user { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, rgba(165,148,255,.35), rgba(45,212,240,.25)); border: 1px solid var(--line-2); flex: none; }

.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(7, 8, 13, 0.8); backdrop-filter: blur(12px); }
.topbar h1 { font-size: 17px; margin: 0; font-weight: 650; }
.menu-btn { display: none; }
.content { padding: 28px; max-width: 1240px; }
.notice { padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(139, 123, 255, 0.3); background: rgba(139, 123, 255, 0.08); margin-bottom: 20px; font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); position: relative; overflow: hidden; }
.stat .l { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stat .v { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat .s { font-size: 12px; color: var(--faint); margin-top: 2px; }
.stat.hero-stat { background: radial-gradient(ellipse at 100% 0%, rgba(124, 92, 255, 0.3), transparent 60%), var(--panel); border-color: rgba(139, 123, 255, 0.3); }

.grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h3 { margin: 0; font-size: 15px; font-weight: 650; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .input, .toolbar .select { height: 38px; width: auto; min-width: 200px; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.chart { height: 190px; display: flex; align-items: flex-end; gap: 6px; padding: 18px 22px 10px; }
.chart .bar { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #8b7bff, rgba(109, 139, 255, 0.35)); min-height: 3px; position: relative; transition: filter 0.15s; }
.chart .bar:hover { filter: brightness(1.3); }
.chart .bar:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 5px 9px; border-radius: 7px; background: #1a1d2b; border: 1px solid var(--line-2); font-size: 12px; white-space: nowrap; z-index: 2; }
.chart-x { display: flex; gap: 6px; padding: 0 22px 16px; font-size: 11px; color: var(--faint); }
.chart-x span { flex: 1; text-align: center; }

.key-cell { display: flex; align-items: center; gap: 8px; }
.key-cell code { font-size: 13px; color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid, .quick, .grid-2 { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .nav-links { display: none; }
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; z-index: 100; width: 260px; transform: translateX(-100%); transition: transform 0.25s; }
  .side.open { transform: none; box-shadow: var(--shadow); }
  .menu-btn { display: inline-flex; }
  .content { padding: 18px 16px; }
  .topbar { padding: 0 16px; }
}
@media (max-width: 600px) {
  .features, .steps, .stats { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .cta-band { padding: 36px 20px; }
  .nav-cta .btn-ghost { display: none; }
  .toolbar .input, .toolbar .select { min-width: 0; width: 100%; }
}
