/* ============================================================
   DigitBot — public landing page.

   Its own sheet rather than the dashboard's: the dashboard is a tool
   and follows the viewer's light/dark choice, this is a shop window
   and is always the one dark, navy look (the family look of Traces
   on dg-edge.com). Accent is the dashboard's indigo, so signing in
   does not feel like changing sites.
   ============================================================ */

:root {
  --bg-0: #040a1c;
  --bg-1: #0a1733;
  --bg-2: #10224a;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef2ff;
  --muted: #a9b4d0;
  --subtle: #7b87a6;
  --accent: #6d7de6;
  --accent-2: #8b9bff;
  --accent-soft: rgba(109, 125, 230, 0.16);
  --live: #ff4d5e;
  --radius: 14px;
  --shell: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(ellipse 120% 60% at 55% 0%, var(--bg-2) 0%, var(--bg-1) 45%, var(--bg-0) 100%) no-repeat;
  background-color: var(--bg-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
.ms {
  font-family: 'Material Symbols Outlined'; font-weight: 400; font-style: normal;
  font-size: 20px; line-height: 1; display: inline-block; vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--panel-2); }

/* ── Nav: a frosted bar that floats over the page ─────────────── */
.lp-nav-wrap { position: sticky; top: 12px; z-index: 50; padding: 0 16px; }
.lp-nav {
  max-width: var(--shell); margin: 12px auto 0;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 12px 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line); border-radius: 14px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lp-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.lp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); display: inline-block; }
