/* ==========================================================================
   HYVE Aurora — the HYVE Labs design system (2026 overhaul)

   Airy day surfaces, a deep night sky for the story, one gradient
   (cyan → blue → indigo → violet) for emphasis and a honey spark from the
   HYVE mark. Inter for everything that reads, JetBrains Mono for data.
   Loaded last on every page: the landing page uses it alone; other pages
   layer it over the Night Hive system (runtime/system/hive.css), whose
   palette has been migrated to these tokens.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/night-hive/fonts/Inter-Variable-latin.woff2?v=3100e775e8616cd2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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";
  src: url("/night-hive/fonts/Inter-Variable-latin-ext.woff2?v=34b9c504cab7a73e") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Display: the same variable file pinned to a heavy weight, so every rule
   that asks for the display face gets it without restating a weight. */
@font-face {
  font-family: "Inter Display";
  src: url("/night-hive/fonts/Inter-Variable-latin.woff2?v=3100e775e8616cd2") format("woff2");
  font-weight: 700 820;
  font-style: normal;
  font-display: swap;
  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: "JetBrains Mono";
  src: url("/night-hive/fonts/JetBrainsMono-Regular.ttf?v=a4d589ee467f6574") format("truetype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --au-day: #f7faff;
  --au-day-2: #eef3fc;
  --au-day-3: #e4ebf8;
  --au-surface: #ffffff;
  --au-ink: #0a0f1f;
  --au-ink-2: #151b35;
  --au-body: #4a5368;
  --au-muted: #667085;
  --au-line: rgba(10, 15, 31, 0.08);
  --au-line-2: rgba(10, 15, 31, 0.14);
  --au-night: #05060d;
  --au-night-2: #0a0d1f;
  --au-night-3: #12163a;
  --au-on-night: #f4f6ff;
  --au-on-night-body: #b8bfd6;
  --au-on-night-muted: #8a92ae;
  --au-line-night: rgba(157, 147, 255, 0.16);
  --au-blue: #1486ff;
  --au-indigo: #5b47ff;
  --au-violet: #9a3bf0;
  --au-cyan: #1dc4f2;
  --au-honey: #f5a524;
  --au-indigo-text: #4433e6;
  --au-indigo-soft: #aaa3ff;
  --au-success: #16a34a;
  --au-grad: linear-gradient(100deg, #0b9fdc 0%, #1f63ff 40%, #5b3cf2 72%, #9a3bf0 100%);
  --au-grad-night: linear-gradient(100deg, #64e1ff 0%, #7aa2ff 38%, #a894ff 70%, #d59bff 100%);
  --au-radius-sm: 10px;
  --au-radius: 16px;
  --au-radius-lg: 24px;
  --au-shadow: 0 1px 2px rgba(10, 15, 31, 0.04), 0 10px 30px -12px rgba(31, 40, 110, 0.16);
  --au-shadow-lg: 0 40px 90px -40px rgba(40, 36, 140, 0.45);
  --au-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --au-shell: 1200px;
  --au-gutter: clamp(20px, 4vw, 48px);
  --au-head: 68px;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---- Base ----------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--au-head) + 16px); }
body.au-page {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
}
/* The page colour lives on <html> so the fixed sky and swarm layers
   (negative z-index) paint above it and below the content. */
body.au-page, body.au-page--home {
  margin: 0;
  color: var(--au-body);
  background: transparent;
  overflow-x: clip;
}
html:has(body.au-page) { background: var(--au-day); }
.au-page *, .au-page *::before, .au-page *::after { box-sizing: border-box; }
.au-page img { max-width: 100%; }
.au-page ::selection { background: rgba(91, 71, 255, 0.22); color: inherit; }
.au-page :focus-visible { outline: 2px solid var(--au-indigo); outline-offset: 3px; border-radius: 6px; }

.nh-skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--au-ink); color: #fff; font: 600 14px var(--font-sans); text-decoration: none;
  transition: top 0.2s var(--au-ease);
}
.nh-skip:focus { top: 12px; }

