/* BYI Nexus sign-in, MFA, account access and demo access: Nexus Atlas (2.2.4).
   The paper, ink and teal of the public Nexus Atlas site, with its faceted sphere beside the access card.
   Classic Dark and White both apply. These tokens re-tune the app tokens only inside these pages. */
@font-face { font-family: "Nexus Inter"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("inter-latin.260c81a4759b.woff2") format("woff2"); }

:root body.nxl,
:root[data-theme="dark"] body.nxl {
  color-scheme: dark;
  --font-ui: "Nexus Inter", Inter, "Segoe UI", system-ui, sans-serif;
  --bg: #0d161b; --chrome: #0d161b; --surface: #13212a; --surface-raised: #182a33; --surface-hover: #1d313b; --surface-input: #0f1b22;
  --border: #223640; --border-strong: #2f4752; --control-border: #5f7a85; --control-border-hover: #84a0aa;
  --text: #e9f0ef; --text-secondary: #cfdcdb; --muted: #9db0b6; --faint: #8aa0a7; --icon: #94aab1;
  --accent: #5ccfbd; --accent-hover: #8ae3d4; --accent-solid: #5ccfbd; --accent-solid-hover: #84ddcf; --accent-solid-deep: #3fb3a1; --accent-on-solid: #08231f;
  --accent-soft: #15302f; --accent-soft-strong: #1a3b39; --accent-soft-text: #9be8da; --accent-border: #2f6f67; --accent-halo: #5ccfbd40;
  --elevation: 0 1px 2px #00000040, 0 30px 70px -36px #000000cc;
  --nxl-title: #e3eeec; --nxl-title-turn: #7fc9bd; --nxl-glow: #12252e; --nxl-hairline: #24383f;
  --nxl-error-bg: #2a1618; --nxl-error-border: #5d2c2e; --nxl-error-text: #f3bdb5;
  --status-error-bg: var(--nxl-error-bg); --status-error-border: var(--nxl-error-border); --status-error-text: var(--nxl-error-text);
}
:root[data-theme="light"] body.nxl {
  color-scheme: light;
  --bg: #eef1f0; --chrome: #eef1f0; --surface: #ffffff; --surface-raised: #f4f6f5; --surface-hover: #e9eeed; --surface-input: #ffffff;
  --border: #d6dedd; --border-strong: #bfcbcb; --control-border: #7f9195; --control-border-hover: #5f7277;
  --text: #17191c; --text-secondary: #203744; --muted: #5b6d75; --faint: #6b7c83; --icon: #4f6670;
  --accent: #0f766e; --accent-hover: #115e59; --accent-solid: #203744; --accent-solid-hover: #2c4858; --accent-solid-deep: #172a34; --accent-on-solid: #ffffff;
  --accent-soft: #e3efed; --accent-soft-strong: #d2e6e2; --accent-soft-text: #0d5c55; --accent-border: #8cc5bd; --accent-halo: #0f766e33;
  --elevation: 0 1px 2px #2037440f, 0 28px 64px -34px #20374459;
  --nxl-title: #203744; --nxl-title-turn: #3d7f7d; --nxl-glow: #e1e8e6; --nxl-hairline: #cdd7d7;
  --nxl-error-bg: #fbf0ee; --nxl-error-border: #ecc3bc; --nxl-error-text: #8a2d22;
  --status-error-bg: var(--nxl-error-bg); --status-error-border: var(--nxl-error-border); --status-error-text: var(--nxl-error-text);
}

