@import url("anxos-design-system.css");

/* ==========================================================================
   AnxOS Control Center — website presentation layer
   --------------------------------------------------------------------------
   A dark, purple-forward "infrastructure control plane" system:
   hairline borders, layered depth, restrained accent glow, crisp type.
   Shared palette tokens from anxos-design-system.css are referenced
   (--anx-*) but never redefined here; --ax-* tokens below are the site's
   own composition layer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  color-scheme: dark;

  /* Palette */
  --ax-void: #030107;
  --ax-base: #07020f;
  --ax-surface: #0d0918;
  --ax-surface-2: #120d20;
  --ax-line: rgba(185, 148, 255, 0.14);
  --ax-line-strong: rgba(182, 108, 255, 0.38);
  --ax-accent: #b66cff;
  --ax-accent-strong: #cf96ff;
  --ax-violet: #7c3cff;
  --ax-cyan: #65d2ff;
  --ax-ok: #45e08f;
  --ax-warn: #f5c451;
  --ax-danger: #ff6b8a;
  --ax-text: #f8f5ff;
  --ax-muted: #b9abc8;
  --ax-dim: #80748f;
  --ax-text-ok: #a7f5c8;
  --ax-text-warn: #f4d887;
  --ax-text-danger: #ffd7df;
  --ax-text-info: #bfe8ff;
  --ax-on-accent: #1a0729;

  /* Radii */
  --ax-r-xs: 8px;
  --ax-r-sm: 12px;
  --ax-r-md: 16px;
  --ax-r-lg: 22px;
  --ax-r-pill: 999px;

  /* Elevation */
  --ax-shadow-panel: 0 18px 40px rgba(3, 1, 7, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --ax-shadow-elevated: 0 30px 80px rgba(3, 1, 7, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --ax-shadow-window: 0 42px 120px rgba(3, 1, 7, 0.68), 0 0 0 1px var(--ax-line), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --ax-shadow-dialog: 0 34px 110px rgba(3, 1, 7, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --ax-glow-soft: 0 0 24px rgba(182, 108, 255, 0.16);
  --ax-glow: 0 10px 34px rgba(140, 60, 255, 0.32);
  --ax-inset-hairline: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Motion */
  --ax-dur-fast: 140ms;
  --ax-dur: 220ms;
  --ax-dur-slow: 420ms;
  --ax-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --ax-shell-max: 1180px;
  --ax-gutter: 24px;
  --ax-section: 112px;
  --ax-header-h: 68px;
  --ax-focus: 0 0 0 3px rgba(206, 150, 255, 0.26);
  --ax-focus-color: rgba(206, 150, 255, 0.9);

  /* Texture */
  --ax-circuit:
    linear-gradient(rgba(182, 108, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 108, 255, 0.045) 1px, transparent 1px);
  --ax-circuit-size: 46px 46px;

  /* Surfaces */
  --ax-gradient-panel: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  --ax-gradient-head: linear-gradient(180deg, rgba(182, 108, 255, 0.14), rgba(255, 255, 255, 0.02));
  --ax-gradient-primary: linear-gradient(180deg, #d5a4ff, #a95cf7);

  font-family: var(--anx-font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ax-header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background-color: var(--ax-base);
  background-image:
    radial-gradient(1100px 520px at 50% -180px, rgba(182, 108, 255, 0.1), transparent 70%),
    radial-gradient(900px 600px at 100% 0, rgba(101, 210, 255, 0.035), transparent 65%);
  background-repeat: no-repeat;
  color: var(--ax-text);
  font-family: var(--anx-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 14px;
  color: var(--ax-text);
  font-weight: 760;
  letter-spacing: -0.022em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: 4.4rem;
  letter-spacing: -0.032em;
  line-height: 1.02;
}

h2 {
  font-size: 2.35rem;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

h4 {
  font-size: 0.98rem;
  line-height: 1.35;
}

p {
  margin: 0 0 1rem;
  max-width: 72ch;
}

p:last-child,
ul:last-child,
ol:last-child,
dl:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--ax-text);
  font-weight: 720;
}

small {
  font-size: 0.82rem;
}

img,
svg,
video {
  max-width: 100%;
}

img {
  height: auto;
}

code,
kbd,
samp,
pre {
  font-family: var(--anx-font-mono);
  font-size: 0.92em;
}

code {
  padding: 0.1em 0.36em;
  border: 1px solid var(--ax-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ax-accent-strong);
  overflow-wrap: anywhere;
}

pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}

hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--ax-line-strong), transparent);
}

::selection {
  background: rgba(182, 108, 255, 0.32);
  color: var(--ax-text);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(182, 108, 255, 0.3) transparent;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 8px;
  background: rgba(182, 108, 255, 0.28);
  background-clip: padding-box;
}

p,
li,
dd,
dt,
small,
span,
strong,
td,
th,
label,
figcaption {
  min-width: 0;
}

[hidden] {
  display: none !important;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   3. Focus and accessibility helpers
   -------------------------------------------------------------------------- */

a:focus-visible {
  outline: 2px solid var(--ax-focus-color);
  outline-offset: 2px;
  border-radius: 4px;
  box-shadow: var(--ax-focus);
}

.button:focus-visible {
  outline: 2px solid var(--ax-focus-color);
  outline-offset: 2px;
  box-shadow: var(--ax-focus);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--ax-focus-color);
  outline-offset: 2px;
  border-radius: 8px;
}

.site-nav__button:focus-visible,
.site-menu-button:focus-visible,
.account-nav__item:focus-visible,
.auth-tab:focus-visible,
.account-filter-chip:focus-visible,
.account-list-toggle:focus-visible,
.command-row button:focus-visible,
.site-footer button:focus-visible {
  outline: 2px solid var(--ax-focus-color);
  outline-offset: 2px;
}

.account-form input:focus-visible,
.account-form select:focus-visible,
.account-form textarea:focus-visible {
  outline: 2px solid rgba(197, 129, 255, 0.42);
  outline-offset: 2px;
  border-color: var(--ax-line-strong);
  box-shadow: var(--ax-focus);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  padding: 12px 16px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-xs);
  background: var(--ax-surface-2);
  color: var(--ax-text);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: var(--ax-shadow-elevated);
  transform: translateY(calc(-100% - 24px));
  transition: transform var(--ax-dur) var(--ax-ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.shell,
.section-shell {
  width: min(var(--ax-shell-max), 100% - 48px);
  margin-inline: auto;
}

.section {
  padding-block: var(--ax-section);
}

.section--tight {
  padding-block: 72px;
}

.section--band {
  position: relative;
  isolation: isolate;
  padding-block: 88px;
  border-top: 1px solid var(--ax-line);
  border-bottom: 1px solid var(--ax-line);
  background: linear-gradient(180deg, rgba(18, 13, 32, 0.72), rgba(7, 2, 15, 0.4));
}

.section--band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--ax-circuit);
  background-size: var(--ax-circuit-size);
  -webkit-mask-image: radial-gradient(60% 92% at 50% 28%, #000 0%, rgba(0, 0, 0, 0.35) 56%, transparent 88%);
  mask-image: radial-gradient(60% 92% at 50% 28%, #000 0%, rgba(0, 0, 0, 0.35) 56%, transparent 88%);
  opacity: 0.55;
  pointer-events: none;
}

.section-head,
.section-heading {
  display: grid;
  gap: 12px;
  align-content: start;
  max-width: 860px;
  margin-bottom: 34px;
  padding-top: 0;
}

/* Legacy pages carry the section rhythm on the heading itself. */
.section-shell > .section-head,
.section-shell > .section-heading {
  padding-top: 84px;
}

.section-head > :last-child,
.section-heading > :last-child {
  margin-bottom: 0;
}

.section-title,
.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.06;
  letter-spacing: -0.026em;
}

.section-lede,
.section-heading .section-copy {
  max-width: 66ch;
  margin: 0;
  color: var(--ax-muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.section-copy {
  max-width: 66ch;
  margin: 0 0 1rem;
  color: var(--ax-muted);
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  color: var(--ax-accent-strong);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--ax-accent), transparent);
}

.lede {
  max-width: 62ch;
  margin: 0;
  color: var(--ax-muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. Site chrome — header, navigation, footer
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: var(--ax-header-h);
  padding: 10px max(var(--ax-gutter), calc((100% - var(--ax-shell-max)) / 2));
  border-bottom: 1px solid var(--ax-line);
  background: rgba(7, 2, 15, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.site-header__inner {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--ax-shell-max);
  min-width: 0;
  margin-inline: auto;
}

@supports not (backdrop-filter: blur(4px)) {
  .site-header {
    background: rgba(5, 1, 11, 0.97);
  }
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  border-radius: var(--ax-r-xs);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-xs);
  background:
    linear-gradient(180deg, rgba(182, 108, 255, 0.22), rgba(182, 108, 255, 0.06)),
    var(--ax-surface);
  box-shadow: var(--ax-inset-hairline), 0 0 0 4px rgba(182, 108, 255, 0.07);
}

.brand-mark img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong,
.brand-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: -0.01em;
}

.brand-copy span {
  color: var(--ax-dim);
  font-size: 0.78rem;
  font-weight: 600;
}

.site-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 16px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-xs);
  background: var(--ax-gradient-panel), var(--ax-surface-2);
  color: var(--ax-text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 720;
  cursor: pointer;
  transition:
    border-color var(--ax-dur) var(--ax-ease),
    background var(--ax-dur) var(--ax-ease);
}