/* ---- Masthead ------------------------------------------------------------- */
.au-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(247, 250, 255, 0.74);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
html.hx-scrolled .au-head { border-bottom-color: var(--au-line); }
.au-head__inner {
  max-width: calc(var(--au-shell) + 2 * var(--au-gutter));
  margin: 0 auto;
  padding: 0 var(--au-gutter);
  height: var(--au-head);
  display: flex; align-items: center; gap: 20px;
}
.au-head__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.au-head__mark { display: block; height: 26px; width: auto; }
.au-head__mark--night { display: none; }
.au-head__nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.au-head__nav a {
  font: 500 15px/1 var(--font-sans); letter-spacing: -0.005em;
  color: #3b4358; text-decoration: none;
  padding: 10px 14px; border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.au-head__nav a:hover { color: var(--au-ink); background: rgba(10, 15, 31, 0.05); }
.au-head__nav a[aria-current="page"] { color: var(--au-ink); background: rgba(91, 71, 255, 0.09); }
.au-head__cta {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  font: 600 14.5px/1 var(--font-sans); letter-spacing: -0.005em;
  color: #fff; background: var(--au-ink);
  padding: 12px 16px; border-radius: 10px; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 6px 16px -8px rgba(10, 15, 31, 0.6);
  transition: transform 0.25s var(--au-ease), box-shadow 0.25s ease, background-color 0.2s ease;
}
.au-head__cta:hover { transform: translateY(-1px); background: var(--au-ink-2); box-shadow: 0 12px 26px -10px rgba(54, 40, 190, 0.55); }
.au-head__cta--menu { display: none; }
.nh-menu-toggle { display: none; }

html.hx-head-night .au-head,
html.sw-head-night .au-head { background: rgba(7, 9, 22, 0.86); border-bottom-color: rgba(157, 147, 255, 0.12); }
html.hx-head-night .au-head__mark--day, html.sw-head-night .au-head__mark--day { display: none; }
html.hx-head-night .au-head__mark--night, html.sw-head-night .au-head__mark--night { display: block; }
html.hx-head-night .au-head__nav a, html.sw-head-night .au-head__nav a { color: var(--au-on-night-body); }
html.hx-head-night .au-head__nav a:hover, html.sw-head-night .au-head__nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
html.hx-head-night .au-head__nav a[aria-current="page"], html.sw-head-night .au-head__nav a[aria-current="page"] { color: #fff; background: rgba(157, 147, 255, 0.16); }
html.hx-head-night .au-head__cta, html.sw-head-night .au-head__cta { color: var(--au-ink); background: #fff; }
html.hx-head-night .au-head__cta:hover, html.sw-head-night .au-head__cta:hover { background: #eef1ff; }
html.hx-head-night body.au-page .au-head .nh-menu-toggle, html.sw-head-night body.au-page .au-head .nh-menu-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.18); }

@media (max-width: 860px) {
  :root { --au-head: 60px; }
  .au-head__mark { height: 23px; }
  body.au-page .au-head .nh-menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    min-height: 40px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--au-line-2); background: transparent; color: var(--au-ink);
    font: 600 14px var(--font-sans); letter-spacing: normal; text-transform: none; cursor: pointer; white-space: nowrap;
  }
  .nh-menu-toggle__mark { display: inline-grid; gap: 4px; width: 16px; }
  .nh-menu-toggle__mark span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--au-ease); }
  .nh-menu-toggle[aria-expanded="true"] .nh-menu-toggle__mark span:first-child { transform: translateY(2.75px) rotate(45deg); }
  .nh-menu-toggle[aria-expanded="true"] .nh-menu-toggle__mark span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
  .au-head__inner > .au-head__cta { display: none; }
  .au-head__nav {
    position: fixed; left: 0; right: 0; top: var(--au-head);
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 12px var(--au-gutter) 28px;
    background: rgba(247, 250, 255, 0.98);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--au-line);
    box-shadow: 0 30px 60px -30px rgba(10, 15, 31, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.3s var(--au-ease), transform 0.4s var(--au-ease), visibility 0s linear 0.3s;
  }
  .au-head__nav[data-mobile-open="true"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .au-head__nav a { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; padding: 16px 10px; border-radius: 12px; color: var(--au-ink); }
  .au-head__cta--menu { display: flex; justify-content: center; margin-top: 12px; padding: 16px; font-size: 16px; color: #fff !important; background: var(--au-ink) !important; }
  html.hx-head-night .au-head__nav, html.sw-head-night .au-head__nav { background: rgba(8, 9, 22, 0.98); border-bottom-color: rgba(157, 147, 255, 0.14); }
  html.hx-head-night .au-head__nav a, html.sw-head-night .au-head__nav a { color: #fff; }
  html.hx-head-night .au-head__cta--menu, html.sw-head-night .au-head__cta--menu { color: var(--au-ink) !important; background: #fff !important; }
}

/* ---- Buttons & links ------------------------------------------------------ */
.sw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 12px;
  font: 600 16px/1 var(--font-sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  color: #fff; background: var(--au-ink); border: 1px solid var(--au-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 12px 28px -14px rgba(10, 15, 31, 0.7);
  transition: transform 0.3s var(--au-ease), box-shadow 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}
.sw-btn span { transition: transform 0.3s var(--au-ease); }
.sw-btn:hover { transform: translateY(-2px); background: var(--au-ink-2); box-shadow: 0 18px 36px -14px rgba(54, 40, 190, 0.6); }
.sw-btn:hover span { transform: translateX(3px); }
.sw-btn--quiet { color: var(--au-ink); background: rgba(255, 255, 255, 0.7); border-color: var(--au-line-2); box-shadow: none; }
.sw-btn--quiet:hover { background: #fff; box-shadow: var(--au-shadow); }
.sw-btn--quiet:hover span { transform: translateY(2px); }
.sw-btn--light { color: var(--au-ink); background: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 18px 50px -12px rgba(120, 110, 255, 0.55); }
.sw-btn--light:hover { background: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08), 0 24px 60px -12px rgba(120, 110, 255, 0.75); }
.sw-btn--glass { color: #fff; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sw-btn--glass:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.sw-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font: 600 15px var(--font-sans); color: var(--au-indigo-text); text-decoration: none;
}
.sw-link span { transition: transform 0.3s var(--au-ease); }
.sw-link:hover span { transform: translateX(4px); }
[data-mood="night"] .sw-link { color: var(--au-indigo-soft); }
[data-mood="night"] .sw-link:hover { color: #fff; }

/* ---- Landing page: sky, swarm layer, labels ----------------------------------- */
.sw-sky { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.sw-sky__day, .sw-sky__night { position: absolute; inset: 0; }
.sw-sky__day {
  background:
    radial-gradient(1100px 720px at 82% 26%, rgba(91, 71, 255, 0.11), transparent 62%),
    radial-gradient(900px 620px at 6% -4%, rgba(20, 134, 255, 0.09), transparent 60%),
    var(--au-day);
}
/* The honeycomb. Live pages draw it in WebGL (it follows the pointer, ripples
   on a click and scrolls at half speed); this still version is the fallback
   for reduced motion, Save-Data and browsers without WebGL2. */
.sw-sky__day::after, .sw-sky__night::after {
  content: ""; position: absolute; inset: 0;
  background-size: 110.85px 64px;
  -webkit-mask-image: radial-gradient(1200px 820px at 68% 32%, #000 18%, transparent 82%);
  mask-image: radial-gradient(1200px 820px at 68% 32%, #000 18%, transparent 82%);
}
.sw-sky__day::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110.85' height='64'%3E%3Cpath d='M0 32H18.475L36.95 0H73.9L92.375 32H110.85M18.475 32L36.95 64H73.9L92.375 32' fill='none' stroke='%230a0f1f' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E"); }
.sw-sky__night::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110.85' height='64'%3E%3Cpath d='M0 32H18.475L36.95 0H73.9L92.375 32H110.85M18.475 32L36.95 64H73.9L92.375 32' fill='none' stroke='%239d93ff' stroke-opacity='.1' stroke-width='1'/%3E%3C/svg%3E"); }
html.sw-lattice .sw-sky__day::after, html.sw-lattice .sw-sky__night::after { display: none; }
.sw-sky__night {
  opacity: 0;
  background:
    radial-gradient(1000px 760px at 74% 38%, rgba(83, 64, 255, 0.30), transparent 62%),
    radial-gradient(760px 620px at 12% 82%, rgba(20, 134, 255, 0.17), transparent 62%),
    radial-gradient(600px 420px at 50% 110%, rgba(154, 59, 240, 0.18), transparent 70%),
    linear-gradient(180deg, #070a1c 0%, #05060d 100%);
}
html.sw-live .sw-sky__night { opacity: var(--sw-night, 0); }
.sw-layer { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.sw-layer__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sw-anchors { position: absolute; inset: 0; overflow: hidden; }
.sw-anchor {
  position: absolute; left: 0; top: 0;
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  font: 600 12.5px/1 var(--font-sans); letter-spacing: -0.005em;
  color: var(--au-ink); background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--au-line);
  box-shadow: 0 8px 20px -10px rgba(31, 40, 110, 0.35);
  opacity: 0; transition: opacity 0.45s ease, background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}
html.sw-dark .sw-anchor { color: #eef0ff; background: rgba(14, 17, 42, 0.8); border-color: rgba(157, 147, 255, 0.22); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* The hub of a formation (HYVE Labs, HYVE Command): the one label that leads. */
.sw-anchor.sw-anchor--primary, html.sw-dark .sw-anchor.sw-anchor--primary {
  z-index: 2; padding: 9px 15px 9px 13px; font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em;
  color: #fff; background: var(--au-grad); border-color: transparent;
  box-shadow: 0 0 0 4px rgba(91, 71, 255, 0.14), 0 12px 30px -10px rgba(76, 58, 255, 0.8);
}
.sw-anchor--primary::before { content: "⬢"; margin-right: 7px; font-size: 11px; color: #ffd27a; }
html.sw-dark .sw-anchor.sw-anchor--primary { box-shadow: 0 0 0 5px rgba(157, 147, 255, 0.16), 0 0 34px -4px rgba(120, 100, 255, 0.85); }
/* Twelve specialists: smaller callouts so the ring reads as one system. */
.sw-anchor.sw-anchor--minor { padding: 5px 9px; font-size: 11.5px; font-weight: 600; }
.sw-anchor.sw-anchor--honey, html.sw-dark .sw-anchor.sw-anchor--honey { padding: 5px 10px; font-size: 11.5px; font-weight: 700; color: #1a1405; background: #f5b53d; border-color: transparent; box-shadow: 0 8px 22px -10px rgba(245, 165, 36, 0.9); }

[data-swarm-story] { position: relative; }
.sw-shell { max-width: calc(var(--au-shell) + 2 * var(--au-gutter)); margin: 0 auto; padding: 0 var(--au-gutter); }
/* Without the live sky (reduced motion, no WebGL) night sections carry their own. */
[data-swarm-story] [data-mood="night"], [data-swarm-story][data-mood="night"] { color: var(--au-on-night-body); background: linear-gradient(180deg, #070a1c 0%, #05060d 60%, #070a1c 100%); }
html.sw-live [data-swarm-story] [data-mood], html.sw-live [data-swarm-story][data-mood] { background: transparent; }
.sw-grad {
  background: var(--au-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em; margin-bottom: -0.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
[data-mood="night"] .sw-grad { background-image: var(--au-grad-night); }

/* Stills (server-rendered): shown until the live swarm takes over. */
.sw-figure { margin: 0; position: relative; }
.sw-figure .nh-stage__frame { position: relative; }
.sw-figure .nh-stage__still { display: block; width: 100%; height: auto; }
.sw-figcap { display: none; }
html.sw-live [data-swarm-story] .sw-figure { visibility: hidden; }

/* Reveal (only for blocks still below the fold when the swarm starts). */
.sw-hidden { opacity: 0; transform: translateY(28px); }
.sw-shown { opacity: 1; transform: none; transition: opacity 0.9s var(--au-ease), transform 1.1s var(--au-ease); }

/* ---- Hero -------------------------------------------------------------------- */
.sw-hero { min-height: calc(100svh - var(--au-head)); display: flex; align-items: center; padding: clamp(48px, 7vh, 96px) 0 clamp(56px, 9vh, 110px); }
.sw-hero__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.sw-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 30px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  font: 500 13.5px/1 var(--font-sans); color: #414a60;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--au-line); box-shadow: var(--au-shadow);
}
.sw-pill strong { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; color: #fff; background: var(--au-ink); font-weight: 600; }
.sw-pill__dot { order: 2; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); margin-left: -2px; }
.sw-pill strong { order: 1; }
.sw-pill > span:last-child { order: 3; }
.sw-hero__title { margin: 0; }
.sw-hero__kicker {
  display: block; margin: 0 0 20px;
  font: 600 13px/1.4 var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--au-indigo-text);
}
.sw-hero__line {
  display: block;
  font-family: var(--font-display); font-weight: 780;
  font-size: clamp(2.9rem, 5.9vw, 5.6rem); line-height: 0.98; letter-spacing: -0.048em;
  color: var(--au-ink);
}
.sw-hero__line + .sw-hero__line { margin-top: 0.06em; }
.sw-home .sw-hero__line { font-size: clamp(2.6rem, 4.65vw, 4.5rem); }
.sw-lead { margin: 30px 0 0; max-width: 33em; font: 400 clamp(1.06rem, 1.3vw, 1.24rem)/1.62 var(--font-sans); color: var(--au-body); }
/* The hive's outer ring reaches to ~47.6vw; the lead stops short of it at every width. */
@media (min-width: 901px) {
  .sw-hero .sw-lead { max-width: min(33em, calc(47.6vw - max(var(--au-gutter), 50vw - 600px) - 20px)); }
}
.sw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.sw-actions--center { justify-content: center; }
.sw-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 26px 0 0; font: 500 14px/1.3 var(--font-sans); color: #4a5368; }
.sw-checks li { display: inline-flex; align-items: center; gap: 8px; }
.sw-checks li::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 auto;
  background: var(--au-success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sw-figure--hero { align-self: center; }

/* ---- Story chapters ------------------------------------------------------------ */
.sw-story { padding: 14vh 0 8vh; }
.sw-story__intro { margin: 0 0 4vh; font: 500 15px/1.5 var(--font-sans); color: var(--au-on-night-body); }
.sw-story__intro .sw-grad { font-weight: 600; }
.sw-chapter {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 6vh 0;
}
.sw-chapter__copy { max-width: 540px; padding: 4vh 0; }
/* With the live swarm, every chapter gets a full screen to form in. */
html.sw-live .sw-story { padding: 26vh 0 10vh; }
html.sw-live .sw-story--first { padding-top: 30vh; }
html.sw-live .sw-story__intro { margin-bottom: 6vh; }
html.sw-live .sw-chapter { min-height: 112vh; padding: 0; }
html.sw-live .sw-chapter__copy { padding: 8vh 0; }
.sw-eyebrow, p.sw-eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0;
  font: 500 1.06rem/1.3 var(--font-sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: #3f475d;
}
.sw-eyebrow span { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.08em; color: var(--au-muted); }
.sw-eyebrow i { display: block; width: 34px; height: 1px; background: currentColor; opacity: 0.45; }
.sw-eyebrow--center { justify-content: center; }
[data-mood="night"] .sw-eyebrow, [data-mood="night"] p.sw-eyebrow { color: var(--au-on-night-body); }
[data-mood="night"] .sw-eyebrow span { color: var(--au-on-night-muted); }
.sw-chapter h2, .sw-colony h2, .sw-finale h2, .sw-faq h2 {
  margin: 22px 0 20px;
  font-family: var(--font-display); font-weight: 760;
  font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -0.042em;
  color: var(--au-ink);
}
[data-mood="night"] h2 { color: var(--au-on-night); }
.sw-chapter p:not(.sw-eyebrow), .sw-colony__copy > p:not(.sw-eyebrow) { margin: 0; font: 400 1.1rem/1.66 var(--font-sans); }
[data-mood="night"] .sw-chapter p:not(.sw-eyebrow) { color: var(--au-on-night-body); }

.sw-card {
  margin-top: 28px; padding: 18px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid var(--au-line); box-shadow: var(--au-shadow);
}
[data-mood="night"] .sw-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border-color: rgba(157, 147, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sw-card--quote { display: flex; gap: 16px; align-items: flex-start; }
.sw-card--quote p { font-size: 1.02rem !important; color: var(--au-on-night-body); }
.sw-card--quote strong { color: var(--au-on-night); font-weight: 600; }
.sw-card__icon { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-size: 18px; color: #fff; background: linear-gradient(135deg, #1688ff, #8c35f2); box-shadow: 0 8px 20px -8px rgba(91, 71, 255, 0.8); }

.sw-ways { list-style: none; display: grid; gap: 2px; padding: 8px; }
.sw-ways li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline; padding: 12px 12px; border-radius: 12px; transition: background-color 0.25s ease; }
.sw-ways li:hover { background: rgba(157, 147, 255, 0.08); }
.sw-ways b { font: 600 15px var(--font-sans); color: #fff; }
.sw-ways b::before { content: "⬢"; margin-right: 8px; font-size: 12px; background: var(--au-grad-night); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sw-ways span { font-size: 14.5px; line-height: 1.5; color: var(--au-on-night-body); }

.sw-queue { padding: 8px; }
.sw-queue__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; margin: 0; font: 600 13px var(--font-sans) !important; color: #fff !important; border-bottom: 1px solid rgba(157, 147, 255, 0.14); }
.sw-queue__head em { margin-left: auto; font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; font-style: normal; color: var(--au-on-night-muted); }
.sw-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: sw-ping 2.4s ease-out infinite; }
@keyframes sw-ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } }
.sw-queue__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; font-size: 14px; color: var(--au-on-night-body); border-radius: 10px; }
.sw-queue__row + .sw-queue__row { border-top: 1px solid rgba(157, 147, 255, 0.08); }
.sw-queue__row b { color: #fff; font-weight: 600; }
.sw-tag { flex: 0 0 auto; font: 600 12px/1 var(--font-sans); font-style: normal; padding: 7px 10px; border-radius: 8px; color: var(--au-on-night-body); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.sw-tag--done { color: #6ee7b7; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); }
.sw-tag--ask { color: #fff; background: linear-gradient(135deg, #1688ff, #8c35f2); border-color: transparent; box-shadow: 0 8px 20px -8px rgba(91, 71, 255, 0.9); }

/* A checked stepper: one green check per step, joined by a thin line. */
.sw-steps { list-style: none; display: grid; gap: 0; padding: 12px 18px; }
.sw-steps li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; row-gap: 3px; padding: 12px 0; }
.sw-steps li::before {
  content: ""; grid-row: 1 / span 2; position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%;
  background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.4l2.9 2.9 5.9-6.6' fill='none' stroke='white' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16), 0 8px 18px -8px rgba(34, 197, 94, 0.9);
}
.sw-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 13.25px; top: 46px; bottom: -10px; width: 1.5px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.6), rgba(34, 197, 94, 0.14));
}
.sw-steps b { grid-column: 2; align-self: end; font: 600 16px/1.3 var(--font-sans); letter-spacing: -0.01em; color: var(--au-ink); }
.sw-steps em { grid-column: 2; font-style: normal; font-size: 14.5px; line-height: 1.5; color: var(--au-body); }
[data-mood="night"] .sw-steps b { color: #fff; }
[data-mood="night"] .sw-steps em { color: var(--au-on-night-body); }
.sw-note { margin-top: 14px !important; font-size: 13px !important; line-height: 1.5 !important; color: var(--au-on-night-muted) !important; }

.sw-quote { margin-left: 0; margin-right: 0; }
.sw-quote blockquote { margin: 0; font: 500 1.28rem/1.45 var(--font-sans); letter-spacing: -0.015em; color: #fff; }
.sw-quote figcaption { margin-top: 12px; font-size: 13.5px; color: var(--au-on-night-muted); }
.sw-quote figcaption b { color: var(--au-on-night-body); font-weight: 600; }

.sw-brands { padding: 4vh 0 0; text-align: center; }
.sw-brands > p { margin: 0 0 22px; font: 600 12px var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--au-on-night-muted); }
.sw-brands > .sw-note { margin-top: 18px !important; }
.sw-brands__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sw-brands__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; list-style: none; margin: 0; padding: 0; }
.sw-brands__row img { display: block; height: 26px; width: auto; max-width: 130px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.5; transition: opacity 0.3s ease; }
.sw-brands__row li.is-mark img { height: 30px; max-width: 60px; }
.sw-brands__row img:hover { opacity: 0.95; }
/* Vans keeps its lettering: invert the badge instead of flattening it to a block. */
.sw-brands__row img[src*="/vans.svg"] { filter: grayscale(1) invert(1) contrast(1.4); }

/* ---- The colony (physics) --------------------------------------------------------- */
/* The whole section fits one screen: words and list on the left, the physics
   stage on the right. */
.sw-colony { padding: 18vh 0 14vh; position: relative; }
html.sw-live .sw-colony { box-sizing: border-box; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--au-head) + 3vh) 0 4vh; }
.sw-colony__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr); gap: clamp(24px, 3.4vw, 56px); align-items: center; }
.sw-colony h2 { margin: 18px 0 16px; font-size: clamp(2.1rem, 3.6vw, 3.3rem); }
.sw-colony__copy > p:not(.sw-eyebrow) { color: var(--au-body); max-width: 31em; font-size: 1.06rem; }
.sw-colony__list {
  position: relative; z-index: 1; list-style: none; margin: 24px 0 0; padding: 6px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  border-radius: 20px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--au-line); box-shadow: var(--au-shadow);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sw-colony__list li:nth-child(n + 3) { border-top: 1px solid var(--au-line); }
.sw-colony__list li:nth-child(even) { border-left: 1px solid var(--au-line); }
.sw-colony__list a { position: relative; height: 100%; box-sizing: border-box; display: grid; grid-template-columns: 18px minmax(0, 1fr); grid-template-rows: auto auto; gap: 3px 11px; align-items: start; padding: 13px 14px 14px 13px; border-radius: 14px; text-decoration: none; transition: background-color 0.25s ease; }
.sw-colony__list a::before {
  content: ""; grid-row: 1 / span 2; margin-top: 1px; width: 17px; height: 19px; background: var(--c, var(--au-indigo));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
/* The open cell: white with a dashed indigo rim, like its 3D twin. */
.sw-colony__list li:last-child a::before {
  clip-path: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 19'%3E%3Cpath d='M8.5 1.2l6.6 3.8v8.9l-6.6 3.9-6.6-3.9V5z' fill='white' stroke='%235b47ff' stroke-width='1.5' stroke-dasharray='2.6 1.9' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sw-colony__list b { font: 650 15.5px/1.25 var(--font-sans); letter-spacing: -0.01em; color: var(--au-ink); }
.sw-colony__list b::after { content: "→"; margin-left: 6px; color: var(--au-muted); font-weight: 500; opacity: 0.55; display: inline-block; transition: transform 0.3s var(--au-ease), color 0.2s ease, opacity 0.2s ease; }
.sw-colony__list span { grid-column: 2; font-size: 13.5px; line-height: 1.45; color: var(--au-body); }
.sw-colony__list a:hover, .sw-colony__list li.is-hot a { background: rgba(91, 71, 255, 0.06); }
.sw-colony__list a:hover b::after, .sw-colony__list li.is-hot b::after { transform: translateX(4px); color: var(--au-indigo); opacity: 1; }
.sw-colony__stage { position: relative; height: clamp(400px, 62vh, 640px); border-radius: 28px; }
.sw-colony__canvas {
  position: absolute; left: 0; right: 0; bottom: 0; top: -22%; width: 100%; height: 122%; display: block; touch-action: pan-y;
  /* Headroom for thrown cells, feathered so nothing is ever cut by a hard edge. */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0, #000 16%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}
.sw-colony__fallback {
  position: absolute; inset: 10% 6% 16%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 10px; align-content: start; justify-items: center;
  transition: opacity 0.6s ease;
}
.sw-colony__fallback span {
  display: grid; place-items: center; width: min(150px, 26vw); aspect-ratio: 1 / 1.1547; padding: 12px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--c); color: #fff; font: 650 14px/1.2 var(--font-sans); text-align: center;
}
.sw-colony__fallback span:nth-child(3n + 2) { transform: translateY(52%); }
.sw-colony__fallback span:first-child { color: #1a1405; }
.sw-colony__fallback span.is-open { background: linear-gradient(135deg, rgba(91, 71, 255, 0.14), rgba(154, 59, 240, 0.14)); color: var(--au-indigo-text); }
.sw-colony.is-live .sw-colony__fallback { opacity: 0; pointer-events: none; }
.sw-colony__hint { position: absolute; z-index: 2; left: 0; right: 0; bottom: 6px; margin: 0; pointer-events: none; display: flex; justify-content: center; align-items: center; gap: 14px; font: 500 13px var(--font-sans); color: var(--au-muted); opacity: 0; transition: opacity 0.6s ease 0.8s; }
.sw-colony.is-live .sw-colony__hint { opacity: 1; }
.sw-colony__hint-touch { display: none; }
@media (pointer: coarse) { .sw-colony__hint-touch { display: inline; } .sw-colony__hint-fine { display: none; } }
.sw-colony__shake { pointer-events: auto; font: 600 13px var(--font-sans); color: var(--au-ink); background: #fff; border: 1px solid var(--au-line-2); border-radius: 999px; padding: 8px 14px; cursor: pointer; box-shadow: var(--au-shadow); transition: transform 0.25s var(--au-ease); }
.sw-colony__shake:hover { transform: translateY(-1px); }

/* ---- Finale ------------------------------------------------------------------------- */
.sw-finale { display: flex; align-items: flex-end; padding: 16vh 0 14vh; text-align: center; }
html.sw-live .sw-finale { min-height: 118vh; padding-top: 34vh; }
.sw-finale__inner { width: 100%; }
.sw-finale__copy { max-width: 720px; margin: 0 auto; position: relative; }
.sw-finale h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 0.98; letter-spacing: -0.05em; margin-top: 24px; }
.sw-finale__copy > p:not(.sw-eyebrow) { margin: 0 auto; max-width: 34em; font: 400 1.14rem/1.6 var(--font-sans); color: var(--au-on-night-body); }
.sw-finale__reach { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 26px !important; font-size: 14px !important; color: var(--au-on-night-muted) !important; }
.sw-finale__reach a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.sw-finale__reach a:hover { border-bottom-color: #fff; }
.sw-figure--finale { max-width: 560px; margin: 0 auto 2vh; }
html.sw-live .sw-figure--finale { display: none; }
.sw-finale__inner { display: flex; flex-direction: column-reverse; }

/* ---- FAQ -------------------------------------------------------------------------------- */
.sw-faq { padding: 18vh 0 16vh; }
.sw-faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sw-faq__head { position: sticky; top: calc(var(--au-head) + 40px); }
.sw-faq__list { border-radius: 20px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--au-line); box-shadow: var(--au-shadow); padding: 6px 22px; }
.sw-faq details + details { border-top: 1px solid var(--au-line); }
.sw-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font: 600 1.06rem/1.35 var(--font-sans); letter-spacing: -0.01em; color: var(--au-ink); }
.sw-faq summary::-webkit-details-marker { display: none; }
.sw-faq summary::after { content: ""; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--au-day-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%230a0f1f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.35s var(--au-ease), background-color 0.2s ease; }
.sw-faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(91, 71, 255, 0.12); }
.sw-faq details p { margin: -4px 0 20px; max-width: 46em; font: 400 1rem/1.65 var(--font-sans); color: var(--au-body); }

/* ---- Landing page: phones & tablets -------------------------------------------------- */
@media (max-width: 900px) {
  .sw-hero { min-height: auto; padding-top: 36px; }
  .sw-hero__grid, .sw-chapter, .sw-colony__grid, .sw-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .sw-hero__line { font-size: clamp(2.6rem, 11.5vw, 4.4rem); }
  .sw-chapter { min-height: auto; gap: 8px; }
  .sw-chapter__copy { padding: 10vh 0 2vh; }
  .sw-figure { max-width: 560px; margin: 0 auto; width: 100%; }
  .sw-faq__head { position: static; }
  .sw-colony__stage { height: clamp(380px, 110vw, 560px); }
  /* Stacked under the list: no headroom, so the canvas never covers a link. */
  .sw-colony__canvas { top: 0; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent); }
  .sw-story { padding-top: 16vh; }
  /* The still and live versions share their geometry from first paint so
     loading WebGL cannot move the mobile headline or the following chapters. */
  .sw-home .sw-hero__line { font-size: clamp(1.8rem, 8.3vw, 4.4rem); }
  .sw-home .sw-hero { position: relative; min-height: 100svh; align-items: flex-end; padding-top: 47svh; }
  .sw-home .sw-story { padding: 26vh 0 10vh; }
  .sw-home .sw-story--first { padding-top: 30vh; }
  .sw-home .sw-story__intro { margin-bottom: 6vh; }
  .sw-home .sw-chapter { position: relative; min-height: 108svh; align-items: end; padding: 0; }
  .sw-home .sw-chapter__copy { padding: 50svh 0 8svh; }
  .sw-home .sw-finale { position: relative; min-height: 110svh; padding-top: 52svh; }
  .sw-home .sw-figure { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(90%, 560px); height: 44svh; }
  .sw-home .sw-figure .nh-stage__frame, .sw-home .sw-figure picture { display: block; height: 100%; }
  .sw-home .sw-figure .nh-stage__still { height: 100%; object-fit: contain; }
  /* Live on a phone: the formation owns the top of the screen, words the bottom. */
  html.sw-live [data-swarm-story] .sw-figure { display: none; }
  html.sw-live .sw-hero { min-height: 100svh; align-items: flex-end; padding-top: 47svh; }
  html.sw-live .sw-chapter { min-height: 108svh; align-items: end; }
  html.sw-live .sw-chapter__copy { padding: 50svh 0 8svh; }
  html.sw-live .sw-finale { min-height: 110svh; padding-top: 52svh; }
  html.sw-live .sw-chapter__copy::before, html.sw-live .sw-finale__copy::before {
    content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--au-gutter)); right: calc(-1 * var(--au-gutter)); top: 42svh; bottom: -4svh;
    background: linear-gradient(180deg, transparent, rgba(5, 6, 13, 0.8) 7svh, rgba(5, 6, 13, 0.8) calc(100% - 6svh), transparent);
    pointer-events: none;
  }
  html.sw-live [data-mood="day"] .sw-chapter__copy::before {
    background: linear-gradient(180deg, transparent, rgba(247, 250, 255, 0.88) 7svh, rgba(247, 250, 255, 0.88) calc(100% - 6svh), transparent);
  }
  html.sw-live .sw-chapter__copy, html.sw-live .sw-finale__copy { position: relative; }
  html.sw-live .sw-finale__copy::before { top: -4svh; }
  html.sw-live .sw-hero__copy { position: relative; }
  html.sw-live .sw-hero__copy::before {
    content: ""; position: absolute; z-index: -1; inset: -3svh calc(-1 * var(--au-gutter)) -2svh;
    background: linear-gradient(180deg, transparent, rgba(247, 250, 255, 0.86) 14%, rgba(247, 250, 255, 0.86));
    pointer-events: none;
  }
}
@media (max-width: 560px) {
  .sw-pill > span:last-child { display: none; }
  .sw-actions .sw-btn { flex: 1 1 100%; }
  .sw-ways li { grid-template-columns: 1fr; gap: 4px; }
  .sw-card { padding: 14px; }
  .sw-colony__fallback span { font-size: 12px; }
  .sw-colony__list { grid-template-columns: minmax(0, 1fr); }
  .sw-colony__list li:nth-child(even) { border-left: 0; }
  .sw-colony__list li + li { border-top: 1px solid var(--au-line); }
}

/* ---- Footer ---------------------------------------------------------------------------- */
.au-foot {
  position: relative; z-index: 1;
  padding: 64px 0 26px;
  color: var(--au-on-night-body);
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(91, 71, 255, 0.16), transparent 70%),
    var(--au-night);
  border-top: 1px solid rgba(157, 147, 255, 0.12);
  font-family: var(--font-sans);
}
.au-foot__shell { max-width: calc(var(--au-shell) + 2 * var(--au-gutter)); margin: 0 auto; padding: 0 var(--au-gutter); }
.au-foot a { color: var(--au-on-night-body); text-decoration: none; transition: color 0.2s ease; }
.au-foot a:hover { color: #fff; }
.au-foot__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid rgba(157, 147, 255, 0.12); }
.au-foot__logo img { display: block; height: 30px; width: auto; }
.au-foot__intro p { margin: 16px 0 0; font-size: 15px; line-height: 1.55; color: var(--au-on-night-body); }
.au-foot__cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 12px; font-weight: 600; color: var(--au-ink) !important; background: #fff; }
.au-foot__cta:hover { background: #eef1ff; }
.au-foot__essentials { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; font-weight: 500; }
.au-foot__essentials svg, .au-foot__groups svg { margin-left: 4px; vertical-align: -1px; opacity: 0.7; }
.au-foot__groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 36px 0; border-bottom: 1px solid rgba(157, 147, 255, 0.12); }
.au-foot__group summary { list-style: none; pointer-events: none; font: 600 12px var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--au-on-night-muted); margin-bottom: 14px; }
.au-foot__group summary::-webkit-details-marker { display: none; }
.au-foot__toggle { display: none; }
.au-foot__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
@media (pointer: coarse) {
  .au-foot__group ul { gap: 0; }
  .au-foot__group a, .au-foot__essentials a, .au-foot__bottom a, .au-foot__bottom button[data-cookie-settings] { display: inline-flex; align-items: center; min-height: 44px; }
}
.au-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 22px; font-size: 13.5px; color: var(--au-on-night-muted); }
.au-foot__bottom p { margin: 0; }
.au-foot__bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.au-foot__bottom a, .au-foot__bottom button { color: var(--au-on-night-muted); }
.au-foot__bottom button[data-cookie-settings] { padding: 0; min-height: 0; font: inherit; background: none; border: 0; cursor: pointer; text-decoration: none; }
.au-foot__bottom button[data-cookie-settings]:hover { color: #fff; }
.au-foot--compact .au-foot__row { align-items: center; }
.au-foot__lanes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 18px 0; border-bottom: 1px solid rgba(157, 147, 255, 0.12); font-size: 13.5px; }
.au-foot__lanes span { font: 600 11.5px var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--au-on-night-muted); margin-right: 6px; }
.au-foot__lanes a { color: var(--au-on-night-muted); }
@media (pointer: coarse) { .au-foot__lanes a { display: inline-flex; align-items: center; min-height: 44px; } }
@media (max-width: 860px) {
  .au-foot__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .au-foot__groups { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 12px 0; }
  .au-foot__group { border-bottom: 1px solid rgba(157, 147, 255, 0.1); }
  .au-foot__group summary { pointer-events: auto; display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 16px 0; cursor: pointer; }
  .au-foot__toggle { display: block; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform 0.3s var(--au-ease); }
  .au-foot__group[open] .au-foot__toggle { transform: rotate(45deg); }
  .au-foot__group ul { padding-bottom: 16px; }
  .au-foot__essentials { gap: 12px 22px; }
}

/* ---- Contact widget & consent ---------------------------------------------------------- */
body.au-page .nh-contact-widget > summary {
  position: relative; isolation: auto; gap: 10px;
  min-height: 50px; padding: 0 18px 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff; background: var(--au-ink);
  font: 600 15px var(--font-sans); letter-spacing: -0.005em;
  box-shadow: 0 16px 40px -14px rgba(20, 16, 90, 0.7), 0 0 0 4px rgba(91, 71, 255, 0.08);
  transition: transform 0.3s var(--au-ease), box-shadow 0.3s ease;
}
body.au-page .nh-contact-widget > summary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(54, 40, 190, 0.75), 0 0 0 5px rgba(91, 71, 255, 0.12); }
body.au-page .nh-contact-widget > summary::before, body.au-page .nh-contact-widget > summary::after { content: none; }
body.au-page .nh-contact-widget > summary > svg { color: #a99dff; }
body.au-page .nh-contact-widget__panel {
  border: 1px solid var(--au-line); border-radius: 20px; padding: 24px;
  color: var(--au-ink); background: #fff;
  box-shadow: 0 40px 80px -30px rgba(20, 20, 80, 0.45);
}
body.au-page .nh-contact-widget__panel::before { content: none; }
body.au-page .nh-contact-widget__close { color: var(--au-muted); }
body.au-page .nh-contact-widget__eyebrow { font: 600 11.5px var(--font-sans); letter-spacing: 0.16em; color: var(--au-indigo-text); }
body.au-page .nh-contact-widget__panel h2 { font-family: var(--font-display); font-weight: 740; font-size: 24px; letter-spacing: -0.03em; color: var(--au-ink); }
body.au-page .nh-contact-widget__panel > p:not([class]) { color: var(--au-body); }
body.au-page .nh-contact-widget .nh-contact-widget__whatsapp,
body.au-page .nh-contact-widget .nh-contact-widget__brief { border-radius: 12px; font-weight: 600; }
body.au-page .nh-contact-widget .nh-contact-widget__whatsapp::before,
body.au-page .nh-contact-widget .nh-contact-widget__brief::before { content: none; }
body.au-page .nh-contact-widget .nh-contact-widget__whatsapp { color: #fff; background: var(--au-ink); border: 1px solid var(--au-ink); }
body.au-page .nh-contact-widget .nh-contact-widget__whatsapp:hover { background: var(--au-ink-2); }
body.au-page .nh-contact-widget .nh-contact-widget__brief { color: var(--au-ink); background: var(--au-day); border: 1px solid var(--au-line-2); }
body.au-page .nh-contact-widget .nh-contact-widget__brief:hover { background: var(--au-day-2); }
body.au-page .nh-contact-widget__note { color: var(--au-muted); }
body.au-page .nh-contact-widget__extras { border-top-color: var(--au-line); }
body.au-page .nh-contact-widget__extras a, body.au-page .nh-contact-widget__extras button { color: var(--au-body); }
body.au-page .nh-contact-widget :focus-visible { outline-color: var(--au-indigo); }

body.au-page .nh-privacy {
  color: var(--au-ink); background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--au-line); border-radius: 20px; padding: 20px;
  box-shadow: 0 40px 80px -30px rgba(20, 20, 80, 0.45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
body.au-page .nh-privacy::before { content: none; }
body.au-page .nh-privacy h2 { font-family: var(--font-display); font-weight: 720; color: var(--au-ink); letter-spacing: -0.02em; }
body.au-page .nh-privacy p { color: var(--au-body); }
body.au-page .nh-privacy__mark { color: transparent; background: var(--au-grad); -webkit-background-clip: text; background-clip: text; }
body.au-page .nh-privacy a { color: var(--au-ink); }
body.au-page .nh-privacy__details > summary { color: var(--au-ink); }
body.au-page .nh-privacy__actions button {
  isolation: auto; border-radius: 12px; min-height: 46px;
  font: 600 14px var(--font-sans); color: var(--au-ink);
  background: var(--au-day); border: 1px solid var(--au-line-2);
}
body.au-page .nh-privacy__actions button::before { content: none; }
body.au-page .nh-privacy__actions button:hover { background: var(--au-day-2); }
body.au-page .nh-privacy__actions button[data-cookie-choice="granted"] { color: #fff; background: var(--au-ink); border-color: var(--au-ink); }
body.au-page .nh-privacy__actions button[data-cookie-choice="granted"]:hover { background: var(--au-ink-2); }
body.au-page .nh-privacy__close { color: var(--au-body); }

@media (prefers-reduced-motion: reduce) {
  .sw-shown, .sw-btn, .sw-btn span, .au-head__cta { transition: none !important; }
  .sw-live-dot { animation: none; }
}
@media print {
  .sw-sky, .sw-layer, .au-head, .nh-contact-widget { display: none !important; }
  [data-swarm-story] [data-mood="night"] { background: none !important; color: #000 !important; }
}

/* ==========================================================================
   The page kit — every page beyond the landing story
   Every page is a story: a day hero with its own formation, sections that
   cross-fade the sky between day and night, and the same closing. The
   swarm rests behind long reading so the words stay first.
   ========================================================================== */
.au-main, .nh-article { position: relative; }
:is(.au-main, .nh-article) :is(h1, h2, h3) { text-wrap: balance; }
:is(.au-main, .nh-article) p { text-wrap: pretty; }

/* ---- Hero ------------------------------------------------------------------- */
.au-hero {
  position: relative; display: flex; align-items: center;
  min-height: min(calc(100svh - var(--au-head)), 880px);
  padding: clamp(40px, 7vh, 88px) 0 clamp(56px, 9vh, 104px);
}
.au-hero--compact { min-height: 0; padding-bottom: clamp(40px, 6vh, 72px); }
.au-hero__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.au-hero__grid--solo { grid-template-columns: minmax(0, 780px); }
.au-hero__copy { position: relative; min-width: 0; }
.au-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 26px; font: 500 13.5px/1.4 var(--font-sans); color: var(--au-muted); }
.au-crumbs a { color: #4a5368; text-decoration: none; transition: color 0.2s ease; }
.au-crumbs a:hover { color: var(--au-indigo-text); }
.au-crumbs [aria-current] { color: var(--au-ink); }
.au-kicker, .au-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 600 12.5px/1.4 var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--au-indigo-text);
}
.au-kicker::before, .au-hero .eyebrow::before {
  content: ""; width: 12px; height: 13px; flex: 0 0 auto; background: var(--au-grad);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.au-hero h1, .au-title {
  margin: 0; font-family: var(--font-display); font-weight: 780;
  font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -0.046em;
  color: var(--au-ink);
}
.au-hero--compact h1 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1.05; }
.au-lead, .au-hero__copy > p:not([class]), .au-hero .dek {
  margin: 26px 0 0; max-width: 34em;
  font: 400 clamp(1.06rem, 1.3vw, 1.22rem)/1.62 var(--font-sans); color: var(--au-body);
}
/* Beside a formation the lead stops short of it, as on the landing page. */
@media (min-width: 901px) {
  .au-hero:not(.au-hero--compact) .au-hero__grid:not(.au-hero__grid--solo) .au-lead { max-width: min(34em, calc(47.6vw - max(var(--au-gutter), 50vw - 600px) - 20px)); }
}
.au-hero .sw-actions { margin-top: 32px; }
.au-hero .sw-checks { margin-top: 24px; }
.au-hero__figure { align-self: center; }
.au-hero__figure .nh-stage__still { border-radius: 24px; }
.au-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 24px 0 0; font: 500 14px/1.4 var(--font-sans); color: var(--au-muted); }
.au-meta a { color: inherit; text-decoration: none; }
.au-meta a:hover, .au-meta a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.au-meta > * + *::before { content: "·"; margin-right: 18px; color: var(--au-line-2); }
.au-note { margin: 18px 0 0; font: 400 13.5px/1.55 var(--font-sans); color: var(--au-muted); max-width: 42em; }
[data-mood="night"] .au-note { color: var(--au-on-night-muted); }

/* ---- Sections ------------------------------------------------------------------ */
.au-section { position: relative; padding: clamp(80px, 13vh, 150px) 0; }
.au-section--tight { padding: clamp(56px, 9vh, 100px) 0; }
.au-section + .au-section[data-mood="day"]:not(.au-section--flush), .au-hero + .au-section[data-mood="day"] { padding-top: clamp(40px, 7vh, 90px); }
.au-section__head { max-width: 780px; margin: 0 0 clamp(30px, 5vh, 54px); }
.au-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.au-section__head--center .sw-eyebrow { justify-content: center; }
.au-section__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 20px clamp(28px, 5vw, 80px); align-items: end; }
.au-section__head--split > p:not(.sw-eyebrow) { margin: 0 0 6px; }
.au-section h2, .au-h2 {
  margin: 20px 0 18px; font-family: var(--font-display); font-weight: 760;
  font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.04; letter-spacing: -0.042em; color: var(--au-ink);
}
.au-section__head > p:not(.sw-eyebrow), .au-copy > p { margin: 0; font: 400 1.1rem/1.66 var(--font-sans); color: var(--au-body); max-width: 40em; }
.au-copy > p + p { margin-top: 1em; }
.au-section__head > p:not(.sw-eyebrow) + p { margin-top: 12px; }
[data-mood="night"] :is(.au-section h2, .au-h2) { color: var(--au-on-night); }
[data-mood="night"] :is(.au-section__head > p:not(.sw-eyebrow), .au-copy > p) { color: var(--au-on-night-body); }
.au-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.au-split--center { align-items: center; }
.au-split--wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.au-stack > * + * { margin-top: 16px; }
.au-actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.au-actions-row .sw-link { margin-top: 0; }

/* ---- Cards ------------------------------------------------------------------------ */
.au-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.au-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.au-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.au-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 26px 24px 24px; border-radius: 20px;
  color: var(--au-body); text-decoration: none;
  background: rgba(255, 255, 255, 0.8); border: 1px solid var(--au-line); box-shadow: var(--au-shadow);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.45s var(--au-ease), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}
a.au-card:hover, .au-card--link:hover { transform: translateY(-4px); border-color: rgba(91, 71, 255, 0.26); box-shadow: 0 34px 64px -34px rgba(40, 36, 140, 0.5); }
.au-card__index { font: 500 12px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--au-muted); }
.au-card__kicker, .au-card p.au-card__kicker { margin: 0; font: 600 11.5px/1.4 var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--au-indigo-text); }
.au-card h3 { margin: 0; font: 650 1.2rem/1.3 var(--font-sans); letter-spacing: -0.018em; color: var(--au-ink); }
.au-card h3 a { color: inherit; text-decoration: none; }
.au-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--au-body); }
.au-card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px var(--font-sans); color: var(--au-indigo-text); text-decoration: none; }
.au-card__more span { transition: transform 0.3s var(--au-ease); }
a.au-card:hover .au-card__more span, .au-card__more:hover span { transform: translateX(4px); }
.au-card__icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; font-size: 18px; background: linear-gradient(135deg, #1688ff, #8c35f2); box-shadow: 0 10px 24px -10px rgba(91, 71, 255, 0.85); }
.au-card__icon--honey { color: #1a1405; background: linear-gradient(135deg, #ffd27a, #f5a524); box-shadow: 0 10px 24px -10px rgba(245, 165, 36, 0.9); }
.au-card__mascot { width: 76px; height: 76px; object-fit: contain; }
.au-card--feature { padding: 30px 28px; }
.au-card--quiet { background: rgba(255, 255, 255, 0.55); box-shadow: none; }
[data-mood="night"] .au-card {
  color: var(--au-on-night-body);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border-color: rgba(157, 147, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
[data-mood="night"] a.au-card:hover { border-color: rgba(157, 147, 255, 0.4); background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)); }
[data-mood="night"] .au-card h3 { color: #fff; }
[data-mood="night"] .au-card p { color: var(--au-on-night-body); }
[data-mood="night"] :is(.au-card__index) { color: var(--au-on-night-muted); }
[data-mood="night"] :is(.au-card__kicker, .au-card p.au-card__kicker, .au-card__more) { color: var(--au-indigo-soft); }
.au-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 0; }
.au-tags li, .au-tag { font: 500 12.5px/1 var(--font-sans); padding: 6px 10px; border-radius: 999px; color: #3a4058; background: rgba(91, 71, 255, 0.07); border: 1px solid rgba(91, 71, 255, 0.12); }
[data-mood="night"] :is(.au-tags li, .au-tag) { color: var(--au-on-night-body); background: rgba(157, 147, 255, 0.08); border-color: rgba(157, 147, 255, 0.18); }

/* Lists: hex bullets for features, green checks for commitments. */
.au-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.au-list li { position: relative; padding-left: 28px; font: 400 1.02rem/1.6 var(--font-sans); color: var(--au-body); }
.au-list li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 13px; background: var(--au-grad); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.au-list li b, .au-list li strong { color: var(--au-ink); font-weight: 600; }
.au-list--check li::before { top: 0.2em; width: 18px; height: 18px; clip-path: none; background: var(--au-success); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-mood="night"] .au-list li { color: var(--au-on-night-body); }
[data-mood="night"] .au-list li :is(b, strong) { color: #fff; }

/* Numbers that carry the argument. */
.au-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.au-stat { padding: 22px 22px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.78); border: 1px solid var(--au-line); box-shadow: var(--au-shadow); }
.au-stat b { display: block; font: 760 clamp(1.8rem, 2.8vw, 2.5rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--au-ink); }
.au-stat span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--au-body); }
[data-mood="night"] .au-stat { background: rgba(255, 255, 255, 0.05); border-color: rgba(157, 147, 255, 0.18); box-shadow: none; }
[data-mood="night"] .au-stat b { color: #fff; }
[data-mood="night"] .au-stat span { color: var(--au-on-night-body); }

/* A quote with a face (or a mark). */
.au-quote { margin: 0; padding: 30px 32px; border-radius: 22px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--au-line); box-shadow: var(--au-shadow); }
.au-quote blockquote { margin: 0; font: 500 clamp(1.2rem, 1.8vw, 1.5rem)/1.45 var(--font-sans); letter-spacing: -0.018em; color: var(--au-ink); }
.au-quote figcaption { margin-top: 14px; font-size: 14px; color: var(--au-muted); }
.au-quote figcaption b { color: var(--au-ink); font-weight: 600; }
[data-mood="night"] .au-quote { background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)); border-color: rgba(157, 147, 255, 0.18); box-shadow: none; }
[data-mood="night"] .au-quote blockquote { color: #fff; }
[data-mood="night"] .au-quote figcaption b { color: var(--au-on-night-body); }

/* A timeline of years or phases. */
.au-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.au-timeline li { position: relative; padding: 22px 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(157, 147, 255, 0.16); }
.au-timeline b { display: block; font: 500 13px/1 var(--font-mono); letter-spacing: 0.06em; color: var(--au-indigo-soft); }
.au-timeline h3 { margin: 14px 0 8px; font: 650 1.08rem/1.3 var(--font-sans); color: #fff; }
.au-timeline p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--au-on-night-body); }
.au-timeline li.is-now { background: linear-gradient(160deg, rgba(91, 71, 255, 0.28), rgba(154, 59, 240, 0.12)); border-color: rgba(157, 147, 255, 0.4); }

