/* api.mintmotive.com.au front page, in the Tectonic console style: a black void with a faint grid, gunmetal
   panels with HUD corner brackets, one hot orange, condensed capitals for titles and mono labels. Dark first,
   with a light console for daylight. Loaded after api-portal.css and scoped to body.ax-home, so the docs,
   console and other pages keep their own look. */
.ax-body.ax-home {
  --bg: #08090a; --tile: #121416; --tile-2: #181b1e; --sunk: #0d0f11; --line: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .13);
  --ink: #f2efea; --ink-2: #c9c7c2; --mute: #9a9ca1; --grid: rgba(255, 255, 255, .022);
  --mint: #ff6a1f; --mint-2: #ff8a4c; --hot-soft: rgba(255, 106, 31, .14); --on-hot: #140700;
  --accent-3: #4da3ff;
  --l-engine: #ff6a1f; --l-tracer: #4da3ff; --l-ai: #f2c14e; --l-sc: #9b87ff;
  /* code */
  --c-kw: #ff8a4c; --c-str: #8fc4ff; --c-fn: #4da3ff; --c-num: #f2c14e; --c-prop: #ffb36b; --c-flag: #ff6a1f; --c-com: #6c7076;
  --trace: #ff6a1f; --trace-ink: #a33b06;
  --model-1: #ff7a2f; --model-2: #8a9099;
  --display: 'Saira Semi Condensed', 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --font-ui: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .ax-body.ax-home {
  --bg: #f3f1ec; --tile: #ffffff; --tile-2: #f8f7f3; --sunk: #efede7; --line: rgba(20, 16, 10, .09); --line-2: rgba(20, 16, 10, .16);
  --ink: #17140f; --ink-2: #3b3833; --mute: #67645e; --grid: rgba(20, 16, 10, .035);
  --mint: #d94e0c; --mint-2: #b94207; --hot-soft: rgba(217, 78, 12, .1); --on-hot: #ffffff; --accent-3: #1f6fd6;
  --l-engine: #d94e0c; --l-tracer: #1f6fd6; --l-ai: #a87b00; --l-sc: #6c54e0;
  --c-kw: #c2410c; --c-str: #1d5fb8; --c-fn: #1f6fd6; --c-num: #8a6400; --c-prop: #a8500a; --c-flag: #c2410c; --c-com: #8b8780;
  --model-1: #e2621c; --model-2: #6b7380; color-scheme: light; } }
:root[data-theme="light"] .ax-body.ax-home {
  --bg: #f3f1ec; --tile: #ffffff; --tile-2: #f8f7f3; --sunk: #efede7; --line: rgba(20, 16, 10, .09); --line-2: rgba(20, 16, 10, .16);
  --ink: #17140f; --ink-2: #3b3833; --mute: #67645e; --grid: rgba(20, 16, 10, .035);
  --mint: #d94e0c; --mint-2: #b94207; --hot-soft: rgba(217, 78, 12, .1); --on-hot: #ffffff; --accent-3: #1f6fd6;
  --l-engine: #d94e0c; --l-tracer: #1f6fd6; --l-ai: #a87b00; --l-sc: #6c54e0;
  --c-kw: #c2410c; --c-str: #1d5fb8; --c-fn: #1f6fd6; --c-num: #8a6400; --c-prop: #a8500a; --c-flag: #c2410c; --c-com: #8b8780;
  --model-1: #e2621c; --model-2: #6b7380; color-scheme: light; }

.ax-body.ax-home {
  margin: 0; padding-left: 0; max-width: none; color: var(--ink); font: 400 16px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 48px 48px, var(--bg);
  background-color: var(--bg);
}
.ax-body.ax-home h1, .ax-body.ax-home h2, .ax-body.ax-home h3 { font-family: var(--display); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-wrap: balance; }
.ax-body.ax-home h1 em, .ax-body.ax-home h2 em { font-style: normal; color: var(--mint); }
/* Switch off the old portal's decorations underneath */
.ax-body.ax-home { transition: none; isolation: auto; }
.ax-home .ax-tile::before, .ax-home .ax-tile::after, .ax-home .ax-btn-primary::after, .ax-home .ax-kinds li::after, .ax-home .ax-hero-bg::before { content: none; }
.ax-home .ax-float { animation: none; transform: none; }
.ax-home .ax-dot { box-shadow: none; }
.ax-home .ax-dot.is-on::after { content: none; }
.ax-home .ax-tabs button[aria-selected=true] { box-shadow: none; }
.ax-home .ax-ticks li::before { transform: none; }
.ax-home .ax-hud::before, .ax-home .ax-hud::after { content: ''; }
.ax-home .ax-shell { width: min(1240px, 100% - 32px); margin-inline: auto; }
.ax-home .ax-skip { position: absolute; left: -9999px; }
.ax-home .ax-skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--mint); color: var(--on-hot); padding: 8px 12px; border-radius: 4px; }
.ax-home .ax-mono, .ax-body.ax-home code, .ax-body.ax-home pre { font-family: var(--font-mono); }
.ax-home .ax-mute { color: var(--mute); }
.ax-body.ax-home :focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.ax-body.ax-home a { color: inherit; }

/* HUD corner brackets */
.ax-home .ax-hud { position: relative; }
.ax-home .ax-hud::before, .ax-home .ax-hud::after { content: ''; position: absolute; z-index: 3; width: 18px; height: 18px; border: 2px solid var(--mint); pointer-events: none; }
.ax-home .ax-hud::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.ax-home .ax-hud::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

/* Header */
.ax-home .ax-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.ax-home .ax-top-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.ax-home .ax-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.ax-home .ax-wordmark { display: block; height: 20px; width: auto; }
:root[data-theme="light"] .ax-home .ax-wordmark { filter: invert(1) hue-rotate(180deg); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .ax-home .ax-wordmark { filter: invert(1) hue-rotate(180deg); } }
.ax-home .ax-mark { display: none; }
.ax-home .ax-logo b { font: 700 11px/1 var(--font-mono); letter-spacing: .16em; padding: 5px 7px; border-radius: 3px; border: 1.5px solid var(--mint); color: var(--mint); }
.ax-home .ax-nav { display: flex; gap: 22px; margin-left: auto; }
.ax-home .ax-nav a { color: var(--mute); text-decoration: none; font: 600 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; transition: color .2s; }
.ax-home .ax-nav a:hover { color: var(--ink); }
.ax-home .ax-theme { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; }
.ax-home .ax-theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ax-home .ax-theme:hover { border-color: var(--mint); }

/* Buttons */
.ax-home .ax-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 4px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 600 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
.ax-home .ax-btn:hover { border-color: var(--mint); background: var(--hot-soft); }
.ax-body.ax-home .ax-btn-primary { background: var(--mint); border-color: var(--mint); color: var(--on-hot); box-shadow: 0 10px 34px color-mix(in srgb, var(--mint) 26%, transparent); }
.ax-body.ax-home .ax-btn-primary:hover { background: var(--mint-2); }
.ax-home .ax-btn-ghost { background: transparent; }
.ax-home .ax-btn-sm { min-height: 40px; padding: 0 14px; font-size: 12px; white-space: nowrap; }
@media (max-width: 420px) { .ax-home .ax-top-row .ax-btn-sm [aria-hidden] { display: none; } }

/* Hero */
.ax-home .ax-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 0; border-bottom: 1px solid var(--line); background: radial-gradient(60% 70% at 78% 40%, var(--hot-soft), transparent 62%); }
.ax-home .ax-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.ax-home .ax-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--mint) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--mint) 1px, transparent 1px) 0 0 / 48px 48px; opacity: .18; mask-image: radial-gradient(240px circle at var(--hx, 75%) var(--hy, 35%), #000, transparent 70%); -webkit-mask-image: radial-gradient(240px circle at var(--hx, 75%) var(--hy, 35%), #000, transparent 70%); }
.ax-home .ax-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ax-home .ax-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ax-home .ax-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-num); flex: none; }
.ax-home .ax-dot.is-on { background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: axh-led 2.4s ease-in-out infinite; }
@keyframes axh-led { 50% { opacity: .45; } }
.ax-home .ax-hero h1 { margin: 18px 0 22px; font-size: clamp(46px, 6.4vw, 98px); line-height: .95; letter-spacing: .04em; }
.ax-home .ax-lede { margin: 0 0 30px; max-width: 34rem; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); }
.ax-home .ax-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ax-home .ax-stats { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 56px auto 0; border-top: 1px solid var(--line); }
.ax-home .ax-stats div { padding: 18px 16px 20px 0; border-right: 1px solid var(--line); min-width: 0; }
.ax-home .ax-stats div:last-child { border-right: 0; }
.ax-home .ax-stats dt { font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ax-home .ax-stats dd { margin: 8px 0 0; font: 700 22px/1.1 var(--display); letter-spacing: .04em; font-variant-numeric: tabular-nums; }

.ax-home .ax-hero-right { position: relative; padding-bottom: 70px; min-width: 0; }
.ax-home .ax-console { border-radius: 6px; border: 1px solid var(--line); background: var(--tile); }
.ax-home .ax-console-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ax-home .ax-live { margin-left: auto; font: 700 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mint); display: flex; align-items: center; gap: 6px; }
.ax-home .ax-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: axh-led 1.2s infinite; }
.ax-home .ax-type { margin: 0; padding: 22px 22px 130px; min-height: 330px; font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; overflow: hidden; }
.ax-home .ax-caret { display: inline-block; width: 8px; height: 1.05em; vertical-align: -2px; background: var(--mint); animation: axh-led 1s steps(2) infinite; }
/* The model card sits over the console's corner */
.ax-home .ax-float { position: absolute; right: -14px; bottom: 0; width: 46%; aspect-ratio: 4 / 3; margin: 0; border-radius: 6px; border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 40%, var(--tile-2), var(--sunk) 75%); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.ax-home .ax-float canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ax-home .ax-float figcaption { position: absolute; left: 12px; bottom: 10px; padding: 4px 8px; border-radius: 3px; background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid var(--line-2); font-size: 11px; color: var(--ink-2); }

