/* QuantumShield L1 — palette sampled from assets/logo.png */
:root {
  --bg: #07060d;
  --bg-2: #0b0918;
  --panel: #0f0c22;
  --panel-2: #150f33;
  --line: rgba(132, 115, 250, 0.16);
  --line-strong: rgba(132, 115, 250, 0.38);

  --violet: #8473fa;
  --violet-deep: #5c44e1;
  --violet-hot: #9472ff;
  --lavender: #af95ff;
  --lavender-pale: #e4dbff;

  --text: #f4f2ff;
  --muted: #a39dc9;
  --dim: #6f6997;
  --ok: #7cf0c5;
  --bad: #ff7a93;
  --warn: #ffd27a;

  --grad: linear-gradient(135deg, #b9a4ff 0%, #8473fa 45%, #5c44e1 100%);
  --radius: 14px;
  --radius-sm: 8px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(92, 68, 225, 0.22), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(132, 115, 250, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  /* dot grid, like the banner */
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(175, 149, 255, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
code, .mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.small { font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
::selection { background: rgba(132, 115, 250, 0.45); }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ───────────── Status bar & nav ───────────── */
.statusbar {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 13, 0.9);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.statusbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.statusbar-inner > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); box-shadow: 0 0 0 3px rgba(111, 105, 151, 0.15); }
.led.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.led.warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 6, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 30px; height: 38px; }
.brand-word { font: 700 19px/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.brand-word span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tag {
  font-size: 10px; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--lavender);
}
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ───────────── Buttons ───────────── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px;
  border-radius: 10px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); color: var(--text);
  cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(180deg, #8f7cff, #6a4ff0);
  box-shadow: 0 0 0 1px rgba(175, 149, 255, 0.35) inset, 0 8px 28px -8px rgba(132, 115, 250, 0.7);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(228, 219, 255, 0.5) inset, 0 12px 34px -8px rgba(132, 115, 250, 0.9); }
.btn-ghost { border-color: var(--line-strong); background: rgba(132, 115, 250, 0.06); }
.btn-ghost:hover:not(:disabled) { border-color: var(--lavender); background: rgba(132, 115, 250, 0.12); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.busy { pointer-events: none; opacity: 0.8; }
.btn.busy::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite;
}
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--lavender); font: inherit; font-size: 13px;
}
.link-btn:hover { color: var(--lavender-pale); text-decoration: underline; text-underline-offset: 3px; }

/* ───────────── Hero ───────────── */
.hero { padding: 72px 0 40px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.kicker-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(132, 115, 250, 0.08); color: var(--lavender-pale);
  font-size: 12px; letter-spacing: 0.04em;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); box-shadow: 0 0 0 0 rgba(175, 149, 255, 0.6); animation: pulse 2s infinite; }
.hero h1 { margin-top: 24px; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; max-width: 560px; font-size: 18px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-specs { display: flex; flex-wrap: wrap; gap: 0; margin: 40px 0 0; border: 1px solid var(--line); border-radius: var(--radius-sm); width: fit-content; max-width: 100%; }
.hero-specs div { padding: 12px 20px; border-right: 1px solid var(--line); }
.hero-specs div:last-child { border-right: 0; }
.hero-specs dt { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.hero-specs dd { margin: 4px 0 0; font-size: 13px; color: var(--lavender-pale); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(132, 115, 250, 0.45), rgba(92, 68, 225, 0.12) 45%, transparent 70%); filter: blur(10px); }
.hero-logo { position: relative; width: 52%; height: auto; aspect-ratio: 248 / 312; filter: drop-shadow(0 20px 60px rgba(92, 68, 225, 0.55)); animation: float 6s ease-in-out infinite; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-strong); }
.ring i { position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--lavender-pale); box-shadow: 0 0 12px var(--lavender); }
.ring-1 { transform: rotateX(72deg) rotateZ(0deg); animation: orbit 14s linear infinite; }
.ring-2 { inset: 8%; border-style: dashed; border-color: rgba(132, 115, 250, 0.22); animation: spin 40s linear infinite reverse; }
.ring-2 i { display: none; }
.ring-3 { inset: 4%; transform: rotate(-28deg) scaleY(0.36); animation: orbit-b 10s linear infinite; }
.chip {
  position: absolute; padding: 8px 12px; border-radius: 8px; font-size: 12px;
  background: rgba(15, 12, 34, 0.85); border: 1px solid var(--line-strong); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8); white-space: nowrap;
}
.chip b { color: var(--ok); font-weight: 600; }
.chip s { color: var(--bad); }
.chip-1 { top: 14%; right: -2%; animation: float 7s ease-in-out infinite 0.5s; }
.chip-2 { bottom: 18%; left: -4%; animation: float 8s ease-in-out infinite 1.2s; }
.chip-3 { bottom: 6%; right: 10%; color: var(--lavender); animation: float 6.5s ease-in-out infinite 2s; }
.ok { color: var(--ok); }
.bad { color: var(--bad); }

