@charset "utf-8";
/* ============================================================================
   ARXEON DESIGN SYSTEM — "PRISM"
   05 · THE ACCOUNT PAGES — round 44: the sign-in · round 47: the register
        · round 1.2: forgot, reset and two-step sign-in (section 08)
   Requires arxeon.tokens.css, arxeon.base.css, arxeon.components.css and
   arxeon.webforms.css. Pairs with Scripts/arxeon.link.js (the chain) and
   Scripts/arxeon.seed.js (the stone).
   ----------------------------------------------------------------------------
   Loaded by the account pages themselves, not by the master: a visitor who
   never signs in never downloads it. Forgot and reset join it in the rounds
   that rebuild them (round 1.2 did: section 08, with the two-step pages);
   section 06 below is the register page, and it is a modifier on this one
   rather than a second copy of it.

   THE BLOCK IS .ax-signin, NOT .ax-sign. arxeon.graphics.css still carries
   an .ax-sign from round 18's coda, loaded on every page; a sign-in section
   of that name would have inherited its padding and its full-width buttons.

   ONE STAGE, TWO THINGS ON IT. The chain, drawn live by arxeon.link.js into
   a canvas over the whole section, framed by .ax-signin__machine; and the
   card, which is the form. Nothing the canvas draws reaches under the card.
   Everything else is the design system as it already is: the inputs, the
   check, the buttons, the alert are its own components, dressed only where
   the page needs them to sit together.
   ========================================================================= */

.ax-signin {
  --sg-h: clamp(640px, calc(100svh - 84px), 1000px);
  --sg-pad: clamp(24px, 4.6vh, 64px);
  position: relative;
  display: grid;
  min-block-size: var(--sg-h);
  padding-block: var(--sg-pad);
  background: var(--ax-bg);
  overflow: clip;
  isolation: isolate;
}

/* the room: a little cool light from above, and the gap's own colour low
   and to the left, where the chain hangs. The canvas lights the rest. */
.ax-signin__dark {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(34% 46% at 30% 54%, rgb(var(--ax-spec-4-rgb) / .045), transparent 72%),
    radial-gradient(52% 38% at 42% 0%, rgb(var(--ax-white-rgb) / .03), transparent 70%);
}

.ax-signin__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* The canvas arrives over the picture of itself: the same frame, so the
   hand-over cannot be seen, only the moment it starts to move. */
.ax-signin__gl {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
  transition: opacity .7s var(--ax-ease-out);
}
.ax-signin.is-live-link .ax-signin__gl { opacity: 1; }

/* No z-index here, on purpose: it would make the stage its own stacking
   context, and the picture's screen blend below would then have nothing
   under it to blend with. Positioned and later in the markup, it paints
   over the canvas anyway. */
.ax-signin__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  align-items: center;
  align-self: center;
  column-gap: clamp(32px, 4.4vw, 88px);
}

/* ROUND 62 · a utility page with no machine beside it. One column, centred.
   Additive: only Account\SetPassword.aspx carries this modifier, so no page
   that existed before this round renders a pixel differently. */
.ax-signin__stage--solo { grid-template-columns: minmax(0, 460px); justify-content: center; }

/* ── the chain's box ─────────────────────────────────────────────────── */

.ax-signin__machine {
  position: relative;
  justify-self: center;
  inline-size: min(100%, calc((var(--sg-h) - 2 * var(--sg-pad)) * 1400 / 870));
  aspect-ratio: 1400 / 870;
}
.ax-signin__still,
.ax-signin__still img { display: block; inline-size: 100%; block-size: 100%; }
/* cover, not stretch: on a phone the box is wider than the picture, and the
   chain is framed the same way in both, across the middle */
.ax-signin__still img { object-fit: cover; }
.ax-signin__still {
  /* light on black, laid over the room: black adds nothing, light adds
     light, so the box has no edge (see _verify/signin/encode-still.py) */
  mix-blend-mode: screen;
  transition: opacity .7s var(--ax-ease-out);
}
.ax-signin.is-live-link .ax-signin__still { opacity: 0; }

/* The plate: what the link is doing, in the voice of an instrument. It is
   decoration and says so to a screen reader (the box is aria-hidden); the
   words a person needs are in the card. */