.site-menu-button::after {
  content: "";
  width: 12px;
  height: 8px;
  background:
    linear-gradient(var(--ax-muted), var(--ax-muted)) 0 0 / 12px 1.5px no-repeat,
    linear-gradient(var(--ax-muted), var(--ax-muted)) 0 3.5px / 12px 1.5px no-repeat,
    linear-gradient(var(--ax-muted), var(--ax-muted)) 0 7px / 12px 1.5px no-repeat;
}

.site-menu-button:hover {
  border-color: var(--ax-accent);
  background: rgba(182, 108, 255, 0.12);
}

.site-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  min-width: 0;
  padding: 5px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: rgba(3, 1, 7, 0.42);
  box-shadow: var(--ax-inset-hairline);
}

.site-nav a,
.site-nav__button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: var(--ax-r-xs);
  background: transparent;
  color: var(--ax-muted);
  font: inherit;
  font-size: 0.83rem;
  font-weight: 680;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--ax-dur-fast) var(--ax-ease),
    color var(--ax-dur-fast) var(--ax-ease),
    border-color var(--ax-dur-fast) var(--ax-ease);
}

.site-nav a:hover,
.site-nav__button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ax-text);
}

.site-nav a[aria-current="page"],
.site-nav__button[aria-current="page"] {
  border-color: var(--ax-line-strong);
  background: rgba(182, 108, 255, 0.14);
  color: var(--ax-text);
}

.site-nav__cta,
.site-nav__button {
  border-color: var(--ax-line-strong);
  background: rgba(182, 108, 255, 0.1);
  color: var(--ax-text);
}

.site-nav__cta:hover,
.site-nav__button:hover {
  border-color: var(--ax-accent);
  background: rgba(182, 108, 255, 0.2);
}

.site-nav.is-open {
  display: flex;
}

.site-footer {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
  padding: 44px 0 34px;
  border-top: 1px solid var(--ax-line);
  color: var(--ax-muted);
  font-size: 0.84rem;
}

.site-footer > div,
.site-footer__brand,
.site-footer nav,
.site-footer__nav {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.site-footer strong {
  color: var(--ax-text);
  font-weight: 720;
}

.site-footer span {
  color: var(--ax-dim);
}

.site-footer nav,
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
  max-width: 640px;
}

.site-footer a,
.site-footer button {
  color: var(--ax-muted);
  font-weight: 640;
  transition: color var(--ax-dur-fast) var(--ax-ease);
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer button:hover,
.site-footer button:focus-visible {
  color: var(--ax-accent-strong);
}

.site-footer button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.site-footer a[aria-current="page"] {
  color: var(--ax-text);
  text-decoration: underline;
  text-decoration-color: var(--ax-accent);
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   6. Buttons and controls
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-xs);
  background: var(--ax-gradient-panel), var(--ax-surface-2);
  color: var(--ax-text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition:
    transform var(--ax-dur-fast) var(--ax-ease),
    border-color var(--ax-dur-fast) var(--ax-ease),
    background var(--ax-dur-fast) var(--ax-ease),
    box-shadow var(--ax-dur) var(--ax-ease),
    color var(--ax-dur-fast) var(--ax-ease);
}

.button svg,
.feature-card svg,
.feature svg,
.command-row svg,
.setup-finish__icon svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--ax-accent);
  box-shadow: var(--ax-glow-soft);
}

.button:active {
  transform: translateY(0);
}

.button--small,
.button-small {
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.8rem;
}

.button--primary,
.button-primary {
  border-color: rgba(207, 150, 255, 0.55);
  background: var(--ax-gradient-primary);
  color: var(--ax-on-accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 26px rgba(140, 60, 255, 0.24);
}

.button--primary:hover,
.button-primary:hover {
  border-color: rgba(220, 180, 255, 0.75);
  background: linear-gradient(180deg, #dfb6ff, #b56cff);
  color: var(--ax-on-accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 16px 38px rgba(140, 60, 255, 0.36);
}

.button--ghost,
.button-ghost {
  border-color: var(--ax-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ax-muted);
}

.button--ghost:hover,
.button-ghost:hover {
  border-color: var(--ax-line-strong);
  background: rgba(182, 108, 255, 0.08);
  color: var(--ax-text);
}

.button-secondary {
  border-color: var(--ax-line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ax-text);
}

.button-secondary:hover {
  border-color: var(--ax-accent);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ax-text);
}

.button-danger {
  border-color: rgba(255, 107, 138, 0.34);
  background: rgba(255, 107, 138, 0.06);
  color: var(--ax-text-danger);
}

.button-danger:hover {
  border-color: rgba(255, 107, 138, 0.66);
  background: rgba(255, 107, 138, 0.14);
  box-shadow: 0 10px 26px rgba(255, 107, 138, 0.16);
  color: #ffe4ea;
}

.button.is-disabled,
.button[aria-disabled="true"],
a.is-disabled,
a[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   7. Badges, pills, chips
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-self: start;
  min-height: 26px;
  margin: 0 0 10px;
  padding: 3px 10px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-pill);
  background: rgba(182, 108, 255, 0.1);
  color: var(--ax-accent-strong);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
}

.badge--alpha,
.release-badge {
  border-color: rgba(245, 196, 81, 0.36);
  background: rgba(245, 196, 81, 0.1);
  color: var(--ax-text-warn);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge--ok {
  border-color: rgba(69, 224, 143, 0.32);
  background: rgba(69, 224, 143, 0.1);
  color: var(--ax-text-ok);
}

.badge--warn {
  border-color: rgba(245, 196, 81, 0.34);
  background: rgba(245, 196, 81, 0.09);
  color: var(--ax-text-warn);
}

.badge--info {
  border-color: rgba(101, 210, 255, 0.32);
  background: rgba(101, 210, 255, 0.09);
  color: var(--ax-text-info);
}

.badge--danger {
  border-color: rgba(255, 107, 138, 0.32);
  background: rgba(255, 107, 138, 0.09);
  color: var(--ax-text-danger);
}

.badge-current {
  color: var(--ax-text);
  border-color: rgba(206, 150, 255, 0.5);
}

.pill {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-self: start;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-pill);
  background: var(--ax-surface-2);
  color: var(--ax-muted);
  font-size: 0.74rem;
  font-weight: 680;
  line-height: 1.4;
  white-space: nowrap;
}

.pill--ok,
.status-pill--ok {
  border-color: rgba(69, 224, 143, 0.3);
  background: rgba(69, 224, 143, 0.08);
  color: var(--ax-text-ok);
}

.pill--warn,
.status-pill--warning {
  border-color: rgba(245, 196, 81, 0.32);
  background: rgba(245, 196, 81, 0.09);
  color: var(--ax-text-warn);
}

.pill--info {
  border-color: rgba(101, 210, 255, 0.3);
  background: rgba(101, 210, 255, 0.08);
  color: var(--ax-text-info);
}

.status-pill--offline {
  border-color: var(--ax-line);
  background: rgba(157, 145, 166, 0.1);
  color: #d2c8da;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-pill);
  background: var(--ax-surface-2);
  color: var(--ax-muted);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-self: start;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-pill);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ax-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color var(--ax-dur-fast) var(--ax-ease),
    background var(--ax-dur-fast) var(--ax-ease),
    color var(--ax-dur-fast) var(--ax-ease);
}

.chip:hover,
.chip.is-active,
.chip[aria-pressed="true"] {
  border-color: rgba(197, 129, 255, 0.48);
  background: rgba(182, 108, 255, 0.12);
  color: var(--ax-text);
}

/* --------------------------------------------------------------------------
   8. Surfaces — cards, callouts, stats, tables, notes
   -------------------------------------------------------------------------- */

.card,
.card--panel {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
}

.card--panel {
  border-color: var(--ax-line-strong);
  background:
    linear-gradient(180deg, rgba(182, 108, 255, 0.09), rgba(255, 255, 255, 0.012)),
    var(--ax-surface);
}

.card--glass {
  border-color: var(--ax-line-strong);
  background: rgba(18, 13, 32, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--ax-shadow-elevated);
}

@supports not (backdrop-filter: blur(4px)) {
  .card--glass {
    background: var(--ax-surface-2);
  }
}

.card > :last-child {
  margin-bottom: 0;
}

.callout {
  display: grid;
  gap: 6px;
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid var(--ax-line);
  border-left: 2px solid var(--ax-line-strong);
  border-radius: var(--ax-r-xs);
  background: rgba(255, 255, 255, 0.025);
  color: var(--ax-muted);
  line-height: 1.65;
}

.callout strong {
  display: block;
}

.callout > :last-child {
  margin-bottom: 0;
}

.callout--info {
  border-color: rgba(101, 210, 255, 0.28);
  border-left-color: var(--ax-cyan);
  background: rgba(101, 210, 255, 0.06);
}

.callout--warn {
  border-color: rgba(245, 196, 81, 0.3);
  border-left-color: var(--ax-warn);
  background: rgba(245, 196, 81, 0.06);
}

.callout--ok {
  border-color: rgba(69, 224, 143, 0.28);
  border-left-color: var(--ax-ok);
  background: rgba(69, 224, 143, 0.055);
}

.callout--danger {
  border-color: rgba(255, 107, 138, 0.3);
  border-left-color: var(--ax-danger);
  background: rgba(255, 107, 138, 0.06);
}

.divider {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--ax-line-strong), transparent);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(184px, 1fr));
  gap: 14px;
}

.stat {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-inset-hairline);
}

