/* Attestyx homepage (second design, "Signal"). Loaded by index.html only; the docs never load this file.
   Classes are prefixed ax- (page) and sc- (the hero scene, an inline SVG).
   The default state of every rule is the complete, static page: it is what you get with JavaScript off and with
   reduced motion. home.js only adds motion on top (GSAP sets transforms and opacity inline).
   Fonts, all SIL Open Font License 1.1 and self-hosted in /assets/fonts/: Bricolage Grotesque (display),
   Instrument Serif Italic (accent words), Geist (text), Geist Mono (code). */

@font-face {
  font-family: "Bricolage Grotesque Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens. Two sets, light and dark. The page uses one and the "inverse" sections (.ax-inv) use the other, so each
   set appears under three selectors: the default, the header toggle (data-theme) and the system setting.
   The names shared with site.css (--page, --ink, --line ...) are set too, so the header, footer and code blocks follow. */
body.home {
  --bg: #f2f1eb; --bg-2: #e8e7df; --card: #fbfaf6; --card-2: #ffffff; --fg: #0b0b0c; --fg-2: #3d3c38; --muted: #5b5a54;
  --line: #d8d6cb; --line-2: #b9b7ab; --accent: #c6ff3d; --on-accent: #0b0c06; --accent-ink: #0b0b0c; --accent-deep: #446d00;
  --marker: #c6ff3d; --glass: rgba(251, 250, 246, 0.88); --crit: #be261e; --high-t: #a8430f; --med-t: #6f4b00; --low-t: #5b5a54;
  --ok: #1c6b34; --shade: 0 1px 2px rgba(20, 20, 10, 0.05), 0 24px 60px -20px rgba(20, 20, 10, 0.18);
  --orb: rgba(198, 255, 61, 0.55); --grid: rgba(11, 11, 12, 0.07); --ghost: rgba(11, 11, 12, 0.16);
  --page: #f2f1eb; --surface: #fbfaf6; --surface-2: #e8e7df; --ink: #0b0b0c; --ink-2: #3d3c38; --link: #0b0b0c; --focus: #1d5fb3;
  --code-bg: #e8e7df; --brand: #0b0b0c; --mark-bg: #0b0b0c; --mark-dot: #fcfcfb; --on-ink: #ffffff; --ink-hover: #2b2b2b;
  color-scheme: light;
}
.home .ax-inv {
  --bg: #08090a; --bg-2: #0f1012; --card: #121316; --card-2: #1a1b1f; --fg: #f4f3ee; --fg-2: #c4c3bb; --muted: #98978f;
  --line: #27282c; --line-2: #3c3d43; --accent: #c6ff3d; --on-accent: #0b0c06; --accent-ink: #c6ff3d; --accent-deep: #c6ff3d;
  --marker: transparent; --glass: rgba(18, 19, 22, 0.86); --crit: #ff6b62; --high-t: #ff9d66; --med-t: #f3c24f; --low-t: #b5b4ab;
  --ok: #7ddc8f; --shade: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 30px 80px -24px rgba(0, 0, 0, 0.8);
  --orb: rgba(198, 255, 61, 0.2); --grid: rgba(255, 255, 255, 0.055); --ghost: rgba(244, 243, 238, 0.14);
  --page: #08090a; --surface: #121316; --surface-2: #1a1b1f; --ink: #f4f3ee; --ink-2: #c4c3bb; --link: #f4f3ee; --focus: #c6ff3d;
  --code-bg: #1a1b1f; --brand: #f4f3ee; --mark-bg: #f4f3ee; --mark-dot: #08090a; --on-ink: #08090a; --ink-hover: #ffffff;
}
:root[data-theme="dark"] body.home {
  --bg: #08090a; --bg-2: #0f1012; --card: #121316; --card-2: #1a1b1f; --fg: #f4f3ee; --fg-2: #c4c3bb; --muted: #98978f;
  --line: #27282c; --line-2: #3c3d43; --accent: #c6ff3d; --on-accent: #0b0c06; --accent-ink: #c6ff3d; --accent-deep: #c6ff3d;
  --marker: transparent; --glass: rgba(18, 19, 22, 0.86); --crit: #ff6b62; --high-t: #ff9d66; --med-t: #f3c24f; --low-t: #b5b4ab;
  --ok: #7ddc8f; --shade: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 30px 80px -24px rgba(0, 0, 0, 0.8);
  --orb: rgba(198, 255, 61, 0.2); --grid: rgba(255, 255, 255, 0.055); --ghost: rgba(244, 243, 238, 0.14);
  --page: #08090a; --surface: #121316; --surface-2: #1a1b1f; --ink: #f4f3ee; --ink-2: #c4c3bb; --link: #f4f3ee; --focus: #c6ff3d;
  --code-bg: #1a1b1f; --brand: #f4f3ee; --mark-bg: #f4f3ee; --mark-dot: #08090a; --on-ink: #08090a; --ink-hover: #ffffff;
  color-scheme: dark;
}
:root[data-theme="dark"] .home .ax-inv {
  --bg: #f2f1eb; --bg-2: #e8e7df; --card: #fbfaf6; --card-2: #ffffff; --fg: #0b0b0c; --fg-2: #3d3c38; --muted: #5b5a54;
  --line: #d8d6cb; --line-2: #b9b7ab; --accent: #c6ff3d; --on-accent: #0b0c06; --accent-ink: #0b0b0c; --accent-deep: #446d00;
  --marker: #c6ff3d; --glass: rgba(251, 250, 246, 0.88); --crit: #be261e; --high-t: #a8430f; --med-t: #6f4b00; --low-t: #5b5a54;
  --ok: #1c6b34; --shade: 0 1px 2px rgba(20, 20, 10, 0.05), 0 24px 60px -20px rgba(20, 20, 10, 0.18);
  --orb: rgba(198, 255, 61, 0.55); --grid: rgba(11, 11, 12, 0.07); --ghost: rgba(11, 11, 12, 0.16);
  --page: #f2f1eb; --surface: #fbfaf6; --surface-2: #e8e7df; --ink: #0b0b0c; --ink-2: #3d3c38; --link: #0b0b0c; --focus: #1d5fb3;
  --code-bg: #e8e7df; --brand: #0b0b0c; --mark-bg: #0b0b0c; --mark-dot: #fcfcfb; --on-ink: #ffffff; --ink-hover: #2b2b2b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.home {
    --bg: #08090a; --bg-2: #0f1012; --card: #121316; --card-2: #1a1b1f; --fg: #f4f3ee; --fg-2: #c4c3bb; --muted: #98978f;
    --line: #27282c; --line-2: #3c3d43; --accent: #c6ff3d; --on-accent: #0b0c06; --accent-ink: #c6ff3d; --accent-deep: #c6ff3d;
    --marker: transparent; --glass: rgba(18, 19, 22, 0.86); --crit: #ff6b62; --high-t: #ff9d66; --med-t: #f3c24f; --low-t: #b5b4ab;
    --ok: #7ddc8f; --shade: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 30px 80px -24px rgba(0, 0, 0, 0.8);
    --orb: rgba(198, 255, 61, 0.2); --grid: rgba(255, 255, 255, 0.055); --ghost: rgba(244, 243, 238, 0.14);
    --page: #08090a; --surface: #121316; --surface-2: #1a1b1f; --ink: #f4f3ee; --ink-2: #c4c3bb; --link: #f4f3ee; --focus: #c6ff3d;
    --code-bg: #1a1b1f; --brand: #f4f3ee; --mark-bg: #f4f3ee; --mark-dot: #08090a; --on-ink: #08090a; --ink-hover: #ffffff;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .home .ax-inv {
    --bg: #f2f1eb; --bg-2: #e8e7df; --card: #fbfaf6; --card-2: #ffffff; --fg: #0b0b0c; --fg-2: #3d3c38; --muted: #5b5a54;
    --line: #d8d6cb; --line-2: #b9b7ab; --accent: #c6ff3d; --on-accent: #0b0c06; --accent-ink: #0b0b0c; --accent-deep: #446d00;
    --marker: #c6ff3d; --glass: rgba(251, 250, 246, 0.88); --crit: #be261e; --high-t: #a8430f; --med-t: #6f4b00; --low-t: #5b5a54;
    --ok: #1c6b34; --shade: 0 1px 2px rgba(20, 20, 10, 0.05), 0 24px 60px -20px rgba(20, 20, 10, 0.18);
    --orb: rgba(198, 255, 61, 0.55); --grid: rgba(11, 11, 12, 0.07); --ghost: rgba(11, 11, 12, 0.16);
    --page: #f2f1eb; --surface: #fbfaf6; --surface-2: #e8e7df; --ink: #0b0b0c; --ink-2: #3d3c38; --link: #0b0b0c; --focus: #1d5fb3;
    --code-bg: #e8e7df; --brand: #0b0b0c; --mark-bg: #0b0b0c; --mark-dot: #fcfcfb; --on-ink: #ffffff; --ink-hover: #2b2b2b;
  }
}
/* The lime sections look the same in both themes: ink on lime. */
.home .ax-lime {
  --bg: #c6ff3d; --bg-2: #b4ec2c; --card: #d5ff6e; --card-2: #e0ff8f; --fg: #0b0c06; --fg-2: #1f2507; --muted: #303a0b;
  --line: #9fcd24; --line-2: #6d8f10; --accent: #0b0c06; --on-accent: #c6ff3d; --accent-ink: #0b0c06; --accent-deep: #0b0c06;
  --marker: transparent; --crit: #8f1710; --ghost: rgba(11, 12, 6, 0.22);
  --page: #c6ff3d; --surface: #d5ff6e; --surface-2: #b4ec2c; --ink: #0b0c06; --ink-2: #1f2507; --link: #0b0c06; --focus: #0b0c06;
  --code-bg: #b4ec2c;
}

