/* NEURAX sign-in pages (template "neurax", layouts/auth), built from the approved mockup
   (mockup/auth-neurax/auth.css) by scratchpad nx_build_auth_css.py. Originally: The landing's look (dark navy, orange heat,
   cyan HUD light, Exo 2, cut-corner panels, the neural net behind everything),
   laid out as ONE access panel in the middle with the robot looking over it:
   no split screen, no picture side, no pill tabs. Colour literals live in
   :root only. Under reduced motion nothing moves and everything shows.
   Breakpoints: 1180 (the side chips go), 760 (the register pairs stack), 600 (phone). */

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #05070C;
  --bg-1: #080B12;
  --panel: #0D121C;
  --panel-2: #141B29;
  --panel-hi: #121A2A;
  --glass: rgba(13, 18, 28, .74);
  --glass-hd: rgba(5, 7, 12, .74);
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --line-3: rgba(255, 255, 255, .2);
  --hl: rgba(255, 255, 255, .035);
  --hl-2: rgba(255, 255, 255, .07);
  --sheen: rgba(255, 255, 255, .22);
  --gold: #FFC24B;
  --hot-glow-3: rgba(255, 106, 43, .13);
  --cy-glow-2: rgba(59, 224, 255, .1);
  --ink: #F2F5FA;
  --ink-2: #C5CDDA;
  --mute: #8C96A8;
  --dim: #707A8C;
  --hot: #FF6A2B;
  --hot-2: #FF9A3D;
  --hot-ink: #FF8E57;
  --hot-soft: rgba(255, 106, 43, .1);
  --hot-line: rgba(255, 122, 61, .35);
  --hot-glow: rgba(255, 106, 43, .4);
  --hot-glow-2: rgba(255, 106, 43, .2);
  --cy: #3BE0FF;
  --cy-soft: rgba(59, 224, 255, .08);
  --cy-line: rgba(59, 224, 255, .4);
  --cy-glow: rgba(59, 224, 255, .28);
  --up: #2EE6A0;
  --up-soft: rgba(46, 230, 160, .12);
  --up-line: rgba(46, 230, 160, .45);
  --up-glow: rgba(46, 230, 160, .5);
  --down: #FF5468;
  --down-soft: rgba(255, 84, 104, .1);
  --down-line: rgba(255, 84, 104, .5);
  --white: #FFFFFF;
  --k: #000000;
  --shadow: rgba(0, 0, 0, .6);
  --backdrop: rgba(2, 3, 6, .66);
  --grad-hot: linear-gradient(180deg, #FF8248, #F0531C);
  --grad-hot-h: linear-gradient(90deg, #FF6A2B, #FF9A3D);
  --grad-text: linear-gradient(90deg, #FF7A3D 0%, #FFC27A 45%, #FF7A3D 90%);
  --font: "Exo 2", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hd-h: 72px;
  /* a select's arrow */
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C96A8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  /* what css/toast.css reads (the iziToast messages) */
  --brand: var(--hot);
  --on-brand: var(--white);
  --brand-wash: var(--hot-soft);
  --glow: var(--hot-glow);
  --t3: var(--mute);
  --surface: var(--panel);
  --hairline: var(--line-2);
  --sans: var(--font);
  --sh-2: 0 24px 50px -20px var(--shadow);
  --cut: 26px;
  color-scheme: dark;
}

/* ── base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: clip; background: var(--bg); color: var(--ink); font: 500 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1 { text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
p { text-wrap: pretty; }
button, input { font: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-style: italic; font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--hot); color: var(--white); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cy); outline-offset: 3px; border-radius: 8px; }
.grad { font-style: normal; background: var(--grad-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; }
.live-dot { display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 var(--up-glow); animation: ping 2.2s ease-out infinite; }
.bg-net { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

/* ── buttons ───────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; overflow: hidden;
  border: 1px solid transparent; border-radius: 12px; font: 800 15px/1.2 var(--font); letter-spacing: .02em; text-align: center; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s, background-color .25s, border-color .25s, filter .25s; }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic.go { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-hot { background: var(--grad-hot); color: var(--white); border-color: var(--hot-line); box-shadow: inset 0 1px 0 var(--sheen), 0 10px 30px -12px var(--hot-glow); }
.btn-hot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, var(--sheen) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-hot:hover::after { transform: translateX(120%); }
.btn-ghost { background: var(--hl); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--hl-2); border-color: var(--line-3); }
.btn-sm { min-height: 40px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.btn-lg { min-height: 54px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-cut { border-radius: 0; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.btn[disabled] { filter: saturate(.4) brightness(.8); cursor: progress; }

/* ── the page: a slim bar, the stage, a slim foot ──────── */
.au { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.au-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.au-glow i { position: absolute; border-radius: 50%; }
.au-glow .g1 { left: 50%; top: 4%; width: 900px; height: 900px; translate: -50% 0; background: radial-gradient(closest-side, var(--hot-glow-3), transparent); animation: breathe 9s ease-in-out infinite; }
.au-glow .g2 { left: -10%; bottom: -20%; width: 700px; height: 700px; background: radial-gradient(closest-side, var(--cy-glow-2), transparent); animation: drift 18s ease-in-out infinite alternate; }
.au-glow .g3 { right: -12%; top: -10%; width: 600px; height: 600px; background: radial-gradient(closest-side, var(--cy-glow-2), transparent); animation: drift 22s ease-in-out infinite alternate-reverse; }
.au-glow .mesh { left: 0; right: 0; bottom: 0; height: 320px; border-radius: 0; opacity: .4; background: url(../images/neurax/mesh.svg) 0 0 / 1440px 320px repeat-x; animation: mesh 80s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--k) 25%, var(--k) 75%, transparent); mask-image: linear-gradient(90deg, transparent, var(--k) 25%, var(--k) 75%, transparent); }

.au-hd { position: relative; z-index: 3; height: var(--hd-h); }
.au-hd .wrap { display: flex; align-items: center; gap: 12px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; font: italic 900 22px/1 var(--font); letter-spacing: .05em; }
.brand em { font-style: inherit; color: var(--hot); }
.brand img { width: 32px; height: 32px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink-2); font-size: 14px; font-weight: 700; transition: border-color .2s, color .2s; }
.back:hover { border-color: var(--line-3); color: var(--ink); }
.back .ic { width: 16px; height: 16px; }
.lang { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: none; color: var(--ink-2); font-size: 13px; font-weight: 800; cursor: pointer; }
.lang .ic { width: 16px; height: 16px; }
.pop { margin: 0; padding: 0; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); }
.lang-pop { inset: calc(var(--hd-h) - 6px) 24px auto auto; min-width: 170px; padding: 6px; border-radius: 14px; box-shadow: 0 24px 50px -20px var(--shadow); }
.lang-pop a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--mute); font-size: 14px; }
.lang-pop a:hover, .lang-pop a[aria-current] { background: var(--hl-2); color: var(--ink); }