.stat > strong,
.stat__value {
  color: var(--ax-text);
  font-size: 1.55rem;
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat > span,
.stat__label {
  color: var(--ax-dim);
  font-size: 0.7rem;
  font-weight: 740;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stat > small {
  color: var(--ax-muted);
  line-height: 1.5;
}

.stat--ok > strong,
.stat--ok .stat__value {
  color: var(--ax-text-ok);
}

.stat--warn > strong,
.stat--warn .stat__value {
  color: var(--ax-text-warn);
}

.table,
.req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  line-height: 1.55;
}

.table caption {
  padding-bottom: 10px;
  color: var(--ax-dim);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.table th,
.req-table th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ax-line-strong);
  color: var(--ax-dim);
  font-size: 0.7rem;
  font-weight: 740;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.table td,
.req-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ax-line);
  color: var(--ax-muted);
  overflow-wrap: anywhere;
  vertical-align: top;
}

.table td:first-child {
  color: var(--ax-text);
  font-weight: 660;
}

.table tbody tr:hover td {
  background: rgba(182, 108, 255, 0.05);
}

.req-table td:first-child,
.req-table th:first-child {
  width: 40%;
  color: var(--ax-text);
  font-weight: 660;
}

.req-table td[data-state]::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ax-dim);
  vertical-align: baseline;
}

.req-table td[data-state="ok"]::before {
  background: var(--ax-ok);
  box-shadow: 0 0 0 3px rgba(69, 224, 143, 0.14);
}

.req-table td[data-state="warn"]::before {
  background: var(--ax-warn);
  box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.14);
}

.req-table td[data-state="missing"]::before {
  background: var(--ax-danger);
  box-shadow: 0 0 0 3px rgba(255, 107, 138, 0.14);
}

.note {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 1px solid var(--ax-line-strong);
  border-radius: 0 var(--ax-r-xs) var(--ax-r-xs) 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ax-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.note > :last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Hero and meta strip
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 56px;
  align-items: center;
  min-height: min(620px, calc(100vh - 180px));
  padding-block: 72px 60px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--ax-circuit);
  background-size: var(--ax-circuit-size);
  -webkit-mask-image: radial-gradient(58% 62% at 26% 34%, #000 0%, rgba(0, 0, 0, 0.5) 46%, transparent 78%);
  mask-image: radial-gradient(58% 62% at 26% 34%, #000 0%, rgba(0, 0, 0, 0.5) 46%, transparent 78%);
  opacity: 0.7;
  pointer-events: none;
}

.hero__copy,
.hero-copy,
.hero__visual,
.hero__meta,
.hero-actions,
.hero-facts {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__meta,
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 26px 0 0;
}

.meta-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.meta-item,
.hero__meta > div,
.hero-facts > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-xs);
  background: rgba(255, 255, 255, 0.028);
  box-shadow: var(--ax-inset-hairline);
}

.meta-item {
  display: grid;
  gap: 4px;
}

.meta-item dt,
.meta-item__label,
.hero__meta dt,
.hero-facts dt {
  margin: 0;
  color: var(--ax-accent-strong);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta-item dd,
.meta-item__value,
.hero__meta dd,
.hero-facts dd {
  margin: 4px 0 0;
  color: var(--ax-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   10. Windows — app frame, screenshots, terminal, TUI, keymap
   -------------------------------------------------------------------------- */

.window,
.hero-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 140px),
    var(--ax-surface);
  box-shadow: var(--ax-shadow-window);
}

.window__bar,
.panel-titlebar {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--ax-line);
  background: rgba(13, 9, 24, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.window__title,
.panel-titlebar strong {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
  color: var(--ax-muted);
  font-size: 0.79rem;
  font-weight: 660;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window__title img,
.panel-titlebar__logo {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
}

.panel-titlebar__logo {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.window__controls,
.panel-titlebar {
  --ax-ctl: rgba(200, 186, 214, 0.68);
}

/* Legacy title bar markup lists the control dots first; reorder to the
   Windows convention: [app mark] [title] .......... [minimize][maximize][close] */
.panel-titlebar__logo {
  order: 1;
}

.panel-titlebar strong {
  order: 2;
}

.panel-titlebar span {
  order: 3;
}

.panel-titlebar span:first-of-type {
  margin-left: auto;
}

.window__controls {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-left: auto;
}

.window__controls > *,
.panel-titlebar span {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 22px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ax-ctl, rgba(200, 186, 214, 0.68));
  cursor: default;
  transition: background var(--ax-dur-fast) var(--ax-ease);
}

.window__controls > *:hover,
.panel-titlebar span:hover {
  background: rgba(255, 255, 255, 0.07);
}

.window__controls > *:nth-child(3):hover,
.panel-titlebar span:nth-child(3):hover {
  background: rgba(255, 107, 138, 0.22);
  color: var(--ax-text-danger);
}

.window__controls > *:nth-child(1)::before,
.panel-titlebar span:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 50%;
  height: 1px;
  background: currentColor;
}

.window__controls > *:nth-child(2)::before,
.panel-titlebar span:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: 6px 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.window__controls > *:nth-child(3)::before,
.panel-titlebar span:nth-child(3)::before {
  content: "";
  position: absolute;
  inset: 6px 9px;
  background:
    linear-gradient(45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%);
}

.window__body {
  padding: 18px;
}

.shot {
  display: block;
  width: 100%;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-surface-2);
  box-shadow: var(--ax-shadow-panel);
  object-fit: cover;
}

.shot--hero {
  border-radius: var(--ax-r-lg);
  box-shadow: var(--ax-shadow-window);
}

.shot--plain {
  border-radius: var(--ax-r-xs);
  box-shadow: none;
}

.terminal {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: #050209;
  box-shadow: var(--ax-shadow-panel);
}

.terminal__bar {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--ax-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ax-dim);
  font-size: 0.7rem;
  font-weight: 740;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terminal__bar::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ax-accent);
  box-shadow: 0 0 0 3px rgba(182, 108, 255, 0.16);
}

.terminal__pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 420px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(182, 108, 255, 0.34) transparent;
  color: #dcd2ea;
  font-family: var(--anx-font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  white-space: pre;
  tab-size: 2;
}

.terminal__pre [data-tone="ok"],
.terminal__pre .is-ok {
  color: var(--ax-text-ok);
}

.terminal__pre [data-tone="warn"],
.terminal__pre .is-warn {
  color: var(--ax-text-warn);
}

.terminal__pre [data-tone="error"],
.terminal__pre .is-error {
  color: var(--ax-text-danger);
}

.tui {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(182, 108, 255, 0.34) transparent;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-sm);
  background: #06030c;
  box-shadow: var(--ax-shadow-panel);
  font-family: var(--anx-font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
}

.tui__title {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ax-line);
  background: linear-gradient(90deg, rgba(182, 108, 255, 0.16), transparent 70%);
  color: var(--ax-accent-strong);
  font-size: 0.7rem;
  font-weight: 740;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tui__line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  width: max-content;
  min-width: 100%;
  padding: 5px 14px;
  color: var(--ax-muted);
  white-space: nowrap;
}

.tui__line[data-tone="ok"] {
  color: var(--ax-text-ok);
}

.tui__line[data-tone="warn"] {
  color: var(--ax-text-warn);
}

.tui__line.is-active,
.tui__line[aria-current="true"] {
  position: relative;
  background: rgba(182, 108, 255, 0.13);
  color: var(--ax-text);
}

.tui__line.is-active::before,
.tui__line[aria-current="true"]::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 4px;
  height: 12px;
  margin-top: -6px;
  background: var(--ax-accent);
  animation: ax-caret 1.1s steps(1, end) infinite;
}

.keymap {
  display: grid;
  gap: 8px;
  margin: 0;
}

.keymap > div,
.keymap__row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-xs);
  background: var(--ax-surface-2);
  color: var(--ax-muted);
  font-size: 0.84rem;
}

.keymap span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.keymap kbd {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid var(--ax-line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ax-text);
  font-family: var(--anx-font-mono);
  font-size: 0.74rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   11. Fleet, connectors, flow
   -------------------------------------------------------------------------- */

.fleet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.node-card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 18px 18px 18px 22px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
}

.node-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--ax-dim);
}

.node-card h3 {
  margin: 0;
  font-size: 1rem;
}

.node-card p {
  margin: 0;
  color: var(--ax-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.node-card--waiting::before {
  background: var(--ax-warn);
  box-shadow: 0 0 12px rgba(245, 196, 81, 0.45);
}

.node-card--paired::before {
  background: var(--ax-cyan);
  box-shadow: 0 0 12px rgba(101, 210, 255, 0.4);
}

.node-card--healthy::before {
  background: var(--ax-ok);
  box-shadow: 0 0 12px rgba(69, 224, 143, 0.45);
}

.node-card--healthy {
  border-color: rgba(69, 224, 143, 0.24);
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ax-ok);
  box-shadow: 0 0 0 4px rgba(69, 224, 143, 0.14);
}

.status-dot[data-tone="warn"],
.status-dot--warn {
  background: var(--ax-warn);
  box-shadow: 0 0 0 4px rgba(245, 196, 81, 0.14);
}

.status-dot[data-tone="error"],
.status-dot--error {
  background: var(--ax-danger);
  box-shadow: 0 0 0 4px rgba(255, 107, 138, 0.14);
}

.status-dot--pulse {
  animation: ax-pulse 2.4s var(--ax-ease) infinite;
}

.connector {
  position: relative;
  align-self: center;
  min-width: 24px;
  height: 1px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--ax-line-strong) 0 6px,
    transparent 6px 12px
  );
  background-size: 12px 1px;
  animation: ax-dash 2.4s linear infinite;
}