body.home {
  --disp: "Bricolage Grotesque Variable", "Geist Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font: "Geist Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --crit-fill: #d42a22;
  --high-fill: #c2410c;
  --med-fill: #f5b622;
  --low-fill: #55544f;
  --pre-bg: #0b0c0e;
  --pre-ink: #ecebe6;
  --pre-line: #27282c;
  --copy-bg: #1a1b1f;
  --copy-line: #3c3d43;
  --copy-hover: #27282c;
  --pad: clamp(18px, 4vw, 56px);
  --gap-sec: clamp(88px, 11vw, 176px);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html:has(body.home) { scroll-behavior: auto; }

/* ---- Shared pieces ---- */
.home main { display: block; overflow: clip; }
/* Resets with low specificity (this file is loaded by the homepage only), so any class below can set its own margins. */
main li + li { margin-top: 0; }
main :is(p, ul, ol, h1, h2, h3) { margin: 0; }
main :is(ul, ol) { list-style: none; padding: 0; }
main a { color: inherit; }
.home main code { font-family: var(--mono); font-size: 0.86em; background: var(--code-bg); border: 1px solid var(--line); border-radius: 7px; padding: 0.08em 0.4em; color: var(--fg); }
.home main pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.home :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.ax-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ax-wrap { width: 100%; max-width: 1376px; margin: 0 auto; padding: 0 var(--pad); }

.ax-em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; color: var(--accent-ink);
  background: linear-gradient(transparent 64%, var(--marker) 64%, var(--marker) 90%, transparent 90%); padding: 0 0.06em; }
.ax-h1 { font: 600 clamp(44px, 6.3vw, 100px)/0.92 var(--disp); letter-spacing: -0.045em; text-wrap: balance; }
.ax-h1 .ax-em { font-size: 1.08em; }
.ax-h2 { font: 600 clamp(36px, 5.2vw, 84px)/0.96 var(--disp); letter-spacing: -0.04em; text-wrap: balance; max-width: 16em; }
.ax-h2 .ax-em { font-size: 1.07em; }
.ax-h3 { font: 600 clamp(26px, 2.6vw, 40px)/1.04 var(--disp); letter-spacing: -0.03em; text-wrap: balance; }
.ax-line-mask { padding: 0.06em 0.08em 0.16em 0.04em; margin: -0.06em -0.08em -0.16em -0.04em; }
.ax-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 22px; }
.ax-kicker::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 1px var(--ghost); }
.ax-head { margin-bottom: clamp(36px, 5vw, 72px); }
.ax-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.ax-sub { max-width: 44em; margin-top: clamp(26px, 2.6vw, 38px); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--fg-2); }
.ax-small { font-size: 15px; color: var(--muted); }
.ax-more { font-weight: 600; font-size: 15.5px; }
.ax-more a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }
.ax-more a::after { content: ""; width: 0.55em; height: 0.55em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s; }
.ax-more a:hover::after { transform: translateX(4px) rotate(45deg); }
.ax-tag { display: inline-block; font: 600 11.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 11px; }

