/* Fonts: served from /assets/fonts (same files as the main pages, copied from Google Fonts 2026-10-08). */
@font-face{font-family:'Geist';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/geist-v5-gyByhwUxId8gMEwRGFWfOw.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Geist';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/geist-v5-gyByhwUxId8gMEwYGFWfOw.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Geist';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/geist-v5-gyByhwUxId8gMEwTGFWfOw.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Geist';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/geist-v5-gyByhwUxId8gMEwSGFWfOw.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Geist';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/geist-v5-gyByhwUxId8gMEwcGFU.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';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/geistmono-v6-or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/geistmono-v6-or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/geistmono-v6-or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/geistmono-v6-or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/geistmono-v6-or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/geistmono-v6-or3nQ6H-1_WfwkMZI_qYFrcdmg.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:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/inter-v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/inter-v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/inter-v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');unicode-range:U+1F00-1FFF}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/inter-v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/inter-v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/inter-v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/inter-v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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}

/* ------------------------------------------------------------------
   Axiom-STEM legal pages (privacy-policy.html, terms-and-conditions.html)
   Same palette as the main site: black base, the favicon's lime hexagon
   (#D8F744) and the robot's visor blue (#1E5BFF) as the second colour.
   Fonts above are served from /assets/fonts, like the main pages.
------------------------------------------------------------------- */
:root {
  --lg-bg: #000;
  --lg-panel: #0a0d0e;
  --lg-line: rgb(255 255 255 / 10%);
  --lg-line-strong: rgb(255 255 255 / 18%);
  --lg-text: #f4f7f4;
  --lg-body: rgb(244 247 244 / 74%);
  --lg-dim: rgb(244 247 244 / 52%);
  --lg-lime: #d8f744;
  --lg-viz: #1e5bff;
  --lg-viz-soft: #7cc0ff;
  --ax-display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ax-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ax-mono: 'Geist Mono', ui-monospace, 'Cascadia Code', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--lg-bg);
  color: var(--lg-text);
  font: 16px/1.75 var(--ax-text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lg-viz-soft); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lg-lime); outline-offset: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 8px 14px; background: var(--lg-lime); color: #000; font: 600 13px var(--ax-text);
}
.skip:focus { top: 12px; }

/* Reading progress: lime into visor blue, like the logo meeting the robot. */
.lg-progress {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 2px;
  background: linear-gradient(90deg, var(--lg-lime), var(--lg-viz));
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
}

/* ---------- top bar ---------- */
.lg-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgb(0 0 0 / 72%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lg-line);
}
.lg-bar__logo { display: inline-flex; }
.lg-bar__logo img { display: block; width: auto; height: 34px; }
.lg-bar__nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.lg-bar__link {
  color: var(--lg-dim); font: 500 12px/1 var(--ax-mono); letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
}
.lg-bar__link:hover, .lg-bar__link[aria-current="page"] { color: var(--lg-text); }
.lg-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px;
  border-radius: 999px; background: var(--lg-lime); color: #000;
  font: 500 13px/1 var(--ax-mono); text-decoration: none; white-space: nowrap;
  transition: box-shadow .25s, transform .25s;
}
.lg-btn:hover { box-shadow: 0 0 0 4px rgb(216 247 68 / 18%), 0 0 28px rgb(216 247 68 / 35%); }
.lg-btn--ghost { background: transparent; color: var(--lg-text); border: 1px solid var(--lg-line-strong); }
.lg-btn--ghost:hover { border-color: var(--lg-viz-soft); box-shadow: 0 0 24px rgb(30 91 255 / 35%); }
@media (max-width: 640px) {
  .lg-bar__link { display: none; }
  .lg-bar__logo img { height: 28px; }
}

