:root {
  --bg: #0a0c11;
  --bg-2: #0d1119;
  --panel: #121826;
  --panel-2: #17202f;
  --line: #222c40;
  --line-soft: #1a2233;
  --text: #e9edf6;
  --muted: #8d97ab;
  --muted-2: #69748a;
  --gold: #e2b45f;
  --gold-2: #b8862f;
  --teal: #45c8b3;
  --up: #e0575a;
  --down: #3fb47f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  --font: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(1200px 600px at 18% -10%, rgba(226, 180, 95, 0.09), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(69, 200, 179, 0.07), transparent 55%), var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 17, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  color: #1a1305;
  background: linear-gradient(145deg, #f0cd85, #c8913a);
  box-shadow: 0 0 0 1px rgba(226, 180, 95, 0.35), 0 6px 18px -8px rgba(226, 180, 95, 0.8);
}

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

.brand-text strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  font-family: var(--mono);
}

.nav {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  transition: 0.16s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav a.active {
  color: var(--gold);
  background: rgba(226, 180, 95, 0.1);
}

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

.patch-chip {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(226, 180, 95, 0.08);
  border: 1px solid rgba(226, 180, 95, 0.22);
  white-space: nowrap;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--gold-2);
  color: var(--gold);
}

/* ---------- 布局 ---------- */
.app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 22px 60px;
  min-height: 62vh;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0 20px;
  flex-wrap: wrap;
}