.au-main { position: relative; z-index: 2; flex: 1; display: grid; place-items: start center; padding: 4px 0 28px; }
.au-stage { position: relative; display: grid; justify-items: center; width: min(var(--w, 460px), 100% - 32px); }
.au-stage.wide { --w: 780px; }

/* the robot looks over the panel's top edge, a HUD ring behind its head */
.au-bot { position: relative; z-index: 0; width: 210px; height: 150px; margin-bottom: -6px; pointer-events: none; }
.au-bot img { position: absolute; left: 50%; top: 4px; width: 210px; height: auto; translate: -50% 0; filter: drop-shadow(0 20px 30px var(--shadow)); animation: peek 7s ease-in-out infinite; }
.au-ring { position: absolute; left: 50%; top: -12px; width: 196px; height: 196px; translate: -50% 0; overflow: visible; }
.au-ring circle { fill: none; transform-origin: 100px 100px; }
.au-ring .r1 { stroke: var(--line-3); stroke-width: 6; stroke-dasharray: 1.2 5; }
.au-ring .r2 { stroke: var(--hot); stroke-opacity: .6; stroke-width: 2; stroke-dasharray: 26 14 6 14; animation: rot 18s linear infinite; }
.au-ring .r3 { stroke: var(--cy); stroke-opacity: .45; stroke-width: 1.2; stroke-dasharray: 3 8; animation: rot 26s linear infinite reverse; }
.au-bot::after { content: ""; position: absolute; left: 50%; top: 20px; width: 260px; height: 200px; translate: -50% 0; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--hot-glow-2), transparent); }
.wide .au-bot { width: 180px; height: 128px; }
.wide .au-bot img { width: 180px; }
.wide .au-ring { width: 168px; height: 168px; top: -10px; }

