/*--------------------------------------------------------------
# ATLAS design layer
# Loaded at the end of <body> so it wins over the inline <style>
# blocks on each page at equal specificity.
--------------------------------------------------------------*/
:root {
  --ink: #16181D;        /* headings, primary buttons */
  --text: #3A3F48;       /* body copy */
  --mute: #6B717C;       /* statement continuation, captions */
  --rule: #E6E8EC;       /* hairlines */
  --wash: #F7F8FA;       /* alternate surface */
  --brand: #3D87D3;      /* logo blue: live signals, focus */
  --brand-ink: #1F5FA8;  /* links */
  --night: #0F1216;      /* architecture band */
  --warn: #C2410C;
  --radius: 10px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

/* ---------- Type ---------- */
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  font-optical-sizing: auto;
}

h1, h2, h3, h4, h5, h6, #header .logo {
  font-family: var(--font);
  color: var(--ink);
  letter-spacing: -0.015em;
}

a { color: var(--brand-ink); }
a:hover { color: var(--ink); }

a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  box-shadow: none;
}

.stat-metric, .ax-table, .ax-figures dd { font-variant-numeric: tabular-nums; }

/* Statement heading: dark claim, grey continuation in the same run */
.ax-statement {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 30ch;
  margin: 0 0 56px;
}

.ax-statement span { color: var(--mute); }

/* ---------- Header ---------- */
#header {
  box-shadow: none;
  border-bottom: 1px solid var(--rule);
  /* Solid, no backdrop-filter: a filter would trap the fixed mobile menu inside the header */
  background: #fff;
}

/* Logo a little smaller than the template's 50px */
#header .logo img { max-height: 42px; }

.navbar a, .navbar a:focus {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.navbar a:hover, .navbar .active, .navbar li:hover > a { color: var(--brand-ink); }
.navbar .active:after, .navbar a:before { display: none; }

.navbar .dropdown ul {
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(22, 24, 29, .10);
  border: 1px solid var(--rule);
}

/* ---------- Sections (existing) ---------- */
section { padding: 96px 0; }
.section-bg { background-color: var(--wash); }

.section-title { text-align: left; padding-bottom: 48px; max-width: 760px; }

/* The pill label repeats the heading below it: keep it for
   screen readers and the outline, hide it visually. */
.section-title h2 {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-title h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-title h3 span, .dv-title span, .ems-band h4 span { color: inherit; }

.section-title p {
  margin: 12px 0 0 0;
  width: auto !important;
  max-width: 60ch;
  font-weight: 400;
  font-size: 18px;
  color: var(--mute);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  padding: 10px 18px;
}

.btn-primary, .ax-btn-dark {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
}

.btn-primary:hover, .btn-primary:focus, .ax-btn-dark:hover {
  background: #2B2F37;
  border-color: #2B2F37;
  color: #fff;
}

.btn-outline-primary, .ax-btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 1px 2px rgba(22, 24, 29, .06);
}

.btn-outline-primary:hover, .ax-btn-light:hover {
  background: var(--wash);
  border-color: #D3D7DE;
  color: var(--ink);
}

/* ---------- Cards: one quiet surface everywhere ---------- */
.feature-card, .audience-card, .stat-card, .tech-category, .tech-item,
.atlas-card, .integration-category, .integration-item,
.docs-callout, .showcase-card, .dv-card,
.icon-box, .member, .info-box, .php-email-form,
.contact .info-box, .services .icon-box {
  border-radius: var(--radius) !important;
  box-shadow: none !important;
  border: 1px solid var(--rule);
  background: #fff;
}

.feature-card:hover, .audience-card:hover, .stat-card:hover,
.atlas-card:hover, .dv-card:hover, .icon-box:hover, .tech-category:hover, .tech-item:hover,
.integration-category:hover, .integration-item:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: #CDD2DA;
}

.integration-category { border-top: 1px solid var(--rule) !important; }

.feature-icon, .audience-icon, .stat-icon, .atlas-icon,
.category-icon, .dv-icon, .integration-logo {
  border-radius: 8px !important;
  box-shadow: none !important;
  background: var(--wash) !important;
  color: var(--ink) !important;
}

.atlas-icon i, .category-icon i, .dv-icon i { color: var(--ink) !important; }

.stat-badge, .dv-chip, .dv-eyebrow, .ems-kicker, .scope-kicker {
  border-radius: 6px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Module grid sits on the page, not in a tinted tray */
.atlas-platform { background: none !important; padding: 0 !important; box-shadow: none !important; }
.atlas-title.ax-statement { text-align: left; margin-bottom: 40px; }

/* ---------- Dark bands ---------- */
.dv-band, .ems-band { border-radius: 16px !important; background: var(--night) !important; }

.dv-band .btn-primary {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--ink) !important;
}

.dv-card .btn-primary, .dv-card.mcp .btn-primary {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #fff !important;
}

.dv-card.mcp .dv-icon, .dv-card.mcp .dv-kicker { color: var(--ink) !important; }

/* ---------- Footer ---------- */
#footer .footer-top { border-top: 1px solid var(--rule); background: #fff; }
#footer .footer-top h3, #footer .footer-top h4 { color: var(--ink); }
#footer .footer-bottom { border-top: 1px solid var(--rule); }
.back-to-top { background: var(--ink); border-radius: var(--radius); }

/* ---------- Motion: content visible on arrival ---------- */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/*--------------------------------------------------------------
# Home page
--------------------------------------------------------------*/

/* Hero */
#hero.ax-hero {
  height: auto;
  padding: 0;
  background: #fff;
  text-align: center;
  overflow: visible;
}

#hero.ax-hero:before { display: none; }

#hero.ax-hero h1 {
  font-family: var(--font);
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 auto;
  text-wrap: balance;
}

.ax-lede { margin-bottom: 0 !important;
  color: var(--mute);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  max-width: 54ch;
  margin: 20px auto 32px;
  text-wrap: pretty;
}

.ax-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* Stage behind the product window: brand-tinted wash with vertical hairlines */
.ax-stage {
  position: relative;
  margin-top: 170px;
  padding: 56px 0 0;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(246, 249, 253, 0) 0%, rgba(240, 245, 251, .85) 30%, #E4EEF9 100%);
  text-align: left;
  overflow: hidden;
}

/* three.js price landscape behind the hero title */
#hero.ax-hero { position: relative; }
.ax-hero-pin { position: relative; padding-top: 168px; }
/* the intro: the hero stays put for most of a screen of scrolling while the world becomes the platform */
/* sticky can only travel inside the content box, so the scroll room is an in-flow spacer, not padding */
.has-intro #hero.ax-hero::after { content: ""; display: block; height: 150vh; }   /* 120vh of intro, then a short hold */
.has-intro .ax-hero-pin { position: sticky; top: 0; }
.ax-hero-text { position: relative; z-index: 1; }

.ax-surface {
  position: absolute;
  left: 0; right: 0; top: -40px;
  width: 100%;
  height: 960px;
  pointer-events: none;
  /* fades out at the bottom once the fabric has formed; during the intro (--e < 1) the sphere is not cut */
  --e: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(61% + 39% * (1 - var(--e))), transparent calc(82% + 18% * (1 - var(--e))));
          mask-image: linear-gradient(180deg, #000 0, #000 calc(61% + 39% * (1 - var(--e))), transparent calc(82% + 18% * (1 - var(--e))));
}

.ax-stage > .container { position: relative; }

.ax-app {
  background: #fff;
  border: 1px solid #DCE1E8;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 24px 60px rgba(31, 95, 168, .14);
  overflow: hidden;
  font-size: 13px;
}

.ax-app-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--rule);
}

.ax-app-brand { font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.ax-app-ws { color: var(--mute); padding-left: 14px; border-left: 1px solid var(--rule); }

.ax-app-search {
  margin-left: auto;
  color: var(--mute);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 4px 12px;
  min-width: 220px;
}

.ax-app-body { display: grid; grid-template-columns: 170px 1fr 280px; min-height: 340px; }

.ax-app-nav { border-right: 1px solid var(--rule); padding: 12px 8px; }

.ax-app-nav span, .ax-app-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--text);
}

.ax-app-nav span.is-on, .ax-app-nav button.is-on { background: var(--wash); color: var(--ink); font-weight: 600; }
.ax-app-nav span { color: #A3A9B3; }
.ax-app-nav button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; color: var(--text); }
.ax-app-nav button:hover { color: var(--ink); }

/* Dwell progress under the active item */
.ax-app-nav button b { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; background: var(--brand); transform-origin: left; transform: scaleX(0); border-radius: 2px; }
@keyframes ax-dwell { to { transform: scaleX(1); } }
.ax-app-nav i { color: var(--mute); font-size: 14px; }

.ax-app-main { padding: 16px 20px; position: relative; height: 372px; overflow: hidden; }