/* Code colours */
.ax-home .ax-code { color: var(--ink-2); }
.ax-home .ax-code .k { color: var(--c-kw); } .ax-home .ax-code .s { color: var(--c-str); } .ax-home .ax-code .f { color: var(--c-fn); } .ax-home .ax-code .n { color: var(--c-num); }
.ax-home .ax-code .p { color: var(--c-prop); } .ax-home .ax-code .g { color: var(--c-flag); } .ax-home .ax-code .c { color: var(--c-com); } .ax-home .ax-code .ok { color: var(--mint); font-weight: 700; }

/* Sections */
.ax-home .ax-section { position: relative; padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.ax-home .ax-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-bottom: 34px; }
.ax-home .ax-head .ax-h2 { margin-bottom: 0; }
.ax-home .ax-head .ax-sub { margin: 0; }
.ax-home .ax-label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ax-home .ax-label::after { content: ''; width: 34px; height: 2px; background: var(--mint); }
.ax-home .ax-h2 { margin: 0 0 40px; font-size: clamp(34px, 4.6vw, 64px); line-height: .95; max-width: 900px; }
.ax-home .ax-sub { margin: -20px 0 32px; color: var(--ink-2); max-width: 680px; }
.ax-home .ax-sub code, .ax-home .ax-table code, .ax-home .ax-errs code, .ax-home .ax-sc code { background: var(--sunk); border: 1px solid var(--line); padding: 1px 6px; border-radius: 3px; font-size: .86em; color: var(--ink); }

