@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:      #09090b;
  --bg2:     #0d0d10;
  --bg3:     #111115;
  --bg4:     #18181d;
  --bg5:     #1e1e24;
  --border:  rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.11);
  --accent:  #3b82f6;
  --accent2: #2563eb;
  --accentL: #60a5fa;
  --gold:    #f0b232;
  --text:    #e2e8f0;
  --muted:   #94a3b8;
  --faint:   #4b5563;
  --green:   #22c55e;
  --red:     #ef4444;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 62px; display: flex; align-items: center;
  padding: 0 40px; gap: 8px;
  background: rgba(9,9,11,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 700; color: var(--text);
  text-decoration: none; margin-right: 16px; flex-shrink: 0;
}
.nav-brand img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 6px 13px; border-radius: 7px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color .12s, background .12s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.cur { color: var(--text); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-btn {
  padding: 7px 18px; border-radius: 7px; font-size: 13px; font-weight: 600;
  text-decoration: none; font-family: inherit; cursor: pointer; transition: .15s;
}
.nav-btn.ghost { background: transparent; border: 1px solid var(--border2); color: var(--muted); }
.nav-btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,0.06); }
.nav-btn.solid { background: var(--accent); border: none; color: #fff; }
.nav-btn.solid:hover { background: var(--accent2); }
.nav-tog { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; margin-left: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 26px; border-radius: 8px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .12s, box-shadow .12s, background .12s, border-color .12s;
}
.btn:hover { transform: translateY(-1px); }
.btn-blue { background: var(--accent); color: #fff; }
.btn-blue:hover { background: var(--accent2); box-shadow: 0 6px 20px rgba(59,130,246,0.35); }
.btn-dark { background: var(--bg4); color: var(--text); border: 1px solid var(--border2); }
.btn-dark:hover { border-color: var(--accent); background: var(--bg5); }
.btn-outline { background: transparent; color: var(--muted); border: 1px solid var(--border2); }
.btn-outline:hover { color: var(--text); border-color: var(--border2); background: var(--bg4); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ── HERO ── */
.hero {
  display: grid; grid-template-columns: 1fr 480px;
  align-items: center; gap: 64px;
  max-width: 1240px; margin: 0 auto;
  padding: 130px 48px 80px;
  position: relative;
}
.hero-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 500px at 10% 60%, rgba(59,130,246,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 500px 600px at 80% 20%, rgba(59,130,246,0.05) 0%, transparent 60%);
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px 4px 8px; border-radius: 20px;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.22);
  font-size: 12px; font-weight: 700; color: var(--accentL);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 22px;
}
.hero-pill .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero h1 {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 800; line-height: 1.07; letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(130deg, var(--accentL) 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 16px; color: var(--muted); line-height: 1.78; margin-bottom: 32px; max-width: 500px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex; align-items: center; gap: 28px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.stat-n { font-size: 24px; font-weight: 800; display: block; }
.stat-l { font-size: 11px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .07em; }

/* ── CODE WINDOW ── */
.code-win {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--r);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}
.code-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: var(--bg4);
  border-bottom: 1px solid var(--border);
}
.cdot { width: 11px; height: 11px; border-radius: 50%; }
.cdot.r{background:#ff5f57} .cdot.y{background:#febc2e} .cdot.g{background:#27c93f}
.c-tab { margin-left: 10px; font-size: 12px; color: var(--faint); font-family: 'JetBrains Mono', monospace; }
.code-body {
  padding: 22px 24px; margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; line-height: 1.95; color: var(--text);
  white-space: pre; overflow-x: auto;
}
.ck{color:#c084fc} .cv{color:var(--accentL)} .cs{color:var(--gold)} .cc{color:var(--faint)}
.cn{color:#86efac} .cf{color:#fb923c}

/* ── SECTION ── */
.sec { max-width: 1240px; margin: 0 auto; padding: 88px 48px; }
.sec-lbl { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.sec-h { font-size: clamp(26px, 2.8vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.sec-sub { font-size: 16px; color: var(--muted); line-height: 1.72; max-width: 540px; }
.sec-center { text-align: center; }
.sec-center .sec-sub { margin: 0 auto; }

/* ── FEATURE GRID ── */
.feat-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
  margin-top: 56px;
}
.feat-cell { background: var(--bg2); padding: 34px 30px; transition: background .18s; }
.feat-cell:hover { background: var(--bg3); }
.feat-ico {
  width: 42px; height: 42px; border-radius: 9px; margin-bottom: 16px;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.feat-cell h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.feat-cell p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── PRICING ── */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 52px; }
.p-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 30px;
  display: flex; flex-direction: column;
  transition: border-color .18s, transform .18s;
  position: relative; overflow: hidden;
}
.p-card:hover { transform: translateY(-3px); border-color: var(--border2); }
.p-card.hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 12px 40px rgba(59,130,246,0.15); }
.p-card.hot::after {
  content: 'Popular';
  position: absolute; top: 12px; right: -24px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 36px; transform: rotate(45deg); letter-spacing: .07em;
}
.p-lbl { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.p-name { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.p-price { font-size: 38px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 3px; }
.p-price sup { font-size: 18px; vertical-align: super; }
.p-price .mo { font-size: 15px; font-weight: 500; color: var(--muted); }
.p-period { font-size: 12px; color: var(--faint); margin-bottom: 20px; }
.p-div { height: 1px; background: var(--border); margin-bottom: 20px; }
.p-list { list-style: none; flex: 1; margin-bottom: 26px; }
.p-list li { font-size: 13px; color: var(--muted); padding: 5px 0; display: flex; gap: 9px; }
.p-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.p-list li.no { color: var(--faint); }
.p-list li.no::before { content: '✕'; color: var(--faint); }

/* ── DOCS ── */
.docs-shell { display: flex; padding-top: 62px; min-height: 100vh; }
.docs-side {
  width: 250px; flex-shrink: 0; background: var(--bg2);
  border-right: 1px solid var(--border);
  padding: 28px 10px; position: sticky; top: 62px;
  height: calc(100vh - 62px); overflow-y: auto;
}
.docs-side::-webkit-scrollbar{width:3px}
.docs-side::-webkit-scrollbar-thumb{background:var(--bg5)}
.dg { margin-bottom: 26px; }
.dg-hd {
  font-size: 10px; font-weight: 700; color: var(--faint);
  text-transform: uppercase; letter-spacing: .09em;
  padding: 0 12px; margin-bottom: 5px;
}
.dg a {
  display: block; padding: 7px 12px; border-radius: 7px;
  font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 1px;
  transition: color .1s, background .1s;
}
.dg a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.dg a.on { color: var(--accent); background: rgba(59,130,246,.1); }
.docs-body { flex: 1; padding: 44px 60px; max-width: 900px; }
.docs-body h2 {
  font-size: 28px; font-weight: 800; letter-spacing: -0.015em;
  margin: 52px 0 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border); scroll-margin-top: 80px;
}
.docs-body h2:first-child { margin-top: 0; }
.docs-body h3 { font-size: 17px; font-weight: 700; color: var(--accentL); margin: 28px 0 10px; }
.docs-body p { font-size: 15px; color: var(--muted); line-height: 1.76; margin-bottom: 14px; }
.docs-body ul { padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 2; margin-bottom: 14px; }

/* ── CODE BLOCK ── */
.cb {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 8px; padding: 20px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; line-height: 1.85; color: var(--text);
  overflow-x: auto; margin: 14px 0; white-space: pre;
}
.cb .ck{color:#c084fc} .cb .cv{color:var(--accentL)} .cb .cs{color:var(--gold)}
.cb .cc{color:var(--faint)} .cb .cn{color:#86efac}

/* ── PARAM TABLE ── */
.pt { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.pt th { text-align: left; padding: 9px 13px; background: var(--bg4); color: var(--faint); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid var(--border); }
.pt td { padding: 9px 13px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.pt td:first-child { color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.pt tr:last-child td { border-bottom: none; }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-left: 6px; vertical-align: middle; }
.b-free { background:rgba(34,197,94,.1); color:var(--green); border:1px solid rgba(34,197,94,.2); }
.b-paid { background:rgba(240,178,50,.1); color:var(--gold);  border:1px solid rgba(240,178,50,.2); }
.b-open { background:rgba(59,130,246,.1); color:var(--accentL); border:1px solid rgba(59,130,246,.2); }
.b-new  { background:rgba(59,130,246,.1); color:var(--accentL); border:1px solid rgba(59,130,246,.2); }

/* ── GET KEY ── */
.gk-wrap { max-width: 820px; margin: 0 auto; padding: 110px 40px 80px; }
.gk-wrap h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px; }
.gk-lead { font-size: 16px; color: var(--muted); line-height: 1.72; margin-bottom: 44px; }
.gk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 44px; }
.gk-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px; display: flex; flex-direction: column;
}
.gk-card.hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gk-type { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.gk-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.gk-price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 3px; }
.gk-period { font-size: 12px; color: var(--faint); margin-bottom: 18px; }
.gk-list { list-style: none; flex: 1; margin-bottom: 22px; }
.gk-list li { font-size: 13px; color: var(--muted); padding: 5px 0; display: flex; gap: 9px; }
.gk-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

.claim-box {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 30px;
}
.claim-box h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.claim-box .sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.claim-row { display: flex; gap: 10px; flex-wrap: wrap; }
.c-input {
  flex: 1; min-width: 200px;
  background: var(--bg4); border: 1px solid var(--border2);
  border-radius: 7px; padding: 11px 15px;
  color: var(--text); font-family: 'JetBrains Mono', monospace;
  font-size: 14px; outline: none; transition: border-color .15s;
}
.c-input:focus { border-color: var(--accent); }
.c-input::placeholder { color: var(--faint); }
#key-result { display: none; margin-top: 18px; }
#key-result p { font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.key-row { display: flex; gap: 8px; align-items: center; }
.key-val {
  flex: 1; background: var(--bg4); border: 1px solid var(--border2);
  border-radius: 7px; padding: 11px 15px;
  font-family: 'JetBrains Mono', monospace; font-size: 14px;
  color: var(--accentL); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.key-warn { font-size: 12px; color: var(--faint); margin-top: 9px; }
#key-error { display: none; font-size: 13px; color: var(--red); margin-top: 12px; }

/* ── SCRIPTS ── */
.sc-wrap { max-width: 1200px; margin: 0 auto; padding: 110px 48px 80px; }
.sc-wrap h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 10px; }
.sc-lead { font-size: 16px; color: var(--muted); margin-bottom: 48px; }
.sc-notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(59,130,246,.07); border: 1px solid rgba(59,130,246,.18);
  border-radius: 8px; padding: 14px 18px; margin-bottom: 36px; font-size: 14px; color: var(--muted);
}
.sc-notice .ico { color: var(--accentL); flex-shrink: 0; margin-top: 1px; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 18px; margin-bottom: 44px; }
.sc-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px; display: flex; flex-direction: column;
  transition: border-color .18s, transform .18s;
}
.sc-card:hover { transform: translateY(-2px); border-color: var(--border2); }
.sc-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 9px; }
.sc-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.sc-card p { font-size: 13px; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; }
.pill { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.pill-free { background:rgba(34,197,94,.1); color:var(--green); border:1px solid rgba(34,197,94,.2); }
.pill-paid { background:rgba(240,178,50,.1); color:var(--gold);  border:1px solid rgba(240,178,50,.2); }
.pill-open { background:rgba(59,130,246,.1); color:var(--accentL); border:1px solid rgba(59,130,246,.2); }

/* ── CHANGELOG ── */
.cl-wrap { max-width: 760px; margin: 0 auto; padding: 110px 40px 80px; }
.cl-wrap h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 44px; }
.cl-entry { margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.cl-entry:last-child { border-bottom: none; }
.cl-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cl-row h2 { font-size: 20px; font-weight: 800; }
.cl-date { font-size: 11px; color: var(--faint); font-family: 'JetBrains Mono', monospace; }
.cl-list { list-style: none; }
.cl-list li { font-size: 14px; color: var(--muted); padding: 5px 0; display: flex; gap: 10px; }
.tag-a { color: var(--green);  font-size: 10px; font-weight: 700; padding-top: 3px; flex-shrink: 0; }
.tag-f { color: var(--red);    font-size: 10px; font-weight: 700; padding-top: 3px; flex-shrink: 0; }
.tag-u { color: var(--accentL);font-size: 10px; font-weight: 700; padding-top: 3px; flex-shrink: 0; }

/* ── FAQ ── */
.faq-wrap { max-width: 760px; margin: 0 auto; padding: 110px 40px 80px; }
.faq-wrap h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 44px; }
.faq-item { margin-bottom: 5px; }
.faq-q {
  width: 100%; text-align: left; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 17px 20px; font-size: 15px; font-weight: 600; color: var(--text);
  cursor: pointer; font-family: inherit;
  display: flex; justify-content: space-between; align-items: center;
  transition: border-color .15s, background .15s;
}
.faq-q:hover { border-color: var(--border2); }
.faq-q.on { border-color: var(--accent); border-radius: 8px 8px 0 0; }
.faq-q .arr { color: var(--faint); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq-q.on .arr { transform: rotate(45deg); }
.faq-ans {
  display: none; background: var(--bg4);
  border: 1px solid var(--accent); border-top: none;
  border-radius: 0 0 8px 8px; padding: 15px 20px;
  font-size: 14px; color: var(--muted); line-height: 1.72;
}
.faq-ans.on { display: block; }
.faq-ans a { color: var(--accentL); }

/* ── TOS ── */
.tos-wrap { max-width: 760px; margin: 0 auto; padding: 110px 40px 80px; }
.tos-wrap h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 6px; }
.tos-date { font-size: 12px; color: var(--faint); font-family: 'JetBrains Mono', monospace; display: block; margin-bottom: 44px; }
.tos-wrap h2 { font-size: 18px; font-weight: 700; margin: 32px 0 10px; }
.tos-wrap p, .tos-wrap li { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 10px; }
.tos-wrap ul { padding-left: 20px; }
.tos-wrap a { color: var(--accentL); }

/* ── CTA ── */
.cta { background: var(--bg2); border-top: 1px solid var(--border); }
.cta-in { max-width: 680px; margin: 0 auto; padding: 88px 40px; text-align: center; }
.cta-in h2 { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-in p { font-size: 16px; color: var(--muted); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 36px 48px; }
.ft-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.ft-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none; }
.ft-brand img { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; }
.ft-links { display: flex; gap: 20px; margin-left: auto; }
.ft-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color .12s; }
.ft-links a:hover { color: var(--text); }
.ft-copy { width: 100%; font-size: 12px; color: var(--faint); }

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .hero{grid-template-columns:1fr;padding:110px 32px 60px;gap:40px}
  .feat-grid{grid-template-columns:repeat(2,1fr)}
  .price-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .nav{padding:0 20px}
  .nav-links{display:none;flex-direction:column;position:absolute;top:62px;left:0;right:0;background:var(--bg2);border-bottom:1px solid var(--border);padding:12px 10px;gap:2px}
  .nav-links.open{display:flex}
  .nav-end{display:none}
  .nav-tog{display:block}
  .sec{padding:56px 24px}
  .feat-grid{grid-template-columns:1fr}
  .gk-grid{grid-template-columns:1fr}
  .sc-wrap{padding:100px 24px 60px}
  .docs-shell{flex-direction:column}
  .docs-side{width:100%;height:auto;position:static}
  .docs-body{padding:24px}
  footer{padding:28px 24px}
  .ft-links{margin-left:0}
}

/* ── NAV USER MENU ── */
.nav-user-menu {
  position: relative; display: flex; align-items: center;
  gap: 8px; cursor: pointer; padding: 4px 10px; border-radius: 8px;
  transition: background .15s; user-select: none;
}
.nav-user-menu:hover { background: rgba(255,255,255,.06); }
.nav-av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.nav-uname { font-size: 13px; color: var(--muted); }
.nav-admin-badge {
  font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px;
  background: rgba(59,130,246,.2); color: var(--accentL);
  border: 1px solid rgba(59,130,246,.3); letter-spacing: .06em;
}
.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg4); border: 1px solid var(--border2);
  border-radius: 8px; min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); z-index: 999; overflow: hidden;
}
.nav-user-menu.open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 10px 16px; font-size: 14px;
  color: var(--muted); text-decoration: none; transition: .12s;
}
.nav-dropdown a:hover { background: rgba(255,255,255,.06); color: var(--text); }

/* Close dropdown on outside click handled by JS */
