/* =====================================================================
     INCLUXA — Fable visual DNA, INCLUXA name only.
     Real Fable palette extracted from main.min.css:
       #dd2764 pink, #5856d6 purple, #21254b navy, #f3f4f6 surface,
       #fdd2d0 soft-pink, #ffcc02 yellow, #65bc7b green, coral accents.
     Type: Carlito (Calibri-metric-compatible).
     ===================================================================== */

  :root {
    --bg: #ffffff;
    --surface: #f6f6fb;
    --surface-2: #fafafd;

    /* 2026-09-24 — recoloured to the Flowing IX Ribbon logo (brand/README.md):
       indigo #29289B + aqua #32CCCB. The old token names are kept so every
       rule below picks up the new palette; "pink" is now the indigo primary,
       "purple" the text-safe deep aqua, "yellow" the logo aqua. */
    --ink: #1b1c4d;          /* indigo-biased near-black text */
    --ink-soft: #4a4d72;
    --ink-mute: #6b6e8e;
    --rule: #e2e3ef;

    --brand: #29289b;        /* logo indigo: fills in both themes */
    --on-aqua: #1b1c4d;      /* text on an aqua fill, both themes */

    --pink: #29289b;         /* primary = logo indigo (11:1 with white) */
    --pink-deep: #1f1e78;
    --pink-soft: #ececf8;

    --purple: #0b7a79;       /* deep aqua, text-safe on white (5.1:1) */
    --purple-deep: #085f5e;
    --purple-soft: #e3f7f7;

    --coral: #32cccb;
    --coral-deep: #0b7a79;
    --yellow: #32cccb;       /* logo aqua: fills and marks only, never text on white */
    --green: #0b7a79;

    --maxw: 1200px;
    --gutter: clamp(20px, 4vw, 36px);
    --radius: 16px;
    --radius-pill: 9999px;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Carlito', 'Calibri', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  img, svg { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
  p { margin: 0 0 1em 0; }

  /* =========== TYPE =========== */
  h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
  .h1 {
    font-size: clamp(44px, 6.5vw, 84px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.02em;
  }
  .h2 {
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.015em;
  }
  .h3 {
    font-size: clamp(22px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.25;
  }
  .lead {
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
  }
  .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 18px;
  }

  .container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
  section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }

  /* =========== ANNOUNCE =========== */
  .announce {
    background: var(--pink);
    color: #fff;
    text-align: center;
    padding: 13px 16px;
    font-weight: 700;
  }
  .announce a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 8px;
    font-weight: 700;
  }
  .announce a:hover { text-decoration-thickness: 2px; }

  /* =========== NAV =========== */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
  }
  .nav.scrolled { border-bottom-color: var(--rule); }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
  }
  .brand > span {
    font-weight: 800;
    letter-spacing: 0.08em;
  }
  /* Incluxa "Flowing IX Ribbon" logo (brand/incluxa-ribbon kit). Height-driven
     so the 440px-wide 2x asset never stretches; the <img> carries its
     intrinsic width/height to avoid layout shift. */
  .brand-logo {
    display: block;
    height: 48px;
    width: auto;
    flex-shrink: 0;
  }
  @media (max-width: 640px) {
    .brand-logo { height: 40px; }
  }
  /* Mobile: links collapse into a toggleable drop panel */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 16px 30px -16px rgba(33,37,75,0.22);
    padding: 10px var(--gutter) 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    padding: 12px;
    border-radius: 8px;
    transition: color .15s ease, background .15s ease;
  }
  .nav-links a:hover { color: var(--pink); background: var(--surface); }
  .nav-links .mobile-nav-only { display: none; }
  .nav-cta { display: flex; gap: 10px; align-items: center; }

  /* Keep the homepage header within the WCAG reflow width while preserving
     sign-in and demo access inside the opened mobile menu. */
  /* 2026-09-15 — applied to every static page (was homepage-only), which also fixes the
     header overflowing phone screens on the other pages. */
  @media (max-width: 640px) {
    .nav-inner { gap: 12px; }
    .nav-cta > a { display: none; }
    .nav-links.open .mobile-nav-only { display: block; }
    .nav-links.open .mobile-nav-demo {
      color: #fff;
      background: var(--pink-deep);
    }
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 10px;
    color: var(--ink);
    transition: background .15s ease;
  }
  .nav-toggle:hover { background: var(--surface); }
  .nav-toggle svg { width: 24px; height: 24px; }

  /* Desktop: inline links, hide the toggle */
  @media (min-width: 941px) {
    .nav-links {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 6px;
      position: static;
      background: none;
      border: 0;
      box-shadow: none;
      padding: 0;
    }
    .nav-links a { padding: 10px 16px; }
    .nav-links a:hover { background: none; }
    .nav-toggle { display: none; }
  }

  /* =========== BUTTONS =========== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 30px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 16px;
    transition: background .15s ease, color .15s ease, transform .12s ease, border-color .15s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    min-height: 50px;
  }
  .btn-pink { background: var(--pink); color: #fff; }
  .btn-pink:hover { background: var(--pink-deep); transform: translateY(-1px); }
  .btn-navy { background: var(--ink); color: #fff; }
  .btn-navy:hover { background: var(--purple); transform: translateY(-1px); }
  .btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
  .btn-outline:hover { background: var(--ink); color: #fff; }
  .btn-text {
    color: var(--pink);
    background: transparent;
    padding: 8px 0;
    border-radius: 4px;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    font-weight: 700;
    min-height: auto;
  }
  .btn-text:hover { color: var(--pink-deep); text-decoration-thickness: 3px; }
  /* Compact header button (2026-09-15, owner: the menu button was too big). Still 44px tall
     so it stays an easy touch target. */
  .btn.btn-nav { padding: 0 20px; min-height: 44px; font-size: 15px; }
  .arrow { width: 16px; height: 16px; transition: transform .2s ease; }
  .btn:hover .arrow { transform: translateX(3px); }

  *:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }

  .skip-link { position: absolute; top: -100px; left: 12px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 700; z-index: 1000; }
  .skip-link:focus { top: 12px; }

  /* =========== HERO =========== */
  .hero {
    padding: clamp(60px, 8vw, 110px) 0 clamp(60px, 7vw, 100px);
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  @media (min-width: 1001px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); } }

  .hero h1 {
    margin-bottom: 28px;
  }
  .hero h1 .underline-pink {
    background: linear-gradient(transparent 78%, var(--yellow) 78%, var(--yellow) 96%, transparent 96%);
    padding: 0 4px;
  }
  .hero p.hero-p {
    font-size: 20px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 50ch;
    margin-bottom: 36px;
  }
  .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
  }
  .hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    /* a11y: --ink-mute (#757a92) on white is 4.29:1 — below WCAG 2.2 AA 4.5:1
       for this 14px bold text. --ink-soft (#4a4f6f) is ~7:1. */
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
  }
  .hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .hero-trust .check {
    color: #277a42;
    font-size: 18px;
  }

  /* hero illustration — colorful overlapping shapes */
  .hero-art {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 520px;
    margin-left: auto;
  }
  .blob {
    position: absolute;
    border-radius: 50%;
  }
  .blob.b-purple {
    width: 70%; height: 70%;
    background: var(--purple);
    top: 0; right: 0;
  }
  .blob.b-pink {
    width: 55%; height: 55%;
    background: var(--pink);
    bottom: 8%; left: 5%;
  }
  .blob.b-yellow {
    width: 32%; height: 32%;
    background: var(--yellow);
    bottom: 0; right: 12%;
  }
  .hero-card {
    position: absolute;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 50px -10px rgba(33,37,75,0.22), 0 0 0 1px rgba(33,37,75,0.04);
    padding: 22px 26px;
    z-index: 2;
  }
  .hero-card.hc1 {
    top: 18%; left: -4%;
    width: 64%;
    transform: rotate(-3deg);
  }
  .hero-card.hc2 {
    bottom: 12%; right: -4%;
    width: 58%;
    transform: rotate(3deg);
  }
  .hero-card .label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 8px;
  }
  .hero-card .stat-big {
    font-size: 44px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
  }
  .hero-card .stat-text {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.4;
  }
  .hero-card.hc2 .label { color: var(--purple); }

  .hero-tag {
    position: absolute;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transform: rotate(-6deg);
    top: 42%;
    right: 6%;
    z-index: 3;
    box-shadow: 0 8px 24px -8px rgba(33,37,75,0.25);
  }

  /* =========== LOGO STRIP =========== */
  .logos {
    background: var(--surface);
    padding: clamp(40px, 5vw, 60px) 0;
  }
  .logos-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
  }
  @media (min-width: 761px) { .logos-inner { grid-template-columns: 1fr 3fr; } }
  .logos-label {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
  }
  .logos-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    color: var(--ink-soft);
  }
  .lm { font-weight: 700; font-size: 22px; letter-spacing: -0.025em; }
  .lm.s2 { font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; font-size: 14px; }
  .lm.s3 { font-weight: 700; font-size: 24px; letter-spacing: -0.04em; }
  .lm.s4 { font-style: italic; font-weight: 700; }
  .lm.s5 { font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; font-size: 16px; }

  /* =========== PLATFORM INTRO =========== */
  .intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(36px, 6vw, 90px);
    align-items: center;
  }
  @media (min-width: 881px) { .intro-grid { grid-template-columns: 1fr 1.2fr; } }
  .intro-art {
    aspect-ratio: 4/3;
    background: var(--pink-soft);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
  }
  .intro-art .art-circle {
    position: absolute;
    border-radius: 50%;
  }
  .intro-art .art-circle.c1 { width: 60%; height: 60%; background: var(--purple); top: -10%; right: -10%; }
  .intro-art .art-circle.c2 { width: 40%; height: 40%; background: var(--yellow); bottom: -8%; left: 10%; }
  .intro-art .art-quote {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12%;
    z-index: 2;
  }
  .intro-art .art-quote-text {
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    box-shadow: 0 18px 40px -12px rgba(33,37,75,0.28);
    transform: rotate(-2deg);
  }
  .intro-art .art-quote-text::before {
    content: "“";
    color: var(--pink);
    font-size: 60px;
    line-height: 0.6;
    display: block;
    margin-bottom: 8px;
  }

  /* =========== FEATURE 4-UP =========== */
  .feat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: clamp(48px, 6vw, 72px);
  }
  @media (min-width: 561px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1081px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }
  .feat {
    background: var(--bg);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .2s ease, background .2s ease;
  }
  .feat:hover { transform: translateY(-4px); }
  .feat:nth-child(1):hover { background: var(--pink-soft); }
  .feat:nth-child(2):hover { background: var(--purple-soft); }
  .feat:nth-child(3):hover { background: #fef9c3; }
  .feat:nth-child(4):hover { background: #d1fae5; }
  .feat .icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }
  .feat:nth-child(1) .icon { background: var(--pink); }
  .feat:nth-child(2) .icon { background: var(--purple); }
  .feat:nth-child(3) .icon { background: var(--yellow); color: var(--ink); }
  .feat:nth-child(4) .icon { background: var(--green); }
  .feat h3 { font-size: 22px; font-weight: 700; }
  .feat p { font-size: 15.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

  /* =========== TRAIN BLOCK =========== */
  .train-block {
    background: var(--ink);
    color: #fff;
    border-radius: 28px;
    padding: clamp(48px, 6vw, 80px);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
  }
  @media (min-width: 901px) { .train-block { grid-template-columns: 1fr 1fr; } }
  .train-block::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 380px; height: 380px;
    background: var(--pink);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
  }
  .train-block .copy { position: relative; z-index: 1; }
  .train-block .eyebrow { color: var(--yellow); }
  .train-block h2 { color: #fff; margin-bottom: 18px; }
  .train-block p { color: rgba(255,255,255,0.78); font-size: 19px; margin-bottom: 28px; max-width: 44ch; }
  .train-block .actions { display: flex; gap: 10px; flex-wrap: wrap; }
  .train-block .btn-pink { box-shadow: 0 12px 30px -10px rgba(221,39,100,0.7); }

  .train-art { position: relative; z-index: 1; }
  .module {
    background: #fff;
    color: var(--ink);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 12px;
    box-shadow: 0 18px 40px -16px rgba(0,0,0,0.5);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
  }
  .module:nth-child(1) { transform: rotate(-2deg); }
  .module:nth-child(2) { transform: rotate(1deg); margin-left: 8%; }
  .module:nth-child(3) { transform: rotate(-1deg); margin-left: -4%; }
  .module .num-badge {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--purple-soft);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
  }
  .module:nth-child(2) .num-badge { background: var(--pink-soft); color: var(--pink); }
  .module:nth-child(3) .num-badge { background: #fef9c3; color: #b45309; }
  .module .m-title { font-size: 16px; font-weight: 700; }
  .module .m-meta { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
  .module .m-status {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    background: var(--pink-soft);
    color: var(--pink);
  }
  .module:nth-child(1) .m-status { background: var(--green); color: #fff; }

  /* =========== BUSINESS GRID =========== */
  .biz-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: clamp(48px, 6vw, 72px);
  }
  @media (min-width: 561px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1081px) { .biz-grid { grid-template-columns: repeat(4, 1fr); } }
  .biz {
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 280px;
  }
  .biz:nth-child(1) { background: var(--pink-soft); }
  .biz:nth-child(2) { background: var(--purple-soft); }
  .biz:nth-child(3) { background: #fef3c7; }
  .biz:nth-child(4) { background: #dcfce7; }
  .biz .stat-num {
    font-size: clamp(48px, 4.5vw, 60px);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.04em;
    line-height: 1;
  }
  .biz:nth-child(1) .stat-num { color: var(--pink); }
  .biz:nth-child(2) .stat-num { color: var(--purple); }
  .biz:nth-child(3) .stat-num { color: #b45309; }
  .biz:nth-child(4) .stat-num { color: #166534; }
  .biz h3 { font-size: 19px; margin-top: auto; font-weight: 700; }
  .biz p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

  /* =========== RESOURCES =========== */
  .res-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 540px;
    gap: 22px;
    margin-top: clamp(48px, 6vw, 72px);
  }
  @media (min-width: 981px) { .res-grid { grid-template-columns: repeat(3, 1fr); max-width: none; } }
  .res-card {
    background: var(--bg);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease;
  }
  .res-card:hover { transform: translateY(-4px); }
  .res-img {
    aspect-ratio: 16 / 10;
    position: relative;
    border-bottom: 2px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .res-img.r1 { background: var(--pink); }
  .res-img.r2 { background: var(--purple); }
  .res-img.r3 { background: var(--yellow); }
  .res-img .badge {
    position: absolute;
    top: 16px; left: 16px;
    background: #fff;
    color: var(--ink);
    border: 2px solid var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    z-index: 2;
  }
  .res-img .glyph {
    color: rgba(255,255,255,0.95);
    font-size: 110px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    position: relative;
  }
  .res-img.r3 .glyph { color: var(--ink); }
  .res-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
  }
  .res-body h3 { font-size: 21px; font-weight: 700; line-height: 1.2; }
  .res-body p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
  .res-body .meta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  /* =========== TEAMS =========== */
  .teams { background: var(--surface); }
  .teams-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: clamp(48px, 6vw, 72px);
  }
  @media (min-width: 561px) { .teams-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1081px) { .teams-grid { grid-template-columns: repeat(4, 1fr); } }
  .team {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease;
    border: 2px solid transparent;
  }
  .team:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 12px 30px -12px rgba(33,37,75,0.18); }
  .team .role-dot {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
  }
  .team:nth-child(1) .role-dot { background: var(--pink); }
  .team:nth-child(2) .role-dot { background: var(--purple); }
  .team:nth-child(3) .role-dot { background: var(--yellow); color: var(--ink); }
  .team:nth-child(4) .role-dot { background: var(--green); }
  .team h3 { font-size: 21px; font-weight: 700; }
  .team p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
  .team .arrow-link {
    margin-top: auto;
    font-weight: 700;
    color: var(--pink);
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .team:nth-child(2) .arrow-link { color: var(--purple); }
  .team:nth-child(3) .arrow-link { color: #b45309; }
  .team:nth-child(4) .arrow-link { color: #166534; }

  /* =========== SECTION HEAD =========== */
  .section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
  }
  .section-head h2 { margin-bottom: 18px; }
  .section-head p { font-size: 19px; color: var(--ink-soft); line-height: 1.55; margin: 0 auto; }

  /* =========== FINAL CTA =========== */
  /* 2026-09-15 — brightness lowered (owner: "very bright red"): same design, a muted berry
     instead of the bright brand pink, and softer circles. Text and buttons unchanged. */
  .final-cta {
    background: #93264f;
    color: #fff;
    text-align: center;
    padding: clamp(80px, 10vw, 130px) 0;
    position: relative;
    overflow: hidden;
  }
  .final-cta::before {
    content: "";
    position: absolute;
    top: -200px; left: -100px;
    width: 500px; height: 500px;
    background: var(--purple);
    border-radius: 50%;
    opacity: 0.25;
  }
  .final-cta::after {
    content: "";
    position: absolute;
    bottom: -200px; right: -100px;
    width: 400px; height: 400px;
    background: var(--yellow);
    border-radius: 50%;
    opacity: 0.12;
  }
  .final-cta .container { position: relative; z-index: 1; }
  .final-cta h2 {
    font-size: clamp(44px, 7vw, 92px);
    color: #fff;
    max-width: 16ch;
    margin: 0 auto 22px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .final-cta p {
    color: #fff;
    font-size: 19px;
    max-width: 50ch;
    margin: 0 auto 36px;
    line-height: 1.55;
  }
  .final-actions {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .final-cta .btn-yellow { background: var(--yellow); color: var(--ink); }
  .final-cta .btn-yellow:hover { background: #fff; transform: translateY(-1px); }
  .final-cta .btn-white-outline { background: transparent; color: #fff; border-color: #fff; }
  .final-cta .btn-white-outline:hover { background: #fff; color: var(--pink); }

  /* =========== FOOTER =========== */
  footer {
    background: var(--ink);
    color: #fff;
    padding: clamp(60px, 7vw, 90px) 0 32px;
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .foot-brand { grid-column: 1 / -1; }
  @media (min-width: 760px) {
    .foot-grid { grid-template-columns: minmax(150px, 1.4fr) repeat(5, 1fr); }
    .foot-brand { grid-column: auto; }
  }
  footer .brand { color: #fff; }
  footer .brand-logo { height: 44px; }
  .foot-brand p { color: rgba(255,255,255,0.7); font-size: 15px; max-width: 32ch; margin-top: 16px; line-height: 1.55; }
  .foot-col h3,
  .foot-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--yellow);
    font-weight: 700;
    margin: 0 0 18px;
  }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .foot-col a {
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    transition: color .15s ease;
  }
  .foot-col a:hover { color: #fff; }
  .foot-bottom {
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
  }
  .foot-bottom a { color: rgba(255,255,255,0.7); }
  .foot-bottom a:hover { color: #fff; }

  /* =========== FULL PLATFORM =========== */
  .plat-block { margin-top: clamp(56px, 7vw, 80px); }
  .plat-code {
    background: var(--ink);
    border-radius: 22px;
    padding: clamp(26px, 3.5vw, 38px);
    color: #fff;
    margin: 0 auto clamp(48px, 6vw, 72px);
    max-width: 760px;
    box-shadow: 0 30px 60px -20px rgba(33,37,75,0.35);
    position: relative;
    overflow: hidden;
    transform: rotate(-1.2deg);
  }
  .plat-code::before {
    content:"";position:absolute;top:-90px;right:-90px;width:260px;height:260px;border-radius:50%;
    background: var(--yellow); opacity: 0.22; pointer-events:none;
  }
  .plat-code::after {
    content:"";position:absolute;bottom:-100px;left:-60px;width:200px;height:200px;border-radius:50%;
    background: var(--pink); opacity: 0.25; pointer-events:none;
  }
  .plat-code .top-row {
    display:flex;align-items:center;gap:8px;margin-bottom:18px;position:relative;
  }
  .plat-code .top-row .d{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,0.2)}
  .plat-code .top-row .d:nth-child(1){background:var(--pink)}
  .plat-code .top-row .d:nth-child(2){background:var(--yellow)}
  .plat-code .top-row .d:nth-child(3){background:var(--green)}
  .plat-code .top-row .label{
    margin-left:auto;font-size:11px;letter-spacing:.16em;text-transform:uppercase;
    color: rgba(255,255,255,0.55);font-weight:700;
  }
  .plat-code pre {
    margin:0;font-family:'JetBrains Mono','SF Mono',ui-monospace,Menlo,Consolas,monospace;
    font-size:14px;line-height:1.75;color:#e6e7ff;
    white-space:pre-wrap;word-break:break-word;position:relative;
  }
  .plat-code .cmd{color:#a7f3d0}
  .plat-code .kw{color:#ffb3c8}
  .plat-code .fn{color:#fde68a}
  .plat-code .str{color:#fde68a}
  .plat-code .tag{color:#c4b5fd}
  .plat-code .attr{color:#93c5fd}
  .plat-code .pun{color:rgba(255,255,255,0.5)}
  .plat-code .status {
    margin-top: 22px;
    background: rgba(101,188,123,0.18);
    color: #c9f7d5;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
  }
  .plat-code .status::before{content:"●";color:var(--green)}

  .plat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  @media (min-width: 981px) {
    .plat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .plat-card { border-radius: 20px; padding: 30px 28px 26px; gap: 16px; }
  }

  .plat-card {
    --accent: var(--pink);
    --accent-soft: var(--pink-soft);
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 22px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  /* soft accent wash that fades in on hover */
  .plat-card::before {
    content: "";
    position: absolute;
    top: -40%; right: -30%;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: var(--accent-soft);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
  }
  .plat-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 22px 44px -20px rgba(33,37,75,0.28);
  }
  .plat-card:hover::before { opacity: 0.55; }

  /* Distinct accent per card — pink / purple / amber / green rotation */
  .plat-card:nth-child(4n+1) { --accent: var(--pink-deep);   --accent-soft: var(--pink-soft); }
  .plat-card:nth-child(4n+2) { --accent: var(--purple-deep); --accent-soft: var(--purple-soft); }
  .plat-card:nth-child(4n+3) { --accent: #b45309;            --accent-soft: #fef9c3; }
  .plat-card:nth-child(4n)   { --accent: #166534;            --accent-soft: #d1fae5; }

  .plat-card > * { position: relative; z-index: 1; }

  .plat-card .p-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: var(--accent-soft);
    transition: transform .25s ease;
  }
  .plat-card .p-icon svg { width: 26px; height: 26px; }
  .plat-card:hover .p-icon { transform: scale(1.06) rotate(-3deg); }

  .plat-card .tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .plat-card .p-head { display: flex; flex-direction: column; gap: 4px; }
  .plat-card h3 { font-size: 20px; font-weight: 700; line-height: 1.2; }
  .plat-card p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

  /* =========== INDUSTRIES =========== */
  .ind-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: clamp(48px, 6vw, 72px);
  }
  @media (min-width: 561px) { .ind-grid { grid-template-columns: repeat(2,1fr); } }
  @media (min-width: 1081px) { .ind-grid { grid-template-columns: repeat(4,1fr); } }
  .ind {
    border-radius: var(--radius);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .2s ease;
    min-height: 240px;
  }
  .ind:hover { transform: translateY(-4px); }
  .ind:nth-child(1) { background: var(--pink-soft); }
  .ind:nth-child(2) { background: var(--purple-soft); }
  .ind:nth-child(3) { background: #fef3c7; }
  .ind:nth-child(4) { background: #dcfce7; }
  .ind .ind-mark {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--bg);
    border: 2px solid var(--ink);
    display: grid; place-items: center;
    font-weight: 700; font-size: 22px;
    color: var(--ink);
  }
  .ind h3 { font-size: 20px; font-weight: 700; line-height: 1.2; }
  .ind p { font-size: 15px; color: var(--ink-soft); margin:0; line-height: 1.55; }

  /* =========== PRICING =========== */
  .pricing { background: var(--surface); }
  .price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: clamp(48px, 6vw, 72px);
  }
  @media (min-width: 561px) { .price-grid { grid-template-columns: repeat(2,1fr); } }
  @media (min-width: 1081px) { .price-grid { grid-template-columns: repeat(4,1fr); } }
  .plan {
    background: var(--bg);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease;
    position: relative;
  }
  .plan:hover { transform: translateY(-4px); }
  .plan.featured { background: var(--ink); color: #fff; }
  .plan.featured h3, .plan.featured p, .plan.featured li, .plan.featured .price-amt { color: #fff; }
  .plan.featured .blurb { color: rgba(255,255,255,0.78); }
  .plan.featured li { color: rgba(255,255,255,0.82); }
  .plan.featured::before {
    content: "Most popular";
    position: absolute;
    top: -16px; left: 50%; transform: translateX(-50%);
    background: var(--yellow); color: var(--ink);
    font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    padding: 6px 14px; border-radius: var(--radius-pill);
    border: 2px solid var(--ink);
    white-space: nowrap;
  }
  .plan .plan-name {
    font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--pink); margin-bottom: 4px;
  }
  .plan:nth-child(2) .plan-name { color: var(--purple); }
  .plan:nth-child(3) .plan-name { color: #b45309; }
  .plan:nth-child(5) .plan-name { color: #166534; }
  .plan.featured .plan-name { color: var(--yellow); }
  .plan .price-amt {
    font-size: 36px; font-weight: 700; letter-spacing: -.025em; line-height: 1;
    margin: 4px 0 2px; color: var(--ink);
  }
  .plan .price-amt small { font-size: 13px; font-weight: 700; color: var(--ink-mute); }
  .plan.featured .price-amt small { color: rgba(255,255,255,0.55); }
  .plan .blurb { font-size: 13px; color: var(--ink-soft); min-height: 36px; margin: 6px 0 14px; }
  .plan ul { list-style: none; padding: 0; margin: 0 0 20px; }
  .plan li { padding: 5px 0; font-size: 14px; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
  .plan li::before { content: "✓"; color: var(--pink); font-weight: 700; flex-shrink: 0; }
  .plan.featured li::before { color: var(--yellow); }
  .plan .btn { margin-top: auto; width: 100%; padding: 13px 20px; font-size: 14px; min-height: 46px; }
  /* Page-count estimator (pricing-estimator.js): the card that fits + the swapped-out 4th card */
  .plan[hidden] { display: none; }
  /* "Help me choose" website-count pills (pricing.html) — native radios, styled */
  .site-choice { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
  .site-choice legend { font-weight: 700; font-size: 15px; padding: 0; margin: 0 0 8px; }
  .site-choice-options { display: flex; gap: 8px; flex-wrap: wrap; }
  .site-choice label { position: relative; }
  .site-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .site-choice span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 56px; min-height: 44px; padding: 0 16px;
    border: 2px solid var(--ink); border-radius: var(--radius-pill);
    background: var(--bg); color: var(--ink); font-weight: 700; cursor: pointer;
  }
  .site-choice input:checked + span { background: var(--ink); color: #fff; }
  .site-choice input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 2px; }
  .plan.is-best { box-shadow: 0 0 0 4px var(--purple); }
  .plan.is-best::before {
    content: "Best fit for your site";
    position: absolute;
    top: -16px; left: 50%; transform: translateX(-50%);
    background: var(--purple); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    padding: 6px 14px; border-radius: var(--radius-pill);
    border: 2px solid var(--ink);
    white-space: nowrap;
  }

  .ai-addon {
    margin-top: 28px;
    background: var(--bg);
    border: 2px dashed var(--ink);
    border-radius: var(--radius);
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  .ai-addon .who { font-weight: 700; font-size: 17px; color: var(--ink); }
  .ai-addon .who .sub { color: var(--ink-mute); font-weight: 400; font-size: 13px; margin-left: 10px; }
  .ai-addon .desc { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
  .ai-tiers { display: flex; gap: 10px; flex-wrap: wrap; }
  .ai-tier {
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink);
  }
  .ai-tier b { color: var(--pink); margin-right: 4px; }
  .ai-tier:nth-child(2) b { color: var(--purple); }
  .ai-tier:nth-child(3) b { color: #b45309; }
  .ai-tier:nth-child(4) b { color: #166534; }

  /* =====================================================================
     SHARED PAGE COMPONENTS — mobile-first building blocks used by the
     sub-pages (product, company, compliance, schools, legal, docs).
     Reuse these before writing page-specific CSS. All min-width queries.
     ===================================================================== */

  /* Centered page hero (sub-pages) */
  .page-hero { text-align: center; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
  .page-hero .lead { margin: 18px auto 0; }
  .page-hero .hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

  /* Width helpers + long-form prose (legal / docs / mission) */
  .narrow { max-width: 820px; }
  .narrower { max-width: 680px; }
  .prose p { font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 1.1em; }
  .prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 1.6em 0 .5em; }
  .prose h3 { font-size: 19px; margin: 1.4em 0 .4em; }
  .prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.2em; color: var(--ink-soft); line-height: 1.7; }
  .prose li { margin: 4px 0; }
  .prose a { color: var(--pink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
  .legal-meta { font-size: 13px; color: var(--ink-mute); font-weight: 700; margin-bottom: 28px; }

  /* Surface band (alternating section background with rules) */
  .band { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

  /* Stat row */
  .stat-row { display: grid; grid-template-columns: 1fr; gap: 24px; text-align: center; }
  @media (min-width: 560px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
  .stat-row .num { font-size: clamp(30px, 3.5vw, 42px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
  .stat-row .lab { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-top: 10px; }
  .stat-row .sub { font-size: 12.5px; color: var(--ink-mute); margin-top: 3px; }

  /* Generic auto-fit card grid */
  .card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(36px, 5vw, 48px); }
  @media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

  /* Spec card (label + value) */
  .spec-card { background: var(--bg); border: 2px solid var(--rule); border-radius: 14px; padding: 20px 22px; }
  .spec-card .k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--pink); margin: 0 0 6px; }
  .spec-card .v { font-size: 15px; color: var(--ink-soft); line-height: 1.55; margin: 0; font-weight: 600; }

  /* Info card (uppercase key + value) */
  .info-card { background: var(--bg); border: 2px solid var(--rule); border-radius: 12px; padding: 16px 20px; }
  .info-card .k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); margin: 0 0 6px; }
  .info-card .v { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0; }

  /* Checklist grid */
  .check-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: clamp(36px, 5vw, 48px); }
  @media (min-width: 640px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
  .check-item { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border: 2px solid var(--rule); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
  .check-item .ck { color: var(--green); flex-shrink: 0; font-weight: 700; }

  /* Value card with colored left accent (cycles pink/purple/green/yellow) */
  .value-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: clamp(36px, 5vw, 48px); }
  @media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
  .value-card { background: var(--bg); border: 2px solid var(--rule); border-left-width: 5px; border-radius: 14px; padding: 26px 24px; }
  .value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
  .value-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; margin: 0; }
  .value-card:nth-child(4n+1) { border-left-color: var(--pink); }
  .value-card:nth-child(4n+2) { border-left-color: var(--purple); }
  .value-card:nth-child(4n+3) { border-left-color: var(--green); }
  .value-card:nth-child(4n)   { border-left-color: var(--yellow); }

  /* Honest-limitation callout (amber) */
  .callout { background: #fef9c3; border: 2px solid var(--yellow); border-left-width: 5px; border-radius: 0 12px 12px 0; padding: 18px 22px; display: flex; gap: 12px; align-items: flex-start; }
  .callout .ico { color: #b45309; flex-shrink: 0; margin-top: 1px; }
  .callout p { margin: 0; font-size: 15px; font-weight: 700; color: #7c4a03; line-height: 1.6; }

  /* Vertical stack of bordered rows (limitations, report items, FAQ) */
  .stack { display: flex; flex-direction: column; gap: 12px; }
  .row-item { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border: 2px solid var(--rule); border-radius: 12px; padding: 14px 18px; }
  .row-item .ico { flex-shrink: 0; margin-top: 2px; color: var(--purple); }
  .row-item h3 { font-size: 15px; font-weight: 700; margin: 0 0 3px; }
  .row-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
  .after-note { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-top: 20px; }

  /* =====================================================================
     SITE FOOTER — full IA (brand + 5 link columns + bottom bar).
     Overrides the earlier simple footer rules (later in source wins).
     Mobile-first: 2 cols → 3 cols → brand + 5 cols.
     ===================================================================== */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  /* One row: brand + the 5 link columns (matches the real INCLUXA footer). */
  @media (min-width: 760px) {
    .foot-grid { grid-template-columns: minmax(150px, 1.4fr) repeat(5, 1fr); gap: clamp(14px, 2.2vw, 40px); align-items: start; }
    .foot-brand { grid-column: auto; }
  }
  .foot-copy-mark { font-size: 11px; color: rgba(255,255,255,0.55); margin: 12px 0 8px; letter-spacing: .02em; }
  .foot-tag { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.65; margin: 0; max-width: 34ch; }
  .foot-built { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 12px; line-height: 1.6; text-transform: uppercase; letter-spacing: .05em; }

  .foot-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }
  .foot-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
  .foot-legal a { color: rgba(255,255,255,0.7); font-size: 13px; }
  .foot-legal a:hover { color: #fff; }
  .foot-legal .sep { color: rgba(255,255,255,0.3); font-size: 12px; }
  .foot-social { display: flex; align-items: center; gap: 6px; }
  .foot-social a {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: grid; place-items: center;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    transition: color .15s ease, background .15s ease;
  }
  .foot-social a:hover { color: #fff; background: rgba(255,255,255,0.12); }
  .foot-social svg { width: 16px; height: 16px; }
  .foot-copy { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 8px; }
  .foot-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); display: block; }

  /* =====================================================================
     IMAGE CAROUSEL — crossfading, auto-timed (theme.js drives .is-active).
     Reduced-motion: theme.js stops auto-advance; fade transition removed.
     ===================================================================== */
  .hero-carousel { position: relative; width: 100%; height: 100%; aspect-ratio: 1 / 1; }
  .hero-carousel .carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .8s ease;
    pointer-events: none;
  }
  .hero-carousel .carousel-slide.is-active { opacity: 1; }
  @media (prefers-reduced-motion: reduce) {
    .hero-carousel .carousel-slide { transition: none; }
  }

  /* Carousel dots (optional control rendered by theme.js) */
  .carousel-dots { position: absolute; left: 0; right: 0; bottom: -4px; display: flex; gap: 8px; justify-content: center; z-index: 3; }
  .carousel-dots button {
    width: 9px; height: 9px; padding: 0; border-radius: 50%;
    background: rgba(33,37,75,0.22); border: 0; cursor: pointer; transition: background .15s ease, transform .15s ease;
  }
  .carousel-dots button[aria-current="true"] { background: var(--pink); transform: scale(1.2); }

  /* =====================================================================
     FLOWING IX RIBBON REFRESH (2026-09-24)
     Later in source wins. 1) hard-coded Fable colours mapped to the logo
     palette, 2) dark theme (footer switch, theme.js), 3) homepage compact
     cards + "How it works" button, 4) how-it-works.html scroll story.
     ===================================================================== */

  /* ---- 1. Hard-coded colours → logo palette ---- */
  .hero-trust .check { color: var(--purple); }
  .final-cta { background: var(--brand); }
  .final-cta::before { background: var(--yellow); opacity: 0.18; }
  .final-cta::after { background: #fff; opacity: 0.06; }
  .final-cta .btn-yellow { color: var(--on-aqua); }
  .final-cta .btn-white-outline:hover { color: var(--brand); }
  .callout { background: var(--purple-soft); border-color: var(--purple); }
  .callout .ico { color: var(--purple); }
  .callout p { color: var(--ink); }
  .intro-art .art-circle.c1 { background: var(--brand); }
  .train-block .btn-pink { box-shadow: 0 12px 30px -10px rgba(41,40,155,0.6); }
  .feat:nth-child(3):hover { background: var(--purple-soft); }
  .feat:nth-child(4):hover { background: var(--pink-soft); }
  .module:nth-child(3) .num-badge { background: var(--purple-soft); color: var(--purple); }
  .biz:nth-child(3) { background: var(--purple-soft); }
  .biz:nth-child(3) .stat-num,
  .team:nth-child(3) .arrow-link,
  .plan:nth-child(3) .plan-name,
  .ai-tier:nth-child(3) b { color: var(--purple); }
  .ind:nth-child(3) { background: var(--purple-soft); }
  .plat-card:nth-child(4n+3) { --accent: var(--pink-deep);   --accent-soft: var(--pink-soft); }
  .plat-card:nth-child(4n)   { --accent: var(--purple-deep); --accent-soft: var(--purple-soft); }
  .carousel-dots button[aria-current="true"] { background: var(--brand); }

  /* ---- 2. Dark theme: html[data-site-theme="dark"], set by theme-init.js ---- */
  html[data-site-theme="dark"] {
    color-scheme: dark;
    --bg: #0e0f2a;
    --surface: #161838;
    --surface-2: #13143a;
    --ink: #eeeefa;
    --ink-soft: #c3c5e3;
    --ink-mute: #9a9cc2;
    --rule: #2b2d5c;
    --brand: #2f2db3;
    --pink: #b4b3ff;          /* indigo as text/lines on dark */
    --pink-deep: #d0cfff;
    --pink-soft: #22245a;
    --purple: #5fdddc;
    --purple-deep: #7de6e5;
    --purple-soft: #0f3436;
    --coral-deep: #5fdddc;
    --green: #5fdddc;
  }
  html[data-site-theme="dark"] .nav { background: rgba(14,15,42,0.92); }
  html[data-site-theme="dark"] .nav-links { background: var(--bg); }
  html[data-site-theme="dark"] .btn-pink,
  html[data-site-theme="dark"] .announce { background: var(--brand); color: #fff; }
  html[data-site-theme="dark"] .btn-pink:hover { background: #3b39c4; }
  html[data-site-theme="dark"] .btn-navy { background: var(--brand); }
  html[data-site-theme="dark"] .btn-outline:hover { background: var(--ink); color: var(--bg); }
  html[data-site-theme="dark"] .skip-link,
  html[data-site-theme="dark"] .plat-code,
  html[data-site-theme="dark"] .train-block,
  html[data-site-theme="dark"] footer { background: #07081c; }
  html[data-site-theme="dark"] .plan.featured,
  html[data-site-theme="dark"] .site-choice input:checked + span { background: var(--brand); color: #fff; }
  html[data-site-theme="dark"] .hero-card,
  html[data-site-theme="dark"] .module,
  html[data-site-theme="dark"] .res-img .badge,
  html[data-site-theme="dark"] .intro-art .art-quote-text { background: #1a1c45; color: var(--ink); }
  html[data-site-theme="dark"] .final-cta .btn-yellow:hover,
  html[data-site-theme="dark"] .final-cta .btn-white-outline:hover { background: #fff; color: var(--on-aqua); }
  /* Illustrations are drawn on white: sit them on a white panel in dark mode. */
  html[data-site-theme="dark"] .hero-art img,
  html[data-site-theme="dark"] .loop-img { background: #fff; border-radius: 22px; padding: 12px; }

  /* Footer theme switch (icon only, injected by theme.js) */
  .theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; flex: none; margin-left: auto; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); transition: color .2s ease, background .2s ease, transform .3s ease; }
  .theme-toggle:hover { color: #fff; background: rgba(255,255,255,0.08); transform: rotate(-12deg); }
  .theme-toggle:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
  .theme-toggle svg { width: 20px; height: 20px; }
  .theme-toggle .sun { display: none; }
  .theme-toggle[aria-pressed="true"] { color: var(--yellow); }
  .theme-toggle[aria-pressed="true"] .sun { display: block; }
  .theme-toggle[aria-pressed="true"] .moon { display: none; }

  /* ---- 3. Homepage ---- */
  .intro-art .art-quote-text { display: grid; gap: 20px; justify-items: start; }
  .art-quote-btn { min-height: 44px; padding: 0 20px; font-size: 16px; }

  .plat-grid.four { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  @media (max-width: 980px) { .plat-grid.four { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .plat-grid.four { grid-template-columns: 1fr; } }
  .plat-grid.four .plat-card { padding: 22px 20px; gap: 10px; border-radius: 18px; }
  .plat-grid.four .plat-card .p-icon { width: 42px; height: 42px; border-radius: 12px; transition: transform .4s cubic-bezier(.2,.8,.2,1), background-color .3s ease, color .3s ease; }
  .plat-grid.four .plat-card .p-icon svg { width: 22px; height: 22px; }
  .plat-grid.four .plat-card h3 { font-size: 18px; transition: color .3s ease; }
  .plat-grid.four .plat-card:nth-child(odd)  { --accent: var(--pink);   --accent-soft: var(--pink-soft); }
  .plat-grid.four .plat-card:nth-child(even) { --accent: var(--purple); --accent-soft: var(--purple-soft); }
  .plat-grid.four .plat-card:hover,
  .plat-grid.four .plat-card:focus-within { border-color: var(--yellow); box-shadow: 0 22px 40px -24px rgba(41,40,155,0.55); transform: translateY(-6px); }
  .plat-grid.four .plat-card:hover .p-icon,
  .plat-grid.four .plat-card:focus-within .p-icon { transform: rotate(-8deg) scale(1.12); background: var(--brand); color: #fff; }
  .plat-grid.four .plat-card:hover h3 { color: var(--pink); }

  .ext-strip { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 20px; border-radius: var(--radius); background: var(--purple-soft); color: var(--ink); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
  .ext-strip:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -24px rgba(11,122,121,0.6); }
  .ext-strip svg { width: 24px; height: 24px; color: var(--purple); flex: none; }
  .ext-strip .ext-text { flex: 1; min-width: 220px; }
  .ext-strip .ext-go { font-weight: 700; color: var(--pink); display: inline-flex; align-items: center; gap: 6px; }
  html[data-site-theme="dark"] .ext-strip .ext-go { color: var(--purple); }

  /* ---- 4. how-it-works.html ---- */
  .hw-hero { min-height: 72vh; display: grid; align-items: center; text-align: center; background: radial-gradient(60% 55% at 50% 42%, var(--purple-soft), transparent 70%), var(--bg); }
  .hw-hero .lead { margin: 22px auto 0; }
  .hw-title { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto; }
  .hw-title .hl { background: linear-gradient(transparent 72%, var(--yellow) 72%, var(--yellow) 92%, transparent 92%); padding: 0 4px; }
  .hw-cue { display: inline-flex; gap: 8px; margin-top: 40px; font-weight: 700; color: var(--pink); }
  .hw-cue span { display: inline-block; animation: hw-bob 1.8s ease-in-out infinite; }
  @keyframes hw-bob { 50% { transform: translateY(6px); } }

  section.scrolly { padding: 0; border-top: 1px solid var(--rule); }
  .scrolly .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); }
  .sc-sticky { position: sticky; top: 96px; padding: 48px 0; display: grid; justify-items: center; gap: 18px; }
  .sc-sticky svg { width: 100%; max-width: 420px; height: auto; }
  .sc-track { fill: none; stroke: var(--purple-soft); stroke-width: 26; }
  .sc-arc { fill: none; stroke: var(--rule); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; transition: stroke-dashoffset .8s ease, stroke .4s ease; }
  .sc-arc.on { stroke: var(--pink); stroke-dashoffset: 0; }
  .sc-node circle { transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s ease; transform-box: fill-box; transform-origin: center; opacity: 0.35; }
  .sc-node text { font: 700 17px Carlito, Calibri, sans-serif; text-anchor: middle; opacity: 0.55; transition: opacity .4s ease; }
  .sc-node text.sm { font-size: 15px; }
  .sc-node.ind circle { fill: var(--brand); }
  .sc-node.ind text { fill: #fff; }
  .sc-node.aq circle { fill: var(--yellow); }
  .sc-node.aq text { fill: var(--on-aqua); }
  .sc-node.done circle { opacity: 0.75; }
  .sc-node.done text { opacity: 0.9; }
  .sc-node.active circle { opacity: 1; transform: scale(1.18); }
  .sc-node.active text { opacity: 1; }
  .sc-big { font: 700 110px Carlito, Calibri, sans-serif; text-anchor: middle; fill: var(--ink); }
  .sc-progress { width: min(320px, 80%); height: 6px; border-radius: 6px; background: var(--rule); overflow: hidden; }
  .sc-progress i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--brand), var(--yellow)); transition: width .6s ease; }
  .sc-caption { margin: 0; font-weight: 700; color: var(--ink-soft); }
  .sc-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0 48px clamp(20px, 3vw, 36px); scroll-margin-top: 80px; border-left: 3px solid var(--rule); transition: border-color .4s ease; }
  .sc-step.active { border-left-color: var(--yellow); }
  .sc-step > * { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
  .sc-step:not(.active) > * { transform: translateY(14px); }
  .sc-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
  .sc-step h2 { font-size: clamp(32px, 4vw, 46px); }
  .sc-step .lead { margin-top: 16px; }
  .hw-facts { margin: 28px 0 0; display: grid; }
  .hw-facts div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
  .hw-facts dt { font-weight: 700; color: var(--pink); }
  .hw-facts dd { margin: 0; color: var(--ink-soft); }
  .hw-list { margin: 24px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-soft); }
  .hw-list li::marker { color: var(--purple); }
  .hw-note { margin: 18px 0 0; font-size: 14px; color: var(--ink-mute); max-width: 62ch; }

  .loop-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
  .loop-img { width: 100%; height: auto; }
  .loop-steps { list-style: none; counter-reset: ls; padding: 0; margin: 32px 0 0; }
  .loop-steps li { counter-increment: ls; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); }
  .loop-steps li::before { content: counter(ls); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--pink-soft); color: var(--pink); }
  .loop-steps b { font-size: 18px; }
  .loop-steps span { color: var(--ink-soft); font-size: 15.5px; }

  .hw-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(28px, 4vw, 56px); }
  .hw-feature h3 { font-size: 22px; color: var(--pink); padding-top: 18px; border-top: 2px solid var(--pink); }
  .hw-feature p { color: var(--ink-soft); margin: 10px 0 0; }
  .hw-more { list-style: none; padding: 0; margin: clamp(40px, 5vw, 56px) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; color: var(--ink-mute); }

  .hw-start { --hs-gap: clamp(24px, 4vw, 48px); list-style: none; counter-reset: hs; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hs-gap); }
  .hw-start li { counter-increment: hs; position: relative; display: flex; flex-direction: column; gap: 8px; }
  .hw-start li::before { content: counter(hs); order: -2; position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 700; background: var(--brand); color: #fff; box-shadow: 0 0 0 6px var(--bg); }
  .hw-start li:nth-child(2)::before { background: var(--yellow); color: var(--on-aqua); }
  .hw-start li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 64px; right: calc(-1 * var(--hs-gap) + 10px); height: 2px; background: linear-gradient(90deg, var(--pink), var(--yellow)); }
  .hw-start li:not(:last-child) > b::after { content: ""; position: absolute; top: 18px; right: calc(-1 * var(--hs-gap) + 8px); width: 10px; height: 10px; border-top: 2px solid var(--yellow); border-right: 2px solid var(--yellow); transform: rotate(45deg); }
  .hw-start b { font-size: 20px; }
  .hw-start span { color: var(--ink-soft); }
  .hs-time { order: -1; align-self: flex-start; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); background: var(--purple-soft); border-radius: var(--radius-pill); padding: 3px 10px; margin-top: 6px; }

  @media (max-width: 860px) {
    .scrolly .container, .loop-grid { grid-template-columns: 1fr; gap: 0; }
    .loop-grid { gap: 40px; }
    .sc-visual { position: sticky; top: 72px; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--rule); }
    .sc-sticky { position: static; padding: 12px 0; grid-template-columns: 110px 1fr; justify-items: start; align-items: center; gap: 4px 16px; }
    .sc-sticky svg { grid-row: span 2; max-width: 110px; }
    .sc-progress { width: 100%; }
    .sc-step { min-height: 60vh; }
    .hw-facts div { grid-template-columns: 1fr; gap: 4px; }
  }
  @media (max-width: 760px) {
    .hw-start { grid-template-columns: 1fr; }
    .hw-start li { padding-left: 68px; min-height: 96px; }
    .hw-start li::before { position: absolute; left: 0; top: 0; }
    .hw-start li:not(:last-child)::after { top: 56px; bottom: calc(-1 * var(--hs-gap) + 4px); left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--pink), var(--yellow)); }
    .hw-start li:not(:last-child) > b::after { display: none; }
    .hs-time { margin-top: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .sc-step:not(.active) > * { transform: none; }
    .hw-cue span { animation: none; }
  }
  .ext-strip .ext-go svg { width: 16px; height: 16px; color: currentColor; }
  html[data-site-theme="dark"] .hero-art { display: grid; place-items: center; }
  html[data-site-theme="dark"] .hero-art img { height: auto !important; }
  /* Inactive ring labels stay readable on the dimmed circles, both themes */
  .sc-node text { opacity: 1; }
  .sc-node.ind:not(.active):not(.done) text { fill: var(--pink); }
  .sc-node.aq:not(.active):not(.done) text { fill: var(--ink); }

  /* Tighter rhythm on the homepage + How it works (sections stack two paddings) */
  body.fable-home main > section,
  body.how-it-works main > section:not(.hw-hero):not(.scrolly) { padding: clamp(56px, 6vw, 84px) 0; }
  body.fable-home main > section.final-cta,
  body.how-it-works main > section.final-cta { padding: clamp(64px, 7vw, 96px) 0; }
  /* Final call-to-action heading: calmer size, all pages */
  .final-cta h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; max-width: 30ch; margin-bottom: 18px; }
  .final-cta p { font-size: 18px; margin-bottom: 30px; }

  /* ---- Match the approved preview (claude.ai artifact UUJfN4WD…) ---- */
  .eyebrow { color: var(--purple); }
  body.fable-home #platform { background: var(--surface); }
  body.fable-home .h2 span[style*="--pink"] { color: var(--pink); box-shadow: inset 0 -0.18em 0 var(--yellow); }
  .intro-art { background: var(--brand); border-radius: 24px; }
  .intro-art .art-circle.c1 { background: var(--yellow); opacity: 0.9; width: 60%; height: auto; aspect-ratio: 1; top: -22%; right: -18%; }
  .intro-art .art-circle.c2 { background: transparent; border: 22px solid rgba(255,255,255,0.18); width: 38%; height: auto; aspect-ratio: 1; bottom: -16%; left: -10%; }
  .intro-art .art-quote-text { box-shadow: 0 24px 48px -24px rgba(0,0,0,0.45); }
  .callout { border: 0; border-left: 4px solid var(--purple); border-radius: 12px; padding: 16px 18px; }
  .callout p { font-weight: 400; }
  .hero-trust .check { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: 11px; font-weight: 700; }
  .nav-cta .btn-text { text-decoration: none; color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius-pill); padding: 0 20px; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
  .nav-cta .btn-text:hover { background: var(--pink-soft); color: var(--ink); }
  @media (max-width: 640px) { .nav-cta .btn-text { display: none; } }

  /* ---- pricing.html, matching the approved preview (artifact G8z2ySA9…) ---- */
  .pr-hero { text-align: center; padding: clamp(56px, 7vw, 88px) 0 24px; }
  .pr-hero .lead { margin: 22px auto 0; max-width: 62ch; }
  .pr-title { font-size: clamp(44px, 6.4vw, 76px); letter-spacing: -0.02em; line-height: 1.04; }
  .pr-hl { background: linear-gradient(transparent 72%, var(--yellow) 72%, var(--yellow) 92%, transparent 92%); padding: 0 4px; }
  .pr-ext { margin: 36px auto 0; max-width: 760px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; text-align: left; background: var(--purple-soft); border-radius: var(--radius); padding: 18px 22px; }
  .pr-ext > div { flex: 1 1 320px; }
  .pr-ext-title { font-size: 18px; margin: 0 0 4px; }
  .pr-ext p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
  .pr-toggle { display: inline-flex; margin-top: 36px; padding: 5px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--rule); }
  .pr-toggle button { min-height: 44px; padding: 0 22px; border-radius: var(--radius-pill); font-weight: 700; color: var(--ink-soft); display: inline-flex; gap: 8px; align-items: center; }
  .pr-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
  .pr-toggle small { background: var(--yellow); color: var(--on-aqua); border-radius: var(--radius-pill); padding: 1px 8px; font-size: 12px; }

  section.pr-plans { padding: 24px 0 clamp(56px, 7vw, 88px); }
  .pricing-page .price-grid { gap: 20px; }
  .pricing-page .plan { border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
  .pricing-page .plan .plan-name,
  .pricing-page .plan:nth-child(n) .plan-name { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); }
  .pricing-page .plan .price-amt { font-size: 52px; line-height: 1; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
  .pricing-page .plan .price-amt small { font-size: 16px; font-weight: 400; color: var(--ink-mute); }
  .pr-bill { font-size: 14px; color: var(--ink-mute); min-height: 3em; margin: 0; }
  .pricing-page .plan .blurb { font-size: 15px; min-height: 3.2em; margin: 0; }
  .pricing-page .plan .btn { margin-top: 0; }
  .pricing-page .plan ul { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); display: grid; gap: 8px; }
  .pricing-page .plan li { padding: 0; font-size: 15px; display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
  .pricing-page .plan li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230B7A79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
  .pricing-page .plan li.no { color: var(--ink-mute); }
  .pricing-page .plan li.no::before { background: var(--surface); }
  .pricing-page .pr-pro { border: 2px solid var(--pink); }
  .pricing-page .pr-dark { background: var(--brand); border-color: var(--brand); color: #fff; }
  .pricing-page .pr-dark .plan-name { color: var(--yellow); }
  .pricing-page .pr-dark .price-amt,
  .pricing-page .pr-dark li { color: #fff; }
  .pricing-page .pr-dark .pr-bill,
  .pricing-page .pr-dark .blurb { color: #d5d6f2; }
  .pricing-page .pr-dark ul { border-color: rgba(255,255,255,0.2); }
  .pricing-page .pr-dark li::before { background-color: rgba(50,204,203,0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2332CCCB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .pricing-page .pr-dark .btn-yellow { background: var(--yellow); color: var(--on-aqua); }
  .pr-k12 { font-size: 14px; color: #d5d6f2; text-decoration: underline; text-underline-offset: 3px; }
  .pr-k12:hover { color: #fff; }
  .pricing-page .plan.is-best { box-shadow: 0 0 0 4px var(--yellow), 0 18px 40px -18px rgba(41,40,155,0.45); }

  .pr-trial { text-align: center; color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 72ch; margin: 22px auto 0; }
  .pr-finder { margin-top: clamp(48px, 6vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-radius: 24px; overflow: hidden; border: 1px solid var(--rule); padding: 0; }
  .pr-finder-qs { padding: clamp(24px, 4vw, 40px); display: grid; gap: 26px; background: var(--bg); }
  .pr-finder h2 { font-size: clamp(24px, 2.8vw, 32px); }
  .pr-finder-sub { color: var(--ink-soft); margin: 8px 0 0; }
  .pr-finder .site-choice { margin: 0; }
  .pr-finder .site-choice-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .pr-finder .site-choice span { display: grid; place-items: center; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--rule); background: var(--bg); font-weight: 700; cursor: pointer; }
  .pr-finder .site-choice input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
  .pr-finder .site-choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
  .pr-count { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .pr-count label { font-weight: 700; font-size: 15px; }
  .pr-count strong { font-size: 26px; color: var(--pink); font-variant-numeric: tabular-nums; }
  .pr-count span { color: var(--ink-mute); font-size: 14px; }
  .pr-help { margin: 2px 0 6px; color: var(--ink-mute); font-size: 14px; }
  .pr-finder input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--brand); cursor: pointer; }
  .pr-finder-result { background: var(--brand); color: #fff; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
  .pr-finder-result::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 28px solid rgba(50,204,203,0.22); }
  .pr-rec-label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
  .pr-rec-plan { font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.05; }
  .pr-rec-price { color: #d5d6f2; }
  .pr-rec-reason { margin: 0; max-width: 40ch; }
  .pr-finder-result .btn { align-self: flex-start; margin-top: 8px; position: relative; z-index: 1; color: var(--on-aqua); }
  .pr-pay { text-align: center; margin: 28px auto 0; font-size: 14px; color: var(--ink-mute); }
  .pr-pay a { color: var(--pink); font-weight: 700; }
  html[data-site-theme="dark"] .pricing-page .pr-dark,
  html[data-site-theme="dark"] .pr-finder-result { background: var(--brand); }
  /* Aqua button everywhere (was only defined inside .final-cta) */
  .btn-yellow { background: var(--yellow); color: var(--on-aqua); }
  .btn-yellow:hover { background: #5ad8d7; color: var(--on-aqua); transform: translateY(-1px); }
  .soon-list .soon-chip { width: auto; height: auto; padding: 2px 10px; border: 0; border-radius: var(--radius-pill); background: var(--purple-soft); color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

  /* Heading accent words: one treatment on every page (indigo + aqua underline),
     whichever colour the page's inline span asked for. Not inside dark bands. */
  main h1 span[style*="color:var(--pink)"],
  main h1 span[style*="color:var(--purple)"],
  main h2 span[style*="color:var(--pink)"],
  main h2 span[style*="color:var(--purple)"] { color: var(--pink) !important; box-shadow: inset 0 -0.18em 0 var(--yellow); }
  .final-cta h2 span[style*="color:var("] { color: inherit !important; box-shadow: inset 0 -0.18em 0 var(--yellow); }