/* ── the access panel: a cut-corner frame with a running light ── */
.au-panel { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 40px 60px var(--shadow)); }
.au-frame { padding: 1.5px; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  background: conic-gradient(from var(--ang), var(--hot), var(--hot-2) 14%, var(--line-2) 28%, var(--line-2) 56%, var(--cy) 72%, var(--line-2) 86%, var(--hot)); animation: spin 8s linear infinite; }
.au-in { position: relative; padding: 28px 34px 26px; overflow: hidden; isolation: isolate;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  background: radial-gradient(120% 50% at 50% 0%, var(--hot-soft), transparent 70%), linear-gradient(180deg, var(--panel-hi), var(--bg-1) 75%); }
.au-in::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--cy-soft) 70%, transparent); animation: scanv 8s linear infinite; }
.au-corner { position: absolute; width: 14px; height: 14px; border: 2px solid var(--hot-2); pointer-events: none; }
.au-corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.au-corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }

.au-kick { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--cy); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.au-kick .tag { margin-left: auto; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--mute); font-size: 10.5px; letter-spacing: .12em; }
.au-kick .tag .ic { display: inline; width: 12px; height: 12px; margin: -2px 4px 0 0; vertical-align: middle; color: var(--up); }
.au-h { margin: 0; font: italic 900 clamp(30px, 3.2vw, 40px)/1.05 var(--font); letter-spacing: .01em; text-transform: uppercase; }
.au-lede { margin: 8px 0 22px; color: var(--mute); font-size: 15.5px; }
.au-lede b { color: var(--up); font-weight: 800; }

/* the sign-up's boot sequence: one segment per part, lit as it is done */
.boot { margin: 0 0 26px; }
.boot-hd { display: flex; justify-content: space-between; margin: 0 0 8px; color: var(--mute); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.boot-hd b { color: var(--ink-2); }
.boot ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.boot li { position: relative; padding-top: 10px; color: var(--dim); font-size: 12px; font-weight: 700; transition: color .3s; }
.boot li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--line-2); transition: background-color .3s, box-shadow .3s; }
.boot li.on { color: var(--ink-2); }
.boot li.on::before { background: var(--grad-hot-h); box-shadow: 0 0 10px var(--hot-glow-2); }
.boot li span { font-style: italic; font-weight: 800; color: var(--hot-ink); margin-right: 4px; }
.boot.done li::before { background: var(--up); box-shadow: 0 0 10px var(--up-glow); }

