/**
 * wAnywhere design tokens.
 * Human source of truth: /docs/design-system.md
 * Change the doc first, then this file. Do not invent a second palette.
 *
 * The theme does not load this sheet yet. Names here are the ones to use.
 * A var() in wa-redesign.css only resolves if the same name is set on
 * .wa-redesign-home or :root. Copy the name, not a new hex.
 *
 * Breakpoints cannot use var() in media queries. Use the literals below.
 *   1199px  dormant header compression
 *    992px  desktop nav, hero fills the viewport, trust bar overlaps
 *    860px  award panel stacks
 *    782px  admin bar is 46px
 *    767px  homepage mobile: 12px gutters, stacked actions, product stack
 *    700px  single column, section padding 64px
 */

:root {
  /* Color. Brand blue is rgb(21, 112, 239). */
  --wa-bg: #fff;
  --wa-bg-2: #f4f7fb;
  --wa-card: #fff;
  --wa-ink: #122033;
  --wa-muted: #5c6b7c;
  --wa-line: #e4ebf3;
  --wa-line-strong: #d5deea;
  --wa-accent: #1570ef;
  --wa-accent-ink: #fff;
  --wa-accent-hover: #0d5dcb;
  --wa-accent-deep: #1464d6;
  --wa-accent-bright: #0ea5e9;
  --wa-accent-soft: linear-gradient(180deg, #f0f7ff 0%, #e6f0ff 100%);
  --wa-nav: #1c2838;
  --wa-footer: #526070;
  --wa-meta: #7b8796;
  --wa-up: #0f9f6e;
  --wa-inverse: #0d1c33;
  --wa-inverse-muted: #c5d2e2;
  --wa-inverse-line: rgba(255, 255, 255, 0.28);
  --wa-gold: #e8d7a8;
  --wa-award-ink: #f7f4ee;
  --wa-award-meta: rgba(247, 244, 238, 0.72);
  --wa-star: #f5b400;
  --wa-star-empty: #d7deea;
  --wa-chip: #e7efff;
  --wa-chip-hover: #d7e4ff;
  --wa-cookie: #2c3340;
  --wa-grid: rgba(21, 112, 239, 0.11);
  --wa-spotlight: rgba(21, 112, 239, 0.12);
  --wa-icon-well: rgba(21, 112, 239, 0.14);

  --wa-hero-wash: linear-gradient(165deg, #eef6ff 0%, #f8fbff 48%, #fff 100%);
  --wa-hero-accent: linear-gradient(100deg, #1464d6 0%, #1570ef 45%, #0ea5e9 100%);
  --wa-award: linear-gradient(180deg, #0c1626 0%, #08111c 100%);
  --wa-gold-text: linear-gradient(100deg, #f8efd4 0%, #e2c27a 48%, #f3e7c4 100%);
  /* Brand exception. Do not reuse for product UI. */
  --wa-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

  /* Type */
  --wa-font-body: "DM Sans", Arial, sans-serif;
  --wa-font-display: "Bricolage Grotesque", "DM Sans", sans-serif;
  --wa-weight-regular: 400;
  --wa-weight-nav: 550;
  --wa-weight-heading: 640;
  --wa-weight-ui: 650;
  --wa-weight-bold: 700;
  --wa-tracking-heading: -0.03em;
  --wa-tracking-kicker: 0.14em;
  --wa-leading-heading: 1.12;
  --wa-leading-h3: 1.25;
  --wa-leading-body: 1.6;
  --wa-text-h1: clamp(38px, 4.2vw, 50px);
  --wa-text-h1-sm: clamp(32px, 9vw, 40px);
  --wa-text-h2: clamp(30px, 3vw, 42px);
  --wa-text-h3: 22px;
  --wa-text-h4: 18px;
  --wa-text-h5: 16px;
  --wa-text-h6: 14px;
  --wa-text-lead: 17.5px;
  --wa-text-body: 16.5px;
  --wa-text-button: 15px;
  --wa-text-nav: 14.5px;
  --wa-text-small: 13.5px;
  --wa-text-kicker: 12px;
  --wa-measure-h1: 640px;
  --wa-measure-h2: 680px;
  --wa-measure-lead: 560px;

  /* Space */
  --wa-space-1: 4px;
  --wa-space-2: 8px;
  --wa-space-3: 12px;
  --wa-space-4: 16px;
  --wa-space-5: 24px;
  --wa-space-6: 32px;
  --wa-space-7: 40px;
  --wa-space-section: 88px;
  --wa-space-section-tight: 64px;
  --wa-gutter: 24px;
  --wa-gutter-sm: 12px;
  --wa-measure: 1160px;
  --wa-measure-faq: 860px;
  --wa-control-height: 46px;

  /* Radius. New controls use --wa-radius-control. New cards use --wa-radius-card. */
  --wa-radius-control: 10px;
  --wa-radius-card: 16px;
  --wa-radius-panel: 28px;
  --wa-radius-pill: 999px;
  --wa-radius-circle: 50%;

  /* Shadow. One navy family: rgb(18, 42, 79). */
  --wa-shadow: 0 24px 60px rgba(18, 42, 79, 0.1);
  --wa-shadow-hero: 0 28px 60px rgba(18, 42, 79, 0.14);
  --wa-shadow-card: 0 18px 48px rgba(18, 42, 79, 0.09);
  --wa-shadow-soft: 0 10px 28px rgba(18, 42, 79, 0.08);
  --wa-shadow-lift: 0 16px 40px rgba(18, 42, 79, 0.08);
  --wa-shadow-press: 0 1px 3px rgba(21, 112, 239, 0.14);

  /* Motion */
  --wa-duration: 0.2s;
  --wa-ease: ease;
  --wa-duration-slider: 0.55s;

  /* Stacking */
  --wa-z-cookie: 10060;
  --wa-z-chat: 10070;

  /*
   * Dormant names. They alias the live palette.
   * Do not assign them a different hex, radius, or shadow.
   */
  --ww-b2b-canvas: var(--wa-bg);
  --ww-b2b-surface: var(--wa-bg-2);
  --ww-b2b-card: var(--wa-card);
  --ww-b2b-ink: var(--wa-ink);
  --ww-b2b-muted: var(--wa-muted);
  --ww-b2b-line: var(--wa-line);
  --ww-b2b-brand: var(--wa-accent);
  --ww-b2b-brand-dark: var(--wa-accent-hover);
  --ww-b2b-radius: 18px;
  --ww-b2b-shadow: var(--wa-shadow-card);
  --wany-btn-secondary-hover-fill: var(--wa-accent-soft);
}