/* Links to the next place to go. */
.au-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.au-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%; padding: 16px 18px; border-radius: 14px; font: 600 15px/1.35 var(--font-sans); color: var(--au-ink); text-decoration: none; background: rgba(255, 255, 255, 0.78); border: 1px solid var(--au-line); transition: border-color 0.25s ease, transform 0.35s var(--au-ease), background-color 0.25s ease; }
.au-links a::after { content: "→"; flex: 0 0 auto; color: var(--au-indigo); transition: transform 0.3s var(--au-ease); }
.au-links a:hover { border-color: rgba(91, 71, 255, 0.3); transform: translateY(-2px); background: #fff; }
.au-links a:hover::after { transform: translateX(4px); }
[data-mood="night"] .au-links a { color: #fff; background: rgba(255, 255, 255, 0.05); border-color: rgba(157, 147, 255, 0.18); }
[data-mood="night"] .au-links a::after { color: var(--au-indigo-soft); }
[data-mood="night"] .au-links a:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(157, 147, 255, 0.4); }

/* ---- Questions ------------------------------------------------------------------ */
.au-faq { border-radius: 20px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--au-line); box-shadow: var(--au-shadow); padding: 6px 24px; }
.au-faq details + details { border-top: 1px solid var(--au-line); }
.au-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font: 600 1.06rem/1.4 var(--font-sans); letter-spacing: -0.01em; color: var(--au-ink); }
.au-faq summary::-webkit-details-marker { display: none; }
.au-faq summary::after { content: ""; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--au-day-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%230a0f1f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.35s var(--au-ease), background-color 0.2s ease; }
.au-faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(91, 71, 255, 0.12); }
.au-faq details > :not(summary) { margin: -4px 0 20px; max-width: 48em; font: 400 1rem/1.66 var(--font-sans); color: var(--au-body); }
.au-faq details > div > p { margin: 0 0 10px; }

