/*
 * The brand layer shared by both connector surfaces: the wp-admin pages and
 * the inline editor overlay.
 *
 * These screens run inside someone else's WordPress, so everything here is
 * either a custom property or scoped by the callers — nothing bleeds into the
 * host page. The palette and the weight roles are the staff console's, so a
 * site owner who sees both never has to wonder whether they are the same
 * product.
 *
 * Archivo is the WP SEO AI brand face, vendored here in the same three cuts the
 * console serves (400 body, 500 interactive, 600 headings). It ships inside the
 * plugin rather than loading from Google: a client site must not make a request
 * to a third party because our admin screen was opened. `font-display: swap`
 * keeps a slow disk from blanking the chrome.
 */

@font-face {
  font-family: "AgencyArchivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-v19-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "AgencyArchivo";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/archivo-v19-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "AgencyArchivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/archivo-v19-latin-600.woff2") format("woff2");
}

:root {
  /* Palette — Agency Kit's light "Briefing" set, so a client who sees both
     never has to wonder whether they are the same product. */
  --agency-paper: #f6f5fb;
  --agency-panel: #ffffff;
  --agency-card: #ffffff;
  --agency-raised: #faf9fd;

  --agency-line-soft: rgba(36, 24, 74, 0.08);
  --agency-line: rgba(36, 24, 74, 0.14);
  --agency-line-strong: rgba(36, 24, 74, 0.28);

  --agency-ink: #474156;
  --agency-bright: #17141f;
  --agency-muted: #6e687d;

  /* One hue, spent only on the primary action, focus, and the live selection. */
  --agency-accent: #7a2fc0;
  --agency-accent-soft: #8b3fe0;
  --agency-accent-ink: #ffffff;
  --agency-accent-dim: #f3eafe;
  --agency-fill: linear-gradient(180deg, #9a46ee 0%, #7b30c2 100%);
  --agency-fill-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 8px 18px -10px rgba(122, 47, 192, 0.8);

  /* Status is a dot plus a word — never a filled badge. */
  --agency-ok: #1d7f54;
  --agency-ok-dot: #34ad78;
  --agency-warn: #93570a;
  --agency-warn-dot: #e09a2f;
  --agency-bad: #b4232a;
  --agency-danger: #e5484d;

  --agency-radius-sm: 11px;
  --agency-radius: 16px;
  --agency-radius-lg: 20px;
  --agency-shadow: 0 0 0 1px rgba(36, 24, 74, 0.08),
    0 1px 2px rgba(28, 18, 60, 0.03);
  --agency-shadow-raised: 0 0 0 1px rgba(36, 24, 74, 0.08),
    0 14px 34px -20px rgba(48, 22, 102, 0.24);
  --agency-glow: radial-gradient(60% 120% at 0% 0%, rgba(183, 72, 255, 0.12), transparent 62%),
    radial-gradient(40% 90% at 100% 0%, rgba(255, 168, 120, 0.1), transparent 62%);

  /* One face, two roles. Mono is reserved for values you might copy: a URL, a
     region key, a secret — never for labels or headings. */
  --agency-face: "AgencyArchivo", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --agency-mono-face: ui-monospace, "SF Mono", "JetBrains Mono", Menlo,
    Consolas, monospace;

  /* The headline treatment, as the brand sets it. */
  --agency-track-display: -0.025em;
  --agency-leading-display: 1.08;
  /* The wordmark's own lockup: "A G E N C Y", wide, under the mark. */
  --agency-track-wordmark: 0.3em;
  --agency-track-kicker: 0.13em;
}