.ax-signin__plate {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ax-text-subtle);
}
.ax-signin__plate b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--ax-fw-medium);
  color: rgb(var(--ax-accent-text-rgb));
  transition: color var(--ax-d-base) var(--ax-ease);
}
.ax-signin__plate b::before {
  content: "";
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  /* the sound bus writes --ax-sig-hit on the section: a beat, felt here */
  transform: scale(calc(1 + var(--ax-sig-hit, 0) * .6));
}
.ax-signin__plate b[data-word="linking"] { color: var(--ax-cyan-bright); }
.ax-signin__plate b[data-word="refused"] { color: var(--ax-danger); }

/* ── the invitation ───────────────────────────────────────────────────────
   ROUND 46. The page has a track of its own; the only control that could
   start it was a button in the header chrome, and nobody arriving to type a
   password looks up there. So it is offered here, as the plate's twin at the
   other end of the same line: the same mono, the same size, the same colour.
   It reads as a second instrument label rather than a piece of interface,
   which is the point — an invitation, not a nag.

   It is only ever drawn for somebody who has not already armed the sound
   (arxeon.link.js decides), and it takes itself away the moment the track
   plays. The padding is what makes it a 26px target on a 10px label. */

.ax-signin__sound {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  margin: -8px -12px 0 0;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: var(--ax-r-sm);
  background: none;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ax-text-subtle);
  cursor: pointer;
  transition: color var(--ax-d-fast) var(--ax-ease),
              background var(--ax-d-fast) var(--ax-ease);
}

/* the class sets display, so hidden has to be said louder than it does */
.ax-signin__sound[hidden] { display: none; }

.ax-signin__sound:hover { color: var(--ax-text-strong); background: rgb(var(--ax-white-rgb) / .05); }
.ax-signin__sound:focus-visible { outline: 2px solid var(--ax-accent-text); outline-offset: 2px; }

.ax-signin__sound-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  block-size: 10px;
}

.ax-signin__sound-eq i {
  inline-size: 2px;
  block-size: 3px;
  border-radius: 1px;
  background: currentColor;
  transition: block-size var(--ax-d-base) var(--ax-ease);
}

/* three bars that lift when you point at them: the smallest possible promise
   of what the button does, and it costs nothing when nobody points */
.ax-signin__sound:hover .ax-signin__sound-eq i:nth-child(1) { block-size: 6px; }
.ax-signin__sound:hover .ax-signin__sound-eq i:nth-child(2) { block-size: 10px; }
.ax-signin__sound:hover .ax-signin__sound-eq i:nth-child(3) { block-size: 4px; }

@media (prefers-reduced-motion: reduce) {
  .ax-signin__sound-eq i { transition: none; }
}

/* ── the card: the form ──────────────────────────────────────────────── */

.ax-signin__card {
  position: relative;
  display: grid;
  row-gap: var(--ax-sp-8);
  padding: clamp(24px, 2.6vw, 40px);
  border-radius: var(--ax-r-xl);
  border: 1px solid transparent;
  background:
    linear-gradient(rgb(15 15 16 / .90), rgb(9 9 10 / .94)) padding-box,
    var(--ax-edge) border-box;
  box-shadow: var(--ax-el-5);
}
/* one line of the accent along the top edge: the card is lit from the
   chain's side */
.ax-signin__card::before {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline: 22% 22%;
  block-size: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--ax-accent-text-rgb) / .8), transparent);
  pointer-events: none;
}

.ax-signin__head { display: grid; row-gap: var(--ax-sp-4); }
.ax-signin__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--ax-sp-4);
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgb(var(--ax-accent-text-rgb));
}
.ax-signin__eyebrow svg { inline-size: 15px; block-size: 15px; flex: none; }
.ax-signin__title {
  margin: 0;
  font-size: var(--ax-fs-d4, var(--ax-fs-2xl));
  line-height: var(--ax-lh-head, 1.15);
  letter-spacing: var(--ax-tr-head, -.02em);
  font-weight: var(--ax-fw-bold);
  color: var(--ax-text-strong);
}
.ax-signin__lead {
  margin: 0;
  font-size: var(--ax-fs-sm);
  line-height: 1.55;
  color: var(--ax-text-muted);
}
/* the system's dots after "taking you to your dashboard": a word-space
   after the last word, centred on the line rather than sat on its
   baseline (round 62f, SetPassword's Done panel) */
.ax-signin__dots { margin-inline-start: 7px; vertical-align: middle; }

/* the server's own words for a refusal, in the system's alert */
.ax-signin__alert { margin: 0; }
.ax-signin__alert .ax-alert__text { display: grid; row-gap: 2px; margin: 0; }
.ax-signin__alert .ax-alert__text b { color: var(--ax-text-strong); font-weight: var(--ax-fw-semibold); }
.ax-signin__alert .ax-alert__text span { color: var(--ax-text-muted); font-size: var(--ax-fs-xs); }

