@charset "utf-8";
/* ============================================================================
   ARXEON DESIGN SYSTEM — "PRISM"
   02 · BASE — reset, atmosphere, typography, layout, utilities
   Requires: arxeon.tokens.css
   ========================================================================= */

/* ── RESET ──────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  /* Tells the UA to render its own chrome dark: scrollbars, the native
     <select> popup, date pickers, form control internals, and the flash of
     canvas before first paint. Without it those all arrive white. */
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchor targets must clear the sticky header. */
  scroll-padding-top: 96px;
  tab-size: 2;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ax-bg);
  color: var(--ax-text-body);
  font-family: var(--ax-font-sans);
  font-size: var(--ax-fs-md);
  line-height: var(--ax-lh-body);
  font-weight: var(--ax-fw-regular);
  letter-spacing: var(--ax-tr-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
  overflow-x: hidden;
  /* Manrope ships proportional figures; UI wants tabular alignment for
     anything that changes in place. */
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

img, svg, video, canvas, picture { display: block; max-width: 100%; }
img, video { height: auto; }

button, input, select, textarea, optgroup {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
}
button { background: none; border: 0; padding: 0; cursor: pointer; }
button, [role="button"], label[for], summary { -webkit-tap-highlight-color: transparent; }

table { border-collapse: collapse; border-spacing: 0; }
hr { border: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

::selection {
  background: rgb(var(--ax-cyan-rgb) / .26);
  color: var(--ax-text-strong);
}

/* One focus ring, everywhere. Never remove it — only ever replace it. */
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--ax-ring);
  border-radius: var(--ax-r-xs);
}

[hidden] { display: none !important; }
[inert] { pointer-events: none; user-select: none; }

/* Spectral scrollbar. */
* { scrollbar-width: thin; scrollbar-color: var(--ax-ink-300) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--ax-ink-300);
  border: 3px solid transparent;
  background-clip: content-box;
  border-radius: var(--ax-r-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--ax-ink-400); background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }


/* ── ATMOSPHERE ─────────────────────────────────────────────────────────────
   Two fixed layers behind everything:
     .ax-caustics — a slow light-field at the 30deg blade axis, as if the mark
                    were refracting somewhere off-screen.
     .ax-grain    — 2.8% noise. This is load-bearing: it is what keeps a
                    nine-stop gradient from banding on an 8-bit panel.
   Both are pointer-transparent and both vanish under reduced motion.      */

.ax-atmos {
  position: fixed;
  inset: 0;
  z-index: var(--ax-z-behind);
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.ax-caustics {
  position: absolute;
  inset: -20%;
  opacity: var(--ax-caustic-opacity);
  background:
    radial-gradient(46% 38% at 14% 6%,  rgb(var(--ax-cyan-rgb)   / .17), transparent 68%),
    radial-gradient(40% 44% at 88% 12%, rgb(var(--ax-violet-rgb) / .14), transparent 66%),
    radial-gradient(58% 40% at 62% 96%, rgb(var(--ax-indigo-rgb) / .12), transparent 70%),
    radial-gradient(34% 30% at 4% 78%,  rgb(var(--ax-azure-rgb)  / .09), transparent 70%);
  filter: blur(28px) saturate(118%);
  animation: ax-drift 34s var(--ax-ease-in-out) infinite alternate;
  will-change: transform;
}

/* The blade field: eleven 30deg strokes of light, echoing the mark, at an
   opacity where you feel them rather than see them. */
.ax-caustics::after {
  content: "";
  position: absolute;
  inset: -30%;
  transform: skewX(var(--ax-axis));
  opacity: .5;
  background: repeating-linear-gradient(
      90deg,
      transparent 0 118px,
      rgb(var(--ax-white-rgb) / .014) 118px 119px,
      transparent 119px 237px);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 10%, transparent 78%);
}

@keyframes ax-drift {
  from { transform: translate3d(-2.2%, -1.4%, 0) scale(1.02); }
  to   { transform: translate3d( 2.6%,  2.0%, 0) scale(1.08); }
}