body.nxl { display: flex; flex-direction: column; min-height: 100vh; margin: 0; padding: 0; place-items: normal; background: var(--bg); color: var(--text); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.nxl-shell { flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(440px, .78fr); }

/* The story: brand, headline, the sphere and the latest release, on the Atlas paper. */
.nxl-story { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 620px; padding: 34px clamp(32px, 4vw, 72px) 36px; overflow: hidden; color: var(--text); background: radial-gradient(58% 52% at 70% 60%, var(--nxl-glow), transparent 72%); }
.nxl-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.nxl-brand img { display: block; width: 42px; height: 42px; border-radius: 11px; }
.nxl-brand p { display: flex; flex-direction: column; margin: 0; }
.nxl-brand strong { color: var(--nxl-title); font: 600 16px/1.25 var(--font-ui); letter-spacing: -.01em; }
.nxl-brand span { color: var(--muted); font-size: 13px; }
.nxl-copy { position: relative; z-index: 1; margin-top: clamp(36px, 8vh, 104px); }
.nxl-copy h1 { margin: 0; color: var(--nxl-title); font: 300 clamp(46px, 4.6vw, 76px)/.98 var(--font-ui); letter-spacing: -.045em; }
.nxl-copy h1 span { display: block; }
.nxl-copy h1 .nxl-title-turn { color: var(--nxl-title-turn); }
.nxl-copy p { max-width: 23rem; margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.nxl-visual { position: absolute; z-index: 0; right: -4%; bottom: 6%; width: 62%; height: 70%; margin: 0; }
.nxl-scene { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease; }
.nxl-scene-ready .nxl-scene { opacity: 1; }
.nxl-notes-visual { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.nxl-mark { position: absolute; display: flex; flex-direction: column; gap: 2px; max-width: 12.5rem; padding-left: 14px; border-left: 1px solid var(--nxl-hairline); color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.nxl-mark strong { color: var(--text-secondary); font-size: 13px; font-weight: 600; }
.nxl-mark-a { right: 10%; bottom: 11%; }
.nxl-mark-b { right: 9%; top: 6%; }

.nxl-update { position: relative; z-index: 1; margin-top: auto; max-width: 23rem; padding: 18px 0 0; border-top: 1px solid var(--nxl-hairline); }
.nxl-update-label { margin: 0 0 6px; color: var(--accent); font-size: 13px; font-weight: 600; }
.nxl-update h2 { margin: 0; color: var(--nxl-title); font: 600 16px/1.35 var(--font-ui); letter-spacing: -.01em; }
.nxl-update p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.nxl-update-link { display: inline-flex; align-items: center; min-height: 36px; margin-top: 4px; color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nxl-update-link:hover { color: var(--accent-hover); }

/* The access column: one quiet card on the same paper. */
.nxl-access { display: flex; flex-direction: column; min-width: 0; padding: 22px clamp(20px, 4vw, 64px) 12px; border-left: 1px solid var(--nxl-hairline); }
.nxl-tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-height: 38px; }
.nxl .nxl-tools .auth-appearance { position: static; }
.nxl-release { color: var(--muted); font-size: 13px; }
.nxl-main { flex: 1; display: grid; place-items: center; padding: 28px 0 36px; }
.nxl-card { width: 100%; max-width: 432px; padding: 36px 36px 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--elevation); }
.nxl-card-heading { margin-bottom: 24px; }
.nxl-lock { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.nxl-card h2 { margin: 0; color: var(--nxl-title); font: 600 25px/1.2 var(--font-ui); letter-spacing: -.025em; }
.nxl-card-heading p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.nxl-card a { color: var(--accent); }
.nxl-card a:hover { color: var(--accent-hover); }
.nxl-form { display: flex; flex-direction: column; gap: 18px; }
.nxl-card .form-fields { grid-template-columns: minmax(0, 1fr); }
.nxl-form .form-field { margin: 0; }
.nxl label { color: var(--text-secondary); font-size: 13px; font-weight: 600; }
.nxl input[type="text"], .nxl input[type="password"], .nxl input[type="email"], .nxl input[type="number"], .nxl input[type="tel"] { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--control-border); border-radius: 10px; background: var(--surface-input); color: var(--text); font: 400 15px var(--font-ui); }
.nxl input[type="text"]:hover, .nxl input[type="password"]:hover, .nxl input[type="email"]:hover, .nxl input[type="number"]:hover, .nxl input[type="tel"]:hover { border-color: var(--control-border-hover); }
.nxl input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.nxl input[aria-invalid="true"] { border-color: var(--nxl-error-text); }
.nxl-password-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.nxl-password-label a { font-size: 13px; font-weight: 500; }
.nxl .button-primary { min-height: 46px; border-radius: 10px; border-color: var(--accent-solid); background: var(--accent-solid); color: var(--accent-on-solid); font-size: 15px; font-weight: 600; }
.nxl .button-primary:hover { border-color: var(--accent-solid-hover); background: var(--accent-solid-hover); color: var(--accent-on-solid); }
.nxl-submit { justify-content: center; width: 100%; margin-top: 6px; }
.nxl .button:focus-visible, .nxl a:focus-visible, .nxl summary:focus-visible, .nxl .text-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nxl .form-error-summary { margin: 0 0 20px; padding: 12px 14px 12px 16px; border: 1px solid var(--nxl-error-border); border-radius: 10px; box-shadow: inset 3px 0 var(--nxl-error-text); background: var(--nxl-error-bg); color: var(--nxl-error-text); font-size: 14px; }
.nxl .form-error-summary p { margin: 0 0 2px; font-weight: 600; }
.nxl-notes { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); }
.nxl-notes li { display: flex; gap: 12px; }
.nxl-notes .icon { flex: none; margin-top: 2px; color: var(--accent); }
.nxl-notes p { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: 13px; line-height: 1.5; }
.nxl-notes strong { color: var(--text-secondary); font-weight: 600; }
.nxl-notes span { color: var(--muted); }
.nxl > .product-footer { flex: none; margin: 0; padding: 14px clamp(20px, 4vw, 64px) 18px; border-top: 1px solid var(--nxl-hairline); background: transparent; }

@media (max-width: 1200px) { .nxl-mark { display: none; } .nxl-visual { right: -10%; bottom: 16%; width: 64%; height: 60%; } .nxl-copy p { max-width: 20rem; } }
@media (max-height: 760px) and (min-width: 981px) { .nxl-mark { display: none; } .nxl-copy { margin-top: 28px; } .nxl-copy p { margin-top: 18px; } }
@media (max-width: 980px) {
  .nxl-shell { position: relative; grid-template-columns: minmax(0, 1fr); }
  .nxl-story { display: contents; }
  .nxl-brand { order: 1; padding: 18px 20px 4px; }
  .nxl-access { order: 2; padding: 0 16px; border-left: 0; }
  .nxl-tools { position: absolute; top: 18px; right: 16px; min-height: 0; }
  .nxl-main { padding: 18px 0 30px; }
  .nxl-copy { order: 3; margin: 6px 0 0; padding: 0 22px; }
  .nxl-copy h1 { font-size: clamp(38px, 10vw, 52px); }
  .nxl-copy p { max-width: 34rem; margin-top: 16px; font-size: 15px; }
  .nxl-visual { order: 4; position: relative; right: auto; bottom: auto; width: 100%; height: 300px; }
  .nxl-update { order: 5; max-width: none; margin: 0 22px 32px; }
}
@media (max-width: 480px) { .nxl-access { padding: 0 12px; } .nxl-card { padding: 26px 20px 20px; border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) { .nxl-scene { transition: none; } }