.ax-signin__fields { display: grid; row-gap: var(--ax-sp-8); }
.ax-signin__field { position: relative; gap: var(--ax-sp-4); }
/* THE MESSAGES MOVE NOTHING. The framework shows a validator (display
   inline) and hides it again on the field's change event -- which fires on
   blur, i.e. on the very click that goes to the next control. Laid out in
   the flow, the whole form jumped up a line under that click and the click
   landed on something else (the harness caught it missing remember-me). So
   each message hangs in the gap under its field, out of the flow. */
.ax-signin__field .ax-error {
  position: absolute;
  inset-block-start: calc(100% + 3px);
  inset-inline: 0;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* the eye: one icon or the other, never both */
.ax-signin__peek {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: var(--ax-r-sm);
  color: var(--ax-text-subtle);
  transition: color var(--ax-d-fast) var(--ax-ease);
}
.ax-signin__peek:hover,
.ax-signin__peek.is-on { color: var(--ax-text-strong); }
.ax-signin__peek:focus-visible { outline: none; box-shadow: var(--ax-ring); }
.ax-signin__peek svg { inline-size: 18px; block-size: 18px; }
.ax-signin__peek .ax-signin__eye-off,
.ax-signin__peek.is-on .ax-signin__eye { display: none; }
.ax-signin__peek.is-on .ax-signin__eye-off { display: block; }
.ax-input-wrap--suffix .ax-input--lg { padding-inline-end: 52px; }
.ax-input-wrap--suffix .ax-signin__peek { inline-size: 52px; }

.ax-signin__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ax-sp-6);
  min-block-size: 28px;
}
.ax-signin__remember { font-size: var(--ax-fs-sm); }

/* the button: the full width of the card, and one line more of light than
   any other button on the site -- it is the one that closes the link */
.ax-signin__go { margin-block-start: var(--ax-sp-2); letter-spacing: .01em; }
input[type="submit"].ax-signin__go { line-height: calc(var(--ax-btn-h-lg) - 2px); }

/* ── the other ways in ───────────────────────────────────────────────── */

.ax-signin__others { display: grid; row-gap: var(--ax-sp-6); }
.ax-signin__or {
  display: flex;
  align-items: center;
  gap: var(--ax-sp-6);
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ax-text-subtle);
}
.ax-signin__or::before,
.ax-signin__or::after {
  content: "";
  flex: 1 1 0;
  block-size: 1px;
  background: var(--ax-line);
}
.ax-signin__providers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: var(--ax-sp-4);
}
.ax-signin__provider {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ax-sp-4);
  inline-size: 100%;
  font-weight: var(--ax-fw-medium);
}
.ax-signin__provider svg {
  inline-size: 14px;
  block-size: 14px;
  flex: none;
  color: var(--ax-text-subtle);
  transition: transform var(--ax-d-base) var(--ax-ease-out), color var(--ax-d-fast) var(--ax-ease);
}
.ax-signin__provider:hover svg,
.ax-signin__provider:focus-visible svg { color: rgb(var(--ax-accent-text-rgb)); transform: translate(2px, -2px); }
.ax-signin__soon {
  margin: 0;
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-subtle);
  text-align: center;
}

.ax-signin__alt {
  margin: 0;
  padding-block-start: var(--ax-sp-6);
  border-block-start: 1px solid var(--ax-line-soft);
  font-size: var(--ax-fs-sm);
  color: var(--ax-text-muted);
  text-align: center;
}
.ax-signin__alt .ax-link { margin-inline-start: 4px; font-weight: var(--ax-fw-medium); }

/* ── narrower ────────────────────────────────────────────────────────── */

@media (max-width: 1099px) {
  .ax-signin { min-block-size: auto; }
  .ax-signin__stage {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--ax-sp-8);
    justify-items: center;
  }
  .ax-signin__machine { inline-size: min(100%, 640px); }
  .ax-signin__card { inline-size: min(100%, 460px); }
}

@media (max-width: 699px) {
  /* A phone is too narrow for the chain to use a tall box: it is framed by
     its width, so a box of the picture's own shape left a band of empty dark
     above and below it. Wider and shorter, the card comes up the screen. */
  .ax-signin__machine { aspect-ratio: 1400 / 700; }
}

@media (max-width: 479px) {
  .ax-signin { padding-block: var(--ax-sp-6) var(--ax-sp-10); }
  .ax-signin__stage { row-gap: var(--ax-sp-5); }
  .ax-signin__card { padding: var(--ax-sp-7) var(--ax-sp-6); border-radius: var(--ax-r-lg); }
  .ax-signin__providers { grid-template-columns: minmax(0, 1fr); }
}

