@charset "utf-8";
/* =========================================================================
   Adlly — marketing site
   Plain CSS. No build step. No preprocessor.
   Token ramp mirrors the product design tokens (frontend/src/index.css)
   so the site and the app share one brand purple: #893ae1.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TOKENS
   ---------------------------------------------------------------------- */
:root {
  /* --- Brand purple ramp (from the product's design tokens) --- */
  --purple-25:  #f7f2fe;
  --purple-50:  #f2eafc;
  --purple-100: #e7d9fb;
  --purple-200: #d3bbf7;
  --purple-300: #b590f0;
  --purple-400: #9d66e9;
  --purple-500: #893ae1;
  --purple-600: #7826c9;
  --purple-700: #6520a6;
  --purple-800: #521c85;
  --purple-900: #431a6b;
  --purple-950: #2a0f47;

  /* --- Violet-biased neutrals --- */
  --ink-0:   #ffffff;
  --ink-25:  #fbfaff;
  --ink-50:  #f7f5fc;
  --ink-100: #efecf7;
  --ink-200: #e1dcee;
  --ink-300: #c8c1dd;
  --ink-400: #a29ab8;
  --ink-500: #79728f;
  --ink-600: #5b5473;
  --ink-700: #443d59;
  --ink-800: #2c2740;
  --ink-900: #1a172a;
  --ink-950: #100e1c;

  /* --- Support hues (used sparingly, never as a second brand colour) --- */
  --amber-400: #f2b544;
  --teal-400:  #3ec2ad;

  /* --- Spacing scale --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  2.5rem;
  --space-8:  3rem;
  --space-9:  4rem;
  --space-10: 5rem;
  --space-11: 6rem;
  --space-12: 8rem;

  /* --- Radii --- */
  --r-xs:   0.375rem;
  --r-sm:   0.625rem;
  --r-md:   0.875rem;
  --r-lg:   1.25rem;
  --r-xl:   1.75rem;
  --r-2xl:  2.25rem;
  --r-full: 999px;

  /* --- Type --- */
  --font-display: "Bricolage Grotesque", "Space Grotesk", ui-sans-serif, system-ui,
                  -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9063rem;
  --fs-base: 1.0313rem;
  --fs-md:   1.125rem;
  --fs-lg:   clamp(1.1563rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-xl:   clamp(1.3125rem, 1.15rem + 0.7vw, 1.625rem);
  --fs-2xl:  clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --fs-3xl:  clamp(1.875rem, 1.45rem + 1.9vw, 2.875rem);
  --fs-4xl:  clamp(2.25rem, 1.6rem + 3vw, 4rem);

  --lh-tight:   1.08;
  --lh-heading: 1.16;
  --lh-snug:    1.4;
  --lh-body:    1.65;

  --measure:       65ch;
  --measure-short: 46ch;

  /* --- Motion --- */
  --ease:     cubic-bezier(0.22, 0.68, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1: 150ms;
  --dur-2: 260ms;
  --dur-3: 420ms;
  --dur-4: 640ms;

  /* --- Layout --- */
  --container:        75rem;
  --container-narrow: 46rem;
  --container-prose:  50rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.5rem;
}

/* --- Semantic tokens: light --- */
:root {
  color-scheme: light;

  --bg:          var(--ink-0);
  --bg-subtle:   var(--ink-50);
  --bg-inset:    var(--purple-25);
  --surface:     var(--ink-0);
  --surface-2:   var(--ink-25);
  --surface-3:   var(--ink-50);
  --surface-inv: var(--purple-950);

  --text:        var(--ink-900);
  --text-strong: var(--ink-950);
  --text-muted:  var(--ink-600);
  --text-faint:  #6f6885;
  --text-on-inv: #f4f1fb;
  --text-on-inv-muted: #c5bcdd;

  --border:        var(--ink-200);
  --border-soft:   var(--ink-100);
  --border-strong: var(--ink-300);
  --border-inv:    rgba(255, 255, 255, 0.16);

  --brand:        var(--purple-500);
  --brand-hover:  var(--purple-600);
  --brand-active: var(--purple-700);
  --brand-text:   var(--purple-700);
  --brand-soft:   var(--purple-50);
  --brand-soft-2: var(--purple-100);
  --brand-line:   var(--purple-200);
  --brand-graphic: var(--purple-500);
  --on-brand:     #ffffff;

  --focus-ring: var(--purple-600);

  --shadow-xs: 0 1px 2px rgba(42, 15, 71, 0.06);
  --shadow-sm: 0 1px 3px rgba(42, 15, 71, 0.07), 0 4px 12px -6px rgba(42, 15, 71, 0.10);
  --shadow-md: 0 2px 6px rgba(42, 15, 71, 0.06), 0 14px 32px -14px rgba(42, 15, 71, 0.20);
  --shadow-lg: 0 4px 10px rgba(42, 15, 71, 0.07), 0 30px 60px -22px rgba(42, 15, 71, 0.28);
  --shadow-brand: 0 10px 26px -10px rgba(137, 58, 225, 0.55);

  --header-bg: rgba(255, 255, 255, 0.82);
  --grid-line: rgba(137, 58, 225, 0.09);
  --noise-opacity: 0.55;

  /* SVG artwork tokens */
  --art-bg:      var(--purple-50);
  --art-surface: #ffffff;
  --art-surface-2: var(--ink-50);
  --art-line:    var(--ink-300);
  --art-line-soft: var(--ink-200);
  --art-fill:    var(--ink-200);
  --art-accent:  var(--purple-500);
  --art-accent-soft: var(--purple-200);
  --art-text:    var(--ink-800);
  --art-muted:   var(--ink-500);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --bg:          var(--ink-950);
    --bg-subtle:   #16132a;
    --bg-inset:    #1a1533;
    --surface:     #191630;
    --surface-2:   #1f1b3a;
    --surface-3:   #241f43;
    --surface-inv: #0b0917;

    --text:        #f3f1fa;
    --text-strong: #ffffff;
    --text-muted:  #b8b1cf;
    --text-faint:  #9a92b2;
    --text-on-inv: #f4f1fb;
    --text-on-inv-muted: #c5bcdd;

    --border:        rgba(255, 255, 255, 0.12);
    --border-soft:   rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.22);
    --border-inv:    rgba(255, 255, 255, 0.16);

    --brand:        var(--purple-500);
    --brand-hover:  var(--purple-600);
    --brand-active: var(--purple-300);
    --brand-text:   var(--purple-300);
    --brand-soft:   rgba(137, 58, 225, 0.16);
    --brand-soft-2: rgba(137, 58, 225, 0.24);
    --brand-line:   rgba(181, 144, 240, 0.32);
    --brand-graphic: var(--purple-400);
    --on-brand:     #ffffff;

    --focus-ring: var(--purple-300);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45), 0 4px 12px -6px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.45), 0 14px 32px -14px rgba(0, 0, 0, 0.65);
    --shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.5), 0 30px 60px -22px rgba(0, 0, 0, 0.8);
    --shadow-brand: 0 10px 26px -12px rgba(137, 58, 225, 0.8);

    --header-bg: rgba(16, 14, 28, 0.82);
    --grid-line: rgba(181, 144, 240, 0.10);
    --noise-opacity: 0.35;

    --art-bg:      #1c1738;
    --art-surface: #24203f;
    --art-surface-2: #2c2750;
    --art-line:    rgba(255, 255, 255, 0.22);
    --art-line-soft: rgba(255, 255, 255, 0.12);
    --art-fill:    rgba(255, 255, 255, 0.14);
    --art-accent:  var(--purple-400);
    --art-accent-soft: rgba(157, 102, 233, 0.4);
    --art-text:    #ece9f7;
    --art-muted:   #a79fc0;
  }
}

