/* ============================================================
   BoldLime Bot — bot.boldlime.web.id
   Dark tech editorial. Lime #A8E10C + blurple #5865F2.
   Space Grotesk + JetBrains Mono.
   ============================================================ */
:root {
  --bg: #0b0b0d;
  --bg-soft: #111114;
  --bg-card: #141418;
  --bg-elev: #1a1a20;
  --border: rgba(168, 225, 12, 0.16);
  --border-soft: rgba(199, 204, 214, 0.1);
  --text: #f4f6fa;
  --text-muted: #c7ccd6;
  --text-dim: #8b91a0;
  --lime: #a8e10c;
  --lime-hover: #bef264;
  --lime-ink: #0b0b0d;
  --lime-dim: rgba(168, 225, 12, 0.1);
  --blurple: #5865f2;
  --blurple-hover: #7a86ff;
  --blurple-dim: rgba(88, 101, 242, 0.12);
  --red: #e8382f;
  --radius: 14px;
  --radius-sm: 9px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 68px;
  --max-w: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--lime); color: var(--lime-ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a32; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--lime); }

img { max-width: 100%; display: block; }
a { color: inherit; }
code, kbd, pre { font-family: var(--font-mono); }
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
main { overflow-x: clip; }
section { padding: 96px 0; }

/* Single allowed kicker style — use sparingly (max 1 per 3 sections) */
.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin-bottom: 18px;
}
.kicker::before { content: "// "; color: var(--text-dim); }