/* ── still ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  /* the engine never starts here: the picture is the chain */
  .ax-signin__gl,
  .ax-signin__still { transition: none; }
  .ax-signin__plate b::before { transform: none; }
}

@media print, (forced-colors: active) {
  /* the chain is a picture of an idea; the form is the page */
  .ax-signin__dark, .ax-signin__scene, .ax-signin__machine { display: none !important; }
  .ax-signin__stage { grid-template-columns: minmax(0, 1fr); }
  .ax-signin__card { box-shadow: none; }
}

/* ============================================================================
   06 · THE REGISTER PAGE — round 47: the seed
   Pairs with Scripts/arxeon.seed.js and Account/Register.aspx.
   ----------------------------------------------------------------------------
   THE SECTION WEARS BOTH BLOCKS. Register.aspx is <section class="ax-signin
   ax-signup">, so the stage, the card, the head, the fields, the eye, the
   button and the alt line above are its layout too, described once. What
   follows is only the difference: a taller panel because the stone is framed
   square-ish rather than across, a card with a little more room because it
   holds four fields and two consents, and the four pieces that exist on no
   other page — the meter, the rule, the consent block and the honeypot.

   NOTHING MOVES FOR A RETURNING VISITOR. Someone who lands on Sign in, does
   not have an account and clicks through finds the same card at the same
   size in the same place; only what is inside it changes.
   ========================================================================= */

.ax-signup {
  /* the diamond is framed 1400x1000 rather than the chain's 1400x870, so the
     panel needs a little more height before the card starts to squeeze */
  --sg-h: clamp(700px, calc(100svh - 84px), 1040px);
}

/* THE CARD IS NOT TOUCHED. It was tempting to give it thirty pixels more,
   because it holds four fields and two consents rather than two fields — and
   thirty pixels is exactly what makes somebody who clicks "Create an account"
   from the sign-in page watch the card jump. The column, the width, the
   padding and the corner are the sign-in's; _verify/r47-seed.js measures both
   pages and refuses to let them drift apart.

   (There is a second reason, and it is the one that would have cost an hour:
   the sign-in collapses to one column at 1099px with a selector of one class.
   A .ax-signup .ax-signin__stage override has two, so it would have outranked
   that collapse at every width and held a 380px card column on a 390px phone.
   A modifier that overrides a base rule always has to be told where it stops,
   and the cheapest way to be told is not to write it.) */

.ax-signup .ax-signin__machine {
  inline-size: min(100%, calc((var(--sg-h) - 2 * var(--sg-pad)) * 1400 / 1000));
  aspect-ratio: 1400 / 1000;
}

/* THE BOX HOLDS THE PICTURE AND NOTHING ELSE — round 49. The canvas moved
   out of it, into .ax-signin__scene, which is the whole section: a corona
   that stops at the edge of a box is a light ray that ends in a straight
   line, and you can see the rectangle in the frame. The box is now what it
   is on the sign-in page: a frame for the still, the plate and the sound
   invitation, sized by its ratio and by nothing else. */
.ax-signup .ax-signin__still {
  position: absolute;
  inset: 0;
}

/* the hand-over, the same one the sign-in makes: arxeon.seed.js sets
   is-live-seed on the section the moment it has a context */
.ax-signup.is-live-seed .ax-signin__gl { opacity: 1; }
.ax-signup.is-live-seed .ax-signin__still { opacity: 0; }

/* THE CARD FLOATS OVER THE STONE. It is already ninety per cent opaque, so
   what reaches through is a suggestion of the light rather than the light --
   which is the right amount: the panel has to stay readable while a corona
   goes off behind it. The blur is what stops a bright spike reading as a
   hard line through the glass. */