/* ---- Long reading (articles, service pages, legal) ------------------------------------ */
:is(.au-prose, .nh-article__content) { font: 400 1.075rem/1.76 var(--font-sans); color: #30374b; }
:is(.au-prose, .nh-article__content) > * { margin: 0; }
:is(.au-prose, .nh-article__content) > * + * { margin-top: 1.05em; }
:is(.au-prose, .nh-article__content) h2 { margin-top: 2.1em; font-family: var(--font-display); font-weight: 740; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.16; letter-spacing: -0.032em; color: var(--au-ink); scroll-margin-top: calc(var(--au-head) + 28px); }
:is(.au-prose, .nh-article__content) h3 { margin-top: 1.8em; font: 650 1.3rem/1.32 var(--font-sans); letter-spacing: -0.018em; color: var(--au-ink); scroll-margin-top: calc(var(--au-head) + 28px); }
:is(.au-prose, .nh-article__content) h4 { margin-top: 1.5em; font: 650 1.08rem/1.4 var(--font-sans); color: var(--au-ink); }
:is(.au-prose, .nh-article__content) h2 + *, :is(.au-prose, .nh-article__content) h3 + *, :is(.au-prose, .nh-article__content) h4 + * { margin-top: 0.6em; }
:is(.au-prose, .nh-article__content) a { color: var(--au-indigo-text); text-decoration: underline; text-decoration-color: rgba(91, 71, 255, 0.35); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color 0.2s ease; }
:is(.au-prose, .nh-article__content) a:hover { text-decoration-color: currentColor; }
:is(.au-prose, .nh-article__content) strong { color: var(--au-ink); font-weight: 650; }
:is(.au-prose, .nh-article__content) ul, :is(.au-prose, .nh-article__content) ol { padding-left: 1.3em; }
:is(.au-prose, .nh-article__content) li + li { margin-top: 0.45em; }
:is(.au-prose, .nh-article__content) li::marker { color: var(--au-indigo); }
:is(.au-prose, .nh-article__content) blockquote { padding: 4px 0 4px 22px; border-left: 3px solid; border-image: var(--au-grad) 1; font-size: 1.12em; line-height: 1.6; color: var(--au-ink); }
:is(.au-prose, .nh-article__content) code { font: 0.86em var(--font-mono); padding: 0.16em 0.42em; border-radius: 6px; background: rgba(91, 71, 255, 0.08); color: #2a2f7a; }
:is(.au-prose, .nh-article__content) pre { padding: 18px 20px; border-radius: 16px; overflow: auto; background: #0b0f24; color: #e6e8ff; font-size: 0.9em; }
:is(.au-prose, .nh-article__content) pre code { padding: 0; background: none; color: inherit; }
:is(.au-prose, .nh-article__content) img, :is(.au-prose, .nh-article__content) video { display: block; max-width: 100%; height: auto; border-radius: 16px; }
:is(.au-prose, .nh-article__content) hr { border: 0; height: 1px; background: var(--au-line-2); margin: 2.4em 0; }
:is(.au-prose, .nh-article__content) figure { margin-left: 0; margin-right: 0; }
:is(.au-prose, .nh-article__content) figcaption { margin-top: 10px; font-size: 14px; color: var(--au-muted); }

/* Data tables: a quiet grid on wide screens, one card per row on phones. */
.nh-table-scroll { position: relative; overflow-x: auto; border-radius: 16px; border: 1px solid var(--au-line); background: rgba(255, 255, 255, 0.85); box-shadow: var(--au-shadow); -webkit-overflow-scrolling: touch; }
.nh-table-scroll:focus-visible { outline: 2px solid var(--au-indigo); outline-offset: 3px; }
.nh-table-scroll table { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.5; }
.nh-table-scroll th, .nh-table-scroll td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--au-line); }
.nh-table-scroll thead th { font: 600 12px/1.4 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--au-indigo-text); background: rgba(91, 71, 255, 0.06); white-space: nowrap; }
.nh-table-scroll tbody th { font-weight: 600; color: var(--au-ink); }
.nh-table-scroll tbody tr:last-child > * { border-bottom: 0; }
.nh-table-scroll tbody tr:hover > * { background: rgba(91, 71, 255, 0.03); }
@media (max-width: 700px) {
  .nh-table-scroll { overflow: visible; border: 0; background: none; box-shadow: none; }
  .nh-table-scroll table, .nh-table-scroll tbody, .nh-table-scroll tr, .nh-table-scroll th, .nh-table-scroll td { display: block; }
  .nh-table-scroll thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nh-table-scroll tbody tr { margin: 0 0 12px; border-radius: 14px; border: 1px solid var(--au-line); background: rgba(255, 255, 255, 0.9); box-shadow: var(--au-shadow); overflow: hidden; }
  .nh-table-scroll tbody th { padding: 13px 16px; background: rgba(91, 71, 255, 0.06); border-bottom: 1px solid var(--au-line); }
  .nh-table-scroll tbody td { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding: 10px 16px; }
  .nh-table-scroll tbody td::before { content: attr(data-label); font: 600 12px/1.4 var(--font-sans); letter-spacing: 0.04em; color: var(--au-muted); }
}

