/* The Cognitient logo set as text, shared by the landing page, the Assessments page and the app, so it is
   sharp at any size and on any screen (and in the printed PDFs). One markup everywhere:

     <a class="text-logo" aria-label="Cognitient: Don't Guess. Know.">
       <span class="text-logo-word" aria-hidden="true"><span class="text-logo-cog">COG</span><span class="text-logo-nitient">NITIENT</span></span>
       <span class="text-logo-tag" aria-hidden="true">Don't Guess. Know.</span>
     </a>

   Size it with font-size on .text-logo (the wordmark is 1em, the tagline scales with it). On dark grounds it
   stands on its own; on light grounds add .text-logo--badge to set it in a box of the logo blue, as the
   original logo image was. */

/* Inter (SIL Open Font License, static/fonts/OFL.txt): the app already loads it; declared here too so the
   public pages, which use Geist, draw the logo in the same face */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('/static/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.text-logo {
    --logo-blue: #29378f;     /* the logo's blue (--brand-dark in the app) */
    --logo-white: #f1f5f9;
    --logo-cyan: #8fd8ee;     /* the logo's cyan */
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.08em;
    width: max-content;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 34px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
.text-logo-word { font-size: 1em; font-weight: 300; letter-spacing: 0.06em; margin-right: -0.06em; }
.text-logo-cog { color: var(--logo-white); }
.text-logo-nitient { color: var(--logo-cyan); }
.text-logo-tag { font-size: 0.38em; font-weight: 400; letter-spacing: 0.01em; color: var(--logo-cyan); }

/* on light grounds: the logo in its blue box */
.text-logo--badge { background: var(--logo-blue); padding: 0.32em 0.45em 0.36em; border-radius: 0.18em; }

a.text-logo:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
a.text-logo--badge:focus-visible { outline-color: var(--logo-blue); }