.sec-title { font-size: clamp(1.75rem, 3.6vw, 2.6rem); margin-bottom: 16px; max-width: 22ch; }
.sec-title .hl { color: var(--lime); }
.sec-sub { color: var(--text-muted); max-width: 60ch; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 30px rgba(0,0,0,0.35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--lime) 0%, #7db309 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--lime-ink); font-weight: 700; font-size: 19px;
  box-shadow: 0 0 0 1px rgba(168,225,12,0.35), 0 4px 14px rgba(168,225,12,0.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 15px; }
.brand-text b span { color: var(--lime); }
.brand-text small { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); letter-spacing: 0.05em; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  text-decoration: none; color: var(--text-muted); font-size: 14.5px; font-weight: 500;
  padding: 10px 14px; border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-desktop a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-desktop a.active { color: var(--lime); background: var(--lime-dim); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* language toggle */
.lang-toggle {
  display: flex; background: var(--bg-soft); border: 1px solid var(--border-soft);
  border-radius: 999px; padding: 3px; gap: 2px;
}
.lang-toggle button {
  border: none; background: transparent; color: var(--text-dim);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  padding: 10px 14px; border-radius: 999px; cursor: pointer;
  transition: background 0.2s, color 0.2s;
  min-height: 44px; min-width: 48px;
}
.lang-toggle button:hover { color: var(--text); }
.lang-toggle button.on { background: var(--lime); color: var(--lime-ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 13px 26px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap; min-height: 48px;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: var(--lime-hover); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(168,225,12,0.28); }
.btn-lime:active { transform: translateY(0) scale(0.98); }
.btn-blurple { background: var(--blurple); color: #fff; }
.btn-blurple:hover { background: var(--blurple-hover); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(88,101,242,0.35); }
.btn-blurple:active { transform: translateY(0) scale(0.98); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-soft); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(0.98); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; min-height: 44px; }
.btn-lg { padding: 16px 34px; font-size: 16.5px; min-height: 56px; }

/* mobile nav */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); color: var(--text); padding: 12px; cursor: pointer;
  min-width: 48px; min-height: 48px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.nav-mobile {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  background: rgba(11,11,13,0.98); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); padding: 12px 24px 20px;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a:not(.btn) {
  display: flex; align-items: center; text-decoration: none; color: var(--text-muted);
  font-size: 16.5px; font-weight: 600; padding: 14px 6px; min-height: 52px;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-mobile a:not(.btn):hover { color: var(--lime); padding-left: 12px; }
.nav-mobile a:not(.btn).active { color: var(--lime); }
.nav-mobile .btn { margin-top: 16px; width: 100%; }

/* ---------- hero (asymmetric split) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 88px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 380px at 8% 10%, rgba(168,225,12,0.08), transparent 60%),
    radial-gradient(760px 420px at 92% 20%, rgba(88,101,242,0.13), transparent 60%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); margin-bottom: 22px; }
.hero h1 .hl { color: var(--lime); }
.hero .lead { color: var(--text-muted); font-size: 1.1rem; max-width: 46ch; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* discord chat mock */
.discord-mock {
  background: #1e1f22; border: 1px solid #2b2d31; border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(88,101,242,0.18);
  transform: rotate(1.2deg);
  transition: transform 0.35s ease;
  max-width: 520px; margin-left: auto;
}
.discord-mock:hover { transform: rotate(0deg); }
.dm-header { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #2b2d31; font-weight: 700; font-size: 14px; }
.dm-header svg { width: 20px; height: 20px; color: var(--blurple-hover); }
.dm-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.dm-msg { display: flex; gap: 12px; }
.dm-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.dm-avatar.bot { background: linear-gradient(135deg, var(--lime), #7db309); color: var(--lime-ink); }
.dm-avatar.user { background: var(--blurple); color: #fff; }
.dm-content { font-size: 14px; color: #dbdee1; min-width: 0; }
.dm-content .dm-name { font-weight: 700; color: #fff; margin-right: 8px; }
.dm-content .dm-tag { background: var(--blurple); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 5px; margin-left: 7px; vertical-align: middle; }
.dm-content .dm-time { font-size: 11px; color: #949ba4; }
.dm-cmd { font-family: var(--font-mono); background: #111214; border: 1px solid #2b2d31; border-radius: 8px; padding: 10px 14px; margin-top: 6px; color: var(--lime); font-size: 13px; overflow-wrap: anywhere; }
.dm-embed { border-left: 3px solid var(--lime); background: #111214; border-radius: 0 8px 8px 0; padding: 12px 14px; margin-top: 6px; font-size: 13px; }
.dm-embed b { color: #fff; }
.dm-input { margin: 6px 18px 18px; background: #383a40; border-radius: 8px; padding: 12px 16px; color: #6d6f78; font-size: 14px; }

/* ---------- command strip (marquee) ---------- */
.cmd-strip { padding: 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); overflow: hidden; }
.cmd-strip-inner { display: flex; align-items: center; gap: 0; padding: 20px 0; }
.strip-label {
  flex-shrink: 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim);
  padding: 0 28px 0 24px; border-right: 1px solid var(--border-soft); margin-right: 8px;
  white-space: nowrap;
}
.strip-track { display: flex; gap: 12px; overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.strip-row { display: flex; gap: 12px; flex-shrink: 0; padding-right: 12px; animation: strip-scroll 36s linear infinite; }
.strip-track:hover .strip-row { animation-play-state: paused; }
@keyframes strip-scroll { to { transform: translateX(-100%); } }
.strip-chip {
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 700; color: var(--lime);
  background: rgba(168,225,12,0.07); border: 1px solid var(--border);
  border-radius: 999px; padding: 10px 20px; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.strip-chip:hover { background: var(--lime); color: var(--lime-ink); transform: translateY(-2px); }

/* ---------- features (editorial split) ---------- */
.feat-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.feat-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.feat-sticky .sec-sub { margin-bottom: 28px; }
.feat-rows { border-top: 1px solid var(--border-soft); }
.feat-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 28px 4px; border-bottom: 1px solid var(--border-soft);
  transition: background 0.2s, padding-left 0.2s;
}
.feat-row:hover { background: rgba(255,255,255,0.015); padding-left: 12px; }
.feat-row .ficon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--lime-dim); border: 1px solid var(--border); color: var(--lime);
  flex-shrink: 0;
}
.feat-row .ficon svg { width: 24px; height: 24px; }
.feat-row .ficon.blurple { background: var(--blurple-dim); border-color: rgba(88,101,242,0.32); color: var(--blurple-hover); }
.feat-row h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feat-row p { color: var(--text-muted); font-size: 15px; max-width: 52ch; }

/* ---------- photo band ---------- */
.photo-band { padding-top: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.photo-cell { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 4 / 3; }
.photo-cell img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.92);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.photo-cell::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(168,225,12,0.14), rgba(11,11,13,0.55) 90%);
  mix-blend-mode: multiply; pointer-events: none;
}
.photo-cell:hover img { transform: scale(1.05); filter: grayscale(0.25) contrast(1.05); }
.photo-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(8,8,10,0.85));
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--text);
}

/* ---------- steps (it IS a sequence: numbers justified) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step {
  border-top: 2px solid var(--border-soft);
  padding-top: 24px; transition: border-color 0.25s;
}
.step:hover { border-top-color: var(--lime); }
.step .snum { font-family: var(--font-mono); font-size: 13px; color: var(--lime); margin-bottom: 12px; display: block; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 15px; }
.step code { color: var(--lime); background: rgba(168,225,12,0.08); padding: 2px 8px; border-radius: 6px; font-size: 13.5px; }

/* ---------- commands preview (split) ---------- */
.cmd-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-top: 44px; }
.cmd-list { display: flex; flex-direction: column; gap: 10px; }
.cmd-row {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 15px 18px; min-height: 60px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.cmd-row:hover { border-color: var(--lime); transform: translateX(6px); background: var(--bg-elev); }
.cmd-row code { color: var(--lime); font-size: 14.5px; font-weight: 700; min-width: 132px; flex-shrink: 0; }
.cmd-row span { color: var(--text-muted); font-size: 14px; }
.cmd-row svg { width: 16px; height: 16px; margin-left: auto; color: var(--text-dim); flex-shrink: 0; }
.cmd-panel {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; position: sticky; top: calc(var(--header-h) + 24px);
}
.cmd-panel h3 { font-size: 1.35rem; margin-bottom: 12px; }
.cmd-panel p { color: var(--text-muted); margin-bottom: 22px; font-size: 15px; }
.perm-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--blurple-dim); border: 1px solid rgba(88,101,242,0.3);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 13.5px; color: var(--text-muted);
  margin-bottom: 24px;
}
.perm-note svg { width: 18px; height: 18px; color: var(--blurple-hover); flex-shrink: 0; margin-top: 2px; }

/* ---------- trust band (plain rows, not cards) ---------- */
.trust-band { padding-top: 0; }
.trust-rows { border-top: 1px solid var(--border-soft); margin-top: 36px; }
.trust-row {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 8px; border-bottom: 1px solid var(--border-soft);
  text-decoration: none; transition: background 0.2s, padding-left 0.2s;
}
.trust-row:hover { background: rgba(255,255,255,0.015); padding-left: 16px; }
.trust-row .ticon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elev); border: 1px solid var(--border-soft); color: var(--lime);
}
.trust-row .ticon svg { width: 21px; height: 21px; }
.trust-row h3 { font-size: 1.05rem; margin-bottom: 4px; }
.trust-row p { color: var(--text-dim); font-size: 14px; }
.trust-row > svg { width: 20px; height: 20px; margin-left: auto; color: var(--text-dim); flex-shrink: 0; transition: transform 0.2s, color 0.2s; }
.trust-row:hover > svg { transform: translateX(4px); color: var(--lime); }

/* ---------- CTA (asymmetric) ---------- */
.cta-split {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center;
  background: linear-gradient(120deg, rgba(168,225,12,0.08), rgba(88,101,242,0.1));
  border: 1px solid var(--border); border-radius: 24px;
  padding: 64px 56px; position: relative; overflow: hidden;
}
.cta-split::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 280px at 15% 0%, rgba(168,225,12,0.1), transparent 65%);
}
.cta-split h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; position: relative; }
.cta-split h2 .hl { color: var(--lime); }
.cta-split p { color: var(--text-muted); max-width: 44ch; position: relative; }
.cta-split .cta-side { position: relative; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim); }