.page-head h1 {
  font-size: 26px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.crumbs {
  font-size: 12.5px;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.crumbs a:hover {
  color: var(--gold);
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-pad {
  padding: 18px 20px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section {
  margin-top: 26px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 17px;
  margin: 0;
  letter-spacing: 0.01em;
}

.section-head h2 small {
  font-weight: 400;
  color: var(--muted-2);
  font-size: 12px;
  margin-left: 8px;
}

.section-head a {
  font-size: 12.5px;
  color: var(--muted);
}

.section-head a:hover {
  color: var(--gold);
}

/* ---------- 首页 Hero ---------- */
.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(800px 300px at 85% 20%, rgba(226, 180, 95, 0.16), transparent 60%),
    radial-gradient(500px 260px at 10% 100%, rgba(69, 200, 179, 0.12), transparent 60%),
    linear-gradient(120deg, #141b29, #0e131d);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(600px 300px at 70% 40%, #000, transparent 75%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  font-size: 13px;
  cursor: pointer;
  transition: 0.16s;
}

.btn:hover {
  border-color: var(--gold-2);
  color: var(--gold);
}

.btn-primary {
  background: linear-gradient(145deg, #f0cd85, #cf9a3f);
  color: #1a1305;
  border: none;
  font-weight: 600;
}

.btn-primary:hover {
  color: #1a1305;
  filter: brightness(1.05);
}

.hero-side {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 22px;
  padding-left: 8px;
}

.hero-metric {
  text-align: right;
}

.hero-metric b {
  display: block;
  font-family: var(--mono);
  font-size: 24px;
  color: var(--gold);
  line-height: 1.2;
}

.hero-metric span {
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ---------- 统计块 ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.stat {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
}

.stat b {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1.3;
}

.stat span {
  color: var(--muted-2);
  font-size: 11.5px;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 720px;
}

thead th {
  text-align: left;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

thead th.no-sort {
  cursor: default;
}

thead th .arrow {
  opacity: 0.45;
  font-size: 10px;
  margin-left: 4px;
}

tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.rank {
  font-family: var(--mono);
  color: var(--muted-2);
  font-size: 12px;
  width: 38px;
}

.cell-hero {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cell-hero img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #0b0e14;
}

.cell-hero .nm {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cell-hero .nm b {
  font-weight: 600;
  font-size: 13.5px;
}

.cell-hero .nm span {
  font-size: 11px;
  color: var(--muted-2);
}

.num {
  font-family: var(--mono);
  font-size: 12.5px;
}

.up {
  color: var(--up);
}

.down {
  color: var(--down);
}

.muted {
  color: var(--muted-2);
}

/* ---------- 分档徽标 ---------- */
.tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
}

/* 目录里有、统计还没跟上：明确标「待统计」，不要伪装成 T5 */
.tier-pending {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-family: inherit;
  font-weight: 500;
}

.tier-1 {
  color: #1b1305;
  background: linear-gradient(145deg, #f4d795, #d0a044);
}

.tier-2 {
  color: #cfe6e1;
  background: rgba(69, 200, 179, 0.16);
  border-color: rgba(69, 200, 179, 0.32);
}

.tier-3 {
  color: #c8d2e6;
  background: rgba(140, 160, 200, 0.14);
  border-color: rgba(140, 160, 200, 0.26);
}

.tier-4 {
  color: #9aa5bb;
  background: rgba(120, 132, 155, 0.1);
  border-color: rgba(120, 132, 155, 0.2);
}

.tier-5 {
  color: #7c8698;
  background: rgba(90, 100, 118, 0.1);
  border-color: rgba(90, 100, 118, 0.2);
}

/* ---------- 筛选栏 ---------- */
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.input {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  min-width: 200px;
}

.input:focus {
  border-color: var(--gold-2);
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  cursor: pointer;
  transition: 0.14s;
}

.chip:hover {
  color: var(--text);
  border-color: var(--muted-2);
}

.chip.on {
  color: var(--gold);
  border-color: rgba(226, 180, 95, 0.4);
  background: rgba(226, 180, 95, 0.1);
}

/* ---------- 英雄卡片 ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
}

.hero-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: 0.18s;
}

.hero-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-2);
}

.hero-card .thumb {
  aspect-ratio: 1/1;
  background: #0b0e14;
  overflow: hidden;
}

.hero-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card .meta {
  padding: 9px 10px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.hero-card .meta b {
  font-size: 13px;
  font-weight: 600;
}

.hero-card .wr {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(8, 10, 15, 0.82);
  border: 1px solid var(--line);
  color: var(--gold);
}

/* ---------- 海克斯卡片 ---------- */
.aug-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 12px;
}

.aug-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: 0.16s;
}

.aug-card:hover {
  border-color: var(--gold-2);
  transform: translateY(-1px);
}

.aug-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b0e14;
  flex-shrink: 0;
  object-fit: cover;
}

.aug-body {
  min-width: 0;
  flex: 1;
}

.aug-body .top {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: space-between;
}

.aug-body .nm {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aug-body .desc {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.aug-stats {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.aug-stats b {
  color: var(--text);
  font-weight: 600;
}

.rarity {
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.rarity-棱彩 {
  color: #d8a7ff;
  border-color: rgba(190, 130, 255, 0.35);
  background: rgba(190, 130, 255, 0.08);
}

.rarity-黄金 {
  color: var(--gold);
  border-color: rgba(226, 180, 95, 0.35);
  background: rgba(226, 180, 95, 0.08);
}

.rarity-白银 {
  color: #b9c6d8;
  border-color: rgba(185, 198, 216, 0.3);
  background: rgba(185, 198, 216, 0.07);
}

/* ---------- 英雄详情 ---------- */
.hero-header {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 210px;
  display: flex;
  align-items: flex-end;
}

.hero-header .splash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.9);
}

.hero-header .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 15, 0.95) 8%, rgba(8, 10, 15, 0.72) 45%, rgba(8, 10, 15, 0.25) 100%),
    linear-gradient(0deg, rgba(8, 10, 15, 0.9), transparent 60%);
}

.hero-header .inner {
  position: relative;
  z-index: 1;
  padding: 24px 26px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  flex-wrap: wrap;
}

.hero-header .avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
}

.hero-header h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.hero-header .sub {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
}

.hero-header .spacer {
  flex: 1;
}

.hero-header .wr-big {
  text-align: right;
}

.hero-header .wr-big b {
  font-family: var(--mono);
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}

.hero-header .wr-big span {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 4px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 10px;
}

.metric {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
}

.metric span {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
  margin-bottom: 3px;
}

.metric b {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
}

.kv-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.kv {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.kv .bar {
  flex: 1;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.kv .bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
}

.slot-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.slot {
  width: 74px;
  text-align: center;
}

.slot img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b0e14;
  object-fit: cover;
}

.slot span {
  display: block;
  font-size: 10.5px;
  color: var(--muted-2);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

.list-row:last-child {
  border-bottom: none;
}

.list-row img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #0b0e14;
  object-fit: cover;
}

.list-row .grow {
  flex: 1;
  min-width: 0;
}

.list-row .nm {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-row .sub {
  font-size: 11px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag {
  font-size: 10.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
}

/* ---------- 对比 ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 140px repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.compare-grid > div {
  background: var(--panel);
  padding: 11px 14px;
  font-size: 13px;
}

.compare-grid .h {
  color: var(--muted-2);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.compare-head img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

/* ---------- 搜索面板 ---------- */
.cmdk {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 6, 10, 0.66);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: start center;
  padding-top: 12vh;
}

.cmdk[hidden] {
  display: none;
}

.cmdk-panel {
  width: min(620px, 92vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}

.cmdk-panel input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 16px 18px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  border-bottom: 1px solid var(--line);
}

.cmdk-results {
  max-height: 52vh;
  overflow-y: auto;
  padding: 6px;
}

.cmdk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
}

.cmdk-item:hover,
.cmdk-item.on {
  background: rgba(255, 255, 255, 0.05);
}

.cmdk-item img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #0b0e14;
}

.cmdk-item .t {
  font-size: 13px;
}

.cmdk-item .s {
  font-size: 11px;
  color: var(--muted-2);
  margin-left: auto;
}

/* ---------- 其它 ---------- */
.note {
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.7;
}

.prose h2 {
  font-size: 18px;
  margin: 26px 0 10px;
}

.prose h3 {
  font-size: 14.5px;
  margin: 18px 0 8px;
  color: var(--gold);
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.prose ul {
  padding-left: 18px;
}

.empty {
  padding: 46px 20px;
  text-align: center;
  color: var(--muted-2);
  font-size: 13.5px;
}

.loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
}

.footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 40px;
  padding: 26px 22px 34px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-2);
}

.footer-inner strong {
  color: var(--text);
  font-size: 13px;
}

.footer-inner p {
  margin: 5px 0 0;
  max-width: 620px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero-side {
    display: none;
  }
  .nav {
    display: none;
  }
  .topbar-inner {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .app {
    padding: 18px 14px 40px;
  }
  .hero-banner {
    padding: 22px 18px;
  }
  .hero-copy h1 {
    font-size: 24px;
  }
  .hero-header h1 {
    font-size: 23px;
  }
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
}