.ax-grain {
  position: fixed;
  inset: -120px;
  z-index: var(--ax-z-grain);
  pointer-events: none;
  opacity: var(--ax-grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: ax-grain-shift 6s steps(6) infinite;
}
@keyframes ax-grain-shift {
  0%   { transform: translate(0, 0); }
  16%  { transform: translate(-24px, 12px); }
  33%  { transform: translate(18px, -20px); }
  50%  { transform: translate(-14px, -14px); }
  66%  { transform: translate(22px, 16px); }
  83%  { transform: translate(-20px, 8px); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ax-caustics, .ax-grain { animation: none; }
}


/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────────
   Every step pairs a size with the tracking and leading that size needs.
   Do not set font-size without also setting its partners.                 */

.ax-display-1, .ax-display-2, .ax-display-3, .ax-display-4,
.ax-h1, .ax-h2, .ax-h3, .ax-h4, .ax-h5, .ax-h6 {
  color: var(--ax-text-strong);
  font-weight: var(--ax-fw-bold);
  text-wrap: balance;
  margin: 0;
}

.ax-display-1 { font-size: var(--ax-fs-d1); line-height: var(--ax-lh-display); letter-spacing: var(--ax-tr-hero);    font-weight: var(--ax-fw-heavy); }
.ax-display-2 { font-size: var(--ax-fs-d2); line-height: var(--ax-lh-display); letter-spacing: var(--ax-tr-display); font-weight: var(--ax-fw-heavy); }
.ax-display-3 { font-size: var(--ax-fs-d3); line-height: 1.08;                 letter-spacing: var(--ax-tr-display); }
.ax-display-4 { font-size: var(--ax-fs-d4); line-height: var(--ax-lh-head);    letter-spacing: var(--ax-tr-head); }

.ax-h1 { font-size: var(--ax-fs-4xl); line-height: var(--ax-lh-head);  letter-spacing: var(--ax-tr-display); }
.ax-h2 { font-size: var(--ax-fs-3xl); line-height: var(--ax-lh-head);  letter-spacing: var(--ax-tr-head); }
.ax-h3 { font-size: var(--ax-fs-2xl); line-height: 1.22;               letter-spacing: var(--ax-tr-head); }
.ax-h4 { font-size: var(--ax-fs-xl);  line-height: 1.30;               letter-spacing: var(--ax-tr-lead); }
.ax-h5 { font-size: var(--ax-fs-lg);  line-height: 1.38;               letter-spacing: var(--ax-tr-lead); font-weight: var(--ax-fw-semibold); }
.ax-h6 { font-size: var(--ax-fs-md);  line-height: 1.45;               letter-spacing: var(--ax-tr-body); font-weight: var(--ax-fw-semibold); }

.ax-lead {
  font-size: var(--ax-fs-lg);
  line-height: var(--ax-lh-lead);
  letter-spacing: var(--ax-tr-lead);
  color: var(--ax-text-muted);
  font-weight: var(--ax-fw-regular);
  text-wrap: pretty;
}
.ax-body   { font-size: var(--ax-fs-md); line-height: var(--ax-lh-body); color: var(--ax-text-body); text-wrap: pretty; }
.ax-body-sm{ font-size: var(--ax-fs-sm); line-height: 1.62; color: var(--ax-text-body); }
.ax-caption{ font-size: var(--ax-fs-xs); line-height: var(--ax-lh-micro); letter-spacing: var(--ax-tr-tiny); color: var(--ax-text-subtle); }

/* The eyebrow: mono, uppercase, wide. The instrument read-out. */
.ax-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--ax-sp-4);
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: var(--ax-tr-micro);
  text-transform: uppercase;
  color: var(--ax-text-muted);
}
.ax-eyebrow::before {
  content: "";
  inline-size: 20px;
  block-size: 1px;
  background: var(--ax-grad-sweep);
  flex: none;
}
.ax-eyebrow--bare::before { display: none; }