.ax-pill { display: inline-block; font: 700 10.5px/1 var(--font); letter-spacing: 0.06em; border-radius: 999px; padding: 5px 8px; color: #fff; background: var(--low-fill); white-space: nowrap; }
.ax-pill-critical { background: var(--crit-fill); }
.ax-pill-high { background: var(--high-fill); }
.ax-pill-medium { background: var(--med-fill); color: #1c1400; }

.ax-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: 999px; font: 600 16.5px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.ax-btn-main { background: var(--accent); color: var(--on-accent) !important; box-shadow: inset 0 0 0 1.5px var(--accent-ink), 0 14px 40px -14px var(--orb); }
.ax-btn-main .ax-arrow { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ax-btn-main:hover .ax-arrow { transform: translate(3px, -3px); }
.ax-btn-line { box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--fg); transition: background-color 0.25s, color 0.25s; }
.ax-btn-line:hover { background: var(--fg); color: var(--bg) !important; }
.ax-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Header: a floating pill on this page ---- */
.home .site-header { background: transparent; border-bottom: 0; padding-top: 12px; pointer-events: none; }
.home .site-header .container { max-width: 1376px; padding: 0 var(--pad); }
.home .header-inner { pointer-events: auto; height: 56px; padding: 0 10px 0 18px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: var(--shade); }
.home .site-header .brand { font-family: var(--disp); letter-spacing: -0.03em; font-size: 19px; }
.home .main-nav a { font-family: var(--font); border-radius: 999px; padding: 7px 12px; }
.home .theme-toggle { border-radius: 999px; background: transparent; }

/* ---- Sections that change the page colour as you scroll ---- */
.home [data-tone] { position: relative; isolation: isolate; color: var(--fg); margin: 0 clamp(6px, 1vw, 14px); }
.ax-tone-bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); border-radius: clamp(26px, 4vw, 60px); }

/* ---- Hero ---- */
.ax-hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
.ax-hero-bg { position: absolute; inset: -90px 0 0; overflow: clip; pointer-events: none; }
.ax-hero-grid { position: absolute; inset: -10% 0 -20%;
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 72px 72px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 62% 38%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 75% 65% at 62% 38%, #000 10%, transparent 72%); }
.ax-orb { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, var(--orb), transparent); }
.ax-orb-a { width: 62vw; height: 62vw; max-width: 980px; max-height: 980px; right: -12vw; top: -8%; }
.ax-orb-b { width: 34vw; height: 34vw; left: -12vw; bottom: -6%; opacity: 0.55; }
.ax-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(28px, 4vw, 72px); align-items: center; min-height: min(calc(100svh - 170px), 860px); }
.ax-eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 600 12.5px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 14px; margin-bottom: clamp(22px, 2.6vw, 36px); background: var(--glass); }
.ax-eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.ax-live { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--ghost), 0 0 0 5px color-mix(in srgb, var(--accent) 26%, transparent); }
.ax-lead { max-width: 33em; margin-top: clamp(28px, 2.8vw, 42px); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--fg-2); }
.ax-hero .ax-cta { margin-top: clamp(26px, 2.8vw, 40px); }
.ax-note { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.ax-note a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; }

