/*
 * The Pixel Polishers look for the sign-in and account pages: the dark navy, the gradient, Poppins and IBM Plex Sans,
 * squares with one rounded corner. Values come from company/pixelpolishers.com (public/assets/site/site.css) and
 * company/brand-kit. Linked on every page after the built-in styles, so it only sets variables and a few shapes.
 *
 * The fonts are served from this server (theme/assets/fonts): the pages allow nothing from other origins, and a
 * sign-in page should not tell Google who is signing in.
 */
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-400-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-500-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/poppins-500-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/poppins-600-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/poppins-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/poppins-700-latin.woff2') format('woff2'); 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; }

:root {
  --bg: #0b1226;
  --surface: #141f3d;
  --text: #dce3f5;
  --muted: #9aa6c7;
  --line: #26335a;
  --primary: #c084fc;          /* links and focus rings: the purple of the brand gradient, readable on navy */
  --primary-strong: #e0c3ff;
  --primary-text: #0b1226;     /* text on the gradient buttons */
  --tint: #1b2850;
  --danger: #ff8fa3;
  --danger-tint: #3b1d2e;
  --ok: #5cc596;
  --ok-tint: #12332e;
  --radius: 4px;
  --radius-lg: 2px 18px 2px 2px;
  --brand: linear-gradient(90deg, #60a5fa, #c084fc 35%, #f472b6 65%, #fb923c);
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  color-scheme: dark;
}

body {
  font-size: 16px;
  background: radial-gradient(60rem 30rem at 50% -10rem, #1a2a5e 0%, transparent 70%), var(--bg);
  background-attachment: fixed;
}
h1, h2 { font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.brand { color: #fff; font-weight: 600; }
.brand img { height: 34px; width: auto; display: block; }

.card { background: var(--surface); box-shadow: 0 18px 50px -20px rgb(0 0 0 / .6); }
.field input { height: 42px; background: var(--bg); }
.field input:focus-visible { outline-color: var(--primary); border-color: var(--primary); }

.btn { height: 42px; padding: 0 22px; font: 600 15px/1 var(--font-display); border: 0; border-radius: var(--radius-lg); background: var(--brand); background-size: 140% 100%; background-position: 0 0; transition: background-position .4s ease, filter .2s; }
.btn:hover { background: var(--brand); background-size: 140% 100%; background-position: 100% 0; filter: brightness(1.06); }
.btn.ghost { color: var(--text); background: transparent; border: 1px solid #3d4f86; }
.btn.ghost:hover { background: var(--tint); border-color: var(--muted); filter: none; }
.btn.sm { height: 32px; padding: 0 14px; font-size: 13px; }

.card form ~ p.muted a { text-decoration: none; font-weight: 500; }
.card form ~ p.muted a:hover { text-decoration: underline; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: #fff; }
.qr { background: #fff; } /* stays white so authenticator apps can read it */

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