.ax-mono { font-family: var(--ax-font-mono); font-variant-ligatures: none; }
.ax-num  { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ── THE SHEEN ─────────────────────────────────────────────────────────────
   A headline painted end-to-end in the spectrum is the single least elegant
   thing a brand gradient can do: the type stops being type and becomes a
   swatch, and it is the look every AI-generated landing page reaches for.

   This is the opposite move, and it is the thesis stated in one element: the
   letters are the instrument — near-white, unpainted — and a narrow band of
   spectrum TRAVELS THROUGH them every few seconds, the way light crosses a
   prism and then is gone. At rest the headline is simply white, which is why
   it survives a screenshot, a print, and a reader who does not care about
   brand colour. Under reduced motion the band never enters and the headline
   stays exactly that.                                                      */

.ax-aurora {
  background: linear-gradient(100deg,
      var(--ax-ink-950)  0%,   var(--ax-ink-950) 33%,
      var(--ax-spec-0)   41%,  var(--ax-spec-3)  45%,
      var(--ax-spec-6)   49%,  var(--ax-spec-8)  53%,
      var(--ax-ink-950)  61%,  var(--ax-ink-950) 100%);
  background-size: 320% 100%;
  background-position: 132% 50%;   /* the band waits off to the right */
  /* NOT no-repeat. background-clip:text paints nothing outside a single
     non-repeating image, so any letter the image does not cover renders
     fully transparent — half the headline simply vanishes. Both ends of the
     ramp are --ax-ink-950, so the tiles join white-to-white invisibly and
     repeating is both safe and the only correct setting here. */
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: ax-sheen 8.5s var(--ax-ease-in-out) infinite;
  padding-inline: .02em;
}
@keyframes ax-sheen {
  0%        { background-position: 132% 50%; }
  38%, 100% { background-position: -38% 50%; }
}

/* The one alternative: a quiet tint from near-white into pale cyan. Use it
   where a headline needs some colour but the sheen would be missed — a short
   phrase, or a block that never sits still long enough to catch it. */
.ax-aurora--tint {
  background: linear-gradient(104deg,
      var(--ax-ink-950) 8%, var(--ax-cyan-bright) 62%, var(--ax-spec-4) 100%);
  background-size: 100% 100%;
  background-position: 0 0;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .ax-aurora { animation: none; background-position: 132% 50%; }
}

.ax-prose { max-width: var(--ax-container-prose); }
.ax-prose > * + * { margin-top: var(--ax-sp-6); }
.ax-prose h2 { margin-top: var(--ax-sp-11); }
.ax-prose h3 { margin-top: var(--ax-sp-9); }
.ax-prose a  { color: var(--ax-cyan); }

.ax-link {
  color: var(--ax-text);
  text-decoration: none;
  background-image: var(--ax-grad-sweep);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--ax-d-base) var(--ax-ease-out), color var(--ax-d-fast) var(--ax-ease);
  padding-bottom: 2px;
}
.ax-link:hover { color: var(--ax-text-strong); background-size: 100% 1px; }
.ax-link--muted { color: var(--ax-text-muted); }

.ax-quiet { color: var(--ax-text-muted); }
.ax-strong { color: var(--ax-text-strong); font-weight: var(--ax-fw-semibold); }


/* ── LAYOUT ─────────────────────────────────────────────────────────────── */

.ax-container {
  width: 100%;
  max-width: calc(var(--ax-container) + var(--ax-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--ax-gutter);
}
.ax-container--wide { max-width: calc(var(--ax-container-wide) + var(--ax-gutter) * 2); }
.ax-container--narrow { max-width: calc(860px + var(--ax-gutter) * 2); }

.ax-section { padding-block: var(--ax-section); position: relative; }
.ax-section--tight { padding-block: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); }

.ax-stack   { display: flex; flex-direction: column; gap: var(--ax-sp-6); }
.ax-stack-2 { display: flex; flex-direction: column; gap: var(--ax-sp-4); }
.ax-stack-3 { display: flex; flex-direction: column; gap: var(--ax-sp-8); }
.ax-stack-4 { display: flex; flex-direction: column; gap: var(--ax-sp-11); }

.ax-row { display: flex; align-items: center; gap: var(--ax-sp-5); flex-wrap: wrap; }
.ax-row--tight { gap: var(--ax-sp-3); }
.ax-row--between { justify-content: space-between; }
.ax-row--end { justify-content: flex-end; }
.ax-row--center { justify-content: center; }
.ax-row--top { align-items: flex-start; }
.ax-row--nowrap { flex-wrap: nowrap; }

.ax-grid { display: grid; gap: var(--ax-sp-8); }
.ax-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ax-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ax-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Auto-fit grids never need a breakpoint — they collapse on their own. */
.ax-grid--auto  { grid-template-columns: repeat(auto-fit, minmax(min(272px, 100%), 1fr)); }
.ax-grid--auto-sm { grid-template-columns: repeat(auto-fit, minmax(min(196px, 100%), 1fr)); }
.ax-grid--auto-lg { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }

/* Three and four columns both step down to two before they step down to one:
   a 3-up card grid at 768px leaves ~230px per column, which is narrower than
   several controls in this system and forces horizontal overflow. */