.connector--vertical {
  min-width: 1px;
  width: 1px;
  height: 32px;
  background-image: repeating-linear-gradient(
    180deg,
    var(--ax-line-strong) 0 6px,
    transparent 6px 12px
  );
  background-size: 1px 12px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: stretch;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
  overflow: hidden;
}

.flow-step {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  padding: 18px 20px;
  border-left: 1px solid var(--ax-line);
}

.flow-step:first-child {
  border-left: 0;
}

.flow-step__index {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--ax-line-strong);
  border-radius: 50%;
  background: rgba(182, 108, 255, 0.1);
  color: var(--ax-accent-strong);
  font-family: var(--anx-font-mono);
  font-size: 0.74rem;
  font-weight: 740;
}

.flow-step strong {
  font-size: 0.94rem;
}

.flow-step p {
  margin: 0;
  color: var(--ax-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   12. Path cards, steps, features, trust, platforms, FAQ
   -------------------------------------------------------------------------- */

.path-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
}

.path-card {
  display: grid;
  align-content: start;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
  transition:
    border-color var(--ax-dur) var(--ax-ease),
    box-shadow var(--ax-dur) var(--ax-ease),
    transform var(--ax-dur) var(--ax-ease);
}

.path-card:hover {
  transform: translateY(-2px);
  border-color: var(--ax-line-strong);
  box-shadow: var(--ax-shadow-elevated);
}

.path-card.is-selected,
.path-card[aria-current="true"] {
  border-color: rgba(206, 150, 255, 0.5);
  box-shadow: var(--ax-glow-soft), var(--ax-shadow-panel);
}

.path-card__head {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ax-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  font-weight: 720;
}

.path-card__head .badge,
.path-card__head .pill {
  margin: 0 0 0 auto;
}

.path-card__body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  color: var(--ax-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.path-card__body > :last-child {
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.steps article,
.step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 84px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
}

.steps article p,
.step p,
.step__body {
  margin: 0;
  color: var(--ax-muted);
  line-height: 1.6;
}

.steps article p:first-child,
.steps article > strong {
  color: var(--ax-text);
}

.steps span,
.step__index {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-xs);
  background: rgba(182, 108, 255, 0.12);
  color: var(--ax-accent-strong);
  font-family: var(--anx-font-mono);
  font-size: 0.92rem;
  font-weight: 740;
}

.steps--detailed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.steps--detailed article {
  min-height: 96px;
}

.step__body {
  display: grid;
  gap: 6px;
  align-content: start;
}

.feature-grid,
.local-agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card,
.feature {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
  transition:
    border-color var(--ax-dur) var(--ax-ease),
    transform var(--ax-dur) var(--ax-ease),
    box-shadow var(--ax-dur) var(--ax-ease);
}

.feature-card:hover,
.feature:hover {
  transform: translateY(-2px);
  border-color: var(--ax-line-strong);
  box-shadow: var(--ax-shadow-elevated);
}

.feature-card h3,
.feature h3,
.download-card h3,
.release-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
}

.feature-card p,
.feature p,
.download-card p,
.release-card p,
.release-note-card p,
.steps p,
.safety-card p {
  margin-bottom: 0;
  color: var(--ax-muted);
  line-height: 1.6;
}

.feature-card svg,
.feature svg {
  width: 22px;
  height: 22px;
  color: var(--ax-accent);
}

.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-xs);
  background: rgba(182, 108, 255, 0.1);
  color: var(--ax-accent-strong);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-item {
  position: relative;
  display: block;
  min-width: 0;
  padding-left: 30px;
  color: var(--ax-muted);
  line-height: 1.65;
}

.trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(69, 224, 143, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(69, 224, 143, 0.9) 0 2.5px, transparent 3px);
}

.trust-item strong {
  display: block;
  color: var(--ax-text);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.platform-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: var(--ax-surface-2);
  box-shadow: var(--ax-inset-hairline);
}

.platform-card h3 {
  margin: 0;
  font-size: 0.98rem;
}

.platform-card p {
  margin: 0;
  color: var(--ax-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.platform-note {
  margin: 0;
  color: var(--ax-dim);
  font-size: 0.82rem;
  line-height: 1.55;
}

.platform-grid > .platform-note {
  grid-column: 1 / -1;
}

.faq-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.faq-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: var(--ax-surface);
  transition: border-color var(--ax-dur-fast) var(--ax-ease);
}

.faq-item[open] {
  border-color: var(--ax-line-strong);
  background: var(--ax-gradient-panel), var(--ax-surface);
}

.faq-item summary,
.faq-item__q {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  color: var(--ax-text);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ax-accent);
  border-bottom: 1.5px solid var(--ax-accent);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--ax-dur) var(--ax-ease);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq-item__a,
.faq-item > p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--ax-muted);
  line-height: 1.65;
}

.release-timeline {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
}

.release-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--ax-accent), rgba(182, 108, 255, 0.05));
}

.release {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-surface);
}

.release::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 26px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--ax-line-strong);
  border-radius: 50%;
  background: var(--ax-surface-2);
}

.release--current {
  border-color: rgba(206, 150, 255, 0.42);
  background: var(--ax-gradient-head), var(--ax-surface);
  box-shadow: var(--ax-glow-soft);
}

.release--current::before {
  border-color: var(--ax-accent);
  background: var(--ax-accent);
  box-shadow: 0 0 0 4px rgba(182, 108, 255, 0.18);
}

.release h3 {
  margin: 0;
  font-size: 1.06rem;
}

.release p,
.release ul {
  margin: 0;
  color: var(--ax-muted);
  line-height: 1.6;
}

.release ul {
  display: grid;
  gap: 6px;
  padding-left: 20px;
}

.release li::marker {
  color: var(--ax-accent);
}

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 48px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-lg);
  background: linear-gradient(135deg, rgba(124, 60, 255, 0.2), rgba(13, 9, 24, 0.92) 58%), var(--ax-surface);
  box-shadow: var(--ax-shadow-elevated);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--ax-circuit);
  background-size: var(--ax-circuit-size);
  -webkit-mask-image: radial-gradient(70% 120% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 85%);
  mask-image: radial-gradient(70% 120% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 85%);
  opacity: 0.65;
  pointer-events: none;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 2.15rem;
}

.cta-band p {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--ax-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   13. Release surfaces
   -------------------------------------------------------------------------- */

.release-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 32px;
  align-items: center;
  padding-block: 76px 28px;
}

.release-hero h1 {
  max-width: 760px;
  font-size: 3.5rem;
}

.release-summary-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-md);
  background: var(--ax-gradient-head), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
}

.release-summary-card h2 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.release-summary-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--ax-muted);
  line-height: 1.6;
}

.release-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 20px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
}

.release-card__logo {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-sm);
  background: rgba(182, 108, 255, 0.12);
  box-shadow: var(--ax-inset-hairline);
}

.release-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.release-meta {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.release-meta div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-xs);
  background: rgba(255, 255, 255, 0.025);
}

.release-meta dt,
.release-meta dd {
  margin: 0;
}

.release-meta dt {
  color: var(--ax-dim);
  font-size: 0.74rem;
  font-weight: 740;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-meta dd {
  overflow: hidden;
  color: var(--ax-text);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-notes-list {
  display: grid;
  gap: 16px;
}

.release-note-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
}

.release-note-card--latest {
  border-color: rgba(206, 150, 255, 0.34);
  background: var(--ax-gradient-head), var(--ax-surface);
  box-shadow: var(--ax-shadow-elevated);
}

.release-note-card__heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.release-note-card__heading h3 {
  margin-bottom: 0;
  font-size: 1.26rem;
}

.release-note-card time {
  flex: 0 0 auto;
  color: var(--ax-dim);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.release-note-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--ax-muted);
  line-height: 1.6;
}

.release-note-card li::marker {
  color: var(--ax-accent);
}

.release-note-card__section {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.release-note-card__section h4 {
  margin: 0;
  color: var(--ax-accent-strong);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-note-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.release-note-card__body {
  min-width: 0;
  color: var(--ax-muted);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.65;
}
/* Older release history (created by site.js): the summary is a real control —
   accent label inside a bordered row — and its box is identical open or closed,
   so toggling never shifts the summary itself. */
.release-notes-history {
  min-width: 0;
  margin-top: 8px;
}

.release-notes-history summary {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: var(--ax-surface);
  color: var(--ax-accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  transition: border-color var(--ax-dur-fast) var(--ax-ease);
}

.release-notes-history summary:hover {
  border-color: var(--ax-line-strong);
}

.release-notes-history summary::-webkit-details-marker {
  display: none;
}

.release-notes-history summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ax-accent);
  border-bottom: 1.5px solid var(--ax-accent);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--ax-dur) var(--ax-ease);
}