/* -------------------------------------------------------------------------
   2. RESET / BASE
   ---------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--space-5));
  overflow-x: hidden;
}

body {
  min-height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.021em;
  color: var(--text-strong);
  text-wrap: balance;
}

p, li { text-wrap: pretty; }

ul, ol { padding: 0; list-style: none; }

a {
  color: var(--brand-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.19em;
}
a:hover { color: var(--brand-active); }

strong, b { font-weight: 650; color: var(--text-strong); }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin-block: var(--space-6);
}

::selection {
  background: var(--purple-500);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* -------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ---------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--prose  { max-width: var(--container-prose); }

.section {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.section--tight  { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--loose  { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--subtle { background: var(--bg-subtle); }
.section--inset  { background: var(--bg-inset); }

.section--rule { border-top: 1px solid var(--border-soft); }

.section--dark {
  background: var(--surface-inv);
  color: var(--text-on-inv);
  overflow: hidden;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark .lede,
.section--dark .muted { color: var(--text-on-inv-muted); }

.stack > * + * { margin-top: var(--space-4); }
.stack-sm > * + * { margin-top: var(--space-2); }
.stack-lg > * + * { margin-top: var(--space-6); }

.section-head { max-width: 42rem; }
.section-head--wide { max-width: 54rem; }
.section-head > * + * { margin-top: var(--space-4); }

.grid { display: grid; gap: var(--space-5); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--top { align-items: start; }

@media (min-width: 62rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-first { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .split--wide-last  { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
}

/* -------------------------------------------------------------------------
   4. TYPOGRAPHY HELPERS
   ---------------------------------------------------------------------- */