/* The scene: an inline SVG. Its default state is the last frame of the first case. */
.ax-scene { position: relative; margin: 0 auto; width: min(100%, 600px, max(320px, calc((100svh - 196px) * 0.72))); }
.ax-scene-glow { position: absolute; inset: -14% -18%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--crit-fill) 30%, transparent), transparent); opacity: 0.55; pointer-events: none; }
.ax-scene-frame { position: relative; border-radius: clamp(22px, 2.4vw, 34px); padding: clamp(8px, 1.2vw, 16px); background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); box-shadow: var(--shade); }
.ax-scene-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ax-scene-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; min-height: 34px; }
.ax-scene-pips { display: flex; gap: 6px; }
.ax-scene-pips li { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; background: var(--glass); }
.ax-scene-pips b { font: 700 11px/1 var(--mono); color: var(--fg-2); }
.ax-scene-pips li:not(.is-on) span { display: none; }
.ax-scene-pips li.is-on { color: var(--fg); border-color: var(--crit); }
.ax-scene-pips li.is-on b { color: var(--crit); }
.ax-scene-toggle { flex: none; font: 600 12.5px/1 var(--font); color: var(--fg-2); background: var(--glass); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.ax-scene-toggle:hover { color: var(--fg); border-color: var(--fg); }

.sc-lap-screen { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1.5; }
.sc-lap-base { fill: var(--line-2); }
.sc-lap-dot { fill: var(--accent-deep); }
.sc-agent { font: 650 15px var(--disp); letter-spacing: -0.02em; fill: var(--fg); }
.sc-proj { font: 500 10.5px var(--mono); fill: var(--muted); }
.sc-prompt { font: italic 400 14.5px var(--serif); fill: var(--fg-2); }
.sc-beam { stroke: var(--accent-deep); stroke-width: 1.5; stroke-dasharray: 1 6; stroke-linecap: round; }
.sc-beam-glow { stroke: var(--accent); stroke-width: 12; stroke-linecap: round; opacity: 0.14; }
.sc-gate-t { font: 600 9px var(--mono); letter-spacing: 0.14em; fill: var(--muted); text-transform: uppercase; }
.sc-node { fill: var(--accent); stroke: var(--ghost); }
.sc-node-dot { fill: var(--on-accent); }
.sc-ring { fill: none; stroke: var(--accent-deep); stroke-width: 1.5; opacity: 0; }
.sc-card-bg { fill: var(--card-2); stroke: var(--line-2); }
.sc-card-hot { display: none; fill: color-mix(in srgb, var(--crit-fill) 13%, transparent); stroke: var(--crit); stroke-width: 1.5; }
.sc-tool { font: 700 9px var(--mono); letter-spacing: 0.1em; fill: var(--muted); }
.sc-cmd { font: 500 13px var(--mono); fill: var(--fg); }
.sc-chip, .sc-knot { display: none; }
.sc-chip-bg { fill: var(--crit-fill); }
.sc-chip-t { font: 700 10.5px var(--mono); fill: #fff; }
.sc-tick { fill: var(--accent-deep); }
.sc-knot { fill: var(--crit-fill); stroke: var(--card); stroke-width: 2.5; }
.is-risk .sc-card-hot, .is-risk .sc-chip, .is-risk .sc-knot, .sc-knot-end { display: block; }
.is-risk .sc-tick, .is-bare .sc-chip { display: none; }
.sc-trail-g { display: none; }
.sc-trail-g.is-on { display: block; }
.sc-trail { fill: var(--crit-fill); }
.sc-trail-glow { fill: var(--crit-fill); opacity: 0.22; }
.sc-stamp-box { fill: color-mix(in srgb, var(--crit-fill) 12%, transparent); stroke: var(--crit); stroke-width: 2.5; }
.sc-stamp-t { font: 800 25px var(--disp); letter-spacing: 0.05em; fill: var(--crit); }
.sc-burst { fill: none; stroke: var(--crit); stroke-width: 2; opacity: 0; }
.sc-v-id { font: 700 9.5px var(--mono); letter-spacing: 0.14em; fill: var(--crit); }
.sc-v-t { font: 500 12px var(--font); fill: var(--fg-2); }
.sc-q-bg { fill: var(--bg-2); stroke: var(--line-2); }
.sc-q-h { font: 650 12.5px var(--font); fill: var(--fg); }
.sc-q-badge { fill: var(--crit-fill); }
.sc-q-badge-t { font: 700 10.5px var(--font); fill: #fff; }
.sc-row-bg { fill: var(--card-2); stroke: var(--line); }
.sc-pill { fill: var(--crit-fill); }
.sc-pill-t { font: 700 8px var(--font); letter-spacing: 0.06em; fill: #fff; }
.sc-row-t { font: 500 11.5px var(--font); fill: var(--fg); }
.sc-row-id { font: 600 10px var(--mono); fill: var(--muted); }

/* The intro waits for home.js, but never for long: if the script does not run, the text shows after 3 s. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .home:not(.ax-ready) :is([data-intro], [data-intro-title]) { opacity: 0; animation: ax-unhide 0s linear 3s forwards; }
}
@keyframes ax-unhide { to { opacity: 1; } }

/* ---- Marquee ---- */
.ax-marquee { position: relative; background: var(--accent); color: var(--on-accent); padding: 18px 0; overflow: clip; transform: rotate(-1.4deg) scale(1.03); margin: clamp(10px, 2vw, 30px) 0; }
.ax-marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; font: 600 clamp(19px, 2.3vw, 34px)/1 var(--disp); letter-spacing: -0.03em; }
.ax-marquee-track li { display: inline-flex; align-items: center; white-space: nowrap; }
.ax-marquee-track li::after { content: ""; width: 0.5em; height: 0.5em; margin: 0 0.75em; background: currentColor; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.ax-marquee.is-live .ax-marquee-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; will-change: transform; }

/* ---- Statement ---- */
.ax-manifesto { padding: var(--gap-sec) 0 calc(var(--gap-sec) * 0.8); }
.ax-statement { font: 500 clamp(30px, 4.7vw, 76px)/1.06 var(--disp); letter-spacing: -0.035em; max-width: 17.5em; text-wrap: pretty; }
.ax-statement .ax-em { font-size: 1.06em; }

/* ---- How it works: three cards that stack ---- */
.ax-how { padding: 0 0 var(--gap-sec); }
.ax-stack { display: grid; gap: 22px; }
.ax-step { position: relative; border-radius: clamp(26px, 3.4vw, 48px); background: var(--card); border: 1px solid var(--line); color: var(--fg); overflow: hidden; transform-origin: 50% 0; }
.ax-step:nth-child(2) { background: var(--card-2); }
.ax-step.ax-lime { background: var(--bg); border-color: transparent; }
.ax-step:nth-child(2) .ax-step-n { color: var(--card-2); }
.ax-step.ax-lime .ax-step-n { color: var(--bg); -webkit-text-stroke-color: var(--fg); }
.ax-step-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding: clamp(26px, 4.6vw, 72px); min-height: min(560px, 70svh); }
.ax-step-n { font: 800 clamp(64px, 9vw, 148px)/0.8 var(--disp); letter-spacing: -0.06em; color: var(--card); -webkit-text-stroke: 3px var(--line-2); paint-order: stroke fill; margin-bottom: clamp(18px, 2.4vw, 34px); }
.ax-step h3 { font: 600 clamp(38px, 5vw, 80px)/0.94 var(--disp); letter-spacing: -0.045em; }
.ax-step h3 span { display: block; font: italic 400 0.62em/1.1 var(--serif); letter-spacing: -0.01em; color: var(--fg-2); margin-top: 6px; }
.ax-step-copy > p:not(.ax-step-n):not(.ax-more) { margin-top: 22px; max-width: 30em; color: var(--fg-2); }
.ax-step-copy .ax-more { margin-top: 22px; }
.ax-step-art { position: relative; }
@media (min-width: 900px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .ax-step { position: sticky; top: 92px; }
  .ax-step:nth-child(2) { top: 108px; }
  .ax-step:nth-child(3) { top: 124px; }
}

.ax-art-collect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(56px, 0.7fr) minmax(0, 1fr); gap: 0 10px; align-items: center; }
.ax-box { display: grid; gap: 9px; padding: clamp(14px, 1.7vw, 24px); border-radius: 24px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: clamp(14px, 1.2vw, 17px); }
.ax-box b { font: 600 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ax-box span { padding: 12px 14px; border-radius: 13px; background: var(--card-2); border: 1px solid var(--line); font-weight: 550; }
.ax-box-on { border-color: var(--accent-deep); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.ax-pipe { position: relative; height: 30px; border-top: 2px dashed var(--line-2); margin-top: 28px; overflow: hidden; }
.ax-pipe em { position: absolute; left: 0; right: 0; top: 6px; text-align: center; font: 600 10.5px/1 var(--mono); letter-spacing: 0.12em; font-style: normal; color: var(--muted); }
.ax-pipe i { position: absolute; left: 0; top: -6px; width: 100%; height: 10px; opacity: 0; }
.ax-pipe i::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-deep); }
.ax-kinds { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px !important; }
.ax-kinds li { font: 500 13.5px/1 var(--mono); padding: 10px 13px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg-2); }
.is-motion .ax-pipe i { animation: ax-flow 2.4s linear infinite; }
.is-motion .ax-pipe i:nth-child(2) { animation-delay: 0.8s; }
.is-motion .ax-pipe i:nth-child(3) { animation-delay: 1.6s; }
@keyframes ax-flow { 0% { transform: translateX(-12%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }

.ax-art-score { display: grid; gap: 14px; }
.ax-plate { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; align-items: center; padding: 20px 22px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shade); }
.ax-plate:nth-child(2) { margin-left: 8%; }
.ax-plate:nth-child(3) { margin-left: 16%; }
.ax-plate i { grid-row: span 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--accent); color: var(--on-accent); font: 700 24px/1 var(--disp); font-style: normal; }
.ax-plate b { font: 600 clamp(20px, 1.9vw, 26px)/1.1 var(--disp); letter-spacing: -0.02em; }
.ax-plate span { font-size: 14.5px; color: var(--muted); }