.release-notes-history[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.release-notes-history summary:focus-visible {
  outline: 2px solid var(--ax-focus-color);
  outline-offset: 2px;
  box-shadow: var(--ax-focus);
}

.release-notes-history[open] {
  margin-bottom: 20px;
}

.release-notes-history > .platform-note {
  margin-top: 14px;
}

.release-notes-history__list {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   14. Download workspace
   -------------------------------------------------------------------------- */

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 36px;
  align-items: center;
  padding-block: 72px 28px;
}

.download-hero h1 {
  max-width: 760px;
  font-size: 3.4rem;
}

.download-hero__copy {
  min-width: 0;
}

.download-status,
.account-unavailable,
.download-help {
  min-width: 0;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: rgba(255, 255, 255, 0.028);
}

.download-status {
  margin-bottom: 16px;
  padding: 13px 16px;
  color: var(--ax-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.download-status[data-tone="ok"],
[data-tone="ok"] {
  border-color: rgba(69, 224, 143, 0.3);
  color: var(--ax-text-ok);
}

.download-status[data-tone="warn"],
[data-tone="warn"] {
  border-color: rgba(245, 196, 81, 0.34);
  color: var(--ax-text-warn);
}

/* Inside the hero and meta-strip contexts the release-status line is a quiet
   inline note, not a filled callout competing with the primary CTA. It stays
   visible and announced (no display/visibility changes), readable at 0.8rem,
   with a hairline left rule as the only chrome. */
.hero .download-status,
.hero-copy .download-status,
.hero__copy .download-status,
.hero__meta .download-status,
.hero-facts .download-status,
.meta-strip .download-status {
  margin: 14px 0 0;
  padding: 2px 0 2px 12px;
  border: 0;
  border-left: 2px solid rgba(182, 108, 255, 0.3);
  border-radius: 0;
  background: none;
  color: var(--ax-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.hero .download-status[data-tone="ok"],
.hero-copy .download-status[data-tone="ok"],
.hero__copy .download-status[data-tone="ok"],
.hero__meta .download-status[data-tone="ok"],
.hero-facts .download-status[data-tone="ok"],
.meta-strip .download-status[data-tone="ok"] {
  border-left-color: rgba(69, 224, 143, 0.42);
  color: var(--ax-muted);
}

.hero .download-status[data-tone="warn"],
.hero-copy .download-status[data-tone="warn"],
.hero__copy .download-status[data-tone="warn"],
.hero__meta .download-status[data-tone="warn"],
.hero-facts .download-status[data-tone="warn"],
.meta-strip .download-status[data-tone="warn"] {
  border-left-color: rgba(245, 196, 81, 0.5);
  color: var(--ax-text-warn);
}

.account-unavailable {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-color: rgba(245, 196, 81, 0.3);
  background: rgba(245, 196, 81, 0.06);
}

.account-unavailable strong {
  color: var(--ax-text-warn);
}

.account-unavailable p {
  margin: 0;
  color: var(--ax-muted);
  line-height: 1.55;
}

.alpha-warning {
  max-width: 760px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(245, 196, 81, 0.3);
  border-left: 2px solid var(--ax-warn);
  border-radius: var(--ax-r-xs);
  background: rgba(245, 196, 81, 0.06);
  color: var(--ax-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.release-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 0 0 14px;
  padding: 4px 11px;
  border: 1px solid rgba(245, 196, 81, 0.36);
  border-radius: var(--ax-r-pill);
  background: rgba(245, 196, 81, 0.1);
  color: var(--ax-text-warn);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-primary,
.download-version-card,
.download-info-card,
.download-notes-card {
  min-width: 0;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
}

.download-primary {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.82fr);
  gap: 22px;
  align-items: end;
  margin-top: 18px;
  padding: 22px;
  overflow: hidden;
}

.download-primary h3,
.download-primary p {
  margin: 0;
}

.download-primary h3 {
  font-size: 1.16rem;
}

.download-primary p {
  color: var(--ax-muted);
  line-height: 1.6;
}

.download-primary__content {
  display: grid;
  gap: 10px;
  min-width: 0;
  align-content: start;
}

.download-primary__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.download-primary__facts li {
  min-width: 0;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ax-muted);
  font-family: var(--anx-font-mono);
  font-size: 0.74rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.download-primary__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  justify-self: end;
  width: min(100%, 560px);
}

.download-primary__actions .button {
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

.download-primary__actions .button-primary {
  grid-column: 1 / -1;
}

[data-download-page][data-state="ready"] .release-actions {
  display: none;
}

.download-version-card {
  display: grid;
  gap: 16px;
  justify-items: start;
  align-content: start;
  padding: 20px;
}

.download-version-card .release-card__logo {
  width: 72px;
  height: 72px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.download-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
}

.download-card > div {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}

.download-card .button {
  width: 100%;
}

.download-card small {
  display: block;
  margin-top: 4px;
  color: var(--ax-dim);
  line-height: 1.5;
}

.download-card--empty {
  border-style: dashed;
  border-color: rgba(245, 196, 81, 0.28);
  background: rgba(245, 196, 81, 0.045);
}

.download-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  padding: 13px 16px;
  font-size: 0.86rem;
}

.download-help a {
  color: var(--ax-accent-strong);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.download-help a:hover {
  color: var(--ax-text);
}

.download-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 64px;
}

.download-info-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
}

.download-info-card h2 {
  font-size: 1.3rem;
}

.download-info-card p,
.download-info-card li {
  color: var(--ax-muted);
  line-height: 1.65;
}

.download-info-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.download-info-card li::marker {
  color: var(--ax-accent);
}

.download-list {
  padding-left: 0 !important;
  list-style: none;
}

.download-list li {
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--ax-line);
  overflow-wrap: anywhere;
}

.download-list li:last-child {
  border-bottom: 0;
}

.download-list a,
.download-info-card a {
  color: var(--ax-accent-strong);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.download-notes-card {
  margin-top: 48px;
  padding: 22px;
}

.download-notes-card pre {
  max-height: 380px;
  margin: 16px 0 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: rgba(3, 1, 7, 0.6);
  color: var(--ax-muted);
  font-family: var(--anx-font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

[data-download-page][data-state="error"] .download-primary {
  border-color: rgba(245, 196, 81, 0.34);
}

.download-chooser {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.download-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-surface);
  transition:
    border-color var(--ax-dur-fast) var(--ax-ease),
    background var(--ax-dur-fast) var(--ax-ease);
}

.download-option:hover,
.download-option:focus-within {
  border-color: var(--ax-line-strong);
  background: var(--ax-surface-2);
}

.download-option h3 {
  margin: 0;
  font-size: 1rem;
}

.download-option p {
  margin: 0;
  color: var(--ax-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.artifact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--ax-line);
  color: var(--ax-muted);
  font-family: var(--anx-font-mono);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.artifact-row:last-child {
  border-bottom: 0;
}

.artifact-row strong {
  color: var(--ax-text);
  font-weight: 640;
}

.artifact-row__meta,
.artifact-row__integrity {
  margin: 0;
  font-family: var(--anx-font-mono);
  font-size: 0.74rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.artifact-row__meta {
  color: var(--ax-dim);
}

.download-card .artifact-row__meta {
  color: var(--ax-dim);
}

.artifact-row__integrity,
.download-card .artifact-row__integrity {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-self: start;
  color: var(--ax-text-ok);
}

.artifact-row__integrity::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ax-ok);
  box-shadow: 0 0 0 3px rgba(69, 224, 143, 0.14);
}

.integrity-note {
  display: grid;
  gap: 6px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px dashed rgba(69, 224, 143, 0.32);
  border-radius: var(--ax-r-sm);
  background: rgba(69, 224, 143, 0.05);
  color: var(--ax-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.integrity-note strong {
  color: var(--ax-text-ok);
}

/* --------------------------------------------------------------------------
   15. Account routes, auth, profile, device activation
   -------------------------------------------------------------------------- */

.account-route {
  display: none;
  padding: 44px 0;
}

.account-route.account-route--active,
.account-route:target {
  display: block;
}

#account.account-route--active,
#profile.account-route--active {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(360px, 480px) minmax(240px, 360px);
  gap: 44px;
  align-items: center;
  justify-content: center;
  min-height: min(720px, calc(100vh - 140px));
  padding-block: 48px 72px;
}

.auth-shell--single {
  grid-template-columns: minmax(320px, 480px);
}

.auth-card {
  display: grid;
  gap: 20px;
  align-content: start;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-lg);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-elevated);
}

.auth-card__header {
  display: grid;
  gap: 8px;
  text-align: center;
}

.auth-card__header h1,
.auth-card__header h2 {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: -0.022em;
  line-height: 1.08;
}

.auth-card__header p {
  max-width: 42ch;
  margin: 0 auto;
  color: var(--ax-muted);
  line-height: 1.6;
}

.auth-card__header .eyebrow {
  justify-content: center;
  margin-bottom: 0;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: rgba(3, 1, 7, 0.5);
}

.auth-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--ax-r-xs);
  color: var(--ax-muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition:
    background var(--ax-dur-fast) var(--ax-ease),
    color var(--ax-dur-fast) var(--ax-ease);
}

.auth-tab:hover {
  color: var(--ax-text);
}

.auth-tab.is-active,
.auth-tab[aria-current="page"] {
  background: rgba(182, 108, 255, 0.16);
  color: var(--ax-text);
  box-shadow: var(--ax-inset-hairline);
}

.auth-form {
  padding: 0;
}

.auth-primary {
  width: 100%;
}

.auth-form__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--ax-muted);
  font-size: 0.84rem;
}

.auth-feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-feature-list li {
  position: relative;
  min-width: 0;
  padding: 15px 16px 15px 42px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: rgba(255, 255, 255, 0.028);
  color: var(--ax-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.auth-feature-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ax-accent);
  box-shadow: 0 0 0 4px rgba(182, 108, 255, 0.14);
}

.account-route__copy,
.account-panel,
.device-code-card {
  min-width: 0;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
}

.account-route__copy,
.account-panel {
  padding: 24px;
}

.account-route__copy h2,
.account-panel h3,
.account-route__copy p,
.account-panel p {
  margin-top: 0;
}

.account-route__copy h2 {
  font-size: 2.1rem;
}

.account-panel {
  display: grid;
  align-content: center;
  gap: 14px;
}

.account-panel[hidden] {
  display: none !important;
}

.account-panel ol {
  margin: 0;
  padding-left: 20px;
  color: var(--ax-muted);
  line-height: 1.7;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.device-code-card {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px 18px;
  border-color: var(--ax-line-strong);
  background: rgba(182, 108, 255, 0.08);
}

.device-code-card span {
  color: var(--ax-dim);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.device-code-card strong {
  color: var(--ax-text);
  font-family: var(--anx-font-mono);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  overflow-wrap: anywhere;
}

.account-hero {
  min-height: calc(100vh - 200px);
}

.account-panel {
  align-self: center;
}

.account-form {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 0;
}

.account-form--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  padding: 0;
}

.account-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--ax-dim);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-form input,
.account-form select,
.account-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-sm);
  background: rgba(3, 1, 7, 0.55);
  color: var(--ax-text);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  transition:
    border-color var(--ax-dur-fast) var(--ax-ease),
    background var(--ax-dur-fast) var(--ax-ease);
}

