/* =========================================================================
   FORMA design system
   One stylesheet for the whole site. Dark-only by design (color-scheme: dark).
   Order: fonts, tokens, base, layout, type, components, tools, pages, motion.
   Fonts are self-hosted Google Fonts (Plus Jakarta Sans: OFL 1.1; Syncopate:
   Apache 2.0). Icons are Lucide (ISC). Licences: assets/LICENSES.txt
   ========================================================================= */

/* ---------- 1. Fonts ---------------------------------------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  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: "Syncopate";
  src: url("fonts/syncopate-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Tokens --------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Ground: midnight indigo, darkest first */
  --ink-950: #030817;
  --ink-900: #050B1C;   /* page ground */
  --ink-850: #081226;
  --ink-800: #0B1730;   /* raised ground */
  --ink-700: #12234A;   /* nested panel */
  --ink-600: #1A3262;   /* hover fill, deep lines */

  /* Text on dark (all pass 4.5:1 on --ink-600 and on glass) */
  --text-hi: #FFFFFF;   /* headlines, figures */
  --text-1: #E8F0FA;    /* body */
  --text-2: #B9C8E2;    /* secondary */
  --text-3: #9DB1D2;    /* labels, captions */

  /* Brand hues */
  --coral: #FF6A2C;
  --magenta: #1FC8FF;
  --violet: #2F6BFF;
  --indigo: #3F7DFF;
  --blue: #22E08A;

  /* Inks: brand hues lifted for small text on dark */
  --coral-ink: #FFA27A;
  --magenta-ink: #7FDFFF;
  --violet-ink: #8FB2FF;
  --blue-ink: #7DF0B8;

  /* Signals */
  --amber: #FFC46B;                       /* sample data, pending, example */
  --amber-bg: rgba(255, 196, 107, .10);
  --amber-line: rgba(255, 196, 107, .5);
  --mint: #5BE3AE;                        /* success */
  --mint-bg: rgba(91, 227, 174, .10);
  --mint-line: rgba(91, 227, 174, .5);
  --error: #FF8C8C;                       /* error text */
  --error-line: #FF5A6A;
  --error-bg: rgba(255, 90, 106, .10);

  /* Gradients */
  --grad-text: linear-gradient(90deg, #FF6A2C 0%, #1FC8FF 36%, #2F6BFF 68%, #22E08A 100%);
  --grad-brand: linear-gradient(90deg, #FF6A2C 0%, #1FC8FF 35%, #2F6BFF 68%, #22E08A 100%);
  --grad-cta: linear-gradient(135deg, #FF7A33 0%, #FF5A24 100%);      /* white text >= 4.59:1 */
  --grad-cta-hover: linear-gradient(135deg, #FF8A45 0%, #FF6A30 100%);
  --grad-ring-violet: linear-gradient(140deg, #B9CFFF 0%, #2F6BFF 55%, #1E4FE0 100%);
  --grad-ring-coral: linear-gradient(140deg, #FFC7A6 0%, #FF6A2C 55%, #E8501A 100%);
  --grad-ring-blue: linear-gradient(140deg, #B6FFD9 0%, #22E08A 55%, #12B86C 100%);
  --grad-ring-magenta: linear-gradient(140deg, #B3EEFF 0%, #1FC8FF 50%, #2F6BFF 100%);
  --grad-accent-line: linear-gradient(140deg, rgba(255, 106, 44, .9) 0%, rgba(31, 200, 255, .45) 35%, rgba(47, 107, 255, .18) 70%, rgba(34, 224, 138, .3) 100%);

  /* Glass */
  --glass-fill: linear-gradient(180deg, rgba(18, 35, 74, .74) 0%, rgba(9, 20, 46, .80) 100%);
  --glass-fill-solid: linear-gradient(180deg, #10204A 0%, #0A1530 100%);
  --glass-inner: rgba(255, 255, 255, .035);
  --glass-inner-line: rgba(160, 190, 255, .14);
  --glass-line: rgba(140, 175, 255, .22);
  --glass-line-strong: rgba(170, 198, 255, .44);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .08);
  --glass-shadow: 0 30px 60px -30px rgba(1, 4, 12, .95), 0 0 48px -16px rgba(47, 107, 255, .30);
  --glass-blur: 12px;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Spacing (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1600px;

  /* Type */
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-wide: "Syncopate", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --fs-display: clamp(3rem, 1.9rem + 5vw, 6.5rem);
  --fs-h1: clamp(2.375rem, 1.55rem + 3.4vw, 4.75rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.875rem);
  --fs-h3: clamp(1.25rem, 1.12rem + .55vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-lede: clamp(1.125rem, 1.02rem + .45vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --fs-figure: clamp(3rem, 2.3rem + 2.4vw, 4.5rem);
  --lh-tight: 1.02;
  --lh-snug: 1.2;
  --lh-body: 1.6;

  /* Motion */
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 120ms;
  --dur-2: 220ms;
  --dur-3: 420ms;
  --dur-4: 800ms;
  --badge-spin: 32s;

  /* Focus */
  --focus-ring: #FFFFFF;
  --focus-glow: 0 0 0 6px rgba(47, 107, 255, .45);

  /* Layers */
  --z-wave: 0;
  --z-content: 1;
  --z-rail: 30;
  --z-header: 50;
}

/* ---------- 3. Base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  background: var(--ink-900);
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--text-1);
  background:
    radial-gradient(1100px 680px at 88% -8%, rgba(40, 90, 255, .20), transparent 62%),
    radial-gradient(900px 640px at -12% 46%, rgba(31, 200, 255, .09), transparent 60%),
    radial-gradient(1000px 700px at 50% 120%, rgba(34, 224, 138, .10), transparent 60%),
    var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--violet-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text-hi); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(47, 107, 255, .55); color: #fff; }
strong, b { font-weight: 700; color: var(--text-hi); }
hr { border: 0; height: 1px; background: var(--glass-line); margin: var(--s-6) 0; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  box-shadow: var(--focus-glow);
}
/* Elements whose own box-shadow we keep while focused */
.btn:focus-visible, .ind-card:focus-visible, .chip input:focus-visible + span { box-shadow: var(--focus-glow); }
/* Design-system demos: force the focus look on a static example */
.is-focus { outline: 2px solid var(--focus-ring) !important; outline-offset: 3px; box-shadow: var(--focus-glow) !important; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink-900);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

/* Hidden sprite (gradients must not sit inside display:none) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 4. Layout --------------------------------------------------- */
.container {
  width: min(100% - (2 * var(--gutter)), var(--max));
  margin-inline: auto;
}
.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.stack--sm { --stack: var(--s-2); }
.stack--lg { --stack: var(--s-5); }
.stack--xl { --stack: var(--s-7); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, var(--s-3)); }
.section { padding-block: var(--s-8); }
.section--tight { padding-block: var(--s-6); }
.grid { display: grid; gap: var(--grid-gap, var(--s-4)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
main { position: relative; z-index: var(--z-content); }

/* A "stage" holds a wave canvas behind its content */
.stage { position: relative; isolation: isolate; }
.stage > .container { position: relative; z-index: 1; }
.wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.stage--home .wave { inset: -120px 0 -40px; height: calc(100% + 160px); }
.stage--page .wave { inset: -120px 0 auto; height: calc(100% + 120px); }

/* ---------- 5. Type ----------------------------------------------------- */
.display, .h1, .h2, .h3, .h4, h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--text-hi);
  font-weight: 700;
  text-wrap: balance;
}
.display {
  font-size: var(--fs-display);
  line-height: .98;
  letter-spacing: -.035em;
}
.h1, h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -.03em; }
.h2, h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.025em; }
.h3, h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: -.015em; }
.h4, h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -.01em; }
.lede {
  font-size: var(--fs-lede);
  line-height: 1.45;
  color: var(--text-2);
  text-wrap: pretty;
}
p { text-wrap: pretty; }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); line-height: 1.5; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-wide);
  font-weight: 700;
  font-size: .6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet-ink);
}
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }

/* Gradient words. Darkest stop (#2F6BFF) is 5.3:1 on the ground. */
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
@media (forced-colors: active) {
  .grad { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}

.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--violet-ink); }

/* Wordmark placeholder: set in Syncopate until Chris's rendered logo lands */
.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-wide);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: .14em;
  color: var(--text-hi);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 0;
  margin-right: -.14em;
}
.wordmark:hover { color: var(--text-hi); }

