/* Passaria theme override (T435) — loaded after tailwind.css on the
   Passaria host only. Re-points the same semantic design tokens CertLand's
   compiled CSS reads (static/css/input.css @layer base :root) at Passaria's
   own palette, so existing bg-surface / text-ink / bg-brand / border-line
   utility classes render correctly without touching Tailwind's build.
   Tokens sourced from claude/passaria_brand/DESIGN.md — fixed light theme,
   single blue accent, no gradients, no dark mode, radius <= 12px. */

:root {
  /* canvas / surfaces */
  --bg:            255 255 255;   /* #ffffff — fixed white canvas */
  --surface:       255 255 255;   /* #ffffff — cards */
  --surface-2:     246 245 244;   /* #f6f5f4 — alt sections / nested cards */

  /* text */
  --heading:        26  26  25;   /* #1a1a19 — ink */
  --body:            49  48  46;   /* #31302e — copy */
  --muted:          120 119 116;   /* #787774 — secondary text */

  /* borders */
  --border:         234 234 234;   /* #eaeaea — hairline */

  /* accent — single blue, no purple/gradient */
  --accent:          31  79 191;   /* #1f4fbf */
  --accent-strong:   23  57 154;   /* #17399a — hover/pressed */
  --accent-on:      255 255 255;

  /* chips / tinted surfaces */
  --chip:           238 243 253;   /* #eef3fd — accent tint */
  --chip-ink:        26  67 166;   /* #1a43a6 — accent text */

  /* shape / elevation — flat, radius <= 12px, shadow <= 0 1px 2px */
  --radius-card: 12px;
  --radius-btn:  8px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-btn:  none;
  --shadow-cta:  none;

  /* no gradients on this brand — solid fallbacks for components that use them */
  --hero-glow: none;
  --band: rgb(26, 26, 25);

  /* typography */
  --font-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --font-sans: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

/* Passaria never runs in dark mode — if the class ever ends up on <html>
   (e.g. stale localStorage from a CertLand session on a shared browser),
   keep the light tokens rather than falling back to CertLand's .dark set. */
html.dark {
  --bg:            255 255 255;
  --surface:       255 255 255;
  --surface-2:     246 245 244;
  --heading:        26  26  25;
  --body:           49  48  46;
  --muted:         120 119 116;
  --border:        234 234 234;
  --accent:         31  79 191;
  --accent-strong:  23  57 154;
  --chip:          238 243 253;
  --chip-ink:       26  67 166;
}

html { color-scheme: light; font-family: var(--font-sans); }
body { font-family: var(--font-sans); }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }

/* Buttons/CTAs use radius <= 12px and no shadow per DESIGN.md §4/§6. */
.cl-btn, .cl-btn-ghost, .cl-card, .cl-chip { box-shadow: none; }
.cl-chip { border-radius: 6px; }