.h1, h1 { font-size: var(--fs-4xl); line-height: var(--lh-tight); letter-spacing: -0.032em; }
.h2, h2 { font-size: var(--fs-3xl); letter-spacing: -0.026em; }
.h3, h3 { font-size: var(--fs-xl); letter-spacing: -0.018em; }
.h4, h4 { font-size: var(--fs-lg); letter-spacing: -0.012em; }
.h5, h5 { font-size: var(--fs-md); }

.lede {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: var(--measure);
}
.body-lg { font-size: var(--fs-md); }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.xsmall { font-size: var(--fs-xs); }
.measure { max-width: var(--measure); }
.measure-short { max-width: var(--measure-short); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.eyebrow::before {
  content: "";
  inline-size: 1.75rem;
  block-size: 2px;
  border-radius: var(--r-full);
  background: currentColor;
  flex: none;
}
.section--dark .eyebrow { color: var(--purple-300); }

.prose-body > p { max-width: var(--measure); }
.prose-body > p + p { margin-top: var(--space-4); }

/* -------------------------------------------------------------------------
   5. BUTTONS + LINKS
   ---------------------------------------------------------------------- */
.btn {
  --btn-py: 0.78rem;
  --btn-px: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease),
              color var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease),
              transform var(--dur-2) var(--ease);
}
.btn .icon { flex: none; transition: transform var(--dur-2) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: var(--on-brand);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text-strong);
  box-shadow: var(--shadow-xs);
}
.btn--secondary:hover {
  border-color: var(--brand);
  color: var(--brand-text);
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
  color: var(--text-strong);
}

.btn--on-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.btn--lg { --btn-py: 0.95rem; --btn-px: 1.7rem; font-size: var(--fs-base); }
.btn--sm { --btn-py: 0.55rem; --btn-px: 1rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brand-text);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-line);
  padding-bottom: 2px;
  transition: border-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.link-arrow .icon { transition: transform var(--dur-2) var(--ease); flex: none; }