.ax-art-review { padding: 22px; border-radius: 24px; background: #0b0c0e; color: #f4f3ee; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.ax-q-h { font: 600 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #a5a49c; margin-bottom: 14px !important; }
.ax-q { display: grid; gap: 8px; }
.ax-q li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 16px; border-radius: 14px; background: #17181c; border: 1px solid #2a2b30; font-size: 14.5px; font-weight: 550; }
.home .ax-q code { background: none; border: 0; padding: 0; color: #a5a49c; }
.ax-q-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px !important; }
.ax-q-btns span { font: 600 13px/1 var(--font); padding: 10px 14px; border-radius: 999px; border: 1px solid #3c3d43; color: #c4c3bb; }
.ax-q-btns .is-on { background: #c6ff3d; border-color: #c6ff3d; color: #0b0c06; }

/* ---- Severity ---- */
.ax-sev { padding: 0; }
.ax-sev-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: var(--gap-sec); padding-bottom: var(--gap-sec); }
.ax-laws { display: grid; gap: 4px; margin-top: clamp(28px, 3.4vw, 48px) !important; }
.ax-laws li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line-2); font: 500 clamp(19px, 1.9vw, 27px)/1.2 var(--disp); letter-spacing: -0.02em; }
.ax-laws span { font: 600 12px/1 var(--mono); color: var(--muted); }
.ax-sev .ax-more { margin-top: 26px; }
.ax-meter { --row: clamp(74px, 9.4vh, 96px); position: relative; }
.ax-levels { display: grid; gap: 10px; }
.ax-level { position: relative; height: var(--row); display: grid; align-content: center; gap: 3px; padding: 0 138px 0 30px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ax-level::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--low-fill); }
.ax-level b { font: 700 clamp(17px, 1.6vw, 22px)/1 var(--disp); letter-spacing: 0.01em; }
.ax-level span { font-size: 14px; line-height: 1.3; color: var(--fg-2); }
.ax-lv-critical::before { background: var(--crit-fill); }
.ax-lv-critical b { color: var(--crit); }
.ax-lv-high::before { background: var(--high-fill); }
.ax-lv-high b { color: var(--high-t); }
.ax-lv-medium { margin-top: 38px !important; }
.ax-lv-medium::before { background: var(--med-fill); }
.ax-lv-medium b { color: var(--med-t); }
.ax-lv-low b { color: var(--low-t); }
.ax-ceil { position: absolute; left: 0; right: 0; top: calc(var(--row) * 2 + 20px); height: 38px; display: flex; align-items: center; gap: 12px; }
.ax-ceil i { flex: 1; height: 0; border-top: 2px dashed var(--fg); transform-origin: 0 50%; }
.ax-ceil span { order: -1; font: 600 11.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.ax-tok { position: absolute; right: 14px; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 999px; font: 650 12.5px/1 var(--font); white-space: nowrap; background: var(--fg); color: var(--bg); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5); }
.ax-tok-rule { top: calc((var(--row) - 36px) / 2); }
.ax-tok-clue { top: calc(var(--row) * 2 + 58px + (var(--row) - 36px) / 2); background: var(--card-2); color: var(--fg); border: 1.5px dashed var(--fg); box-shadow: none; }
.ax-tok i { width: 12px; height: 10px; border-radius: 2.5px; background: currentColor; position: relative; margin-top: 4px; }
.ax-tok i::before { content: ""; position: absolute; left: 2px; right: 2px; bottom: 100%; height: 6px; border: 2px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }

