  :root {
    --bg: oklch(0.985 0.003 85);
    --bg-2: oklch(0.97 0.004 85);
    --ink: oklch(0.2 0.01 250);
    --ink-2: oklch(0.45 0.01 250);
    --ink-3: oklch(0.65 0.01 250);
    --line: oklch(0.9 0.004 250);
    --line-2: oklch(0.82 0.006 250);
    --card: #ffffff;
    --accent: oklch(0.66 0.12 185);        /* bookable green */
    --accent-ink: oklch(0.32 0.08 185);
    --accent-soft: oklch(0.94 0.04 185);
    --warn: oklch(0.75 0.14 70);            /* bounce amber */
    --warn-ink: oklch(0.42 0.1 70);
    --warn-soft: oklch(0.96 0.05 70);
  }

  /* ================= DARK MODE ================= */
  html[data-theme="dark"] {
    --bg: oklch(0.17 0.008 65);
    --bg-2: oklch(0.21 0.009 65);
    --ink: oklch(0.96 0.005 85);
    --ink-2: oklch(0.78 0.008 85);
    --ink-3: oklch(0.6 0.008 85);
    --line: oklch(0.28 0.008 65);
    --line-2: oklch(0.36 0.008 65);
    --card: oklch(0.22 0.009 65);
    --accent: oklch(0.7 0.12 185);
    --accent-ink: oklch(0.9 0.14 155);
    --accent-soft: oklch(0.3 0.06 155);
    --warn: oklch(0.78 0.14 70);
    --warn-ink: oklch(0.88 0.14 70);
    --warn-soft: oklch(0.3 0.06 70);
    color-scheme: dark;
  }
  html[data-theme="dark"] body {
    background:
      radial-gradient(1200px 600px at 80% -10%, oklch(0.3 0.05 155 / 0.25), transparent 60%),
      radial-gradient(900px 500px at 10% 110%, oklch(0.3 0.05 70 / 0.18), transparent 60%),
      var(--bg);
  }
  html[data-theme="dark"] .nav-cta { background: var(--accent); color: oklch(0.12 0.04 155); }
  html[data-theme="dark"] .nav-cta:hover { background: oklch(0.78 0.14 155); }
  html[data-theme="dark"] .sticky-nav {
    background: oklch(0.17 0.008 65 / 0.78);
    border-bottom-color: oklch(0.3 0.008 65 / 0.7);
  }
  html[data-theme="dark"] .channel.bounced {
    border-color: oklch(0.55 0.12 70);
    background: oklch(0.28 0.05 70);
    box-shadow: 0 0 0 3px oklch(0.55 0.12 70 / 0.25), 0 10px 22px -8px oklch(0 0 0 / 0.5);
  }
  html[data-theme="dark"] .slot { background: var(--bg); border-color: var(--line); }
  html[data-theme="dark"] .slot.partial { background: oklch(0.4 0.08 155); border-color: oklch(0.45 0.08 155); }
  html[data-theme="dark"] .bounce-card .t { color: oklch(0.82 0.1 70); }
  html[data-theme="dark"] .wire-path.back { stroke: oklch(0.55 0.12 70); }
  html[data-theme="dark"] .logo-tile {
    background: oklch(0.94 0.004 85);
    border-color: oklch(0.94 0.004 85);
  }
  html[data-theme="dark"] .logo-tile.dark {
    background: oklch(0.14 0.008 65);
    border-color: oklch(0.3 0.008 65);
    color: oklch(0.94 0.01 250);
  }
  html[data-theme="dark"] .tms-strip img {
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.75;
  }
  html[data-theme="dark"] .tms-strip img:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
  }
  html[data-theme="dark"] .f-visual.systems .sys-tile {
    background: oklch(0.94 0.004 85);
    border-color: oklch(0.88 0.004 85);
  }
  html[data-theme="dark"] .f-visual.systems .sys-tile.dark {
    background: oklch(0.14 0.008 65);
    border-color: oklch(0.3 0.008 65);
  }
  html[data-theme="dark"] .f-visual.systems .sys-tile.dark:hover {
    border-color: oklch(0.4 0.008 65);
  }
  html[data-theme="dark"] .f-visual.control .ctl-toggle {
    background: oklch(0.35 0.008 65);
  }
  html[data-theme="dark"] .f-visual.control .ctl-toggle::after {
    background: oklch(0.96 0.005 85);
    box-shadow: 0 1px 2px oklch(0 0 0 / 0.5);
  }
  html[data-theme="dark"] .f-visual.control .ctl-bar {
    background: oklch(0.3 0.008 65);
  }
  html[data-theme="dark"] .f-visual.orb .halo-1 {
    background: radial-gradient(ellipse at center, oklch(0.55 0.14 150 / 0.55), transparent 70%);
  }
  html[data-theme="dark"] .f-visual.orb .halo-2 {
    background: radial-gradient(ellipse at center, oklch(0.5 0.15 290 / 0.4), transparent 70%);
  }
  html[data-theme="dark"] .f-visual.orb .halo-3 {
    background: radial-gradient(ellipse at center, oklch(0.55 0.14 30 / 0.4), transparent 70%);
  }
  html[data-theme="dark"] .proof-num .num i { color: var(--accent); }
  html[data-theme="dark"] .proof-logos img { filter: brightness(0) invert(1); opacity: 0.7; }
  html[data-theme="dark"] .proof-logos li.dark { background: oklch(0.94 0.004 85); }
  html[data-theme="dark"] .proof-logos li.dark img { filter: brightness(0); opacity: 0.95; }
  html[data-theme="dark"] .p-card.featured {
    box-shadow: 0 0 0 4px oklch(0.72 0.14 155 / 0.15), 0 30px 50px -30px oklch(0 0 0 / 0.6);
  }
  html[data-theme="dark"] .cta-band {
    background: oklch(0.12 0.008 65);
  }
  html[data-theme="dark"] footer.site {
    background: oklch(0.1 0.008 65);
  }
  html[data-theme="dark"] .foot-bar {
    border-top-color: oklch(0.22 0.008 65);
  }
  html[data-theme="dark"] .sm-slot { background: var(--bg); }
  html[data-theme="dark"] .sm-slot.dim { background: oklch(0.4 0.06 155); }
  html[data-theme="dark"] .sm-slot.warm { background: oklch(0.48 0.1 155); }
  html[data-theme="dark"] .stage-mobile::before { opacity: 0.25; }
  html[data-theme="dark"] .stage-grid { opacity: 0.4; }
  html[data-theme="dark"] .f-visual.orb .ctx-chip {
    background: oklch(0.25 0.008 65 / 0.35);
    border-color: oklch(0.5 0.01 65 / 0.3);
    color: oklch(0.96 0.005 85 / 0.55);
    box-shadow: none;
  }
  /* Theme toggle (footer) — segmented 3-way pill */
  .foot-brand .theme-seg { margin-top: 20px; }
  .foot-brand .theme-seg {
    --seg-bg: oklch(0.97 0.004 85);
    --seg-border: oklch(0.88 0.008 85);
    --seg-fg: oklch(0.45 0.012 250);
    --seg-fg-active: oklch(0.22 0.015 250);
    --seg-thumb: #ffffff;
    --seg-thumb-border: oklch(0.86 0.008 85);
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 3px;
    margin-top: 14px;
    gap: 0;
    background: var(--seg-bg);
    border: 1px solid var(--seg-border);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  }
  html[data-theme="dark"] .foot-brand .theme-seg {
    --seg-bg: oklch(0.22 0.008 65);
    --seg-border: oklch(0.3 0.008 65);
    --seg-fg: oklch(0.7 0.005 85);
    --seg-fg-active: oklch(0.98 0.005 85);
    --seg-thumb: oklch(0.32 0.008 65);
    --seg-thumb-border: oklch(0.4 0.008 65);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  }
  .foot-brand .theme-seg button {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--seg-fg);
    width: 30px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color .15s ease;
    padding: 0;
  }
  .foot-brand .theme-seg button:hover { color: var(--seg-fg-active); }
  .foot-brand .theme-seg button svg {
    width: 15px;
    height: 15px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .foot-brand .theme-seg button[aria-checked="true"] {
    color: var(--seg-fg-active);
  }
  .foot-brand .theme-seg .thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 30px;
    height: 28px;
    background: var(--seg-thumb);
    border: 1px solid var(--seg-thumb-border);
    border-radius: 999px;
    transition: transform .22s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
  }
  html[data-theme="dark"] .foot-brand .theme-seg .thumb {
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
  }
  .foot-brand .theme-seg[data-value="system"] .thumb { transform: translateX(0); }
  .foot-brand .theme-seg[data-value="light"]  .thumb { transform: translateX(30px); }
  .foot-brand .theme-seg[data-value="dark"]   .thumb { transform: translateX(60px); }

  /* legacy single-button styles kept for fallback */
  .foot-brand .theme-toggle {
    appearance: none; background: transparent;
    border: 1px solid oklch(0.32 0.015 250);
    color: oklch(0.75 0.01 250); cursor: pointer;
    width: 36px; height: 36px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 18px;
    padding: 0;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
  }
  html[data-theme="dark"] .foot-brand .theme-toggle {
    border-color: oklch(0.3 0.008 65);
    color: oklch(0.75 0.005 85);
  }
  .foot-brand .theme-toggle:hover {
    color: oklch(0.96 0.005 85);
    border-color: oklch(0.5 0.015 250);
    background: oklch(0.2 0.012 250);
  }
  html[data-theme="dark"] .foot-brand .theme-toggle:hover {
    background: oklch(0.22 0.008 65);
    border-color: oklch(0.4 0.008 65);
  }
  .foot-brand .theme-toggle svg { width: 17px; height: 17px; display: block; }
  .foot-brand .theme-toggle .icon-sun { display: none; }
  .foot-brand .theme-toggle .icon-moon { display: block; }
  html[data-theme="dark"] .foot-brand .theme-toggle .icon-sun { display: block; }
  html[data-theme="dark"] .foot-brand .theme-toggle .icon-moon { display: none; }
  * { box-sizing: border-box; }
  .nav-right { display: flex; align-items: center; gap: 6px; }
  html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: "Inter Tight", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
  body {
    min-height: 100vh;
    background:
      radial-gradient(1200px 600px at 80% -10%, oklch(0.96 0.02 155 / 0.5), transparent 60%),
      radial-gradient(900px 500px at 10% 110%, oklch(0.96 0.02 70 / 0.35), transparent 60%),
      var(--bg);
  }

  /* ---------- Top chrome ---------- */
  .nav {
    max-width: 1360px; margin: 0 auto; padding: 26px 32px;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 14px; color: var(--ink-2);
  }
  .brand {
    display: flex; align-items: center; gap: 12px;
    color: var(--ink); font-weight: 700; letter-spacing: 0.02em;
    font-size: 22px; text-decoration: none;
  }
  .brand-mark {
    width: 32px; height: 32px; border-radius: 9px;
    background: var(--accent);
    position: relative;
  }
  .brand-mark::after {
    content: ""; position: absolute; inset: 7px;
    border-radius: 5px; background: var(--card);
  }
  .nav-links { display: flex; gap: 28px; }
  .nav-links a { color: var(--ink-2); text-decoration: none; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 16px; border-radius: 10px;
    background: var(--accent); color: oklch(0.15 0.04 155);
    font-weight: 600; font-size: 14px; text-decoration: none;
    letter-spacing: -0.01em;
    transition: background .15s ease;
  }
  .nav-cta:hover { background: oklch(0.62 0.15 155); }
  .nav-login {
    display: inline-flex; align-items: center;
    color: var(--ink-2); text-decoration: none;
    font-size: 14px; font-weight: 500;
    padding: 11px 14px; border-radius: 10px;
    transition: color .15s ease, background .15s ease;
  }
  .nav-login:hover { color: var(--ink); background: var(--bg-2, rgba(0,0,0,0.04)); }
  html[data-theme="dark"] .nav-login:hover { background: oklch(0.24 0.009 65); }

  /* ---------- Glass sticky header ---------- */
  .sticky-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    transform: translateY(-100%);
    transition: transform .28s cubic-bezier(.2,.8,.25,1), opacity .2s ease;
    opacity: 0;
    background: oklch(0.985 0.003 85 / 0.72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid oklch(0.9 0.004 250 / 0.7);
  }
  .sticky-nav.show { transform: translateY(0); opacity: 1; }
  .sticky-inner {
    max-width: 1360px; margin: 0 auto;
    padding: 14px 32px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .sticky-nav .brand { font-size: 19px; }
  .sticky-nav .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
  .sticky-nav .brand-mark::after { inset: 6px; border-radius: 4px; }

  /* ---------- Hero layout ---------- */
  .hero {
    max-width: 1360px; margin: 0 auto; padding: 40px 32px 40px;
    display: grid; grid-template-columns: 1.05fr 1.25fr; gap: 56px;
    align-items: center;
  }
  @media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; }
  }

  /* ---------- Booking-system logo strip ---------- */
  .tms-strip {
    max-width: 1360px; margin: 0 auto; padding: 8px 32px 72px;
  }
  .tms-strip .label {
    font-family: "JetBrains Mono", monospace; font-size: 11px;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-3);
    text-align: center; margin: 0 0 24px;
  }
  .tms-strip .row {
    display: grid; grid-template-columns: repeat(4, minmax(0, 200px));
    justify-content: center;
    align-items: center; gap: 56px;
  }
  .tms-strip .row--secondary {
    grid-template-columns: repeat(3, minmax(0, 200px));
    justify-content: center;
    gap: 56px;
    margin-top: 44px;
  }
  @media (max-width: 900px) {
    .tms-strip .row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .tms-strip .row--secondary { grid-template-columns: repeat(3, auto); gap: 32px; margin-top: 24px; }
  }
  @media (max-width: 640px) {
    .tms-strip { padding: 8px 20px 56px; }
    .tms-strip .label { font-size: 10px; margin: 0 0 18px; }
    .tms-strip .row { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .tms-strip .row--secondary { grid-template-columns: repeat(3, 1fr); gap: 22px 12px; margin-top: 26px; }
    .tms-strip img { max-height: 28px; max-width: 130px; }
    .tms-strip .row--secondary > img[alt="Roller"] { max-height: 20px; }
    .tms-strip .logo-chip--dark img { max-height: 20px; }
    html[data-theme="dark"] .tms-strip .logo-chip--dark img { max-height: 20px; }
    .tms-strip .cta-note { font-size: 10.5px; line-height: 1.55; margin-top: 22px; padding: 0 4px; }
  }
  .tms-strip img {
    max-width: 100%; max-height: 44px;
    width: auto; height: auto; display: block; margin: 0 auto;
    filter: grayscale(100%); opacity: 0.62;
    transition: filter .2s ease, opacity .2s ease;
  }
  .tms-strip img:hover { filter: grayscale(0%); opacity: 1; }

  /* Dark chip for logos that ship white-on-transparent (Booked It) */
  .tms-strip .logo-chip {
    display: inline-flex; align-items: center; justify-content: center;
    margin: 0 auto;
  }
  .tms-strip .logo-chip--dark img {
    max-height: 28px;
    filter: grayscale(100%) invert(1) brightness(0.4);
    opacity: 0.7;
    transition: filter .2s ease, opacity .2s ease;
  }
  .tms-strip .logo-chip--dark:hover img {
    filter: grayscale(0%) invert(1) brightness(0.4);
    opacity: 1;
  }
  html[data-theme="dark"] .tms-strip .logo-chip--dark img {
    max-height: 28px;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.75;
  }
  html[data-theme="dark"] .tms-strip .logo-chip--dark:hover img {
    filter: brightness(0) invert(1);
    opacity: 1;
  }
  /* Roller SVG is naturally tall; cap it to match visual rhythm */
  .tms-strip .row--secondary > img[alt="Roller"] { max-height: 28px; }
  .tms-strip .cta-note {
    margin: 28px 0 0; text-align: center;
    font-family: "JetBrains Mono", monospace; font-size: 11.5px;
    letter-spacing: 0.02em; color: var(--ink-2);
  }
  .tms-strip .cta-note a {
    color: var(--ink); text-decoration: none;
    border-bottom: 1px solid currentColor; padding-bottom: 1px;
    transition: color .15s ease;
  }
  .tms-strip .cta-note a:hover { color: var(--accent-ink); }
  .tms-strip .cta-note a .arr { display: inline-block; margin-left: 4px; transition: transform .15s ease; }
  .tms-strip .cta-note a:hover .arr { transform: translateX(3px); }

  /* ---------- Mobile marquee ---------- */
  .tms-marquee { display: none; }
  @media (max-width: 640px) {
    .tms-desktop-rows { display: none !important; }
    .tms-strip { padding: 0 0 56px; }
    .tms-strip .label { padding: 0 20px; margin: 0 0 22px; }
    .tms-strip .cta-note { padding: 0 20px; margin-top: 28px; }
    .tms-marquee {
      display: block;
      position: relative;
      width: 100%;
      overflow: hidden;
      padding: 4px 0;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
              mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    }
    .tms-marquee-track {
      display: flex;
      width: max-content;
      animation: tmsScroll 32s linear infinite;
    }
    .tms-marquee-set {
      display: flex; align-items: center;
      flex: 0 0 auto;
      gap: 48px;
      padding: 0 24px;
    }
    .tms-marquee-set img {
      max-height: 26px; width: auto; height: auto;
      object-fit: contain;
      flex: 0 0 auto;
      filter: grayscale(100%);
      opacity: 0.78;
    }
    .tms-marquee-set .logo-chip--dark img {
      max-height: 20px;
      filter: grayscale(100%) invert(1) brightness(0.4);
    }
    .tms-marquee-set img[alt="Roller"], .tms-marquee-set img[alt=""][src*="roller"] {
      max-height: 22px;
    }
    html[data-theme="dark"] .tms-marquee-set img { filter: grayscale(100%) brightness(0) invert(1); opacity: 0.7; }
    html[data-theme="dark"] .tms-marquee-set .logo-chip--dark img { filter: grayscale(100%) brightness(0) invert(1); }
    @keyframes tmsScroll {
      from { transform: translate3d(0, 0, 0); }
      to   { transform: translate3d(-50%, 0, 0); }
    }
    @media (prefers-reduced-motion: reduce) {
      .tms-marquee-track { animation: none; }
    }
  }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: "JetBrains Mono", monospace; font-size: 12px;
    color: var(--accent-ink); background: var(--accent-soft);
    padding: 6px 12px; border-radius: 999px;
    letter-spacing: 0.02em;
  }
  .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px oklch(0.66 0.12 185 / 0.25); }
  h1 {
    font-size: clamp(44px, 5.2vw, 72px);
    line-height: 1.08; letter-spacing: -0.035em;
    margin: 22px 0 20px; font-weight: 700;
    text-wrap: balance;
  }
  h1 .hl {
    background: linear-gradient(180deg, transparent 62%, oklch(0.66 0.12 185 / 0.28) 62%);
    padding: 0 4px; border-radius: 4px;  }
  h1 .und {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 5px;
    text-underline-offset: 10px;
  }
  .sub {
    font-size: 18px; line-height: 1.5; color: var(--ink-2);
    max-width: 520px; margin: 0 0 28px; text-wrap: pretty;
  }
  .ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 20px; border-radius: 12px;
    font-weight: 600; font-size: 15px; text-decoration: none;
    border: 1px solid transparent; cursor: pointer;
  }
  .btn-primary { background: var(--accent); color: oklch(0.15 0.04 155); border-color: var(--accent); }
  .btn-primary:hover { background: oklch(0.58 0.17 155); border-color: oklch(0.58 0.17 155); color: oklch(0.08 0.04 155); box-shadow: 0 6px 18px -6px oklch(0.55 0.18 155 / 0.4); }
  html[data-theme="dark"] .btn-primary { background: var(--accent); color: oklch(0.12 0.04 155); border-color: var(--accent); }
  html[data-theme="dark"] .btn-primary:hover { background: oklch(0.58 0.17 155); border-color: oklch(0.58 0.17 155); color: oklch(0.08 0.04 155); box-shadow: 0 6px 18px -6px oklch(0.55 0.18 155 / 0.45); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
  .btn-ghost:hover { background: var(--bg-2); }
  .kbd {
    font-family: "JetBrains Mono", monospace; font-size: 11px;
    padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 5px;
    color: var(--ink-2); background: var(--card);
  }

  .trust {
    margin-top: 40px; display: flex; gap: 28px; align-items: center;
    color: var(--ink-3); font-size: 12px;
    font-family: "JetBrains Mono", monospace;
  }
  .trust-line {
    margin: 28px 0 24px;
    color: var(--ink-3);
    font-size: 13px;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.01em;
  }
  @media (max-width: 720px) {
    .trust-line { font-size: 12px; margin: 22px 0 20px; }
  }
  .trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

  /* ---------- Flow diagram ---------- */
  .stage {
    position: relative;
    aspect-ratio: 5 / 3.6;
    min-height: 520px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow:
      0 1px 0 oklch(1 0 0 / 0.6) inset,
      0 30px 60px -30px oklch(0.2 0.02 250 / 0.18),
      0 8px 20px -12px oklch(0.2 0.02 250 / 0.08);
    overflow: hidden;
  }
  .stage-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    opacity: 0.35;
    pointer-events: none;
  }
  .stage-label {
    position: absolute; top: 16px; left: 20px;
    font-family: "JetBrains Mono", monospace; font-size: 11px;
    color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
    z-index: 3;
  }
  .stage-live {
    position: absolute; top: 16px; right: 20px;
    display: inline-flex; align-items: center; gap: 8px;
    font-family: "JetBrains Mono", monospace; font-size: 11px;
    color: var(--ink-2);
    z-index: 3;
  }
  .stage-live .pulse {
    width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 0 0 oklch(0.66 0.12 185 / 0.6);
    animation: pulse 1.6s ease-out infinite;
  }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 oklch(0.66 0.12 185 / 0.55); }
    100% { box-shadow: 0 0 0 10px oklch(0.66 0.12 185 / 0); }
  }

  .flow {
    position: absolute; inset: 72px 32px 48px 32px;
  }
    gap: 0; align-items: center;
  }

  /* channels — scattered small chips */
  .channels {
    position: relative; z-index: 2;
    width: 100%; height: 100%;
    pointer-events: none;
  }
  .channels-inner {
    position: absolute; inset: 16px 24px 16px 20px;
    pointer-events: none;
  }
  .channel { pointer-events: auto; }
  .channel {
    position: absolute;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 10px 6px 6px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11.5px; color: var(--ink);
    box-shadow: 0 8px 16px -10px oklch(0.2 0.02 250 / 0.18);
    transform: translate(-50%, -50%);
    transition: transform .35s ease, box-shadow .3s ease, border-color .3s ease;
    white-space: nowrap;
  }
  .channel.active {
    border-color: var(--ink-3);
    box-shadow: 0 10px 22px -8px oklch(0.2 0.02 250 / 0.28);
  }
  .channel.bounced {
    border-color: oklch(0.82 0.1 70);
    box-shadow: 0 0 0 3px oklch(0.85 0.12 70 / 0.35), 0 10px 22px -8px oklch(0.2 0.02 250 / 0.25);
    background: oklch(0.98 0.03 70);
  }
  .channel .icn {
    width: 20px; height: 20px; border-radius: 999px;
    background: var(--bg-2); border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--ink-2);
    flex: none;
  }
  .channel .name { font-weight: 600; letter-spacing: -0.005em; }
  .channel .count {
    font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--ink-3);
    margin-left: 2px;
  }

  /* center — the Bookable node */
  .core-wrap {
    position: absolute; z-index: 2;
    display: grid; place-items: center;
    transform: translate(-50%, -50%);
    padding: 0 8px;
  }
  .core {
    position: relative; z-index: 2;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow:
      0 1px 0 oklch(1 0 0 / 0.6) inset,
      0 24px 40px -22px oklch(0.2 0.02 250 / 0.28),
      0 8px 18px -10px oklch(0.2 0.02 250 / 0.15);
  }

  .core-mark {
    width: 48px; height: 48px; border-radius: 11px;
    background: var(--accent);
    box-shadow: 0 10px 22px -8px oklch(0.66 0.12 185 / 0.55);
    flex: none;
    position: relative;
  }
  .core-mark::after {
    content: ""; position: absolute; inset: 11px;
    border-radius: 6px; background: var(--card);
  }
  .core-name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
  .core-stats {
    position: absolute; z-index: 3;
    top: -14px; right: -14px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 10px; padding: 6px 10px;
    font-family: "JetBrains Mono", monospace; font-size: 10.5px;
    color: var(--ink-2);
    box-shadow: 0 10px 20px -12px oklch(0.2 0.02 250 / 0.2);
  }
  .core-stats b { color: var(--accent-ink); font-weight: 600; }

  /* target — booking system */
  .target-wrap {
    position: absolute; z-index: 2;
    display: flex; flex-direction: column; gap: 10px; align-items: stretch;
    transform: translate(-50%, -50%);
    width: 44%;
  }
  .target {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
  }
  .target-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
  }
  .target-title { font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
  .target-tag {
    font-family: "JetBrains Mono", monospace; font-size: 10px;
    padding: 3px 7px; border-radius: 6px;
    color: var(--accent-ink); background: var(--accent-soft);
  }
  .slots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
  .slot {
    aspect-ratio: 1;
    border-radius: 3px;
    background: var(--bg-2);
    border: 1px solid var(--line);
  }
  .slot.on { background: var(--accent); border-color: var(--accent); }
  .slot.partial { background: oklch(0.9 0.08 155); border-color: oklch(0.85 0.08 155); }
  .target-row {
    display: flex; justify-content: space-between;
    margin-top: 10px;
    font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: var(--ink-3);
  }
  .target-row b { color: var(--ink); font-weight: 600; }

  .bounce-card {
    background: var(--warn-soft);
    border: 1px solid oklch(0.85 0.08 70);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex; gap: 10px; align-items: center;
    font-size: 12px; color: var(--warn-ink);
  }
  .bounce-card .icn {
    width: 22px; height: 22px; border-radius: 7px; background: var(--warn); color: white;
    display: grid; place-items: center;
  }
  .bounce-card .t { font-weight: 600; color: oklch(0.32 0.08 70); }
  .bounce-card .m { font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: var(--warn-ink); }

  /* Edit-mode UI for channel positions */
  .edit-toggle {
    position: absolute; bottom: 14px; right: 20px; z-index: 4;
    font-family: "JetBrains Mono", monospace; font-size: 10.5px;
    color: var(--ink-2); background: var(--card);
    border: 1px solid var(--line); border-radius: 8px;
    padding: 4px 10px; cursor: pointer;
    letter-spacing: 0.06em; text-transform: uppercase;
  }
  .edit-toggle:hover { border-color: var(--ink-3); color: var(--ink); }
  .edit-toggle.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .stage.editing .channel { cursor: grab; border-style: dashed; border-color: var(--accent); }
  .stage.editing .channel:active { cursor: grabbing; }
  .stage.editing .core-wrap,
  .stage.editing .target-wrap { cursor: grab; }
  .stage.editing .core-wrap:active,
  .stage.editing .target-wrap:active { cursor: grabbing; }
  .stage.editing .core { outline: 2px dashed var(--accent); outline-offset: 4px; border-radius: 20px; }
  .stage.editing .target { outline: 2px dashed var(--accent); outline-offset: 4px; }

  /* svg layer for flowing pills */
  .wires { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: visible; }
  .wire-path { fill: none; stroke: var(--line-2); stroke-width: 1.4; stroke-dasharray: 3 4; opacity: 0.85; }
  .wire-path.back { stroke: oklch(0.85 0.08 70); }

  .pill-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
  .pill {
    position: absolute; top: 0; left: 0;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--ink);
    box-shadow:
      0 0 0 3px oklch(0.2 0.02 250 / 0.08),
      0 0 12px 2px oklch(0.2 0.02 250 / 0.25);
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
    animation: pillPulse 1s ease-in-out infinite;
  }
  @keyframes pillPulse {
    0%, 100% { box-shadow: 0 0 0 3px oklch(0.2 0.02 250 / 0.08), 0 0 10px 1px oklch(0.2 0.02 250 / 0.2); }
    50%      { box-shadow: 0 0 0 5px oklch(0.2 0.02 250 / 0.14), 0 0 18px 3px oklch(0.2 0.02 250 / 0.35); }
  }
  .pill.ok   { background: var(--accent); }
  .pill.ok   { animation-name: pillPulseOk; }
  @keyframes pillPulseOk {
    0%, 100% { box-shadow: 0 0 0 3px oklch(0.66 0.12 185 / 0.16), 0 0 10px 1px oklch(0.66 0.12 185 / 0.35); }
    50%      { box-shadow: 0 0 0 5px oklch(0.66 0.12 185 / 0.24), 0 0 20px 4px oklch(0.66 0.12 185 / 0.55); }
  }
  .pill.back { background: var(--warn); }
  .pill.back { animation-name: pillPulseWarn; }
  @keyframes pillPulseWarn {
    0%, 100% { box-shadow: 0 0 0 3px oklch(0.78 0.14 70 / 0.18), 0 0 10px 1px oklch(0.78 0.14 70 / 0.4); }
    50%      { box-shadow: 0 0 0 5px oklch(0.78 0.14 70 / 0.26), 0 0 20px 4px oklch(0.78 0.14 70 / 0.6); }
  }

  /* Activity ticker */
  .ticker {
    margin-top: 14px; background: var(--card);
    border: 1px solid var(--line); border-radius: 12px;
    padding: 10px 14px;
    font-family: "JetBrains Mono", monospace; font-size: 11px;
    color: var(--ink-2);
    overflow: hidden;
  }
  .ticker-head {
    font-size: 9.5px; letter-spacing: 0.12em; color: var(--ink-3);
    margin-bottom: 6px; text-transform: uppercase;
  }
  .ticker-list {
    list-style: none; margin: 0; padding: 0;
    height: 52px; overflow: hidden; position: relative;
  }
  .ticker-list li {
    display: flex; justify-content: space-between; gap: 8px;
    padding: 3px 0; white-space: nowrap;
    animation: tickerIn .45s cubic-bezier(.2,.8,.25,1) both;
  }
  .ticker-list li .t-type { color: var(--ink); font-weight: 500; }
  .ticker-list li .t-status { font-size: 10px; display: inline-flex; align-items: center; gap: 5px; }
  .ticker-list li .t-status::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; display: inline-block;
  }
  .ticker-list li.ok   .t-status { color: var(--accent-ink); }
  .ticker-list li.ok   .t-status::before { background: var(--accent); }
  html[data-theme="dark"] .ticker-list li.ok .t-status { color: var(--accent); }
  .ticker-list li.fail .t-status { color: var(--warn-ink); }
  .ticker-list li.fail .t-status::before { background: var(--warn); }
  @keyframes tickerIn {
    from { transform: translateY(-14px); opacity: 0; }
    to   { transform: translateY(0);      opacity: 1; }
  }

  /* Tweaks panel */
  .tweaks {
    position: fixed; right: 18px; bottom: 18px; z-index: 50;
    width: 280px; background: var(--card);
    border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 20px 40px -20px oklch(0.2 0.02 250 / 0.3);
    padding: 14px; font-size: 13px;
    display: none;
  }
  .tweaks.open { display: block; }
  .tweaks h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); font-family: "JetBrains Mono", monospace; }
  .tweak-row { display: flex; justify-content: space-between; align-items: center; margin: 8px 0; gap: 10px; }
  .tweak-row label { color: var(--ink-2); font-size: 12.5px; }
  .tweak-row input[type="range"] { width: 130px; }
  .tweak-row select, .tweak-row input[type="text"] {
    font: inherit; padding: 4px 6px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg);
    max-width: 140px;
  }
  .seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
  .seg button { font: inherit; padding: 4px 8px; background: transparent; border: 0; color: var(--ink-2); cursor: pointer; font-size: 12px; }
  .seg button.on { background: var(--ink); color: var(--bg); }

  /* ========== SECTIONS ========== */
  section.band { padding: 96px 32px; }
  section.band > .inner { max-width: 1240px; margin: 0 auto; }
  .kicker { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; }
  h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -0.028em; font-weight: 700; margin: 0 0 20px; text-wrap: balance; }
  h3 { font-size: 22px; letter-spacing: -0.015em; font-weight: 700; margin: 0 0 10px; }
  p.lede { font-size: 17px; color: var(--ink-2); line-height: 1.55; max-width: 620px; margin: 0 0 36px; }

  .integrations { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .integrations .head { text-align: center; margin-bottom: 40px; }
  .logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 90%; margin: 0 auto; }
  .logo-grid > * { min-width: 0; }
  @media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 600px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
  .logo-tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 3 / 1.4; display: grid; place-items: center; color: var(--ink-2); font-weight: 600; font-size: 15px; min-width: 0; overflow: hidden; padding: 12px; }
  .logo-tile.dark { background: oklch(0.2 0.015 250); color: oklch(0.94 0.01 250); border-color: oklch(0.2 0.015 250); }
  html[data-theme="dark"] .logo-tile.invert-dark img.brand { filter: invert(1); }
  .logo-tile .mk { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--ink-3); margin-right: 8px; vertical-align: -2px; }
  .logo-tile img.brand { display: block; max-width: 78%; max-height: 70%; width: auto; height: auto; object-fit: contain; }
  .logo-tile.sm img.brand { max-width: 62%; max-height: 56%; }

  /* Partner CTA tile — final cell in the grid, invites new partners to connect */
  a.logo-tile.partner-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--accent-soft), oklch(0.96 0.03 155));
    border: 1px solid var(--accent);
    color: var(--accent-ink);
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  a.logo-tile.partner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -14px oklch(0.4 0.15 155 / 0.45);
    border-color: oklch(0.55 0.14 155);
  }
  a.logo-tile.partner-cta .pc-eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-ink);
    opacity: 0.75;
  }
  a.logo-tile.partner-cta .pc-title {
    font-family: "Inter Tight", system-ui, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.15;
    margin-top: 6px;
    color: var(--accent-ink);
    letter-spacing: -0.01em;
  }
  a.logo-tile.partner-cta .pc-arrow {
    position: absolute;
    right: 16px;
    bottom: 14px;
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-ink);
    transition: transform .2s ease;
  }
  a.logo-tile.partner-cta:hover .pc-arrow {
    transform: translateX(4px);
  }
  html[data-theme="dark"] a.logo-tile.partner-cta {
    background: linear-gradient(135deg, oklch(0.28 0.05 155), oklch(0.25 0.04 155));
    border-color: oklch(0.55 0.1 155);
    color: oklch(0.94 0.1 155);
  }
  html[data-theme="dark"] a.logo-tile.partner-cta .pc-eyebrow,
  html[data-theme="dark"] a.logo-tile.partner-cta .pc-title,
  html[data-theme="dark"] a.logo-tile.partner-cta .pc-arrow { color: oklch(0.94 0.1 155); }
  .integrations .meta { text-align: center; color: var(--ink-3); font-family: "JetBrains Mono", monospace; font-size: 12px; margin: 28px 0 0; }
  .integrations .cta-wrap { display: flex; justify-content: center; margin-top: 28px; }

  .feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0; }
  .feature-row.reverse > .f-visual { order: 2; }
  @media (max-width: 900px) {
    .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
    .feature-row > .f-copy, .feature-row.reverse > .f-copy { order: 0; }
    .feature-row > .f-visual, .feature-row.reverse > .f-visual { order: 1; }
  }
  .f-copy ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
  .f-copy li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 15px; }
  .f-copy li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 3px; border-radius: 5px; background: var(--accent); box-shadow: inset 0 0 0 3px var(--card); }
  .f-visual { background: var(--card); border: 1px solid var(--line); border-radius: 20px; aspect-ratio: 4 / 3; padding: 24px; box-shadow: 0 30px 60px -30px oklch(0.2 0.02 250 / 0.18); position: relative; overflow: hidden; }
  .f-visual .inner-card { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
  .f-visual .tag { align-self: flex-start; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.08em; padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
  .f-visual .stack { display: grid; gap: 8px; margin-top: auto; }
  .f-visual .bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
  .f-visual .bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 8px; }
  .f-visual .bar .num { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-3); }
  .f-visual.alt .big { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-3); display: flex; justify-content: space-between; }
  .f-visual.alt .sync { padding: 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
  .f-visual.alt .sync .node { text-align: center; }
  .f-visual.alt .sync .n { font-weight: 700; font-size: 14px; }
  .f-visual.alt .sync .m { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--ink-3); }
  .f-visual.alt .sync .arrow { width: 40px; height: 1px; background: var(--line-2); position: relative; }
  .f-visual.alt .sync .arrow::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); top: -3px; left: 0; animation: slidek 1.6s linear infinite; }
  @keyframes slidek { 0%{left:0; opacity:0} 15%{opacity:1} 85%{opacity:1} 100%{left:calc(100% - 6px); opacity:0} }

  /* systems logo grid variant */
  .f-visual.systems { aspect-ratio: auto; padding: 28px; }
  .f-visual.systems .inner-card { gap: 20px; }
  .f-visual.systems .sys-head,
  .f-visual.systems .sys-foot {
    display: flex; justify-content: space-between; align-items: center;
    font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.08em;
    color: var(--ink-3);
  }
  .f-visual.systems .sys-label { color: var(--ink-2); font-weight: 600; }
  .f-visual.systems .sys-count { color: var(--accent); font-weight: 600; }
  .f-visual.systems .sys-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
  }
  .f-visual.systems .sys-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
  }
  .f-visual.systems .sys-grid.four-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .f-visual.systems .sys-tile {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    min-height: 88px;
    display: grid; place-items: center;
    padding: 18px 20px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  .f-visual.systems .sys-tile:hover {
    border-color: var(--line-2);
    box-shadow: 0 8px 18px -12px oklch(0.2 0.02 250 / 0.2);
    transform: translateY(-1px);
  }
  .f-visual.systems .sys-tile img {
    max-width: 75%;
    max-height: 44px;
    object-fit: contain;
    display: block;
  }
  .f-visual.systems .sys-tile img[alt="Poly.ai"] {
    max-height: 44px;
    max-width: 80%;
  }
  .f-visual.systems .sys-tile.dark {
    background: oklch(0.22 0.01 250);
    border-color: oklch(0.28 0.01 250);
  }
  .f-visual.systems .sys-tile.dark:hover {
    border-color: oklch(0.35 0.01 250);
  }
  /* Poly.ai rendered wordmark */
  .f-visual.systems .polyai {
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
  }
  .f-visual.systems .poly-dot {
    width: 26px; height: 26px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, oklch(0.78 0.14 265), oklch(0.48 0.2 280) 70%);
    flex: none;
    box-shadow: 0 4px 10px -4px oklch(0.48 0.2 280 / 0.5);
  }
  .f-visual.systems .poly-name {
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 700; font-size: 26px; letter-spacing: -0.03em;
    color: var(--ink);
  }
  .f-visual.systems .poly-dim { color: var(--ink-3); font-weight: 500; }

  /* control panel variant — channel inventory rules */
  .f-visual.control { aspect-ratio: auto; padding: 26px 28px; }
  .f-visual.control .inner-card { gap: 16px; }
  .f-visual.control .ctl-head {
    display: flex; justify-content: space-between; align-items: center;
    font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.08em;
  }
  .f-visual.control .ctl-label { color: var(--ink-2); font-weight: 600; }
  .f-visual.control .ctl-hint { color: var(--ink-3); }
  .f-visual.control .ctl-legend {
    display: flex; gap: 16px;
    font-family: "JetBrains Mono", monospace; font-size: 10px;
    color: var(--ink-3); letter-spacing: 0.04em;
  }
  .f-visual.control .ctl-legend span { display: inline-flex; align-items: center; gap: 6px; }
  .f-visual.control .ctl-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
  .f-visual.control .ctl-rows { display: grid; gap: 10px; }
  .f-visual.control .ctl-row {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    display: grid; gap: 8px;
    transition: border-color .2s ease;
  }
  .f-visual.control .ctl-row:hover { border-color: var(--line-2); }
  .f-visual.control .ctl-row.muted { opacity: 0.55; }
  .f-visual.control .ctl-r-head {
    display: flex; justify-content: space-between; align-items: center;
  }
  .f-visual.control .ctl-name { font-weight: 600; font-size: 14px; color: var(--ink); }
  .f-visual.control .ctl-toggle {
    width: 30px; height: 16px; border-radius: 999px;
    background: oklch(0.88 0.01 250); position: relative; flex: none;
    transition: background .2s ease;
  }
  .f-visual.control .ctl-toggle i {
    position: absolute; top: 2px; left: 2px;
    width: 12px; height: 12px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px oklch(0.2 0.02 250 / 0.25);
    transition: left .2s ease;
  }
  .f-visual.control .ctl-toggle.on { background: var(--accent); }
  .f-visual.control .ctl-toggle.on i { left: 16px; }
  .f-visual.control .ctl-bar {
    width: 100%; height: 6px;
    background: oklch(0.92 0.005 250);
    border-radius: 999px; overflow: hidden;
  }
  .f-visual.control .ctl-bar > span {
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--accent), oklch(0.62 0.14 155));
    border-radius: 999px;
    transition: width .9s cubic-bezier(.4,.0,.2,1);
  }
  .f-visual.control .ctl-row {
    transition: opacity .4s ease, border-color .2s ease;
  }
  .f-visual.control .ctl-pct,
  .f-visual.control .ctl-win {
    transition: color .3s ease;
  }
  .f-visual.control .ctl-meta {
    display: flex; justify-content: space-between; align-items: center;
    font-family: "JetBrains Mono", monospace; font-size: 11px;
    color: var(--ink-3);
  }
  .f-visual.control .ctl-pct { color: var(--ink-2); }
  .f-visual.control .ctl-win {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 10px; letter-spacing: 0.04em;
  }

  /* orb variant — booking context layer (soft diffuse light field) */
  .f-visual.orb {
    background: var(--card);
    overflow: hidden;
  }
  .f-visual.orb .inner-card { gap: 16px; position: relative; z-index: 3; }
  .f-visual.orb .orb-head,
  .f-visual.orb .orb-foot {
    display: flex; justify-content: space-between; align-items: center;
    font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.08em;
    color: var(--ink-3);
  }
  .f-visual.orb .orb-head { color: var(--ink-2); font-weight: 600; }
  .f-visual.orb .orb-dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); margin-right: 8px; vertical-align: middle;
    box-shadow: 0 0 0 0 oklch(0.66 0.12 185 / 0.6);
    animation: dotPulse 2s ease-out infinite;
  }
  @keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 oklch(0.66 0.12 185 / 0.55); }
    80%,100% { box-shadow: 0 0 0 10px oklch(0.66 0.12 185 / 0); }
  }

  .f-visual.orb { aspect-ratio: auto; }

  .orb-stage {
    position: relative; flex: 1;
    min-height: 260px;
    isolation: isolate;
    overflow: hidden;
    border-radius: 14px;
  }

  /* soft diffuse blobs — no defined edges, just drifting light */
  .f-visual.orb .halo {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.85;
    mix-blend-mode: multiply;
    pointer-events: none;
    will-change: transform, opacity;
  }
  /* warm lime-teal mass bottom-center */
  .f-visual.orb .halo-1 {
    width: 380px; height: 260px;
    bottom: -40px; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, oklch(0.78 0.18 180), oklch(0.72 0.2 165) 40%, transparent 70%);
    animation: drift1 9s ease-in-out infinite;
  }
  /* cool violet drifting left */
  .f-visual.orb .halo-2 {
    width: 320px; height: 320px;
    top: 10%; left: -10%;
    background: radial-gradient(circle, oklch(0.7 0.22 290), oklch(0.6 0.2 270) 50%, transparent 75%);
    animation: drift2 11s ease-in-out infinite;
  }
  /* warm peach/pink drifting right */
  .f-visual.orb .halo-3 {
    width: 300px; height: 300px;
    top: 20%; right: -12%;
    background: radial-gradient(circle, oklch(0.78 0.16 35), oklch(0.68 0.22 25) 50%, transparent 75%);
    animation: drift3 13s ease-in-out infinite;
  }
  .f-visual.orb .orb-ring {
    position: absolute;
    width: 220px; height: 220px;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, oklch(0.8 0.18 220), oklch(0.7 0.22 260) 60%, transparent 80%);
    filter: blur(50px);
    opacity: 0.8;
    mix-blend-mode: multiply;
    animation: drift4 8s ease-in-out infinite;
  }
  .f-visual.orb .orb-core {
    position: absolute;
    width: 180px; height: 180px;
    top: 45%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, oklch(0.85 0.14 160), oklch(0.75 0.2 180) 55%, transparent 80%);
    filter: blur(42px);
    opacity: 0.9;
    mix-blend-mode: multiply;
    animation: corePulse 5s ease-in-out infinite;
  }
  .f-visual.orb .core-glow,
  .f-visual.orb .core-highlight { display: none; }

  @keyframes drift1 {
    0%,100% { transform: translateX(-50%) translateY(0) scale(1); }
    50%     { transform: translateX(-50%) translateY(-16px) scale(1.08); }
  }
  @keyframes drift2 {
    0%,100% { transform: translate(0, 0) scale(1); }
    33%     { transform: translate(30px, 20px) scale(1.1); }
    66%     { transform: translate(-10px, -10px) scale(0.95); }
  }
  @keyframes drift3 {
    0%,100% { transform: translate(0, 0) scale(1); }
    50%     { transform: translate(-40px, 30px) scale(1.12); }
  }
  @keyframes drift4 {
    0%,100% { transform: translate(-50%, -50%) scale(1); }
    50%     { transform: translate(-45%, -55%) scale(1.15); }
  }
  @keyframes corePulse {
    0%,100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.9; }
    50%     { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
  }

  /* floating context chips */
  .f-visual.orb .ctx-chip {
    position: absolute;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    background: oklch(1 0 0 / 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid oklch(0.85 0.02 240 / 0.6);
    border-radius: 999px;
    color: var(--ink-2);
    white-space: nowrap;
    box-shadow: 0 4px 12px -6px oklch(0.3 0.08 240 / 0.2);
    opacity: 0;
    animation: chipFloat 8s ease-in-out infinite;
    z-index: 2;
  }
  .f-visual.orb .c1 { top: 14%; left: 8%;  animation-delay: 0s; }
  .f-visual.orb .c2 { top: 8%;  right: 12%; animation-delay: 1.3s; }
  .f-visual.orb .c3 { top: 45%; left: 4%;  animation-delay: 2.7s; }
  .f-visual.orb .c4 { top: 48%; right: 6%;  animation-delay: 4s; }
  .f-visual.orb .c5 { bottom: 12%; left: 12%; animation-delay: 5.3s; }
  .f-visual.orb .c6 { bottom: 8%;  right: 14%; animation-delay: 6.6s; }
  @keyframes chipFloat {
    0%    { opacity: 0; transform: translateY(6px) scale(0.95); }
    12%   { opacity: 1; transform: translateY(0) scale(1); }
    78%   { opacity: 1; transform: translateY(-2px) scale(1); }
    90%,100% { opacity: 0; transform: translateY(-8px) scale(0.95); }
  }
  @media (prefers-reduced-motion: reduce) {
    .f-visual.orb .halo, .f-visual.orb .orb-ring, .f-visual.orb .orb-core,
    .f-visual.orb .ctx-chip, .f-visual.orb .orb-dot {
      animation: none;
    }
    .f-visual.orb .ctx-chip { opacity: 1; }
  }

  .testimonials { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .testimonials .t-header { text-align: center; margin-bottom: 56px; }
  .testimonials .t-header .kicker { margin-bottom: 14px; }
  .testimonials .t-header h2 { max-width: 780px; margin: 0 auto; }

  .proof-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    max-width: 880px;
    margin: 0 auto 56px;
    padding: 28px 8px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .proof-bar .proof-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; text-align: center;
    padding: 0 24px;
    border-right: 1px solid var(--line);
  }
  .proof-bar .proof-item:last-child { border-right: 0; }
  .proof-num {
    display: flex; align-items: baseline; gap: 8px;
    color: var(--ink); line-height: 1;
    font-family: "Inter Tight", system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .proof-num .num { font-size: 32px; font-weight: 600; }
  .proof-num .num i {
    font-style: normal; font-size: 0.7em;
    color: var(--accent-ink); margin-left: 1px; font-weight: 500;
  }
  .proof-num .unit {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-3); font-weight: 400; white-space: nowrap;
  }
  .proof-desc {
    margin: 0; font-size: 13.5px; line-height: 1.4;
    color: var(--ink-2);
  }

  .proof-logos { text-align: center; }
  .proof-logos-label {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-3); margin-bottom: 28px;
  }
  .proof-logos ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; align-items: center; justify-content: center;
    gap: 56px; flex-wrap: wrap;
  }
  .proof-logos li {
    display: flex; align-items: center; justify-content: center;
    height: 44px;
  }
  .proof-logos img {
    max-height: 36px; width: auto; height: auto; display: block;
    opacity: 0.75; filter: grayscale(1);
    transition: opacity .2s ease, filter .2s ease;
  }
  .proof-logos li:hover img { opacity: 1; filter: grayscale(0); }
  .proof-logos li.dark {
    background: #000; border-radius: 10px;
    padding: 10px 20px; height: 48px;
  }
  .proof-logos li.dark img {
    filter: brightness(0) invert(1);
    max-height: 24px; opacity: 0.95;
  }
  .proof-logos img[alt="Brunch Fabulous"] { max-height: 52px; }
  .proof-logos img[alt="Stonegate Group"] { max-height: 28px; }

  @media (max-width: 720px) {
    .testimonials .t-header { margin-bottom: 40px; }
    .proof-bar {
      grid-template-columns: 1fr;
      gap: 0;
      padding: 20px 0;
      max-width: 360px;
    }
    .proof-bar .proof-item {
      padding: 18px 0;
      border-right: 0;
      border-bottom: 1px solid var(--line);
    }
    .proof-bar .proof-item:last-child { border-bottom: 0; }
    .proof-num .num { font-size: 26px; }
    .proof-logos ul { gap: 32px; }
    .proof-logos img { max-height: 30px; }
    .proof-logos img[alt="Brunch Fabulous"] { max-height: 44px; }
    .proof-logos img[alt="Stonegate Group"] { max-height: 24px; }
    .proof-logos li.dark { padding: 8px 14px; height: 42px; }
    .proof-logos li.dark img { max-height: 22px; }
  }

  .p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
  .p-grid[hidden] { display: none; }
  .p-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
  @media (max-width: 900px) { .p-grid { grid-template-columns: 1fr; } }
  .p-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
  .p-card.featured { border-color: var(--accent); box-shadow: 0 0 0 4px oklch(0.66 0.12 185 / 0.1), 0 30px 50px -30px oklch(0.2 0.02 250 / 0.2); position: relative; }
  .p-card.featured::after { content: "MOST POPULAR"; position: absolute; top: -12px; right: 20px; font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em; background: var(--accent); color: oklch(0.15 0.02 155); padding: 4px 8px; border-radius: 999px; }
  .p-name { font-weight: 700; font-size: 18px; }
  .p-price { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
  .p-price small { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
  .p-desc { color: var(--ink-2); font-size: 14px; line-height: 1.5; min-height: 44px; }
  .p-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .p-list li { display: flex; gap: 10px; color: var(--ink-2); font-size: 14px; align-items: flex-start; }
  .p-list li::before { content: ""; width: 14px; height: 14px; margin-top: 3px; border-radius: 4px; background: var(--accent-soft); border: 1px solid oklch(0.82 0.1 155); flex: none; }
  .p-card .btn { justify-content: center; margin-top: auto; }

  /* Pricing audience switch */
  .pricing-switch {
    display: flex;
    width: max-content;
    margin: 0 auto 32px;
    padding: 4px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 1px 0 oklch(1 0 0 / 0.6) inset, 0 10px 24px -18px oklch(0.2 0.02 250 / 0.25);
    position: relative;
    z-index: 1;
  }
  .pricing-switch button {
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.005em;
    padding: 10px 20px;
    border: 0;
    background: transparent;
    color: var(--ink-2);
    border-radius: 999px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
    white-space: nowrap;
  }
  .pricing-switch button:hover { color: var(--ink); }
  .pricing-switch button.on {
    background: var(--ink);
    color: var(--bg);
    box-shadow: 0 8px 18px -10px oklch(0.2 0.02 250 / 0.35);
  }

  .p-foot {
    margin: 28px 0 0;
    text-align: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--ink-3);
  }

  .faq { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
  details.q { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
  details.q[open] { border-color: var(--line-2); }
  details.q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 16px; }
  details.q summary::-webkit-details-marker { display: none; }
  details.q summary::after { content: "+"; color: var(--ink-3); font-size: 20px; font-weight: 400; }
  details.q[open] summary::after { content: "–"; }
  details.q .a { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

  .cta-band { background: oklch(0.18 0.015 250); color: oklch(0.96 0.005 250); padding: 96px 32px; position: relative; overflow: hidden; }
  .cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 300px at 80% 120%, oklch(0.66 0.12 185 / 0.25), transparent 60%), radial-gradient(600px 300px at 20% -20%, oklch(0.66 0.12 185 / 0.15), transparent 60%); }
  .cta-band .inner { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; text-align: center; }
  .cta-band h2 { color: inherit; font-size: clamp(36px, 4.4vw, 60px); }
  .cta-band p { color: oklch(0.78 0.01 250); font-size: 18px; max-width: 620px; margin: 0 auto 30px; line-height: 1.5; }
  .cta-band .ctas { justify-content: center; }
  .btn.on-dark { background: var(--accent); color: oklch(0.15 0.02 155); }
  .btn.on-dark.ghost { background: transparent; color: oklch(0.96 0.005 250); border-color: oklch(0.5 0.015 250); }

  footer.site { background: oklch(0.14 0.015 250); color: oklch(0.78 0.01 250); padding: 72px 32px 32px; font-size: 14px; }
  footer.site .inner { max-width: 1240px; margin: 0 auto; }
  .foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
  @media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
  .foot-brand .mark { display: flex; align-items: center; gap: 10px; color: oklch(0.96 0.005 250); font-weight: 700; font-size: 18px; margin-bottom: 12px; }
  .foot-brand p { line-height: 1.5; max-width: 280px; }
  .foot-col h5 { margin: 0 0 14px; color: oklch(0.96 0.005 250); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; font-family: "JetBrains Mono", monospace; }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .foot-col a { color: inherit; text-decoration: none; }
  .foot-col a:hover { color: oklch(0.96 0.005 250); }
  .foot-bar { margin-top: 56px; padding-top: 20px; border-top: 1px solid oklch(0.24 0.015 250); display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: oklch(0.65 0.01 250); }
  .foot-bar .social { display: flex; gap: 18px; }
  .foot-bar a { color: inherit; text-decoration: none; }

  /* ==========================================================
     MOBILE / TABLET RESPONSIVE PASS
     ========================================================== */

  /* --- Tablet ~ below 1100px --- */
  @media (max-width: 1100px) {
    .hero { padding: 32px 24px 40px; gap: 40px; }
    .tms-strip { padding: 8px 24px 56px; }
    .tms-strip .row { grid-template-columns: repeat(4, minmax(0, 180px)); gap: 40px 32px; }
    .tms-strip .row--secondary { grid-template-columns: repeat(3, minmax(0, 180px)); gap: 40px 32px; margin-top: 36px; }
    .tms-strip img { max-height: 36px; }
    section.band { padding: 72px 24px; }
    .nav { padding: 22px 24px; }
    .sticky-inner { padding: 12px 24px; }
  }

  /* --- Tablet + phone share the stacked flow diagram --- */
  @media (max-width: 900px) {
    .stage { display: none; }
    .stage-mobile { display: flex; max-width: 560px; margin: 0 auto; width: 100%; }
  }

  /* --- Mobile ~ below 720px --- */
  @media (max-width: 720px) {
    /* Typography */
    h1 { font-size: clamp(36px, 9vw, 48px); letter-spacing: -0.03em; margin: 14px 0 16px; }
    .sub { font-size: 16px; margin: 0 0 22px; }
    section.band { padding: 56px 20px; }
    .band h2, .cta-band h2 { font-size: clamp(28px, 7vw, 40px) !important; }
    .kicker { font-size: 11px; margin: 0 0 14px; }

    /* Nav — drop links, tighten CTA */
    .nav { padding: 18px 20px; }
    .nav-links { display: none; }
    .nav-cta { padding: 9px 12px; font-size: 13px; white-space: nowrap; }
    .brand { font-size: 19px; }
    .brand-mark { width: 28px; height: 28px; }
    .brand-mark::after { inset: 6px; }
    .sticky-inner { padding: 10px 20px; }
    .sticky-nav .nav-links { display: none; }

    /* Hero CTAs */
    .hero { padding: 20px 20px 28px; gap: 28px; }
    .ctas { gap: 10px; width: 100%; }
    .ctas .btn { flex: 1 1 auto; justify-content: center; padding: 13px 18px; font-size: 14.5px; }
    .ctas .btn .kbd { display: none; }

    /* === Flow diagram: hide desktop stage, show mobile version === */
    /* (handled at <900px above) */

    /* TMS strip */
    .tms-strip { padding: 0 20px 48px; }
    .tms-strip .row { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; align-items: center; justify-items: center; }
    .tms-strip .row--secondary { grid-template-columns: repeat(3, 1fr); gap: 22px 14px; margin-top: 20px; }
    .tms-strip img {
      max-height: 30px;
      max-width: 100%;
      object-fit: contain;
    }
    .tms-strip .row--secondary img { max-height: 22px; }
    .tms-strip .logo-chip--dark img { max-height: 20px; }
    html[data-theme="dark"] .tms-strip .logo-chip--dark img { max-height: 20px; }
    .tms-strip .row--secondary > img[alt="Roller"] { max-height: 20px; }
    /* Orphaned 5th logo — span both columns, center it */
    .tms-strip .row > img:nth-child(5):last-child {
      grid-column: 1 / -1;
      justify-self: center;
    }
    .tms-strip .cta-note { font-size: 11px; line-height: 1.6; }

    /* Integrations logo grid tighter */
    .logo-grid { gap: 10px; }
    .logo-tile { font-size: 13px; }

    /* Feature rows spacing */
    .feature-row { padding: 44px 0; gap: 24px !important; }

    /* Pricing cards */
    .p-card { padding: 22px; }
    .pricing-switch { padding: 3px; }
    .pricing-switch button { padding: 9px 14px; font-size: 13px; }
    .p-grid.two { grid-template-columns: 1fr; }

    /* Footer */
    .foot-grid { gap: 28px; }
    .foot-bar { flex-direction: column; gap: 14px; align-items: flex-start; text-align: left; }

    /* CTA band */
    .cta-band .ctas { flex-direction: column; align-items: stretch; }
    .cta-band .ctas .btn { justify-content: center; }

    /* Orb context card — tighten chips on narrow widths */
    .f-visual.orb { padding: 18px; }
    .orb-stage { min-height: 300px; }
    .ctx-chip { font-size: 9px; padding: 4px 8px; }
    .c1 { top: 10%; left: 4%; }
    .c2 { top: 6%;  right: 4%; }
    .c3 { top: 44%; left: 2%; }
    .c4 { top: 48%; right: 2%; }
    .c5 { bottom: 10%; left: 6%; }
    .c6 { bottom: 6%;  right: 6%; }
  }

  /* --- Small phones ~ below 420px --- */
  @media (max-width: 420px) {
    h1 { font-size: clamp(32px, 10vw, 40px); }
    section.band { padding: 48px 18px; }
    .hero { padding: 16px 18px 24px; }
    .nav { padding: 16px 18px; }
    .tms-strip { padding: 0 18px 40px; }
    .tms-strip .row { gap: 20px 16px; }
  }

  /* ==========================================================
     MOBILE FLOW DIAGRAM (hidden on desktop, shown <720px)
     ========================================================== */
  .stage-mobile {
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow:
      inset 0 1px 0 oklch(1 0 0 / 0.6),
      0 30px 50px -30px oklch(0.2 0.02 250 / 0.25),
      0 12px 22px -12px oklch(0.2 0.02 250 / 0.12);
    position: relative;
    overflow: hidden;
  }
  .stage-mobile::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
      linear-gradient(oklch(0.85 0.005 250 / 0.28) 1px, transparent 1px),
      linear-gradient(90deg, oklch(0.85 0.005 250 / 0.28) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse at center, black 0%, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, black 40%, transparent 85%);
    pointer-events: none;
    opacity: 0.5;
  }
  .stage-mobile > * { position: relative; z-index: 1; }
  .sm-head {
    display: flex; justify-content: space-between; align-items: center;
    font-family: "JetBrains Mono", monospace; font-size: 10.5px;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-3);
  }
  .sm-head .live {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--accent-ink);
    letter-spacing: 0.08em;
  }
  .sm-head .live .pulse {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 0 0 oklch(0.66 0.12 185 / 0.6);
    animation: pulse 2s infinite;
  }
  .sm-section-label {
    font-family: "JetBrains Mono", monospace; font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 2px;
  }
  .sm-channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }
  .sm-channel {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px 8px 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px; color: var(--ink);
    box-shadow: 0 4px 10px -6px oklch(0.2 0.02 250 / 0.15);
    white-space: nowrap;
    min-width: 0;
  }
  .sm-channel .icn {
    width: 22px; height: 22px; border-radius: 999px;
    background: var(--bg-2); border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--ink-2);
    flex: none;
  }
  .sm-channel .icn svg { width: 11px; height: 11px; }
  .sm-channel .name {
    font-weight: 600; letter-spacing: -0.005em;
    overflow: hidden; text-overflow: ellipsis;
  }
  .sm-channel .count {
    font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--ink-3);
    margin-left: auto; padding-left: 2px;
  }
  .sm-connector {
    display: flex; justify-content: center;
    position: relative;
    height: 26px;
  }
  .sm-connector::before {
    content: ""; position: absolute; top: 0; bottom: 0;
    left: 50%; width: 1.5px;
    background: repeating-linear-gradient(to bottom, var(--line-2) 0 4px, transparent 4px 8px);
    transform: translateX(-50%);
  }
  .sm-connector::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px oklch(0.66 0.12 185 / 0.18);
    animation: sm-flow 2.6s ease-in-out infinite;
  }
  @keyframes sm-flow {
    0%   { top: 0%;   opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
  .sm-core {
    display: flex; align-items: center; gap: 12px;
    align-self: center;
    padding: 12px 18px 12px 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow:
      inset 0 1px 0 oklch(1 0 0 / 0.6),
      0 20px 30px -18px oklch(0.2 0.02 250 / 0.3);
  }
  .sm-core-mark {
    width: 36px; height: 36px; border-radius: 9px;
    background: var(--accent); position: relative; flex: none;
    box-shadow: 0 8px 18px -6px oklch(0.66 0.12 185 / 0.5);
  }
  .sm-core-mark::after {
    content: ""; position: absolute; inset: 9px;
    border-radius: 4px; background: var(--card);
  }
  .sm-core-name { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
  .sm-core-sub {
    font-family: "JetBrains Mono", monospace; font-size: 10.5px;
    color: var(--ink-3); letter-spacing: 0.04em;
    margin-top: 2px;
  }
  .sm-target {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
  }
  .sm-target-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
  }
  .sm-target-title { font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
  .sm-target-tag {
    font-family: "JetBrains Mono", monospace; font-size: 9.5px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent-ink); background: var(--accent-soft);
    padding: 4px 8px; border-radius: 999px;
  }
  .sm-slots {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
  }
  .sm-slot {
    aspect-ratio: 1;
    border-radius: 3px;
    background: var(--accent);
  }
  .sm-slot.dim { background: oklch(0.88 0.05 155); }
  .sm-slot.warm { background: oklch(0.78 0.1 155); }
  .sm-target-row {
    display: flex; justify-content: space-between;
    margin-top: 12px;
    font-family: "JetBrains Mono", monospace; font-size: 10.5px;
    color: var(--ink-3); letter-spacing: 0.06em;
  }
  .sm-target-row b { color: var(--ink); font-weight: 600; }