/* ---------- 6. Icons ---------------------------------------------------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 1em; height: 1em; }

/* Icon in a gradient-ringed circle */
.icon-ring {
  --ring: var(--grad-ring-violet);
  --ink: url(#fg-violet) #A8C2FF;
  --ring-glow: rgba(60, 120, 255, .45);
  --size: 56px;
  position: relative;
  flex: none;
  display: inline-grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  border: 1.5px solid transparent;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .10), rgba(6, 14, 34, .96) 68%) padding-box,
    var(--ring) border-box;
  box-shadow: 0 0 26px -6px var(--ring-glow), inset 0 0 18px rgba(60, 120, 255, .12);
}
.icon-ring svg {
  width: 46%;
  height: 46%;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-ring--sm { --size: 40px; }
.icon-ring--lg { --size: 72px; }
.icon-ring--xl { --size: 88px; }
.icon-ring--violet { --ring: var(--grad-ring-violet); --ink: url(#fg-violet) #A8C2FF; --ring-glow: rgba(60, 120, 255, .5); }
.icon-ring--coral { --ring: var(--grad-ring-coral); --ink: url(#fg-coral) #FFB088; --ring-glow: rgba(255, 106, 44, .45); }
.icon-ring--blue { --ring: var(--grad-ring-blue); --ink: url(#fg-blue) #7DF0B8; --ring-glow: rgba(34, 224, 138, .5); }
.icon-ring--magenta { --ring: var(--grad-ring-magenta); --ink: url(#fg-magenta) #7FDFFF; --ring-glow: rgba(31, 200, 255, .45); }

/* Filled gradient tile (reporting rows) */
.icon-tile {
  --tile: linear-gradient(140deg, #5C8DFF, #1E4FE0);
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--tile);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 20px -8px rgba(47, 107, 255, .8);
}
.icon-tile svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile--coral { --tile: linear-gradient(140deg, #FF9A5A, #E8501A); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 20px -8px rgba(255, 106, 44, .8); }
.icon-tile--blue { --tile: linear-gradient(140deg, #33E596, #12B86C); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 20px -8px rgba(34, 224, 138, .8); }

/* ---------- 7. Glass panel --------------------------------------------- */
.glass {
  position: relative;
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(135%);
  backdrop-filter: blur(var(--glass-blur)) saturate(135%);
}
.glass--pad { padding: clamp(20px, 2.2vw, 32px); }
.glass--inner {
  background: var(--glass-inner);
  border: 1px solid var(--glass-inner-line);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* Gradient border (coral to violet) drawn with a masked pseudo-element */
.glass--accent { border-color: transparent; box-shadow: var(--glass-highlight), 0 0 60px -18px rgba(255, 106, 44, .45), 0 30px 60px -30px rgba(1, 4, 12, .95); }
.glass--accent::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-accent-line);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .nav { background: var(--glass-fill-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Panel header row: icon + title + optional tag */
.panel-head { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.panel-head__title { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; color: var(--text-hi); line-height: 1.25; }
.panel-head .tag { margin-left: auto; }

/* ---------- 8. Header and nav ------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding-top: clamp(10px, 1.6vw, 24px);
  margin-bottom: clamp(16px, 2vw, 28px);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: 72px;
  padding: 10px 12px 10px clamp(16px, 2vw, 32px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(15, 30, 66, .78), rgba(8, 18, 40, .82));
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-highlight), 0 20px 50px -24px rgba(1, 4, 12, .9), 0 0 40px -18px rgba(47, 107, 255, .35);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.nav__menu { display: flex; align-items: center; gap: var(--s-4); flex: 1; }
.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.6vw, 28px);
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.nav__links a:hover { color: var(--text-hi); background: rgba(255, 255, 255, .04); }
.nav__links a[aria-current="page"] { color: var(--text-hi); font-weight: 600; }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2F6BFF, #8FB2FF, #22E08A);
  box-shadow: 0 0 12px rgba(47, 107, 255, .9);
}
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, .04);
  color: var(--text-hi);
  place-items: center;
}
.nav__toggle:hover { border-color: var(--glass-line-strong); background: rgba(255, 255, 255, .07); }
.nav__toggle .icon { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav.is-open .nav__toggle .icon-open { display: none; }
.nav.is-open .nav__toggle .icon-close { display: block; }
.nav .nav__cta-bar { display: none; }

/* ---------- 9. Buttons -------------------------------------------------- */
.btn {
  --btn-h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.005em;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition:
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out),
    background-color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out);
}
.btn .icon { width: 20px; height: 20px; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .btn__arrow, .btn.is-hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  color: #fff;
  background: var(--grad-cta);
  box-shadow: 0 12px 30px -12px rgba(255, 106, 44, .85), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover, .btn--primary.is-hover {
  color: #fff;
  background: var(--grad-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -12px rgba(255, 106, 44, 1), 0 0 0 1px rgba(255, 170, 120, .35) inset, 0 0 32px -6px rgba(255, 106, 44, .55);
}
.btn--primary:active, .btn--primary.is-active { transform: translateY(1px); box-shadow: 0 6px 16px -8px rgba(255, 106, 44, .9), inset 0 2px 6px rgba(0, 0, 0, .25); }

.btn--secondary {
  color: var(--text-hi);
  background: rgba(6, 14, 34, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: rgba(160, 190, 255, .38);
}
.btn--secondary:hover, .btn--secondary.is-hover { color: var(--text-hi); background: rgba(47, 107, 255, .10); border-color: rgba(180, 205, 255, .65); transform: translateY(-1px); }
.btn--secondary:active, .btn--secondary.is-active { transform: translateY(1px); background: rgba(47, 107, 255, .16); }
.btn__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #A8C2FF;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .28), 0 0 14px 3px rgba(47, 107, 255, .85);
  flex: none;
}

.btn--ghost {
  --btn-h: 44px;
  padding-inline: 2px;
  color: var(--violet-ink);
  background: none;
}
.btn--ghost:hover, .btn--ghost.is-hover { color: var(--text-hi); }

.btn--sm { --btn-h: 44px; padding: 10px 16px; font-size: .9375rem; border-radius: 12px; }
.btn--lg { --btn-h: 58px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }

.btn:disabled, .btn[aria-disabled="true"], .btn.is-disabled {
  cursor: not-allowed;
  opacity: .5;
  filter: saturate(.35);
  transform: none;
  box-shadow: none;
}
.btn__spinner { display: none; width: 20px; height: 20px; animation: spin .9s linear infinite; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__spinner { display: block; }
.btn.is-loading .btn__arrow { display: none; }

/* ---------- 10. Tags ---------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-line);
  font-size: var(--fs-xs);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--text-2);
  background: rgba(255, 255, 255, .03);
  white-space: nowrap;
}
.tag .icon { width: 14px; height: 14px; }
.tag--sample, .tag--pending, .tag--example {
  color: var(--amber);
  background: var(--amber-bg);
  border: 1px dashed var(--amber-line);
}
.tag--violet { color: var(--violet-ink); border-color: rgba(143, 178, 255, .4); background: rgba(47, 107, 255, .10); }
.tag--ok { color: var(--mint); border-color: var(--mint-line); background: var(--mint-bg); }
.tag__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

/* Callout for placeholder and concept-only notices */
.notice {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px dashed var(--amber-line);
  background: var(--amber-bg);
  color: var(--text-1);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.notice .icon { color: var(--amber); width: 18px; height: 18px; margin-top: 2px; }
.notice strong { color: var(--amber); }
.notice--ok { border-color: var(--mint-line); background: var(--mint-bg); }
.notice--ok .icon, .notice--ok strong { color: var(--mint); }
.notice--error { border-style: solid; border-color: var(--error-line); background: var(--error-bg); }
.notice--error .icon, .notice--error strong { color: var(--error); }

/* ---------- 11. Image slot --------------------------------------------- */
.slot {
  --ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio);
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-line);
  background:
    radial-gradient(70% 55% at 12% 30%, rgba(255, 106, 44, .34), transparent 62%),
    radial-gradient(70% 60% at 92% 62%, rgba(34, 224, 138, .34), transparent 62%),
    radial-gradient(60% 45% at 50% 105%, rgba(47, 107, 255, .34), transparent 70%),
    linear-gradient(180deg, #0F1F4A 0%, #081228 100%);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  isolation: isolate;
}
.slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(205, 222, 255, .16) 1px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 60% 45%, #000 20%, transparent 75%);
  z-index: 0;
}
.slot::after {
  content: "";
  position: absolute;
  top: 16%;
  left: 50%;
  height: 68%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 160, 110, .35);
  box-shadow: 0 0 40px rgba(255, 106, 44, .25), inset 0 0 40px rgba(34, 224, 138, .2);
  z-index: 0;
}
.slot--3x4 { --ratio: 3 / 4; }
.slot--4x3 { --ratio: 4 / 3; }
.slot--4x5 { --ratio: 4 / 5; }
.slot--16x9 { --ratio: 16 / 9; }
.slot--fill { aspect-ratio: auto; height: 100%; min-height: 320px; }
.slot__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(5, 11, 28, .78);
  border: 1px solid var(--glass-line);
  color: var(--text-2);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.slot__label .icon { width: 14px; height: 14px; }
.slot > img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  font-size: 0;
}
.slot--portrait { height: 100%; min-height: 420px; aspect-ratio: auto; }
.slot--portrait::after { top: 12%; height: auto; width: 84%; }

/* ---------- 12. Industry card ------------------------------------------ */
.ind-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin: 0; padding: 0; list-style: none; }
.ind-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  height: 100%;
  min-height: 216px;
  padding: 22px 22px 20px;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-line);
  background: var(--glass-fill);
  box-shadow: var(--glass-highlight), 0 24px 50px -30px rgba(1, 4, 12, .95);
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.ind-card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}
.ind-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 11, 28, .55) 0%, rgba(5, 11, 28, .88) 55%, rgba(5, 11, 28, .94) 100%);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}
.ind-card__title { margin-top: auto; font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; color: var(--text-hi); }
.ind-card__text { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; padding-right: 36px; }
.ind-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 22px;
  height: 22px;
  color: var(--text-1);
  transition: transform var(--dur-2) var(--ease-out), color var(--dur-2);
}
.ind-card:hover, .ind-card.is-hover {
  transform: translateY(-3px);
  border-color: var(--glass-line-strong);
  box-shadow: var(--glass-highlight), 0 30px 60px -28px rgba(1, 4, 12, 1), 0 0 44px -14px var(--card-glow, rgba(60, 120, 255, .6));
}
.ind-card:hover .ind-card__img, .ind-card.is-hover .ind-card__img { opacity: .34; }
.ind-card:hover::after, .ind-card.is-hover::after { opacity: 1; }
.ind-card:hover .ind-card__arrow, .ind-card.is-hover .ind-card__arrow { transform: translateX(4px); color: var(--text-hi); }
.ind-card:active { transform: translateY(0); }
.ind-card[data-hue="coral"] { --card-glow: rgba(255, 106, 44, .55); }
.ind-card[data-hue="blue"] { --card-glow: rgba(34, 224, 138, .6); }
.ind-card[data-hue="magenta"] { --card-glow: rgba(31, 200, 255, .55); }

/* ---------- 13. Side card ("Not on the list?") ------------------------- */
.side-card { display: flex; flex-direction: column; gap: var(--s-5); padding: 18px 18px 24px; }
.side-card .slot { border-radius: var(--r-lg); }
.side-card__body { display: flex; flex-direction: column; gap: var(--s-4); padding-inline: 8px; flex: 1; }
.side-card__title { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); line-height: 1.12; letter-spacing: -.02em; }
.side-card .btn { margin-top: auto; }

/* ---------- 14. Stat tile and stat bar --------------------------------- */
.statbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  padding: clamp(16px, 2vw, 28px);
  gap: 0;
}
.stat {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-4) clamp(12px, 2vw, 32px);
  min-width: 0;
}
.statbar .stat + .stat { border-left: 1px solid var(--glass-line); }
.stat__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat__eyebrow { font-size: var(--fs-xs); font-weight: 650; color: var(--violet-ink); letter-spacing: .02em; }
.stat__figure {
  font-size: clamp(2.5rem, 2rem + 1.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums lining-nums;
}
.stat__label { color: var(--text-1); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }
.stat__source { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.45; }
.stat__source a { color: var(--violet-ink); }
/* Pending: no number until it is checked on the live LocaliQ page */
.stat--pending .stat__figure {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-md);
  border: 1.5px dashed var(--amber-line);
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}
@media (max-width: 899px) {
  .statbar .stat + .stat { border-left: 0; border-top: 1px solid var(--glass-line); }
}

/* ---------- 15. Form controls (shared by tools and forms) -------------- */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-1); line-height: 1.35; }
.field__label .req { color: var(--coral-ink); margin-left: 2px; }
.field__label .opt { color: var(--text-3); font-weight: 500; margin-left: 4px; }
.field__help { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--error);
  line-height: 1.45;
}
.field__error .icon { width: 15px; height: 15px; margin-top: 1px; }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(160, 190, 255, .30);
  background-color: rgba(3, 8, 23, .55);
  color: var(--text-hi);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.textarea { min-height: 132px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #8396BC; opacity: 1; }
.input:hover, .select:hover, .textarea:hover,
.input.is-hover, .select.is-hover { border-color: rgba(180, 205, 255, .55); background-color: rgba(8, 18, 40, .7); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible,
.input.is-focus, .select.is-focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: rgba(180, 205, 255, .8);
  box-shadow: var(--focus-glow);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--error-line);
  background-color: rgba(255, 90, 106, .06);
}
.input.is-valid, .select.is-valid, .textarea.is-valid { border-color: var(--mint-line); }
.input:disabled, .select:disabled, .textarea:disabled { opacity: .5; cursor: not-allowed; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9C8E2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  text-overflow: ellipsis;
}
.select option { background: #0B1730; color: #fff; }
.input-affix { position: relative; display: block; }
.input-affix__pre {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-2);
  pointer-events: none;
  font-weight: 600;
}
.input-affix .input { padding-left: 32px; }

/* Checkbox */
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: var(--fs-sm); color: var(--text-1); line-height: 1.5; }
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1.5px solid rgba(180, 205, 255, .55);
  background: rgba(3, 8, 23, .6);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.check input::after {
  content: "";
  width: 11px;
  height: 6px;
  border: solid #fff;
  border-width: 0 0 2.5px 2.5px;
  transform: translate(0, -1px) rotate(-45deg) scale(0);
  transition: transform var(--dur-1) var(--ease-out);
}
.check input:checked { background: linear-gradient(135deg, #2F6BFF, #1FA0FF); border-color: transparent; }
.check input:checked::after { transform: translate(0, -1px) rotate(-45deg) scale(1); }
.check input[aria-invalid="true"] { border-color: var(--error-line); }

/* Choice chips (radio or checkbox) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(160, 190, 255, .3);
  background: rgba(3, 8, 23, .45);
  color: var(--text-1);
  font-size: var(--fs-sm);
  font-weight: 550;
  cursor: pointer;
  transition: border-color var(--dur-2), background-color var(--dur-2), color var(--dur-2);
}
.chip span:hover { border-color: rgba(180, 205, 255, .6); background: rgba(47, 107, 255, .08); }
.chip input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, rgba(70, 130, 255, .55), rgba(40, 170, 220, .45)); box-shadow: inset 0 0 0 1px rgba(180, 205, 255, .7); }
.chip input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.chip input:disabled + span { opacity: .5; cursor: not-allowed; }

/* Sparkline */
.spark { display: block; width: 100%; height: 56px; overflow: visible; }
.spark__line { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark__area { stroke: none; }
.spark__dot { stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark--violet .spark__line { stroke: url(#sg-violet) #2F6BFF; filter: drop-shadow(0 0 6px rgba(47, 107, 255, .7)); }
.spark--violet .spark__area { fill: url(#sa-violet) rgba(47, 107, 255, .15); }
.spark--coral .spark__line { stroke: url(#sg-coral) #FF6A2C; filter: drop-shadow(0 0 6px rgba(255, 106, 44, .7)); }
.spark--coral .spark__area { fill: url(#sa-coral) rgba(255, 106, 44, .15); }
.spark--blue .spark__line { stroke: url(#sg-blue) #22E08A; filter: drop-shadow(0 0 6px rgba(34, 224, 138, .7)); }
.spark--blue .spark__area { fill: url(#sa-blue) rgba(34, 224, 138, .15); }
.spark--brand .spark__line { stroke: url(#sg-brand) #2F6BFF; filter: drop-shadow(0 0 8px rgba(47, 107, 255, .75)); }
.spark--brand .spark__area { fill: url(#sa-violet) rgba(47, 107, 255, .15); }
.spark--brand .spark__dot { fill: #FF6A2C; }

/* ---------- 17. Reporting panel ---------------------------------------- */
.report { display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(18px, 1.6vw, 24px); container-type: inline-size; }
.report__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.report-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(56px, .8fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--glass-inner);
  border: 1px solid var(--glass-inner-line);
}
.report-row__name { display: flex; flex-direction: column; min-width: 0; }
.report-row__name strong { font-size: .9375rem; font-weight: 650; line-height: 1.25; }
.report-row__sub { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.4; }
.report-row__counts { display: flex; gap: 10px; margin-top: 6px; font-size: var(--fs-xs); color: var(--text-2); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.report-row__counts b { color: var(--text-hi); font-weight: 700; font-size: .9375rem; }
.report-row .spark { height: 40px; }
.report-row__cpl { text-align: right; display: flex; flex-direction: column; gap: 2px; padding-left: 10px; border-left: 1px solid var(--glass-inner-line); }
.report-row__cpl span { font-size: .75rem; color: var(--text-3); white-space: nowrap; }
.report-row__cpl b { font-size: 1.125rem; font-weight: 750; color: var(--text-hi); font-variant-numeric: tabular-nums; }
.report__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--glass-inner);
  border: 1px solid var(--glass-inner-line);
  color: var(--text-1);
  font-size: var(--fs-sm);
  font-weight: 550;
  text-decoration: none;
  transition: border-color var(--dur-2), background-color var(--dur-2);
}
.report__foot:hover { color: var(--text-hi); border-color: var(--glass-line-strong); background: rgba(47, 107, 255, .08); }
.report__foot .icon { transition: transform var(--dur-2) var(--ease-out); }
.report__foot:hover .icon { transform: translateX(3px); }
.report__caption { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }
@container (max-width: 340px) {
  .report-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .report-row .spark { grid-column: 1 / -1; grid-row: 2; height: 34px; }
}

/* ---------- 18. Growth engine steps (chevrons) ------------------------- */
.engine { padding: clamp(20px, 2vw, 32px); display: flex; flex-direction: column; gap: var(--s-5); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 28px); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { --hue: #8FB2FF; --hue-glow: rgba(47, 107, 255, .35); display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.step--violet { --hue: #8FB2FF; --hue-glow: rgba(47, 107, 255, .35); }
.step--coral { --hue: #FFA27A; --hue-glow: rgba(255, 106, 44, .35); }
.step--blue { --hue: #7DF0B8; --hue-glow: rgba(34, 224, 138, .38); }
.step__num { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; color: var(--hue); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.step__num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--hue), transparent); opacity: .6; }
.step__shape {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 112px;
  padding: 14px 44px 14px 20px;
  isolation: isolate;
}
.step__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.step__bg path { fill: url(#chev-fill) rgba(255, 255, 255, .04); stroke: var(--hue); stroke-opacity: .45; stroke-width: 1.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 10px var(--hue-glow)); }
.step__label { font-size: 1.0625rem; font-weight: 650; color: var(--text-hi); line-height: 1.2; }
.step__shape .icon-ring { --size: 64px; }
.step__arrow { position: absolute; right: -22px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-2); }
.step:last-child .step__arrow { display: none; }
.step__text { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; padding-right: 8px; }
@media (max-width: 759px) {
  .steps { grid-template-columns: 1fr; }
  .step__arrow { right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%) rotate(90deg); }
  .step { padding-bottom: 8px; }
}

/* ---------- 19. CTA card ------------------------------------------------ */
.cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: clamp(24px, 2.6vw, 44px);
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 80% at 108% 30%, rgba(255, 100, 40, .42), transparent 65%),
    radial-gradient(40% 60% at 100% 100%, rgba(31, 200, 255, .25), transparent 70%);
  pointer-events: none;
}
/* The coral wave lives in its own strip on the right; text never sits on it */
.cta-card { container-type: inline-size; }
.cta-card .wave { z-index: -1; left: auto; right: 0; width: 24%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
@container (min-width: 440px) {
  .cta-card__body { padding-right: 22%; }
}
@container (max-width: 439px) {
  .cta-card .wave { display: none; }
}
.cta-card__title { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); line-height: 1.12; letter-spacing: -.02em; }
.cta-card__sub { color: var(--text-1); font-size: 1.0625rem; }
.cta-card__includes {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255, 160, 110, .2);
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.cta-card__includes .icon { color: var(--coral-ink); width: 20px; height: 20px; margin-top: 2px; }
.cta-card .btn { align-self: flex-start; }
.cta-card__body { display: flex; flex-direction: column; gap: var(--s-4); }

/* ---------- 20. Rotating badge ----------------------------------------- */
.badge {
  position: relative;
  width: var(--badge-size, 124px);
  height: var(--badge-size, 124px);
  flex: none;
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin var(--badge-spin) linear infinite; }
.badge__ring text { font-family: var(--font-wide); font-weight: 700; font-size: 9.6px; letter-spacing: 2.6px; fill: var(--text-2); }
.badge__ring circle { fill: none; stroke: rgba(160, 190, 255, .18); stroke-width: 1; }
.badge__core {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 13%, rgba(175, 200, 255, .95) 16%, rgba(47, 107, 255, .55) 36%, rgba(15, 30, 66, .95) 62%);
  border: 1.5px solid rgba(143, 178, 255, .55);
  box-shadow: 0 0 24px rgba(47, 107, 255, .65), inset 0 0 12px rgba(47, 107, 255, .4);
  animation: pulse 3.2s var(--ease-in-out) infinite;
}

/* ---------- 22. Channel strip ------------------------------------------ */
.strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-7);
  padding: clamp(18px, 2vw, 30px) clamp(20px, 2.6vw, 40px);
}
.strip__label { color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; flex: none; }
.strip__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 0; flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; }
.strip__item {
  padding: 4px clamp(12px, 1.8vw, 28px);
  font-size: clamp(.8125rem, .76rem + .25vw, 1rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.strip__item + .strip__item { border-left: 1px solid rgba(160, 190, 255, .22); }
@media (max-width: 759px) {
  .strip__list { justify-content: flex-start; }
  .strip__item { padding-left: 0; padding-right: 14px; }
  .strip__item + .strip__item { border-left: 0; }
  .strip__item:not(:last-child)::after { content: "·"; margin-left: 14px; color: rgba(160, 190, 255, .5); }
}

/* ---------- 24. Forms (book a call) ------------------------------------ */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.form-status { display: none; }
.form-status.is-shown { display: flex; }
.form__summary { display: none; }
.form__summary.is-shown { display: flex; }

/* ---------- 26. Page sections ------------------------------------------ */
.page-hero { padding-block: clamp(24px, 4vw, 56px) clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: var(--s-4); }

/* Home board: the concept 2 composition */
.home-top { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
.home-hero { container-type: inline-size; display: flex; flex-direction: column; gap: var(--s-5); padding: clamp(8px, 2vw, 24px) 0 var(--s-5); }
.home-hero .display { font-size: clamp(2.75rem, 18.2cqi, 5.5rem); text-wrap: initial; }
.home-hero .lede { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); color: var(--text-1); }
.home-portrait { min-height: 420px; }
.home-row2 { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); margin-top: var(--s-4); }
.home-badge { display: none; }
@media (min-width: 760px) {
  .home-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero { grid-column: 1 / -1; }
  .home-report { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .home-top { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.1fr); }
  .home-report { grid-column: auto; }
  .home-row2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  .home-top { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1.04fr) minmax(0, .86fr) minmax(0, 1.16fr); align-items: stretch; }
  .home-hero { grid-column: auto; padding-top: var(--s-5); }
  .home-row2 { grid-template-columns: 124px minmax(0, 1.42fr) minmax(0, 1fr); align-items: stretch; }
  .home-badge { display: grid; place-items: center; align-self: center; }
}

/* Industries hub layout: 3 x 3 cards with the side card on the right */
.ind-layout { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) {
  .ind-layout { grid-template-columns: minmax(0, 3fr) minmax(300px, 1.08fr); }
  .ind-layout .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 680px) and (max-width: 1099px) {
  .ind-layout .side-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
.stats-row { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); margin-top: var(--s-4); }
.stats-row__badge { display: none; }
@media (min-width: 1280px) {
  .stats-row { grid-template-columns: 124px minmax(0, 1fr); align-items: center; }
  .stats-row__badge { display: grid; place-items: center; }
}
.stats-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 0 clamp(16px, 2vw, 28px); margin-top: var(--s-2); }

/* ---------- 27. Motion -------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 22px rgba(47, 107, 255, .55), inset 0 0 12px rgba(47, 107, 255, .4); }
  50% { box-shadow: 0 0 34px rgba(47, 107, 255, .9), inset 0 0 16px rgba(47, 107, 255, .55); }
}
html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
html.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .badge__ring, .badge__core { animation: none !important; }
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .ind-card:hover { transform: none; }
}

/* ---------- 28. Design-system page helpers ----------------------------- */
.ds-section { padding-block: var(--s-7); border-top: 1px solid var(--glass-inner-line); }
.ds-section > header { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-5); }
.ds-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.ds-label { font-size: var(--fs-xs); color: var(--text-3); font-weight: 600; letter-spacing: .02em; }
.ds-demo { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.swatches { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.swatch { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--glass-inner-line); background: var(--ink-850); }
.swatch__chip { height: 72px; }
.swatch__meta { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-xs); color: var(--text-2); }
.swatch__meta b { color: var(--text-hi); font-size: var(--fs-sm); }
.swatch__meta code { color: var(--text-3); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; }
.ds-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.ds-table th, .ds-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--glass-inner-line); vertical-align: middle; }
.ds-table th { color: var(--text-hi); font-weight: 650; font-size: var(--fs-xs); letter-spacing: .03em; }
.ds-table td { color: var(--text-1); font-variant-numeric: tabular-nums; }
.ds-table code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; color: var(--text-2); }
.ds-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ds-pass { color: var(--mint); font-weight: 700; }
.ds-fail { color: var(--error); font-weight: 700; }
.ds-space { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.ds-space span { display: block; background: linear-gradient(180deg, #2F6BFF, #22E08A); border-radius: 3px; width: 18px; }
.ds-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--glass-inner-line); min-height: 260px; }

/* Industries: note under the stat bar */
.stats-note { display: flex; gap: 8px; align-items: flex-start; margin-top: var(--s-3); padding-inline: 4px; }
.stats-note .icon { margin-top: 3px; color: var(--violet-ink); }
@media (min-width: 1280px) { .stats-note { margin-left: calc(124px + var(--s-4)); } }

/* Small-screen fixes */
@media (max-width: 759px) {
  .strip { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .strip__list { width: 100%; flex: none; gap: 8px 0; }
  .step__arrow { display: none; }
}

/* =========================================================================
   FIRST LOOK LAYER (2026-11-07): header and phone menu, sticky book bar,
   rail, footer, glossy orbs, designed image placeholders, glass glow and
   shimmer, AI-answer check, step flow, Home and Industries layouts.
   ========================================================================= */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---- Header: links, button and the phone menu ------------------------- */
.site-header { transition: padding var(--dur-3) var(--ease-out); }
.site-header.is-scrolled { padding-top: 8px; }
.site-header.is-scrolled .nav { min-height: 60px; }
.nav { transition: min-height var(--dur-3) var(--ease-out); }
.nav .wordmark { flex: none; }
.nav__links { flex: 1; }
.nav__cta { flex: none; }
.nav__toggle { gap: 8px; width: auto; padding: 0 14px; min-height: 48px; font-weight: 650; font-size: 1rem; }
.menu-open .nav__toggle .icon-open { display: none; }
.menu-open .nav__toggle .icon-close { display: block; }
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(2, 6, 16, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}
.menu-panel.is-open { opacity: 1; }
.menu-panel__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: 104px var(--s-5) var(--s-6);
  overflow-y: auto;
  background: linear-gradient(180deg, #10204A 0%, #081226 100%);
  border-left: 1px solid var(--glass-line);
  box-shadow: -30px 0 60px -20px rgba(1, 4, 12, .9);
  transform: translateX(24px);
  transition: transform var(--dur-3) var(--ease-out);
}
.menu-panel.is-open .menu-panel__inner { transform: none; }
.menu-panel__links, .menu-panel__small { list-style: none; margin: 0; padding: 0; }
.menu-panel__links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  color: var(--text-1);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}
.menu-panel__links a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.menu-panel__links a[aria-current="page"] { background: rgba(47, 107, 255, .14); color: #fff; box-shadow: inset 3px 0 0 #8FB2FF; }
.menu-panel__small { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--glass-inner-line); }
.menu-panel__small a { display: inline-flex; min-height: 44px; align-items: center; color: var(--text-2); font-size: var(--fs-sm); }
.site-header { z-index: 50; }
@media (max-width: 1099px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; margin-left: auto; }
}
@media (min-width: 1100px) { .menu-panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .menu-panel__inner { transform: none; } }

/* ---- Sticky book bar (phones and tablets) ----------------------------- */
.sticky-book {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(5, 11, 28, 0), rgba(5, 11, 28, .92) 30%);
  transform: translateY(110%);
  transition: transform var(--dur-3) var(--ease-out);
  pointer-events: none;
}
.sticky-book.is-shown { transform: none; pointer-events: auto; }
@media (min-width: 1100px) { .sticky-book { display: none; } }
@media (max-width: 1099px) { html { scroll-padding-bottom: 84px; } }

/* ---- Progress rail: scroll fill, glowing head, one dot per section ---- */
.rail {
  --progress: 0;
  position: fixed;
  z-index: var(--z-rail);
  left: max(14px, calc((100vw - var(--max)) / 2 - 40px), calc(var(--gutter) / 2 - 6px));
  top: 150px;
  bottom: 16vh;
  width: 12px;
  display: none;
  pointer-events: none;
}
@media (min-width: 1280px) { .rail { display: block; } }
.rail__line {
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(160, 190, 255, .32) 0 8px, transparent 8px 16px);
}
.rail__line::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(var(--progress) * 100%);
  background: linear-gradient(180deg, #DCE7FF, #2F6BFF 70%, rgba(47, 107, 255, .4));
  box-shadow: 0 0 10px rgba(47, 107, 255, .8);
}
.rail__line::after {
  content: "";
  position: absolute;
  left: -5px;
  top: calc(var(--progress) * 100%);
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .35), 0 0 18px 5px rgba(47, 107, 255, .9);
}
.rail__dots { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; justify-content: space-between; }
.rail__dot { width: 6px; height: 6px; margin-left: 3px; border-radius: 50%; background: rgba(160, 190, 255, .45); transition: background-color var(--dur-3), box-shadow var(--dur-3), transform var(--dur-3); }
.rail__dot.is-past { background: #A8C2FF; }
.rail__dot.is-active { background: #fff; transform: scale(1.5); box-shadow: 0 0 10px 3px rgba(47, 107, 255, .9); }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { position: relative; z-index: var(--z-content); margin-top: var(--s-8); padding-block: var(--s-7) var(--s-6); border-top: 1px solid var(--glass-line); background: linear-gradient(180deg, rgba(11, 23, 48, .7), rgba(3, 8, 23, .95)); }
.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
.footer__h { margin: 0 0 var(--s-2); font-size: var(--fs-sm); }
.footer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-hi);
  font: 700 var(--fs-sm)/1.3 var(--font-sans);
  letter-spacing: .02em;
  text-align: left;
}
.footer__chev { width: 18px; height: 18px; color: var(--text-2); transition: transform var(--dur-2) var(--ease-out); }
.footer__toggle[aria-expanded="true"] .footer__chev { transform: rotate(180deg); }
@media (min-width: 768px) { .footer__chev { display: none; } .footer__toggle { cursor: default; pointer-events: none; } }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.footer__col a { display: inline-flex; min-height: 40px; align-items: center; color: var(--text-2); text-decoration: none; font-size: var(--fs-sm); }
.footer__col a:hover { color: var(--text-hi); text-decoration: underline; }
.footer__base { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--glass-inner-line); }
.footer__brand { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer__by { color: var(--text-1); font-weight: 650; }
.footer__blurb { color: var(--text-2); font-size: var(--fs-sm); }
.footer__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; color: var(--text-2); font-size: var(--fs-sm); }
.footer__meta a { color: var(--text-2); display: inline-flex; min-height: 44px; align-items: center; }
.footer__meta a:hover { color: var(--text-hi); }
@media (max-width: 767px) {
  .footer__nav { grid-template-columns: 1fr; gap: 0; }
  .footer__col { border-bottom: 1px solid var(--glass-inner-line); }
  .footer__h { margin: 0; }
  .footer__toggle { min-height: 52px; font-size: 1rem; }
  .footer__col ul { padding-bottom: var(--s-3); }
}

/* ---- Pause animations controls --------------------------------------- */
.pause-btn, .pause-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--glass-line);
  background: rgba(6, 14, 34, .7);
  color: var(--text-1);
  font: 600 var(--fs-sm)/1 var(--font-sans);
}
.pause-btn { width: 44px; height: 44px; border-radius: 50%; padding: 0; }
.pause-toggle { min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); }
.pause-btn:hover, .pause-toggle:hover { border-color: var(--glass-line-strong); color: #fff; }
.pause-btn .icon, .pause-toggle .icon { width: 16px; height: 16px; }
.icon-play { display: none; }
.is-paused .icon-pause { display: none; }
.is-paused .icon-play { display: block; }
@media (prefers-reduced-motion: reduce) { .pause-btn, .pause-toggle, .footer__pause { display: none !important; } }
.is-paused .badge__ring, .is-paused .badge__core, .is-paused .grad, .is-paused .slot__leak, .is-paused .step__flow i,
.is-paused .glass::before, .is-paused .ind-card::before { animation-play-state: paused !important; }

/* ---- Glossy icon orbs (duotone Lucide icon, ring, inner glow, bloom) - */
.icon-ring {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 50% 62%, var(--orb-core, rgba(47, 107, 255, .38)), rgba(6, 14, 34, .96) 70%) padding-box,
    var(--ring) border-box;
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 0 30px -4px var(--ring-glow), 0 10px 26px -10px var(--ring-glow), inset 0 0 18px var(--orb-inner, rgba(60, 120, 255, .35));
}
.icon-ring svg { fill: var(--ink); fill-opacity: .26; stroke-width: 1.8; filter: drop-shadow(0 0 6px var(--ring-glow)); }
.icon-ring--violet { --orb-core: rgba(47, 107, 255, .42); --orb-inner: rgba(70, 130, 255, .4); }
.icon-ring--coral { --orb-core: rgba(255, 106, 44, .36); --orb-inner: rgba(255, 130, 70, .38); }
.icon-ring--blue { --orb-core: rgba(34, 224, 138, .4); --orb-inner: rgba(60, 230, 150, .38); }
.icon-ring--magenta { --orb-core: rgba(31, 200, 255, .38); --orb-inner: rgba(60, 210, 255, .38); }
.icon-ring--xxl { --size: 120px; }
.icon-ring--xl svg, .icon-ring--xxl svg { stroke-width: 1.6; }

/* ---- Glass: pointer glow and shimmering border ----------------------- */
.glass, .ind-card { --mx: -400px; --my: -400px; }
.glass:not(.glass--inner) {
  background:
    radial-gradient(320px circle at var(--mx) var(--my), rgba(47, 107, 255, .13), transparent 62%),
    var(--glass-fill);
}
.glass:not(.glass--accent):not(.glass--inner)::before, .ind-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), rgba(47, 107, 255, 0), rgba(47, 107, 255, .9), rgba(31, 200, 255, .85), rgba(34, 224, 138, .85), rgba(34, 224, 138, 0) 70%, rgba(47, 107, 255, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
  pointer-events: none;
  z-index: 2;
}
.glass:not(.glass--accent):not(.glass--inner):hover::before, .glass:not(.glass--accent):not(.glass--inner):focus-within::before,
.ind-card:hover::before, .ind-card:focus-visible::before { opacity: .9; animation: angle-spin 6s linear infinite; }
.glass--accent::before { background: conic-gradient(from var(--angle), rgba(255, 106, 44, .95), rgba(31, 200, 255, .5), rgba(47, 107, 255, .2), rgba(34, 224, 138, .45), rgba(255, 106, 44, .95)); animation: angle-spin 14s linear infinite; }
@keyframes angle-spin { to { --angle: 360deg; } }
.strip.glass::before, .statbar.glass::before { display: none; }

/* ---- Gradient words: slow hue drift ---------------------------------- */
.grad {
  background-image: linear-gradient(90deg, #FF6A2C 0%, #1FC8FF 22%, #2F6BFF 44%, #22E08A 60%, #2F6BFF 78%, #1FC8FF 90%, #FF6A2C 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  animation: hue-drift 16s ease-in-out infinite alternate;
}
@keyframes hue-drift { to { background-position: 100% 50%; } }

/* ---- Designed image placeholders ------------------------------------- */
.slot { --orb-hue: var(--grad-ring-violet); }
.slot::after { display: none; }
.slot__leak {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(40% 35% at 18% 28%, rgba(31, 200, 255, .45), transparent 70%),
    radial-gradient(38% 40% at 86% 66%, rgba(34, 224, 138, .5), transparent 70%),
    radial-gradient(45% 30% at 50% 100%, rgba(47, 107, 255, .55), transparent 70%);
  filter: blur(18px);
  animation: leak-drift 14s ease-in-out infinite alternate;
}
@keyframes leak-drift { to { transform: translate3d(4%, -3%, 0) rotate(8deg) scale(1.06); } }
.slot__orb { position: absolute; z-index: 1; left: 50%; top: 46%; transform: translate(-50%, -50%); }
.slot__orb::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 170, 120, .28);
  box-shadow: 0 0 60px rgba(255, 106, 44, .2), inset 0 0 50px rgba(34, 224, 138, .18);
}
.slot--16x9 .slot__orb, .slot--4x3 .slot__orb { top: 50%; }
.slot > img { z-index: 3; }