.link-arrow:hover { border-color: var(--brand); color: var(--brand-active); }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--dark .link-arrow { color: var(--purple-300); border-color: rgba(181, 144, 240, 0.4); }
.section--dark .link-arrow:hover { color: #fff; border-color: #fff; }

.link-quiet {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: color var(--dur-1) var(--ease);
}
.link-quiet:hover { color: var(--brand-text); }

/* -------------------------------------------------------------------------
   6. CHIPS / PILLS / TRUST LINES
   ---------------------------------------------------------------------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-full);
  background: var(--brand-soft);
  color: var(--brand-text);
  font-size: var(--fs-sm);
  font-weight: 550;
  line-height: 1.3;
}
.chip .icon { color: var(--brand); flex: none; }

.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  font-size: var(--fs-sm);
  color: var(--text-faint);
}
.trust-line li { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-line li + li::before {
  content: "";
  inline-size: 3px;
  block-size: 3px;
  border-radius: var(--r-full);
  background: currentColor;
  margin-right: 0.35rem;
  opacity: 0.7;
}
.section--dark .trust-line { color: var(--text-on-inv-muted); }

.badge {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  border-radius: var(--r-xs);
  background: var(--brand-soft-2);
  color: var(--brand-text);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------------------
   7. SKIP LINK
   ---------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur-2) var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* -------------------------------------------------------------------------
   8. HEADER + NAV
   ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease),
              background-color var(--dur-2) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
  padding-block: 0.75rem;
  transition: min-height var(--dur-2) var(--ease), padding-block var(--dur-2) var(--ease);
}
.site-header.is-scrolled .header__inner {
  min-height: 3.75rem;
  padding-block: 0.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-strong);
  text-decoration: none;
  flex: none;
}
/* The real Adlly wordmark. Intrinsic 600x275; height-driven so the aspect
   ratio is preserved and no layout shift occurs while it loads. The dark-mode
   variant (white tagline) is swapped via <picture> in the markup. */
.brand__logo {
  display: block;
  height: 2.5rem;
  width: auto;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
}
.brand:hover .brand__logo { transform: scale(1.03); }
@media (min-width: 62rem) { .brand__logo { height: 2.75rem; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text-strong);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.nav-toggle:hover { border-color: var(--brand); }
.nav-toggle__bars {
  position: relative;
  inline-size: 1rem;
  block-size: 0.65rem;
  flex: none;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  inline-size: 100%;
  block-size: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 50%; margin-top: -1px; }
.nav-toggle__bars span:nth-child(3) { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.nav__heading {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__list a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 550;
  text-decoration: none;
  position: relative;
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.28rem;
  block-size: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}
.nav__list a:hover { color: var(--text-strong); background: var(--surface-3); }
.nav__list a:hover::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--brand-text); font-weight: 650; }
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* --- Desktop --- */
@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .nav__heading { display: none; }
  .nav-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-6);
  }
}

/* --- Mobile: off-canvas panel --- */
@media (max-width: 59.999rem) {
  .nav-wrap {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 120;
    inline-size: min(21rem, 86vw);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: calc(var(--header-h) + var(--space-4)) var(--space-5) var(--space-7);
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
  }
  .nav-wrap.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform var(--dur-3) var(--ease-out), visibility 0s;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .nav__list a {
    padding: 0.85rem 0.75rem;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--border-soft);
    border-radius: 0;
  }
  .nav__list a::after { display: none; }
  .nav__actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: var(--space-3);
    margin-top: auto;
    padding-top: var(--space-5);
  }
  .nav__actions .btn { width: 100%; }
  .nav__actions .link-quiet { text-align: center; padding: 0.5rem; }
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(26, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease);
}
.nav-backdrop.is-open { opacity: 1; }

body.nav-open { overflow: hidden; }

/* -------------------------------------------------------------------------
   9. DECORATIVE BACKDROPS (CSS only, no image requests)
   ---------------------------------------------------------------------- */
.bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 20%, transparent 75%);
}

.bg-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.bg-glow--a {
  inline-size: 28rem;
  block-size: 28rem;
  top: -10rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(137, 58, 225, 0.35), transparent 65%);
}
.bg-glow--b {
  inline-size: 22rem;
  block-size: 22rem;
  bottom: -8rem;
  left: -6rem;
  background: radial-gradient(circle, rgba(157, 102, 233, 0.22), transparent 65%);
}

.bg-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--grid-line) 1.1px, transparent 1.1px);
  background-size: 1.4rem 1.4rem;
  opacity: 0.9;
}