.ax-signup .ax-signin__card {
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

/* the box is an empty frame once the engine is live -- everything in it is
   either the picture (faded out) or a label, and neither should catch a
   pointer that belongs to the stone behind it */
.ax-signup.is-live-seed .ax-signin__machine { pointer-events: none; }
.ax-signup.is-live-seed .ax-signin__sound { pointer-events: auto; }

/* the plate's vocabulary is the stone's, so it gets the stone's colours: the
   spectrum while it is being made, the accent when it is */
.ax-signup .ax-signin__plate b[data-word="growing"] { color: rgb(var(--ax-spec-2-rgb)); }
.ax-signup .ax-signin__plate b[data-word="fused"] { color: var(--ax-cyan-bright); }
.ax-signup .ax-signin__plate b[data-word="lit"] { color: rgb(var(--ax-spec-6-rgb)); }
.ax-signup .ax-signin__plate b[data-word="issued"] { color: var(--ax-success); }

/* ── the strength meter ───────────────────────────────────────────────────
   The stone already says this, in the only language it has. This says it in
   numbers, for the visitor who is looking at the form and not at the glass —
   and for the one with no engine at all, where it is the whole of the news.

   --k is one number between 0 and 1, written on the rail by the script. Each
   segment lights on its own share of it: opacity outside 0..1 is clamped by
   the UA, so `calc(--k * 5 - n)` is the whole of the arithmetic and there is
   no per-segment class to keep in step with the script.

   The colours are the stone's spectrum, in order, so a full rail and a fired
   pavilion are recognisably the same event. */

.ax-signup__meter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-block-start: 2px;
}
.ax-signup__meter i {
  position: relative;
  block-size: 3px;
  border-radius: 2px;
  background: rgb(var(--ax-white-rgb) / .07);
}
.ax-signup__meter i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgb(var(--c) / .9);
  box-shadow: 0 0 8px rgb(var(--c) / .45);
  opacity: calc(var(--k, 0) * 5 - var(--t));
  transition: opacity var(--ax-d-base) var(--ax-ease);
}
.ax-signup__meter i:nth-child(1) { --t: 0; --c: var(--ax-spec-0-rgb); }
.ax-signup__meter i:nth-child(2) { --t: 1; --c: var(--ax-spec-2-rgb); }
.ax-signup__meter i:nth-child(3) { --t: 2; --c: var(--ax-spec-4-rgb); }
.ax-signup__meter i:nth-child(4) { --t: 3; --c: var(--ax-spec-6-rgb); }
.ax-signup__meter i:nth-child(5) { --t: 4; --c: var(--ax-spec-8-rgb); }

/* what is missing, in words, and then that nothing is: role="status", so it
   is spoken once when it settles rather than on every keystroke */
.ax-signup__hint {
  font-size: var(--ax-fs-xs);
  line-height: 1.45;
  color: var(--ax-warning);
}
.ax-signup__hint:empty { display: none; }
.ax-signup__meter[data-ok="1"] ~ .ax-signup__hint { color: var(--ax-success); }

/* the rule itself, which is the server's rule and does not move */
.ax-signup__rule {
  font-size: var(--ax-fs-xs);
  line-height: 1.45;
  color: var(--ax-text-subtle);
}

/* ── the two consents ─────────────────────────────────────────────────────
   Not an .ax-signin__field, on purpose: a message about a tick belongs under
   the tick, in the flow, where it pushes rather than overlaps. The click that
   reveals it is the submit click, so there is nothing for it to shift away
   from the pointer. */

.ax-signup__agree {
  display: grid;
  row-gap: var(--ax-sp-5);
  padding-block-start: var(--ax-sp-2);
}
.ax-signup__agree .ax-wf-check { font-size: var(--ax-fs-sm); }
.ax-signup__agree .ax-error { margin-block-start: calc(var(--ax-sp-5) * -1 + 2px); }

/* ── the honeypot ─────────────────────────────────────────────────────────
   Visually gone and out of the accessibility tree, but RENDERED: a field that
   is display:none is a field a good crawler skips and a bad one still fills.
   aria-hidden and tabindex="-1" in the markup do the rest; this only takes it
   off the screen without taking it out of the document. */