/* ---- Tags: neutral pill with dot ------------------------------------- */
.tag--neutral { color: var(--text-1); border-color: var(--glass-line-strong); background: rgba(255, 255, 255, .05); }
.tag--neutral .tag__dot { color: #A8C2FF; }

/* ---- AI-answer check (labelled example) ------------------------------ */
.ai-check { display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(18px, 1.6vw, 26px); }
.ai-check__head { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.ai-check__title { font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.01em; flex: 1 1 160px; }
.ai-check__line { font-size: var(--fs-xs); color: var(--text-2); }
.chat { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 0; }
.bubble { display: flex; gap: 10px; align-items: flex-start; }
.bubble__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-inner-line); color: var(--text-1); }
.bubble__icon .icon { width: 16px; height: 16px; }
.bubble__body { padding: 10px 14px; border-radius: 16px; border: 1px solid var(--glass-inner-line); background: rgba(255, 255, 255, .045); font-size: var(--fs-sm); line-height: 1.5; color: var(--text-1); min-width: 0; }
.bubble--q { flex-direction: row-reverse; }
.bubble--q .bubble__body { border-radius: 16px 4px 16px 16px; background: linear-gradient(135deg, rgba(70, 130, 255, .32), rgba(40, 170, 220, .22)); border-color: rgba(143, 178, 255, .38); color: #fff; font-weight: 600; }
.bubble--a .bubble__body { border-radius: 4px 16px 16px 16px; }
.bubble__label { display: block; font-size: .75rem; font-weight: 650; color: var(--text-2); margin-bottom: 4px; letter-spacing: .02em; }
.bubble ol { margin: 6px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }
.bubble li::marker { color: var(--violet-ink); font-weight: 700; }
.ai-check__result { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-md); border: 1px solid rgba(255, 128, 128, .55); background: rgba(255, 90, 106, .1); font-weight: 700; color: #fff; font-size: var(--fs-sm); }
.ai-check__result .icon { color: var(--error); width: 20px; height: 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-1); line-height: 1.45; }
.checklist .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, rgba(91, 227, 174, .3), rgba(34, 224, 138, .25)); border: 1px solid rgba(91, 227, 174, .55); margin-top: 1px; }
.checklist .tick .icon { width: 13px; height: 13px; color: var(--mint); }
.ai-check__h3 { font-size: var(--fs-sm); font-weight: 700; color: var(--text-hi); margin-top: 4px; }
.ai-check__foot { font-size: .8125rem; color: var(--text-2); }