/* ── fields ────────────────────────────────────────────── */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field { margin-bottom: 16px; }
.fld-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.label { color: var(--ink-2); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fld-hd .label { margin: 0; }
.field > .label { display: block; margin-bottom: 8px; }
.optional { color: var(--dim); font-size: 12px; font-weight: 700; }
.au-link { display: inline-flex; align-items: center; min-height: 40px; margin: -10px 0; color: var(--hot-ink); font-size: 13.5px; font-weight: 700; }
.au-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ctl { position: relative; display: flex; align-items: center; height: 54px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.ctl > .ic { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--cy); pointer-events: none; transition: color .2s; }
.ctl input { width: 100%; height: 100%; min-width: 0; padding: 0 16px 0 46px; border: 0; outline: 0; background: none; color: var(--ink); font-size: 16px; font-weight: 600; }
.ctl input::placeholder { color: var(--dim); font-weight: 500; }
.ctl:focus-within { border-color: var(--hot-line); box-shadow: 0 0 0 4px var(--hot-soft); }
.ctl:focus-within > .ic { color: var(--hot-ink); }
.ctl.pw input { padding-right: 52px; }
.ctl:has(> .ok-mark) input { padding-right: 42px; }
.ctl.pw:has(> .ok-mark) input { padding-right: 82px; }
.eye { position: absolute; right: 5px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--mute); cursor: pointer; }
.eye:hover { color: var(--ink); background: var(--hl); }
.eye .ic { width: 18px; height: 18px; }
.eye[aria-pressed="true"] .i-eye, .eye[aria-pressed="false"] .i-eye-off { display: none; }
.ctl > .ok-mark { left: auto; right: 14px; color: var(--up); opacity: 0; transition: opacity .2s; }
.ctl.pw > .ok-mark { right: 54px; }
.field[data-state="ok"] .ctl > .ok-mark { opacity: 1; }
.field[data-state="ok"] .ctl { border-color: var(--up-line); }
.field[data-state="bad"] .ctl { border-color: var(--down-line); box-shadow: 0 0 0 4px var(--down-soft); }
.hint { min-height: 20px; margin: 7px 2px 0; color: var(--dim); font-size: 12.5px; line-height: 1.45; }
.field[data-state="ok"] .hint { color: var(--up); }
.field[data-state="bad"] .hint { color: var(--down); }
.hint:empty { min-height: 0; margin: 0; }
.caps { display: flex; align-items: center; gap: 6px; margin: 7px 2px 0; color: var(--gold); font-size: 12.5px; }
.caps .ic { width: 14px; height: 14px; }
.caps[hidden] { display: none; }

/* the strength meter: four bars, lit as the password grows */
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.meter i { height: 3px; border-radius: 2px; background: var(--line-2); transition: background-color .25s; }
.meter[data-score="1"] i:nth-child(-n+1) { background: var(--down); }
.meter[data-score="2"] i:nth-child(-n+2) { background: var(--hot-2); }
.meter[data-score="3"] i:nth-child(-n+3) { background: var(--gold); }
.meter[data-score="4"] i { background: var(--up); }

/* a switch for "keep me signed in", a box for the terms */
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { position: relative; width: 42px; height: 24px; flex: none; border: 1px solid var(--line-3); border-radius: 999px; background: var(--bg); transition: background-color .25s, border-color .25s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--mute); transition: transform .25s var(--ease), background-color .25s; }
.switch input:checked + i { border-color: var(--hot-line); background: var(--hot-soft); }
.switch input:checked + i::after { transform: translateX(18px); background: var(--hot); box-shadow: 0 0 10px var(--hot-glow); }
.switch input:focus-visible + i { outline: 2px solid var(--cy); outline-offset: 3px; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin: -6px 0 12px; padding-block: 10px; color: var(--mute); font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--hot); cursor: pointer; }
.check a { color: var(--hot-ink); font-weight: 700; }
.check a:hover { text-decoration: underline; }

/* the way across: the other form, under a dashed rule */
.au-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.au-alt p { margin: 0; color: var(--mute); font-size: 14.5px; font-weight: 600; }

/* ── side chips: real facts around the panel, desktop only ── */
.chip { position: absolute; z-index: 2; width: 236px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--glass); backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px var(--shadow), inset 0 1px 0 var(--hl-2); font-size: 13.5px; line-height: 1.4; }
.chip-hd { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--cy); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.chip ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.chip li .ic { width: 16px; height: 16px; color: var(--up); }
.chip li b { margin-left: auto; font-style: italic; font-weight: 900; color: var(--ink); }
.chip-l { right: calc(100% + 40px); top: 170px; animation: float 8s ease-in-out infinite; }
.chip-r { left: calc(100% + 40px); top: 240px; animation: float 9s -3s ease-in-out infinite; }
.chip-r .big { display: block; margin: 2px 0 2px; font-size: 30px; line-height: 1.1; }
.chip-r small { color: var(--mute); }
.chip-r .coins { display: flex; margin-top: 12px; }
.chip-r .coins img { width: 26px; height: 26px; margin-right: -6px; border: 2px solid var(--panel); border-radius: 50%; background: var(--panel); }
.wide .chip-l { top: 150px; }
.wide .chip-r { top: 260px; }
/* the wire from a chip to the panel */
.chip::after { content: ""; position: absolute; top: 50%; width: 40px; height: 1px; background: linear-gradient(90deg, var(--cy-line), transparent); }
.chip-l::after { left: 100%; }
.chip-r::after { right: 100%; transform: scaleX(-1); }