@media (max-width: 1023px) {
  .ax-grid--3, .ax-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) { .ax-grid--2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) {
  .ax-grid--2, .ax-grid--3, .ax-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.ax-spacer { flex: 1 1 auto; }

/* THE BLADE RULE — a divider sheared to the mark's 30deg axis. */
.ax-rule {
  block-size: 1px;
  inline-size: 100%;
  border: 0;
  background: var(--ax-grad-hair);
  opacity: .5;
}
.ax-rule--quiet { background: var(--ax-line); opacity: 1; }
.ax-blade-rule {
  position: relative;
  block-size: 18px;
  inline-size: 100%;
  border: 0;
  overflow: hidden;
}
.ax-blade-rule::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: skewX(var(--ax-axis));
  background: repeating-linear-gradient(90deg,
      transparent 0 13px,
      rgb(var(--ax-white-rgb)/.10) 13px 14px,
      transparent 14px 27px);
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}


/* ── SURFACE PRIMITIVES ─────────────────────────────────────────────────────
   .ax-edge is the refraction edge: a 1px border painted with a gradient by
   compositing padding-box over border-box. This is the system's signature
   and should be reached for before any solid border-color.               */

.ax-edge {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--ax-surface), var(--ax-surface)) padding-box,
    var(--ax-edge) border-box;
}
.ax-edge--hi {
  background:
    linear-gradient(var(--ax-surface), var(--ax-surface)) padding-box,
    var(--ax-edge-hi) border-box;
}
.ax-edge--quiet {
  background:
    linear-gradient(var(--ax-surface), var(--ax-surface)) padding-box,
    var(--ax-edge-quiet) border-box;
}

/* The spectral hairline that sits on the top lip of a raised surface — the
   line where light lands first. */
.ax-hairline { position: relative; }
.ax-hairline::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  inset-block-start: 0;
  block-size: 1px;
  background: var(--ax-grad-hair);
  opacity: .7;
  pointer-events: none;
}


/* ── UTILITIES ──────────────────────────────────────────────────────────── */

.ax-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.ax-skip-link {
  position: absolute;
  inset-inline-start: var(--ax-sp-6);
  inset-block-start: -100px;
  z-index: var(--ax-z-toast);
  padding: var(--ax-sp-4) var(--ax-sp-7);
  background: var(--ax-surface-3);
  color: var(--ax-text-strong);
  border-radius: var(--ax-r-sm);
  text-decoration: none;
  transition: inset-block-start var(--ax-d-base) var(--ax-ease-out);
}
.ax-skip-link:focus { inset-block-start: var(--ax-sp-6); }

.ax-text-center { text-align: center; }
.ax-text-left   { text-align: left; }
.ax-text-right  { text-align: right; }
.ax-mx-auto     { margin-inline: auto; }
.ax-w-full      { inline-size: 100%; }
.ax-relative    { position: relative; }
.ax-nowrap      { white-space: nowrap; }
.ax-truncate    { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ax-clamp-2     { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ax-clamp-3     { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.ax-fx-cy { color: var(--ax-cyan); }
.ax-fx-vi { color: var(--ax-violet); }
.ax-fx-success { color: var(--ax-success); }
.ax-fx-warning { color: var(--ax-warning); }
.ax-fx-danger  { color: var(--ax-danger); }

@media (max-width: 767px)  { .ax-hide-sm { display: none !important; } }
@media (min-width: 768px)  { .ax-only-sm { display: none !important; } }
@media (max-width: 1023px) { .ax-hide-md { display: none !important; } }
@media (min-width: 1024px) { .ax-only-md { display: none !important; } }


/* ── SCROLL REVEAL ──────────────────────────────────────────────────────────
   Elements marked [data-ax-reveal] start displaced and are released by
   arxeon.core.js. If JS never runs, the :not(.is-in) rule below is the only
   thing hiding them, and the no-js guard in core.js removes the attribute —
   content is never permanently invisible.                                */

[data-ax-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity var(--ax-d-slower) var(--ax-ease-out),
              transform var(--ax-d-slower) var(--ax-ease-out);
  transition-delay: var(--ax-reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-ax-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-ax-reveal] { opacity: 1; transform: none; transition: none; }
}


/* ── PRINT ──────────────────────────────────────────────────────────────── */
@media print {
  .ax-atmos, .ax-grain, .ax-header, .ax-footer, .ax-toast-region { display: none !important; }
  body { background: #fff; color: #000; }
  .ax-aurora { -webkit-text-fill-color: #000; color: #000; background: none; }
}

/* ── FORCED COLORS (Windows high-contrast) ──────────────────────────────── */
@media (forced-colors: active) {
  .ax-edge, .ax-edge--hi, .ax-edge--quiet { border-color: CanvasText; }
  .ax-aurora { -webkit-text-fill-color: CanvasText; color: CanvasText; }
  :focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}