/* ---- Report rows: channel icon in a ring ------------------------------ */
.report-row { grid-template-columns: auto minmax(0, 1fr) minmax(56px, .8fr) auto; }
.report-row .icon-ring { --size: 44px; }
.report__sub { font-size: var(--fs-xs); color: var(--text-2); margin-top: -6px; }
.report-row__cpl b.is-text { font-size: .9375rem; font-weight: 650; color: var(--text-1); }

/* ---- Steps: flowing particles on the connectors ---------------------- */
.engine { container-type: inline-size; }
.engine__title { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; }
.step__flow {
  position: absolute;
  right: -34px;
  top: 50%;
  width: 40px;
  height: 2px;
  margin-top: -1px;
  background: repeating-linear-gradient(90deg, rgba(160, 190, 255, .45) 0 3px, transparent 3px 7px);
  z-index: 2;
}
.step__flow i { position: absolute; top: -2px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px var(--hue-glow), 0 0 3px #fff; animation: flow-x 2.2s linear infinite; opacity: 0; }
.step__flow i:nth-child(2) { animation-delay: .73s; }
.step__flow i:nth-child(3) { animation-delay: 1.46s; }
@keyframes flow-x { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(34px); opacity: 0; } }
.step__arrow { right: -40px; color: var(--text-1); }
.step:last-child .step__flow { display: none; }
@container (max-width: 639px) {
  .engine .steps { grid-template-columns: 1fr; gap: var(--s-5); position: relative; padding-left: 52px; }
  .steps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(to bottom, rgba(160, 190, 255, .45) 0 4px, transparent 4px 9px); }
  .step { position: relative; }
  .step__num { position: absolute; left: -52px; top: 0; width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--ink-850); border: 1px solid var(--glass-line); font-size: 1rem; }
  .step__num::after { display: none; }
  .step__shape { min-height: 84px; padding: 12px 40px 12px 18px; }
  .step__shape .icon-ring { --size: 54px; }
  .step__flow, .step__arrow { display: none; }
  .step__label { padding-left: 0 !important; }
}