/* ---- Detection bento ---- */
.ax-detect { padding: var(--gap-sec) 0; }
.ax-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ax-tile { position: relative; grid-column: span 4; display: flex; flex-direction: column; min-height: 300px; padding: 26px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.ax-t-a { grid-column: span 5; }
.ax-t-c, .ax-t-e, .ax-t-f { grid-column: span 3; }
.ax-t-d { grid-column: span 6; }
.ax-tile h3 { font: 600 clamp(22px, 2vw, 30px)/1.05 var(--disp); letter-spacing: -0.03em; margin-top: auto; }
.ax-tile > p:not(.ax-ids) { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--fg-2); }
.ax-tile-n { position: absolute; right: 24px; top: 22px; font: 600 12px/1 var(--mono); color: var(--muted); }
.ax-ids { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px !important; }
.home .ax-ids code { font-size: 11.5px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: transparent; border-color: var(--line-2); color: var(--fg-2); }
.ax-spot { position: absolute; left: 0; top: 0; z-index: -1; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 26%, transparent), transparent); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.ax-tile:hover .ax-spot { opacity: 1; }
.ax-art { display: flex; align-items: center; gap: 12px; height: 112px; margin-bottom: 26px; font-family: var(--mono); }
.ax-art b { font-weight: 600; }
.ax-art-secret b { font-size: 18px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); }
.ax-art-secret span { display: flex; gap: 8px; }
.ax-art-secret i { width: 13px; height: 13px; border-radius: 50%; background: var(--fg); }
.ax-art-leave { position: relative; }
.ax-art-leave i { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-deep); }
.ax-art-leave b { position: absolute; left: 58%; top: 8px; bottom: 8px; border-left: 2px dashed var(--crit); }
.ax-art-destroy i { width: 42px; height: 42px; border-radius: 11px; border: 1.5px solid var(--line-2); background: var(--card-2); }
.ax-art-destroy i:nth-child(n + 3) { border-style: dashed; border-color: var(--crit); background: transparent; }
.ax-art-inject { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.ax-art-inject i { height: 10px; width: 62%; border-radius: 4px; background: var(--line-2); }
.ax-art-inject i:nth-child(2) { width: 44%; }
.ax-art-inject i:last-child { width: 30%; }
.ax-art-inject b { font-size: 14px; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 6px; background: var(--crit-fill); color: #fff; }
.ax-art-remote b { font-size: clamp(20px, 2vw, 29px); white-space: nowrap; }
.ax-art-remote b::after { content: ""; display: inline-block; width: 0.55em; height: 1.05em; margin-left: 6px; vertical-align: -0.18em; background: var(--accent-deep); }
.ax-art-persist i { position: relative; width: 78px; height: 78px; border-radius: 50%; border: 2px solid var(--line-2); }
.ax-art-persist i::before { content: ""; position: absolute; left: 50%; top: 9px; width: 2.5px; height: 30px; margin-left: -1.25px; background: var(--fg); transform-origin: 50% 100%; border-radius: 2px; }
.ax-art-persist i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent-deep); }
.ax-art-weak i { position: relative; flex: none; width: 72px; height: 40px; border-radius: 999px; border: 2px solid var(--line-2); }
.ax-art-weak i::after { content: ""; position: absolute; left: 4px; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--crit); }
.ax-art-weak b { font-size: 17px; color: var(--fg-2); }
.ax-art-config { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.ax-art-config b { font-size: 20px; }
.ax-art-config i { font-style: normal; font-size: 15px; padding: 4px 9px; border-radius: 6px; color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.ax-art-gov { flex-wrap: wrap; align-content: center; gap: 7px; }
.ax-art-gov i { font: 600 14px/1 var(--mono); font-style: normal; padding: 8px 10px; border-radius: 999px; border: 1.5px solid var(--line-2); color: var(--fg-2); }
.ax-art-gov i:first-child { border-color: var(--ok); color: var(--ok); }
.ax-art-gov i:nth-child(2) { border-color: var(--crit); color: var(--crit); }
.is-motion .ax-art-secret i { animation: ax-blink 2.2s ease-in-out infinite; }
.is-motion .ax-art-secret i:nth-child(2n) { animation-delay: 0.25s; }
.is-motion .ax-art-secret i:nth-child(3n) { animation-delay: 0.55s; }
.is-motion .ax-art-leave i { animation: ax-leave 2.6s cubic-bezier(0.5, 0, 0.5, 1) infinite; }
.is-motion .ax-art-leave i:nth-child(2) { animation-delay: 0.3s; }
.is-motion .ax-art-leave i:nth-child(3) { animation-delay: 0.6s; }
.is-motion .ax-art-destroy i:nth-child(n + 3) { animation: ax-blink 2.4s ease-in-out infinite; }
.is-motion .ax-art-destroy i:nth-child(4) { animation-delay: 0.4s; }
.is-motion .ax-art-remote b::after { animation: ax-cursor 1.1s steps(1) infinite; }
.is-motion .ax-art-persist i::before { animation: ax-spin 6s linear infinite; }
.is-motion .ax-art-weak i::after { animation: ax-off 3.2s cubic-bezier(0.7, 0, 0.3, 1) infinite; }
@keyframes ax-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.18; } }
@keyframes ax-leave { 0% { transform: translateX(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: translateX(170px); opacity: 0; } }
@keyframes ax-cursor { 50% { opacity: 0; } }
@keyframes ax-spin { to { transform: rotate(360deg); } }
@keyframes ax-off { 0%, 20% { transform: translateX(32px); } 45%, 80% { transform: translateX(0); } 100% { transform: translateX(32px); } }

/* ---- Policy ---- */
.ax-policy { padding: 0 0 var(--gap-sec); }
.ax-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ax-mode { padding: clamp(24px, 3vw, 44px); border-radius: 32px; background: var(--card); border: 1px solid var(--line); }
.ax-mode h3 { font: 600 clamp(30px, 3.4vw, 52px)/1 var(--disp); letter-spacing: -0.04em; margin-top: 18px; }
.ax-mode > p:not(.ax-tag):not(.ax-finding) { margin-top: 14px; color: var(--fg-2); max-width: 31em; }
.ax-lane { position: relative; display: flex; align-items: center; margin-top: 34px; }
.ax-node { position: relative; z-index: 3; flex: none; font: 600 13px/1 var(--mono); padding: 13px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); }
.ax-node-on { background: var(--accent); color: var(--on-accent); border-color: transparent; box-shadow: inset 0 0 0 1px rgba(11, 12, 6, 0.2); }
.ax-node-off { color: var(--muted); border-style: dashed; background: var(--card); }
.ax-wire { flex: 1; min-width: 14px; border-top: 2px dashed var(--line-2); }
.ax-wire-cut { position: relative; border-color: var(--crit); }
.ax-wire-cut::after { content: ""; position: absolute; left: 50%; top: -9px; width: 16px; height: 16px; margin-left: -8px; background: var(--crit); clip-path: polygon(15% 0, 50% 35%, 85% 0, 100% 15%, 65% 50%, 100% 85%, 85% 100%, 50% 65%, 15% 100%, 0 85%, 35% 50%, 0 15%); }
.ax-run { position: absolute; left: 8%; right: 8%; top: 50%; height: 0; z-index: 2; pointer-events: none; }
.ax-run i { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--fg); border: 3px solid var(--card); opacity: 0; }
.ax-finding { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px !important; font-size: 15px; font-weight: 550; }
.home .ax-finding code { font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 5px 10px; background: var(--med-fill); border-color: transparent; color: #1c1400; }
.home .ax-mode-block .ax-finding code { background: var(--crit-fill); color: #fff; }
.ax-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; margin: clamp(28px, 3vw, 44px) 0 26px !important; }
.ax-notes li { padding-top: 14px; border-top: 1.5px solid var(--fg); font-size: 15.5px; color: var(--fg-2); }

/* ---- Bypass and secrets ---- */
.ax-duo-sec { padding: 0 0 var(--gap-sec); }
.ax-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ax-panel { padding: clamp(24px, 3.2vw, 48px); border-radius: 36px; background: var(--card); border: 1px solid var(--line); }
.ax-panel > p:not([class]) { margin-top: 14px; color: var(--fg-2); }
.ax-panel .ax-small { margin-top: 18px; }
.ax-panel .ax-more { margin-top: 20px; }
.ax-cover { position: relative; display: grid; gap: 8px; margin-top: 24px !important; }
.ax-cover li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14.5px; color: var(--fg-2); }
.ax-cover b { display: block; color: var(--fg); font-weight: 650; }
.ax-badge { flex: none; font: 700 11px/1 var(--mono); font-style: normal; letter-spacing: 0.06em; padding: 7px 10px; border-radius: 999px; border: 1.5px solid var(--line-2); color: var(--fg-2); }
.ax-badge-ok { border-color: var(--ok); color: var(--ok); }
.ax-badge-bad { background: var(--crit-fill); border-color: var(--crit-fill); color: #fff; }
.ax-secret { margin-top: 24px; padding: 20px; border-radius: 20px; background: #0b0c0e; color: #f4f3ee; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 12px; align-items: center; }
.ax-secret-line { font: 500 clamp(13px, 1.25vw, 16px)/1.4 var(--mono); overflow-wrap: anywhere; min-width: 0; }
.ax-secret-key { color: #a5a49c; }
.ax-secret-mask { letter-spacing: 0.04em; }
.ax-secret-value { color: #c6ff3d; }
.ax-secret-btn { font: 600 13.5px/1 var(--font); padding: 11px 16px; border-radius: 999px; border: 0; background: #c6ff3d; color: #0b0c06; cursor: pointer; }
.ax-secret-btn:focus-visible { outline-color: #fff; }
.ax-secret-log { grid-column: 1 / -1; font: 500 12.5px/1.4 var(--mono); color: #a5a49c; padding-top: 12px; border-top: 1px solid #2a2b30; }
.ax-secret.is-revealed .ax-secret-log { color: #ffd166; }

/* ---- Self-hosted (lime) ---- */
.ax-own .ax-tone-in { overflow: clip; padding: calc(var(--gap-sec) * 0.7) 0 var(--gap-sec); }
.ax-giant { display: flex; gap: 0.45em; width: max-content; font: 700 clamp(84px, 17vw, 280px)/0.86 var(--disp); letter-spacing: -0.06em; white-space: nowrap; margin-bottom: clamp(40px, 6vw, 96px) !important; padding-left: var(--pad); }
.ax-giant span:nth-child(2n) { color: var(--bg); -webkit-text-stroke: 4px var(--fg); paint-order: stroke fill; }
.ax-own-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3vw, 48px) clamp(20px, 3vw, 48px); margin-bottom: 36px !important; }
.ax-own-list li { padding-top: 18px; border-top: 2px solid var(--fg); display: grid; gap: 8px; align-content: start; }
.ax-own-list b { font: 600 clamp(20px, 1.9vw, 27px)/1.1 var(--disp); letter-spacing: -0.025em; }
.ax-own-list span { font-size: 15.5px; line-height: 1.45; color: var(--fg-2); }

/* ---- Deploy ---- */
.ax-deploy { padding: var(--gap-sec) 0 calc(var(--gap-sec) * 0.6); }
.ax-term { border-radius: 28px; background: #0b0c0e; border: 1px solid #27282c; box-shadow: var(--shade); overflow: hidden; }
.ax-term-bar { display: flex; align-items: center; gap: 7px; padding: 16px 20px 0; font: 500 12px/1 var(--mono); color: #8d8c85; }
.ax-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2f3035; }
.ax-term-bar i:first-child { background: #c6ff3d; }
.ax-term-bar span { margin-left: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.home .ax-term .code-block { margin: 0; }
.home .ax-term pre { background: transparent; box-shadow: none; border-radius: 0; padding: clamp(18px, 2.4vw, 34px) clamp(18px, 2.6vw, 36px) clamp(22px, 2.8vw, 40px); padding-right: 92px; font-size: clamp(13px, 1.55vw, 21px); line-height: 1.7; color: #f4f3ee; }
.home .ax-term pre code { color: inherit; }
.home .ax-term .copy-btn { top: 16px; right: 16px; border-radius: 999px; padding: 9px 14px; font-family: var(--font); background: #c6ff3d; color: #0b0c06; border-color: transparent; }
.home .ax-term pre:focus-visible, .home .ax-term .copy-btn:focus-visible { outline-color: #fff; }
.ax-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px !important; }
.ax-next li { padding: clamp(22px, 2.6vw, 36px); border-radius: 28px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 14px; align-content: start; justify-items: start; }
.ax-next h3 { font: 600 clamp(24px, 2.3vw, 34px)/1.05 var(--disp); letter-spacing: -0.03em; }
.ax-next p:not([class]) { color: var(--fg-2); font-size: 15.5px; }
.ax-cmd { max-width: 100%; overflow-x: auto; padding: 12px 14px; border-radius: 14px; background: #0b0c0e; }
.home .ax-cmd code { background: none; border: 0; padding: 0; color: #f4f3ee; font-size: 13px; white-space: nowrap; }

/* ---- Open source: a list of big links ---- */
.ax-open { padding: calc(var(--gap-sec) * 0.6) 0 var(--gap-sec); }
.ax-links { border-bottom: 1px solid var(--line-2); }
.ax-links a { position: relative; display: grid; grid-template-columns: 3.2em minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: clamp(20px, 2.6vw, 38px) clamp(8px, 1.6vw, 24px); border-top: 1px solid var(--line-2); text-decoration: none; isolation: isolate; transition: color 0.3s; }
.ax-links a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ax-links a:hover, .ax-links a:focus-visible { color: var(--on-accent); }
.ax-links a:hover::before, .ax-links a:focus-visible::before { transform: scaleY(1); }
.ax-link-n { font: 600 12.5px/1 var(--mono); color: var(--muted); }
.ax-links b { font: 600 clamp(26px, 4vw, 62px)/1 var(--disp); letter-spacing: -0.04em; }
.ax-link-d { font-size: 15.5px; color: var(--fg-2); max-width: 30em; }
.ax-links a:hover :is(.ax-link-n, .ax-link-d), .ax-links a:focus-visible :is(.ax-link-n, .ax-link-d) { color: inherit; }
.ax-links .ax-arrow { width: clamp(24px, 3vw, 44px); height: auto; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ax-links a:hover .ax-arrow { transform: rotate(45deg); }

/* ---- FAQ ---- */
.ax-faq-sec { padding: 0 0 var(--gap-sec); }
.ax-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.ax-faq-grid .ax-head { margin: 0; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .ax-faq-grid .ax-head { position: sticky; top: 110px; }
}
.ax-faq-grid .ax-h2 { font-size: clamp(34px, 4.2vw, 68px); }
.ax-faq-grid .ax-more { margin-top: 26px; }
.ax-faq { border-bottom: 1px solid var(--line-2); }
.ax-faq details { border-top: 1px solid var(--line-2); }
.ax-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none; font: 550 clamp(19px, 1.9vw, 26px)/1.2 var(--disp); letter-spacing: -0.02em; }
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-2);
  background: linear-gradient(var(--fg), var(--fg)) 50% 50% / 12px 1.5px no-repeat, linear-gradient(var(--fg), var(--fg)) 50% 50% / 1.5px 12px no-repeat; transition: transform 0.35s; }
.ax-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); border-color: transparent;
  background-image: linear-gradient(var(--on-accent), var(--on-accent)), linear-gradient(var(--on-accent), var(--on-accent)); }
.ax-faq details p { padding: 0 60px 26px 4px; color: var(--fg-2); max-width: 44em; }
.ax-faq details a { font-weight: 600; text-underline-offset: 3px; }

/* ---- Footer: the closing call, the link groups, the wordmark and the Liceron line as one block ---- */
.home .site-footer.ax-foot { position: relative; overflow: clip; isolation: isolate; padding: clamp(96px, 13vw, 200px) 0 clamp(14px, 1.6vw, 24px); border-top: 1px solid var(--line); background: var(--bg); color: var(--fg-2); font-size: 15.5px; }
.ax-final-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ax-orb-c { width: 90vw; height: 90vw; max-width: 1300px; max-height: 1300px; left: calc(50% - min(45vw, 650px)); bottom: -38%; }
.ax-word { position: absolute; left: 50%; bottom: 0.02em; transform: translateX(-50%); font: 800 clamp(120px, 29vw, 520px)/0.8 var(--disp); letter-spacing: -0.07em; white-space: nowrap; color: var(--bg); -webkit-text-stroke: 3px var(--line-2); paint-order: stroke fill; opacity: 0.8; }
.ax-final-in { position: relative; display: grid; justify-items: center; text-align: center; }
.ax-foot .ax-h1 { max-width: 11em; margin: 0; color: var(--fg); }
.home .ax-foot .ax-lead { margin: clamp(28px, 2.8vw, 42px) auto 0; }
.ax-foot .ax-cta { justify-content: center; margin-top: 36px; }
.ax-foot .footer-panel { max-width: 1264px; margin: clamp(64px, 9vw, 140px) auto 0; padding: clamp(26px, 3.4vw, 52px) clamp(4px, 1.4vw, 28px); border-radius: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: var(--shade); }
.ax-foot .container { max-width: none; }
.ax-foot .footer-top { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px clamp(20px, 3vw, 48px); }
.ax-foot .brand { font-family: var(--disp); font-size: 24px; letter-spacing: -0.03em; }
.ax-foot .footer-tag { font-size: 16px; color: var(--fg-2); }
.ax-foot .footer-h { font: 600 12px/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); margin-bottom: 16px; }
.ax-foot .footer-col ul { gap: 11px; }
.ax-foot .footer-col a { font: 550 clamp(16px, 1.3vw, 19px)/1.25 var(--disp); letter-spacing: -0.015em; color: var(--fg); }
.ax-foot .footer-base { position: relative; max-width: 1264px; margin: clamp(120px, 19vw, 330px) auto 0; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 13px; color: var(--fg-2); }
.ax-foot .powered-by { color: var(--fg-2); }
.ax-foot .powered-name { color: var(--fg); }
@media (max-width: 1300px) { .ax-foot .footer-panel, .ax-foot .footer-base { margin-left: var(--pad); margin-right: var(--pad); } }
@media (max-width: 760px) {
  .ax-foot .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-foot .footer-base { border-radius: 22px; justify-content: flex-start; }
}
@media (max-width: 340px) { .ax-foot .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---- Smaller screens ---- */
@media (max-width: 1100px) {
  .ax-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ax-tile, .ax-t-c, .ax-t-e, .ax-t-f { grid-column: span 3; }
  .ax-t-a, .ax-t-d { grid-column: span 6; }
  .ax-t-i { grid-column: span 6; min-height: 0; }
  .ax-links a { grid-template-columns: 2.4em minmax(0, 1fr) auto; }
  .ax-link-d { grid-column: 2; }
  .ax-links .ax-arrow { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 899px) {
  .ax-hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 44px; }
  .ax-scene { width: min(100%, 520px); }
  .ax-step-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ax-sev-grid, .ax-faq-grid, .ax-duo, .ax-modes, .ax-next { grid-template-columns: minmax(0, 1fr); }
  .ax-own-list, .ax-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.home { font-size: 16px; }
  .home .header-inner { padding: 0 8px 0 14px; height: 52px; }
  .home .main-nav a { padding: 6px 7px; }
  .ax-btn { min-height: 54px; padding: 0 22px; flex: 1 1 auto; }
  .ax-bento { grid-template-columns: minmax(0, 1fr); }
  .ax-tile, .ax-t-a, .ax-t-c, .ax-t-d, .ax-t-e, .ax-t-f, .ax-t-i { grid-column: auto; min-height: 0; }
  .ax-art { height: 84px; margin-bottom: 18px; }
  .ax-own-list, .ax-notes { grid-template-columns: minmax(0, 1fr); }
  .ax-level { padding: 0 118px 0 24px; }
  .ax-level span { font-size: 12.5px; }
  .ax-tok { right: 10px; padding: 0 10px; font-size: 11.5px; }
  .ax-ceil span { font-size: 10px; letter-spacing: 0.02em; }
  .ax-art-collect { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ax-pipe { height: 34px; width: 0; margin: 4px auto; border-top: 0; border-left: 2px dashed var(--line-2); overflow: visible; }
  .ax-pipe i { display: none; }
  .ax-pipe em { left: 12px; right: auto; top: 12px; }
  .ax-plate:nth-child(2) { margin-left: 4%; }
  .ax-plate:nth-child(3) { margin-left: 8%; }
  .ax-node { padding: 11px 9px; font-size: 12px; }
  .ax-secret { grid-template-columns: minmax(0, 1fr); }
  .ax-secret-btn { justify-self: start; }
  .ax-faq details p { padding-right: 8px; }
  .ax-scene-pips span { display: none; }
  .home .ax-term pre { padding-right: 18px; padding-top: 58px; }
}
@media (max-width: 400px) {
  .ax-h1 { font-size: 40px; }
  .ax-eyebrow { font-size: 11px; padding: 8px 11px; }
  .ax-q li { grid-template-columns: auto minmax(0, 1fr); }
  .ax-q code { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home * { transition-duration: 0.01ms !important; }
}
