/* Afoundation brand for the portal and the applicants' entrance.
   Drawn from the foundation's logo: the charcoal band, the ring of six people (deep teal, teal, gold, steel blue,
   green, red) that forms the "o", and the light geometric lettering of "foundation".
   Fonts are served from /fonts (no third-party request; they cache with the site):
     Jost - the geometric voice of the logo's "foundation": wordmark, headings, big numbers
     Atkinson Hyperlegible Next - body and tables; built for legibility on small screens in bright light
       (its zero is slashed on purpose: 0 and O never get mixed up in a reg number)
     JetBrains Mono - registration numbers and ticket ids */
@font-face{font-family:'Jost';font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/jost-latin-wght-normal.woff2) format('woff2-variations'),url(/fonts/jost-latin-wght-normal.woff2) format('woff2')}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format('woff2-variations'),url(/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2')}

:root{
  /* the six people of the ring, as the logo paints them */
  --dot-deep:#234952; --dot-teal:#38BCAC; --dot-gold:#E2AE5A; --dot-steel:#5CA0B0; --dot-green:#44B087; --dot-red:#D05657; --dot-grey:#9A9B9D;
  --thread:linear-gradient(90deg,var(--dot-deep) 0 16.667%,var(--dot-teal) 16.667% 33.333%,var(--dot-gold) 33.333% 50%,var(--dot-steel) 50% 66.667%,var(--dot-green) 66.667% 83.333%,var(--dot-red) 83.333% 100%);
  /* the charcoal band of the logo - the same in light and dark */
  --band:#404041; --band-fg:#FFFFFF; --band-muted:rgba(255,255,255,.72); --band-line:rgba(255,255,255,.22); --band-hover:rgba(255,255,255,.08);
  /* page */
  --bg:#F2F3F1; --surface:#FFFFFF; --fg:#404041; --muted:#6D6E70; --line:#D9DBD8; --line-soft:#E9EAE7;
  --accent:#234952; --accent-ink:#FFFFFF; --accent-soft:#DDEFEC;
  --teal:#38BCAC; --teal-ink:#17302D;
  --amber:#7F5A14; --amber-bg:#F8EBD2; --blue:#2A616E; --blue-bg:#DEEEF2; --green:#1D6B4F; --green-bg:#DCF1E7; --red:#A33B3A; --red-bg:#F8E0DF; --grey-bg:#EBECE9;
  --font-body:'Atkinson Hyperlegible Next',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --font-display:'Jost','Atkinson Hyperlegible Next',system-ui,sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;
  --radius:6px; --shadow:0 12px 32px rgba(40,44,45,.18);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#1C1D1E; --surface:#262728; --fg:#E9EAE7; --muted:#A4A5A7; --line:#3A3B3D; --line-soft:#313234;
  --accent:#5CC9B9; --accent-ink:#13201F; --accent-soft:#1E3734;
  --amber:#E9BE6E; --amber-bg:#3B2F15; --blue:#86C3D0; --blue-bg:#1C3238; --green:#72CFA4; --green-bg:#1A392C; --red:#F29390; --red-bg:#47242A; --grey-bg:#343537;
  --shadow:0 12px 32px rgba(0,0,0,.5); color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#1C1D1E; --surface:#262728; --fg:#E9EAE7; --muted:#A4A5A7; --line:#3A3B3D; --line-soft:#313234;
  --accent:#5CC9B9; --accent-ink:#13201F; --accent-soft:#1E3734;
  --amber:#E9BE6E; --amber-bg:#3B2F15; --blue:#86C3D0; --blue-bg:#1C3238; --green:#72CFA4; --green-bg:#1A392C; --red:#F29390; --red-bg:#47242A; --grey-bg:#343537;
  --shadow:0 12px 32px rgba(0,0,0,.5); color-scheme:dark}

/* The wordmark: "Af" + the ring + "undation". The ring is the logo's own "o" (an image, so it stays exact);
   its alt text keeps the word whole for screen readers. */
.wm{font-family:var(--font-display);font-weight:500;letter-spacing:.012em;line-height:1;display:inline-flex;align-items:center;white-space:nowrap;color:inherit;text-decoration:none}
.wm img{height:.92em;width:.92em;margin:0 .015em;position:relative;top:.02em;vertical-align:middle}
/* the six colours as a thin line - the band's bottom edge, the sign-in card's top edge */
.thread{height:3px;background:var(--thread)}