/* ---- Industry chips (Find your corner, Other industries) ------------- */
.chips-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .chips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .chips-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ind-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 44px 10px 12px;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-line);
  background: var(--glass-fill);
  color: var(--text-hi);
  font-weight: 650;
  text-decoration: none;
  transition: border-color var(--dur-2), transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3);
}
.ind-chip:hover { color: #fff; border-color: var(--glass-line-strong); transform: translateY(-2px); box-shadow: 0 0 32px -12px rgba(47, 107, 255, .7); }
.ind-chip__arrow { position: absolute; right: 16px; width: 18px; height: 18px; color: var(--text-2); transition: transform var(--dur-2) var(--ease-out); }
.ind-chip:hover .ind-chip__arrow { transform: translateX(3px); color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650; color: var(--violet-ink); text-decoration: none; }
.link-arrow:hover { color: #fff; }
.link-arrow .icon { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }
.home-industries .link-arrow { margin-left: auto; display: flex; width: max-content; margin-top: var(--s-4); }

/* ---- Stat bar: figure line, tag and source --------------------------- */
.stat { align-items: center; }
.stat__pre { font-size: var(--fs-sm); color: var(--text-1); font-weight: 600; line-height: 1.2; }
.stat__figure { line-height: 1.02; }
.stat__label { font-size: 1.125rem; }
.stat__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 4px; font-size: var(--fs-xs); }
.stat__tag { color: var(--violet-ink); font-weight: 650; }
.stat__source { display: inline-flex; min-height: 24px; align-items: center; color: var(--text-2); text-decoration: underline; }
.stat__source:hover { color: #fff; }
.stats-note { font-size: var(--fs-sm); color: var(--text-2); }

/* ---- Hero helpers ---------------------------------------------------- */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.home-hero { position: relative; }
.home-hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: -10% -6% -10% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(5, 11, 28, .72), rgba(5, 11, 28, 0));
  pointer-events: none;
}
.page-hero { position: relative; }
.h1-word { display: inline-block; }