/* ---- The article ------------------------------------------------------------------ */
.au-article__body { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 720px); justify-content: center; gap: clamp(28px, 5vw, 72px); align-items: start; }
.au-article__body--solo { grid-template-columns: minmax(0, 760px); }
.au-toc { position: sticky; top: calc(var(--au-head) + 32px); padding: 4px 0; }
.au-toc p { margin: 0 0 12px; font: 600 11.5px var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--au-muted); }
.au-toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--au-line-2); display: grid; gap: 10px; }
.au-toc a { display: block; font: 500 14px/1.45 var(--font-sans); color: var(--au-body); text-decoration: none; transition: color 0.2s ease; }
.au-toc a:hover { color: var(--au-indigo-text); }
.au-article__figure { margin: 0; }
.au-article__figure img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--au-line); box-shadow: var(--au-shadow-lg); background: #fff; }
.nh-article__delivery { margin: 22px 0 0; font: 500 15px/1.5 var(--font-sans); color: var(--au-body); }
.nh-article__delivery a { font-weight: 600; color: var(--au-indigo-text); text-decoration: none; }
.nh-article__delivery a:hover span { display: inline-block; transform: translateX(3px); }
.nh-article__source { margin: 0 0 1.6em; padding: 16px 20px; border-left: 3px solid var(--au-indigo); border-radius: 0 14px 14px 0; background: rgba(91, 71, 255, 0.06); font-size: 0.95rem; }
.nh-article__source p { margin: 0; }
.nh-article__source p + p { margin-top: 6px; }
.au-callout { margin-top: 2.4em !important; padding: 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(91, 71, 255, 0.1), rgba(20, 134, 255, 0.05)); border: 1px solid rgba(91, 71, 255, 0.16); }
.au-callout h2 { margin: 0 0 10px !important; font-size: clamp(1.4rem, 2vw, 1.8rem) !important; }
.au-callout p { margin: 0; }
.au-callout .au-actions-row { margin-top: 18px; }
.au-callout .sw-link { margin-top: 0; }
:is(.au-prose, .nh-article__content) .au-faq { margin-top: 2.4em; }
:is(.au-prose, .nh-article__content) .au-faq summary { font-size: 1.02rem; }