.stats {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15, 12, 34, 0.55);
}
.stats li { padding: 24px 28px; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font: 700 32px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats sup { font-size: 0.55em; }
.stats span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ───────────── Sections ───────────── */
.section { padding: 112px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(20, 12, 50, 0.45) 20%, rgba(20, 12, 50, 0.45) 80%, transparent); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender); }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; }
.section-head p:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: 17px; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.split .section-head { margin-bottom: 0; }

/* comparison table */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: rgba(15, 12, 34, 0.6); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); padding-top: 18px; }
.compare tbody th { font-weight: 500; color: var(--muted); white-space: nowrap; }
.compare td { color: var(--muted); }
.compare .hl { background: rgba(132, 115, 250, 0.08); color: var(--text); }
.compare thead .hl { color: var(--lavender); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font: 500 12px/1.5 var(--mono); }
.tag.ok { background: rgba(124, 240, 197, 0.12); color: var(--ok); }
.tag.bad { background: rgba(255, 122, 147, 0.12); color: var(--bad); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 44px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), var(--violet), var(--line-strong), transparent);
}
.step {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21, 15, 51, 0.9), rgba(15, 12, 34, 0.9));
  border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0;
  transition: border-color 0.25s, transform 0.25s;
}
.step:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-num { font-size: 13px; color: var(--lavender); padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg); }
.step h3, .feature h3 { font-size: 21px; font-weight: 600; }
.step p, .feature p { margin-top: 10px; color: var(--muted); font-size: 15px; flex: 1; }
.step code {
  margin-top: 22px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 12px;
  background: rgba(7, 6, 13, 0.7); border: 1px solid var(--line); color: var(--lavender-pale);
  overflow-x: auto; white-space: nowrap;
}

.icon { width: 28px; height: 28px; fill: none; stroke: var(--lavender); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg {
  width: 52px; height: 52px; padding: 12px; border-radius: 12px; margin-bottom: 22px;
  background: rgba(132, 115, 250, 0.1); border: 1px solid var(--line-strong);
}

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  position: relative; padding: 32px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: rgba(15, 12, 34, 0.75); display: flex; flex-direction: column; min-width: 0;
}
.feature::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lavender), transparent); opacity: 0.6;
}
.feature-meta { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* ───────────── Console (dApp) ───────────── */
.console { border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(9, 7, 20, 0.85); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(92, 68, 225, 0.45); }
.console-bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); background: rgba(21, 15, 51, 0.6); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line-strong); }
.dots i:first-child { background: var(--violet); }
.console-account { margin-left: auto; color: var(--lavender-pale); }

.app-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1px; background: var(--line); }
.panel { background: var(--panel); display: flex; flex-direction: column; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h3 { font-size: 15px; font-weight: 600; }
.panel-body { padding: 20px; }
.badge { font-size: 11px; padding: 3px 8px; border-radius: 5px; border: 1px solid var(--line-strong); color: var(--muted); }
.badge.ok { color: var(--ok); border-color: rgba(124, 240, 197, 0.35); }
.badge.warn { color: var(--warn); border-color: rgba(255, 210, 122, 0.35); }

.tabs { display: flex; gap: 4px; }
.tab { background: none; border: 1px solid transparent; color: var(--muted); padding: 6px 14px; border-radius: 8px; font: 600 14px/1.2 var(--font); cursor: pointer; }
.tab.active { color: var(--text); background: rgba(132, 115, 250, 0.14); border-color: var(--line-strong); }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.seg-btn { background: none; border: 0; color: var(--muted); padding: 5px 10px; font: 500 12px/1.2 var(--mono); cursor: pointer; }
.seg-btn.active { background: var(--violet-deep); color: #fff; }

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.field input {
  height: 44px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-strong);
  background: rgba(7, 6, 13, 0.75); color: var(--text); font-size: 14px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: var(--dim); }
.field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(132, 115, 250, 0.2); }
.hint { font-size: 12px; color: var(--dim); min-height: 1em; }
.hint.ok { color: var(--ok); }
.hint.err { color: var(--bad); }
.demo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; }
.form-note { font-size: 11.5px; color: var(--dim); line-height: 1.5; }

