/* bogil.app - the shared skin for the pages that are not the invite.
 *
 * One file rather than a <style> block per page: there are three of them now
 * and a policy page that has drifted from the home page looks like somebody
 * else's site, which is the last impression a privacy policy should give.
 *
 * The invite (k.html) and room (o.html) pages keep their own inline styles on
 * purpose - they are single-purpose landing pages that must paint instantly
 * from a cold cache, and one fewer request matters more there. */

:root {
  --ink: #16181D;
  --muted: #7A8092;
  --faded: #A8AEBC;
  --brand: #7A53FC;        /* the mark's own purple, sampled from the logo */
  --brand-soft: #F3EEFF;
  --green: #00C27A;
  --green-soft: #E9F8F1;
  --you: #3B82F6;
  --peer: #FF6B4A;
  --tint: #F3F4F8;
  --line: #ECEEF2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.wrap { max-width: 640px; margin: 0 auto; padding: 36px 24px 48px; }
.wrap.narrow { max-width: 420px; }

/* --- the mark, wherever it appears --- */
.mark { display: block; margin: 0 auto; }
.mark.big { width: 96px; height: 96px; }
.mark.small { width: 40px; height: 40px; margin: 0; }

/* --- home --- */
.hero { text-align: center; }
.hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -1px; margin: 18px 0 0; }
.lead { font-size: 16px; font-weight: 500; color: var(--muted); margin: 10px 0 0; }

/* Badges, not buttons. Something that cannot be pressed should not look
   pressable. */
.soon { margin-top: 26px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.soon span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 16px; background: var(--tint); border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.soon svg { width: 16px; height: 16px; flex: none; }
.soon-note { margin: 14px 0 0; font-size: 12.5px; font-weight: 600; color: var(--faded); }

.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--faded);
  margin: 42px 0 14px; text-transform: uppercase;
}

.card {
  padding: 18px; border-radius: 22px; margin-bottom: 12px;
  display: flex; gap: 14px; align-items: flex-start;
}
.card.canvas { background: var(--green-soft); }
.card.chain  { background: var(--brand-soft); }
.card.race   { background: #EEF4FF; }
.card .icon {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  background: #fff; display: grid; place-items: center;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0; font-size: 16px; font-weight: 800; }
.card p { margin: 4px 0 0; font-size: 13.5px; font-weight: 500; color: var(--muted); }

/* --- document pages --- */
.doc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.doc-head a { display: flex; }
.doc-head .title { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: 0.3px; }

.doc h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.6px; margin: 0; }
.doc .updated { font-size: 12.5px; font-weight: 700; color: var(--faded); margin: 8px 0 0; }
.doc h2 { font-size: 17px; font-weight: 800; margin: 34px 0 8px; }
.doc p, .doc li { font-size: 14.5px; font-weight: 500; color: #3F4657; }
.doc ul { padding-left: 20px; margin: 8px 0; }
.doc li { margin-bottom: 6px; }
.doc strong { font-weight: 700; color: var(--ink); }
.doc a { color: var(--brand); font-weight: 700; }

/* Pulled out of the flow: the things somebody actually came to the page to
   find, rather than the paragraph they would have to read to find them. */
.note {
  margin: 16px 0; padding: 16px 18px; border-radius: 18px;
  background: var(--brand-soft); font-size: 14px; font-weight: 600; color: #3F4657;
}
.note.plain { background: var(--tint); }

footer { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
footer p { margin: 0; font-size: 12px; font-weight: 700; color: var(--faded); }
footer nav { margin-bottom: 10px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
footer nav a { font-size: 12.5px; font-weight: 700; color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--brand); }