.lp-links { display: flex; gap: 4px; margin-left: auto; }
.lp-links a { padding: 8px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.lp-links a:hover { color: var(--text); background: var(--panel-2); }
.lp-menu { display: none; }

/* ── Buttons ──────────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 10px;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(109, 125, 230, .7); }
.lp-btn-primary:hover { background: var(--accent-2); }
.lp-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .28); color: var(--text); }
.lp-btn-ghost:hover { border-color: rgba(255, 255, 255, .5); }
.lp-btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.lp-hero {
  max-width: var(--shell); margin: 0 auto; padding: 88px 24px 64px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.lp-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lp h1 { margin: 0; font-size: clamp(38px, 5.2vw, 60px); font-weight: 900; line-height: 1.04; letter-spacing: -0.035em; }
.lp-hl { color: var(--accent-2); }
.lp-lede { margin: 22px 0 0; max-width: 560px; font-size: 18px; color: var(--muted); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* The product, shown as a live chat rather than a screenshot. */
.lp-chat {
  background: rgba(8, 16, 38, .82); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(109, 125, 230, .08);
  overflow: hidden;
}
.lp-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.lp-live { padding: 2px 7px; border-radius: 4px; background: var(--live); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.lp-chat-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-chat-viewers { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--subtle); }
.lp-chat-viewers .ms { font-size: 16px; }
.lp-chat-list { list-style: none; margin: 0; padding: 10px 8px 14px; font-size: 14px; }
.lp-chat-list li { padding: 7px 10px; border-radius: 9px; color: #d6ddf2; overflow-wrap: anywhere; }
.lp-chat-list b { margin-right: 6px; font-weight: 700; }
.lp-chat-list .u1 { color: #ffb86b; } .lp-chat-list .u2 { color: #7ee2a8; }
.lp-chat-list .u3 { color: #7cc7ff; } .lp-chat-list .u4 { color: #ff9ecb; }
.lp-chat-list .bot { background: var(--accent-soft); }
.lp-chat-list .bot b { color: var(--accent-2); }
.lp-chat-list .bot b::after { content: 'BOT'; margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 9px; letter-spacing: .05em; vertical-align: 2px; }
.lp-badge { margin-right: 6px; padding: 1px 6px; border-radius: 4px; background: rgba(126, 226, 168, .15); color: #7ee2a8; font-size: 11px; font-weight: 600; }
.lp-chat-list .superchat { background: rgba(255, 184, 107, .12); }
.lp-amount { margin-right: 6px; padding: 1px 6px; border-radius: 4px; background: #ffb86b; color: #1b1203; font-size: 11px; font-weight: 800; }
.lp-link { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .lp-chat-list li { animation: lp-in .5s ease both; }
  .lp-chat-list li:nth-child(2) { animation-delay: .15s; } .lp-chat-list li:nth-child(3) { animation-delay: .3s; }
  .lp-chat-list li:nth-child(4) { animation-delay: .45s; } .lp-chat-list li:nth-child(5) { animation-delay: .6s; }
  .lp-chat-list li:nth-child(6) { animation-delay: .75s; } .lp-chat-list li:nth-child(7) { animation-delay: .9s; }
  .lp-chat-list li:nth-child(8) { animation-delay: 1.05s; }
}
@keyframes lp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── Facts strip ──────────────────────────────────────────────── */
.lp-facts {
  max-width: var(--shell); margin: 0 auto 24px; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.lp-facts > div {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 24px;
  background: var(--panel); border: 1px solid var(--line);
}
.lp-facts > div:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.lp-facts > div:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.lp-facts > div + div { border-left: 0; }
.lp-fact-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.lp-facts strong { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.lp-facts span:last-child { font-size: 14px; color: var(--muted); }

/* ── Sections ─────────────────────────────────────────────────── */
.lp-section { max-width: var(--shell); margin: 0 auto; padding: 88px 24px 0; }
.lp-narrow { max-width: 820px; }
.lp h2 { margin: 0 0 36px; max-width: 760px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }

.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-card {
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.lp-card:hover { border-color: rgba(139, 155, 255, .45); transform: translateY(-2px); }
.lp-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-2); font-size: 24px; }
.lp-card h3 { margin: 18px 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.lp-card p { margin: 0; font-size: 15px; color: var(--muted); }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.lp-steps li { position: relative; padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.lp-step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; }
.lp-steps h3 { margin: 16px 0 8px; font-size: 18px; font-weight: 700; }
.lp-steps p { margin: 0; font-size: 15px; color: var(--muted); }

.lp-know { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-know > div { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, .18); }
.lp-know .ms { color: var(--accent-2); font-size: 24px; margin-bottom: 4px; }
.lp-know strong { font-size: 16px; }
.lp-know span:last-child { font-size: 14px; color: var(--muted); }

.lp details { border-bottom: 1px solid var(--line); }
.lp details:first-of-type { border-top: 1px solid var(--line); }
.lp summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none;
}
.lp summary::-webkit-details-marker { display: none; }
.lp summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--subtle); transition: transform .2s ease; }
.lp details[open] summary::after { transform: rotate(45deg); }
.lp details p { margin: 0 4px 20px; color: var(--muted); }

.lp-final {
  max-width: var(--shell); margin: 96px auto 0; padding: 64px 24px;
  text-align: center; border-radius: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(109, 125, 230, .35), transparent 70%), var(--panel);
  border: 1px solid var(--line);
}
.lp-final h2 { margin: 0 auto 12px; }
.lp-final p { margin: 0 0 28px; color: var(--muted); font-size: 17px; }

.lp-foot {
  max-width: var(--shell); margin: 0 auto; padding: 40px 24px 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 14px; color: var(--subtle);
}
.lp-foot > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.lp-foot a { text-decoration: none; }
.lp-foot a:hover { color: var(--text); }

.lp :focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

/* ── Smaller screens ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .lp-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .lp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .lp-nav { padding: 8px 8px 8px 16px; gap: 8px; }
  .lp-nav > .lp-btn { margin-left: auto; }
  .lp-menu {
    display: inline-grid; place-items: center; width: 40px; height: 40px;
    border: 0; border-radius: 9px; background: transparent; color: var(--text); cursor: pointer;
  }
  .lp-menu .ms { font-size: 24px; }
  .lp-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
    flex-direction: column; padding: 8px; margin: 0;
    background: rgba(8, 16, 38, .96); border: 1px solid var(--line); border-radius: 14px;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .lp-links.open { display: flex; }
  .lp-links a { padding: 12px 14px; font-size: 15px; }

  .lp-hero { padding: 40px 16px 48px; }
  .lp-lede { font-size: 16px; }
  .lp-cta .lp-btn { flex: 1 1 auto; }
  .lp-facts { grid-template-columns: 1fr; padding: 0 16px; }
  .lp-facts > div, .lp-facts > div:first-child, .lp-facts > div:last-child { border-radius: 0; }
  .lp-facts > div:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .lp-facts > div:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
  .lp-facts > div + div { border-left: 1px solid var(--line); border-top: 0; }
  .lp-section { padding: 64px 16px 0; }
  .lp-grid, .lp-steps, .lp-know { grid-template-columns: 1fr; }
  .lp-final { margin: 72px 16px 0; padding: 48px 20px; }
  .lp-foot { padding: 32px 16px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-btn, .lp-card { transition: none; }
}

/* ── Pieces the Discord page uses ─────────────────────────────── */
.lp-mention { padding: 0 3px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }
.lp-src { display: inline-block; margin-left: 4px; color: var(--subtle); font-size: 12px; }
.lp-chat-list .lp-mod {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 4px;
  background: rgba(255, 184, 107, .10); border-left: 3px solid #ffb86b; border-radius: 6px; color: #e9dcc7;
}
.lp-chat-list .lp-mod .ms { color: #ffb86b; font-size: 18px; margin-top: 1px; }
.lp-chat-list .lp-mod em { color: var(--subtle); font-style: normal; }
.lp-cmds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lp-cmds span {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px;
  border-radius: 12px; background: var(--panel); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.lp-cmds code { align-self: flex-start; background: var(--accent-soft); color: var(--accent-2); font-size: 14px; font-weight: 700; }
@media (max-width: 960px) { .lp-cmds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .lp-cmds { grid-template-columns: 1fr; } }

/* Privacy policy: a single readable column */
.lp-legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 24px; font-size: 16px; line-height: 1.7; }
.lp-legal h1 { margin: 0 0 6px; font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; }
.lp-legal-date { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
.lp-legal h2 { margin: 40px 0 10px; font-size: 21px; letter-spacing: -0.01em; }
.lp-legal p, .lp-legal li { color: var(--muted); }
.lp-legal strong, .lp-legal em { color: var(--text); }
.lp-legal ul { padding-left: 22px; }
.lp-legal li { margin: 6px 0; }
.lp-legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lp-legal code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: rgba(139, 155, 255, .12); }