/* ---- Signal cards (the blog, related reading) ---------------------------------------- */
.nh-signal-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 24px 22px 22px; border-radius: 20px; color: var(--au-body); text-decoration: none; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--au-line); box-shadow: var(--au-shadow); transition: transform 0.45s var(--au-ease), box-shadow 0.35s ease, border-color 0.35s ease; }
.nh-signal-card:hover { transform: translateY(-4px); border-color: rgba(91, 71, 255, 0.26); box-shadow: 0 34px 64px -34px rgba(40, 36, 140, 0.5); }
.nh-signal-card__label { align-self: flex-start; font: 600 11.5px/1 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--au-indigo-text); padding: 6px 9px; border-radius: 999px; background: rgba(91, 71, 255, 0.08); }
.nh-signal-card h3 { margin: 4px 0 0; font: 650 1.14rem/1.34 var(--font-sans); letter-spacing: -0.015em; color: var(--au-ink); }
.nh-signal-card p { margin: 0; font-size: 15px; line-height: 1.58; color: var(--au-body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nh-signal-card__meta { margin-top: auto; padding-top: 6px; font: 500 12.5px/1.4 var(--font-mono); letter-spacing: 0.02em; color: var(--au-muted); }
.nh-signal-card[hidden] { display: none; }
.au-signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* Search on the Signals index. */
.au-search { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 640px; margin-top: 30px; }
.au-search__box { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--au-line-2); box-shadow: var(--au-shadow); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.au-search__box:focus-within { border-color: rgba(91, 71, 255, 0.5); box-shadow: 0 0 0 4px rgba(91, 71, 255, 0.12), var(--au-shadow); }
.au-search__box svg { flex: 0 0 auto; color: var(--au-muted); }
.au-search__box input { flex: 1 1 auto; width: 100%; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font: 500 16px var(--font-sans); color: var(--au-ink); }
.au-search__box input::placeholder { color: #8b93a8; }
.au-search__box button { flex: 0 0 auto; height: 44px; padding: 0 18px; border-radius: 12px; border: 0; cursor: pointer; font: 600 14.5px var(--font-sans); color: #fff; background: var(--au-ink); transition: background-color 0.2s ease; }
.au-search__box button:hover { background: var(--au-ink-2); }
.au-search__box button[data-signals-search-clear] { color: var(--au-ink); background: var(--au-day-2); }
@media (max-width: 520px) {
  .au-search__box { gap: 6px; padding-left: 14px; }
  .au-search__box button { padding: 0 12px; font-size: 14px; }
  /* A long call to action wraps inside the screen instead of widening it. */
  .sw-btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
}
.au-search__meta { margin: 0; font: 500 13.5px var(--font-sans); color: var(--au-muted); }
.au-search__meta strong { color: var(--au-ink); }
.nh-signals-search__empty { margin-top: 18px; padding: 22px; border-radius: 16px; border: 1px dashed rgba(91, 71, 255, 0.3); color: var(--au-body); background: rgba(255, 255, 255, 0.6); }
.nh-signals-search__empty[hidden] { display: none; }

/* The product labs, before the full list. */
.nh-product-labs__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .nh-product-labs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nh-product-lab-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.nh-product-lab-card img { width: 96px; height: 96px; object-fit: contain; }
.nh-product-lab-card__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.nh-product-lab-card__links a { font: 600 14.5px var(--font-sans); color: var(--au-indigo-soft); text-decoration: none; }
.nh-product-lab-card__links a:hover { color: #fff; }

/* ---- Resources, discovery, proof ------------------------------------------------------ */
.nh-resource .au-card__more { margin-top: auto; }

/* ---- Forms (the contact brief) ------------------------------------------------------- */
.au-form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--au-line); box-shadow: var(--au-shadow-lg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.au-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.au-field { display: grid; gap: 8px; min-width: 0; }
.au-field label { font: 600 13.5px/1.3 var(--font-sans); color: var(--au-ink); }
.au-field :is(input, select, textarea) {
  width: 100%; min-height: 50px; padding: 13px 15px; border-radius: 12px;
  font: 500 16px/1.4 var(--font-sans); color: var(--au-ink);
  background: var(--au-surface); border: 1px solid var(--au-line-2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.au-field textarea { min-height: 150px; resize: vertical; }
.au-field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: var(--au-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%234a5368' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.au-field :is(input, select, textarea):focus { outline: 0; border-color: var(--au-indigo); box-shadow: 0 0 0 4px rgba(91, 71, 255, 0.14); }
.au-field :is(input, textarea)::placeholder { color: #8b93a8; }
.au-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font: 400 14px/1.55 var(--font-sans); color: var(--au-body); }
.au-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--au-indigo); }
.au-consent a { color: var(--au-indigo-text); }
.au-form__submit { justify-self: start; border: 0; cursor: pointer; }
.au-form__submit:disabled { cursor: wait; opacity: 0.65; transform: none !important; }
[data-contact-status] { min-height: 22px; margin: 0; font: 500 15px/1.5 var(--font-sans); color: var(--au-body); }
[data-contact-status][data-tone="success"] { color: #15803d; }
[data-contact-status][data-tone="error"] { color: #b42318; }
[data-contact-fallback] { font: 600 15px var(--font-sans); color: var(--au-indigo-text); }

/* ---- Tools: the ROI calculator and the lead-routing demo ------------------------------ */
:is(.nh-tool, .nh-lead-demo) { margin: 2.4em 0 0 !important; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--au-line); box-shadow: var(--au-shadow-lg); font-size: 1rem; line-height: 1.6; }
:is(.nh-tool, .nh-lead-demo) > * + * { margin-top: 14px; }
:is(.nh-tool, .nh-lead-demo) h2 { margin-top: 6px !important; font-family: var(--font-display); font-weight: 740; font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; color: var(--au-ink); }
:is(.nh-tool, .nh-lead-demo) .nh-kicker { margin: 0; font: 600 11.5px var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--au-indigo-text); }
.nh-tool__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nh-tool__fields label { display: grid; gap: 7px; font: 600 13.5px/1.35 var(--font-sans); color: var(--au-ink); }
.nh-tool__fields input { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--au-line-2); background: var(--au-surface); font: 500 16px var(--font-sans); color: var(--au-ink); }
.nh-tool__fields input:focus { outline: 0; border-color: var(--au-indigo); box-shadow: 0 0 0 4px rgba(91, 71, 255, 0.14); }
.nh-tool__hint, .nh-tool__note, .nh-tool__status { font-size: 14px; color: var(--au-body); }
.nh-tool__error { color: #b42318; font-size: 14px; }
.nh-tool__error:empty { display: none; }
.nh-tool__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.nh-tool__actions button, .nh-lead-demo__choices button { min-height: 48px; padding: 0 18px; border-radius: 12px; cursor: pointer; font: 600 14.5px var(--font-sans); color: var(--au-ink); background: var(--au-day); border: 1px solid var(--au-line-2); transition: background-color 0.2s ease, border-color 0.2s ease; }
.nh-tool__actions button[type="submit"] { color: #fff; background: var(--au-ink); border-color: var(--au-ink); }
.nh-tool__actions button:hover:not(:disabled), .nh-lead-demo__choices button:hover:not(:disabled) { border-color: rgba(91, 71, 255, 0.4); }
.nh-tool__actions button:disabled, .nh-lead-demo__choices button:disabled { opacity: 0.6; cursor: default; }
.nh-tool__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0 !important; }
.nh-tool__results div { padding: 14px 16px; border-radius: 14px; background: rgba(91, 71, 255, 0.06); border: 1px solid rgba(91, 71, 255, 0.12); }
.nh-tool__results dt { font-size: 13px; line-height: 1.4; color: var(--au-body); }
.nh-tool__results dd { margin: 6px 0 0; font: 700 1.3rem/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--au-ink); }
:is(.nh-tool, .nh-lead-demo) > a:last-of-type { display: inline-flex; font: 600 15px var(--font-sans); color: var(--au-indigo-text); text-decoration: none; }
.nh-lead-demo__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.nh-lead-demo__choices button[aria-pressed="true"] { color: #fff; background: var(--au-ink); border-color: var(--au-ink); }
.nh-lead-demo__inquiry { padding: 16px 18px; border-radius: 14px; background: var(--au-day); border: 1px solid var(--au-line); }
.nh-lead-demo__inquiry p { margin: 0; }
.nh-lead-demo__inquiry p + p { margin-top: 6px; color: var(--au-ink); }
.nh-lead-demo__status { font-weight: 600; color: var(--au-indigo-text); }
.nh-lead-demo__steps { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: lead; }
.nh-lead-demo__steps li { counter-increment: lead; position: relative; padding: 14px 16px 14px 54px; border-radius: 14px; border: 1px solid var(--au-line); background: #fff; }
.nh-lead-demo__steps li::before { content: counter(lead); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--font-sans); color: #fff; background: var(--au-grad); }
.nh-lead-demo__steps h3 { margin: 0; font: 650 1rem/1.4 var(--font-sans); color: var(--au-ink); }
.nh-lead-demo__steps p { margin: 4px 0 0; font-size: 14.5px; }

/* ---- Profile ------------------------------------------------------------------------ */
.nh-profile__portrait { margin: 0; }
.nh-profile__portrait img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--au-shadow-lg); }

/* ---- Ported pages (privacy, terms, sitemap) ---------------------------------------- */
.au-ported .legal-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr); gap: 20px; align-items: start; }
.au-ported .legal-copy { display: grid; gap: 16px; }
.au-ported .card { padding: 26px 26px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.84); border: 1px solid var(--au-line); box-shadow: var(--au-shadow); }
.au-ported .card-topline, .au-ported .legal-summary .eyebrow { margin: 0 0 10px; font: 600 11.5px var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--au-indigo-text); }
.au-ported .card h2 { margin: 0 0 12px; font: 700 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--font-display); letter-spacing: -0.028em; color: var(--au-ink); }
.au-ported .card h3 { margin: 18px 0 8px; font: 650 1.02rem/1.4 var(--font-sans); color: var(--au-ink); }
.au-ported .card :is(p, li) { font-size: 1rem; line-height: 1.72; color: var(--au-body); }
.au-ported .card p { margin: 0 0 12px; }
.au-ported .card :is(ul, ol) { margin: 0 0 12px; padding-left: 1.2em; }
.au-ported .card li::marker { color: var(--au-indigo); }
.au-ported .card a { color: var(--au-indigo-text); }
.au-ported .card strong { color: var(--au-ink); }
.au-ported .legal-summary { position: sticky; top: calc(var(--au-head) + 24px); display: grid; gap: 14px; }
.au-ported .legal-summary__row { display: grid; gap: 4px; }
.au-ported .legal-summary__row + .legal-summary__row { margin-top: 14px; }
.au-ported .legal-summary__row span { font: 600 11.5px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--au-muted); }
.au-ported .legal-summary__row :is(strong, a) { font: 600 15px/1.5 var(--font-sans); color: var(--au-ink); text-decoration: none; }
.au-ported .legal-summary__row a:hover { color: var(--au-indigo-text); }
.au-sitemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.au-sitemap section { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.84); border: 1px solid var(--au-line); box-shadow: var(--au-shadow); }
.au-sitemap h2 { margin: 0 0 12px; font: 700 1.2rem/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--au-ink); }
.au-sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.au-sitemap a { font: 500 15px/1.45 var(--font-sans); color: var(--au-body); text-decoration: none; }
.au-sitemap a:hover { color: var(--au-indigo-text); }