.ax-signup__hp {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

/* ── narrower ────────────────────────────────────────────────────────────── */

@media (max-width: 1099px) {
  .ax-signup .ax-signin__machine { inline-size: min(100%, 560px); }

  /* THE SCENE IS NOT THE WHOLE SECTION ON A PHONE. In one column the card is
     most of a very tall section -- 2700px at 390 wide -- and a canvas that
     tall frames the stone against all of it, which draws a gem forty pixels
     across and pays for two million pixels to do it. Bounded to the first
     screenful, the stone is framed by the panel it belongs to and the card's
     top still sits over the light. */
  .ax-signup .ax-signin__scene {
    inset-block-end: auto;
    block-size: min(100%, 94svh);
  }
}

@media (max-width: 699px) {
  /* the same reasoning as the chain's: a phone frames the stone by its width,
     and a box of the picture's own shape leaves a band of empty dark above and
     below it. Shorter, and the card comes up the screen. */
  .ax-signup .ax-signin__machine { aspect-ratio: 1400 / 820; }
}

@media (prefers-reduced-motion: reduce) {
  .ax-signup__meter i::after { transition: none; }
}

/* ============================================================================
   07 · THE WELCOME — round 51: the universe
   Account/Welcome.aspx, drawn by Scripts/arxeon.orbit.js.
   ----------------------------------------------------------------------------
   The page the register post lands on, once. It is a block of its own rather
   than a modifier on .ax-signin, because it shares none of that page's shape:
   no form, no providers, no machine box — one canvas that is the whole
   section, one frame the layout puts down for the system to stand in, and a
   short column of type beside it.

   WHAT IT DOES SHARE is everything that is not this page: .ax-container, the
   buttons, .ax-link, .ax-sr-only. Nothing is re-described here that the design
   system already describes.

   THE ENGINE HIDES THE CARD, NOT THE OTHER WAY ROUND. Every rule below reads
   "visible, unless the universe is running" — so a visitor with no WebGL, no
   JavaScript, reduced motion or a printer gets the words and the link
   immediately and at full contrast, and only somebody who is going to be shown
   the arrival waits five seconds for it. A page that hides its own content by
   default and restores it in script is a page that is blank when the script
   fails.
   ========================================================================= */

.ax-welcome {
  --wl-h: clamp(660px, calc(100svh - 84px), 1080px);
  position: relative;
  display: grid;
  min-block-size: var(--wl-h);
  padding-block: clamp(24px, 4.6vh, 64px);
  background: var(--ax-bg);
  overflow: clip;
  isolation: isolate;
}

/* the room: deep space is not black, it is very dark blue with the mark's
   own colour where the star is */
.ax-welcome__dark {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 52% at 34% 50%, rgb(var(--ax-spec-4-rgb) / .055), transparent 74%),
    radial-gradient(64% 44% at 50% 0%, rgb(var(--ax-white-rgb) / .025), transparent 72%);
}

.ax-welcome__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ax-welcome__gl {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
  transition: opacity .9s var(--ax-ease-out);
}
.ax-welcome.is-live-orbit .ax-welcome__gl { opacity: 1; }

/* The picture of the same system, under the canvas rather than swapped for
   it: there is never a frame with nothing in it, and the engine fades in
   over its own still. */
.ax-welcome__still {
  position: absolute;
  inset: 0;
  display: block;
}
.ax-welcome__still img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 34% 50%;
}
.ax-welcome.is-live-orbit .ax-welcome__still { opacity: 0; transition: opacity .9s var(--ax-ease-out); }

/* ── the frame the system stands in ───────────────────────────────────────
   Nothing is ever drawn in this box: it is a measurement. The engine centres
   the mark in it and fits the outermost orbit to its edges, so moving it here
   moves the universe and rescales it together. It is the same idea as the
   register page's machine box, minus the picture. */
.ax-welcome__aim {
  position: absolute;
  inset-block: 20% 2%;
  inset-inline-start: 2%;
  inline-size: 62%;
  pointer-events: none;
}

/* ── the words ────────────────────────────────────────────────────────── */

.ax-welcome__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  align-items: center;
  align-self: center;
  column-gap: clamp(32px, 4.4vw, 88px);
}

.ax-welcome__card {
  position: relative;
  grid-column: 2;
  display: grid;
  justify-items: start;
  row-gap: var(--ax-sp-6);
  padding: clamp(22px, 2.4vw, 34px);
  border-radius: var(--ax-r-xl);
  border: 1px solid transparent;
  background:
    linear-gradient(rgb(15 15 16 / .78), rgb(9 9 10 / .86)) padding-box,
    var(--ax-edge) border-box;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--ax-el-5);
}
/* the same line of accent along the top edge the sign-in card has: it is the
   same family of card, lit from the side the light is on */
.ax-welcome__card::before {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline: 22% 22%;
  block-size: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--ax-accent-text-rgb) / .8), transparent);
  pointer-events: none;
}

.ax-welcome__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--ax-sp-4);
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgb(var(--ax-accent-text-rgb));
}
.ax-welcome__eyebrow svg { inline-size: 16px; block-size: 16px; flex: none; }

