/* redirecte.top — tema deschisa: alb rece, albastru electric, navy pentru text, portocaliu doar pentru "live". */
:root {
  --bg: #e9edf4; --surface: #f9fafd; --surface-2: #eef1f8; --surface-3: #e2e7f1;
  --line: #d6ddea; --line-2: #bcc7dc;
  --ink: #0e1a33; --ink-2: #46556f; --ink-3: #7b879c;
  --blue: #1a56ff; --blue-2: #0f41d6; --blue-3: #4d7cff; --blue-soft: #e9efff; --blue-soft-2: #d6e1ff;
  --navy: #0e1a33; --live: #ff7a1a; --ok: #15a34a; --warn: #d98500; --err: #dc3545;
  --sans: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", Barlow, system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --r-sm: 6px; --r: 12px; --r-lg: 18px;
  --shadow-1: 0 1px 2px rgba(14,26,51,.05), 0 1px 1px rgba(14,26,51,.03);
  --shadow-2: 0 8px 24px -12px rgba(14,26,51,.18), 0 2px 6px -2px rgba(14,26,51,.06);
  --shadow-3: 0 24px 60px -24px rgba(26,86,255,.28), 0 6px 18px -8px rgba(14,26,51,.12);
  --focus: 0 0 0 4px rgba(26,86,255,.22);
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 420px at 8% -8%, rgba(26,86,255,.09), transparent 60%), radial-gradient(700px 360px at 100% 0%, rgba(77,124,255,.07), transparent 60%); }
main.wrap { flex: 1 0 auto; width: 100%; align-content: start; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
h1, h2, h3, h4 { font-family: var(--cond); font-weight: 700; line-height: 1.05; letter-spacing: .005em; margin: 0 0 .35em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); } h2 { font-size: 1.45rem; } h3 { font-size: 1.25rem; }
h1 small { font-family: var(--sans); font-weight: 400; font-size: .5em; }
p { margin: .35em 0 .8em; max-width: 68ch; }
code, pre, .cmd { font-family: var(--mono); font-size: .9em; }
code { background: var(--surface-2); border: 1px solid var(--line); padding: .05em .45em; border-radius: var(--r-sm); color: var(--ink); }
.muted { color: var(--ink-2); } .hint { color: var(--ink-3); font-size: .9em; margin: .2em 0 0; }