/* ---------- commands page ---------- */
.cmd-category { margin-bottom: 48px; }
.cmd-category > h2 { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; margin-bottom: 6px; }
.cmd-category > h2 svg { width: 22px; height: 22px; color: var(--lime); flex-shrink: 0; }
.cmd-category > p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 20px; }
.cmd-card {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  transition: border-color 0.2s;
}
.cmd-card.open { border-color: var(--border); }
.cmd-head {
  width: 100%; display: flex; align-items: center; gap: 16px;
  background: none; border: none; color: var(--text); text-align: left;
  padding: 19px 22px; cursor: pointer; font-size: 15px; min-height: 64px;
}
.cmd-head:hover .cmd-name { color: var(--lime); }
.cmd-name { font-family: var(--font-mono); font-weight: 700; color: var(--text); min-width: 170px; flex-shrink: 0; transition: color 0.2s; }
.cmd-desc { color: var(--text-muted); flex: 1; font-size: 14px; min-width: 0; }
.cmd-perm {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 999px; flex-shrink: 0; white-space: nowrap;
}
.cmd-perm.everyone { background: rgba(88,101,242,0.14); color: #9aa3ff; border: 1px solid rgba(88,101,242,0.35); }
.cmd-perm.mod { background: rgba(232,56,47,0.1); color: #ff8a80; border: 1px solid rgba(232,56,47,0.3); }
.cmd-perm.admin { background: var(--lime-dim); color: var(--lime); border: 1px solid var(--border); }
.cmd-head > svg { width: 18px; height: 18px; color: var(--text-dim); flex-shrink: 0; transition: transform 0.25s; }
.cmd-card.open .cmd-head > svg { transform: rotate(180deg); color: var(--lime); }
.cmd-body { display: none; border-top: 1px solid var(--border-soft); padding: 22px; }
.cmd-card.open .cmd-body { display: block; }
.cmd-body dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 18px; font-size: 14px; }
.cmd-body dt { color: var(--text-dim); font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 2px; }
.cmd-body dd { color: var(--text-muted); overflow-wrap: anywhere; }
.cmd-body dd code { color: var(--lime); background: rgba(168,225,12,0.08); padding: 2px 8px; border-radius: 6px; font-size: 13px; overflow-wrap: anywhere; }
.cmd-example { margin-top: 16px; background: #0e0e11; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 14px 18px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); overflow-wrap: anywhere; }
.cmd-example .c { color: var(--text-dim); }

/* ---------- legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 22px; max-height: calc(100dvh - var(--header-h) - 48px);
  overflow-y: auto;
}
.toc h4 { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 14px; }
.toc a {
  display: block; text-decoration: none; color: var(--text-muted); font-size: 13.5px;
  padding: 9px 10px; border-radius: 7px; border-left: 2px solid transparent;
  transition: color 0.18s, background 0.18s; min-height: 40px;
}
.toc a:hover { color: var(--lime); background: var(--lime-dim); }
.toc a.active { color: var(--lime); border-left-color: var(--lime); background: var(--lime-dim); }
.legal-article h2 { font-size: 1.4rem; margin: 40px 0 14px; padding-top: 8px; display: flex; gap: 12px; align-items: baseline; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-article h2:first-child { margin-top: 0; }
.legal-article h2 .num { font-family: var(--font-mono); color: var(--lime); font-size: 0.95rem; flex-shrink: 0; }
.legal-article h3 { font-size: 1.05rem; margin: 24px 0 10px; color: var(--text); }
.legal-article p, .legal-article li { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; }
.legal-article ul, .legal-article ol { padding-left: 22px; margin-bottom: 16px; }
.legal-article li::marker { color: var(--lime); }
.legal-article a { color: var(--lime); }
.legal-article strong { color: var(--text); }
.legal-meta {
  display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; margin-top: 20px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim);
}
.legal-meta span { display: inline-flex; align-items: center; gap: 7px; }
.legal-meta svg { width: 14px; height: 14px; color: var(--lime); flex-shrink: 0; }
.legal-note {
  background: var(--blurple-dim); border: 1px solid rgba(88,101,242,0.3);
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0;
  font-size: 14.5px; color: var(--text-muted);
}
.legal-note b { color: var(--text); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; margin-top: 40px; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 32px; transition: border-color 0.25s, transform 0.25s;
  text-decoration: none; display: flex; flex-direction: column;
}
a.contact-card:hover { border-color: var(--lime); transform: translateY(-4px); }
.contact-card .ficon { margin-bottom: 16px; }
.contact-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.contact-card p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.contact-card .link-line { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 700; font-size: 14.5px; }
.contact-card .link-line svg { width: 16px; height: 16px; }
.ficon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lime-dim); border: 1px solid var(--border); color: var(--lime);
  flex-shrink: 0;
}
.ficon svg { width: 24px; height: 24px; }
.ficon.blurple { background: var(--blurple-dim); border-color: rgba(88,101,242,0.32); color: var(--blurple-hover); }
.faq-wrap { max-width: 780px; margin-top: 36px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; background: none; border: none; color: var(--text); font-size: 15.5px; font-weight: 600; padding: 20px 22px; cursor: pointer; text-align: left; min-height: 64px; font-family: var(--font-display); }
.faq-q svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; transition: transform 0.25s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 22px; color: var(--text-muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); background: #08080a; padding: 64px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; margin: 14px 0 20px; max-width: 300px; }
.footer-col h4 { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col a { display: flex; align-items: center; text-decoration: none; color: var(--text-muted); font-size: 14.5px; padding: 8px 0; min-height: 40px; transition: color 0.18s, padding-left 0.18s; }
.footer-col a:hover { color: var(--lime); padding-left: 6px; }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a { text-decoration: none; color: var(--text-dim); transition: color 0.18s; padding: 8px 0; }
.footer-bottom .legal-links a:hover { color: var(--lime); }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.mini-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  border: 1px solid var(--border-soft); border-radius: 999px; padding: 8px 14px;
}
.mini-badge svg { width: 13px; height: 13px; color: var(--lime); flex-shrink: 0; }

/* ---------- misc ---------- */
.back-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 12px; cursor: pointer;
  background: var(--lime); color: var(--lime-ink); border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  box-shadow: 0 8px 22px rgba(168,225,12,0.3);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: var(--lime-hover); transform: translateY(-3px); }
.back-top svg { width: 20px; height: 20px; }

.page-hero { padding: calc(var(--header-h) + 72px) 0 28px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 14px; max-width: 20ch; }
.page-hero h1 .hl { color: var(--lime); }
.page-hero p { color: var(--text-muted); max-width: 62ch; font-size: 1.03rem; }

/* ---------- support page v2 ---------- */
.sup-hero { padding: calc(var(--header-h) + 64px) 0 12px; }
.sup-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.sup-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 18px; }
.sup-copy h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 14ch; }
.sup-copy h1 .hl { color: var(--lime); }
.sup-lede { color: var(--text-muted); font-size: 1.05rem; max-width: 44ch; margin: 0 0 22px; }
.sup-note { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--lime); border: 1px solid rgba(168, 225, 12, 0.28); background: rgba(168, 225, 12, 0.07); padding: 10px 16px; border-radius: 999px; margin: 0; }
.sup-note svg { width: 15px; height: 15px; flex: none; }
.sup-invite { position: relative; display: block; overflow: hidden; border-radius: 20px; padding: 36px 32px; background: linear-gradient(140deg, rgba(88, 101, 242, 0.22), rgba(88, 101, 242, 0.06) 55%, rgba(168, 225, 12, 0.06)); border: 1px solid rgba(88, 101, 242, 0.4); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.sup-invite:hover { transform: translateY(-4px); border-color: var(--blurple-hover); box-shadow: 0 18px 50px rgba(88, 101, 242, 0.25); }
.sup-invite-glow { position: absolute; top: -80px; right: -60px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(88, 101, 242, 0.35), transparent 70%); pointer-events: none; }
.sup-discord-ic { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; }
.sup-discord-ic svg { width: 26px; height: 26px; }
.sup-invite-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blurple-hover); display: block; margin-bottom: 10px; }
.sup-invite h2 { font-size: 1.7rem; margin: 0 0 10px; letter-spacing: -0.02em; }
.sup-invite p { color: var(--text-muted); margin: 0 0 22px; max-width: 38ch; }
.sup-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--blurple); color: #fff; font-weight: 700; padding: 13px 22px; border-radius: 12px; }
.sup-cta svg { width: 16px; height: 16px; }
.chan-sec { padding: 56px 0 8px; }
.chan-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 26px 8px; border-top: 1px solid var(--border-soft); transition: background 0.2s ease, padding 0.2s ease; }
.chan-row:last-child { border-bottom: 1px solid var(--border-soft); }
.chan-row:hover { background: rgba(168, 225, 12, 0.04); padding-left: 16px; }
.chan-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border-soft); color: var(--lime); }
.chan-ic svg { width: 22px; height: 22px; }
.chan-body { display: flex; flex-direction: column; gap: 4px; }
.chan-t { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.chan-d { color: var(--text-muted); font-size: 0.95rem; }
.chan-go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13.5px; color: var(--lime); white-space: nowrap; }
.chan-go svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.chan-row:hover .chan-go svg { transform: translateX(4px); }
.faq-sec { padding: 64px 0 96px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .discord-mock { margin: 0 auto; transform: rotate(0deg); max-width: 560px; }
  .feat-split { grid-template-columns: 1fr; gap: 40px; }
  .feat-sticky { position: static; }
  .cmd-preview { grid-template-columns: 1fr; }
  .cmd-panel { position: static; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-split { grid-template-columns: 1fr; gap: 32px; padding: 48px 36px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 22px 0; }
}
@media (max-width: 680px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .hero .lead { font-size: 1.02rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .strip-label { display: none; }
  .photo-grid { grid-template-columns: 1fr; }
  .cmd-body dl { grid-template-columns: 1fr; gap: 4px; }
  .cmd-body dt { padding-top: 10px; }
  .cmd-head { flex-wrap: wrap; gap: 10px; row-gap: 8px; }
  .cmd-name { min-width: 0; }
  .cmd-row code { min-width: 0; }
  .cta-split { padding: 40px 26px; border-radius: 20px; }
  .cta-split .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .feat-row { grid-template-columns: 48px 1fr; gap: 14px; padding: 22px 0; }
  .feat-row .ficon { width: 44px; height: 44px; border-radius: 12px; }
  .back-top { bottom: 18px; right: 18px; }
  .sup-grid { grid-template-columns: 1fr; gap: 32px; }
  .sup-invite { padding: 30px 24px; }
  .sup-cta { width: 100%; justify-content: center; }
  .chan-row { grid-template-columns: 48px minmax(0, 1fr); row-gap: 10px; padding: 22px 4px; }
  .chan-ic { width: 44px; height: 44px; border-radius: 12px; }
  .chan-go { grid-column: 2; justify-self: start; }
  .faq-sec { padding: 48px 0 72px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .strip-row { animation: none; }
  .strip-track { overflow-x: auto; }
}