/* phones: the same facts as one quiet row under the panel */
.au-trust { display: none; }

/* ── foot ──────────────────────────────────────────────── */
.au-ft { position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--glass-hd); backdrop-filter: blur(10px); }
.au-ft .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 54px; padding-block: 8px; color: var(--dim); font-size: 13px; }
.au-ft nav { display: flex; gap: 4px 18px; margin-left: auto; }
.au-ft nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--mute); font-weight: 700; }
.au-ft nav a:hover { color: var(--ink); }

/* ── motion ────────────────────────────────────────────── */
.js .au-stage > * { animation: rise .9s var(--ease) both; }
.js .au-stage > .au-panel { animation-delay: .08s; }
.js .au-stage > .chip { animation: rise .9s var(--ease) both .3s, float 8s ease-in-out 1.2s infinite; }
@keyframes shine { to { background-position: -200% 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--up-glow); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes peek { 50% { transform: translateY(-6px); } }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes spin { to { --ang: 360deg; } }
@keyframes scanv { from { transform: translateY(-140px); opacity: 0; } 10%, 85% { opacity: 1; } to { transform: translateY(820px); opacity: 0; } }
@keyframes breathe { 50% { opacity: .6; transform: scale(.94); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -40px) scale(1.12); } }
@keyframes mesh { to { background-position: 1440px 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.field.shake .ctl { animation: shake .4s; }

/* ── responsive ────────────────────────────────────────── */
@media (max-width: 1180px) {
  .chip { display: none; }
  .au-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--mute); font-size: 13px; }
  .au-trust li { display: flex; align-items: center; gap: 7px; }
  .au-trust .ic { width: 15px; height: 15px; color: var(--cy); }
}
@media (max-width: 760px) {
  .pair { grid-template-columns: minmax(0, 1fr); }
  .au-stage.wide { --w: 520px; }
}
@media (max-width: 600px) {
  :root { --hd-h: 64px; --cut: 20px; }
  .wrap { width: calc(100% - 32px); }
  .back span { display: none; }
  .back { width: 44px; height: 44px; justify-content: center; padding: 0; }
  .lang { height: 44px; }
  .brand { font-size: 20px; }
  .brand img { width: 30px; height: 30px; }
  .au-main { padding: 0 0 32px; }
  .au-stage, .au-stage.wide { width: calc(100% - 32px); }
  .au-bot, .wide .au-bot { width: 160px; height: 118px; }
  .au-bot img, .wide .au-bot img { width: 160px; }
  .au-ring, .wide .au-ring { width: 150px; height: 150px; top: -10px; }
  .au-bot::after { width: 200px; height: 150px; }
  .au-in { padding: 24px 20px 24px; }
  .au-h { font-size: clamp(28px, 8.4vw, 34px); }
  .au-lede { margin-bottom: 20px; font-size: 15px; }
  .boot li { font-size: 0; }
  .boot li span { font-size: 12px; }
  .au-ft .wrap { justify-content: center; text-align: center; }
  .au-ft nav { margin: 0; }
}
@media (max-width: 360px) {
  .brand { font-size: 18px; letter-spacing: .03em; }
  .au-in { padding: 22px 16px; }
}