.ax-welcome__title {
  margin: 0;
  font-size: var(--ax-fs-2xl);
  color: var(--ax-text-strong);
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.ax-welcome__lead {
  margin: 0;
  color: var(--ax-text-muted);
  text-wrap: pretty;
}
.ax-welcome__lead b { color: var(--ax-text-strong); font-weight: var(--ax-fw-semibold); font-variant-numeric: tabular-nums; }

.ax-welcome__go { justify-self: stretch; text-align: center; }

.ax-welcome__fine {
  margin: 0;
  font-size: var(--ax-fs-sm);
  color: var(--ax-text-subtle);
}

/* ── the arrival ──────────────────────────────────────────────────────────
   Only while the engine is running. The card is not hidden until something is
   going to show it again, and `is-said` is added by the engine a quarter of a
   second after the stone reaches its orbit — or immediately, if there is no
   engine at all. */
.ax-welcome.is-live-orbit .ax-welcome__card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s var(--ax-ease-out), transform .9s var(--ax-ease-out);
}
.ax-welcome.is-live-orbit.is-said .ax-welcome__card { opacity: 1; transform: none; }

/* ── narrower ─────────────────────────────────────────────────────────── */

@media (max-width: 1099px) {
  /* one column: the universe takes the top of the screen and the words come
     up underneath it, which is the same collapse the register page makes */
  .ax-welcome__stage {
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    row-gap: var(--ax-sp-7);
    padding-block-start: min(52svh, 520px);
  }
  .ax-welcome__card { grid-column: 1; justify-self: center; inline-size: min(100%, 520px); }
  .ax-welcome__aim {
    inset-block: 4% auto;
    inset-inline-start: 6%;
    inline-size: 88%;
    block-size: min(46svh, 460px);
  }
  /* and the canvas stops at the first screenful for the same reason the
     register page's does: a section 2500px tall frames the system against all
     of it and pays two million pixels to draw it the size of a coin */
  .ax-welcome__scene { inset-block-end: auto; block-size: min(100%, 100svh); }
}

@media (max-width: 699px) {
  .ax-welcome__aim { inset-block: 3% auto; inset-inline-start: 2%; inline-size: 96%; block-size: min(44svh, 400px); }
  .ax-welcome__stage { padding-block-start: min(42svh, 380px); }
  .ax-welcome__card { padding: var(--ax-sp-7) var(--ax-sp-6); border-radius: var(--ax-r-lg); }
}

/* ── still ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  /* the engine never starts here: the picture is the universe, and the words
     are already on the screen */
  .ax-welcome__gl,
  .ax-welcome__still,
  .ax-welcome__card { transition: none; }
}

@media print, (forced-colors: active) {
  .ax-welcome__dark, .ax-welcome__scene { display: none !important; }
  .ax-welcome__stage { grid-template-columns: minmax(0, 1fr); padding-block-start: 0; }
  .ax-welcome__card {
    grid-column: 1;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ============================================================================
   08 · SIGN-IN SECURITY — round 1.2
   Account/Forgot, Account/ResetPassword, Account/TwoFactorAuthenticationSignIn
   and Account/TwoStep, and the Forgot link on the sign-in page.
   ----------------------------------------------------------------------------
   ALL FOUR ARE SETPASSWORD'S CARD: the solo stage, the head, the sign-in alert,
   the fields and the button, described once in section 05. What follows is
   only what those pages hold that no other does: a code box, the choice
   between an app and email, the QR code and its key, what is on and since
   when, and the recovery codes shown once.

   THE QR CODE SITS ON WHITE, whatever the theme. A scanner reads dark modules
   on a light ground with a quiet zone round them (the SVG draws its own four
   modules of it); inverted, half the apps people actually use cannot read it.
   ========================================================================= */

/* the sign-in page: the link beside Remember me */
.ax-signin__forgot { font-size: var(--ax-fs-sm); white-space: nowrap; }

/* the reset page: whose password this is */
.ax-signin__who { color: var(--ax-text-strong); font-weight: var(--ax-fw-semibold); overflow-wrap: anywhere; }

/* a code box: digits in the mono face, spaced so six of them read as one */
.ax-twostep__code {
  font-family: var(--ax-font-mono);
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
}
.ax-twostep__code::placeholder { letter-spacing: .14em; }

/* the line under a form: the other way to do the same thing */
.ax-twostep__switch {
  margin: 0;
  font-size: var(--ax-fs-sm);
  text-align: center;
}

/* ── the choice: an app, or email ────────────────────────────────────── */

.ax-twostep__choices { display: grid; row-gap: var(--ax-sp-6); }
.ax-twostep__choice {
  display: grid;
  row-gap: var(--ax-sp-4);
  padding: var(--ax-sp-7);
  border-radius: var(--ax-r-lg);
  border: 1px solid var(--ax-line);
  background: rgb(var(--ax-white-rgb) / .02);
}
.ax-twostep__choice-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ax-sp-4);
  margin: 0;
  color: var(--ax-text-strong);
}
.ax-twostep__choice-head b { font-weight: var(--ax-fw-semibold); }
.ax-twostep__choice-text {
  margin: 0;
  font-size: var(--ax-fs-sm);
  line-height: 1.55;
  color: var(--ax-text-muted);
}
.ax-twostep__choice-text b { color: var(--ax-text-body); font-weight: var(--ax-fw-medium); overflow-wrap: anywhere; }
.ax-twostep__choice-off {
  margin: 0;
  font-size: var(--ax-fs-xs);
  color: var(--ax-warning);
}

