/* Gridward blue design tokens. Import the same file on the public site and in the app. */
:root {
  --gw-blue: #142e70;
  --gw-charcoal: #141922;
  --gw-ink: #182637;
  --gw-muted: #3a516a;
  --gw-text-blue: #183d71;
  --gw-on-dark: #fafafa;
  --gw-on-dark-muted: #e7e7e7;
  --gw-blue-line: #6c83a2;
  --gw-focus-ink: #174a9d;
  --gw-paper: #fafafa;
  --gw-paper-blue: #ececec;
  --gw-page: linear-gradient(100deg, #f1f1f1, #e2e2e2);
  --gw-feature: linear-gradient(118deg, var(--gw-charcoal) 10%, var(--gw-blue) 110%);
  --gw-glass: linear-gradient(160deg, #fafafa 2%, #e8e8e8 42%, #bcbcbc 80%, #d1d1d1);
  --gw-type: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

@media screen {
  :is(body.gw-home, body.service-page, body.eg-app:not(:has(#print-mode:checked))) {
    --gw-page-background: var(--gw-page);
    --gw-shell-ink: var(--gw-ink);
    --gw-shell-muted: var(--gw-muted);
    --sans: var(--gw-type);
    font-family: var(--gw-type);
  }

  :is(body.gw-home, body.service-page, body.eg-app:not(:has(#print-mode:checked))) :is(a[href],button,summary,input,textarea,select,[tabindex]):focus-visible {
    outline: 3px solid var(--gw-focus-ink) !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 6px #fff !important;
  }

  :is(body.gw-home, body.service-page) :is(.nav-cta,.gw-app-button,.btn.primary),
  body.eg-app:not(:has(#print-mode:checked)) :is(a.btn:not(.ghost):not(.btn-quiet),button.btn:not(.ghost):not(.btn-quiet),.actions .primary) {
    background: var(--gw-glass) !important;
    background-image: var(--gw-glass) !important;
    border-color: #4d6f9b !important;
    color: #fff !important;
  }

  :is(body.gw-home, body.service-page, body.eg-app:not(:has(#print-mode:checked))) :is(.text-link,.service-link) {
    text-underline-offset: .18em;
  }
}