/* ── live site: the other sign-in pages and the shared parts ── */
.sr-only, .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.au-card { display: block; }
/* a page's title, the admin's words with the lit one in <em> */
.au-title { margin: 0; font: italic 900 clamp(30px, 3.2vw, 40px)/1.05 var(--font); letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; hyphens: auto; }
.au-title em { font-style: normal; background: var(--grad-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; }
.au-lede { margin: 8px 0 22px; color: var(--mute); font-size: 15.5px; }
.au-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 16px; border: 1px solid var(--hot-line); background: var(--hot-soft); color: var(--hot-ink);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.au-icon .ic { width: 24px; height: 24px; }
.au-icon.is-down { border-color: var(--down-line); background: var(--down-soft); color: var(--down); }
.au-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.fld-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.fld-head .label { margin: 0; }
.fld-head .hint { min-height: 0; margin: 0; text-align: right; }
.hint[data-state="ok"] { color: var(--up); }
.hint[data-state="bad"] { color: var(--down); }
/* a field without an icon: the profile page, the captcha, a select */
.field > .input, .cap-row > .input { display: block; width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; outline: 0; background: var(--bg); color: var(--ink); font-size: 16px; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.field > .input:focus, .cap-row > .input:focus { border-color: var(--hot-line); box-shadow: 0 0 0 4px var(--hot-soft); }
.field > .input[aria-invalid="true"] { border-color: var(--down-line); }
select { font: inherit; }
.field > select.input { padding-right: 44px; background: var(--chev) right 16px center / 16px no-repeat, var(--bg); -webkit-appearance: none; appearance: none; cursor: pointer; }
select.input option { background: var(--panel); color: var(--ink); }
.cap-row { display: flex; align-items: stretch; gap: 10px; }
.cap-row > .input { flex: 1; min-width: 0; }
.cap-row > :not(.input) { flex: none; overflow: hidden; border-radius: 12px; }
.dial { display: grid; place-items: center; min-width: 74px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink-2); font-style: italic; font-weight: 800; }
.g-recaptcha-slot { margin-bottom: 18px; }
/* six boxes for a code; one real input underneath (member.js draws them) */
.code6 i { display: none; }
.code6[data-ready] { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.code6[data-ready] i { display: grid; place-items: center; height: 64px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink);
  font: italic 900 28px/1 var(--font); transition: border-color .2s, box-shadow .2s; }
.code6[data-ready] i.is-on { border-color: var(--hot-line); box-shadow: 0 0 0 4px var(--hot-soft); }
.code6[data-ready] i.is-on:empty::after { content: ""; width: 2px; height: 28px; background: var(--hot); animation: blink 1s steps(1) infinite; }
.code6[data-ready]:has(input[aria-invalid="true"]) i { border-color: var(--down-line); }
.code6[data-ready] input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; cursor: text; }
.code6:not([data-ready]) .input { display: block; width: 100%; height: 60px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink); font: italic 900 26px var(--font); letter-spacing: .4em; text-align: center; }
/* small print under a form, and the line back to signing in */
.au-note { margin: 18px 0 0; color: var(--mute); font-size: 14px; line-height: 1.55; text-align: center; }
.au-note a, .au-switch a { color: var(--hot-ink); font-weight: 700; }
.au-note a:hover, .au-switch a:hover { text-decoration: underline; text-underline-offset: 3px; }
.au-note b { color: var(--ink); }
.au-switch { margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed var(--line-2); color: var(--mute); font-size: 14.5px; text-align: center; }
.au-switch a { display: inline-flex; align-items: center; min-height: 44px; }
/* why an account is closed */
.alert { display: flex; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--down-line); border-radius: 12px; background: var(--down-soft); color: var(--ink-2); font-size: 14.5px; }
.alert > .ic { margin-top: 2px; color: var(--down); }
.alert b { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 800; }
/* social sign-in, when the admin turns a provider on */
.or { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: var(--dim); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.social { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.social svg { width: 18px; height: 18px; }
/* a sign-up bonus in the lede */
.au-lede b { color: var(--up); font-weight: 800; }
@media (max-width: 760px) {
  .au-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .au-title { font-size: clamp(28px, 8.4vw, 34px); }
  .code6[data-ready] { gap: 7px; }
  .code6[data-ready] i { height: 56px; font-size: 24px; }
  .btn { white-space: normal; }
}
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .au-in::before { display: none; }
}