.account-form input::placeholder,
.account-form textarea::placeholder {
  color: var(--ax-dim);
}

.account-form input:hover,
.account-form select:hover,
.account-form textarea:hover {
  border-color: rgba(206, 150, 255, 0.5);
}

.account-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ax-muted) 50%),
    linear-gradient(135deg, var(--ax-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) calc(50% + 1px),
    calc(100% - 14px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.account-form textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.6;
}

.account-form button:disabled,
.route-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.account-form a {
  color: var(--ax-accent-strong);
  font-weight: 700;
}

.account-form p {
  margin: 0;
  color: var(--ax-muted);
  line-height: 1.6;
}

.form-message,
[data-device-login-message] {
  min-height: 1.5em;
  margin: 0;
  color: var(--ax-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-message[data-tone="ok"],
[data-device-login-message][data-tone="ok"] {
  color: var(--ax-text-ok);
}

.form-message[data-tone="warn"],
[data-device-login-message][data-tone="warn"] {
  color: var(--ax-text-warn);
}

.form-message[data-tone="error"],
[data-device-login-message][data-tone="error"] {
  color: var(--ax-text-danger);
}

.account-dashboard {
  align-content: start;
}

.account-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ax-line);
  scrollbar-width: none;
}

.account-nav::-webkit-scrollbar {
  display: none;
}

.account-nav__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-pill);
  color: var(--ax-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color var(--ax-dur-fast) var(--ax-ease),
    background var(--ax-dur-fast) var(--ax-ease),
    color var(--ax-dur-fast) var(--ax-ease);
}

.account-nav__item.is-active,
.account-nav__item[aria-current="page"] {
  border-color: rgba(197, 129, 255, 0.5);
  background: rgba(182, 108, 255, 0.14);
  color: var(--ax-text);
}

.account-nav__item:hover {
  border-color: var(--ax-line-strong);
  color: var(--ax-text);
}

.account-dashboard__header,
.account-subpanel__heading,
.account-list-item {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.account-dashboard__header {
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ax-line);
}

.account-dashboard__header h3 {
  margin: 4px 0 2px;
  font-size: 1.3rem;
}