/* -------------------------------------------------------------------------
   10. HERO
   ---------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .hero__inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }
}
.hero__copy > * + * { margin-top: var(--space-5); }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 38ch; font-size: var(--fs-lg); }
.hero__art { position: relative; }

.hero--compact { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.hero--compact h1 { max-width: 20ch; }

/* -------------------------------------------------------------------------
   11. CARDS
   ---------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease),
              transform var(--dur-2) var(--ease);
}
.card p { color: var(--text-muted); }
a.card { text-decoration: none; color: inherit; }
.card--interactive:hover,
a.card:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--brand-line);
  flex: none;
}
.card--interactive:hover .card__icon,
a.card:hover .card__icon { background: var(--brand-soft-2); }

/* Bento-style feature grid: deliberately uneven, not 3 identical cards */
.bento {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 46rem) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 68rem) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento > .card { grid-column: span 2; }
  .bento > .card:nth-child(1) { grid-column: span 3; }
  .bento > .card:nth-child(2) { grid-column: span 3; }
  .bento > .card:nth-child(6) { grid-column: span 6; flex-direction: row; align-items: flex-start; gap: var(--space-5); }
  .bento > .card:nth-child(6) .card__body { max-width: var(--measure); }
}

.card--accent {
  background: linear-gradient(158deg, var(--brand-soft) 0%, var(--surface) 62%);
  border-color: var(--brand-line);
}

/* -------------------------------------------------------------------------
   12. STEPS
   ---------------------------------------------------------------------- */
.step-col {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.step-col--accent {
  background: linear-gradient(170deg, var(--brand-soft) 0%, var(--surface) 55%);
  border-color: var(--brand-line);
}
.step-col__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-5);
}
.step-col__head .card__icon { inline-size: 2.25rem; block-size: 2.25rem; border-radius: var(--r-sm); }

.steps { counter-reset: step; display: grid; gap: var(--space-5); }
.steps > li {
  position: relative;
  counter-increment: step;
  padding-left: 3.1rem;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  inline-size: 2.1rem;
  block-size: 2.1rem;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--brand-line);
  color: var(--brand-text);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
  z-index: 1;
}
.steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 2.35rem;
  bottom: -1.25rem;
  inline-size: 1px;
  background: linear-gradient(to bottom, var(--brand-line), var(--border-soft));
}
.steps h4 { margin-bottom: var(--space-1); }
.steps p { color: var(--text-muted); }

.steps--flow > li { padding-left: 3.4rem; }

/* -------------------------------------------------------------------------
   13. FEATURE LISTS
   ---------------------------------------------------------------------- */
.tick-list { display: grid; gap: var(--space-4); }
.tick-list > li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--space-3);
  align-items: start;
}
.tick-list .icon { margin-top: 0.28rem; color: var(--brand); flex: none; }
.tick-list p, .tick-list span { color: var(--text-muted); }
.tick-list strong { display: block; color: var(--text-strong); }

.cross-list { display: grid; gap: var(--space-3); }
.cross-list > li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-inv);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  font-size: var(--fs-sm);
}
.cross-list .icon { color: #f0a3a3; flex: none; }

.rule-list { display: grid; }
.rule-list > li,
.rule-list > div {
  display: grid;
  gap: var(--space-1);
  padding-block: var(--space-4);
  border-top: 1px solid var(--border);
}
.rule-list > li:last-child,
.rule-list > div:last-child { border-bottom: 1px solid var(--border); }
.rule-list dt, .rule-list strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--text-strong);
  letter-spacing: -0.012em;
}
.rule-list dd { margin: 0; color: var(--text-muted); max-width: var(--measure); }

.numbered { display: grid; gap: var(--space-6); counter-reset: belief; }
.numbered > li { counter-increment: belief; display: grid; gap: var(--space-2); }
.numbered > li::before {
  content: counter(belief, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-graphic);
  letter-spacing: -0.02em;
}
.numbered h3 { font-size: var(--fs-lg); }
.numbered p { color: var(--text-muted); max-width: var(--measure); }
@media (min-width: 52rem) {
  .numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7) var(--space-6); }
}