/* Views: one at a time, soft crossfade */
.ax-view { padding: 0; overflow: visible; position: absolute; inset: 16px 20px; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.ax-view.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ax-app-head strong em { font-style: normal; font-weight: 400; color: var(--mute); margin-left: 8px; font-family: var(--mono); font-size: 12px; }

.ax-table td.flash { animation: ax-flash .9s ease; }
@keyframes ax-flash { from { background: rgba(61, 135, 211, .16); } to { background: transparent; } }

/* Math Editor */
.ax-run { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #fff; background: var(--ink); border-radius: 6px; padding: 3px 10px; transition: background .3s, box-shadow .3s; }
.ax-run.is-hot { background: var(--brand); box-shadow: 0 0 0 4px rgba(61, 135, 211, .18); }

.ax-editor {
  margin: 0;
  height: 128px;
  background: var(--night);
  color: #D7DEE8;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow: hidden;
}

.ax-editor code { color: inherit; font-size: inherit; }
.ax-editor .t-c { color: #6F7B8A; }
.ax-editor .t-f { color: #E7C77A; }
.ax-editor .t-s { color: #9FE6A0; }
.ax-editor .t-v { color: #8EC5FF; }
.ax-caret { display: inline-block; width: 7px; height: 14px; background: var(--brand); vertical-align: -2px; animation: ax-blink 1s steps(1) infinite; }
@keyframes ax-blink { 50% { opacity: 0; } }

.ax-console { margin-top: 12px; border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px; }
.ax-console-line { font-family: var(--mono); font-size: 11.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-progress { height: 2px; background: var(--wash); margin: 8px 0; border-radius: 2px; overflow: hidden; }
.ax-progress i { display: block; height: 100%; width: 0; background: var(--brand); }
.ax-result { display: block; width: 100%; height: 70px; }
.ax-result-line { fill: none; stroke: var(--brand-ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ax-result-area { fill: rgba(61, 135, 211, .12); }
.ax-console-kpi { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; font-size: 12px; color: var(--mute); }
.ax-console-kpi b { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* XBID */
.ax-contract { font-size: 12px; color: var(--ink); font-weight: 500; }
.ax-contract em { font-style: normal; color: var(--mute); font-weight: 400; margin-left: 8px; font-variant-numeric: tabular-nums; }
.ax-xbid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.ax-book-head { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 11px; color: var(--mute); padding: 0 6px 6px; border-bottom: 1px solid var(--rule); }
.ax-tape .ax-book-head { grid-template-columns: 1.3fr .7fr 1fr; }
.ax-book-head span:nth-child(n+2), .ax-tape li span:nth-child(n+2) { text-align: right; }
.ax-lvl { display: grid; grid-template-columns: repeat(4, 1fr); font-family: var(--mono); font-size: 12px; border-bottom: 1px solid #F1F3F6; }
.ax-lvl > span { position: relative; padding: 6px; text-align: right; }
.ax-lvl .q i { position: absolute; top: 3px; bottom: 3px; border-radius: 2px; transition: width .5s ease; }
.ax-lvl .q.b i { right: 0; background: rgba(22, 163, 74, .12); }
.ax-lvl .q.a i { left: 0; background: rgba(194, 65, 12, .10); }
.ax-lvl .q em { position: relative; font-style: normal; }
.ax-lvl .p.b { color: #15803D; }
.ax-lvl .p.a { color: var(--warn); }
.ax-lvl.flash { animation: ax-flash .8s ease; }
.ax-spread { font-size: 11.5px; color: var(--mute); padding: 8px 6px 0; }
.ax-spread b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.ax-tape ul { list-style: none; margin: 0; padding: 0; }
.ax-tape li { display: grid; grid-template-columns: 1.3fr .7fr 1fr; font-family: var(--mono); font-size: 12px; padding: 6px; border-bottom: 1px solid #F1F3F6; animation: ax-in .45s ease; }
.ax-tape li.is-buy span:last-child { color: #15803D; }
.ax-tape li.is-sell span:last-child { color: var(--warn); }
@keyframes ax-in { from { opacity: 0; transform: translateY(-6px); background: rgba(61, 135, 211, .10); } }

/* Alerts */
.ax-alerts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.ax-alerts li { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: start; border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px; background: #fff; transition: opacity .4s; }
.ax-alerts li.is-new { animation: ax-in .5s ease; }
.ax-alerts li > i { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; background: var(--brand); }
.ax-alerts li.sev-warn > i { background: #E07A1F; }
.ax-alerts li.sev-crit > i { background: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.ax-alerts b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.ax-alerts span { display: block; font-size: 12px; color: var(--mute); }
.ax-alerts em { font-style: normal; font-size: 11.5px; color: var(--mute); white-space: nowrap; }
.ax-alerts li.is-ack { opacity: .62; }
.ax-alerts li.is-ack em { color: #15803D; }

.ax-app-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.ax-app-head strong { color: var(--ink); font-size: 14px; }

.ax-live { color: var(--mute); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }

.ax-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, .5);
  animation: ax-pulse 2s ease-out infinite;
}

@keyframes ax-pulse { to { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } }

.ax-table { width: 100%; border-collapse: collapse; }

.ax-table th {
  font-weight: 500;
  color: var(--mute);
  font-size: 12px;
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
}

.ax-table td { padding: 10px; border-bottom: 1px solid var(--rule); color: var(--ink); }
.ax-table .n { text-align: right; font-family: var(--mono); font-size: 12.5px; }
.ax-table tr.is-warn td { background: #FFF7ED; }
.ax-table tr.is-warn td:last-child { color: var(--warn); font-weight: 500; }

.ax-app-side {
  border-left: 1px solid var(--rule);
  background: var(--wash);
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.ax-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 12px;
}

.ax-card p { margin: 6px 0 0; color: var(--text); line-height: 1.45; }
.ax-card p.q { color: var(--ink); font-weight: 500; }
.ax-card code { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.ax-card b { display: block; margin-top: 4px; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }

.ax-card-k { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--mute); font-weight: 500; }
.ax-card-alert .ax-card-k { color: var(--warn); }
.ax-card-ai .ax-card-k i { color: var(--brand); }

/* Clients: hairline logo grid */
.ax-clients { padding: 64px 0 0; }

.ax-clients-cap { text-align: center; color: var(--mute); margin: 0 0 28px; font-size: 15px; }

.ax-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.ax-logos li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.ax-logos a { display: flex; align-items: center; justify-content: center; height: 96px; padding: 8px; }

/* Each logo carries --w, sized for equal visual area; no breakpoint changes it */
.ax-logos img {
  width: calc(var(--w, 110) * 1px);
  max-width: 100%;
  height: auto;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .2s, opacity .2s;
}

.ax-logos a:hover img, .ax-logos a:focus-visible img { filter: none; opacity: 1; }

/* Platform tabs */
.ax-platform { padding-top: 120px; }

.ax-tabs {
  display: grid;
  grid-template-columns: 260px 1fr;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}

.ax-tablist {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-right: 1px solid var(--rule);
  background: var(--wash);
}

.ax-tablist button {
  all: unset;
  cursor: pointer;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--mute);
  font-weight: 500;
  font-size: 15px;
}

.ax-tablist button:hover { color: var(--ink); }

.ax-tablist button[aria-selected="true"] {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 2px rgba(22, 24, 29, .06), 0 0 0 1px var(--rule);
}

.ax-tablist button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

.ax-panels { padding: 40px 48px; min-height: 340px; }

.ax-panel-lead {
  font-size: 22px;
  line-height: 1.4;
  color: var(--mute);
  max-width: 40ch;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}

.ax-panel-lead b { color: var(--ink); font-weight: 600; }

.ax-spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); max-width: 640px; }

.ax-spec li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}

.ax-spec span { color: var(--mute); }

.ax-code {
  margin: 0;
  background: var(--night);
  color: #D7DEE8;
  border-radius: 10px;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
}

.ax-link { display: inline-block; margin-top: 24px; font-weight: 500; }

/* Product screenshots inside tab panels */
.ax-shot { margin: 28px 0 0; }

/* Deck panels carry their own frame and rounded corners */
.ax-shot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(31, 95, 168, .10));
}

.ax-shot + .ax-shot { margin-top: 20px; }

.ax-shot figcaption { margin-top: 10px; font-size: 14px; color: var(--mute); }
.ax-code + .ax-shot { margin-top: 20px; }
.ax-code .c { color: #7D8794; }
.ax-prompts li { color: var(--ink); }

/* Layered architecture */
.ax-arch { background: var(--wash); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* Diagram: each plane's leader line ends at the image's right edge,
   and the matching label is pinned there at the same height (--y) */
.ax-dia { position: relative; }

.ax-dia-art { position: relative; margin: 0; width: 52%; padding-left: 26px; }
.ax-dia-art img { display: block; width: 100%; height: auto; }

/* Time axis labels run vertically in a gutter left of the drawn arrow,
   clear of the assets on the top plane */
.ax-dia-axis {
  position: absolute;
  left: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12.5px;
  color: var(--mute);
  white-space: nowrap;
}

.ax-dia-axis-top { top: 18%; }
.ax-dia-axis-bottom { bottom: 3%; }

.ax-pin { display: none; }

.ax-dia-head,
.ax-dia-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1.15fr);
  column-gap: 16px;
}

.ax-dia-head {
  position: absolute;
  left: calc(52% + 20px);
  right: 0;
  top: 6%;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mute);
}

.ax-dia-head span:first-child { grid-column: 2; }

.ax-dia-list { list-style: none; margin: 0; padding: 0; }

.ax-dia-list li {
  position: absolute;
  white-space: nowrap;
  left: calc(52% + 20px);
  right: 0;
  top: var(--y);
  transform: translateY(-50%);
  align-items: baseline;
}

.ax-dia-list li > div { display: contents; }

.ax-dia-n { font-family: var(--mono); font-size: 13px; color: var(--brand-ink); }

.ax-dia-list h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }

.ax-dia-list h3 span,
.ax-dia-list p { display: block; font-size: 13px; font-weight: 400; color: var(--mute); line-height: 1.4; }

.ax-dia-list h3 span { margin-top: 2px; }
.ax-dia-list p { margin: 0; }
.ax-dia-list p b { display: block; font-size: 15px; font-weight: 600; color: var(--brand-ink); line-height: 1.3; margin-bottom: 2px; }

.ax-dia-key { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 40px; font-size: 14px; color: var(--mute); }

.ax-key { display: inline-flex; align-items: center; gap: 10px; }
.ax-key::before { content: ""; width: 28px; border-top: 2px dashed; }
.ax-key-up::before { border-color: #E07A1F; }
.ax-key-down::before { border-color: var(--brand); }

.ax-stack-foot { margin: 20px 0 0; font-size: 14.5px; color: var(--mute); }

.ax-figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 88px 0 0;
  border-top: 1px solid var(--rule);
}

.ax-figures div { display: flex; flex-direction: column; padding: 24px 24px 0 0; }
.ax-figures dd { order: -1; }
.ax-figures div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.ax-figures dt { font-weight: 400; color: var(--mute); font-size: 14px; }

.ax-figures dd {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

#solution.section-bg { background: #fff; }

.ax-figures-note { margin: 24px 0 0; color: var(--mute); font-size: 15px; }

/* Integrations: sticky category index + hairline cards */
/* section { overflow: hidden } from the template would stop the index sticking */
#integrations.ax-int { overflow: visible; }

.ax-int-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }

.ax-int-nav { position: sticky; top: 96px; }
.ax-int-nav ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ax-int-nav li { border-bottom: 1px solid var(--rule); }

.ax-int-nav a {
  display: flex;
  gap: 12px;
  padding: 11px 0 11px 12px;
  border-left: 2px solid transparent;
  color: var(--mute);
  font-size: 14px;
  font-weight: 500;
}

.ax-int-nav a span { font-family: var(--mono); font-size: 12px; padding-top: 1px; }
.ax-int-nav a:hover { color: var(--ink); }
.ax-int-nav a[aria-current="true"] { color: var(--brand-ink); border-left-color: var(--brand); }

.ax-int-group { scroll-margin-top: 96px; }
.ax-int-group + .ax-int-group { margin-top: 64px; }
.ax-int-group h3 { margin: 0 0 20px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }

.ax-int-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.ax-int-card { border: 1px solid var(--rule); border-radius: 6px; padding: 20px; background: #fff; }

.ax-int-logo { display: flex; align-items: center; height: 28px; margin-bottom: 18px; }
.ax-int-logo img { height: 28px; max-width: 110px; width: auto; object-fit: contain; object-position: left center; }
.ax-int-logo i { font-size: 22px; color: var(--brand-ink); }

.ax-int-card h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ax-int-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--mute); }

.ax-soon { font-size: 11.5px; font-weight: 500; color: var(--mute); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 6px; letter-spacing: 0; }

.ax-int-cta {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--wash);
}

.ax-int-cta p { margin: 0; color: var(--mute); max-width: 52ch; }
.ax-int-cta b { color: var(--ink); }

/*--------------------------------------------------------------
# Developer pages (atlas-api.html, mcp.html)
--------------------------------------------------------------*/
.breadcrumbs { background: #fff; border-bottom: 1px solid var(--rule); padding: 16px 0; }
.breadcrumbs h2 { font-size: 15px; font-weight: 500; color: var(--mute); }
.breadcrumbs ol { font-size: 14px; color: var(--mute); }

.api-page-hero, .mcp-page-hero { background: #fff; padding: 88px 0 96px; }

.api-hero h1, .mcp-hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.api-hero h1 span, .mcp-hero h1 span { color: inherit; }
.api-hero p.lead, .mcp-hero p.lead { color: var(--mute); font-size: 18px; line-height: 1.55; max-width: 54ch; }

.api-chip, .mcp-chip {
  border: 1px solid var(--rule) !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--text) !important;
  font-weight: 500;
}

.api-chip i, .mcp-chip i { color: var(--mute) !important; }

/* Terminal and chat windows: the same night surface as the code blocks */
.terminal-window, .chat-window {
  background: var(--night) !important;
  border: 1px solid #222832 !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 60px rgba(31, 95, 168, .14) !important;
}

.terminal-bar, .chat-bar { background: #151A20 !important; border-bottom: 1px solid #222832 !important; }
.terminal-body, .chat-body { font-family: var(--mono) !important; }

/* Figures row */
.api-stats .stat-mini, .mcp-stat-mini {
  border-radius: 10px !important;
  box-shadow: none !important;
  border: 1px solid var(--rule) !important;
}

.stat-mini .nm, .mcp-stat-mini .nm { color: var(--ink) !important; font-weight: 600 !important; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-mini .lb, .mcp-stat-mini .lb { color: var(--mute) !important; font-weight: 400 !important; }

/* Section heads: left-aligned statements, like the home page */
.api-section-title, .mcp-section-title { text-align: left !important; max-width: 760px; margin-bottom: 40px !important; }

.api-section-title h2, .mcp-section-title h2 {
  font-size: clamp(26px, 3vw, 38px) !important;
  line-height: 1.18;
  font-weight: 600 !important;
  letter-spacing: -0.025em;
  color: var(--ink) !important;
}

.api-section-title p, .mcp-section-title p { color: var(--mute) !important; font-size: 18px; margin-left: 0 !important; max-width: 60ch; }

/* Cards */
.mcp-card, .docs-callout-api, .endpoint-table .card, .tool-table .card, .client-tile {
  border: 1px solid var(--rule) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  background: #fff;
}

.mcp-card:hover, .feature-card:hover { transform: none !important; box-shadow: none !important; border-color: #CDD2DA !important; }

.feature-card .f-icon, .mcp-card .f-icon {
  border-radius: 8px !important;
  background: var(--wash) !important;
  color: var(--brand-ink) !important;
}

.feature-card h5, .mcp-card h5 { color: var(--ink) !important; font-weight: 600 !important; }
.feature-card p, .mcp-card p { color: var(--mute) !important; }

.bi-check-circle-fill { color: var(--brand-ink); }

/* Code language tabs */
.code-tabs .nav-link { color: var(--mute) !important; border-radius: 8px !important; font-weight: 500; }
.code-tabs .nav-link.active { background: var(--ink) !important; color: #fff !important; }

/* Tables */
.endpoint-table thead th, .tool-table thead th {
  background: var(--wash) !important;
  color: var(--mute) !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.endpoint-table .grp td, .tool-table .grp td {
  background: #fff !important;
  color: var(--ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.endpoint-table .res, .tool-table .tname { font-family: var(--mono) !important; color: var(--ink) !important; }

/* MCP architecture strip */
.mcp-arch { background: var(--night) !important; border-radius: 16px !important; }
.mcp-arch .node { background: #151A20 !important; border: 1px solid #262C35 !important; border-radius: 10px !important; box-shadow: none !important; }
.mcp-arch .node p, .mcp-arch .node small { color: #8A94A3 !important; }
.mcp-arch .arrow { color: var(--brand) !important; }

/* FAQ */
.accordion-item { border-color: var(--rule) !important; }
.accordion-button { font-weight: 500; color: var(--ink); }
.accordion-button:not(.collapsed) { background: var(--wash) !important; color: var(--ink) !important; box-shadow: none !important; }

/* Inline code: brand ink instead of Bootstrap pink */
code { color: var(--brand-ink); font-family: var(--mono); font-size: .9em; }
.ax-code code, .terminal-body code, .chat-body code { color: inherit; }

/* Closing call to action */
.ax-cta-dark { background: var(--night); border-radius: 16px; }
.ax-cta-dark h3 { color: #fff; font-weight: 600; letter-spacing: -0.02em; }
.ax-cta-dark p { color: #A9B3C1; max-width: 60ch; }
.ax-cta-dark .btn-primary { background: #fff; border-color: #fff; color: var(--ink); }
.ax-cta-dark .btn-light, .ax-cta-dark .btn-outline-light { background: transparent; border: 1px solid #3A424E; color: #fff; }


/* Data Room */
.ax-series { list-style: none; margin: 4px 0 0; padding: 0; }
.ax-series li { display: grid; grid-template-columns: 10px 1fr 120px 64px; gap: 12px; align-items: center; padding: 9px 4px; border-bottom: 1px solid #F1F3F6; }
.ax-series li.flash { animation: ax-flash .9s ease; }
.ax-series li > i { width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.ax-series .k-asset { background: #16A34A; }
.ax-series .k-forecast { background: #E07A1F; }
.ax-series .k-system { background: #8A94A3; }
.ax-series b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.ax-series span { display: block; font-size: 11.5px; color: var(--mute); }
.ax-series svg { width: 120px; height: 22px; }
.ax-series path { fill: none; stroke: var(--brand-ink); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.ax-series em { font-style: normal; font-size: 11.5px; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; }

/* Risk */
.ax-risk { display: grid; grid-template-columns: 1fr 150px; gap: 14px; }
.ax-fan { width: 100%; height: 190px; border: 1px solid var(--rule); border-radius: 8px; background: #fff; }
.ax-fan-now { stroke: var(--rule); stroke-dasharray: 3 3; }
.ax-fan-hist { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ax-fan-path { fill: none; stroke: var(--brand); stroke-width: 1; opacity: .16; vector-effect: non-scaling-stroke; }
.ax-risk-side { display: flex; flex-direction: column; gap: 12px; }
.ax-hist { height: 92px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--rule); }
.ax-hist i { flex: 1; background: rgba(61, 135, 211, .45); border-radius: 2px 2px 0 0; transition: height .2s; }
.ax-hist i.tail { background: rgba(194, 65, 12, .55); }
.ax-risk-kpi { margin: 0; display: grid; gap: 6px; }
.ax-risk-kpi div { display: flex; justify-content: space-between; font-size: 12px; }
.ax-risk-kpi dt { color: var(--mute); font-weight: 400; }
.ax-risk-kpi dd { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.ax-limits { margin-top: 14px; display: grid; gap: 7px; }
.ax-limits div { display: grid; grid-template-columns: 96px 1fr 36px; align-items: center; gap: 10px; font-size: 12px; color: var(--mute); }
.ax-limits i { height: 6px; background: var(--wash); border-radius: 3px; overflow: hidden; }
.ax-limits b { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 3px; transition: width 1.2s ease; }
.ax-limits div:first-child b { background: #E07A1F; }
.ax-limits em { font-style: normal; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }


/* ---------- Hero 3D ---------- */
.ax-stage > .container { perspective: 1800px; perspective-origin: 50% 0%; }

.ax-app {
  overflow: visible;
  transform-style: preserve-3d;
  transform-origin: 50% 0%;
  transform: rotateX(calc(var(--hero-p, 0) * 16deg)) scale(calc(1 - var(--hero-p, 0) * 0.06));
  will-change: transform;
}

.ax-app-bar { border-radius: 14px 14px 0 0; background: #fff; }
.ax-app-body { transform-style: preserve-3d; }

.ax-app-side {
  transform-style: preserve-3d;
  background: transparent;
  border-left: 0;
  padding: 14px 0 14px 14px;
  margin-right: -36px;                   /* cards overhang the window edge */
  position: relative;
  z-index: 2;
}

.ax-app-side .ax-card {
  transform: translateZ(0) translateX(0) rotateY(0) rotateX(0);
  opacity: 0;
  box-shadow: 0 1px 2px rgba(22, 24, 29, .04);
  transition: transform .9s cubic-bezier(.2, .7, .1, 1), opacity .6s ease, box-shadow .9s ease;
}

.ax-app.is-in .ax-app-side .ax-card {
  opacity: 1;
  transform:
    translateZ(calc(70px - var(--i, 0) * 22px))
    translateX(calc(var(--px, 0) * 10px))
    translateY(calc(var(--py, 0) * 6px))
    rotateY(calc(-9deg + var(--px, 0) * 8deg))
    rotateX(calc(var(--py, 0) * -6deg));
  box-shadow: 0 28px 60px rgba(31, 95, 168, .20), 0 6px 14px rgba(22, 24, 29, .06);
}

.ax-app-side .ax-card:nth-child(1) { --i: 0; transition-delay: .05s; }
.ax-app-side .ax-card:nth-child(2) { --i: 1; transition-delay: .2s; }

/* ---------- Platform section: scroll-driven on wide screens ---------- */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  #about.ax-platform { overflow: visible; }
  .ax-scrolly { height: calc(8 * 55vh + 100vh); position: relative; }
  .ax-scrolly > .ax-scrolly-pin { position: sticky; top: 84px; }
  .ax-scrolly .ax-tabs { height: min(700px, calc(100vh - 124px - var(--pin-head))); min-height: 360px; }
  .ax-scrolly .ax-panels { padding: 28px; height: 100%; overflow: hidden; min-height: 0; }

  /* Each step: a compact text band, then a visual stage that fills the rest */
  .ax-scrolly [role="tabpanel"]:not([hidden]) {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    column-gap: 36px;
  }
  .ax-scrolly .ax-panel-lead { grid-column: 1; grid-row: 1; font-size: 19px; margin: 0 0 12px; }
  .ax-scrolly .ax-link { grid-column: 1; grid-row: 2; margin: 0 0 16px; align-self: start; }
  .ax-scrolly .ax-spec { grid-column: 2; grid-row: 1 / span 2; margin: 0 0 18px; align-self: start; }
  .ax-scrolly [role="tabpanel"]:not(:has(.ax-spec)) .ax-panel-lead { grid-column: 1 / -1; max-width: 52ch; margin-bottom: 20px; }
  .ax-scrolly .ax-spec li { grid-template-columns: 104px 1fr; gap: 12px; padding: 6px 0; font-size: 14px; line-height: 1.45; }

  .ax-scrolly .ax-visual {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #E3EAF3;
    background:
      repeating-linear-gradient(90deg, rgba(61, 135, 211, .07) 0 1px, transparent 1px 14px),
      linear-gradient(180deg, #F6F9FD, #E9F0F9);
    overflow: hidden;
  }
  .ax-scrolly .ax-visual .ax-shot {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ax-scrolly .ax-visual .ax-shot img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 36px rgba(31, 95, 168, .16));
  }
  .ax-scrolly .ax-visual figcaption { display: none; }

  /* Code steps: code card set back left, a result card floating in front right */
  .ax-scrolly .ax-visual-layered { display: grid; place-items: center; perspective: 1400px; }
  .ax-scrolly .ax-visual-layered > * { grid-area: 1 / 1; }
  .ax-scrolly .ax-visual-layered .ax-code {
    max-width: 560px;
    transform: translate(-14%, -18%) rotateY(10deg) rotateX(4deg) scale(1.12);
    opacity: .96;
  }
  .ax-scrolly .ax-visual-layered .ax-vcard {
    transform: translate(26%, 34%) translateZ(60px) rotateY(-8deg) scale(1.12);
  }
  .ax-scrolly .ax-visual .ax-code {
    width: 100%;
    max-width: 680px;
    margin: 0;
    font-size: 14.5px;
    box-shadow: 0 24px 50px rgba(15, 18, 22, .22);
  }

  .ax-tablist button { position: relative; }
  .ax-tablist button::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transform-origin: left;
    transform: scaleX(var(--step, 0));
    opacity: .9;
  }

  /* Panel contents build up in sequence when a step becomes active */
  .ax-panels [role="tabpanel"]:not([hidden]) > * { animation: ax-build .6s cubic-bezier(.2, .7, .1, 1) both; }
  .ax-panels [role="tabpanel"]:not([hidden]) > *:nth-child(2) { animation-delay: .12s; }
  .ax-panels [role="tabpanel"]:not([hidden]) > *:nth-child(3) { animation-delay: .24s; }
  .ax-panels [role="tabpanel"]:not([hidden]) > *:nth-child(4) { animation-delay: .36s; }
  .ax-panels [role="tabpanel"]:not([hidden]) .ax-spec li { animation: ax-build .5s ease both; }
  .ax-panels [role="tabpanel"]:not([hidden]) .ax-spec li:nth-child(2) { animation-delay: .2s; }
  .ax-panels [role="tabpanel"]:not([hidden]) .ax-spec li:nth-child(3) { animation-delay: .28s; }
  .ax-panels [role="tabpanel"]:not([hidden]) .ax-spec li:nth-child(4) { animation-delay: .36s; }
  .ax-panels [role="tabpanel"]:not([hidden]) .ax-shot img { animation: ax-rise .9s cubic-bezier(.2, .7, .1, 1) .25s both; }
}

@keyframes ax-build { from { opacity: 0; transform: translateY(14px); } }
@keyframes ax-rise { from { opacity: 0; transform: perspective(1200px) rotateX(12deg) translateY(30px) scale(.97); } }

@media (max-width: 991px) {
  .ax-app { transform: none; }
}

/* Floating result card (code steps) */
.ax-vcard {
  width: 340px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 30px 60px rgba(31, 95, 168, .22), 0 6px 14px rgba(22, 24, 29, .06);
}
.ax-vcard svg { display: block; width: 100%; height: 64px; margin: 10px 0 8px; }
.ax-vcard path.l { fill: none; stroke: var(--brand-ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ax-vcard path.a { fill: rgba(61, 135, 211, .12); }
.ax-vcard dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ax-vcard dt { font-size: 11.5px; color: var(--mute); font-weight: 400; }
.ax-vcard dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ax-vcard-alerts { width: 380px; padding: 10px; }
.ax-vcard-alerts .ax-alerts { margin: 0; }
.ax-visual .ax-vcard { display: none; }
.ax-scrolly .ax-visual .ax-vcard { display: block; }




/* ---------- One platform diagram in three.js (768px and up) ---------- */
.ax-dia-canvas { display: none; }
.has-dia3d #architecture.ax-arch { overflow: visible; }
.has-dia3d .ax-dia-scroll { position: relative; height: calc(7 * 46vh + 100vh); }
.has-dia3d .ax-dia-pin { position: sticky; top: 84px; }
/* the section title rides along with the pinned stage, a size smaller so the stage keeps its room */
:root { --pin-head: 0px; }
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  :root { --pin-head: 150px; }
  .ax-dia-pin > .ax-statement, .ax-scrolly-pin > .ax-statement { font-size: clamp(26px, 2.1vw, 32px); margin-bottom: 24px; }
}
.has-dia3d.dia3d-still .ax-dia-scroll { height: auto; }
.has-dia3d.dia3d-still .ax-dia-pin { position: static; }

/* larger stage than the picture: the stack and its live content need room */
.has-dia3d .ax-dia-art { width: 58%; height: min(660px, calc(100vh - 190px - var(--pin-head))); min-height: 340px; max-width: none; }
.has-dia3d .ax-dia-art img { display: none; }
.has-dia3d .ax-dia-canvas { display: block; position: absolute; top: 0; bottom: 0; left: 26px; right: 0; width: calc(100% - 26px); height: 100%; }
.has-dia3d .ax-dia-head, .has-dia3d .ax-dia-list li { left: calc(58% + 20px); }
.has-dia3d .ax-pin { display: none; }
.has-dia3d .ax-dia-list { margin-top: 0; border-top: 0; }

/* rows arrive with their layer; the current one leads, earlier ones step back */
.has-dia3d .ax-dia-list li {
  position: absolute;
  right: 0;
  top: var(--y);
  padding: 0;
  border: 0;
  opacity: .28;                                   /* every layer is listed from the start, quietly */
  transform: translate(0, -50%);
  transition: opacity .45s ease;
  cursor: default;
}
.has-dia3d .ax-dia-list li.is-in { opacity: .55; }
.has-dia3d .ax-dia-list li.is-in.is-active, .has-dia3d .ax-dia-list li.is-in:hover { opacity: 1; }
.has-dia3d .ax-dia-list li.is-active .ax-dia-n { color: var(--brand); font-weight: 600; }

/* Below 992px: the 3D stack full width and built, each layer numbered, the list underneath */
.ax-dia-num { display: none; }
@media (max-width: 991px) {
  .has-dia3d .ax-dia-art { width: 100%; max-width: none; height: 520px; margin: 0; padding-left: 0; }
  .has-dia3d .ax-dia-canvas { left: 0; width: 100%; }
  .has-dia3d .ax-dia-axis { display: none; }
  .has-dia3d .ax-dia-head { display: none; }
  .has-dia3d .ax-dia-list { margin-top: 24px; border-top: 1px solid var(--rule); }
  .has-dia3d .ax-dia-list li, .has-dia3d .ax-dia-list li.is-in {
    position: static; transform: none; opacity: 1;
    padding: 14px 0; border-bottom: 1px solid var(--rule);
  }
  .has-dia3d .ax-dia-num {
    display: block; position: absolute; left: 0; top: 0; margin: -10px 0 0 6px;
    font-family: var(--mono); font-size: 11px; line-height: 1; color: var(--brand-ink);
    background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 4px 6px; pointer-events: none;
  }
}
@media (max-width: 575px) {
  .has-dia3d .ax-dia-art { height: 420px; }
}


.ax-app-search i { color: var(--brand); margin-right: 6px; }

/* ---------- Hero: context card (settlement, payments, KPIs) ---------- */
.ax-card-ctx { transition: opacity .25s ease, filter .25s ease; }
.ax-card-ctx.is-flip { opacity: 0 !important; filter: blur(4px); }
.ax-kpis { margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ax-kpis dt { font-size: 11px; font-weight: 400; color: var(--mute); line-height: 1.3; }
.ax-kpis dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ax-kpis dd em { font-style: normal; font-size: 11px; font-weight: 500; color: #15803D; margin-left: 4px; }
.ax-meter { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; margin-top: 12px; font-size: 11.5px; color: var(--mute); }
.ax-meter i { height: 5px; background: var(--wash); border-radius: 3px; overflow: hidden; }
.ax-meter b { display: block; height: 100%; width: var(--w); background: var(--brand); border-radius: 3px; animation: ax-grow .9s cubic-bezier(.2, .7, .1, 1); }
.ax-meter em { font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes ax-grow { from { width: 0; } }
.ax-lines { list-style: none; margin: 10px 0 0; padding: 0; }
.ax-lines li { display: flex; justify-content: space-between; font-size: 12.5px; padding: 4px 0; color: var(--mute); border-bottom: 1px solid #F1F3F6; }
.ax-lines b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.ax-lines li.t { border-bottom: 0; }
.ax-lines li.t span, .ax-lines li.t b { color: var(--ink); font-weight: 700; }
.ax-ok { margin: 8px 0 0 !important; font-size: 12px; color: #15803D !important; display: flex; gap: 6px; align-items: center; }
.ax-pay { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.ax-pay li { display: grid; grid-template-columns: 8px 1fr auto; column-gap: 8px; align-items: center; font-size: 12.5px; }
.ax-pay li > i { width: 7px; height: 7px; border-radius: 50%; }
.ax-pay i.ok { background: #16A34A; } .ax-pay i.due { background: #E07A1F; } .ax-pay i.late { background: #DC2626; }
.ax-pay span { color: var(--text); }
.ax-pay b { color: var(--ink); font-variant-numeric: tabular-nums; }
.ax-pay em { grid-column: 2 / -1; font-style: normal; font-size: 11px; color: var(--mute); margin-top: -2px; }

/* Live labels on assets in the hero sky */
.ax-sky-tags { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.ax-sky-tag {
  position: absolute;
  left: 0; top: 0;
  display: flex; flex-direction: column; align-items: center;
  transform-origin: 0 0;
}
.ax-sky-tag b, .ax-sky-tag span { position: relative; left: -50%; }
.ax-sky-tag b {
  margin-top: -64px;
  font-size: 11.5px; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border: 1px solid #D3DCE8;
  border-radius: 6px 6px 0 0;
  padding: 3px 8px 0;
  white-space: nowrap;
}
.ax-sky-tag span {
  font-family: var(--mono); font-size: 11px; color: var(--brand-ink);
  background: rgba(255, 255, 255, .92);
  border: 1px solid #D3DCE8; border-top: 0;
  border-radius: 0 0 6px 6px;
  padding: 0 8px 3px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ax-sky-tag span::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 20px; background: #9FB2C8; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .ax-app-body { grid-template-columns: 150px 1fr 240px; }
}

@media (max-width: 991px) {
  .ax-app-body { grid-template-columns: 1fr; }
  .ax-app-main { height: 400px; }
  .ax-app-nav, .ax-app-side { display: none; }
  .ax-logos { grid-template-columns: repeat(4, 1fr); }
  .ax-tabs { grid-template-columns: 1fr; }
  .ax-tablist { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--rule); }
  .ax-tablist button { white-space: nowrap; }
  .ax-panels { padding: 28px 24px; }
  /* Stacked: numbered pins on the image, list below */
  .ax-dia-art { width: 100%; max-width: 560px; margin: 0 auto; }
  .ax-dia-head { display: none; }
  .ax-int-layout { grid-template-columns: 1fr; gap: 0; }
  .ax-int-nav { display: none; }
  .ax-int-grid { grid-template-columns: repeat(2, 1fr); }

  .ax-pin {
    display: grid;
    place-items: center;
    position: absolute;
    right: -4px;
    top: var(--y);
    transform: translateY(-50%);
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
  }

  .ax-dia-list { margin-top: 32px; border-top: 1px solid var(--rule); }

  .ax-dia-list li {
    position: static;
    transform: none;
    white-space: normal;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .ax-figures { grid-template-columns: repeat(2, 1fr); }
  .ax-figures div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 575px) {
  .ax-hero-pin { padding-top: 128px; }
  .ax-stage { margin-top: 48px; padding-top: 28px; }
  .ax-app-search { display: none; }
  .ax-app-main { padding: 12px; height: 430px; }
  .ax-view { inset: 12px; }
  .ax-xbid { grid-template-columns: 1fr; }
  .ax-tape { display: none; }
  .ax-series li { grid-template-columns: 10px 1fr 64px; }
  .ax-series svg { display: none; }
  .ax-risk { grid-template-columns: 1fr; }
  .ax-risk-side { flex-direction: row; }
  .ax-hist { flex: 1; height: 70px; }
  .ax-stage { padding-top: 28px; }
  .ax-surface { height: 380px; }
  .ax-table th:nth-child(2), .ax-table td:nth-child(2) { display: none; }
  .ax-logos { grid-template-columns: repeat(2, 1fr); }
  .ax-spec li { grid-template-columns: 1fr; gap: 2px; }
  .ax-dia-list li { grid-template-columns: 30px 1fr; row-gap: 8px; }
  .ax-int-grid { grid-template-columns: 1fr; }
  .api-page-hero, .mcp-page-hero { padding: 40px 0 56px; }
  .ax-dia-list p { grid-column: 2; }
  .ax-panel-lead { font-size: 19px; }
  section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ax-live i { animation: none; }
}

/* Team: a quiet roster, not cards. Square portraits in softly muted colour,
   full colour on hover; names left-aligned beneath. */
/* Grouped like the integrations: sticky index left, max 4 people per row */
#team.team { overflow: visible; }

.ax-team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
}

/* Rows break 4 -> 2 (never 3 + 1) */
@media (max-width: 991px) { .ax-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }

/* Team headings sized down: section title, then group titles below it */
#team .section-title h3 { font-size: clamp(22px, 2.2vw, 28px); }
#team .section-title, #team .section-title p { max-width: none; }
#team .ax-int-group h3 { font-size: 18px; margin-bottom: 16px; }

/* On desktop the sticky index already names each group: hide the repeated
   titles visually (kept for screen readers). Below 992px the index is hidden,
   so the titles show there. */
@media (min-width: 992px) {
  #team .ax-int-group h3 {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Small screens: group titles a step larger */
@media (max-width: 991px) {
  #team .ax-int-group h3 { font-size: 22px; margin-bottom: 20px; }
}
#team .ax-int-group + .ax-int-group { margin-top: 48px; }

.team .member {
  max-width: none;
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  overflow: visible;
}

.team .member .member-img { border-radius: 12px; overflow: hidden; background: var(--wash); }

.team .member .member-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(.6) contrast(1.02);
  transition: filter .3s ease;
}

.team .member:hover .member-img img,
.team .member:focus-within .member-img img { filter: none; }

/* LinkedIn: small white button, bottom-right, on hover */
.team .member .social { left: auto; right: 10px; bottom: 10px; text-align: right; }
.team .member:hover .social, .team .member:focus-within .social { opacity: 1; bottom: 10px; }

.team .member .social a {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(22, 24, 29, .15);
}

.team .member .social a:hover { background: #fff; color: var(--brand-ink); }
.team .member .social i { font-size: 15px; }

.team .member .member-info { padding: 14px 0 0; text-align: left; }
.team .member .member-info h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 2px; letter-spacing: -0.01em; }
.team .member .member-info span { font-size: 13.5px; color: var(--mute); line-height: 1.4; }


/*--------------------------------------------------------------
# Posts: list (posts.html) and articles (post/*.html)
--------------------------------------------------------------*/
.blog .row.justify-content-center { justify-content: flex-start !important; }

.blog-post-card {
  border: 1px solid var(--rule) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  overflow: hidden;
}

.blog-post-card:hover { transform: none !important; box-shadow: none !important; border-color: #CDD2DA !important; }
/* 16:9 frame matches the announcement covers, so names at the edges stay visible */
.blog-post-img { height: auto; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--rule); }

.blog-post-category {
  background: none;
  color: var(--brand-ink);
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.blog-post-date { color: var(--mute); font-size: 13px; }
.blog-post-card .card-title { font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.blog-post-card .card-text { color: var(--mute); font-size: 15px; }
.read-more-btn { color: var(--brand-ink); font-weight: 500; }
.read-more-btn:hover { color: var(--ink); }

/* Article header: white, ink headline, quiet meta */
.post-header { background: #fff; color: var(--ink); padding: 72px 0 24px; margin-bottom: 0; }
.post-header .back-to-blog, .post-header .back-to-blog.text-white { color: var(--mute) !important; font-weight: 500; font-size: 14px; display: block; margin-bottom: 28px; }
.post-header .back-to-blog:hover { color: var(--ink) !important; }
.post-header .post-category { background: none; padding: 0; color: var(--brand-ink); font-weight: 500; font-size: 14px; margin-bottom: 10px; display: block; }

.post-header h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 24ch;
  text-wrap: balance;
}

.post-header .post-date { color: var(--mute); opacity: 1; font-size: 14px; }

/* Article body */
.post-content { font-size: 17px; line-height: 1.75; color: var(--text); }
.post-content h3, .post-content .interview-answer h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
.post-content h3 { font-size: 26px; margin-top: 48px; }
.post-content h4, .post-content .module-card h4 { color: var(--ink); font-weight: 600; }

.highlight-box, .stats-box {
  background: var(--wash);
  border: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  border-radius: 10px;
}

.stat-number { color: var(--ink); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--mute); }

.module-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: none;
}

.module-card h4 i { background: var(--wash); color: var(--brand-ink); border-radius: 8px; }
.module-card p { color: var(--mute); }

.interview-columns { column-rule-color: var(--rule); }
.interview-answer { border-top: 1px solid var(--rule); }
.post-content .interview-answer h3 { font-size: 20px; line-height: 1.35; }
.interview-answer p, .interview-answer em { font-style: normal; color: var(--text); }

.quote-box { background: var(--wash); border: 1px solid var(--rule); border-radius: 10px; font-style: normal; color: var(--ink); }
.quote-box::before { color: var(--brand); opacity: .35; }
.quote-author { color: var(--mute); }

/* amounts inside the context card keep list size, not the card headline size */
.ax-card .ax-pay b, .ax-card .ax-lines b { display: inline; margin: 0; font-size: 12.5px; }
.ax-sky-tag { transition: opacity .4s ease; }

/* Sky tags: a quiet line of text above each body, a hairline down to it */
.ax-sky-tag b, .ax-sky-tag span { background: none; border: 0; padding: 0; border-radius: 0; text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
.ax-sky-tag b { margin-top: -50px; font-size: 11.5px; font-weight: 600; letter-spacing: -.005em; }
.ax-sky-tag span { font-size: 10.5px; color: var(--mute); }
.ax-sky-tag span::after { height: 12px; top: calc(100% + 3px); background: linear-gradient(#B9C6D6, transparent); }
.ax-sky-tag b::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin: 0 6px 1px 0; background: var(--kind, #2F7BD0); }



/* ---------- Contact ---------- */
.ax-contact { padding: 120px 0; background: #fff; border-top: 1px solid var(--rule); }
.ax-contact .ax-statement { margin-bottom: 48px; }
.ax-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.ax-contact-ways { display: grid; gap: 12px; }
.ax-contact-way {
  display: grid; grid-template-columns: 24px 1fr 16px; gap: 16px; align-items: center;
  padding: 20px 22px; border: 1px solid var(--rule); border-radius: 12px; background: #fff;
  color: var(--ink); transition: border-color .2s ease, background .2s ease;
}
.ax-contact-way:hover, .ax-contact-way:focus-visible { background: var(--wash); border-color: #D3D7DE; color: var(--ink); }
.ax-contact-way > .bi:first-child { font-size: 20px; color: var(--brand); }
.ax-contact-way > .bi:last-child { font-size: 14px; color: var(--mute); transition: transform .2s ease; }
.ax-contact-way:hover > .bi:last-child { transform: translate(2px, -2px); color: var(--ink); }
.ax-contact-way b { display: block; font-size: 16px; font-weight: 600; }
.ax-contact-way em { display: block; font-style: normal; font-size: 14px; color: var(--mute); margin-top: 2px; }
.ax-contact-mail { margin: 12px 0 0; font-size: 14px; color: var(--mute); }
.ax-contact-mail a { color: var(--brand-ink); }
.ax-contact-office { margin: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: #fff; }
.ax-contact-office iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(1) contrast(.95); }
.ax-contact-office figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--mute); }
.ax-contact-office figcaption b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.ax-contact-office figcaption a { color: var(--brand-ink); white-space: nowrap; }
@media (max-width: 991px) {
  .ax-contact { padding: 80px 0; }
  .ax-contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Footer ---------- */
#footer.ax-footer { background: var(--wash); border-top: 1px solid var(--rule); padding: 72px 0 32px; color: var(--mute); font-size: 14px; }
.ax-foot-top { display: grid; grid-template-columns: minmax(240px, 1.2fr) 2fr; gap: 64px; padding-bottom: 48px; }
.ax-foot-logo img { height: 34px; width: auto; }
.ax-foot-brand p { margin: 18px 0 16px; max-width: 34ch; line-height: 1.55; }
.ax-foot-mail { display: inline-block; color: var(--ink); font-weight: 500; margin-right: 14px; }
.ax-foot-mail:hover { color: var(--brand-ink); }
.ax-foot-social { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--rule); border-radius: 8px; color: var(--ink); background: #fff; vertical-align: middle; }
.ax-foot-social:hover { color: var(--brand-ink); border-color: #D3D7DE; }
.ax-foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
#footer.ax-footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin: 4px 0 16px; padding: 0; }
.ax-foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ax-foot-cols a { color: var(--mute); }
.ax-foot-cols a:hover { color: var(--ink); }
.ax-foot-badges { display: grid; grid-template-columns: repeat(3, 168px); gap: 12px; padding: 24px 0; border-top: 1px solid var(--rule); }
/* three cards of one size: the badges that are cards fill theirs edge to edge */
.ax-badge { display: block; aspect-ratio: 7 / 3; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #fff; }
a.ax-badge:hover { border-color: #D3D7DE; }
.ax-badge img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the Marketplace mark is a logo, not a card: it sits in a white card with a little room */
.ax-badge.is-logo { display: flex; align-items: center; justify-content: center; padding: 10% 9%; }
.ax-badge.is-logo img { object-fit: contain; }
.ax-foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 13px; }
.ax-foot-legal a { color: var(--mute); margin-left: auto; }
.ax-foot-legal a:hover { color: var(--ink); }
@media (max-width: 991px) {
  .ax-foot-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 575px) {
  #footer.ax-footer { padding-top: 56px; }
  .ax-foot-cols { grid-template-columns: 1fr 1fr; }
  .ax-foot-badges { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ax-foot-legal { flex-direction: column; }
  .ax-foot-legal a { margin-left: 0; }
}

/* Live grid readout under the hero lede: ENTSO-E values for a chosen country */
.ax-grid-read:not(.is-live) { visibility: hidden; }   /* nothing shown until real data arrives */
.ax-grid-read [hidden] { display: none !important; }
.ax-grid-read { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; width: fit-content; margin: 26px auto 0; padding: 5px 6px; background: rgba(255, 255, 255, .92); border: 1px solid var(--rule); border-radius: 999px; position: relative; z-index: 2; font-size: 13px; }
.ax-grid-read > div { display: flex; align-items: baseline; gap: 8px; padding: 0 16px; border-left: 1px solid var(--rule); }
.ax-grid-read > div span { color: var(--mute); }
.ax-grid-read > div b { font-family: var(--mono); font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.ax-grid-zone { display: flex; align-items: center; margin: 0; padding: 0 6px 0 10px; }
.ax-grid-zone::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #B9C2CE; }
.ax-grid-read.is-live .ax-grid-zone::before { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); animation: ax-live 2s ease-in-out infinite; }
.ax-grid-zone select { appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236B717C' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right center; padding: 2px 16px 2px 0; font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; }
.ax-grid-zone select:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.ax-grid-src { padding: 0 12px 0 14px; border-left: 1px solid var(--rule); color: var(--mute); font-size: 12px; }
.ax-grid-src::before { content: "Source "; }
.ax-grid-src:hover { color: var(--brand-ink); }
@keyframes ax-live { 50% { box-shadow: 0 0 0 5px rgba(22, 163, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .ax-grid-read.is-live .ax-grid-zone::before { animation: none; } }
@media (max-width: 767px) {
  .ax-grid-read { flex-direction: column; gap: 6px; border: 0; background: none; padding: 0; }
  .ax-grid-read > div, .ax-grid-src { border-left: 0; padding: 0; }
}

/* ---------- Customer stories (case studies) ---------- */
.ax-case-hero { padding: 132px 0 0; background: #fff; }
.ax-case-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-bottom: 56px; }
.ax-case-crumb { margin: 0 0 20px; font-size: 13px; color: var(--mute); }
.ax-case-crumb a { color: var(--mute); }
.ax-case-crumb a:hover { color: var(--ink); }
.ax-case-crumb span { margin: 0 6px; color: #C3C8D0; }
.ax-case-hero h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); margin: 0; max-width: 18ch; }
.ax-case-person { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 14px; color: var(--mute); line-height: 1.35; }
.ax-case-person small { display: block; font-size: 12px; color: var(--mute); margin-bottom: 2px; }
.ax-case-person b { display: block; color: var(--ink); font-weight: 600; }
.ax-case-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--wash); border: 1px solid var(--rule); font-size: 14px; font-weight: 600; color: var(--brand-ink); }
.ax-case-visual { margin: 0; aspect-ratio: 4 / 3; border-radius: 14px; border: 1px solid var(--rule); background: radial-gradient(120% 90% at 30% 20%, #fff 0%, #F2F6FB 60%, #E6EEF8 100%); display: grid; place-items: center; position: relative; overflow: hidden; }
.ax-case-visual img { width: 56%; max-height: 32%; object-fit: contain; }
.ax-case-visual figcaption { position: absolute; left: 20px; bottom: 16px; font-size: 13px; color: var(--mute); }
.ax-case-summary { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 48px; padding: 40px 0 56px; border-top: 1px solid var(--rule); }
.ax-case-summary h2 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.ax-case-summary p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mute); }
.ax-case-results ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ax-case-results li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.ax-case-results li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 6px; border-left: 1.6px solid var(--brand); border-bottom: 1.6px solid var(--brand); transform: rotate(-45deg); }

.ax-case-body { padding: 72px 0 96px; background: #fff; border-top: 1px solid var(--rule); overflow: visible; }
.ax-case-body > .container { display: grid; grid-template-columns: 260px minmax(0, 680px); gap: 80px; justify-content: center; }
.ax-case-aside { position: sticky; top: 104px; align-self: start; font-size: 14px; }
.ax-case-aside-logo { display: block; max-width: 140px; max-height: 40px; margin-bottom: 24px; }
.ax-case-aside dl { margin: 0; }
.ax-case-aside dt { font-weight: 600; color: var(--ink); margin-top: 16px; }
.ax-case-aside dd { margin: 2px 0 0; color: var(--mute); line-height: 1.45; }
.ax-case-aside h3 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }
.ax-case-mods { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ax-case-mods li { color: var(--mute); padding-left: 14px; position: relative; }
.ax-case-mods li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

.ax-case-article { font-size: 17px; line-height: 1.7; color: #3A3F48; }
.ax-case-article p { margin: 0 0 20px; }
.ax-case-article .ax-case-lead { font-size: 19px; color: var(--ink); }
.ax-case-article h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin: 48px 0 14px; }
.ax-case-quote { margin: 40px 0; padding: 0 0 0 24px; border-left: 2px solid var(--brand); }
.ax-case-quote p { font-size: 21px; line-height: 1.5; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; margin: 0 0 12px; }
.ax-case-quote cite { font-style: normal; font-size: 14px; color: var(--mute); }
.ax-case-figure { margin: 40px 0; }
.ax-case-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 12px; padding: 16px; background: #fff; }
.ax-case-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--mute); }
.ax-case-modlist { margin: 8px 0 24px; border-top: 1px solid var(--rule); }
.ax-case-modlist > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.ax-case-modlist dt { font-size: 15px; font-weight: 600; color: var(--ink); }
.ax-case-modlist dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--mute); }
.ax-case-qa h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 28px 0 8px; }
.ax-case-qa p { margin: 0; }

.ax-case-cta { padding: 96px 0; background: var(--wash); border-top: 1px solid var(--rule); }
.ax-case-cta .ax-statement { margin-bottom: 28px; }
.ax-case-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ax-case-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 500; border: 1px solid var(--rule); background: #fff; color: var(--ink); }
.ax-case-btn:hover { border-color: #D3D7DE; color: var(--ink); }
.ax-case-btn.is-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.ax-case-btn.is-dark:hover { background: #2B2F37; color: #fff; }

@media (max-width: 991px) {
  .ax-case-hero { padding-top: 112px; }
  .ax-case-top { grid-template-columns: 1fr; gap: 32px; }
  .ax-case-summary { grid-template-columns: 1fr; gap: 28px; }
  .ax-case-body > .container { grid-template-columns: 1fr; gap: 40px; }
  .ax-case-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
  .ax-case-aside-logo, .ax-case-aside h3, .ax-case-mods { grid-column: 1 / -1; }
  .ax-case-aside dl { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
}
@media (max-width: 575px) {
  .ax-case-article { font-size: 16px; }
  .ax-case-quote p { font-size: 18px; }
  .ax-case-modlist > div { grid-template-columns: 1fr; gap: 4px; }
  .ax-case-aside dl { grid-template-columns: 1fr; }
}

/* ---------- Platform: role pages (Context) ---------- */
.ax-role section, .ax-eco section { overflow: visible; }
.ax-role-hero { padding: 132px 0 72px; background: #fff; }
.ax-role-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.ax-role-hero h1, .ax-eco-hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); margin: 0; max-width: 16ch; }
.ax-role-lede { font-size: 18px; line-height: 1.6; color: var(--mute); margin: 20px 0 28px; max-width: 52ch; }

/* product glimpse in the hero */
.ax-role-panel { border: 1px solid var(--rule); border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(31, 95, 168, .10); padding: 20px 22px; font-size: 14px; }
.ax-rp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ax-rp-head b { font-weight: 600; color: var(--ink); }
.ax-rp-head span { font-size: 12px; color: var(--mute); }
.ax-rp-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #16a34a; vertical-align: 1px; }
.ax-rp-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--mute); }
.ax-rp-foot b { font-family: var(--mono); font-weight: 500; color: var(--ink); margin-right: 14px; }
.ax-rp-foot b.is-up { color: #15803d; }
.ax-rp-fleet { list-style: none; margin: 0; padding: 0; }
.ax-rp-fleet li { display: grid; grid-template-columns: 10px 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); }
.ax-rp-fleet li:first-child { border-top: 0; }
.ax-rp-fleet i { width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.ax-rp-fleet span { color: var(--ink); font-weight: 500; }
.ax-rp-fleet small { display: block; font-size: 12px; font-weight: 400; color: var(--mute); }
.ax-rp-fleet em { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.ax-rp-fleet s { grid-column: 2 / -1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--k) var(--v), var(--wash) var(--v)); text-decoration: none; }
.ax-rp-book { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.ax-rp-book th { font-family: var(--font, inherit); font-weight: 400; font-size: 12px; color: var(--mute); text-align: center; padding: 0 0 8px; }
.ax-rp-book td { text-align: center; padding: 7px 0; border-top: 1px solid var(--rule); color: var(--ink); }
.ax-rp-book td:first-child { color: #15803d; }
.ax-rp-book td:last-child { color: #C2553D; }
.ax-rp-book tr.is-mid td { color: var(--brand-ink); background: var(--wash); font-weight: 500; }
.ax-rp-chart { width: 100%; height: 150px; display: block; }
.ax-rp-chart .band { fill: rgba(61, 135, 211, .12); }
.ax-rp-chart .fc { fill: none; stroke: var(--brand-ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ax-rp-chart .act { fill: none; stroke: #D9822B; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.ax-rp-chart line { stroke: #C3C8D0; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.ax-rp-formula { margin: 14px 0 0; padding: 12px 14px; background: var(--night, #0F1216); color: #C9D3E0; border-radius: 10px; font-family: var(--mono); font-size: 12.5px; white-space: pre-wrap; }
.ax-rp-formula span { color: #8EC5FF; }
.ax-rp-jobs { list-style: none; margin: 0; padding: 0; }
.ax-rp-jobs li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); }
.ax-rp-jobs li:first-child { border-top: 0; }
.ax-rp-jobs i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #C3C8D0; }
.ax-rp-jobs li.is-done i { background: var(--brand); border-color: var(--brand); }
.ax-rp-jobs li.is-run i { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(61, 135, 211, .18); }
.ax-rp-jobs span { color: var(--ink); font-weight: 500; }
.ax-rp-jobs small { display: block; font-size: 12px; font-weight: 400; color: var(--mute); }
.ax-rp-jobs em { font-style: normal; font-family: var(--mono); font-size: 12.5px; color: var(--mute); }

.ax-role-kinds, .ax-role-flow { padding: 96px 0; border-top: 1px solid var(--rule); background: #fff; }
.ax-role-flow { background: var(--wash); }
.ax-role-kind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ax-role-kind { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.ax-role-kind h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.ax-role-kind[style] h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.ax-role-kind p { flex: 1; font-size: 14.5px; line-height: 1.6; color: var(--mute); margin: 0 0 18px; }
.ax-role-kind span { font-size: 12.5px; color: var(--brand-ink); }
.ax-role-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #D3DCE8; }
.ax-role-steps li { position: relative; padding: 28px 24px 0 0; }
.ax-role-steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1.5px solid var(--brand); }
.ax-role-step-n { display: block; font-family: var(--mono); font-size: 12px; color: var(--brand-ink); margin-bottom: 10px; }
.ax-role-steps h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.ax-role-steps p { font-size: 14.5px; line-height: 1.6; color: var(--mute); margin: 0 0 12px; }
.ax-role-steps em { font-style: normal; font-size: 12.5px; color: var(--brand-ink); }

.ax-role-proof { padding: 96px 0; background: #fff; border-top: 1px solid var(--rule); }
.ax-role-proof > .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.ax-role-proof .ax-case-quote { margin: 0; }
.ax-role-proof .ax-case-quote cite a { color: var(--mute); }
.ax-role-proof .ax-case-quote cite a:hover { color: var(--ink); }
.ax-role-docs h2 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.ax-role-docs ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ax-role-docs a { display: block; padding: 14px 24px 14px 0; border-bottom: 1px solid var(--rule); position: relative; }
.ax-role-docs a::after { content: "\2197"; position: absolute; right: 0; top: 14px; color: var(--mute); }
.ax-role-docs b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.ax-role-docs span { font-size: 13.5px; color: var(--mute); }
.ax-role-docs a:hover b { color: var(--brand-ink); }

.ax-role-more { padding: 72px 0; background: #fff; border-top: 1px solid var(--rule); }
.ax-role-more h2 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 16px; }
.ax-role-more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ax-role-more-grid a { padding: 18px 20px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.ax-role-more-grid a:hover { border-color: #D3D7DE; background: var(--wash); }
.ax-role-more-grid b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.ax-role-more-grid span { font-size: 13.5px; color: var(--mute); }

/* ---------- Platform: Ecosystem (developers) ---------- */
.ax-eco-hero { padding: 132px 0 72px; background: var(--night, #0F1216); color: #fff; position: relative; }
.ax-eco-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.ax-eco-hero .container { position: relative; z-index: 1; }
.ax-eco-hero h1 { color: #fff; }
.ax-eco-hero .ax-role-lede { color: #A9B3C1; }
.ax-eco-hero .ax-case-crumb, .ax-eco-hero .ax-case-crumb a { color: #8A94A3; }
.ax-eco-jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.ax-eco-jump a { padding: 16px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.03); }
.ax-eco-jump a:hover { border-color: rgba(255,255,255,.28); }
.ax-eco-jump b { display: block; color: #fff; font-weight: 600; font-size: 15px; }
.ax-eco-jump span { font-size: 13px; color: #8A94A3; }
.ax-eco-pillar { padding: 96px 0; border-top: 1px solid var(--rule); background: #fff; }
.ax-eco-pillar:nth-of-type(even) { background: var(--wash); }
.ax-eco-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.ax-eco-grid > div, .ax-role-top > div { min-width: 0; }
.ax-eco-label { font-family: var(--mono); font-size: 12.5px; color: var(--brand-ink); margin: 0 0 12px; }
.ax-eco-pillar h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; color: var(--ink); margin: 0; max-width: 18ch; }
.ax-eco-lede { font-size: 16.5px; line-height: 1.6; color: var(--mute); margin: 16px 0 24px; max-width: 46ch; }
.ax-eco-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ax-eco-list li { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.ax-eco-list li span { font-family: var(--mono); font-size: 12.5px; color: var(--brand-ink); padding-top: 3px; }
.ax-eco-list code { font-family: var(--mono); font-size: 13.5px; background: var(--wash); padding: 1px 5px; border-radius: 4px; }
.ax-eco-code { margin: 24px 0 0; padding: 18px 20px; background: var(--night, #0F1216); color: #DCE3EC; border-radius: 12px; font-family: var(--mono); font-size: 13px; line-height: 1.6; overflow-x: auto; }
.ax-eco-code .c { color: #6B7686; }

@media (max-width: 991px) {
  .ax-role-hero, .ax-eco-hero { padding-top: 112px; }
  .ax-role-top, .ax-role-proof > .container, .ax-eco-grid { grid-template-columns: 1fr; gap: 40px; }
  .ax-role-kind-grid, .ax-role-more-grid, .ax-eco-jump { grid-template-columns: 1fr 1fr; }
  .ax-role-steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 575px) {
  .ax-role-kinds, .ax-role-flow, .ax-role-proof, .ax-eco-pillar { padding: 64px 0; }
  .ax-role-kind-grid, .ax-role-more-grid, .ax-eco-jump, .ax-role-steps { grid-template-columns: 1fr; }
  .ax-role-steps { border-top: 0; border-left: 1px solid #D3DCE8; padding-left: 20px; }
  .ax-role-steps li { padding: 0 0 28px; }
  .ax-role-steps li::before { top: 4px; left: -25px; }
}

/* ---------- Platform mega menu ---------- */
.navbar .ax-mega { position: relative; }
.navbar .ax-mega-panel {
  position: absolute; top: calc(100% + 24px); left: 50%; transform: translateX(-58%); z-index: 99;
  display: grid; grid-template-columns: 240px 220px 170px; gap: 8px;
  padding: 18px; background: #fff; border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 18px 48px rgba(22, 24, 29, .12);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, top .2s ease, visibility .2s;
  white-space: normal;
}
.navbar .ax-mega:hover > .ax-mega-panel, .navbar .ax-mega:focus-within > .ax-mega-panel { opacity: 1; visibility: visible; top: 100%; }
.navbar .ax-mega-side { padding: 0 0 0 16px; border-left: 1px solid var(--rule); }
.ax-mega-h { margin: 4px 10px 8px; font-size: 12px; font-weight: 500; color: var(--mute); }
.navbar .ax-mega-panel a { display: block; padding: 8px 10px; border-radius: 8px; white-space: normal; }
.navbar .ax-mega-panel a:hover, .navbar .ax-mega-panel a[aria-current="page"] { background: var(--wash); }
.navbar .ax-mega-panel b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.navbar .ax-mega-panel span { display: block; font-size: 12.5px; font-weight: 400; color: var(--mute); line-height: 1.35; margin-top: 1px; }
.navbar .ax-mega-panel a:hover b { color: var(--brand-ink); }
/* mobile menu: the panel becomes a plain stacked list under "Platform" */
.navbar-mobile .ax-mega-panel {
  position: static; transform: none; display: none; opacity: 1; visibility: visible; box-shadow: none;
  grid-template-columns: 1fr; margin: 0 12px 8px; padding: 8px; border-radius: 10px;
}
.navbar-mobile .ax-mega-panel.dropdown-active { display: grid; }
.navbar-mobile .ax-mega-side { border-left: 0; padding: 8px 0 0; border-top: 1px solid var(--rule); }
.navbar-mobile .ax-mega-panel a { padding: 8px 10px; }

/* ---------- MCP page ---------- */
.ax-mcp section { overflow: visible; }
.ax-mcp-hero { position: relative; padding: 168px 0 96px; text-align: center; background: #fff; overflow: hidden !important; }
/* a quiet grid of tiles, a few holding the assistants ATLAS works with */
.ax-mcp-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 104px; pointer-events: none;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: calc(100% / 12) 104px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, transparent 30%, #000 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, transparent 30%, #000 75%); }
.ax-mcp-tiles span { grid-column: var(--c); grid-row: var(--r); display: grid; place-items: center; }
.ax-mcp-tiles img { width: 30px; height: 30px; opacity: .55; filter: grayscale(1); }
.ax-mcp-hero .container { position: relative; z-index: 1; }
.ax-mcp-pill { display: inline-block; margin: 0 0 20px; padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--mono); font-size: 12px; color: var(--mute); background: #fff; }
.ax-mcp-hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; color: var(--ink); margin: 0 auto; }
.ax-mcp-lede { font-size: 18px; line-height: 1.6; color: var(--mute); margin: 20px auto 28px; max-width: 56ch; }
.ax-mcp-actions { justify-content: center; }

/* the Claude session, in Claude's dark palette */
.ax-mcp-demo { padding: 0 0 96px; background: #fff; }
.ax-claude { margin: 0 auto; max-width: 860px; }
.ax-claude-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #1F1E1D; border: 1px solid #3A3936; border-bottom: 1px solid #2E2D2B; border-radius: 14px 14px 0 0; font-size: 13px; color: #9A988F; }
.ax-claude-dots { display: flex; gap: 6px; }
.ax-claude-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3D3C39; }
.ax-claude-title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #F5F4EE; margin: 0 auto; }
.ax-claude-title img { width: 16px; height: 16px; filter: invert(1); }
.ax-claude-conn { font-size: 12px; }
.ax-claude-conn::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #4ADE80; vertical-align: 1px; }
.ax-claude-body { padding: 28px 32px 24px; background: #262624; border: 1px solid #3A3936; border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 30px 70px rgba(15, 18, 22, .28); text-align: left; }
.ax-claude-user { margin: 0 0 20px auto; max-width: 78%; width: fit-content; padding: 12px 16px; background: #141413; border-radius: 14px; color: #F5F4EE; font-size: 15px; line-height: 1.5; }
.ax-claude-tools { display: grid; gap: 6px; margin: 0 0 16px; }
.ax-claude-tools span { width: fit-content; max-width: 100%; padding: 6px 10px; border: 1px solid #3A3936; border-radius: 8px; background: #1F1E1D; font-family: var(--mono); font-size: 12.5px; color: #A9A69C; }
.ax-claude-tools b { color: #D97757; font-weight: 500; margin-right: 6px; }
.ax-claude-tools em { font-style: normal; font-size: 12.5px; color: #85837B; }
.ax-claude-reply { font-family: Georgia, "Iowan Old Style", serif; font-size: 17px; line-height: 1.6; color: #E8E6DE; }
.ax-claude-reply p { margin: 0 0 10px; }
.ax-claude-reply strong { font-weight: 700; color: #FAF9F5; }
.ax-claude-input { margin-top: 20px; padding: 14px 16px; border: 1px solid #3A3936; border-radius: 14px; background: #30302E; color: #85837B; font-size: 15px; }
.ax-claude figcaption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--mute); }

.ax-mcp-why, .ax-mcp-ask, .ax-mcp-secure, .ax-mcp-connect { padding: 96px 0; border-top: 1px solid var(--rule); background: #fff; }
.ax-mcp-ask, .ax-mcp-connect { background: var(--wash); }
.ax-mcp-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.ax-mcp-split .ax-statement { margin: 0; }
.ax-mcp-cells { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.ax-mcp-cells > div { padding: 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ax-mcp-cells i { font-size: 18px; color: var(--brand); }
.ax-mcp-cells h3, .ax-mcp-prompts h3, .ax-mcp-steps h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 12px 0 6px; }
.ax-mcp-cells p, .ax-mcp-steps p { font-size: 14.5px; line-height: 1.6; color: var(--mute); margin: 0; }
.ax-mcp-prompts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ax-mcp-prompts > div { padding: 24px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; }
.ax-mcp-prompts h3 { margin-top: 0; }
.ax-mcp-prompts p { font-size: 15px; line-height: 1.55; color: var(--ink); margin: 0; padding: 12px 14px; background: var(--wash); border-radius: 10px; }
.ax-mcp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 48px 0 0; }
.ax-mcp-stats dt { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.ax-mcp-stats dd { margin: 4px 0 0; font-size: 14px; color: var(--mute); }
.ax-mcp-secure .ax-eco-list b { font-weight: 600; }
.ax-mcp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ax-mcp-steps li { padding: 24px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; }
.ax-mcp-steps span { font-family: var(--mono); font-size: 12.5px; color: var(--brand-ink); }
.ax-mcp-clients { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.ax-mcp-clients span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; color: var(--ink); }
.ax-mcp-clients img { width: 16px; height: 16px; }

@media (max-width: 991px) {
  .ax-mcp-hero { padding: 140px 0 72px; }
  .ax-mcp-split { grid-template-columns: 1fr; gap: 40px; }
  .ax-mcp-prompts, .ax-mcp-steps { grid-template-columns: 1fr; }
  .ax-mcp-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .ax-mcp-tiles { grid-template-columns: repeat(6, 1fr); background-size: calc(100% / 6) 104px; }
  .ax-mcp-tiles span:nth-child(n+3) { display: none; }
  .ax-mcp-cells { grid-template-columns: 1fr; }
  .ax-claude-body { padding: 20px 16px; }
  .ax-claude-conn { display: none; }
  .ax-claude-user { max-width: 92%; }
  .ax-mcp-why, .ax-mcp-ask, .ax-mcp-secure, .ax-mcp-connect { padding: 64px 0; }
}

/* Claude and ChatGPT side by side, each in its own dark mode */
.ax-chats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1180px; margin: 0 auto; align-items: start; }
.ax-chats .ax-claude { max-width: none; margin: 0; }
.ax-chats .ax-claude-user { max-width: 88%; }
.ax-chats-note { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--mute); }
.ax-gpt .ax-claude-bar { background: #171717; border-color: #2F2F2F; color: #9B9B9B; }
.ax-gpt .ax-claude-dots i { background: #3A3A3A; }
.ax-gpt .ax-claude-title { color: #ECECEC; }
.ax-gpt .ax-claude-body { background: #212121; border-color: #2F2F2F; }
.ax-gpt .ax-claude-user { background: #303030; color: #ECECEC; border-radius: 22px; }
.ax-gpt .ax-claude-tools span { background: #171717; border-color: #2F2F2F; color: #A3A3A3; }
.ax-gpt .ax-claude-tools b { color: #ECECEC; }
.ax-gpt .ax-claude-tools em { color: #8E8E8E; }
.ax-gpt .ax-claude-reply { font-family: var(--font, system-ui, sans-serif); font-size: 15.5px; color: #ECECEC; }
.ax-gpt .ax-claude-reply strong { color: #fff; font-weight: 600; }
.ax-gpt .ax-claude-input { background: #303030; border-color: #3A3A3A; border-radius: 999px; color: #8E8E8E; }
@media (max-width: 991px) { .ax-chats { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- ATLAS API page ---------- */
.ax-api section { overflow: visible; }
.ax-api code { font-family: var(--mono); font-size: .9em; background: var(--wash); border: 1px solid var(--rule); padding: 0 5px; border-radius: 5px; color: var(--ink); }
.ax-api-hero { position: relative; padding: 132px 0 64px; background: var(--night, #0F1216); color: #fff; overflow: hidden !important; }
.ax-api-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000, transparent); mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000, transparent); }
.ax-api-hero .container { position: relative; z-index: 1; }
.ax-api-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.ax-api-top > div { min-width: 0; }
.ax-api-hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; color: #fff; margin: 0; max-width: 15ch; }
.ax-api-hero .ax-role-lede { color: #A9B3C1; }
.ax-api-hero .ax-case-crumb, .ax-api-hero .ax-case-crumb a { color: #8A94A3; }
.ax-api-hero code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #DCE3EC; }
.ax-case-btn.is-light { background: #fff; border-color: #fff; color: var(--ink); }
.ax-case-btn.is-light:hover { background: #E6EBF2; color: var(--ink); }
.ax-case-btn.is-ghost { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
.ax-case-btn.is-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.ax-api-term { border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: #161A20; box-shadow: 0 30px 70px rgba(0,0,0,.35); overflow: hidden; }
.ax-api-term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--mono); font-size: 12px; color: #6B7686; }
.ax-api-term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A303A; }
.ax-api-term-bar span { margin-left: 8px; }
.ax-api-term pre, .ax-api-code pre { margin: 0; padding: 18px 20px; font-family: var(--mono); font-size: 12.8px; line-height: 1.65; color: #DCE3EC; white-space: pre; overflow-x: auto; }
.ax-api-term .c, .ax-api-code .c { color: #6B7686; }
.ax-api-term .o, .ax-api-code .o { color: #7FD1A8; }
.ax-api-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.ax-api-stats > div { padding: 22px 20px 0 0; }
.ax-api-stats dt { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.ax-api-stats dd { margin: 4px 0 0; font-size: 13.5px; color: #8A94A3; }

.ax-api-sec { padding: 96px 0; background: #fff; border-top: 1px solid var(--rule); }
.ax-api-sec.is-wash { background: var(--wash); }
.ax-api-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.ax-api-split > div { min-width: 0; }
.ax-api-split .ax-statement { margin-bottom: 24px; }
.ax-api-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.ax-api-areas li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto 1fr; column-gap: 0; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--rule); }
.ax-api-areas li:nth-child(odd) { border-right: 1px solid var(--rule); }
.ax-api-areas li:nth-child(even) { padding-left: 24px; }
.ax-api-areas span { grid-row: 1 / 3; font-family: var(--mono); font-size: 12.5px; color: var(--brand-ink); padding-top: 3px; }
.ax-api-areas h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.ax-api-areas p { font-size: 14.5px; line-height: 1.6; color: var(--mute); margin: 0; }
.ax-api-note { font-size: 14px; color: var(--mute); line-height: 1.6; }
.ax-api-code { border-radius: 12px; background: var(--night, #0F1216); border: 1px solid #1E242C; overflow: hidden; }
.ax-api-tabs { display: flex; gap: 2px; padding: 8px 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ax-api-tabs button { border: 0; background: transparent; color: #8A94A3; font-family: var(--mono); font-size: 12.5px; padding: 8px 12px; border-radius: 8px 8px 0 0; cursor: pointer; }
.ax-api-tabs button[aria-selected="true"] { color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 -2px 0 var(--brand); }
.ax-api-tabs button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.ax-api-codes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.ax-api-codes span { font-family: var(--mono); font-size: 12.5px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--rule); background: #fff; }
.ax-api-codes .ok { color: #15803d; }
.ax-api-codes .er { color: #B4432E; }
.ax-api-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ax-api-cards > div { padding: 24px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; }
.ax-api-cards h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.ax-api-cards p { font-size: 14.5px; line-height: 1.6; color: var(--mute); margin: 0; }
.ax-api-faq { border-top: 1px solid var(--rule); }
.ax-api-faq details { border-bottom: 1px solid var(--rule); }
.ax-api-faq summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; position: relative; font-size: 16px; font-weight: 600; color: var(--ink); }
.ax-api-faq summary::-webkit-details-marker { display: none; }
.ax-api-faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-weight: 400; font-size: 20px; color: var(--mute); }
.ax-api-faq details[open] summary::after { content: "\2212"; }
.ax-api-faq p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--mute); }

@media (max-width: 991px) {
  .ax-api-hero { padding-top: 112px; }
  .ax-api-top, .ax-api-split { grid-template-columns: 1fr; gap: 40px; }
  .ax-api-stats { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .ax-api-cards { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .ax-api-sec { padding: 64px 0; }
  .ax-api-areas { grid-template-columns: 1fr; }
  .ax-api-areas li:nth-child(odd) { border-right: 0; }
  .ax-api-areas li:nth-child(even) { padding-left: 0; }
  .ax-api-term pre, .ax-api-code pre { font-size: 12px; }
}

/* ---------- Asset owners: the Assets Overview screen, smoothed ---------- */
.ax-role-shot { padding: 96px 0; background: #fff; border-top: 1px solid var(--rule); }
.ax-ov { margin: 0; border: 1px solid #DCE1E8; border-radius: 14px; background: #fff; box-shadow: 0 30px 70px rgba(31, 95, 168, .12); overflow: hidden; }
.ax-ov-bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--rule); font-size: 13px; }
.ax-ov-brand { font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.ax-ov-tab { padding: 4px 10px; border-radius: 7px; background: var(--wash); color: var(--ink); font-weight: 500; }
.ax-ov-count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.ax-ov-body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; padding: 16px; background: var(--wash); }
.ax-ov-body > div { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; min-width: 0; }
.ax-ov small { font-size: 12px; color: var(--mute); }
.ax-ov-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0 !important; }
.ax-ov-kpis > div { padding: 16px 18px; border-bottom: 1px solid var(--rule); }
.ax-ov-kpis > div:nth-child(odd) { border-right: 1px solid var(--rule); }
.ax-ov-kpis > div:nth-child(n+3) { border-bottom: 0; }
.ax-ov-kpis b { display: block; margin: 6px 0 4px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ax-ov-kpis b em { font-style: normal; font-size: 15px; font-weight: 500; color: var(--mute); }
.ax-ov-kpis span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mute); }
.ax-ov i.on, .ax-ov i.off, .ax-ov i.own, .ax-ov i.rep { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.ax-ov i.on { background: #16a34a; } .ax-ov i.off { background: #DC4B3E; } .ax-ov i.own { background: var(--brand); } .ax-ov i.rep { background: #B9C2CE; }
.ax-ov-kpis span i + * { margin-right: 8px; }
.ax-ov-types-head { display: flex; justify-content: space-between; margin-bottom: 12px; }
.ax-ov-types-head b { font-size: 16px; color: #15803d; }
.ax-ov-types ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.ax-ov-types li { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 8px; align-items: baseline; font-size: 13px; }
.ax-ov-types li span { color: var(--ink); }
.ax-ov-types li b { font-family: var(--mono); font-weight: 500; font-size: 12.5px; color: var(--ink); }
.ax-ov-types li em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: #15803d; min-width: 18px; text-align: right; }
.ax-ov-types li i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brand) var(--w), #EEF1F5 var(--w)); }
.ax-ov-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 13.5px; }
.ax-ov-head b { font-weight: 600; color: var(--ink); }
.ax-ov-map { position: relative; }
.ax-ov-map svg { display: block; width: 100%; height: auto; border-radius: 8px; background: #F6F9FC; }
.ax-ov-map .land { fill: url(#ovdots); }
.ax-ov-map pattern circle { fill: #8FA7C6; }
.ax-ov-map .cl circle { fill: none; stroke-width: 3.5; }
.ax-ov-map .cl .bg { fill: #fff; stroke: #fff; stroke-width: 6; }
.ax-ov-map .cl .g { stroke: #16a34a; } .ax-ov-map .cl .r { stroke: #DC4B3E; } .ax-ov-map .cl .b { stroke: var(--brand); }
.ax-ov-map .cl text { font: 600 11px var(--font, Inter, sans-serif); fill: var(--ink); text-anchor: middle; }
.ax-ov-map .pin { fill: #16a34a; stroke: #fff; stroke-width: 2; }
.ax-ov-legend { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--mute); }
.ax-ov-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ax-ov-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ax-ov-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--mute); padding: 0 0 8px; border-bottom: 1px solid var(--rule); }
.ax-ov-table td { padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.ax-ov-table td:first-child { font-family: var(--mono); font-size: 12.5px; color: var(--mute); }
.ax-ov-table td i { margin-right: 6px; vertical-align: 1px; }
.ax-ov-table tr:last-child td { border-bottom: 0; }
@media (max-width: 991px) { .ax-ov-body { grid-template-columns: 1fr; } }
@media (max-width: 575px) {
  .ax-role-shot { padding: 64px 0; }
  .ax-ov-types ul { grid-template-columns: 1fr; }
  .ax-ov-kpis b { font-size: 21px; }
  .ax-ov-count { display: none; }
}

/* ---------- Platform tabs: live "Unify data" table and forecast chart ---------- */
.ax-visual-live { margin-top: 28px; }
.ax-uni, .ax-fc { width: 100%; max-width: 820px; margin: 0; font-size: 13px; color: var(--ink); }
.ax-uni-card, .ax-fc {
  background: #fff; border: 1px solid var(--rule); border-radius: 12px;
  box-shadow: 0 24px 50px rgba(31, 95, 168, .14), 0 4px 10px rgba(22, 24, 29, .04);
}

/* sources flow into one validated series */
.ax-uni { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 36px; align-items: center; }
.ax-uni-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ax-uni-src li {
  position: relative; padding: 9px 12px 9px 26px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; line-height: 1.3;
}
.ax-uni-src li::before { content: ""; position: absolute; left: 11px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--c)); }
.ax-uni-src b { display: block; font-weight: 600; font-size: 13px; }
.ax-uni-src span { color: var(--mute); font-size: 12px; }
/* a thin line from each source to the table, with data travelling along it */
.ax-uni-src li::after {
  content: ""; position: absolute; left: 100%; top: 50%; width: 37px; height: 1px;
  background: linear-gradient(90deg, rgb(var(--c)) 0 6px, rgba(var(--c), .25) 6px) no-repeat;
  background-size: 200% 100%; animation: ax-uni-flow 2.4s linear infinite;
}
.ax-uni-src li:nth-child(2)::after { animation-delay: -.6s; }
.ax-uni-src li:nth-child(3)::after { animation-delay: -1.2s; }
.ax-uni-src li:nth-child(4)::after { animation-delay: -1.8s; }
@keyframes ax-uni-flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.ax-uni-card { overflow: hidden; }
.ax-uni-head { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--rule); background: #F8FAFD; }
.ax-uni-head b { font-weight: 600; }
.ax-uni-head span { color: var(--mute); font-size: 12px; }
.ax-uni-head em { margin-left: auto; font-style: normal; font-size: 12px; color: #2C9678; }
.ax-uni-head em::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.ax-uni table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ax-uni th { padding: 9px 16px 7px; font-size: 11.5px; font-weight: 500; color: var(--mute); text-align: right; white-space: nowrap; }
.ax-uni td { padding: 8px 16px; border-top: 1px solid #EEF2F7; text-align: right; white-space: nowrap; }
.ax-uni th:first-child, .ax-uni td:first-child { text-align: left; color: var(--mute); }
.ax-uni tr.is-new td { animation: ax-uni-in 1.2s ease both; }
@keyframes ax-uni-in { from { background: rgba(61, 135, 211, .12); opacity: 0; } 40% { opacity: 1; } to { background: transparent; } }
.ax-uni-ok { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: rgba(44, 150, 120, .14); position: relative; vertical-align: -2px; }
.ax-uni-ok::after { content: ""; position: absolute; left: 4.5px; top: 2.5px; width: 4px; height: 7px; border: solid #2C9678; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ax-uni-fill { font-size: 11px; color: #B4691C; background: rgba(217, 130, 43, .12); border-radius: 999px; padding: 2px 8px; }

/* forecast chart: figures on the left, the day on the right */
.ax-fc { padding: 16px 20px 18px; display: flex; flex-direction: column; }
.ax-fc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 16px; }
.ax-fc-head b { font-weight: 600; }
.ax-fc-head span { color: var(--mute); font-size: 12px; }
.ax-fc-key { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 14px; font-size: 12px; color: var(--mute); }
.ax-fc-key li::before { content: ""; display: inline-block; width: 14px; height: 2px; margin-right: 6px; vertical-align: 3px; background: var(--brand-ink); }
.ax-fc-key .is-b::before { height: 9px; vertical-align: 0; border-radius: 2px; background: rgba(61, 135, 211, .22); }
.ax-fc-key .is-a::before { background: #D9822B; }
.ax-fc-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; }
.ax-fc-stats { margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-right: 20px; border-right: 1px solid #EEF2F7; }
.ax-fc-stats dt { font-size: 11.5px; font-weight: 400; color: var(--mute); }
.ax-fc-stats dd { margin: 2px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ax-fc-plot { position: relative; height: 230px; margin: 8px 0 24px 22px; }
.ax-fc-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ax-fc-plot path { fill: none; vector-effect: non-scaling-stroke; }
.ax-fc-grid { stroke: #E6ECF4; stroke-width: 1; }
.ax-fc-band { fill: rgba(61, 135, 211, .12) !important; }
.ax-fc-core { fill: rgba(61, 135, 211, .16) !important; }
.ax-fc-past { stroke: rgba(31, 95, 168, .35); stroke-width: 1.5; }
.ax-fc-f { stroke: var(--brand-ink); stroke-width: 2.2; stroke-dasharray: 5 4; }
.ax-fc-a { stroke: #D9822B; stroke-width: 2.2; stroke-linejoin: round; }
.ax-fc-now { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: .45; }
.ax-fc-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #D9822B; box-shadow: 0 0 0 4px rgba(217, 130, 43, .2); transition: left .5s ease, top .5s ease; }
.ax-fc-y { position: absolute; left: -22px; top: calc(var(--y) * 1%); transform: translateY(-50%); font-size: 11px; color: var(--mute); }
.ax-fc-tag { position: absolute; top: -16px; transform: translateX(-50%); font-size: 11px; color: var(--mute); transition: left .5s ease; }
.ax-fc-x { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: flex; justify-content: space-between; font-size: 11px; color: var(--mute); }
.ax-fc-x span:first-child { transform: translateX(-30%); }
.ax-fc-x span:last-child { transform: translateX(30%); }
/* the forecast draws in when its step opens */
.ax-panels [role="tabpanel"]:not([hidden]) .ax-fc-plot svg { animation: ax-fc-draw 1.4s cubic-bezier(.3, .6, .2, 1) .3s both; }
@keyframes ax-fc-draw { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% 0 -10% 0); } }

/* inside the pinned scroll stage the chart fills the space it is given */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .ax-scrolly .ax-visual-live { margin-top: 0; }
  .ax-scrolly .ax-fc { height: 100%; max-height: 400px; }
  .ax-scrolly .ax-fc-plot { height: auto; min-height: 100px; }
  .ax-scrolly .ax-uni { max-height: 100%; }
}
@media (max-width: 991px) {
  .ax-uni { grid-template-columns: 1fr; gap: 10px; }
  .ax-uni-src { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
  .ax-uni-src li::after { display: none; }
}
@media (max-width: 767px) {
  .ax-uni-opt { display: none; }
  .ax-uni th, .ax-uni td { padding-left: 10px; padding-right: 10px; }
  .ax-uni-head { flex-wrap: wrap; }
  .ax-fc { padding: 14px 14px 16px; }
  .ax-fc-key { margin-left: 0; width: 100%; }
  .ax-fc-body { grid-template-columns: 1fr; gap: 14px; }
  .ax-fc-stats { order: 2; flex-direction: row; justify-content: space-between; padding: 12px 0 0; border-right: 0; border-top: 1px solid #EEF2F7; }
  .ax-fc-stats dd { font-size: 16px; }
  .ax-fc-plot { height: 180px; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ax-uni-src li::after { animation: none; }
}

/* ---------- Work with AI: a request, the agent's steps, its answer, on a dark stage ---------- */
.ax-visual-agent { margin-top: 24px; }
.ax-agent {
  position: relative; width: 100%; padding: 22px 24px 18px; border-radius: 14px; overflow: hidden; color: #E9EEF6;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(61, 135, 211, .38), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(31, 95, 168, .35), transparent 60%),
    #0E1622;
  display: flex; flex-direction: column; gap: 16px; min-height: 380px; font-size: 13px;
}
.ax-agent-prompt {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 15px; color: #fff; min-height: 48px;
}
.ax-agent-mark { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #8FB8E6; position: relative; }
.ax-agent-mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #3D87D3; }
.ax-agent-caret { width: 1.5px; height: 18px; background: #8FB8E6; opacity: 0; }
.ax-agent.is-typing .ax-agent-caret { opacity: 1; animation: ax-blink 1s steps(2) infinite; }
@keyframes ax-blink { 50% { opacity: 0; } }
.ax-agent-work { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.ax-agent-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ax-agent-log li { display: grid; grid-template-columns: 18px auto; column-gap: 10px; row-gap: 2px; align-items: center; animation: ax-build .4s ease both; }
.ax-agent-log li::before {
  content: ""; grid-row: 1 / span 2; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgba(143, 184, 230, .5); border-top-color: #8FB8E6; animation: ax-spin .8s linear infinite;
}
.ax-agent-log li.is-done::before { animation: none; border-color: #4FB592; background: rgba(79, 181, 146, .18); }
@keyframes ax-spin { to { transform: rotate(360deg); } }
.ax-agent-log code { font-family: var(--mono, ui-monospace, monospace); font-size: 11.5px; color: #8FB8E6; }
.ax-agent-log span { color: rgba(233, 238, 246, .72); font-size: 12.5px; }
.ax-agent-out {
  padding: 14px 16px; border-radius: 12px; background: #fff; color: var(--ink);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease;
}
.ax-agent-out:empty { display: none; }
.ax-agent-out.is-in { opacity: 1; transform: none; }
.ax-agent-out > b { display: block; font-size: 15px; font-weight: 600; }
.ax-agent-out p { margin: 4px 0 10px; color: var(--mute); font-size: 12.5px; line-height: 1.45; }
.ax-agent-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ax-agent-bars li { position: relative; display: flex; justify-content: space-between; padding: 4px 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
.ax-agent-bars li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: rgba(61, 135, 211, .14); }
.ax-agent-bars span, .ax-agent-bars em { position: relative; font-style: normal; }
.ax-agent-bars em { font-weight: 600; }
.ax-agent-out table { width: 100%; margin: 8px 0 10px; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.ax-agent-out th { font-weight: 500; color: var(--mute); text-align: right; padding: 3px 0; }
.ax-agent-out td { text-align: right; padding: 4px 0; border-top: 1px solid #EEF2F7; }
.ax-agent-out th:first-child, .ax-agent-out td:first-child { text-align: left; }
.ax-agent-act { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: #B4691C; }
.ax-agent-act button { border: 0; border-radius: 8px; padding: 6px 14px; background: var(--brand-ink); color: #fff; font-size: 12.5px; font-weight: 500; pointer-events: none; }
.ax-agent-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ax-agent-cap { margin: 0; font-size: 16px; color: rgba(233, 238, 246, .7); }
.ax-agent-cap b { color: #fff; font-weight: 600; }
.ax-agent-cap.is-in { animation: ax-build .5s ease both; }
.ax-agent-dots { display: flex; gap: 6px; flex: none; }
.ax-agent-dots i { width: 22px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .2); transition: background .3s ease; }
.ax-agent-dots i.is-on { background: #8FB8E6; }

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .ax-scrolly .ax-visual-agent { padding: 0; border: 0; background: none; align-items: stretch; margin-top: 0; }
  .ax-scrolly .ax-agent { height: 100%; min-height: 0; }
}
@media (max-width: 767px) {
  .ax-agent { padding: 16px; min-height: 610px; }
  .ax-agent-prompt { font-size: 14px; }
  .ax-agent-work { grid-template-columns: 1fr; gap: 14px; }
  .ax-agent-cap { font-size: 14px; }
}

/* ---------- Connect assets: live sites feeding the day's schedule ---------- */
.ax-sched { width: 100%; max-width: 860px; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 36px; align-items: center; font-size: 13px; color: var(--ink); }
.ax-sched-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ax-sched-src li {
  --c: 143, 184, 230;
  position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: center;
  padding: 9px 12px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; line-height: 1.3;
}
.ax-sched-src .is-bat { --c: 31, 95, 168; }
.ax-sched-src .is-px { --c: 22, 24, 29; }
.ax-sched-src b { font-weight: 600; font-size: 13px; }
.ax-sched-src span { grid-column: 2; color: var(--mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.ax-sched-ic { grid-row: 1 / span 2; position: relative; width: 30px; height: 30px; border-radius: 8px; background: rgba(var(--c), .14); display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 13px; color: rgb(var(--c)); }
/* sun: a disc with slowly turning rays */
.is-pv .ax-sched-ic::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #E0A33C; }
.is-pv .ax-sched-ic::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px dotted #E0A33C; animation: ax-spin 9s linear infinite; }
/* battery: the fill follows the state of charge */
.is-bat .ax-sched-ic::before { content: ""; position: absolute; left: 6px; top: 10px; width: 16px; height: 10px; border: 1.5px solid rgb(var(--c)); border-radius: 2px; }
.is-bat .ax-sched-ic::after { content: ""; position: absolute; left: 23.5px; top: 13px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgb(var(--c)); }
.is-bat .ax-sched-ic s { position: absolute; left: 8.5px; top: 12.5px; height: 5px; max-width: 11px; width: 50%; background: rgb(var(--c)); transition: width .8s ease; }
[data-state="ch"] .is-bat .ax-sched-ic s { background: #E08A3C; }
/* each source feeds the chart; the line runs while that source is active */
.ax-sched-src li::after {
  content: ""; position: absolute; left: 100%; top: 50%; width: 37px; height: 1px;
  background: linear-gradient(90deg, rgb(var(--c)) 0 6px, rgba(var(--c), .25) 6px) no-repeat; background-size: 200% 100%;
  animation: ax-uni-flow 1.6s linear infinite; animation-play-state: paused; opacity: .35; transition: opacity .3s ease;
}
.ax-sched-src .is-px::after,
[data-state="pv"] .is-pv::after, [data-state="dis"] .is-pv::after, [data-state="ch"] .is-pv::after,
[data-state="ch"] .is-bat::after, [data-state="dis"] .is-bat::after { animation-play-state: running; opacity: 1; }
[data-state="ch"] .is-bat::after { --c: 224, 138, 60; }

.ax-sched-card { margin: 0; padding: 16px 20px 18px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 24px 50px rgba(31, 95, 168, .14), 0 4px 10px rgba(22, 24, 29, .04); display: flex; flex-direction: column; }
.ax-sched-key { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--mute); }
.ax-sched-key li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 2px; vertical-align: 0; background: #8FB8E6; }
.ax-sched-key .is-dis::before { background: #1F5FA8; }
.ax-sched-key .is-ch::before { background: #E08A3C; }
.ax-sched-key .is-px::before { width: 14px; height: 0; border-top: 2px dotted var(--ink); border-radius: 0; vertical-align: 3px; background: none; }
.ax-sched-plot { position: relative; height: 230px; margin: 10px 0 24px 22px; }
.ax-sched-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.ax-sched-bars div { position: relative; }
.ax-sched-bars i { position: absolute; left: 0; right: 0; border-radius: 2px; opacity: .22; transition: opacity .5s ease, transform .5s ease; transform-origin: bottom; }
.ax-sched-bars .pv { background: #8FB8E6; }
.ax-sched-bars .dis { background: #1F5FA8; }
.ax-sched-bars .ch { background: #E08A3C; transform-origin: top; }
.ax-sched-bars .is-on i { opacity: 1; }
.ax-sched-bars .is-now i { animation: ax-bar-in .6s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes ax-bar-in { from { transform: scaleY(0); } }
.ax-sched-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ax-sched-plot path { fill: none; vector-effect: non-scaling-stroke; }
.ax-sched-zero { stroke: #C9D5E4; stroke-width: 1; }
.ax-sched-price { stroke: var(--ink); stroke-width: 1.8; stroke-dasharray: 2 3; stroke-linecap: round; }
.ax-sched-now { position: absolute; top: -6px; bottom: -4px; width: 0; border-left: 1px dashed rgba(22, 24, 29, .45); transition: left .5s ease; }
.ax-sched-now::before { content: "now"; position: absolute; top: -12px; left: 0; transform: translateX(-50%); font-size: 11px; color: var(--mute); }

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .ax-scrolly .ax-sched { height: 100%; max-height: 380px; }
  .ax-scrolly .ax-sched-card { height: 100%; min-height: 0; }
  .ax-scrolly .ax-sched-plot { flex: 1 1 0; height: auto; min-height: 90px; }
}
@media (max-width: 991px) {
  .ax-sched { grid-template-columns: 1fr; gap: 10px; }
  .ax-sched-src { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ax-sched-src li::after { display: none; }
}
@media (max-width: 767px) {
  .ax-sched-src li { grid-template-columns: 1fr; padding: 8px 10px; row-gap: 4px; }
  .ax-sched-ic { grid-row: auto; width: 26px; height: 26px; }
  .ax-sched-src span { grid-column: 1; font-size: 11.5px; }
  .ax-sched-src b { font-size: 12px; }
  .ax-sched-card { padding: 14px; }
  .ax-sched-key { margin-left: 0; width: 100%; }
  .ax-sched-plot { height: 180px; }
  .ax-sched-bars { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .ax-sched-src li::after, .is-pv .ax-sched-ic::after { animation: none; }
}

/* ---------- Manage risk: events move the hedge ratio, VaR and limit at once ---------- */
.ax-rk { width: 100%; max-width: 860px; margin: 0; padding: 16px 20px 18px; font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 24px 50px rgba(31, 95, 168, .14), 0 4px 10px rgba(22, 24, 29, .04); display: flex; flex-direction: column; }
.ax-rk-event { margin: 0 0 0 auto; padding: 4px 10px; border-radius: 999px; background: rgba(217, 130, 43, .1); color: #8A4E12; font-size: 12px; }
.ax-rk-event b { font-weight: 600; }
.ax-rk-event::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #D9822B; vertical-align: 1px; animation: ax-pulse 1.6s ease-out infinite; }
.ax-rk-event.is-in { animation: ax-build .5s ease both; }
@keyframes ax-pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 130, 43, .5); } 100% { box-shadow: 0 0 0 7px rgba(217, 130, 43, 0); } }
.ax-rk-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 28px; }
.ax-rk-plot { position: relative; height: 230px; margin: 16px 0 24px; }
.ax-rk-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ax-rk-plot path { fill: none; vector-effect: non-scaling-stroke; }
.ax-rk-plot [data-risk-paths] path { stroke: rgba(61, 135, 211, .26); stroke-width: 1; }
.is-moved [data-risk-paths] { animation: ax-fc-draw-from 1.1s cubic-bezier(.3, .6, .2, 1) both; }
@keyframes ax-fc-draw-from { from { clip-path: inset(-10% 62% -10% 0); } to { clip-path: inset(-10% 0 -10% 0); } }
.ax-rk-plot .ax-rk-fan { fill: rgba(61, 135, 211, .1); }
.ax-rk-band { stroke: var(--brand-ink); stroke-width: 1.4; stroke-dasharray: 4 3; }
.ax-rk-past { stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.ax-rk-now { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: .4; }
.ax-rk-hist { stroke: rgba(31, 95, 168, .55); stroke-width: 9; }
.ax-rk-tag { position: absolute; top: -16px; transform: translateX(-50%); font-size: 11px; color: var(--mute); }
.ax-rk-q { position: absolute; right: 14%; transform: translateY(-50%); font-size: 10.5px; color: var(--brand-ink); background: #fff; padding: 0 3px; transition: top .8s ease; }
.ax-rk-stats { margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-left: 20px; border-left: 1px solid #EEF2F7; }
.ax-rk-stats dt { font-size: 11.5px; font-weight: 400; color: var(--mute); }
.ax-rk-stats dd { margin: 2px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.is-moved .ax-rk-stats dd { animation: ax-tick .7s ease both; }
@keyframes ax-tick { from { color: #D9822B; } }
.ax-rk-bar { display: block; position: relative; height: 4px; margin-top: 6px; border-radius: 4px; background: #EEF2F7; overflow: hidden; }
.ax-rk-bar s { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--brand); transition: width .8s cubic-bezier(.3, .6, .2, 1); }
.ax-rk-bar.is-limit { overflow: visible; }
.ax-rk-bar.is-limit s { background: linear-gradient(90deg, #4FB592, #E0A33C); }
.ax-rk-bar.is-limit::after { content: ""; position: absolute; left: 85%; top: -3px; bottom: -3px; width: 1.5px; background: var(--ink); opacity: .5; }

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .ax-scrolly .ax-rk { height: 100%; max-height: 400px; }
  .ax-scrolly .ax-rk-plot { height: auto; min-height: 90px; }
}
@media (max-width: 767px) {
  .ax-rk { padding: 14px; }
  .ax-rk-event { margin: 6px 0 0; }
  .ax-rk-body { grid-template-columns: 1fr; gap: 6px; }
  .ax-rk-plot { height: 190px; }
  .ax-rk-stats { flex-direction: row; justify-content: space-between; gap: 10px; padding: 12px 0 0; border-left: 0; border-top: 1px solid #EEF2F7; }
  .ax-rk-stats > div { flex: 1; }
  .ax-rk-stats dd { font-size: 16px; }
}

/* ---------- Home workspace: compact assets overview ---------- */
.ax-hov { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.ax-hov-kpis { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-radius: 10px; }
.ax-hov-kpis > div { padding: 8px 12px; border-right: 1px solid var(--rule); min-width: 0; }
.ax-hov-kpis > div:last-child { border-right: 0; }
.ax-hov-kpis dt { font-size: 10.5px; font-weight: 400; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-hov-kpis dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ax-hov-kpis dd em { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--mute); }
.ax-hov-kpis dd.is-ok { color: #15803d; }
.ax-hov-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; align-items: start; }
.ax-hov-map svg { height: 196px; }
.ax-hov-map .cl text { font-size: 12px; }
.ax-hov .ax-table td, .ax-hov .ax-table th { padding-top: 7px; padding-bottom: 7px; }
@media (max-width: 991px) {
  .ax-hov-kpis { grid-template-columns: repeat(2, 1fr); }
  .ax-hov-kpis > div:nth-child(2) { border-right: 0; }
  .ax-hov-kpis > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .ax-hov-grid { grid-template-columns: 1fr; }
  .ax-hov-map { display: none; }
}

/* the "ATLAS Platform" name that travels from the shrinking world into the workspace preview */
.ax-fly-name { position: absolute; left: 0; top: 0; z-index: 6; transform-origin: 0 0; font-weight: 700; letter-spacing: .02em; color: var(--ink); white-space: nowrap; pointer-events: none; opacity: 0; }
.ax-app-brand { transition: opacity .2s ease; }
.ax-app-brand.is-waiting { opacity: 0; }