/* ── an authenticator app ────────────────────────────────────────────── */

/* numbered: ol.… because the base sheet takes the numbers, and the room for
   them, off every list with a class (ul[class], ol[class]) */
ol.ax-twostep__steps {
  display: grid;
  row-gap: var(--ax-sp-3);
  margin: 0;
  padding-inline-start: 1.3em;
  list-style: decimal;
  font-size: var(--ax-fs-sm);
  line-height: 1.55;
  color: var(--ax-text-muted);
}
.ax-twostep__steps b { color: var(--ax-text-strong); }
.ax-twostep__on-phone { display: block; }

.ax-twostep__qr {
  justify-self: center;
  inline-size: min(100%, 232px);
  padding: 0;
  border-radius: var(--ax-r-md);
  background: #fff;
  box-shadow: 0 0 0 1px var(--ax-line);
  line-height: 0;
}
.ax-twostep__qr svg { display: block; inline-size: 100%; block-size: auto; border-radius: inherit; }

.ax-twostep__key {
  display: grid;
  row-gap: var(--ax-sp-2);
  margin: 0;
  font-size: var(--ax-fs-xs);
  color: var(--ax-text-subtle);
  text-align: center;
}
.ax-twostep__key code {
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-sm);
  letter-spacing: .06em;
  color: var(--ax-text-strong);
  overflow-wrap: anywhere;
  user-select: all;
}

/* ── on: what, since when, and what can change ───────────────────────── */

.ax-twostep__facts {
  display: grid;
  row-gap: var(--ax-sp-4);
  margin: 0;
  padding: var(--ax-sp-6) var(--ax-sp-7);
  border-radius: var(--ax-r-lg);
  border: 1px solid var(--ax-line);
  background: rgb(var(--ax-white-rgb) / .02);
}
.ax-twostep__facts > div {
  display: grid;
  grid-template-columns: minmax(0, 9em) minmax(0, 1fr);
  align-items: center;
  column-gap: var(--ax-sp-6);
}
.ax-twostep__facts dt { font-size: var(--ax-fs-xs); color: var(--ax-text-subtle); }
.ax-twostep__facts dd { margin: 0; font-size: var(--ax-fs-sm); color: var(--ax-text-strong); overflow-wrap: anywhere; }
.ax-twostep__fine {
  margin: 0;
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-subtle);
}
.ax-twostep__actions { display: grid; row-gap: var(--ax-sp-4); }
.ax-twostep__off { color: var(--ax-danger); }
.ax-twostep__off:hover { color: var(--ax-danger); }

/* ── the recovery codes, once ────────────────────────────────────────── */

.ax-twostep__codes {
  padding: var(--ax-sp-6) var(--ax-sp-7);
  border-radius: var(--ax-r-lg);
  border: 1px dashed var(--ax-line-strong);
  background: rgb(var(--ax-white-rgb) / .025);
}
/* numbered, so a code can be named ("the third one"); ol.… as above */
ol.ax-twostep__codes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ax-sp-3) var(--ax-sp-8);
  margin: 0;
  padding-inline-start: 1.6em;
  list-style: decimal;
  font-size: var(--ax-fs-xs);
  color: var(--ax-text-subtle);
}
.ax-twostep__codes-list code {
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-sm);
  letter-spacing: .04em;
  color: var(--ax-text-strong);
}
.ax-twostep__codes-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ax-sp-4);
}
.ax-twostep__said { font-size: var(--ax-fs-xs); color: var(--ax-text-muted); }

@media (max-width: 379px) {
  ol.ax-twostep__codes-list { grid-template-columns: minmax(0, 1fr); }
  .ax-twostep__facts > div { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
}

@media print {
  /* the codes are the one thing on this page worth printing */
  .ax-twostep__codes { border-style: solid; background: none; }
  ol.ax-twostep__codes-list, .ax-twostep__codes-list code { color: #000; }
  .ax-twostep__codes-tools { display: none !important; }
}