/* ---- Home: first-look layout tweaks --------------------------------- */
.home-hero .lede { color: var(--text-1); }
.home-ai { align-self: stretch; }
@media (max-width: 759px) {
  .home-top > .home-hero { order: 1; }
  .home-top > .home-ai { order: 2; }
  .home-top > .home-report { order: 3; }
  .home-top > .home-portrait { order: 4; min-height: 0; aspect-ratio: 1 / 1; height: auto; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .home-row2 { grid-template-columns: 124px minmax(0, 1fr); }
  .home-row2 .cta-card { grid-column: 1 / -1; }
  .home-badge { display: grid; place-items: center; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .home-row2 { grid-template-columns: 124px minmax(0, 1.4fr) minmax(0, 1fr); }
  .home-badge { display: grid; place-items: center; }
}
.home-industries { margin-top: var(--s-7); }

/* ---- Industries hub: badge from 768px -------------------------------- */
@media (min-width: 768px) and (max-width: 1279px) {
  .stats-row { grid-template-columns: 124px minmax(0, 1fr); align-items: center; }
  .stats-row__badge { display: grid; place-items: center; }
  .stats-note { margin-left: calc(124px + var(--s-4)); }
}
.page-hero .hero-actions { margin-top: var(--s-2); }

/* ---- Intro state (set by the inline head script, cleared by GSAP) ---- */
.intro [data-intro] { opacity: 0; }

/* ---- Motion off ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .grad, .slot__leak, .step__flow i, .glass--accent::before { animation: none !important; }
  .step__flow i { opacity: 0; }
  .intro [data-intro] { opacity: 1; }
}

/* ---- Approved wordmark (assets/brand) -------------------------------- */
.wordmark { padding: 6px 0; margin-right: 0; }
.wordmark img { display: block; height: 28px; width: auto; }
.site-header.is-scrolled .wordmark img { height: 24px; }
.footer__brand .wordmark img { height: 30px; }
@media (max-width: 599px) { .wordmark img { height: 22px; } }

/* ---- Photo treatment: inner glass border, bottom scrim, slow drift ---- */
.slot.has-img { background: #060E22; }
.slot.has-img > img { transform-origin: 50% 40%; will-change: transform; }
.slot.has-img::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  transform: none;
  border: 0;
  border-radius: inherit;
  z-index: 4;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 40px rgba(5, 11, 28, .35);
  background: linear-gradient(180deg, rgba(5, 11, 28, 0) 55%, rgba(5, 11, 28, .55) 100%);
}
.slot.has-img .slot__label { display: none; }
.home-portrait.slot { border-color: transparent; box-shadow: 0 0 0 1px rgba(31, 200, 255, .4), 0 0 50px -12px rgba(47, 107, 255, .6), 0 30px 60px -30px rgba(1, 4, 12, .95); }
.ind-card__img { z-index: -2; object-position: 50% 40%; }
.ind-card::after { background: linear-gradient(180deg, rgba(5, 11, 28, .72) 0%, rgba(5, 11, 28, .88) 45%, rgba(5, 11, 28, .94) 100%); }
.ind-card:hover .ind-card__img, .ind-card:focus-visible .ind-card__img { opacity: .55; }
.ind-card:focus-visible::after { opacity: 1; }
.ind-card .icon-ring { position: relative; z-index: 1; }
@media (hover: none) { .ind-card__img { display: none; } }

/* ---- Industries hub: side card image fills the top ------------------- */
.side-card .slot { box-shadow: none; }

/* ---- Daylight photos: graded to sit on the dark ground --------------- */
.slot--day > img, .ind-card__img.is-day { filter: brightness(.78) contrast(1.12) saturate(.9); }
.slot--day.has-img::after {
  background:
    linear-gradient(180deg, rgba(5, 11, 28, .18) 0%, rgba(5, 11, 28, 0) 30%, rgba(5, 11, 28, 0) 50%, rgba(5, 11, 28, .7) 100%),
    linear-gradient(135deg, rgba(40, 90, 255, .16), rgba(255, 106, 44, .08));
}
.stat__figure { white-space: nowrap; }
.stat__figure--long { font-size: clamp(2rem, 1.4rem + 1.5vw, 2.75rem); }
.home-industries > h2 { margin-bottom: var(--s-5); }
@media (max-width: 1023px) {
  .strip { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .strip__list { width: 100%; flex: none; justify-content: flex-start; gap: 8px 0; }
  .strip__item { padding-left: 0; padding-right: 14px; }
  .strip__item + .strip__item { border-left: 0; }
  .strip__item:not(:last-child)::after { content: "\00B7"; margin-left: 14px; color: rgba(160, 190, 255, .5); }
}
.ind-card::after { background: linear-gradient(180deg, rgba(5, 11, 28, .8) 0%, rgba(5, 11, 28, .9) 45%, rgba(5, 11, 28, .95) 100%); }

/* =========================================================================
   FULL BUILD LAYER: inner pages (services, industry template, reporting,
   about, book, guides, legal, 404)
   ========================================================================= */
.stage--still { background: radial-gradient(900px 420px at 80% 0%, rgba(40, 90, 255, .18), transparent 70%), radial-gradient(700px 360px at 10% 30%, rgba(34, 224, 138, .07), transparent 70%); }
.section > h2, .section-head h2, .section > div > h2 { margin-bottom: var(--s-4); }
.section-head { margin-bottom: var(--s-4); }
.section-head h2 { margin-bottom: 0; }
.lede + ul, .lede + .svc-rows { margin-top: var(--s-5); }
.footer__mail { gap: 8px; }
.footer__mail .icon { width: 16px; height: 16px; color: var(--violet-ink); }
.btn--secondary.btn--lg { background: rgba(6, 14, 34, .72); }

/* Hero with media (industry pages) */
.hero-split { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: center; padding-bottom: var(--s-6); }
.hero-split .page-hero { padding-bottom: 0; }
@media (min-width: 1280px) { .hero-split { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
.eyebrow-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text-1); font-size: var(--fs-sm); letter-spacing: .02em; }
.crumb { padding-top: var(--s-2); }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--text-2); }
.crumb a { color: var(--text-2); display: inline-flex; min-height: 32px; align-items: center; }
.crumb a:hover { color: #fff; }
.crumb .icon { width: 14px; height: 14px; }
.crumb [aria-current] { color: var(--text-1); font-weight: 600; }

/* Sound familiar */
.fam-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .fam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fam { display: flex; gap: var(--s-4); align-items: flex-start; padding: clamp(18px, 2vw, 26px); }
.fam p { font-size: 1.0625rem; color: var(--text-1); }

/* What runs underneath */
.svc-rows { display: grid; gap: 12px var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.svc-rows--one { grid-template-columns: 1fr; }
.svc-row { display: flex; gap: var(--s-4); align-items: flex-start; padding: 14px 16px; border-radius: var(--r-lg); background: var(--glass-inner); border: 1px solid var(--glass-inner-line); }
.svc-row__name { display: inline-flex; min-height: 28px; align-items: center; font-weight: 700; color: var(--text-hi); text-decoration: underline; text-decoration-color: rgba(143, 178, 255, .5); }
.svc-row__name:hover { color: #fff; text-decoration-color: #fff; }
.svc-row p { color: var(--text-2); font-size: var(--fs-sm); }
.under--photo { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .under--photo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .under__media { position: sticky; top: 110px; } }
.slot--tall { aspect-ratio: 4 / 5; }
@media (max-width: 1023px) { .slot--tall { aspect-ratio: 16 / 9; } }

/* College panel, bands */
.panel-college, .band { display: flex; gap: var(--s-5); align-items: flex-start; padding: clamp(20px, 2.4vw, 36px); }
.panel-college h2, .band h2 { margin-bottom: var(--s-3); }
.panel-college p + .src-links, .src-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.src-links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
@media (max-width: 599px) { .panel-college, .band { flex-direction: column; } }
.num-list { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.num-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-1); }
.num-orb { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9375rem; color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(140deg, #2F6BFF, #1FC8FF); box-shadow: 0 0 18px -4px rgba(47, 107, 255, .8); font-variant-numeric: tabular-nums; }

/* Photo bands */
.photo-band { margin-block: var(--s-6); }
.slot--band { aspect-ratio: 21 / 9; }
@media (max-width: 767px) { .slot--band { aspect-ratio: 16 / 10; } }

/* AI-answer check, wide version */
.ai-check--wide { padding: clamp(20px, 2.4vw, 36px); }
.ai-check__grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); margin-top: var(--s-2); }
@media (min-width: 900px) { .ai-check__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.ai-check__side { display: flex; flex-direction: column; gap: var(--s-3); }
.ai-check--wide .chat { gap: 14px; }
.ai-check--wide .ai-check__result { margin-top: 4px; }

/* College-aware ad check */
.adcheck-grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); margin: var(--s-4) 0; }
@media (min-width: 1024px) { .adcheck-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.adcheck { display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(18px, 2vw, 28px); }
.adcheck__h { display: flex; flex-direction: column; gap: 2px; font-size: 1.125rem; }
.adcheck__prof { font-size: var(--fs-sm); color: var(--violet-ink); font-weight: 700; letter-spacing: .02em; }
.adcheck__k { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.adcheck__rule p { margin-top: 4px; color: var(--text-1); }
.mock-ad { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: var(--r-md); background: #F6F5FB; color: #1C1B29; }
.mock-ad__spon { font-size: .75rem; font-weight: 700; color: #3F3D56; }
.mock-ad__head { font-size: 1.0625rem; color: #1A47C8; font-weight: 600; }
.mock-ad__url { font-size: .8125rem; color: #1E6B3A; }
.mock-ad__desc { font-size: .9375rem; color: #2B2A3A; }
.mock-ad mark { background: none; color: inherit; }
.mock-ad__flag { display: none; }
.adcheck.is-checked .mock-ad:not(.mock-ad--ok) mark, html:not(.js) .mock-ad:not(.mock-ad--ok) mark {
  background: rgba(255, 196, 107, .35); text-decoration: underline wavy #B42318; text-underline-offset: 3px; }
.adcheck.is-checked .mock-ad__flag, html:not(.js) .mock-ad__flag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: #B42318; color: #fff; font-size: .75rem; font-weight: 700; }
.mock-ad__flag .icon { width: 13px; height: 13px; }
.mock-ad__ok { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: #156B3A; color: #fff; font-size: .75rem; font-weight: 700; }
.mock-ad__ok .icon { width: 13px; height: 13px; }
.adcheck__btn { align-self: flex-start; }
.adcheck.is-unchecked .adcheck__found, .adcheck.is-unchecked .adcheck__rewrite { display: none; }
.adcheck__fh { font-size: 1rem; margin-bottom: 6px; }
.adcheck__flags { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.adcheck__flags li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-1); }
.adcheck__flags .icon { color: var(--amber); width: 16px; height: 16px; margin-top: 3px; flex: none; }
.adcheck__rewrite { display: flex; flex-direction: column; gap: 8px; }
.adcheck__why { font-size: var(--fs-sm); color: var(--text-2); }
.adcheck.is-checked .adcheck__found, .adcheck.is-checked .adcheck__rewrite { animation: fade-in .2s ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* FAQ */
.faq h2 { margin-bottom: var(--s-4); }
.faq__list { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.faq__item { border-radius: var(--r-lg); border: 1px solid var(--glass-line); background: var(--glass-fill); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 60px; padding: 14px 20px; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 650; color: var(--text-hi); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #8FB2FF, #1FC8FF); box-shadow: 0 0 10px rgba(47, 107, 255, .8); }
.faq__item summary span { flex: 1; }
.faq__chev { width: 20px; height: 20px; color: var(--text-2); transition: transform var(--dur-2) var(--ease-out); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 20px 18px 46px; color: var(--text-1); font-size: 1.0625rem; }

/* Other industries */
.other .chips-grid { margin-bottom: var(--s-3); }
.other .link-arrow { margin-left: auto; display: flex; width: max-content; }

/* Services page */
.jump { margin-block: var(--s-2) var(--s-6); }
.jump__toggle { display: none; }
.jump__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 1280px) { .jump__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.jump-chip { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border-radius: var(--r-md); border: 1px solid var(--glass-line); background: var(--glass-fill); color: var(--text-1); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.jump-chip:hover { color: #fff; border-color: var(--glass-line-strong); }
@media (max-width: 767px) {
  html.js .jump__toggle { display: flex; }
  html.js .jump__list { display: none; margin-top: 10px; }
  html.js .jump.is-open .jump__list { display: grid; }
}
.svc { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); padding-block: var(--s-6); border-top: 1px solid var(--glass-inner-line); scroll-margin-top: 110px; }
@media (min-width: 1024px) { .svc { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }
.svc__main { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; }
.svc__main h2:focus { outline: none; }
.svc__main h2:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.svc__what { font-size: 1.125rem; color: var(--text-1); }
.svc__glance { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 8px; }
.svc__k { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--violet-ink); font-weight: 700; letter-spacing: .02em; margin-top: 6px; }
.svc__k .icon { width: 16px; height: 16px; }
.mini-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mini-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .04); color: var(--text-1); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.mini-chip .icon { width: 16px; height: 16px; color: var(--violet-ink); }
.mini-chip:hover { color: #fff; border-color: var(--glass-line-strong); }
.inset { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid rgba(141, 180, 255, .35); background: rgba(34, 224, 138, .08); font-size: var(--fs-sm); color: var(--text-1); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 18px clamp(18px, 2.4vw, 32px); margin-block: var(--s-4); }
.cta-band p { display: flex; gap: 10px; align-items: center; font-size: 1.125rem; font-weight: 600; color: var(--text-hi); }
.cta-band p .icon { color: var(--coral-ink); }

/* Reporting page */
.terms { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 0 0 var(--s-3); }
.term { display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 2vw, 24px); }
.term dt { font-size: 1.1875rem; font-weight: 700; color: var(--text-hi); }
.term dd { margin: 0; color: var(--text-2); }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: var(--s-4); }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.tile__k { font-size: var(--fs-sm); color: var(--text-2); font-weight: 600; }
.tile__v { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 800; color: var(--text-hi); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.table-wrap { padding: 6px clamp(10px, 1.6vw, 22px); overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.data-table caption { text-align: left; padding: 12px 0; font-weight: 700; color: var(--text-hi); }
.data-table th, .data-table td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--glass-inner-line); color: var(--text-1); }
.data-table th[scope="row"], .data-table thead th:first-child { text-align: left; color: var(--text-hi); font-weight: 650; }
.data-table thead th { color: var(--text-2); font-weight: 650; font-size: var(--fs-xs); }
.data-table tr.is-total th, .data-table tr.is-total td { font-weight: 800; color: #fff; border-bottom: 0; }
.ch-cards { display: none; list-style: none; margin: 0; padding: 0; gap: 12px; }
.ch-card { padding: 16px 18px; }
.ch-card.is-total { border-color: var(--glass-line-strong); }
.ch-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 10px 0 0; }
.ch-card dt { font-size: var(--fs-xs); color: var(--text-2); }
.ch-card dd { margin: 0; font-weight: 700; color: var(--text-hi); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) { .table-wrap { display: none; } .ch-cards { display: grid; } }
.chart-row { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); margin-top: var(--s-4); align-items: start; }
@media (min-width: 1024px) { .chart-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.chart { margin: 0; padding: clamp(16px, 2vw, 26px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.wk-chart { width: 100%; height: auto; }
.wk-chart .ax { font: 600 11px var(--font-sans); fill: #9DB1D2; }
.wk-chart .tot { font: 800 13px var(--font-sans); fill: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-xs); color: var(--text-1); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.sw--solid { background: linear-gradient(180deg, #8FB2FF, #1E4FE0); }
.sw--lines { background: repeating-linear-gradient(45deg, #7FDFFF 0 2px, rgba(31, 200, 255, .35) 2px 5px); }
.sw--dots { background: radial-gradient(circle, #7DF0B8 1.6px, rgba(34, 224, 138, .3) 1.8px) 0 0 / 6px 6px; }
.chart figcaption { font-size: var(--fs-sm); color: var(--text-2); }
.chart-note { display: flex; gap: 10px; padding: 18px 20px; font-size: var(--fs-sm); color: var(--text-1); }
.chart-note .icon { color: var(--amber); flex: none; margin-top: 2px; }
.cta-card .num-list li { color: var(--text-1); }

/* About */
.about-hero { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: var(--s-4) var(--s-6); }
@media (min-width: 1024px) { .about-hero { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr); } }
@media (max-width: 1023px) { .about-hero__avatar { order: 2; } }
.about-hero .page-hero { padding: 0; }
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .18), transparent 40%),
    radial-gradient(circle at 50% 65%, rgba(47, 107, 255, .45), #0A1530 72%) padding-box,
    conic-gradient(from 210deg, #FF6A2C, #1FC8FF, #2F6BFF, #22E08A, #FF6A2C) border-box;
  box-shadow: 0 0 60px -10px rgba(47, 107, 255, .7), 0 0 120px -30px rgba(255, 106, 44, .5);
  font-family: var(--font-sans);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.avatar--xl { width: min(100%, 320px); font-size: clamp(4rem, 3rem + 4vw, 6rem); margin-inline: auto; }
.avatar--sm { width: 56px; font-size: 1.125rem; border-width: 2px; }
.bio { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: var(--s-3); font-size: 1.125rem; }
.how-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.how { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(18px, 2vw, 26px); }
.how__n { position: absolute; top: 18px; right: 22px; font-size: 1.5rem; font-weight: 800; color: rgba(143, 178, 255, .55); font-variant-numeric: tabular-nums; }
.how p { color: var(--text-1); }

/* Book */
.book-grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .book-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.book-form { padding: clamp(20px, 2.4vw, 36px); }
.form__grid { display: grid; gap: var(--s-4) var(--s-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form__grid .field:last-child { grid-column: 1 / -1; } }
.input-icon { position: relative; }
.input-icon__i { position: absolute; left: 14px; top: 16px; width: 20px; height: 20px; color: var(--violet-ink); pointer-events: none; }
.input-icon .input, .input-icon .select, .input-icon .textarea { padding-left: 44px; font-size: 1rem; min-height: 52px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-2); }
.form__reply { display: inline-flex; align-items: center; gap: 8px; color: var(--text-1); font-weight: 600; }
.form__reply .icon { color: var(--mint); }
@media (max-width: 599px) { .btn--block-sm { width: 100%; } }
.form-summary { padding: 16px 18px; margin-bottom: var(--s-4); border-radius: var(--r-md); border: 1.5px solid var(--error-line); background: rgba(255, 90, 106, .1); }
.form-summary h2 { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 1.125rem; }
.form-summary h2 .icon { color: var(--error); }
.form-summary ul { margin: 8px 0 0; padding-left: 1.2em; }
.form-summary a { color: #FFD1D1; }
.note-line { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--amber); }
.note-line .icon { width: 14px; height: 14px; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); padding: clamp(24px, 3vw, 40px); }
.form-success[hidden] { display: none; }
.form-success h2:focus { outline: none; }
.form-success h2:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.book-side { display: flex; flex-direction: column; gap: var(--s-4); }
.book-side h2 { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s-2); }
.book-side h2 .icon { color: var(--violet-ink); }
.who { display: flex; align-items: center; gap: var(--s-3); }
.who__name { font-weight: 700; color: #fff; }

/* Guides */
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.guide { height: 100%; display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; padding: clamp(18px, 2vw, 26px); }
.guide p { color: var(--text-2); }

/* Legal pages: one reading column (allowed exception, set on the container) */
.legal { max-width: 820px; padding-block: var(--s-6) var(--s-8); }
.legal__head { margin-bottom: var(--s-6); display: flex; flex-direction: column; gap: 8px; }
.legal section { padding-block: var(--s-4); border-top: 1px solid var(--glass-inner-line); }
.legal h2 { font-size: 1.375rem; margin-bottom: var(--s-2); }
.legal p { color: var(--text-1); }
.legal p + p { margin-top: var(--s-2); }
.legal a { text-decoration: underline; }

/* 404 */
.notfound { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); padding-block: var(--s-8); }

/* ELECTRIC palette (Chris 2026-11-07): blue to cyan to green brand gradient, signal orange as the single accent */
:root {
  --blue: #2F6BFF;         /* brand blue: graphics, rings, glows */
  --blue-text: #4A80FF;    /* darkest stop for text gradients (5.4:1 on --ink-900) */
  --cyan: #1FC8FF;
  --green: #22E08A;
  --orange: #FF7A33;       /* single accent: primary button, coral rings, CTA glow */
  --orange-deep: #FF5A24;
  --on-orange: #1A0B02;
  --grad-text: linear-gradient(90deg, #4A80FF 0%, #1FC8FF 50%, #22E08A 100%);
  --grad-brand: linear-gradient(90deg, #2F6BFF 0%, #1FC8FF 50%, #22E08A 100%);
}
.grad { background-image: linear-gradient(90deg, #4A80FF 0%, #2FA8FF 22%, #1FC8FF 42%, #22E08A 62%, #1FC8FF 82%, #4A80FF 100%); }
.btn--primary .icon, .btn--primary .btn__spinner { color: inherit; }
.btn--primary, .btn--primary:hover, .btn--primary.is-hover { color: #1A0B02; }

/* Rail removed 2026-11-08 (Chris): safety net in case a page still carries the markup */
.rail { display: none !important; }

/* LocaliQ Digital Partner badge in the footer (2026-11-08) */
.footer__lq { display: inline-flex; align-items: center; gap: 12px; }
.lq-badge { display: block; height: 50px; width: auto; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }

/* =========================================================================
   HOME, STACKED (2026-11-08, Chris: "stack the sections more readable as a site")
   One idea per section, top to bottom. Two-column splits on wide screens,
   single column on phones and tablets.
   ========================================================================= */
.hero2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(8px, 2vw, 24px) clamp(32px, 5vw, 64px); }
.hero2 .home-hero { padding: 0; }
.hero2 .home-portrait { height: auto; min-height: 0; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: center; }
@media (min-width: 900px) {
  .hero2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero2 .home-portrait { max-height: min(78vh, 680px); justify-self: end; }
}
.h-section { padding-block: clamp(40px, 6vw, 88px) 0; }
.h-section--last { padding-bottom: clamp(24px, 4vw, 48px); }
.h-head { display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-5); }
.home-industries > .h-head > h2 { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split__copy { display: flex; flex-direction: column; gap: var(--s-4); }
.split__copy p { color: var(--text-1); }
.split__copy .lede { color: var(--text-1); }
.split__copy .link-arrow { align-self: flex-start; }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .split--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .split--flip > .split__copy { order: 2; }
}
.split .ai-check, .split .report { width: 100%; }
.split .ai-check__title, .split .panel-head__title { font-size: 1.0625rem; }
.home-industries { margin-top: 0; }
.engine { margin: 0; }

/* FORMAGROWTH wordmark (2026-11-08): wider lockup, sized to fit beside the Menu button on phones */
.wordmark img { height: 26px; width: auto; max-width: 100%; }
.site-header.is-scrolled .wordmark img { height: 22px; }
.footer__brand .wordmark img { height: 28px; }
@media (max-width: 599px) { .wordmark img, .site-header.is-scrolled .wordmark img { height: 18px; } .footer__brand .wordmark img { height: 22px; } }
