/* ============================================================================
 * brand.css — the geoDB lockup (mark + wordmark) and app-icon tile.
 * Linked by {% brand_head %} on every page; markup comes ONLY from
 * accounts/templatetags/brand_tags.py. Registry: accounts/brand.py.
 *
 * The mark's colors are custom properties, one block per tone. `auto` follows
 * the theme toggle: its dark values are defined in brand_tokens.css, which is
 * linked exactly on the themed pages (v2 shell, landing v3, auth pages, the
 * skinned marketplace). Elsewhere `auto` stays light, matching the page.
 * ========================================================================== */
@font-face{font-family:'Archivo';src:url('../fonts/archivo-800.woff2') format('woff2');font-weight:800;font-display:swap;}
@font-face{font-family:'Quicksand';src:url('../fonts/quicksand-500.woff2') format('woff2');font-weight:500;font-display:swap;}

.gdb-brand{
  --gdb-bm-1:#5600ea; --gdb-bm-2:#0b8672; --gdb-bm-3:#a97b12; --gdb-bm-top:#c3a6f6; --gdb-bm-ink:#1b1926;
  --gdb-wm-ink:#1b1926; --gdb-wm-io:#5600ea;
  display:inline-flex; align-items:center; gap:.24em; line-height:1; white-space:nowrap;
  vertical-align:middle; text-decoration:none;
}
.gdb-brand--dark{
  --gdb-bm-1:#a58bff; --gdb-bm-2:#3fbfa6; --gdb-bm-3:#d4a63f; --gdb-bm-top:#51467b; --gdb-bm-ink:#eceaf2;
  --gdb-wm-ink:#eceaf2; --gdb-wm-io:#a58bff;
}
.gdb-brand--reverse{
  --gdb-bm-1:#ffffff; --gdb-bm-2:rgba(255,255,255,.58); --gdb-bm-3:#ffc93a; --gdb-bm-top:rgba(255,255,255,.34); --gdb-bm-ink:#ffffff;
  --gdb-wm-ink:#ffffff; --gdb-wm-io:rgba(255,255,255,.72);
}
/* `auto` → dark lives in brand_tokens.css, so it only applies on pages that load the theme system. */

.gdb-mark{display:block; flex:none; overflow:visible;}
.gdb-wordmark{font-family:'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight:800; letter-spacing:-.03em; color:var(--gdb-wm-ink);}
.gdb-wordmark__io{color:var(--gdb-wm-io);}
.gdb-brand--no-io .gdb-wordmark__io{display:none;}
/* Legacy identity (GEODB_BRAND=current): the whole word in the brand color, Quicksand. */
.gdb-wm--quicksand .gdb-wordmark{font-family:'Quicksand', system-ui, sans-serif; font-weight:500; letter-spacing:-.01em; color:var(--gdb-wm-io);}
.gdb-wm--quicksand .gdb-wordmark__io{color:inherit;}

.gdb-icon{display:block; flex:none;}