/* key panel content */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 18px; font-size: 13px; }
.kv dt { color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.kv dd { margin: 0; font-family: var(--mono); color: var(--lavender-pale); word-break: break-all; }
.vault-id { font: 700 34px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; }
.key-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.key-actions .btn { flex: 1 1 140px; }
.seed-box {
  margin: 14px 0; padding: 12px; border-radius: 8px; font: 12px/1.6 var(--mono); word-break: break-all;
  background: rgba(7, 6, 13, 0.8); border: 1px dashed var(--warn); color: var(--warn);
}
.empty { color: var(--muted); font-size: 14px; }
.empty p + p { margin-top: 10px; }
.text-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }

.panel-terminal { grid-row: span 1; }
.terminal { height: 280px; overflow-y: auto; padding: 14px 20px; font-size: 12.5px; line-height: 1.7; background: #07060d; }
.terminal .ln { white-space: pre-wrap; word-break: break-all; }
.terminal .t { color: var(--dim); margin-right: 8px; }
.terminal .info { color: var(--muted); }
.terminal .ok { color: var(--ok); }
.terminal .err { color: var(--bad); }
.terminal .warn { color: var(--warn); }
.terminal .acc { color: var(--lavender); }
.terminal a { color: var(--lavender); text-decoration: underline; }
.cursor::after { content: "▍"; color: var(--lavender); animation: blink 1s steps(1) infinite; }

.holdings { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 8px; max-height: 330px; overflow-y: auto; }
.holding {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(21, 15, 51, 0.5); cursor: pointer; text-align: left; width: 100%; color: inherit; font: inherit;
}
.holding:hover { border-color: var(--line-strong); }
.holding .sym { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(132, 115, 250, 0.16); color: var(--lavender); font: 700 11px/1 var(--mono); }
.holding .meta { flex: 1; min-width: 0; }
.holding .meta strong { display: block; font-size: 14px; }
.holding .meta span { display: block; font: 11px/1.4 var(--mono); color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holding .amt { font: 600 14px/1 var(--mono); color: var(--lavender-pale); }

.ref-note { margin-top: 28px; max-width: 860px; font-size: 13.5px; color: var(--muted); padding: 16px 18px; border-left: 2px solid var(--violet); background: rgba(132, 115, 250, 0.05); border-radius: 0 8px 8px 0; }
.ref-note strong { color: var(--text); }
.ref-note code { color: var(--lavender-pale); font-size: 12.5px; }

/* dialogs */
.dialog { padding: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--panel); color: var(--text); width: min(420px, 100% - 32px); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9); }
.dialog::backdrop { background: rgba(4, 3, 10, 0.7); backdrop-filter: blur(4px); }
.dialog-inner { display: flex; flex-direction: column; gap: 12px; padding: 0 20px 20px; }
.dialog-inner .panel-head { margin: 0 -20px 6px; }
.wallet-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border-radius: 12px; cursor: pointer;
  background: rgba(21, 15, 51, 0.7); border: 1px solid var(--line-strong); color: var(--text); font: 600 15px/1.2 var(--font); text-align: left;
}
.wallet-opt span { font-weight: 400; font-size: 12px; }
.wallet-opt:hover { border-color: var(--lavender); background: rgba(132, 115, 250, 0.14); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; }
.contract-links { width: 100%; }
.contract-links a { color: var(--lavender); text-decoration: underline; text-underline-offset: 2px; }

/* ───────────── Motion ───────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbit-b { from { transform: rotate(-28deg) scaleY(0.36) rotate(0); } to { transform: rotate(-28deg) scaleY(0.36) rotate(360deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(175, 149, 255, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(175, 149, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(175, 149, 255, 0); } }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ───────────── Responsive ───────────── */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 400px; order: -1; }
  .steps, .features { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .app-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
}
@media (max-width: 560px) {
  .hide-sm { display: none !important; }
  .hero { padding-top: 40px; }
  .section { padding: 80px 0; }
  .brand-tag { display: none; }
  .brand-word { font-size: 17px; }
  .stats li { padding: 18px; }
  .stats strong { font-size: 26px; }
  .hero-specs div { padding: 10px 14px; }
  .chip { font-size: 11px; }
  .chip-1 { right: 0; }
  .chip-2 { left: 0; }
  .console-bar { flex-wrap: wrap; }
  .panel-head { padding: 14px 16px; }
  .panel-body { padding: 16px; }
}