/* ---- Not found ------------------------------------------------------------------------ */
.nh-notfound .au-hero { min-height: calc(100svh - var(--au-head)); }
.nh-notfound p.nh-notfound__code, .nh-notfound__code { margin: 0 0 8px; font: 800 clamp(5rem, 16vw, 11rem)/0.9 var(--font-display); letter-spacing: -0.06em; background: var(--au-grad-night); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nh-notfound h1 { color: #fff; }
.nh-notfound p { color: var(--au-on-night-body); }
.nh-notfound code { font: 0.9em var(--font-mono); padding: 0.14em 0.4em; border-radius: 6px; background: rgba(157, 147, 255, 0.14); color: #fff; overflow-wrap: anywhere; }
.nh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 12px; font: 600 16px/1 var(--font-sans); text-decoration: none; color: var(--au-ink); background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 18px 50px -12px rgba(120, 110, 255, 0.55); transition: transform 0.3s var(--au-ease); }
.nh-btn:hover { transform: translateY(-2px); }
.nh-textlink { font: 600 15px var(--font-sans); color: var(--au-indigo-soft); text-decoration: none; }
.nh-textlink:hover { color: #fff; }

/* ---- Pages: tablets and phones ------------------------------------------------------- */
@media (max-width: 1100px) {
  .au-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .au-signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .au-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-article__body { grid-template-columns: minmax(0, 1fr); }
  .au-toc { position: static; }
  .au-ported .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .au-ported .legal-summary { position: static; }
}
@media (max-width: 900px) {
  .au-hero { min-height: 0; padding-top: 28px; }
  .au-hero__grid, .au-split, .au-split--wide, .au-section__head--split { grid-template-columns: minmax(0, 1fr); }
  .au-hero__figure { max-width: 520px; width: 100%; margin: 0 auto; }
  /* Live on a phone: the hero formation takes the top of the screen. */
  html.sw-live .au-hero { padding-top: 38svh; }
  html.sw-live .au-hero--compact { padding-top: 28px; }
  .nh-tool__results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .au-grid, .au-grid--2, .au-grid--4, .au-signal-grid, .au-timeline, .nh-tool__fields, .au-form__row { grid-template-columns: minmax(0, 1fr); }
  .au-card { padding: 22px 20px 20px; }
  .au-faq { padding: 4px 18px; }
  .au-quote { padding: 24px 22px; }
  .nh-product-lab-card { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .nh-product-lab-card img { width: 64px; height: 64px; }
  .nh-tool__results { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Kit details ------------------------------------------------------------------ */
.au-section--story { padding: clamp(24px, 5vh, 72px) 0; }
.au-card .au-card__title { margin: 0; font: 650 1.2rem/1.3 var(--font-sans); letter-spacing: -0.018em; color: var(--au-ink); }
[data-mood="night"] .au-card .au-card__title { color: #fff; }
[data-mood="night"] .au-kicker, .nh-notfound .au-kicker { color: var(--au-indigo-soft); }
[data-mood="night"] .au-crumbs a, .nh-notfound .au-crumbs a { color: var(--au-on-night-body); }
.nh-notfound .au-lead { color: var(--au-on-night-body); }
.nh-notfound .au-hero__copy { max-width: 640px; }
.sw-chapter p.au-note, .au-section p.au-note { margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: var(--au-muted); }
[data-mood="night"] p.au-note { color: var(--au-on-night-muted); }

/* Collection cards keep their own class name; they are page-kit cards. */
.nh-route-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 26px 24px 24px; border-radius: 20px; text-decoration: none; color: var(--au-body);
  background: rgba(255, 255, 255, 0.8); border: 1px solid var(--au-line); box-shadow: var(--au-shadow);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.45s var(--au-ease), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}
.nh-route-card:hover { transform: translateY(-4px); border-color: rgba(91, 71, 255, 0.26); box-shadow: 0 34px 64px -34px rgba(40, 36, 140, 0.5); }
.nh-route-card p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.nh-route-card .au-card__more { margin-top: auto; }
[data-mood="night"] .nh-route-card { color: var(--au-on-night-body); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)); border-color: rgba(157, 147, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
[data-mood="night"] .nh-route-card:hover { border-color: rgba(157, 147, 255, 0.4); background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)); }
[data-mood="night"] .nh-route-card .au-card__title { color: #fff; }
[data-mood="night"] .nh-route-card p { color: var(--au-on-night-body); }

/* Links inside running copy. */
:is(.au-section__head, .au-copy, .au-card, .au-note, .au-hero__copy, .au-faq, .sw-chapter__copy) p a:not([class]) { color: var(--au-indigo-text); text-decoration: underline; text-decoration-color: rgba(91, 71, 255, 0.35); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
[data-mood="night"] :is(.au-section__head, .au-copy, .au-card, .au-note, .au-hero__copy, .au-faq, .sw-chapter__copy) p a:not([class]) { color: var(--au-indigo-soft); text-decoration-color: rgba(170, 163, 255, 0.4); }

/* Questions on the night sky. */
[data-mood="night"] .au-faq { background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)); border-color: rgba(157, 147, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
[data-mood="night"] .au-faq details + details { border-top-color: rgba(157, 147, 255, 0.14); }
[data-mood="night"] .au-faq summary { color: #fff; }
[data-mood="night"] .au-faq summary::after { background-color: rgba(255, 255, 255, 0.08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
[data-mood="night"] .au-faq details > :not(summary) { color: var(--au-on-night-body); }

/* ---- Page specifics: Signals, About, Contact --------------------------------------- */
.bl-feature { flex-direction: row; align-items: center; gap: clamp(20px, 4vw, 48px); padding: clamp(24px, 4vw, 44px); }
.bl-feature h3 { margin: 4px 0 8px; font: 740 clamp(1.4rem, 2.4vw, 2rem)/1.18 var(--font-display); letter-spacing: -0.03em; }
.bl-feature p { max-width: 40em; }
.bl-feature__art { flex: 0 0 auto; width: clamp(110px, 16vw, 170px); height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35)); }
.au-search__label { font: 500 14px/1.5 var(--font-sans); color: var(--au-muted); }
.ab-team { align-items: stretch; }
.au-card .ab-name { font: 760 clamp(1.7rem, 2.8vw, 2.3rem)/1.1 var(--font-display); letter-spacing: -0.038em; }
.ab-name a { color: inherit; text-decoration: none; }
.ab-name a:hover { color: var(--au-indigo-text); }
.au-card p.ab-bio { font-size: 17px; font-weight: 500; color: var(--au-ink); }
.ab-quote { margin: 6px 0 0; padding-left: 18px; border-left: 3px solid; border-image: var(--au-grad) 1; font: 500 1.18rem/1.5 var(--font-sans); letter-spacing: -0.012em; color: var(--au-ink); }
.ab-team .au-actions-row { margin-top: 12px; }
.au-hero--contact { min-height: min(calc(100svh - var(--au-head)), 720px); }
.ct-grid { align-items: start; }
.ct-aside { display: grid; gap: 14px; position: sticky; top: calc(var(--au-head) + 24px); }
.ct-next .sw-steps { padding: 4px 0 0; margin: 4px 0 0; }
.ct-next .sw-steps li { padding: 9px 0; }
.au-card p.ct-small { font-size: 13.5px; color: var(--au-muted); }
.ct-strong { display: inline-flex; align-items: center; gap: 8px; font: 650 17px/1.35 var(--font-sans); color: var(--au-ink); text-decoration: none; }
a.ct-strong:hover { color: var(--au-indigo-text); }
.ct-card p { font-size: 14.5px; }
.ct-pair { gap: 14px; }
@media (max-width: 980px) { .ct-aside { position: static; } }
@media (max-width: 640px) { .bl-feature { flex-direction: column; align-items: flex-start; } }
.ct-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.ab-brands__title { margin-top: 10px !important; }
.ab-brands { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; align-items: center; }
.ab-brands img { display: block; height: 22px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0); opacity: 0.5; transition: opacity 0.3s ease; }
.ab-brands img:hover { opacity: 0.85; }
.au-card p.ab-brands__note { font-size: 12.5px; color: var(--au-muted); }
@media (max-width: 900px) { .ct-grid { grid-template-columns: minmax(0, 1fr); } }
:is(.au-card, .nh-route-card) .au-card__title { margin: 0; font: 650 1.2rem/1.3 var(--font-sans); letter-spacing: -0.018em; color: var(--au-ink); }
[data-mood="night"] :is(.au-card, .nh-route-card) .au-card__title { color: #fff; }

/* Long service and solution titles: one step down so the hero keeps its balance. */
.nh-route[data-route-kind="detail"] .au-hero h1, .nh-route[data-route-kind="collection"] .au-hero h1 { font-size: clamp(2.3rem, 4.1vw, 3.8rem); line-height: 1.04; }
.nh-article .au-hero h1 { font-size: clamp(2.1rem, 3.7vw, 3.4rem); line-height: 1.06; letter-spacing: -0.04em; }
@media (min-width: 901px) { .nh-article .au-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
/* Short heroes still give their formation a screen to form in. */
@media (min-width: 901px) { .au-hero--compact { min-height: min(64vh, 660px); } }

/* Keep service discovery links in the existing three-way layout. */
.sw-way-link { color: inherit; text-decoration: none; }
.sw-way-link:hover b, .sw-way-link:focus-visible b { text-decoration: underline; text-underline-offset: 0.2em; }

/* Waggle owner-supplied scale statement, with all three facts visible on phones. */
.sw-pill--waggle { gap: 10px; flex-wrap: wrap; max-width: 100%; }
.sw-pill--waggle > span { display: inline !important; white-space: nowrap; }
.sw-pill--waggle > span::before { content: "·"; margin-right: 10px; opacity: .65; }
@media (max-width: 600px) {
 .sw-pill--waggle { gap: 6px; padding: 7px 8px; font-size: 11px; border-radius: 22px; }
 .sw-pill--waggle > strong { padding: 5px 9px; }
 .sw-pill--waggle > span::before { margin-right: 6px; }
}
.sw-pill--waggle > strong, .sw-pill--waggle > span { order: 0; }