/* ---- Header ---- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 40px; height: 68px; position: sticky; top: 0; z-index: 5;
  background: rgba(249,250,253,.86); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-family: var(--cond); font-weight: 700; font-size: 1.4rem; letter-spacing: .01em; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; display: block; filter: drop-shadow(0 2px 6px rgba(14,26,51,.18)); }
.brand b { color: var(--blue); }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a { color: var(--ink-2); font-weight: 500; padding: 9px 14px; border-radius: 999px; }
.top nav a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.top nav a.on { color: var(--blue-2); background: var(--blue-soft); }
.top nav a.btn.key { margin-left: 12px; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--blue); color: #fff; border: 1px solid var(--blue); font-weight: 600; font-size: .95rem; box-shadow: 0 6px 16px -8px rgba(26,86,255,.7); }
.top nav a.btn.key:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; text-decoration: none; }
button.link { background: none; border: 0; color: var(--ink-2); cursor: pointer; font: inherit; font-weight: 500; padding: 9px 14px; border-radius: 999px; }
button.link:hover { color: var(--ink); background: var(--surface-2); }
.wrap { max-width: 1480px; margin: 0 auto; padding: 28px 40px 64px; display: grid; gap: 40px; }

/* ---- Buttons ---- */
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px;
  font: 600 .98rem/1 var(--sans); letter-spacing: .01em; cursor: pointer; border: 1px solid var(--blue); white-space: nowrap;
  background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(26,86,255,.75); transition: background .12s ease, border-color .12s ease, transform .06s ease, box-shadow .12s ease; }
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; text-decoration: none; box-shadow: 0 12px 26px -12px rgba(26,86,255,.85); }
.btn:active { transform: translateY(1px); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: .9rem; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--ink-3); color: var(--ink); }
.btn.danger { background: var(--surface); color: var(--err); border-color: rgba(220,53,69,.35); box-shadow: none; }
.btn.danger:hover { background: #fff1f2; border-color: var(--err); color: var(--err); }
form.inline { display: inline; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---- Hero + readout ---- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 520px); gap: 40px; align-items: center; padding: 8px 0 0; }
.hero h1 { font-size: clamp(1.7rem, 2.4vw, 2.5rem); letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; margin-bottom: 8px; }
.hero .lead { font-size: .95rem; color: var(--ink-2); max-width: 64ch; margin: 0 0 12px; font-weight: 400; }
.cta { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.readout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.readout header { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-family: var(--cond); font-weight: 700; font-size: 1rem; color: var(--ink); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.readout header small { margin-left: auto; font: 500 .82rem var(--sans); color: var(--ink-3); }
.readout-grid { display: grid; grid-template-columns: 1fr 1fr; }
.readout .stat { border: 0; border-radius: 0; box-shadow: none; padding: 14px 16px 12px; background: transparent; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.readout .stat:nth-child(2n) { border-right: 0; } .readout .stat:nth-child(n+3) { border-bottom: 0; }
.readout .stat b { font-size: 2.1rem; }
.readout .stat.hot b { color: var(--blue); }
.readout .stat.hot { background: linear-gradient(180deg, var(--blue-soft), transparent); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stats .stat { min-height: 96px; display: grid; align-content: center; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-1); }
.stat b { display: block; font-family: var(--cond); font-weight: 700; font-size: 2.7rem; line-height: 1; letter-spacing: .005em; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat span { color: var(--ink-2); font-size: .88em; display: block; margin-top: 4px; }

/* ---- Page heads (panel) ---- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.page-head h1 { margin-bottom: 4px; } .page-head p { margin: 0; color: var(--ink-2); max-width: 64ch; }
.page-head .actions, .page-head > .btn { margin-top: 6px; }

.server-head .server-id { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.server-logo { width: 160px; height: auto; flex: none; background: var(--navy); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow-1); }
.game-fallback { display: grid; place-items: center; color: #ffb067; } .game-fallback svg { width: 55%; height: 55%; }
.server-logo.game-fallback { width: 64px; height: 64px; padding: 0; }
.server-head h1 { font-size: 1.9rem; margin-bottom: 2px; overflow-wrap: anywhere; }
.stat b.ok { color: var(--ok); } .stat b small { font-size: .5em; color: var(--ink-3); font-weight: 600; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.country-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow-1); }
.country-list li { display: grid; grid-template-columns: 28px 1fr 2fr 40px; align-items: center; gap: 10px; font-size: .93em; }
.country-name { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-bar { height: 8px; background: var(--surface-3); border-radius: 999px; overflow: hidden; } .country-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-3), var(--blue)); border-radius: 999px; }
.country-list b { text-align: right; font-variant-numeric: tabular-nums; }
.preview-legend { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: center; margin-top: 10px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.preview-legend div { display: grid; gap: 2px; min-width: 0; } .preview-legend b { font-size: .82em; color: var(--ink-3); font-weight: 600; letter-spacing: .01em; }
.preview-legend span { color: var(--ink); font-size: .92em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td.dests { white-space: normal; } td.dests code { display: inline-block; margin: 1px 4px 1px 0; }
.card.server h3 a { color: var(--ink); } .card.server h3 a:hover { color: var(--blue); text-decoration: none; }

/* ---- Sections, cards ---- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h1, .section-head h2 { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 18px 24px; display: grid; gap: 14px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--blue-3), var(--blue)); }
.card:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); transform: translateY(-2px); }
.card header h3 { margin: 0 0 4px; }
.card.server header { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.game-icon { width: 44px; height: 44px; border-radius: 10px; flex: none; display: block; object-fit: cover; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); background: var(--navy); }
.server-title { min-width: 0; } .server-title h3 { font-size: 1.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 2px; }
.online { text-align: right; line-height: 1; padding-top: 2px; }
.online b { font-family: var(--cond); font-weight: 700; font-size: 1.7rem; color: var(--ok); } .online small { color: var(--ink-3); font-size: .95rem; font-family: var(--cond); }
.online span { display: block; color: var(--ink-3); font-size: .75rem; margin-top: 3px; }
.server-meta { display: flex; gap: 10px; flex-wrap: wrap; min-height: 1.2em; }
.steam-preview { background: #1b2838; border-radius: 8px; overflow: hidden; font-size: .85em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.steam-preview-head { display: flex; align-items: center; gap: 6px; padding: 6px 10px; color: #8f98a0; font-size: .82em; background: #171d25; }
.steam-preview-head svg { width: 12px; height: 12px; color: #66c0f4; } .steam-preview-head span { margin-left: auto; color: #66c0f4; }
.steam-row { display: grid; grid-template-columns: 16px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; color: #c6d4df; font-family: var(--sans); }
.steam-lock { color: #8f98a0; display: inline-flex; } .steam-lock svg { width: 11px; height: 13px; }
.steam-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e5e5e5; } .steam-name em, .steam-map em { font-style: normal; color: #66c0f4; font-size: .85em; }
.steam-map { color: #8f98a0; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.steam-players { color: #beee11; font-variant-numeric: tabular-nums; }
.meta { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: .88em; } .meta svg { width: 14px; height: 14px; color: var(--ink-3); }
.card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.card dt { color: var(--ink-3); font-size: .85em; }
.card dd { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.card dd small { font-size: .55em; font-weight: 500; margin-left: 2px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.flag { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.flag img { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(14,26,51,.12); display: block; }
.flag > span { font-size: .8em; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.chips.flags .flag > span { display: none; } .chips.flags .flag img { width: 24px; height: 18px; }
.country-list .flag > span { display: none; }
.chip { font-size: .8em; font-weight: 600; letter-spacing: .02em; background: var(--blue-soft); border: 1px solid var(--blue-soft-2); border-radius: 999px; padding: 2px 9px; color: var(--blue-2); }
.empty { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 32px; color: var(--ink-2); text-align: center; }

.bars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 6px; align-items: end; height: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 30px; box-shadow: var(--shadow-1); }
.bar { position: relative; height: 100%; display: flex; align-items: end; }
.bar::before { content: ""; display: block; width: 100%; height: max(3px, var(--h)); background: linear-gradient(180deg, var(--blue-3), var(--blue)); border-radius: 3px 3px 0 0; }
.bar:hover::before { filter: brightness(1.12); }
.bar span { position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); font-size: .72em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bar:not([data-n="0"])::after { content: attr(data-n); position: absolute; left: 50%; bottom: calc(max(3px, var(--h)) + 4px); transform: translateX(-50%); font: 600 .78rem/1 var(--cond); color: var(--blue-2); font-variant-numeric: tabular-nums; }
.bars { height: 170px; padding-top: 26px; }
.bar:nth-child(odd) span { display: none; }

.how ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; counter-reset: step; list-style: none; position: relative; }
.how ol::before { content: ""; position: absolute; left: 36px; right: 36px; top: 34px; height: 2px; background: linear-gradient(90deg, var(--blue-soft-2), var(--blue-3), var(--blue-soft-2)); }
.how li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 70px 22px 22px; position: relative; color: var(--ink-2); line-height: 1.5; box-shadow: var(--shadow-1); }
.how li b { color: var(--ink); display: block; margin-bottom: 4px; font-family: var(--cond); font-size: 1.3rem; font-weight: 700; }
.how li::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 1.15rem/34px var(--cond); text-align: center; box-shadow: 0 0 0 6px var(--surface), 0 8px 16px -8px rgba(26,86,255,.8); }

.features .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 24px 22px; position: relative; min-height: 136px; box-shadow: var(--shadow-1); transition: box-shadow .15s ease, border-color .15s ease; }
.feature-grid > div::before { content: ""; position: absolute; left: 24px; top: 0; width: 48px; height: 3px; background: var(--blue); border-radius: 0 0 3px 3px; }
.feature-grid > div:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.feature-grid h3 { font-size: 1.25rem; margin-bottom: 6px; } .feature-grid p { color: var(--ink-2); margin: 0; font-size: .97em; }

.faq { display: grid; gap: 10px; } .faq h2 { margin-bottom: 6px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; box-shadow: var(--shadow-1); }
.faq details[open] { border-color: var(--blue-soft-2); }
.faq summary { cursor: pointer; padding: 17px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-family: var(--cond); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); max-width: 80ch; }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); }
table { width: 100%; border-collapse: collapse; font-size: .95em; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
th { color: var(--ink-2); font-weight: 600; font-size: .88em; background: var(--surface-2); }
td { font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--blue-soft); }
td.name { max-width: 260px; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.empty-row td { text-align: center; color: var(--ink-3); padding: 28px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); vertical-align: -1px; margin-right: 4px; }
.dot.live { background: var(--ok); box-shadow: 0 0 0 3px rgba(21,163,74,.18); }
.dot.off { background: var(--err); box-shadow: 0 0 0 3px rgba(220,53,69,.15); }
.tag { font-size: .8em; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.tag.server_accepted { color: #0f7a35; background: #e8f8ee; border-color: #bfe8cd; }
.tag.server_rejected, .tag.proxy_stopped { color: #b42332; background: #fdecee; border-color: #f5c2c8; }
.tag.session_expired, .tag.reconnect, .tag.warn { color: #9a5b00; background: #fff4e0; border-color: #f6dcae; }

/* ---- Flash, forms ---- */
.flash { padding: 13px 18px; border-radius: var(--r); border: 1px solid var(--line); border-left-width: 4px; background: var(--surface); box-shadow: var(--shadow-1); }
.flash.ok { border-left-color: var(--ok); } .flash.warn { border-left-color: var(--warn); } .flash.err { border-left-color: var(--err); color: #9f1d2a; background: #fff7f8; }
.auth { width: 100%; max-width: 560px; margin: 6vh auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 44px 36px; display: grid; gap: 16px; box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.auth::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue-3), var(--blue)); }
.auth h1 { font-size: 2.3rem; } .auth .form { margin-top: 4px; } .auth .btn { justify-self: start; min-width: 220px; }
.auth .cmd { font-size: 1.05rem; letter-spacing: .02em; }
.form { display: grid; gap: 16px; }
.form.grid fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 16px; background: var(--surface); display: grid; gap: 14px; margin: 0; box-shadow: var(--shadow-1); }
.form legend { padding: 0 8px; font-family: var(--cond); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
label { display: grid; gap: 6px; font-weight: 500; color: var(--ink-2); font-size: .95em; }
input, textarea, select { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; width: 100%; min-height: 44px; transition: border-color .12s ease, box-shadow .12s ease; }
input:hover, textarea:hover, select:hover { border-color: var(--ink-3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: var(--focus); }
textarea { font-family: var(--mono); font-size: .92em; resize: vertical; min-height: 0; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }

.install { background: linear-gradient(180deg, #16244a, var(--navy)); color: #dfe6f5; border-radius: var(--r-lg); padding: 24px 26px; display: grid; gap: 10px; box-shadow: var(--shadow-3); }
.install h2, .install b { color: #fff; } .install .hint, .install p { color: #a9b6d3; } .install code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.cmd { background: #0a1329; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 16px 18px; margin: 0; white-space: pre-wrap; word-break: break-all; color: #8fb0ff; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.kv > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow-1); }
.kv dt { color: var(--ink-3); font-size: .85em; margin-bottom: 4px; } .kv dd { margin: 0; }

/* ---- Footer ---- */
.foot { margin-top: auto; border-top: 1px solid var(--line); background: var(--surface); color: var(--ink-3); font-size: .95em; }
.foot-inner { width: 100%; padding: 44px 40px 36px; display: grid; grid-template-columns: 1.5fr .9fr .9fr 1.1fr; gap: 40px; }
.foot-net div { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; gap: 10px; }
.foot-net b { font-family: var(--cond); font-weight: 700; font-size: 1.6rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.foot-net span { color: var(--ink-2); }
.foot-brand .brand { font-size: 1.3rem; } .foot-brand p { color: var(--ink-2); margin: 12px 0 0; max-width: 32ch; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 { margin: 0 0 4px; font-size: 1.05rem; letter-spacing: .02em; }
.foot-col a { color: var(--ink-2); } .foot-col a:hover { color: var(--blue); text-decoration: none; }
.foot-col span { color: var(--ink-3); }
.foot-bar { border-top: 1px solid var(--line); background: var(--surface-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 40px; font-size: .85em; color: var(--ink-3); }

@media (max-width: 1100px) {
  .features .feature-grid, .cards { grid-template-columns: repeat(2, 1fr); }
  .how ol { grid-template-columns: repeat(2, 1fr); } .how ol::before { display: none; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 1100px) { .two-col { grid-template-columns: 1fr; } .stats, .stats.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 780px) {
  .preview-legend { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; gap: 20px; } .hero h1 { font-size: 1.8rem; white-space: normal; }
  .top { padding: 0 16px; height: 60px; } .top nav { gap: 2px; } .top nav a { padding: 7px 10px; font-size: .95em; } .top nav a.btn.key { margin-left: 4px; padding: 0 12px; }
  .brand span { display: none; }
  .wrap { padding: 24px 16px 48px; gap: 36px; }
  .features .feature-grid, .cards, .how ol, .foot-inner { grid-template-columns: 1fr; }
  .stats, .stats.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .foot-inner { padding: 28px 16px; } .foot-bar { padding: 12px 16px; }
  .bars { gap: 2px; } .bar span { display: none !important; }
  .auth { padding: 26px 20px; margin-top: 2vh; }
}
