/* Game Bot Creator website: shared tokens + layout. Light/dark via prefers-color-scheme
   or data-theme on <html> (set by site.js from the theme toggle). */
:root {
  --bg: #FAFAF9;
  --bg-alt: #F3F1F6;
  --ink: #1C1B1F;
  --muted: #6B6870;
  --accent: #6F42F5;
  --accent-ink: #FFFFFF;
  --accent-soft: #F0ECFE;
  --line: #E4E1E8;
  --card: #FFFFFF;
  --good: #1F8A4C;
  --bad: #C2413A;
  --shadow: 0 1px 2px rgba(28, 27, 31, .06), 0 8px 24px rgba(28, 27, 31, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17151C;
    --bg-alt: #1B1922;
    --ink: #F2F0F5;
    --muted: #9C97A8;
    --accent: #A98CFF;
    --accent-ink: #17151C;
    --accent-soft: #241F33;
    --line: #2E2A3B;
    --card: #1D1A24;
    --good: #5BC98A;
    --bad: #F0857D;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17151C;
  --bg-alt: #1B1922;
  --ink: #F2F0F5;
  --muted: #9C97A8;
  --accent: #A98CFF;
  --accent-ink: #17151C;
  --accent-soft: #241F33;
  --line: #2E2A3B;
  --card: #1D1A24;
  --good: #5BC98A;
  --bad: #F0857D;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.mono {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--accent-ink); }
.theme-toggle {
  background: none; border: 1px solid var(--line); color: var(--muted);
  width: 34px; height: 34px; border-radius: 8px; cursor: pointer; font-size: 15px;
}
@media (max-width: 720px) { .nav a.hide-sm { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15.5px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary[disabled] { opacity: .55; cursor: not-allowed; filter: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 7px 14px; font-size: 14px; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 12px;
}
h1 {
  font-size: clamp(32px, 5vw, 52px); line-height: 1.08; font-weight: 600;
  letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance;
}
h2 {
  font-size: clamp(24px, 3.2vw, 32px); line-height: 1.2; font-weight: 600;
  letter-spacing: -.01em; margin: 0 0 12px; text-wrap: balance;
}
h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.lede { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0 0 28px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }

/* hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 5fr 6fr; } }
.hero-grid > *, .grid > *, .gallery > * { min-width: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 16px; }
.shot {
  border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--card); overflow: hidden;
}

/* grids + cards */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px;
}
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .icon {
  width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 14px; font-size: 18px;
}

/* compare */
.compare li { list-style: none; padding-left: 26px; position: relative; margin: 10px 0; font-size: 15.5px; }
.compare ul { padding: 0; margin: 12px 0 0; }
.compare .no li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 600; }
.compare .yes li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 600; }
.compare .yes { border-color: var(--accent); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 14px;
}
.step p { color: var(--muted); margin: 0; }

/* gallery */
.gallery { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* pricing */
.price-card { max-width: 440px; margin: 0 auto; text-align: center; padding: 32px 28px; border-color: var(--accent); }
.price { font-size: 48px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 2px; }
.price-sub { color: var(--muted); margin: 0 0 22px; font-size: 14.5px; }
.price-card ul { text-align: left; padding: 0; margin: 0 0 26px; }
.price-card li { list-style: none; padding-left: 26px; position: relative; margin: 9px 0; font-size: 15.5px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 600; }
.price-card .btn { width: 100%; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 14px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* legal pages */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(28px, 4vw, 36px); }
.doc h2 { font-size: 21px; margin: 36px 0 8px; }
.doc p, .doc li { font-size: 15.5px; }
.doc ul { padding-left: 20px; }
.doc .lede { font-size: 16.5px; }
.ui {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; font-size: .92em;
  background: var(--accent-soft); color: var(--accent); padding: 1px 6px; border-radius: 4px; font-weight: 500;
}
.callout { background: var(--accent-soft); border-radius: 10px; padding: 14px 18px; margin: 24px 0; }
.table-wrap { overflow-x: auto; margin: 14px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--card); border: 1px solid var(--line); }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-family: "IBM Plex Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