/* Panels */
.ax-home .ax-tile { position: relative; border-radius: 6px; border: 1px solid var(--line); background: var(--tile); padding: 24px; min-width: 0; }
.ax-home .ax-tile:hover { border-color: var(--line-2); }
.ax-home .ax-tile h3 { margin: 6px 0 14px; font-size: 22px; line-height: 1.05; letter-spacing: .06em; }
.ax-home .ax-tile-k { margin: 0; font: 500 10.5px/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ax-home .ax-tile-s { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }
.ax-home .ax-big { margin: 14px 0 0; font: 700 56px/1 var(--display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ax-home .ax-big small { font: 500 16px/1 var(--font-ui); color: var(--mute); margin-left: 4px; letter-spacing: 0; }
.ax-home .ax-big.ax-mono { font: 600 30px/1 var(--font-mono); letter-spacing: -.01em; }

.ax-home .ax-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.ax-home .ax-reveal.is-in { opacity: 1; transform: none; }

/* The platform map */
.ax-home .ax-mapbox { padding: 0; overflow-x: auto; }
.ax-home .ax-mapbox svg { display: block; width: 100%; min-width: 600px; height: auto; }
.ax-home .ax-mapbox .ln { fill: none; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.ax-home .ax-mapbox .stn { fill: var(--tile); stroke: var(--ink); stroke-width: 3; cursor: pointer; }
.ax-home .ax-mapbox .stn:hover, .ax-home .ax-mapbox .stn:focus { stroke: var(--mint); outline: none; }
.ax-home .ax-mapbox text { font: 500 18px var(--font-mono); fill: var(--ink-2); }
.ax-home .ax-mapbox text.big { font: 700 22px var(--display); letter-spacing: .14em; fill: var(--ink); }
.ax-home .ax-mapbox .gridln { stroke: var(--line); stroke-width: 1; }
.ax-home .ax-tip { position: fixed; z-index: 60; pointer-events: none; background: var(--tile-2); border: 1px solid var(--mint); color: var(--ink); padding: 10px 12px; border-radius: 4px; font: 400 13px/1.45 var(--font-ui); max-width: 260px; opacity: 0; transition: opacity .15s; }
.ax-home .ax-tip b { display: block; font: 700 11px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin-bottom: 3px; }
.ax-home .ax-legend { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ax-home .ax-legend a { display: grid; gap: 6px; align-content: start; padding: 16px; border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 6px; background: var(--tile); text-decoration: none; }
.ax-home .ax-legend a:hover { border-color: var(--line-2); border-top-color: var(--c); }
.ax-home .ax-legend b { font: 700 18px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.ax-home .ax-legend span { color: var(--ink-2); font-size: 14px; }
.ax-home .ax-legend code { font: 500 11.5px/1 var(--font-mono); color: var(--mute); letter-spacing: .06em; }
/* The map beside the four products, not across the whole page */
.ax-home .ax-plat { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); gap: 22px; align-items: center; }
.ax-home .ax-plat .ax-legend { margin-top: 0; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.ax-home .ax-legend a { gap: 8px; padding: 16px 18px; }
.ax-home .ax-legend .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ax-home .ax-legend .tag { margin-left: auto; font: 600 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--c); border-radius: 99px; color: var(--ink); }
.ax-home .ax-legend .d { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.ax-home .ax-legend .go { font: 600 12px/1 var(--font-mono); letter-spacing: .06em; color: var(--c); }

/* The bento */
.ax-home .ax-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 12px; }
.ax-home .ax-t-kinds { grid-column: span 2; }
.ax-home .ax-t-tracer { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.ax-home .ax-t-code { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.ax-home .ax-t-serial { grid-column: span 2; }
.ax-home .ax-kinds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ax-home .ax-kinds li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 3px; border: 1px solid var(--line-2); font: 500 13px/1 var(--font-ui); color: var(--ink-2); transition: color .3s, background-color .3s, border-color .3s; }
.ax-home .ax-kinds li i { font-style: normal; color: var(--mint); }
.ax-home .ax-kinds li.is-on { color: var(--on-hot); background: var(--mint); border-color: var(--mint); }
.ax-home .ax-kinds li.is-on i { color: var(--on-hot); }
.ax-home .ax-kinds li a { color: inherit; text-decoration: none; } .ax-home .ax-kinds li:has(a):hover { color: var(--ink); border-color: var(--mint); }
.ax-home .ax-spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 44px; }
.ax-home .ax-spark polyline { fill: none; stroke: var(--mint); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .8; }
.ax-home .ax-sheet { flex: 1; display: grid; place-items: center; margin: 4px 0 8px; min-height: 220px; }
.ax-home .ax-sheet svg { width: 100%; max-height: 300px; }
.ax-home .ax-paper { fill: #eceae4; }
.ax-home .ax-trace { fill: color-mix(in srgb, var(--mint) 14%, transparent); stroke: var(--trace); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ax-home .is-in .ax-trace { animation: axh-draw 2.4s cubic-bezier(.6,0,.2,1) forwards, axh-redraw 9s 3s infinite; }
.ax-home .is-in .ax-t2 { animation-delay: .9s, 3.9s; }
@keyframes axh-draw { to { stroke-dashoffset: 0; } }
@keyframes axh-redraw { 0%, 70% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
.ax-home .ax-dims text { font: 600 10px var(--font-mono); fill: var(--trace-ink); opacity: 0; }
.ax-home .is-in .ax-dims text { animation: axh-fade .6s 2.6s forwards; }
@keyframes axh-fade { to { opacity: 1; } }
.ax-home .ax-tabs { display: flex; flex-wrap: wrap; gap: 3px; padding: 10px; border-bottom: 1px solid var(--line); }
.ax-home .ax-tabs button { min-height: 32px; padding: 0 12px; border-radius: 3px; border: 0; background: transparent; color: var(--mute); font: 600 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.ax-home .ax-tabs button[aria-selected=true] { background: var(--mint); color: var(--on-hot); }
.ax-home .ax-tabs .ax-copy { margin-left: auto; box-shadow: 0 0 0 1px var(--line-2) inset; }
.ax-home .ax-t-code pre, .ax-home .ax-codebox pre { flex: 1; margin: 0; padding: 20px 22px; overflow: auto; font-size: 13px; line-height: 1.75; white-space: pre; background: var(--sunk); }
.ax-home .ax-formats { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ax-home .ax-formats li { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 3px; background: var(--sunk); border: 1px solid var(--line); }
.ax-home .ax-formats b { font: 700 13px/1 var(--font-mono); color: var(--mint); min-width: 32px; }
.ax-home .ax-formats span { font-size: 13px; color: var(--ink-2); }
.ax-home .ax-gauge { position: relative; width: 120px; margin: 10px auto 0; }
.ax-home .ax-gauge svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.ax-home .ax-gauge circle { fill: none; stroke-width: 8; }
.ax-home .ax-g-bg { stroke: var(--line-2); }
.ax-home .ax-g-fg { stroke: var(--mint); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1); }
.ax-home .is-in .ax-g-fg { stroke-dashoffset: 0; }
.ax-home .ax-gauge p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; margin: 0; }
.ax-home .ax-gauge b { font: 700 26px/1 var(--display); }
.ax-home .ax-gauge small { font-size: 11.5px; color: var(--mute); }
.ax-home .ax-t-limits .ax-tile-s { text-align: center; }
.ax-home .ax-serials { list-style: none; margin: 0; padding: 0; height: 96px; overflow: hidden; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); font-size: 14px; }
.ax-home .ax-serials li { display: flex; justify-content: space-between; gap: 12px; height: 32px; align-items: center; color: var(--mute); transition: transform .5s; }
.ax-home .ax-serials li b { color: var(--mint); font-weight: 500; }
.ax-home .ax-t-learn { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; min-height: 230px; }
.ax-home .ax-learn-copy h3 { font-size: 26px; }
.ax-home .ax-learn-chart { color: var(--mint); }
.ax-home .ax-learn-chart svg { width: 100%; height: 150px; overflow: visible; }
.ax-home .ax-learn-grid line { stroke: var(--line-2); stroke-dasharray: 3 5; }
.ax-home .ax-learn-fill { fill: url(#ax-lg); opacity: 0; transition: opacity 1.2s 1.4s; }
.ax-home .ax-learn-line { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.ax-home .ax-learn-dot { fill: var(--mint); opacity: 0; transform-box: fill-box; transform-origin: center; }
.ax-home .is-in .ax-learn-line { animation: axh-draw 2.6s cubic-bezier(.5,0,.2,1) forwards; }
.ax-home .is-in .ax-learn-fill { opacity: 1; }
.ax-home .is-in .ax-learn-dot { animation: axh-fade .4s 2.5s forwards, axh-glow 2.4s 3s ease-in-out infinite; }
@keyframes axh-glow { 50% { transform: scale(1.5); } }
.ax-home .ax-learn-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: var(--mute); }

/* Playground */
.ax-home .ax-play { display: grid; grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.ax-home .ax-controls { display: grid; gap: 16px; align-content: start; }
.ax-home .ax-controls label { display: grid; gap: 8px; font: 500 11px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.ax-home .ax-fields { display: grid; gap: 16px; }
.ax-home .ax-fields label { grid-template-columns: 1fr auto; }
.ax-home .ax-fields input { grid-column: 1 / -1; }
.ax-home .ax-fields output { font: 600 13px/1 var(--font-mono); color: var(--ink); }
.ax-home .ax-controls select { min-height: 42px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--line-2); background: var(--sunk); color: var(--ink); font: 500 14px/1 var(--font-ui); text-transform: none; letter-spacing: 0; }
.ax-home .ax-controls input[type=range] { width: 100%; accent-color: var(--mint); }
.ax-home .ax-parts { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; color: var(--mute); }
.ax-home .ax-stage { min-height: 440px; padding: 0; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--tile-2), var(--sunk) 75%); }
.ax-home .ax-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.ax-home .ax-codebox { display: flex; flex-direction: column; padding: 0; overflow: hidden; min-width: 0; }

/* Star Citizen */
.ax-home .ax-sc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; }
.ax-home .ax-sc-text { display: grid; gap: 14px; align-content: start; }
.ax-home .ax-sc-text p { margin: 0; color: var(--ink-2); }
.ax-home .ax-sc-facts { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); }
.ax-home .ax-sc-facts b { color: var(--ink); }
.ax-home .ax-sc-go { display: flex; flex-wrap: wrap; gap: 10px; }
.ax-home .ax-sc-code { min-width: 0; padding: 18px; display: grid; gap: 12px; align-content: start; }
.ax-home .ax-sc-code pre { margin: 0; padding: 14px; overflow-x: auto; background: var(--sunk); border-radius: 4px; font-size: 13px; line-height: 1.65; }

/* Reference */
.ax-home .ax-table-wrap { padding: 0; overflow-x: auto; }
.ax-home .ax-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ax-home .ax-table th { text-align: left; padding: 16px 20px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line); }
.ax-home .ax-table td { padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.ax-home .ax-table tbody tr:not(.ax-group):hover td { background: var(--hot-soft); }
.ax-home .ax-table td:nth-child(2) { white-space: nowrap; }
.ax-home .ax-table .ax-group td { padding: 16px 20px 8px; font: 700 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.ax-home .ax-table b { font: 700 11px/1 var(--font-mono); padding: 4px 8px; border-radius: 3px; }
.ax-home .ax-table b.get { background: color-mix(in srgb, var(--c-fn) 14%, transparent); color: var(--c-fn); }
.ax-home .ax-table b.post { background: var(--hot-soft); color: var(--mint); }
.ax-home .ax-errs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.ax-home .ax-errs .ax-tile { display: flex; gap: 14px; align-items: baseline; padding: 16px 18px; font-size: 14px; color: var(--ink-2); }
.ax-home .ax-errs code { color: var(--mint) !important; }

/* Pricing: clean plan cards */
.ax-home .ax-terms { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; margin: 0 0 22px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--tile); }
.ax-home .ax-terms button { border: 0; background: none; color: var(--mute); font: 600 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; border-radius: 3px; cursor: pointer; }
.ax-home .ax-terms button:hover { color: var(--ink); }
.ax-home .ax-terms button[aria-pressed="true"] { background: var(--mint); color: var(--on-hot); }
.ax-home .ax-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ax-home .ax-plans[data-plans] { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.ax-home .ax-plan { display: flex; flex-direction: column; padding: 28px; }
.ax-home .ax-plan h3 { margin: 0; font-size: 28px; letter-spacing: .08em; }
.ax-home .ax-price { margin: 14px 0 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 700 44px/1 var(--display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ax-home .ax-price small { font: 500 13px/1 var(--font-ui); letter-spacing: 0; color: var(--mute); margin-left: 6px; }
.ax-home .ax-plan-hot { border-color: color-mix(in srgb, var(--mint) 40%, var(--line)); background: color-mix(in srgb, var(--mint) 6%, var(--tile)); }
.ax-home .ax-plan-hot::before, .ax-home .ax-plan-hot::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--mint); pointer-events: none; }
.ax-home .ax-plan-hot::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.ax-home .ax-plan-hot::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.ax-home .ax-ticks { list-style: none; margin: 14px 0 24px; padding: 0; display: grid; gap: 9px; align-content: start; flex: 1; font-size: 14.5px; color: var(--ink-2); }
.ax-home .ax-ticks li { position: relative; padding-left: 20px; }
.ax-home .ax-ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border: 1.5px solid var(--mint); }
.ax-home .ax-plan .ax-btn { justify-content: center; }
.ax-home .ax-plan .ax-blurb { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.ax-home .ax-term-line { margin: 0 0 4px; font-size: 13px; color: var(--mute); min-height: 1.4em; }
.ax-home .ax-term-line b { color: var(--mint); font-weight: 600; }
.ax-home .ax-plans-also { grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
.ax-home .ax-plans-note { margin: 16px 0 0; max-width: 80ch; font-size: 13.5px; color: var(--mute); }

/* Trust */
.ax-home .ax-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ax-home .ax-trust h3 { font-size: 18px; letter-spacing: .1em; margin-top: 0; }
.ax-home .ax-trust p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* Footer */
.ax-home .ax-foot { padding: 48px 0 70px; color: var(--mute); font-size: 14px; }
.ax-home .ax-foot-cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
.ax-home .ax-foot-blurb { margin: 14px 0 0; max-width: 32ch; color: var(--ink-2); }
.ax-home .ax-foot nav { display: grid; gap: 8px; align-content: start; }
.ax-home .ax-foot h4 { margin: 0 0 6px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ax-home .ax-foot nav a { color: var(--ink-2); text-decoration: none; }
.ax-home .ax-foot nav a:hover { color: var(--mint); }
.ax-home .ax-foot-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font: 500 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.ax-home .ax-psst { cursor: help; opacity: .55; }
.ax-home .ax-psst:hover::after { content: ' · type vertex'; color: var(--mint); }

/* Traced headings: each word is outlined in orange, stroke by stroke, then filled in (api-portal-look.js) */
.ax-tr .ax-home :is(.ax-hero h1, .ax-h2):not(.ready) { visibility: hidden; }
.ax-home .ax-w { position: relative; display: inline-block; transition: color .7s ease; }
.ax-home :is(h1, h2).ready:not(.lit) .ax-w { color: transparent; }
.ax-home .ax-w svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ax-home .ax-w text { fill: none; stroke: var(--mint); stroke-width: 1.1px; stroke-linejoin: round; transition: opacity .9s ease .3s; }
.ax-home :is(h1, h2).lit .ax-w text { opacity: 0; }
.ax-home .ax-pen { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px 3px var(--mint); pointer-events: none; transition: opacity .4s; }
/* A short colour split now and then, like something trying to get in */
.ax-home .ax-gl { animation: axh-gl .42s steps(2, end); }
@keyframes axh-gl {
  0% { text-shadow: 3px 0 var(--l-tracer), -3px 0 var(--mint); transform: translate(2px, 0); clip-path: inset(8% 0 52% 0); }
  25% { text-shadow: -4px 0 var(--l-tracer), 4px 0 var(--mint); transform: translate(-3px, 1px); clip-path: inset(46% 0 12% 0); }
  50% { text-shadow: 2px 0 var(--l-sc), -2px 0 var(--mint); transform: translate(1px, -1px); clip-path: inset(0 0 0 0); }
  75% { text-shadow: -1px 0 var(--l-tracer), 1px 0 var(--mint); transform: none; clip-path: inset(30% 0 30% 0); }
  100% { text-shadow: none; transform: none; clip-path: none; }
}
/* The back door */
.ax-home .ax-breach { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: repeating-linear-gradient(0deg, rgba(255, 106, 31, .05) 0 1px, transparent 1px 3px), rgba(5, 6, 7, .9); }
.ax-home .ax-breach[hidden] { display: none; }
.ax-home .ax-bx { width: min(720px, 100%); border-radius: 6px; border: 1px solid rgba(255, 106, 31, .4); background: #0c0e10; color: #f2efea; box-shadow: 0 30px 120px rgba(0, 0, 0, .6); --mint: #ff6a1f; }
.ax-home .ax-bx .ax-console-bar { color: #9a9ca1; border-color: rgba(255, 255, 255, .07); }
.ax-home .ax-bx button { margin-left: auto; border: 1px solid rgba(255, 255, 255, .16); background: none; border-radius: 3px; padding: 8px 10px; font: 600 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #c9c7c2; cursor: pointer; }
.ax-home .ax-bx pre { margin: 0; padding: 22px; min-height: 300px; font: 14px/1.8 var(--font-mono); color: #c9c7c2; white-space: pre-wrap; word-break: break-word; }
.ax-home .ax-bx .hi { color: #ff6a1f; font-weight: 700; }
.ax-home .ax-bx .dim { color: #6e7176; }
.ax-home .ax-slice { position: fixed; left: 0; right: 0; z-index: 89; pointer-events: none; opacity: .35; }
.ax-home.ax-shake > :not(.ax-breach):not(.ax-slice) { animation: axh-shake .5s steps(6); }
@keyframes axh-shake { 0%, 100% { transform: none; filter: none; } 20% { transform: translate(-6px, 2px); filter: drop-shadow(4px 0 rgba(77, 163, 255, .7)) drop-shadow(-4px 0 rgba(255, 106, 31, .7)); } 40% { transform: translate(5px, -3px) skewX(-2deg); } 60% { transform: translate(-3px, 1px); filter: drop-shadow(-3px 0 rgba(155, 135, 255, .7)) drop-shadow(3px 0 rgba(255, 106, 31, .7)); } 80% { transform: translate(2px, 0); } }

/* The live updater's note */
.ax-home .ax-live-note { position: fixed; right: 18px; bottom: 18px; z-index: 60; padding: 12px 16px; border-radius: 4px; border: 1px solid var(--mint); background: var(--tile-2); color: var(--ink); font-size: 14px; }
.ax-home .ax-live-note button { margin-left: 8px; border: 0; background: none; color: var(--mint); font: inherit; text-decoration: underline; cursor: pointer; }

/* Visibility culling: anything marked .ax-cull holds every animation until it's on screen (api-portal.js adds .is-live). */
.ax-home .ax-cull:not(.is-live), .ax-home .ax-cull:not(.is-live) *, .ax-home .ax-cull:not(.is-live)::before, .ax-home .ax-cull:not(.is-live)::after, .ax-home .ax-cull:not(.is-live) *::before, .ax-home .ax-cull:not(.is-live) *::after { animation-play-state: paused !important; }

@media (max-width: 1080px) {
  .ax-home .ax-hero-grid, .ax-home .ax-head { grid-template-columns: minmax(0, 1fr); }
  .ax-home .ax-float { right: 0; }
  .ax-home .ax-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ax-home .ax-stats div:nth-child(3n) { border-right: 0; }
  .ax-home .ax-stats div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .ax-home .ax-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-home .ax-play { grid-template-columns: 240px minmax(0, 1fr); }
  .ax-home .ax-codebox { grid-column: 1 / -1; min-height: 280px; }
  .ax-home .ax-legend, .ax-home .ax-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-home .ax-plat { grid-template-columns: minmax(0, 1fr); }
  .ax-home .ax-plat .ax-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-home .ax-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) { .ax-home .ax-sc, .ax-home .ax-plans-also { grid-template-columns: minmax(0, 1fr); } .ax-home .ax-nav { display: none; } }
@media (max-width: 760px) {
  .ax-home .ax-top-row { gap: 10px; }
  .ax-home .ax-top-row .mmn { margin-left: auto; } .ax-home .ax-top-row .mmn-btn { height: 2rem; }
  .ax-home .ax-wordmark { display: none; } .ax-home .ax-mark { display: block; }
  .ax-home .ax-type { font-size: 12px; padding: 18px; min-height: 240px; }
  .ax-home .ax-hero-right { padding-bottom: 0; }
  .ax-home .ax-float { position: relative; right: auto; width: 100%; margin-top: 12px; }
  .ax-home .ax-bento, .ax-home .ax-play, .ax-home .ax-plans, .ax-home .ax-errs { grid-template-columns: 1fr; }
  .ax-home .ax-t-kinds, .ax-home .ax-t-tracer, .ax-home .ax-t-code, .ax-home .ax-t-serial { grid-column: auto; grid-row: auto; }
  .ax-home .ax-t-learn { grid-template-columns: 1fr; }
  .ax-home .ax-stage { min-height: 320px; }
}
@media (max-width: 640px) {
  .ax-home .ax-table thead { display: none; }
  .ax-home .ax-table, .ax-home .ax-table tbody { display: block; }
  .ax-home .ax-table tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); }
  .ax-home .ax-table td { padding: 0; border: 0; }
  .ax-home .ax-table td:nth-child(2) { white-space: normal; overflow-wrap: anywhere; }
  .ax-home .ax-table td:nth-child(3) { grid-row: 2; grid-column: 1 / -1; font-size: 14px; }
  .ax-home .ax-table td:nth-child(4) { grid-row: 1; grid-column: 3; }
  .ax-home .ax-table .ax-group { display: block; padding: 0; }
  .ax-home .ax-table .ax-group td { display: block; padding: 16px 16px 6px; }
  .ax-home .ax-terms { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .ax-home .ax-terms button { padding: 10px 4px; }
}
@media (max-width: 520px) { .ax-home .ax-legend, .ax-home .ax-trust, .ax-home .ax-plat .ax-legend { grid-template-columns: minmax(0, 1fr); } .ax-home .ax-stats dd { font-size: 18px; } }
@media (min-width: 2200px) { .ax-home .ax-shell { width: min(1720px, 100% - 96px); } }
@media (min-width: 2800px) { html { zoom: 1.15; } }
@media (prefers-reduced-motion: reduce) {
  .ax-home .ax-dot.is-on, .ax-home .ax-live::before, .ax-home .ax-caret, .ax-home .ax-gl, .ax-home.ax-shake > * { animation: none !important; }
  .ax-home .ax-reveal { opacity: 1; transform: none; transition: none; }
  .ax-home .ax-trace, .ax-home .ax-learn-line { stroke-dashoffset: 0; animation: none !important; }
  .ax-home .ax-dims text, .ax-home .ax-learn-fill, .ax-home .ax-learn-dot { opacity: 1; animation: none !important; }
  .ax-home .ax-g-fg { transition: none; }
}
/* Browsers drawing without the graphics card (api-portal.js sets data-gpu): the same stillness as reduced motion. */
:root[data-gpu="lite"] .ax-home :is(.ax-dot.is-on, .ax-live::before, .ax-caret) { animation: none; }
:root[data-gpu="lite"] .ax-home .ax-reveal { opacity: 1; transform: none; transition: none; }
:root[data-gpu="lite"] .ax-home :is(.ax-trace, .ax-learn-line) { stroke-dashoffset: 0; animation: none !important; }
:root[data-gpu="lite"] .ax-home :is(.ax-dims text, .ax-learn-fill, .ax-learn-dot) { opacity: 1; animation: none !important; }
.ax-home .ax-tile { overflow: visible; }
.ax-home .ax-plan h3 { color: var(--ink); }