/* -------------------------------------------------------------------------
   14. PANELS / BANDS / PULL QUOTE
   ---------------------------------------------------------------------- */
.panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.panel--soft { background: var(--bg-inset); border-color: var(--brand-line); }
.panel--inv {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-inv);
}

.pullquote {
  margin: 0;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 3px solid var(--brand);
}
.pullquote p {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.022em;
  color: var(--text-strong);
  text-wrap: balance;
}

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 130% at 12% 0%, var(--purple-700) 0%, transparent 58%),
    radial-gradient(70% 120% at 92% 100%, var(--purple-600) 0%, transparent 55%),
    var(--purple-950);
  color: #fff;
}
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #ddd4f0; }
.cta-band .trust-line,
.cta-band .small { color: #d8d0ed; }

.cta-band__inner {
  position: relative;
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 58rem) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .cta-band__actions { justify-self: end; }
}
.cta-band__actions { display: grid; gap: var(--space-3); }
@media (max-width: 34rem) {
  .cta-band__actions .btn { width: 100%; }
}

/* -------------------------------------------------------------------------
   15. FAQ (native details/summary — keyboard accessible without JS)
   ---------------------------------------------------------------------- */
.faq { display: grid; gap: var(--space-3); max-width: 52rem; }

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.faq__item[open] { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.faq__item:hover { border-color: var(--border-strong); }

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 650;
  letter-spacing: -0.012em;
  color: var(--text-strong);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--brand-text); }

.faq__sign {
  position: relative;
  flex: none;
  inline-size: 1.25rem;
  block-size: 1.25rem;
  margin-top: 0.22rem;
  border-radius: var(--r-full);
  color: var(--brand);
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
}
.faq__sign::before { inline-size: 0.75rem; block-size: 2px; transform: translate(-50%, -50%); }
.faq__sign::after  { inline-size: 2px; block-size: 0.75rem; transform: translate(-50%, -50%); }
.faq__item[open] .faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq__a {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-muted);
  max-width: var(--measure);
}
.faq__a > * + * { margin-top: var(--space-3); }

/* -------------------------------------------------------------------------
   16. COMPARISON / TWO-UP
   ---------------------------------------------------------------------- */
.duo {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 54rem) {
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.duo__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.duo__col--accent { background: linear-gradient(168deg, var(--brand-soft) 0%, var(--surface) 58%); border-color: var(--brand-line); }
.duo__label {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.duo__where {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-sm);
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.duo__where strong { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); font-weight: 650; }

/* -------------------------------------------------------------------------
   17. CONTACT
   ---------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 46rem) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.contact-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card__value {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  overflow-wrap: anywhere;
}
.contact-card__value a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--brand-line); }
.contact-card__value a:hover { color: var(--brand-text); border-color: var(--brand); }
.contact-card address { font-style: normal; color: var(--text-muted); }

.detail-table { width: 100%; border-collapse: collapse; text-align: left; }
.detail-table th,
.detail-table td {
  padding: var(--space-4) var(--space-4) var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.detail-table th {
  inline-size: 12rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-strong);
  white-space: nowrap;
}
.detail-table td { color: var(--text-muted); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.quick-links { display: grid; gap: var(--space-3); }
@media (min-width: 46rem) { .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.quick-link:hover { border-color: var(--brand); background: var(--brand-soft); color: inherit; transform: translateX(3px); }
.quick-link .icon { color: var(--brand); flex: none; transition: transform var(--dur-2) var(--ease); }
.quick-link:hover .icon { transform: translateX(3px); }
.quick-link strong { display: block; color: var(--text-strong); }
.quick-link span { color: var(--text-muted); font-size: var(--fs-sm); }

/* -------------------------------------------------------------------------
   18. POLICY / PROSE PAGES
   ---------------------------------------------------------------------- */
.doc-head {
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--space-6);
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.prose { max-width: var(--container-prose); }
.prose > * + * { margin-top: var(--space-4); }
.prose p, .prose li { max-width: var(--measure); color: var(--text-muted); }
.prose h2 {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: var(--fs-xl);
  scroll-margin-top: calc(var(--header-h) + var(--space-5));
}
.prose h2:first-of-type { margin-top: var(--space-6); }
.prose h3 {
  margin-top: var(--space-6);
  font-size: var(--fs-md);
  color: var(--text-strong);
}
.prose ul { display: grid; gap: var(--space-2); padding-left: 0; }
.prose ul > li {
  position: relative;
  padding-left: 1.4rem;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.7em;
  inline-size: 0.4rem;
  block-size: 0.4rem;
  border-radius: var(--r-full);
  background: var(--brand-line);
}
.prose .lead-note {
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--bg-inset);
  color: var(--text);
}
.prose .lead-note p { color: var(--text); }
.prose strong { color: var(--text-strong); }
.prose a { overflow-wrap: anywhere; }