.account-dashboard__header p {
  margin: 0;
  color: var(--ax-muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.account-dashboard__header .route-actions {
  margin-top: 0;
}

.account-dashboard-grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.account-subpanel {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: rgba(255, 255, 255, 0.022);
}

.account-subpanel h4 {
  margin: 0;
  font-size: 0.96rem;
}

.account-subpanel__heading {
  align-items: flex-start;
  flex-wrap: wrap;
}

.account-subpanel__heading p {
  margin: 4px 0 0;
  color: var(--ax-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.account-subpanel__actions,
.account-cleanup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.account-cleanup-actions {
  justify-content: flex-start;
}

.account-history-actions {
  max-width: 100%;
}

.account-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-pill);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ax-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color var(--ax-dur-fast) var(--ax-ease),
    background var(--ax-dur-fast) var(--ax-ease),
    color var(--ax-dur-fast) var(--ax-ease);
}

.account-filter-chip:hover,
.account-filter-chip.is-active {
  border-color: rgba(197, 129, 255, 0.48);
  background: rgba(182, 108, 255, 0.12);
  color: var(--ax-text);
}

.account-history-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  color: var(--ax-muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.account-history-toggle input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--ax-accent);
}

.account-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.account-list-item {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: rgba(3, 1, 7, 0.42);
}

.account-list-item > div,
.account-list-item > span {
  min-width: 0;
}

.account-list-item strong {
  display: block;
  color: var(--ax-text);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.account-list-item small {
  display: block;
  margin-top: 4px;
  color: var(--ax-muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.account-list-toggle {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px dashed rgba(197, 129, 255, 0.3);
  border-radius: var(--ax-r-xs);
  background: rgba(197, 129, 255, 0.06);
  color: var(--ax-muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.account-list-toggle:hover {
  border-color: rgba(197, 129, 255, 0.55);
  color: var(--ax-text);
}

.account-status-badge {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 4px 9px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-pill);
  color: var(--ax-muted);
  font-size: 0.7rem;
  font-weight: 740;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.account-status-badge--active {
  border-color: rgba(69, 224, 143, 0.32);
  background: rgba(69, 224, 143, 0.08);
  color: var(--ax-text-ok);
}

.account-status-badge--revoked,
.account-status-badge--expired,
.account-status-badge--error {
  border-color: rgba(255, 107, 138, 0.28);
  background: rgba(255, 107, 138, 0.07);
  color: var(--ax-text-danger);
}

.account-status-badge--device,
.account-status-badge--session,
.account-status-badge--cleanup,
.account-status-badge--all {
  border-color: rgba(197, 129, 255, 0.25);
  background: rgba(197, 129, 255, 0.07);
  color: #dac5ff;
}

.account-device-summary {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: var(--ax-surface-2);
  box-shadow: var(--ax-inset-hairline);
}

.account-device-summary span {
  color: var(--ax-dim);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-device-summary strong {
  color: var(--ax-text);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.account-device-summary small {
  color: var(--ax-muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.profile-summary-card,
.profile-header-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-surface-2);
  box-shadow: var(--ax-inset-hairline);
}

.profile-summary-card strong,
.profile-summary-card small {
  display: block;
  overflow-wrap: anywhere;
}

.profile-summary-card strong {
  font-size: 1rem;
}

.profile-summary-card small,
.profile-header-card small {
  color: var(--ax-muted);
  line-height: 1.5;
}

.profile-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(197, 129, 255, 0.3);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(197, 129, 255, 0.28), rgba(101, 210, 255, 0.14));
  color: var(--ax-text);
  font-size: 1.05rem;
  font-weight: 760;
}

.profile-avatar--large {
  width: 78px;
  height: 78px;
  font-size: 1.4rem;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar.has-image {
  border-color: var(--ax-line-strong);
  box-shadow: var(--ax-glow-soft);
}

.profile-completion {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.profile-completion span,
.profile-detail-grid dt {
  color: var(--ax-dim);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-completion strong {
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.profile-form {
  padding: 18px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: rgba(255, 255, 255, 0.025);
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-form-wide {
  grid-column: 1 / -1;
}

.profile-avatar-preview,
.profile-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.profile-detail-grid div {
  min-width: 0;
}

.profile-detail-grid dd {
  margin: 4px 0 0;
  color: var(--ax-text);
  overflow-wrap: anywhere;
}

.profile-loading {
  display: grid;
  gap: 12px;
}

.profile-skeleton {
  height: 112px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: linear-gradient(90deg, rgba(182, 108, 255, 0.05), rgba(255, 255, 255, 0.09), rgba(182, 108, 255, 0.05));
  background-size: 220% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.account-cleanup-panel {
  border-style: dashed;
  border-color: rgba(255, 107, 138, 0.22);
  background: rgba(255, 107, 138, 0.025);
}

.faq-grid,
.requirements-grid {
  align-items: start;
}

.faq-grid .download-info-card h2 {
  font-size: 1.04rem;
  line-height: 1.4;
}

.requirements-grid .download-info-card h2 {
  font-size: 1.16rem;
}

/* --------------------------------------------------------------------------
   16. Modals and toasts
   -------------------------------------------------------------------------- */

.confirm-modal[hidden] {
  display: none;
}

body.has-open-modal {
  overflow: hidden;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: auto;
  overscroll-behavior: contain;
}

.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 1, 7, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.confirm-modal__card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(460px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-lg);
  background: var(--ax-gradient-panel), var(--ax-surface-2);
  box-shadow: var(--ax-shadow-dialog);
  overscroll-behavior: contain;
}

.confirm-modal__card h2,
.confirm-modal__card p {
  margin: 0;
}

.confirm-modal__card h2 {
  font-size: 1.5rem;
}

.confirm-modal__card > p:not(.eyebrow) {
  color: var(--ax-muted);
  line-height: 1.6;
}

.confirm-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: grid;
  gap: 8px;
  max-width: min(380px, calc(100vw - 36px));
}

.toast {
  padding: 12px 14px;
  border: 1px solid var(--ax-line-strong);
  border-left-width: 2px;
  border-radius: var(--ax-r-xs);
  background: var(--ax-surface-2);
  box-shadow: var(--ax-shadow-elevated);
  color: var(--ax-text);
  font-size: 0.86rem;
  line-height: 1.5;
}

.toast--ok {
  border-color: rgba(69, 224, 143, 0.4);
  border-left-color: var(--ax-ok);
  color: var(--ax-text-ok);
}

.toast--error {
  border-color: rgba(255, 107, 138, 0.42);
  border-left-color: var(--ax-danger);
  color: var(--ax-text-danger);
}

.toast--muted {
  border-left-color: var(--ax-accent);
  color: var(--ax-muted);
}

/* --------------------------------------------------------------------------
   17. Legacy hero preview panel
   -------------------------------------------------------------------------- */

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.preview-card {
  min-width: 0;
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: rgba(255, 255, 255, 0.03);
}

.preview-card-wide {
  grid-column: 1 / -1;
  border-color: var(--ax-line-strong);
  background: linear-gradient(180deg, rgba(182, 108, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.preview-card p,
.preview-card small,
.console-preview span {
  color: var(--ax-muted);
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.preview-card strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--ax-text);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.console-preview {
  display: grid;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 14px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: #050209;
  font-family: var(--anx-font-mono);
  font-size: 0.76rem;
  line-height: 1.6;
}

.console-preview span::before {
  content: "› ";
  color: var(--ax-accent);
}

/* --------------------------------------------------------------------------
   18. Install and getting-started layouts
   -------------------------------------------------------------------------- */

.install-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: start;
  padding-top: 68px;
}

.install-hero-copy {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  position: sticky;
  top: calc(var(--ax-header-h) + 32px);
}

#windows-installation-page .install-hero-copy h1 {
  max-width: 620px;
  font-size: 3.2rem;
  line-height: 1.04;
}

#getting-started-page .install-hero-copy h1 {
  max-width: 590px;
  font-size: 3.1rem;
  line-height: 1.05;
}

.install-hero-copy .section-copy {
  max-width: 44ch;
}

.getting-started-hero .steps--detailed article {
  min-height: 96px;
}

.getting-started-install {
  align-items: center;
  padding-top: 76px;
}

.getting-started-install .steps {
  gap: 14px;
}

.getting-started-install .steps article {
  min-height: 70px;
}

.install-links {
  display: grid;
  gap: 4px;
  width: min(100%, 420px);
  margin-top: 14px;
  padding: 10px 16px;
}

.install-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--ax-accent-strong);
  font-weight: 700;
}

.install-links a:hover,
.install-links a:focus-visible {
  color: var(--ax-text);
}

.safety-card {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  padding: 26px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-lg);
  background: var(--ax-gradient-panel), var(--ax-surface);
  box-shadow: var(--ax-shadow-panel);
}

.safety-card > div {
  max-width: 760px;
  min-width: 0;
}

.safety-card p {
  color: var(--ax-muted);
  line-height: 1.65;
}

.local-agent-section .section-heading {
  max-width: 880px;
}

/* --------------------------------------------------------------------------
   19. Setup guide
   -------------------------------------------------------------------------- */

.setup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 52px;
}

.setup-hero h1 {
  max-width: 760px;
  font-size: 3.1rem;
}

.setup-hero .lede {
  max-width: 62ch;
}

.setup-progress {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--ax-line-strong);
  border-radius: var(--ax-r-lg);
  background: linear-gradient(145deg, rgba(34, 15, 55, 0.9), rgba(10, 5, 19, 0.94));
  box-shadow: var(--ax-shadow-elevated);
}

.setup-progress > p {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  color: var(--ax-text);
  font-weight: 700;
}

.setup-progress > p span {
  color: var(--ax-muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: right;
}

.setup-progress ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-progress__item {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 7px 10px;
  border-radius: var(--ax-r-xs);
  color: var(--ax-muted);
  font-size: 0.84rem;
}

.setup-progress__item > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(189, 121, 255, 0.45);
  border-radius: 50%;
  color: #ead9ff;
  font-size: 0.72rem;
  font-weight: 760;
}

.setup-layout {
  padding-top: 26px;
  padding-bottom: 84px;
}

.setup-steps {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
}

.setup-steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: linear-gradient(var(--ax-accent), rgba(148, 87, 201, 0.08));
}

.setup-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 26px;
  scroll-margin-top: 96px;
}

.setup-step + .setup-step {
  margin-top: 36px;
}

.setup-step__number {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(207, 146, 255, 0.6);
  border-radius: 18px;
  background: #170b25;
  color: #fff;
  box-shadow: 0 0 0 7px var(--ax-base);
  font-size: 1.1rem;
  font-weight: 760;
}

.setup-step__body {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-lg);
  background: rgba(19, 10, 31, 0.8);
  box-shadow: var(--ax-shadow-panel);
}

.setup-step__body h2 {
  margin-top: 0;
  font-size: 1.75rem;
}

.setup-step__body > p,
.setup-step__body li,
.setup-step__body article p,
.setup-callout p,
.address-guide dd {
  color: var(--ax-muted);
  line-height: 1.68;
}

.setup-step__body a:not(.button) {
  color: #d7adff;
  font-weight: 640;
  overflow-wrap: anywhere;
}

.setup-step__body a:not(.button):hover {
  color: var(--ax-text);
}

.setup-choice-grid,
.troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.setup-choice-grid article,
.troubleshooting-grid article,
.setup-platforms article {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(179, 120, 224, 0.2);
  border-radius: var(--ax-r-md);
  background: rgba(255, 255, 255, 0.025);
}

.setup-choice-grid h3,
.troubleshooting-grid h3,
.setup-platforms h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.setup-choice-grid p,
.troubleshooting-grid p {
  margin: 0;
}

.setup-platforms {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.setup-platforms ol,
.setup-checklist {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 1.35rem;
  color: var(--ax-muted);
  line-height: 1.68;
}

.setup-platforms li::marker,
.setup-checklist li::marker {
  color: var(--ax-accent);
}

.setup-platforms details {
  margin-top: 14px;
}

.setup-platforms summary {
  color: #d7adff;
  cursor: pointer;
}

.setup-platforms summary:hover {
  color: var(--ax-text);
}

.setup-callout {
  display: grid;
  gap: 4px;
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid var(--ax-line);
  border-left: 2px solid var(--ax-line-strong);
  border-radius: var(--ax-r-xs);
}

.setup-callout strong {
  display: block;
}

.setup-callout p {
  margin: 0;
}

.setup-callout--info {
  border-color: rgba(101, 210, 255, 0.3);
  border-left-color: var(--ax-cyan);
  background: rgba(101, 210, 255, 0.06);
}

.setup-callout--warning {
  border-color: rgba(245, 196, 81, 0.3);
  border-left-color: var(--ax-warn);
  background: rgba(245, 196, 81, 0.06);
}

.setup-callout--success {
  border-color: rgba(69, 224, 143, 0.28);
  border-left-color: var(--ax-ok);
  background: rgba(69, 224, 143, 0.055);
}

.command-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  margin-top: 12px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  background: #08040e;
}

.command-row code {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #f1e6ff;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
  white-space: normal;
}

.command-row button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-xs);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ax-text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color var(--ax-dur-fast) var(--ax-ease),
    background var(--ax-dur-fast) var(--ax-ease);
}

.command-row button:hover,
.command-row button:focus-visible {
  border-color: var(--ax-accent);
  background: rgba(178, 103, 235, 0.16);
}

.command-row svg {
  width: 16px;
  height: 16px;
}

.status-guide {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.status-guide article {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px;
  border-radius: var(--ax-r-sm);
  background: rgba(255, 255, 255, 0.025);
}

.status-guide p {
  margin: 0;
  color: var(--ax-muted);
  line-height: 1.6;
}

.address-guide {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.address-guide div {
  padding: 15px 17px;
  border: 1px solid rgba(179, 120, 224, 0.18);
  border-radius: var(--ax-r-sm);
  background: rgba(255, 255, 255, 0.02);
}

.address-guide dt {
  margin-bottom: 4px;
  color: var(--ax-text);
  font-weight: 720;
}

.address-guide dd {
  margin: 0;
}

.setup-finish {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 88px;
  padding: 30px;
  border: 1px solid rgba(69, 224, 143, 0.3);
  border-radius: var(--ax-r-lg);
  background: linear-gradient(120deg, rgba(28, 99, 73, 0.18), rgba(28, 12, 43, 0.86));
  box-shadow: var(--ax-shadow-panel);
}

.setup-finish h2,
.setup-finish p {
  margin-top: 0;
}

.setup-finish p {
  color: var(--ax-muted);
}

.setup-finish__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--ax-r-md);
  background: rgba(69, 224, 143, 0.12);
  color: var(--ax-ok);
}

.setup-finish__icon svg {
  width: 26px;
  height: 26px;
}

.setup-sticky-cta {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(200, 139, 247, 0.35);
  border-radius: var(--ax-r-md);
  background: rgba(14, 7, 23, 0.94);
  box-shadow: var(--ax-shadow-elevated);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.setup-sticky-cta > span {
  color: var(--ax-muted);
  font-size: 0.84rem;
}

/* --------------------------------------------------------------------------
   20. Motion
   -------------------------------------------------------------------------- */

@keyframes ax-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(69, 224, 143, 0.3);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(69, 224, 143, 0);
  }
}

@keyframes ax-dash {
  to {
    background-position: 12px 0;
  }
}

@keyframes ax-dash-vertical {
  to {
    background-position: 0 12px;
  }
}

@keyframes ax-caret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.15;
  }
}

@keyframes ax-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

.connector--vertical {
  animation-name: ax-dash-vertical;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--ax-dur-slow) var(--ax-ease),
    transform var(--ax-dur-slow) var(--ax-ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
  will-change: opacity, transform;
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

html.js [data-sequence] > * {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--ax-dur-slow) var(--ax-ease),
    transform var(--ax-dur-slow) var(--ax-ease);
  transition-delay: calc(var(--sequence-i, 0) * 90ms);
}

html.js [data-sequence].is-running > * {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .install-layout {
    gap: 36px;
  }

  .hero {
    gap: 40px;
  }

  .cta-band {
    padding: 48px 32px;
  }
}