/* ---------- hero ---------- */
.lg-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 9vw, 120px) clamp(16px, 4vw, 48px) clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--lg-line);
}
/* Honeycomb drawn from the logo's own hexagon, fading out to the right. */
.lg-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0L56 16.2V48.5L28 64.7L0 48.5V16.2ZM28 64.7V97' fill='none' stroke='%23d8f744' stroke-opacity='.14'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000 0%, transparent 70%);
}
.lg-hero::after {
  content: ''; position: absolute; z-index: -1; right: -10%; top: -40%;
  width: min(760px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(30 91 255 / 30%) 0%, rgb(216 247 68 / 6%) 45%, transparent 70%);
  filter: blur(10px);
}
.lg-hero__inner { width: min(1180px, 100%); margin: 0 auto; }
.lg-crumbs { margin: 0 0 22px; }
.lg-crumbs ol { display: flex; gap: 9px; margin: 0; padding: 0; list-style: none; color: var(--lg-dim); font: 11px/1.5 var(--ax-mono); }
.lg-crumbs li + li::before { content: '/'; margin-right: 9px; color: var(--lg-lime); }
.lg-crumbs a { color: inherit; text-decoration: none; }
.lg-crumbs a:hover { color: var(--lg-text); }
.lg-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 6px 12px; border: 1px solid var(--lg-line-strong); border-radius: 999px;
  color: var(--lg-lime); font: 500 11px/1 var(--ax-mono); letter-spacing: .12em; text-transform: uppercase;
}
.lg-eyebrow svg { width: 14px; height: 14px; }
.lg-hero h1 {
  max-width: 14ch; margin: 22px 0 18px;
  font: 500 clamp(44px, 8vw, 104px)/.98 var(--ax-display); letter-spacing: -.035em;
}
.lg-hero h1 span {
  background: linear-gradient(100deg, var(--lg-lime) 10%, #fff 55%, var(--lg-viz-soft) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lg-hero__lead { max-width: 62ch; margin: 0; color: var(--lg-body); font-size: clamp(16px, 1.4vw, 19px); }
.lg-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 0; list-style: none;
  color: var(--lg-dim); font: 12px/1.5 var(--ax-mono); letter-spacing: .04em; text-transform: uppercase;
}
.lg-meta b { color: var(--lg-text); font-weight: 500; }

/* ---------- summary cards ---------- */
.lg-glance {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  width: min(1180px, calc(100% - 2 * clamp(16px, 4vw, 48px))); margin: clamp(36px, 5vw, 56px) auto 0;
}
.lg-card {
  position: relative; padding: 22px 22px 24px; border: 1px solid var(--lg-line);
  border-radius: 14px; background: linear-gradient(180deg, rgb(255 255 255 / 3%), transparent 70%), var(--lg-panel);
}
.lg-card__icon {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px;
  border-radius: 10px; background: rgb(216 247 68 / 10%); color: var(--lg-lime);
}
.lg-card:nth-child(2) .lg-card__icon { background: rgb(30 91 255 / 16%); color: var(--lg-viz-soft); }
.lg-card__icon svg { width: 20px; height: 20px; }
.lg-card h2,
.lg-card h3 { margin: 0 0 6px; font: 500 18px/1.3 var(--ax-display); }
.lg-card p { margin: 0; color: var(--lg-body); font-size: 14.5px; line-height: 1.65; }
@media (max-width: 860px) { .lg-glance { grid-template-columns: 1fr; } }

/* ---------- body: contents rail + sections ---------- */
.lg-body {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px);
  width: min(1180px, calc(100% - 2 * clamp(16px, 4vw, 48px))); margin: clamp(48px, 7vw, 88px) auto;
}
.lg-toc { position: sticky; top: 96px; align-self: start; }
.lg-toc__title {
  margin: 0 0 14px; color: var(--lg-dim); font: 500 11px/1 var(--ax-mono);
  letter-spacing: .12em; text-transform: uppercase;
}
.lg-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--lg-line); }
.lg-toc a {
  position: relative; display: flex; gap: 12px; padding: 7px 0 7px 16px;
  color: var(--lg-dim); font-size: 14px; line-height: 1.4; text-decoration: none;
  transition: color .2s;
}
.lg-toc a span { color: inherit; font: 11px/1.9 var(--ax-mono); opacity: .7; }
.lg-toc a::before {
  content: ''; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 2px;
  background: var(--lg-lime); transform: scaleY(0); transition: transform .25s;
}
.lg-toc a:hover { color: var(--lg-text); }
.lg-toc a.is-active { color: var(--lg-text); }
.lg-toc a.is-active::before { transform: scaleY(1); }

.lg-doc section { padding: 0 0 clamp(30px, 4vw, 44px); margin: 0 0 clamp(30px, 4vw, 44px); border-bottom: 1px solid var(--lg-line); }
.lg-doc section:last-of-type { border-bottom: 0; }
.lg-doc h2 {
  display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px;
  font: 500 clamp(24px, 2.4vw, 32px)/1.2 var(--ax-display); letter-spacing: -.015em;
}
.lg-doc h2 span { flex: none; color: var(--lg-lime); font: 500 12px/1 var(--ax-mono); letter-spacing: .08em; }
.lg-doc p, .lg-doc li { color: var(--lg-body); }
.lg-doc p { margin: 0 0 14px; }
.lg-doc ul { margin: 0 0 14px; padding: 0; list-style: none; }
.lg-doc li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.lg-doc li::before {
  content: ''; position: absolute; left: 2px; top: .72em; width: 7px; height: 8px;
  background: var(--lg-lime); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.lg-doc strong { color: var(--lg-text); font-weight: 600; }
.lg-doc code {
  padding: 2px 7px; border: 1px solid var(--lg-line); border-radius: 6px;
  background: var(--lg-panel); color: var(--lg-text); font: 13px var(--ax-mono);
}

/* contact card at the end of each page */
.lg-contact {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 8px;
  overflow: hidden; border: 1px solid var(--lg-line); border-radius: 14px; background: var(--lg-line);
}
.lg-contact a {
  display: block; padding: 18px 20px; background: var(--lg-panel); color: var(--lg-text); text-decoration: none;
  transition: background .2s;
}
.lg-contact a:hover { background: #10161a; }
.lg-contact small {
  display: block; margin-bottom: 4px; color: var(--lg-dim); font: 500 11px/1.4 var(--ax-mono);
  letter-spacing: .1em; text-transform: uppercase;
}
.lg-contact b { font-weight: 500; font-size: 15px; word-break: break-word; }

@media (max-width: 900px) {
  .lg-body { grid-template-columns: 1fr; }
  .lg-toc { position: static; }
  .lg-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; gap: 0 16px; }
  .lg-toc a { padding-left: 0; }
  .lg-toc a::before { display: none; }
  .lg-contact { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .lg-toc ol { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.lg-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  padding: 26px clamp(16px, 4vw, 48px); border-top: 1px solid var(--lg-line);
  color: var(--lg-dim); font: 12px/1.5 var(--ax-mono);
}
.lg-foot nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.lg-foot a { color: var(--lg-dim); text-decoration: none; }
.lg-foot a:hover, .lg-foot a[aria-current="page"] { color: var(--lg-lime); }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .lg-rise { opacity: 0; transform: translateY(18px); animation: lg-rise .8s cubic-bezier(.16, 1, .3, 1) forwards; }
  .lg-rise:nth-child(2) { animation-delay: .08s; }
  .lg-rise:nth-child(3) { animation-delay: .16s; }
  .lg-rise:nth-child(4) { animation-delay: .24s; }
  .lg-rise:nth-child(5) { animation-delay: .32s; }
  @keyframes lg-rise { to { opacity: 1; transform: none; } }
}
