/* Servicely brand layer for the documentation site.

   Loaded after themes.css and before style.css. themes.css is the application
   design system's copy and is never edited; this file re-points its tokens to
   the values measured on www.servicely.ai on 3 December 2026, and adds the
   --brand-* tokens the marketing look needs. It is the only stylesheet that
   holds literal values: style.css still uses var(--token) only.

   The overrides sit on :root, so a data-theme attribute (a customer theme)
   still wins for the application tokens. See docs/site-design.md, "Design
   pass 2". */

@font-face{font-family:'Satoshi';font-weight:400;font-display:swap;src:url("Satoshi-400.woff2") format("woff2")}
@font-face{font-family:'Satoshi';font-weight:500;font-display:swap;src:url("Satoshi-500.woff2") format("woff2")}
@font-face{font-family:'Satoshi';font-weight:700;font-display:swap;src:url("Satoshi-700.woff2") format("woff2")}
@font-face{font-family:'JetBrains Mono';font-weight:400 500;font-display:swap;src:url("JetBrainsMono.woff2") format("woff2")}

:root{
  /* Palette */
  --brand-midnight:#02012d;
  --brand-denim:#2a2a4f;
  --brand-body:#3a3a55;
  --brand-muted:#50576b;
  --brand-line:#d8e3ee;
  --brand-light-blue:#e9f3fb;
  --brand-medium-blue:#c7e1f5;
  --brand-cornflower:#afd3f0;
  --brand-mandarin:#fdaa44;
  --brand-mandarin-hover:#f79a2b;
  --brand-vivid:#fb5b31;
  /* Vivid Orange is 3.1:1 on white; orange text uses this shade (5.0:1) */
  --brand-orange-text:#c8401a;
  --brand-on-dark:#b6c0dc;
  --brand-on-dark-line:rgba(255,255,255,.14);
  /* Callout families: surface, then the icon tile */
  --brand-tip-bg:#ecfdf3;
  --brand-tip:#027a48;
  --brand-important-bg:#fff4e2;
  --brand-caution-bg:#fef3f2;
  --brand-caution:#b42318;
  /* Code: a white panel under a Light Blue bar. Every token colour keeps
     4.5:1 on white. */
  --brand-code-bg:#ffffff;
  --brand-code-keyword:#c8401a;
  --brand-code-string:#0050bd;
  --brand-code-number:#7a3fc4;
  --brand-code-type:#066a40;
  --brand-code-property:#0b6578;
  --brand-code-punctuation:#5f6780;
  --brand-code-comment:#5f6780;
  /* Shape and depth */
  --brand-radius-tile:12px;
  --brand-radius-card:16px;
  --brand-radius-panel:24px;
  --brand-radius-key:6px;
  --brand-shadow-card:0 18px 40px -24px rgba(2,1,45,.25);
  --brand-shadow-search:0 18px 40px -24px rgba(2,1,45,.3);
  --brand-shadow-panel:0 30px 70px -20px rgba(2,1,45,.4);
  --brand-shadow-float:0 8px 24px rgba(2,1,45,.12);
  --brand-tracking-tight:-.02em;
  --brand-tracking-eyebrow:.1em;

  /* Application tokens, re-pointed */
  --font-family:'Satoshi',Inter,system-ui,-apple-system,sans-serif;
  --font-family-display:var(--font-family);
  --font-family-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --font-size-h1:44px;--line-height-h1:1.07;
  --font-size-h2:28px;--line-height-h2:1.15;
  --font-size-h3:20px;--line-height-h3:1.25;
  --font-size-h4:18px;--line-height-h4:1.3;
  --font-size-h5:17px;--line-height-h5:1.35;
  --font-size-h6:16px;--line-height-h6:1.4;
  --font-size-body:16px;--line-height-body:1.65;
  --font-size-small:14px;--line-height-small:1.5;
  --text:var(--brand-midnight);
  --text-muted:var(--brand-muted);
  --header-title-color:var(--brand-midnight);
  --link-color:var(--brand-midnight);
  --body-bg:white;
  --surface-sunken:var(--brand-light-blue);
  --border:var(--brand-line);
  --primary:var(--brand-midnight);
  --primary-dark:var(--brand-midnight);
  --primary-light:var(--brand-light-blue);
  --primary-bright:var(--brand-cornflower);
  --radius-sm:10px;
  --radius-md:12px;
  --radius-lg:16px;
  --focus-ring:0 0 0 2px white,0 0 0 4px var(--brand-denim);
  --input-focus-ring:0 0 0 3px var(--brand-medium-blue);
  --site-header-bg:white;
  --site-header-text:var(--brand-midnight);
  --tab-active-accent:var(--brand-vivid);
  --tab-active-text:var(--brand-midnight);
  --tab-font-size:16px;
  --tab-font-weight:var(--font-weight-medium);
  --nav-item-font-size:15px;
  --nav-item-radius:10px;
  --menu-sub-item-hover-bg:var(--brand-light-blue);
  --menu-active-item-bg:var(--brand-light-blue);
  --menu-active-item-shadow:none;
  --menu-open-icon-color:var(--brand-midnight);
  --grid-header-bg:var(--brand-light-blue);
  --grid-header-text:var(--brand-midnight);
  --grid-row-hover-bg:color-mix(in srgb,var(--brand-light-blue) 45%,white);
  --btn-height:44px;
  --btn-padding:0 22px;
  --btn-font-size:15px;
  --btn-line-height:1.2;
  --btn-font-weight:var(--font-weight-bold);
  --btn-radius-ng:var(--radius-pill);
  --btn-radius-ng-small:var(--radius-pill);
  --btn-ng-primary-bg:var(--brand-mandarin);
  --btn-ng-primary-hover-bg:var(--brand-mandarin-hover);
  --btn-ng-outline-border:var(--brand-medium-blue);
  --btn-ng-outline-text:var(--brand-midnight);
  --btn-ng-outline-hover-bg:var(--brand-light-blue);
  --btn-ng-outline-hover-text:var(--brand-midnight);
  --select-radius:var(--brand-radius-tile);
  --dialog-radius:var(--brand-radius-card);
}