@media (max-width: 1024px) {
  .site-menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: max(var(--ax-gutter), calc((100% - var(--ax-shell-max)) / 2));
    right: max(var(--ax-gutter), calc((100% - var(--ax-shell-max)) / 2));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--ax-line-strong);
    border-radius: var(--ax-r-md);
    background: var(--ax-void);
    box-shadow: var(--ax-shadow-elevated), 0 22px 52px rgba(3, 1, 7, 0.75);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
  }

  .site-nav.is-open {
    display: flex;
  }

  body:has(.site-nav.is-open)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(3, 1, 7, 0.62);
    pointer-events: none;
  }

  .site-nav a,
  .site-nav__button {
    min-height: 44px;
    justify-content: flex-start;
    white-space: normal;
  }

  .site-nav__cta {
    justify-content: center;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .section-title,
  .section-heading h1,
  .section-heading h2 {
    font-size: 2.1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 56px 48px;
    gap: 40px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .release-hero,
  .release-card,
  .download-hero,
  .download-primary,
  .download-detail-grid,
  .install-layout,
  .setup-hero,
  .flow {
    grid-template-columns: 1fr;
  }

  .release-hero h1,
  .download-hero h1,
  .setup-hero h1,
  #windows-installation-page .install-hero-copy h1,
  #getting-started-page .install-hero-copy h1 {
    font-size: 2.6rem;
  }

  .install-hero-copy {
    position: static;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps--detailed {
    grid-template-columns: 1fr;
  }

  .auth-shell,
  #account.account-route--active,
  #profile.account-route--active {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .auth-card {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }

  .auth-feature-list {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }

  .account-form--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-summary-card,
  .profile-header-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .profile-summary-card .button,
  .profile-header-card .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .profile-completion {
    justify-items: start;
  }

  .download-primary__actions {
    justify-self: stretch;
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 18px;
  }

  .site-footer nav,
  .site-footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .setup-sticky-cta > span {
    display: none;
  }

  .flow-step {
    border-left: 0;
    border-top: 1px solid var(--ax-line);
  }

  .flow-step:first-child {
    border-top: 0;
  }

  .profile-form-grid,
  .profile-detail-grid,
  .setup-choice-grid,
  .troubleshooting-grid {
    grid-template-columns: 1fr;
  }

  .status-guide article {
    grid-template-columns: 1fr;
  }

  .safety-card {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.06rem;
  }

  .lede {
    font-size: 1.02rem;
  }

  .section {
    padding-block: 72px;
  }

  .section--band {
    padding-block: 64px;
  }

  .section-head,
  .section-heading {
    margin-bottom: 26px;
  }

  .section-shell > .section-head,
  .section-shell > .section-heading {
    padding-top: 56px;
  }

  .section-title,
  .section-heading h1,
  .section-heading h2 {
    font-size: 1.8rem;
  }

  .release-hero h1,
  .download-hero h1,
  .setup-hero h1,
  #windows-installation-page .install-hero-copy h1,
  #getting-started-page .install-hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero__meta,
  .hero-facts,
  .meta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-timeline {
    padding-left: 24px;
  }

  .release::before {
    left: -21px;
  }

  .terminal__pre {
    font-size: 0.76rem;
  }

  .cta-band {
    padding: 38px 22px;
  }

  .cta-band h2 {
    font-size: 1.75rem;
  }

  .setup-step__number {
    box-shadow: 0 0 0 6px var(--ax-base);
  }

  .getting-started-install,
  .install-layout {
    padding-top: 48px;
  }
}

@media (max-width: 640px) {
  .shell,
  .section-shell,
  .site-footer {
    width: min(1180px, 100% - 40px);
  }

  .site-header {
    padding-inline: 20px;
  }

  .site-nav {
    left: 20px;
    right: 20px;
  }

  .hero,
  .download-hero,
  .release-hero {
    min-height: auto;
    padding-block: 40px 36px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero__meta,
  .hero-facts,
  .meta-strip,
  .grid-2,
  .grid-3,
  .grid-4,
  .feature-grid,
  .local-agent-grid,
  .download-grid,
  .preview-grid,
  .profile-form-grid,
  .profile-detail-grid,
  .profile-summary-card,
  .profile-header-card,
  .account-form--compact,
  .download-primary,
  .download-primary__actions,
  .download-detail-grid,
  .download-option,
  .release-card,
  .release-meta div,
  .steps--detailed,
  .artifact-row,
  .setup-finish,
  .flow {
    grid-template-columns: 1fr;
  }

  .download-primary__actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-self: stretch;
    width: 100%;
  }

  .download-primary__actions .button-primary {
    grid-column: auto;
  }

  .download-card .button,
  .release-actions .button {
    width: 100%;
  }

  .release-actions,
  .route-actions,
  .cta-actions,
  .confirm-modal__actions {
    align-items: stretch;
  }

  .release-note-card__heading {
    flex-direction: column;
    gap: 8px;
  }

  .account-route {
    padding: 28px 0;
  }

  .account-route__copy,
  .account-panel,
  .account-subpanel,
  .auth-card,
  .profile-summary-card,
  .release-note-card,
  .download-primary,
  .download-info-card,
  .download-version-card,
  .download-notes-card,
  .cta-band {
    padding: 20px;
  }

  .auth-card {
    border-radius: var(--ax-r-md);
  }

  .auth-card__header h1,
  .auth-card__header h2 {
    font-size: 1.55rem;
  }

  .auth-form__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-nav__item,
  .account-filter-chip,
  .account-list-toggle,
  .auth-tab,
  .chip,
  .account-history-toggle {
    min-height: 44px;
  }

  .account-subpanel__actions,
  .account-cleanup-actions,
  .account-history-actions {
    justify-content: flex-start;
  }

  .account-list-item {
    flex-wrap: wrap;
  }

  .status-guide article {
    grid-template-columns: 1fr;
  }

  .setup-finish .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .setup-sticky-cta {
    right: 12px;
    bottom: 12px;
  }

  .setup-sticky-cta .button {
    padding-inline: 14px;
  }

  .toast-region {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .table-wrap {
    overflow-x: auto;
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .window__bar,
  .panel-titlebar {
    padding-inline: 12px;
  }

  /* Phones: keep ~48-52 monospace columns legible, scroll the panel instead
     of silently clipping, and fade the right edge as a scroll affordance. */
  .tui,
  .terminal__pre {
    font-size: 0.6875rem;
    line-height: 1.7;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
  }

  .tui__line {
    padding-inline: 12px;
  }
}

/* Setup guide compact rules (intentionally compact syntax). */
@media (max-width:640px){
  .setup-hero{grid-template-columns:minmax(0,1fr);gap:28px;padding-top:42px;padding-bottom:36px}
  .setup-progress{padding:18px}
  .setup-progress>p{display:block}
  .setup-progress>p span{display:block;margin-top:4px;text-align:left}
  .setup-progress ol{grid-template-columns:1fr}
  .setup-layout{padding-top:18px;padding-bottom:56px}
  .setup-steps::before{left:20px}
  .setup-step{grid-template-columns:40px minmax(0,1fr);gap:12px}
  .setup-step__number{width:40px;height:40px;border-radius:13px;box-shadow:0 0 0 5px var(--ax-base);font-size:.92rem}
  .setup-step__body{padding:21px 17px;border-radius:17px}
  .setup-step__body h2{font-size:1.42rem}
  .setup-choice-grid,.troubleshooting-grid{grid-template-columns:1fr}
  .command-row{flex-wrap:wrap;padding:10px 10px 10px 12px}
  .command-row code{flex:1 1 100%;overflow-wrap:anywhere}
  .command-row button{width:100%;justify-content:center}
  .status-guide article{grid-template-columns:1fr}
  .address-guide div{padding:13px 14px}
  .setup-finish{margin-bottom:64px}
}

.table-wrap {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: var(--ax-surface);
}

.table-wrap .table,
.table-wrap .req-table {
  min-width: 460px;
}

/* --------------------------------------------------------------------------
   22. Wide-screen tier
   -------------------------------------------------------------------------- */

/* At 1920/2560 the 1180px shell strands ~370-680px of empty margin per side and
   the fold reads as sparse. Widen the shell token (header and nav follow it via
   --ax-shell-max) and scale the hero display just enough to fill the fold. */
@media (min-width: 1760px) {
  :root {
    --ax-shell-max: 1340px;
    --ax-section: 128px;
  }

  .hero {
    gap: 72px;
    min-height: min(680px, calc(100vh - 180px));
    padding-block: 88px 72px;
  }

  .hero h1 {
    font-size: 4.9rem;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .hero__meta,
  .hero-facts {
    max-width: 780px;
  }

  .release-hero {
    gap: 44px;
    padding-block: 88px 32px;
  }

  .release-hero h1 {
    font-size: 3.9rem;
  }

  .download-hero {
    gap: 48px;
    padding-block: 84px 32px;
  }

  .download-hero h1 {
    font-size: 3.8rem;
  }
}

/* --------------------------------------------------------------------------
   23. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  html.js [data-reveal],
  html.js [data-reveal].is-revealed,
  html.js [data-sequence] > *,
  html.js [data-sequence].is-running > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .connector,
  .connector--vertical,
  .status-dot--pulse,
  .tui__line.is-active::before,
  .tui__line[aria-current="true"]::before,
  .profile-skeleton,
  .hero::before,
  .cta-band::before {
    animation: none !important;
  }

  .path-card:hover,
  .feature-card:hover,
  .feature:hover,
  .button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* End of website presentation layer. */