.doc-nav {
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
  display: none;
}
@media (min-width: 68rem) {
  .doc-layout {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }
  .doc-nav { display: block; }
}
.doc-nav__title {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-3);
}
.doc-nav ol { display: grid; gap: 0.1rem; counter-reset: dn; }
.doc-nav a {
  display: block;
  padding: 0.4rem 0.6rem;
  border-left: 2px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.doc-nav a:hover { color: var(--brand-text); border-color: var(--brand); background: var(--brand-soft); }

.policy-links { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* -------------------------------------------------------------------------
   19. 404
   ---------------------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding-block: clamp(3rem, 8vw, 6rem);
  text-align: left;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px var(--brand-line);
  margin-bottom: var(--space-4);
}

/* -------------------------------------------------------------------------
   20. FOOTER
   ---------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-inv);
  color: var(--text-on-inv-muted);
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--space-6);
  font-size: var(--fs-sm);
}
.site-footer a { color: var(--text-on-inv-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer__top {
  display: grid;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--border-inv);
}
@media (min-width: 46rem)  { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem)  { .footer__top { grid-template-columns: minmax(0, 0.95fr) minmax(0, 2.05fr); } }
@media (min-width: 78rem)  { .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.footer__cols { display: grid; gap: var(--space-6); }

.footer__brandline { margin: 0; line-height: 0; }
/* Footer sits on a permanently dark band, so it always uses the white-tagline
   wordmark — not the colour-scheme swap used in the header. */
.footer__logo { display: block; height: 3rem; width: auto; }
.footer__tagline {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  margin-top: var(--space-2);
  max-width: 22ch;
}
.footer__descriptor { margin-top: var(--space-4); max-width: 34ch; }

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer__list { display: grid; gap: 0.7rem; }
.footer__list a {
  display: inline-block;
  transition: transform var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.footer__list a:hover { transform: translateX(2px); }

.footer__bottom {
  display: grid;
  gap: var(--space-4);
  padding-top: var(--space-6);
  font-size: var(--fs-xs);
  color: #a99ec6;
}
.footer__bottom p { max-width: 78ch; }

/* -------------------------------------------------------------------------
   21. SVG ARTWORK
   ---------------------------------------------------------------------- */
.art { inline-size: 100%; block-size: auto; overflow: visible; }
.art .a-bg        { fill: var(--art-bg); }
.art .a-surface   { fill: var(--art-surface); }
.art .a-surface-2 { fill: var(--art-surface-2); }
.art .a-fill      { fill: var(--art-fill); }
.art .a-accent    { fill: var(--art-accent); }
.art .a-accent-soft { fill: var(--art-accent-soft); }
.art .a-stroke    { fill: none; stroke: var(--art-line); stroke-width: 1.5; }
.art .a-stroke-soft { fill: none; stroke: var(--art-line-soft); stroke-width: 1.5; }
.art .a-stroke-accent { fill: none; stroke: var(--art-accent); stroke-width: 1.5; }
.art .a-text {
  fill: var(--art-text);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
}
.art .a-text--sm { font-size: 9px; font-weight: 500; fill: var(--art-muted); }
.art .a-text--accent { fill: var(--art-accent); }
.art .a-text--onbrand { fill: #fff; }
.art .a-white { fill: #fff; }

.icon { inline-size: 1.25em; block-size: 1.25em; flex: none; }
.icon--lg { inline-size: 1.5rem; block-size: 1.5rem; }

.art-float { animation: floaty 7s var(--ease) infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* -------------------------------------------------------------------------
   22. SCROLL REVEAL (progressive enhancement)
   Content is visible by default. JS opts in by adding .js-reveal to <html>.
   ---------------------------------------------------------------------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out);
  will-change: opacity, transform;
}
.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}
.js-reveal [data-stagger] > [data-reveal]:nth-child(2) { transition-delay: 70ms; }
.js-reveal [data-stagger] > [data-reveal]:nth-child(3) { transition-delay: 140ms; }
.js-reveal [data-stagger] > [data-reveal]:nth-child(4) { transition-delay: 210ms; }
.js-reveal [data-stagger] > [data-reveal]:nth-child(5) { transition-delay: 280ms; }
.js-reveal [data-stagger] > [data-reveal]:nth-child(6) { transition-delay: 350ms; }
.js-reveal [data-stagger] > [data-reveal]:nth-child(n + 7) { transition-delay: 420ms; }

/* -------------------------------------------------------------------------
   23. NO-JS FALLBACK is delivered via <noscript> in each page.
   24. REDUCED MOTION — switches everything off.
   ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .art-float { animation: none !important; }
  .btn:hover, .card:hover, .contact-card:hover, .quick-link:hover, a.card:hover {
    transform: none !important;
  }
}

/* -------------------------------------------------------------------------
   25. PRINT
   ---------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-wrap, .skip-link, .bg-grid, .bg-glow, .bg-dots { display: none !important; }
  body { background: #fff; color: #000; }
  .prose { max-width: none; }
}

/* -------------------------------------------------------------------------
   26. SMALL UTILITIES
   ---------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.tick-list--inline strong { display: inline; }
.tick-list--inline p { color: var(--text-muted); }

.stack-vert { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }

.note-band {
  padding: var(--space-4) var(--space-5);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--text-muted);
}
.note-band strong { color: var(--text-strong); }

.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }

.prose-cols { display: grid; gap: var(--space-6); }
@media (min-width: 54rem) { .prose-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prose-cols h3 { margin-bottom: var(--space-3); }
.prose-cols p { color: var(--text-muted); }

/* -------------------------------------------------------------------------
   APP COMING-SOON NOTICE
   Shown when a "download the creator app" CTA is used. The app is not on
   Google Play yet, so the CTA says so rather than leading somewhere dead.
   ---------------------------------------------------------------------- */
.app-soon {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  transform: translate(-50%, 1.25rem);
  width: min(26rem, calc(100vw - 2rem));
  padding: var(--space-5) var(--space-7) var(--space-5) var(--space-5);
  background: var(--surface-inv);
  color: var(--text-on-inv);
  border: 1px solid var(--border-inv);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease),
              transform var(--dur-2) var(--ease-out),
              visibility 0s linear var(--dur-2);
}
.app-soon.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.app-soon__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-2);
}
.app-soon__body {
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  color: var(--text-on-inv-muted);
}
.app-soon__body a {
  color: #fff;
  text-underline-offset: 3px;
}
.app-soon__body a:hover { color: var(--purple-300); }
.app-soon__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  inline-size: 2rem;
  block-size: 2rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-on-inv-muted);
  background: none;
  border: 0;
  border-radius: var(--r-full);
  cursor: pointer;
}
.app-soon__close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

@media (prefers-reduced-motion: reduce) {
  .app-soon { transition: opacity 1ms linear, visibility 0s linear 1ms; transform: translate(-50%, 0); }
  .app-soon.is-open { transform: translate(-50%, 0); }
}
