/* The public site's look (features/web/site.py): the front page and the Terms, Privacy and Refunds pages. */
:root { --bg: #f4f1e9; --panel: #fffdf8; --ink: #26221c; --muted: #6e6658; --line: #e1dacb; --soft: #efe9dc;
  --accent: #9a2e21; --accent-ink: #fff; --discord: #5865f2; --gold: #a8741a; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #151411; --panel: #1e1c18; --ink: #ece6da; --muted: #a39a89; --line: #36312a; --soft: #26231e;
    --accent: #e0745c; --accent-ink: #1a0f0c; --gold: #e2b24f; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); }
a { color: var(--accent); }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }

/* the bar at the top */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.top nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.top nav a.link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a.link:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav a.link { display: none; } }

/* buttons */
.button { display: inline-block; padding: .65rem 1.2rem; border-radius: 9px; background: var(--discord); color: #fff;
  text-decoration: none; font-weight: 700; border: 1px solid transparent; white-space: nowrap; }
.button:hover { filter: brightness(.92); }
.button.alt { background: var(--panel); color: var(--ink); border-color: var(--line); }
.button.alt:hover { background: var(--soft); filter: none; }
.button.small { padding: .4rem .85rem; font-size: .9rem; }
.button[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }

/* the first screen */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 56px 16px 40px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0; max-width: 34rem; }
.hero .free { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.hero img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); display: block;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); aspect-ratio: 1; object-fit: cover; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-top: 32px; } }

/* sections */
section { padding: 44px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 1.7rem; margin: 0 0 6px; letter-spacing: -.01em; }
section p.sub { color: var(--muted); margin: 0 0 24px; max-width: 42rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card .ico { font-size: 1.6rem; line-height: 1; }
.card h3 { margin: 10px 0 4px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 14px;
  list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 8px; }
.steps b { display: block; }
.steps span { color: var(--muted); font-size: .95rem; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 14px; }
.price { display: flex; flex-direction: column; gap: 6px; }
.price.free { border-color: var(--accent); }
.price .amount { font-size: 1.6rem; font-weight: 800; }
.price .amount small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.price ul { margin: 6px 0 12px; padding-left: 20px; color: var(--muted); font-size: .95rem; }
.price .button { margin-top: auto; text-align: center; }
.note { color: var(--muted); font-size: .9rem; margin-top: 14px; }

/* custom games */
.hire { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.hire p { margin: 0; max-width: 40rem; color: var(--muted); }
.hire h2 { margin-bottom: 6px; }

/* the legal pages */
.doc { max-width: 46rem; padding: 40px 16px 56px; }
.doc h1 { font-size: 2rem; margin: 0 0 4px; }
.doc h2 { font-size: 1.2rem; margin: 28px 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 20px; }
.doc .draft { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: .92rem; }
.doc li { margin: 4px 0; }

/* the bottom */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); }
