/*!
 * Autofy.live Theme — Unified Design System CSS
 * Source: agents/agent_0/_research/homepage_autofy/open-design/v03/
 * Built: Agent #11 Session 14 (2026-05-25)
 *
 * Architecture: design-token based, dark-mode default, [data-theme="light"] override.
 * Replaces: Tailwind CDN, Material Symbols, Vanta.js, three.js, anime.js.
 *
 * Sections:
 *   1. Tokens (light + dark)
 *   2. Reset & Globals
 *   3. Shared Components (nav, buttons, glass, typography, layout, footer)
 *   4. Front-page (index.html) blocks
 *   5. Features-page blocks
 *   6. Pricing-page blocks
 *   7. About-page blocks
 *   8. Blog-index blocks
 *   9. Blog-post blocks (3-column TOC + article + related)
 *  10. Legal-page blocks (privacy/terms/refund — shared 2-column TOC layout)
 *  11. Language switcher (custom, added by Agent #11)
 *  12. Responsive
 */

/* ============================================================
 * SECTIONS 1-4: TOKENS / RESET / SHARED / FRONT-PAGE
 * Sourced from v03/index.html <style> block (verbatim)
 * ============================================================ */

    /* ─── Tokens ─────────────────────────────────────────────── */
    :root {
      --bg:          #0a0e1a;
      --surface:     rgba(15, 21, 36, 0.6);
      --surface-2:   rgba(15, 21, 36, 0.85);
      --fg:          #e8eaf0;
      --muted:       #6b7280;
      --border:      rgba(255,255,255,0.08);
      --border-md:   rgba(255,255,255,0.12);
      --accent:      #7dd3fc;
      --accent-glow: rgba(125,211,252,0.18);
      --accent-2:    #c8a0f0;
      --accent-2g:   rgba(200,160,240,0.14);
      --green:       #34d399;
      --bronze:      #cd7f32;
      --silver:      #a8b5c8;
      --gold:        #d4af37;
      --platinum:    #9ec4e8;
      --diamond:     #a8d8ea;

      --blur:        16px;
      --radius:      16px;
      --radius-lg:   24px;

      --font: 'Inter', system-ui, sans-serif;

      --nav-bg:      rgba(10,14,26,0.72);
      --nav-bg-scrolled: rgba(10,14,26,0.94);
    }

    [data-theme="light"] {
      --bg:          #eef2f7;
      --surface:     rgba(255,255,255,0.72);
      --surface-2:   rgba(255,255,255,0.92);
      --fg:          #0f172a;
      --muted:       #64748b;
      --border:      rgba(0,0,0,0.09);
      --border-md:   rgba(0,0,0,0.14);
      --accent:      #0284c7;
      --accent-glow: rgba(2,132,199,0.18);
      --accent-2:    #7c3aed;
      --accent-2g:   rgba(124,58,237,0.1);

      --nav-bg:      rgba(238,242,247,0.82);
      --nav-bg-scrolled: rgba(238,242,247,0.97);
    }
    [data-theme="light"] body::before {
      background:
        radial-gradient(ellipse 80% 60% at 20% -10%, rgba(2,132,199,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 15%, rgba(124,58,237,0.05) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 80%, rgba(2,132,199,0.04) 0%, transparent 60%);
    }
    [data-theme="light"] nav { background: var(--nav-bg); }
    [data-theme="light"] .mobile-menu { background: rgba(238,242,247,0.98); }
    [data-theme="light"] .mobile-menu a { color: var(--fg); }
    [data-theme="light"] .btn-ghost:hover {
      background: rgba(0,0,0,0.05);
      border-color: rgba(0,0,0,0.2);
    }
    [data-theme="light"] .text-gradient {
      background: linear-gradient(135deg, #0f172a 0%, #0284c7 50%, #7c3aed 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    [data-theme="light"] .btn-primary { background: #a4dffd; color: #0a0e1a; }
    [data-theme="light"] .btn-primary:hover {
      background: #c2eafe;
      box-shadow: 0 0 24px rgba(164,223,253,0.35), 0 0 48px rgba(164,223,253,0.2);
    }
    [data-theme="light"] .deep-section {
      background: linear-gradient(135deg, #1a2540 0%, #0f172a 100%);
      border-top-color: rgba(255,255,255,0.08);
      border-bottom-color: rgba(255,255,255,0.08);
    }
    [data-theme="light"] .deep-section .eyebrow { color: var(--accent); }
    [data-theme="light"] .deep-section h2,
    [data-theme="light"] .deep-section h3,
    [data-theme="light"] .deep-section .pq-text { color: #e8eaf0; }
    [data-theme="light"] .deep-section p,
    [data-theme="light"] .deep-section .pq-attrib { color: #94a3b8; }

    /* ─── Reset ──────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: auto; }
    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--fg);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }
    img { display: block; max-width: 100%; }

    /* ─── Hero pain kicker ──────────────────────────────────── */
    .hero-pain {
      font-size: 0.92rem;
      color: var(--muted);
      line-height: 1.65;
      margin-bottom: 32px;
      padding: 12px 18px;
      border-left: 2px solid rgba(125,211,252,0.35);
      background: rgba(125,211,252,0.04);
      border-radius: 0 8px 8px 0;
    }

    /* ─── Hero benefit chips ─────────────────────────────────── */
    .hero-benefits {
      display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;
    }
    .hero-benefit-chip {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 12px; font-weight: 500; color: var(--muted);
      padding: 4px 10px; border-radius: 999px;
      background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    }
    .hero-benefit-chip svg { color: var(--green); opacity: 0.85; flex-shrink: 0; }

    /* ─── Trust strip ────────────────────────────────────────── */
    .trust-strip { padding: 20px 0 52px; }
    .trust-grid {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    }
    .trust-item {
      text-align: center; padding: 28px 20px 24px;
      position: relative; overflow: hidden;
      transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    }
    /* Top accent line */
    .trust-item::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--ti-accent, var(--accent)) 50%, transparent);
      opacity: 0.7;
      transition: opacity 0.28s ease;
    }
    .trust-item:hover {
      transform: translateY(-4px);
      border-color: color-mix(in oklch, var(--ti-accent, var(--accent)) 45%, transparent);
      /* Colored contour glow traces the card edge in its accent color */
      box-shadow:
        0 0 0 1px color-mix(in oklch, var(--ti-accent, var(--accent)) 35%, transparent),
        0 0 18px 2px color-mix(in oklch, var(--ti-accent, var(--accent)) 18%, transparent),
        0 8px 28px rgba(0,0,0,0.35);
    }
    .trust-item:hover::before { opacity: 1; }
    .trust-icon {
      width: 40px; height: 40px; border-radius: 12px;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 14px;
      color: var(--ti-accent, var(--accent));
    }
    .trust-val {
      font-size: 2rem; font-weight: 800; letter-spacing: -0.04em;
      color: var(--fg); font-variant-numeric: tabular-nums;
      margin-bottom: 6px; line-height: 1;
    }
    .trust-lbl {
      font-size: 12px; color: var(--muted); font-weight: 500;
      letter-spacing: 0.01em; line-height: 1.4;
    }
    @media (max-width: 640px) {
      .trust-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* ─── CTA after label ────────────────────────────────────── */
    .cta-after-label {
      font-size: 1rem; color: rgba(232,234,240,0.6);
      max-width: 520px; margin: 0 auto 28px; line-height: 1.7;
      font-style: italic;
    }

    /* ─── Background mesh ────────────────────────────────────── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 20% -10%, rgba(125,211,252,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 15%, rgba(200,160,240,0.06) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 80%, rgba(125,211,252,0.04) 0%, transparent 60%);
      pointer-events: none;
      z-index: 0;
    }
    body > * { position: relative; z-index: 1; }

    /* ─── Glass ──────────────────────────────────────────────── */
    .glass {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      border-radius: var(--radius);
    }
    .glass-dark {
      background: var(--surface-2);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--border);
      border-radius: var(--radius);
    }

    /* ─── Typography ─────────────────────────────────────────── */
    .label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .eyebrow {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
    }
    h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
    h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
    h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.3; }
    p { line-height: 1.65; }

    .text-gradient {
      background: linear-gradient(135deg, #e8eaf0 0%, #7dd3fc 50%, #c8a0f0 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .text-accent { color: var(--accent); }
    .text-muted { color: var(--muted); }

    /* ─── Buttons ────────────────────────────────────────────── */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      border: none;
      transition: all 0.2s ease;
      white-space: nowrap;
      font-family: var(--font);
    }
    .btn-primary { background: var(--accent); color: #0a0e1a; }
    .btn-primary:hover {
      background: #a5e0fd;
      box-shadow: 0 0 24px var(--accent-glow), 0 0 48px var(--accent-glow);
      transform: translateY(-1px);
    }
    .btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--border-md); }
    .btn-ghost:hover {
      background: rgba(255,255,255,0.06);
      border-color: rgba(255,255,255,0.18);
    }
    .btn-lg { padding: 15px 32px; font-size: 15px; border-radius: 12px; }
    .btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
    .btn-soft {
      background: rgba(125,211,252,0.08);
      color: var(--accent);
      border: 1px solid rgba(125,211,252,0.22);
    }
    .btn-soft:hover {
      background: rgba(125,211,252,0.16);
      border-color: rgba(125,211,252,0.45);
    }

    /* ─── Layout ─────────────────────────────────────────────── */
    .section { padding: 100px 0; }
    .section-tight { padding: 70px 0; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .section-header { text-align: center; margin-bottom: 56px; }
    .section-header .eyebrow { margin-bottom: 16px; }
    .section-header h2 { margin-bottom: 18px; }
    .section-header p { font-size: 1.05rem; color: var(--muted); max-width: 600px; margin: 0 auto; }

    /* ─── NAV ────────────────────────────────────────────────── */
    nav {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 0 24px;
      background: rgba(10,14,26,0.72);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      height: 64px;
      display: flex; align-items: center;
    }
    .nav-inner { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; align-items: center; gap: 32px; }
    .nav-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.04em; color: var(--fg); flex-shrink: 0; }
    .nav-logo span { color: var(--accent); }
    .nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
    .nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.15s; }
    .nav-links a:hover { color: var(--fg); }
    .nav-cta { margin-left: 16px; }
    .nav-hamburger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; color: var(--fg); padding: 8px; }

    .toggle-sr { position: absolute; overflow: hidden; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; top: 0; left: 0; color: transparent; }
    .theme-toggle {
      --dur: 0.3s;
      position: relative; background: currentColor; border-radius: 12px; cursor: pointer;
      width: 44px; height: 24px; -webkit-appearance: none; appearance: none;
      color: var(--muted); flex-shrink: 0; -webkit-tap-highlight-color: transparent;
      border: none; overflow: hidden;
    }
    .theme-toggle:focus { outline: transparent; }
    .theme-toggle::before, .theme-toggle::after {
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      position: absolute; top: 4px; left: 4px; width: 16px; height: 16px;
      background: hsl(0,0%,90%); font-size: 10px; line-height: 1; transition: transform var(--dur);
    }
    .theme-toggle::before { content: "☽"; }
    .theme-toggle::after  { content: "☀"; }
    .theme-toggle::before { transform: translateX(-20px); transition-timing-function: ease-out; transition-delay: 0s; }
    .theme-toggle:checked::before { transform: translateX(20px); transition-delay: calc(var(--dur) * 0.75); transition-timing-function: cubic-bezier(0.3,1.6,0.5,0.7); }
    .theme-toggle::after { transform: translateX(0); transition-delay: calc(var(--dur) * 0.75); transition-timing-function: cubic-bezier(0.3,1.6,0.5,0.7); }
    .theme-toggle:checked::after { transform: translateX(44px); transition-delay: 0s; transition-timing-function: ease-out; }

    /* ─── HERO ───────────────────────────────────────────────── */
    .hero { padding-top: 132px; padding-bottom: 72px; }
    .hero-inner {
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      gap: 72px;
      align-items: center;
    }
    .powered-by {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 14px; border-radius: 999px;
      background: rgba(125,211,252,0.08);
      border: 1px solid rgba(125,211,252,0.2);
      font-size: 12px; font-weight: 500; color: var(--accent);
      margin-bottom: 22px; text-decoration: none; transition: all 0.2s;
    }
    .powered-by:hover { background: rgba(125,211,252,0.14); border-color: rgba(125,211,252,0.35); }
    .powered-by-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent);
      animation: pulse 2.5s ease-in-out infinite;
    }
    @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.75); } }
    .hero-content h1 { margin-bottom: 20px; }
    .hero-content p.lead {
      font-size: 1.08rem; color: var(--muted);
      max-width: 500px; margin-bottom: 28px;
    }
    .hero-routes {
      display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
    }
    .hero-route {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 5px 11px; border-radius: 999px;
      font-size: 12px; font-weight: 500; color: var(--muted);
      background: rgba(255,255,255,0.04); border: 1px solid var(--border);
      transition: all 0.15s;
    }
    .hero-route:hover { color: var(--fg); border-color: var(--border-md); background: rgba(255,255,255,0.06); }
    .hero-route svg { opacity: 0.7; }
    .hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

    /* ─── Hero Bento ─────────────────────────────────────────── */
    .hero-visual { position: relative; }
    .bento-hero {
      display: grid; grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto; gap: 12px;
    }
    .bento-panel {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 16px;
      overflow: hidden; position: relative;
    }
    .bento-panel::after {
      content: ''; position: absolute; inset: 0; border-radius: inherit;
      background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
      pointer-events: none;
    }
    .bento-panel-title {
      font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
    }
    .dash-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
    .dash-metric {
      background: rgba(255,255,255,0.03); border-radius: 8px;
      padding: 8px 10px; border: 1px solid var(--border);
    }
    .dash-metric-val { font-size: 15px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
    .dash-metric-lbl { font-size: 9px; color: var(--muted); margin-top: 2px; }
    .dash-chart { height: 36px; display: flex; align-items: flex-end; gap: 3px; }
    .dash-bar { flex: 1; border-radius: 2px 2px 0 0; background: rgba(125,211,252,0.25); }
    .dash-bar.hi { background: rgba(125,211,252,0.7); }

    .chat-messages { display: flex; flex-direction: column; gap: 7px; }
    .chat-msg { padding: 7px 10px; border-radius: 8px; font-size: 11px; line-height: 1.4; max-width: 88%; }
    .chat-msg.ai { background: rgba(125,211,252,0.1); border: 1px solid rgba(125,211,252,0.15); color: var(--fg); border-bottom-left-radius: 2px; }
    .chat-msg.user { background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--muted); align-self: flex-end; border-bottom-right-radius: 2px; }
    /* S19 hotfix A1: scoped to body.page-home — these are the homepage hero-bento
       chat-input-bar styles. The features-drawer chat demo (autofy.css §5 ~line 2705)
       declares its OWN .chat-input-bar with no border + padding 9px 12px; without
       this scope, the homepage's `border: 1px solid var(--border); border-radius: 6px;`
       cascaded onto the features-drawer instance, producing a faint thin-line border
       box visible on mobile. Sibling bug to WP-DEV-16 (S17) + S18 layer-card leak —
       another instance of unprefixed selector cross-page cascade leak. */
    body.page-home .chat-input-bar {
      margin-top: 8px; background: rgba(255,255,255,0.04);
      border: 1px solid var(--border); border-radius: 6px;
      height: 22px; display: flex; align-items: center; padding: 0 8px;
    }
    body.page-home .chat-input-bar span { font-size: 9px; color: var(--muted); }
    .chat-cursor { display: inline-block; width: 1px; height: 10px; background: var(--accent); margin-left: 2px; animation: blink 1.2s step-end infinite; }
    @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

    .product-list { display: flex; flex-direction: column; gap: 5px; }
    .product-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--border); }
    .product-row:last-child { border-bottom: none; }
    .product-thumb { width: 26px; height: 26px; border-radius: 6px; background: rgba(125,211,252,0.12); flex-shrink: 0; display: grid; place-items: center; font-size: 12px; }
    .product-info { flex: 1; min-width: 0; }
    .product-name { font-size: 10px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .product-channels { font-size: 9px; color: var(--muted); }
    .product-status { font-size: 9px; padding: 2px 6px; border-radius: 4px; font-weight: 500; }
    .status-live { background: rgba(52,211,153,0.12); color: #34d399; }
    .status-sync { background: rgba(125,211,252,0.1); color: var(--accent); }

    .file-list { display: flex; flex-direction: column; gap: 4px; }
    .file-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; font-size: 10px; color: var(--muted); transition: background 0.15s; }
    .file-row:hover { background: rgba(255,255,255,0.04); color: var(--fg); }
    .file-icon { font-size: 13px; flex-shrink: 0; }
    .file-name { flex: 1; }
    .file-size { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 9px; }

    .hero-visual::before {
      content: ''; position: absolute; top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 80%; height: 80%; border-radius: 50%;
      background: radial-gradient(ellipse, rgba(125,211,252,0.06) 0%, transparent 70%);
      pointer-events: none;
    }

    /* ─── Live Bento (animated panels) ───────────────────────── */
    .bento-panel .live-dot {
      display: inline-block; width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent); margin-left: 6px; vertical-align: middle;
      box-shadow: 0 0 8px rgba(125,211,252,0.85);
      animation: live-pulse 2.4s ease-in-out infinite;
    }
    @keyframes live-pulse {
      0%, 100% { opacity: 0.45; transform: scale(0.85); }
      50%      { opacity: 1;    transform: scale(1.18); }
    }
    /* Chat panel: lock min-height so cycling never resizes the bento */
    #bento-chat-msgs { min-height: 108px; transition: opacity 320ms ease; }
    #bento-chat-msgs.fading { opacity: 0; }
    .chat-msg.enter { animation: chat-enter 280ms cubic-bezier(0.2,0.7,0.2,1) both; }
    @keyframes chat-enter {
      from { opacity: 0; transform: translateY(8px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .chat-msg .type-cursor {
      display: inline-block; width: 1px; height: 10px; vertical-align: -1px;
      background: var(--accent); margin-left: 1px;
      animation: blink 0.95s step-end infinite;
    }
    .chat-msg .type-cursor.done {
      animation: none; opacity: 0; transition: opacity 400ms ease;
    }
    /* Dashboard bars animate height when the chart shifts */
    .dash-bar { transition: height 620ms cubic-bezier(0.25,0.65,0.2,1), background-color 600ms ease; }
    .dash-bar.fresh { animation: bar-flash 1100ms ease-out; }
    @keyframes bar-flash {
      0%   { background: rgba(165,233,255,1);   box-shadow: 0 0 14px rgba(125,211,252,0.7); }
      60%  { background: rgba(125,211,252,0.95); box-shadow: 0 0 6px rgba(125,211,252,0.3); }
      100% { background: rgba(125,211,252,0.7);  box-shadow: none; }
    }
    #bento-revenue { transition: color 600ms ease, text-shadow 600ms ease; }
    #bento-revenue.tick { color: #a5e9ff; text-shadow: 0 0 12px rgba(125,211,252,0.5); }
    #bento-orders { transition: color 600ms ease, text-shadow 600ms ease; }
    #bento-orders.tick { color: #a5e9ff; text-shadow: 0 0 12px rgba(125,211,252,0.5); }

    /* Bigger, more readable chart */
    .dash-chart { height: 64px; }

    /* LIVE badge on dashboard title */
    .bento-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .bento-title-row .bento-panel-title { margin-bottom: 0; }
    .bento-live-badge {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 8px; font-weight: 700; letter-spacing: 0.14em;
      color: #34d399; text-transform: uppercase;
      padding: 3px 7px; border-radius: 999px;
      background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.22);
    }
    .bento-live-badge::before {
      content: ''; width: 5px; height: 5px; border-radius: 50%;
      background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,0.9);
      animation: live-pulse 1.6s ease-in-out infinite;
    }

    /* Delta chip next to each metric */
    .dash-metric { position: relative; }
    .dash-metric-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
    .dash-delta {
      font-size: 9px; font-weight: 600; font-variant-numeric: tabular-nums;
      color: #34d399; opacity: 0.85;
      transition: color 400ms ease, opacity 400ms ease, transform 400ms ease;
    }
    .dash-delta.flash {
      animation: delta-flash 900ms ease-out;
    }
    @keyframes delta-flash {
      0%   { color: #6ee7b7; transform: translateY(-2px); opacity: 1; }
      100% { color: #34d399; transform: translateY(0);    opacity: 0.85; }
    }

    /* New-order toast sliding up from panel bottom */
    .dash-toast {
      position: absolute; left: 12px; right: 12px; bottom: 12px;
      display: flex; align-items: center; gap: 8px;
      padding: 8px 10px; border-radius: 10px;
      background: rgba(15, 21, 36, 0.92);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(125,211,252,0.28);
      box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 18px rgba(125,211,252,0.18);
      opacity: 0; transform: translateY(12px);
      transition: opacity 380ms ease, transform 380ms cubic-bezier(0.2,0.7,0.2,1);
      pointer-events: none;
    }
    .dash-toast.show { opacity: 1; transform: translateY(0); }
    .dash-toast-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,0.85);
      flex-shrink: 0;
      animation: live-pulse 1.2s ease-in-out infinite;
    }
    .dash-toast-body { flex: 1; min-width: 0; }
    .dash-toast-line1 {
      font-size: 10px; font-weight: 600; color: var(--fg);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .dash-toast-line2 { font-size: 9px; color: var(--muted); margin-top: 1px; }
    .dash-toast-amt {
      font-size: 11px; font-weight: 700; color: var(--accent);
      font-variant-numeric: tabular-nums;
    }

    @media (prefers-reduced-motion: reduce) {
      .bento-panel .live-dot { animation: none; opacity: 0.7; box-shadow: none; }
      .chat-msg.enter { animation: none; }
      .dash-bar.fresh { animation: none; }
      .dash-bar { transition: none; }
      .chat-msg .type-cursor { animation: none; }
      .bento-live-badge::before { animation: none; box-shadow: none; }
      .dash-toast-dot { animation: none; box-shadow: none; }
      .dash-toast { transition: opacity 200ms ease; transform: none; }
      .dash-delta.flash { animation: none; }
    }

    /* ─── LAYER DIAGRAM (Relay + Autofy) ─────────────────────── */
    .layer-section { padding: 80px 0; }
    .layer-diagram {
      display: grid; grid-template-columns: 1fr 1.4fr;
      gap: 56px; align-items: center;
    }
    .layer-intro h2 { margin-bottom: 18px; }
    .layer-intro p { color: var(--muted); font-size: 1.02rem; }
    .layer-intro .eyebrow { margin-bottom: 14px; }
    .layer-stack {
      display: flex; flex-direction: column; gap: 14px;
      position: relative;
    }
    /* S18 fix: scope home-only scroll-assembly layer-card to body.page-home.
     * Without this prefix, the unscoped .layer-card { opacity: 0 } at line ~668
     * leaked into page-pricing.php's .layer-card.layer-relay / .layer-autofy,
     * making them invisible. Variant rules below (.lavender/.cyan) are already
     * home-only via class name, but the BASE .layer-card rules must be scoped. */
    body.page-home .layer-card {
      padding: 22px 26px;
      border-radius: 18px;
      position: relative;
      overflow: hidden;
    }
    body.page-home .layer-card.lavender {
      background: linear-gradient(135deg, rgba(200,160,240,0.10) 0%, rgba(200,160,240,0.03) 100%);
      border: 1px solid rgba(200,160,240,0.25);
    }
    body.page-home .layer-card.cyan {
      background: linear-gradient(135deg, rgba(125,211,252,0.10) 0%, rgba(125,211,252,0.03) 100%);
      border: 1px solid rgba(125,211,252,0.25);
    }
    .layer-card-head {
      display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
      flex-wrap: wrap;
    }
    .layer-tag {
      font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 3px 8px; border-radius: 4px;
    }
    .layer-tag.l1 { background: rgba(200,160,240,0.18); color: var(--accent-2); }
    .layer-tag.l2 { background: rgba(125,211,252,0.18); color: var(--accent); }
    body.page-home .layer-card h3 { font-size: 1.1rem; }
    body.page-home .layer-card p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
    .layer-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
    .layer-pill {
      font-size: 11px; padding: 4px 10px; border-radius: 999px;
      background: rgba(255,255,255,0.04); border: 1px solid var(--border);
      color: var(--fg);
    }
    .layer-required {
      font-size: 10px; font-weight: 600; color: var(--accent-2);
      padding: 2px 8px; border: 1px solid rgba(200,160,240,0.35); border-radius: 4px;
      letter-spacing: 0.06em; text-transform: uppercase;
    }
    .layer-addon {
      font-size: 10px; font-weight: 600; color: var(--accent);
      padding: 2px 8px; border: 1px solid rgba(125,211,252,0.35); border-radius: 4px;
      letter-spacing: 0.06em; text-transform: uppercase;
    }
    .layer-connector {
      align-self: center;
      width: 2px;
      height: 0;
      background: linear-gradient(to bottom, rgba(125,211,252,0.55), rgba(200,160,240,0.55));
      border-radius: 2px;
      opacity: 0;
      position: relative;
      transition:
        height 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s,
        opacity 0.4s ease 0.55s;
    }
    .layer-connector::before {
      content: "";
      position: absolute;
      inset: -3px -4px;
      border-radius: 8px;
      background: linear-gradient(to bottom, rgba(125,211,252,0.45), rgba(200,160,240,0.45));
      filter: blur(8px);
      opacity: 0;
      transition: opacity 0.7s ease;
      pointer-events: none;
    }

    /* ─── LAYER scroll-assembly (initial state) ───────────────── */
    /* S18: scoped to body.page-home — the unscoped .layer-card { opacity:0 }
     * here was the root cause of the pricing-page invisible layer-cards bug
     * (user-reported S18 hotfix #1). Specificity now matches WP-DEV-07. */
    body.page-home .layer-card {
      opacity: 0;
      will-change: transform, opacity;
      transition:
        opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.7s ease;
    }
    /* Layer 1 (Relay, lavender) is the foundation — it lands first, rising from below */
    body.page-home .layer-card.lavender {
      transform: translateY(56px) scale(0.96);
      transition-delay: 0.05s;
    }
    /* Layer 2 (Autofy, cyan) drops down from above to stack on top */
    body.page-home .layer-card.cyan {
      transform: translateY(-56px) scale(0.96);
      transition-delay: 1.1s;
    }
    .layer-pill {
      opacity: 0;
      transform: translateY(8px);
      transition:
        opacity 0.45s ease,
        transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    }

    /* ─── LAYER scroll-assembly (assembled state) ─────────────── */
    .layer-diagram.is-assembled .layer-card {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    .layer-diagram.is-assembled .layer-card.lavender {
      box-shadow: 0 16px 50px rgba(200,160,240,0.10);
    }
    .layer-diagram.is-assembled .layer-card.cyan {
      box-shadow: 0 16px 50px rgba(125,211,252,0.12);
    }
    .layer-diagram.is-assembled .layer-connector {
      height: 28px;
      opacity: 1;
    }
    .layer-diagram.is-assembled .layer-pill {
      opacity: 1;
      transform: translateY(0);
    }
    /* Pills cascade in after their card has landed */
    .layer-diagram.is-assembled .layer-card.lavender .layer-pill:nth-child(1) { transition-delay: 0.95s; }
    .layer-diagram.is-assembled .layer-card.lavender .layer-pill:nth-child(2) { transition-delay: 1.05s; }
    .layer-diagram.is-assembled .layer-card.lavender .layer-pill:nth-child(3) { transition-delay: 1.15s; }
    .layer-diagram.is-assembled .layer-card.lavender .layer-pill:nth-child(4) { transition-delay: 1.25s; }
    .layer-diagram.is-assembled .layer-card.cyan .layer-pill:nth-child(1) { transition-delay: 2.00s; }
    .layer-diagram.is-assembled .layer-card.cyan .layer-pill:nth-child(2) { transition-delay: 2.10s; }
    .layer-diagram.is-assembled .layer-card.cyan .layer-pill:nth-child(3) { transition-delay: 2.20s; }
    .layer-diagram.is-assembled .layer-card.cyan .layer-pill:nth-child(4) { transition-delay: 2.30s; }

    /* ─── LAYER scroll-assembly (energized — energy flows Relay → Autofy) ── */
    .layer-diagram.is-energized .layer-connector {
      box-shadow: 0 0 14px rgba(125,211,252,0.28);
    }
    .layer-diagram.is-energized .layer-connector::before {
      opacity: 1;
      animation: layer-connector-breathe 3.6s ease-in-out infinite;
    }
    .layer-diagram.is-energized .layer-connector::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 100%;
      transform: translate(-50%, 0);
      width: 5px;
      height: 7px;
      border-radius: 3px;
      background: linear-gradient(to bottom, rgba(255,255,255,0.95), var(--accent));
      filter: blur(0.6px);
      box-shadow: 0 0 14px rgba(125,211,252,0.85), 0 0 28px rgba(125,211,252,0.45);
      animation: layer-energy-rise 4.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
      pointer-events: none;
    }

    @keyframes layer-energy-rise {
      0%   { top: 100%;   opacity: 0; transform: translate(-50%, 0) scale(0.6); }
      12%  {              opacity: 1; transform: translate(-50%, 0) scale(1);   }
      80%  {              opacity: 1; transform: translate(-50%, -120%) scale(1); }
      100% { top: -8px;   opacity: 0; transform: translate(-50%, -180%) scale(0.6); }
    }
    @keyframes layer-connector-breathe {
      0%, 100% { opacity: 0.35; }
      50%      { opacity: 0.85; }
    }

    @media (prefers-reduced-motion: reduce) {
      .layer-card,
      .layer-pill {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
      }
      .layer-connector {
        height: 28px !important;
        opacity: 1 !important;
        transition: none !important;
      }
      .layer-diagram.is-energized .layer-connector::before,
      .layer-diagram.is-energized .layer-connector::after {
        animation: none !important;
      }
    }

    /* ─── USE-CASE ROUTING ───────────────────────────────────── */
    .usecase-grid {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    }
    .usecase-card {
      padding: 26px 24px; position: relative; overflow: hidden;
      transition: transform 0.2s, border-color 0.2s;
      display: flex; flex-direction: column; gap: 12px;
    }
    .usecase-card:hover { transform: translateY(-3px); border-color: var(--border-md); }
    .usecase-card .usecase-icon {
      width: 38px; height: 38px; border-radius: 10px;
      background: rgba(125,211,252,0.1);
      border: 1px solid rgba(125,211,252,0.22);
      display: grid; place-items: center; color: var(--accent);
      flex-shrink: 0;
    }
    .usecase-card.lav .usecase-icon { background: rgba(200,160,240,0.1); border-color: rgba(200,160,240,0.22); color: var(--accent-2); }
    .usecase-card h3 { font-size: 1.05rem; line-height: 1.25; }
    .usecase-card p { font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1; }
    .usecase-card .usecase-link {
      font-size: 12px; font-weight: 600;
      color: var(--accent); display: inline-flex; align-items: center; gap: 4px;
      transition: gap 0.15s;
    }
    .usecase-card .usecase-link:hover { gap: 8px; }

    /* ─── FEATURES BENTO ─────────────────────────────────────── */
    .features-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .feature-card {
      padding: 32px; position: relative; overflow: hidden;
      transition: border-color 0.2s, transform 0.2s;
    }
    .feature-card:hover { border-color: var(--border-md); transform: translateY(-2px); }
    .feature-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(125,211,252,0.3), transparent);
      opacity: 0; transition: opacity 0.3s;
    }
    .feature-card:hover::before { opacity: 1; }
    .feature-icon {
      width: 44px; height: 44px; border-radius: 12px;
      background: rgba(125,211,252,0.1);
      border: 1px solid rgba(125,211,252,0.2);
      display: grid; place-items: center; margin-bottom: 20px; font-size: 20px;
    }
    .feature-icon.lavender { background: rgba(200,160,240,0.1); border-color: rgba(200,160,240,0.2); }
    .feature-card h3 { margin-bottom: 12px; }
    .feature-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
    .section-soft-cta { text-align: center; margin-top: 36px; }

    /* ─── 3-COLLECTION KNOWLEDGE ─────────────────────────────── */
    .deep-section {
      background: linear-gradient(135deg, rgba(15,21,36,0.8) 0%, rgba(10,14,26,0.95) 100%);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .collection-intro {
      max-width: 720px; margin: 0 auto 56px; text-align: center;
    }
    .collection-intro h2 { margin-bottom: 18px; }
    .collection-intro p { color: var(--muted); font-size: 1.05rem; }
    .collection-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    }
    .collection-card {
      padding: 28px; display: flex; flex-direction: column; gap: 14px;
      position: relative; overflow: hidden;
      transition: transform 0.2s, border-color 0.2s;
    }
    .collection-card:hover { transform: translateY(-3px); border-color: var(--border-md); }
    .collection-head {
      display: flex; align-items: center; justify-content: space-between;
      gap: 10px;
    }
    .collection-name { font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; }
    .owner-pill {
      font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
      text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
      flex-shrink: 0;
    }
    .owner-pill.user { background: rgba(200,160,240,0.14); color: var(--accent-2); border: 1px solid rgba(200,160,240,0.3); }
    .owner-pill.company { background: rgba(125,211,252,0.14); color: var(--accent); border: 1px solid rgba(125,211,252,0.3); }
    .owner-pill.autofy { background: rgba(52,211,153,0.14); color: var(--green); border: 1px solid rgba(52,211,153,0.3); }
    .collection-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
    .collection-facts {
      display: flex; flex-direction: column; gap: 8px;
      padding-top: 14px;
      border-top: 1px solid var(--border);
    }
    .collection-fact { display: flex; gap: 8px; font-size: 12px; color: var(--fg); align-items: flex-start; line-height: 1.5; }
    .collection-fact svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
    .portable-note {
      margin-top: auto; padding: 8px 12px; border-radius: 8px;
      font-size: 11px; color: var(--muted);
      background: rgba(255,255,255,0.03); border: 1px solid var(--border);
      display: flex; align-items: center; gap: 6px;
    }
    .portable-note.yes { color: var(--accent-2); background: rgba(200,160,240,0.06); border-color: rgba(200,160,240,0.18); }
    .portable-note.no { color: var(--accent); background: rgba(125,211,252,0.06); border-color: rgba(125,211,252,0.18); }

    /* ─── 3-COLLECTION ANIMATED STAGE ─────────────────────────── */
    .kn-stage-wrap {
      max-width: 1100px;
      margin: 0 auto 56px;
    }
    .kn-stage {
      position: relative;
      height: 460px;
      border-radius: 24px;
      background:
        linear-gradient(135deg, rgba(20, 28, 48, 0.55) 0%, rgba(10, 14, 26, 0.75) 100%);
      border: 1px solid var(--border-md);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      overflow: hidden;
      isolation: isolate;
    }
    .kn-stage::before {
      content: '';
      position: absolute;
      inset: -20%;
      background:
        radial-gradient(380px circle at 18% 50%, rgba(200, 160, 240, 0.12), transparent 60%),
        radial-gradient(520px circle at 50% 50%, rgba(125, 211, 252, 0.16), transparent 60%),
        radial-gradient(380px circle at 82% 50%, rgba(252, 211, 77, 0.10), transparent 60%);
      z-index: 0;
      pointer-events: none;
    }
    .kn-stage::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 60px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 60px);
      z-index: 0;
      pointer-events: none;
      mask: radial-gradient(ellipse at center, rgba(0,0,0,0.4), transparent 75%);
      -webkit-mask: radial-gradient(ellipse at center, rgba(0,0,0,0.4), transparent 75%);
    }

    .kn-connections {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
      overflow: visible;
    }
    .kn-connections path {
      fill: none;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-dasharray: 3 9;
      opacity: 0.5;
      transition: opacity 0.6s, stroke-width 0.4s;
    }
    .kn-connections path.flow-rc {
      stroke: rgba(200, 160, 240, 0.55);
      animation: knFlow 14s linear infinite;
    }
    .kn-connections path.flow-sc {
      stroke: rgba(252, 211, 77, 0.55);
      animation: knFlow 16s linear infinite reverse;
    }
    @keyframes knFlow {
      from { stroke-dashoffset: 0; }
      to { stroke-dashoffset: -144; }
    }
    .kn-stage.leaving .kn-connections path.flow-rc {
      opacity: 0.1;
      stroke-dasharray: 2 14;
    }
    .kn-stage.leaving .kn-connections path.flow-sc {
      opacity: 0.7;
      stroke-width: 2;
    }

    .kn-orb {
      position: absolute;
      transform: translate(-50%, -50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      z-index: 3;
      transition:
        opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1.4s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.6s;
    }
    .kn-orb[data-collection="relay"]      { left: 20%; top: 47%; --c: 200, 160, 240; --label-c: var(--accent-2); }
    .kn-orb[data-collection="company"]    { left: 50%; top: 50%; --c: 125, 211, 252; --label-c: var(--accent); }
    .kn-orb[data-collection="specialized"]{ left: 80%; top: 47%; --c: 252, 211, 77;  --label-c: #fcd34d; }

    .kn-orb-body {
      position: relative;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,0.22), rgba(15, 21, 36, 0.85) 70%);
      border: 1.5px solid rgba(var(--c), 0.45);
      box-shadow:
        0 0 50px rgba(var(--c), 0.32),
        inset 0 0 30px rgba(var(--c), 0.10);
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .kn-orb[data-collection="company"] .kn-orb-body {
      width: 156px; height: 156px;
      border-color: rgba(var(--c), 0.55);
      box-shadow:
        0 0 70px rgba(var(--c), 0.40),
        inset 0 0 40px rgba(var(--c), 0.14);
    }
    .kn-orb-body::before {
      content: '';
      position: absolute;
      inset: 6px;
      border-radius: 50%;
      border: 1px solid rgba(var(--c), 0.35);
      animation: knOrbPulse 4s ease-in-out infinite;
    }
    .kn-orb-body::after {
      content: '';
      position: absolute;
      inset: -8px;
      border-radius: 50%;
      border: 1px dashed rgba(var(--c), 0.18);
      animation: knOrbSpin 30s linear infinite;
    }
    .kn-orb[data-collection="company"] .kn-orb-body::after {
      animation-duration: 40s;
    }
    @keyframes knOrbPulse {
      0%, 100% { transform: scale(1); opacity: 0.4; }
      50%      { transform: scale(1.06); opacity: 0.7; }
    }
    @keyframes knOrbSpin {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }
    .kn-orb-glyph {
      font: 700 22px/1 -apple-system, system-ui, sans-serif;
      letter-spacing: -0.02em;
      color: var(--label-c);
      text-shadow: 0 0 14px rgba(var(--c), 0.5);
      position: relative;
      z-index: 1;
    }
    .kn-orb[data-collection="company"] .kn-orb-glyph {
      font-size: 26px;
    }

    .kn-orb-meta {
      text-align: center;
      pointer-events: none;
    }
    .kn-orb-name {
      font-size: 13px;
      font-weight: 600;
      color: var(--fg);
      letter-spacing: -0.005em;
    }
    .kn-orb-owner {
      font: 600 9.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--label-c);
      margin-top: 4px;
      opacity: 0.85;
    }

    /* Particles (labels orbiting around each orb) */
    .kn-particle-wrap {
      position: absolute;
      top: 60px;
      left: 60px;
      width: 0;
      height: 0;
      transform:
        rotate(var(--angle, 0deg))
        translateX(var(--r, 110px))
        rotate(calc(var(--angle, 0deg) * -1));
      pointer-events: auto;
    }
    .kn-orb[data-collection="company"] .kn-particle-wrap {
      top: 78px;
      left: 78px;
    }
    .kn-particle {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 11px;
      background: rgba(10, 14, 26, 0.88);
      border: 1px solid rgba(var(--c), 0.35);
      border-radius: 999px;
      font-size: 10.5px;
      font-weight: 500;
      color: var(--fg);
      white-space: nowrap;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 10px rgba(var(--c), 0.22);
      animation: knFloat 7s ease-in-out infinite;
      animation-delay: var(--float-delay, 0s);
      transition: transform 0.25s ease, border-color 0.25s ease;
    }
    .kn-particle::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--label-c);
      box-shadow: 0 0 8px var(--label-c);
      flex-shrink: 0;
    }
    @keyframes knFloat {
      0%, 100% { transform: translate(-50%, -50%) translateY(0); }
      50%      { transform: translate(-50%, -50%) translateY(-5px); }
    }

    /* Hover state — orb scales up, particles brighten + freeze */
    .kn-orb:hover .kn-orb-body {
      transform: scale(1.05);
      box-shadow:
        0 0 80px rgba(var(--c), 0.5),
        inset 0 0 40px rgba(var(--c), 0.18);
    }
    .kn-orb:hover .kn-particle {
      border-color: rgba(var(--c), 0.75);
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 18px rgba(var(--c), 0.45);
    }

    /* Leaving animation — when employee exits */
    .kn-orb.leaving {
      opacity: 0;
      transform: translate(-50%, -50%) translate(-180px, -40px) scale(0.7);
      filter: blur(2px);
    }
    .kn-orb.staying {
      filter: drop-shadow(0 0 30px rgba(125, 211, 252, 0.45));
    }
    .kn-orb.staying .kn-orb-body {
      animation: knStayingPulse 1.6s ease-in-out 2;
    }
    @keyframes knStayingPulse {
      0%, 100% { transform: scale(1); }
      50%      { transform: scale(1.08); box-shadow: 0 0 100px rgba(125,211,252,0.55), inset 0 0 50px rgba(125,211,252,0.20); }
    }

    /* Stage status callouts */
    .kn-status {
      position: absolute;
      left: 50%;
      bottom: 24px;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 18px;
      background: rgba(15, 21, 36, 0.92);
      border: 1px solid var(--border-md);
      border-radius: 999px;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      font-size: 12px;
      color: var(--fg);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 5;
    }
    .kn-status.show {
      opacity: 1;
      transform: translateX(-50%) translateY(-4px);
    }
    .kn-status .kn-status-icon {
      width: 16px; height: 16px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 10px var(--green);
      display: grid;
      place-items: center;
      color: #0a0e1a;
      font-size: 11px;
      font-weight: 800;
      flex-shrink: 0;
    }
    .kn-status .kn-status-text strong { color: var(--accent); font-weight: 600; }

    /* Stage header inside the visualization */
    .kn-stage-header {
      position: absolute;
      top: 20px;
      left: 24px;
      display: flex;
      align-items: center;
      gap: 10px;
      z-index: 4;
    }
    .kn-stage-title {
      font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .kn-live-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 3px 8px;
      background: rgba(52, 211, 153, 0.14);
      border: 1px solid rgba(52, 211, 153, 0.3);
      border-radius: 999px;
      font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
      letter-spacing: 0.12em;
      color: var(--green);
    }
    .kn-live-badge::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 6px var(--green);
      animation: knBadgePulse 1.4s ease-in-out infinite;
    }
    @keyframes knBadgePulse {
      0%, 100% { opacity: 1; }
      50%      { opacity: 0.4; }
    }

    /* Stage controls (button row beneath the stage) */
    .kn-controls {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 14px;
      margin: 22px auto 0;
      flex-wrap: wrap;
    }
    .kn-btn {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 11px 20px;
      background: rgba(125, 211, 252, 0.08);
      border: 1px solid rgba(125, 211, 252, 0.35);
      border-radius: 10px;
      color: var(--fg);
      font: 600 13px/1 -apple-system, system-ui, sans-serif;
      letter-spacing: -0.005em;
      cursor: pointer;
      transition: all 0.2s ease;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .kn-btn:hover {
      background: rgba(125, 211, 252, 0.16);
      border-color: rgba(125, 211, 252, 0.6);
      transform: translateY(-1px);
    }
    .kn-btn:active { transform: translateY(0); }
    .kn-btn[data-mode="reset"] {
      background: rgba(255, 255, 255, 0.04);
      border-color: var(--border-md);
      color: var(--muted);
    }
    .kn-btn[data-mode="reset"]:hover {
      color: var(--fg);
      border-color: rgba(255,255,255,0.18);
    }
    .kn-btn .kn-btn-glyph {
      width: 14px; height: 14px;
      display: grid;
      place-items: center;
    }
    .kn-hint {
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.04em;
      margin-left: 4px;
    }

    @media (prefers-reduced-motion: reduce) {
      .kn-orb-body::before,
      .kn-orb-body::after,
      .kn-particle,
      .kn-live-badge::before,
      .kn-connections path { animation: none !important; }
    }

    @media (max-width: 860px) {
      .kn-stage { height: 540px; }
      .kn-orb[data-collection="relay"]       { left: 50%; top: 18%; }
      .kn-orb[data-collection="company"]     { left: 50%; top: 52%; }
      .kn-orb[data-collection="specialized"] { left: 50%; top: 84%; }
      .kn-particle-wrap { transform: rotate(var(--angle-m, var(--angle, 0deg))) translateX(var(--r-m, 90px)) rotate(calc(var(--angle-m, var(--angle, 0deg)) * -1)); }
    }

    /* ─── COMPARISON TABLE ───────────────────────────────────── */
    .compare-wrap {
      max-width: 980px; margin: 0 auto;
      border-radius: var(--radius);
      overflow: hidden;
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
    }
    .compare-grid {
      display: grid; grid-template-columns: 1.6fr 1fr 1fr;
    }
    .compare-grid > div {
      padding: 18px 22px;
      border-bottom: 1px solid var(--border);
      font-size: 14px;
      display: flex; align-items: center; gap: 8px;
    }
    .compare-grid > div:nth-child(3n+1) { color: var(--fg); font-weight: 500; }
    .compare-grid > div:nth-child(3n+2) { color: var(--muted); border-left: 1px solid var(--border); }
    .compare-grid > div:nth-child(3n) { color: var(--fg); border-left: 1px solid var(--border); background: rgba(125,211,252,0.04); }
    .compare-grid > div:nth-last-child(-n+3) { border-bottom: none; }
    .compare-head {
      font-size: 12px !important;
      font-weight: 700 !important;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding-top: 22px !important;
      padding-bottom: 22px !important;
    }
    .compare-head.label { color: var(--muted) !important; }
    .compare-head.them { color: var(--muted) !important; }
    .compare-head.us { color: var(--accent) !important; background: rgba(125,211,252,0.07) !important; }
    .compare-cell-icon { width: 14px; height: 14px; flex-shrink: 0; }
    .compare-cell-icon.no { color: rgba(248,113,113,0.7); }
    .compare-cell-icon.yes { color: var(--green); }

    /* ─── COMPARISON SLIDER (drag-reveal) ────────────────────── */
    .cs-hint {
      text-align: center;
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      margin-bottom: 18px;
      opacity: 0.7;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    }
    .cs-hint .cs-arrow { color: var(--accent); margin: 0 6px; }
    .cs-wrap {
      max-width: 1080px; margin: 0 auto;
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border-md);
      --divider: 50%;
    }
    .cs-scenario {
      position: relative;
      z-index: 4;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 16px 28px;
      border-bottom: 1px solid var(--border);
      background: rgba(10,14,26,0.78);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      font-size: 13px;
      color: var(--muted);
      flex-wrap: wrap;
    }
    .cs-scenario .cs-scenario-icon { color: var(--accent); flex-shrink: 0; }
    .cs-scenario .cs-q { color: var(--fg); font-weight: 500; }
    .cs-stage {
      position: relative;
      height: 600px;
      overflow: hidden;
      user-select: none;
      -webkit-user-select: none;
      touch-action: none;
      cursor: ew-resize;
      background: #0a0e1a;
    }
    .cs-panel {
      position: absolute; inset: 0;
      padding: 32px 36px 60px;
      overflow: hidden;
    }
    .cs-panel.drive {
      background: linear-gradient(180deg, #f6f7fb 0%, #eef0f6 100%);
      color: #1f2937;
      z-index: 1;
    }
    .cs-panel.autofy {
      background: linear-gradient(180deg, #0a0e1a 0%, #0d1426 60%, #0a0e1a 100%);
      color: var(--fg);
      z-index: 2;
      clip-path: inset(0 0 0 var(--divider));
      -webkit-clip-path: inset(0 0 0 var(--divider));
    }
    .cs-panel-id {
      position: absolute;
      top: 20px; right: 24px;
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 700;
      padding: 5px 10px;
      border-radius: 4px;
      z-index: 3;
    }
    .cs-panel.drive .cs-panel-id {
      background: rgba(239,68,68,0.10);
      color: #b91c1c;
      border: 1px solid rgba(239,68,68,0.22);
    }
    .cs-panel.autofy .cs-panel-id {
      background: rgba(125,211,252,0.10);
      color: var(--accent);
      border: 1px solid rgba(125,211,252,0.22);
    }

    /* Drive panel inner */
    .cs-drive-bar {
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; color: #6b7280;
      margin-bottom: 14px;
      font-weight: 500;
    }
    .cs-drive-bar svg { color: #9ca3af; }
    .cs-drive-search {
      display: flex; align-items: center; gap: 10px;
      padding: 10px 14px;
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      margin-bottom: 12px;
      font-size: 13px;
      color: #1f2937;
      box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    }
    .cs-drive-search svg { color: #9ca3af; flex-shrink: 0; }
    .cs-drive-search .cs-q-text { flex: 1; font-family: ui-monospace, Menlo, monospace; }
    .cs-drive-search .cs-results { color: #6b7280; font-size: 11px; font-weight: 500; }
    .cs-drive-files {
      display: flex; flex-direction: column;
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      overflow: hidden;
    }
    .cs-file {
      display: grid;
      grid-template-columns: 22px 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 9px 14px;
      border-bottom: 1px solid #f1f3f7;
      font-size: 13px;
    }
    .cs-file:last-child { border-bottom: none; }
    .cs-file .cs-file-name { color: #1f2937; }
    .cs-file .cs-file-date { color: #9ca3af; font-size: 11px; font-variant-numeric: tabular-nums; }
    .cs-file.lock { opacity: 0.55; }
    .cs-file.lock .cs-file-name { font-style: italic; }
    .cs-drive-more {
      padding: 10px 14px;
      font-size: 11px;
      color: #6b7280;
      text-align: center;
      font-style: italic;
    }
    .cs-drive-frustration {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 14px 32px;
      background: linear-gradient(180deg, transparent 0%, rgba(239,68,68,0.10) 60%, rgba(239,68,68,0.16) 100%);
      font-size: 13px;
      color: #b91c1c;
      font-weight: 500;
      display: flex; justify-content: space-between; align-items: center;
      gap: 12px;
    }
    .cs-drive-frustration .cs-channels {
      color: #6b7280;
      font-size: 11px;
      font-family: ui-monospace, Menlo, monospace;
    }

    /* Autofy panel inner */
    .cs-autofy-input {
      display: flex; align-items: center; gap: 12px;
      padding: 14px 18px;
      background: rgba(125,211,252,0.05);
      border: 1px solid rgba(125,211,252,0.18);
      border-radius: 12px;
      margin-bottom: 22px;
      font-size: 14px;
      color: var(--fg);
    }
    .cs-autofy-input .cs-sparkle { color: var(--accent); flex-shrink: 0; }
    .cs-autofy-input .cs-q-text { flex: 1; }
    .cs-autofy-input kbd {
      font-size: 10px;
      padding: 3px 7px;
      border: 1px solid var(--border-md);
      border-radius: 4px;
      color: var(--muted);
      font-family: ui-monospace, Menlo, monospace;
    }
    .cs-autofy-msg {
      display: flex; gap: 14px;
    }
    .cs-autofy-avatar {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
      flex-shrink: 0;
      display: grid; place-items: center;
      color: #0a0e1a; font-weight: 700; font-size: 13px;
      box-shadow: 0 0 24px rgba(125,211,252,0.3);
    }
    .cs-autofy-text {
      font-size: 14px;
      line-height: 1.65;
      color: var(--fg);
      flex: 1;
      min-width: 0;
    }
    .cs-autofy-text strong { color: var(--accent); font-weight: 600; }
    .cs-citation {
      margin-top: 14px;
      padding: 12px 14px;
      background: rgba(15,21,36,0.7);
      border: 1px solid var(--border-md);
      border-radius: 10px;
      display: grid;
      grid-template-columns: 28px 1fr auto;
      gap: 12px;
      align-items: center;
    }
    .cs-citation > svg { color: var(--accent); }
    .cs-cite-name {
      color: var(--fg); font-size: 13px; font-weight: 500;
      margin-bottom: 2px;
      font-family: ui-monospace, Menlo, monospace;
    }
    .cs-cite-meta {
      color: var(--muted); font-size: 11px;
      font-variant-numeric: tabular-nums;
    }
    .cs-cite-pill {
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 5px 9px;
      border-radius: 4px;
      background: rgba(52,211,153,0.14);
      color: var(--green);
      border: 1px solid rgba(52,211,153,0.22);
    }
    .cs-followups {
      display: flex; gap: 8px; flex-wrap: wrap;
      margin-top: 14px;
    }
    .cs-chip {
      font-size: 12px;
      padding: 6px 11px;
      border-radius: 999px;
      background: rgba(125,211,252,0.07);
      border: 1px solid rgba(125,211,252,0.18);
      color: var(--accent);
      white-space: nowrap;
    }
    .cs-autofy-flow {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 14px 32px;
      background: linear-gradient(180deg, transparent 0%, rgba(125,211,252,0.06) 60%, rgba(125,211,252,0.12) 100%);
      font-size: 13px;
      color: var(--accent);
      font-weight: 500;
      display: flex; justify-content: space-between; align-items: center;
      gap: 12px;
    }
    .cs-autofy-flow .cs-flow-sub {
      color: var(--muted);
      font-size: 11px;
      font-family: ui-monospace, Menlo, monospace;
    }

    /* Divider + handle */
    .cs-divider {
      position: absolute;
      top: 0; bottom: 0;
      left: var(--divider, 50%);
      width: 2px;
      background: linear-gradient(180deg, rgba(125,211,252,0.4) 0%, rgba(255,255,255,0.85) 50%, rgba(125,211,252,0.4) 100%);
      transform: translateX(-50%);
      z-index: 5;
      pointer-events: none;
      box-shadow: 0 0 20px rgba(125,211,252,0.5);
    }
    .cs-handle {
      position: absolute;
      top: 50%;
      left: var(--divider, 50%);
      transform: translate(-50%, -50%);
      width: 52px; height: 52px;
      border-radius: 50%;
      background: rgba(255,255,255,0.97);
      display: grid; place-items: center;
      color: #0a0e1a;
      z-index: 6;
      cursor: ew-resize;
      box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 0 4px rgba(125,211,252,0.22), 0 0 36px rgba(125,211,252,0.35);
      transition: transform 0.14s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
      outline: none;
    }
    .cs-handle:hover, .cs-handle:focus-visible {
      transform: translate(-50%, -50%) scale(1.1);
      box-shadow: 0 6px 28px rgba(0,0,0,0.5), 0 0 0 5px rgba(125,211,252,0.32), 0 0 44px rgba(125,211,252,0.5);
    }
    .cs-handle.dragging { transform: translate(-50%, -50%) scale(1.14); }
    .cs-handle svg { width: 20px; height: 20px; pointer-events: none; }

    /* Bottom labels (the punchline) */
    .cs-labels {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-top: 1px solid var(--border-md);
      background: rgba(10,14,26,0.78);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
    }
    .cs-labels > div {
      padding: 18px 28px;
      font-size: 13px;
      color: var(--muted);
      transition: color 0.3s, background 0.3s;
      display: flex; align-items: center; gap: 10px;
    }
    .cs-label-num {
      font-size: 22px;
      font-weight: 700;
      margin-right: 4px;
      font-variant-numeric: tabular-nums;
      letter-spacing: -0.02em;
    }
    .cs-label-them { border-right: 1px solid var(--border); }
    .cs-label-them.dominant {
      color: #fca5a5;
      background: rgba(239,68,68,0.05);
    }
    .cs-label-them.dominant .cs-label-num { color: #f87171; }
    .cs-label-us.dominant {
      color: var(--accent);
      background: rgba(125,211,252,0.05);
    }
    .cs-label-us.dominant .cs-label-num { color: var(--accent); }
    .cs-label-pulse {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: currentColor;
      opacity: 0.25;
      flex-shrink: 0;
      transition: opacity 0.3s;
    }
    .cs-labels > div.dominant .cs-label-pulse {
      opacity: 1;
      animation: cs-pulse 1.8s ease-in-out infinite;
    }
    @keyframes cs-pulse {
      0%, 100% { box-shadow: 0 0 0 0 currentColor; }
      70% { box-shadow: 0 0 0 8px transparent; }
    }

    @media (prefers-reduced-motion: reduce) {
      .cs-labels > div.dominant .cs-label-pulse { animation: none; }
      .cs-handle, .cs-handle:hover { transition: none; }
    }

    /* ─── PULL QUOTE ─────────────────────────────────────────── */
    .pq-section { padding: 90px 0; }
    .pq-card {
      max-width: 880px; margin: 0 auto;
      padding: 56px 64px;
      border-radius: 24px;
      background: linear-gradient(135deg, rgba(200,160,240,0.06) 0%, rgba(125,211,252,0.04) 100%);
      border: 1px solid var(--border-md);
      position: relative;
      overflow: hidden;
    }
    .pq-card::before {
      content: '"';
      position: absolute;
      top: 8px; left: 28px;
      font-size: 140px; line-height: 1;
      color: rgba(200,160,240,0.12);
      font-family: Georgia, serif;
    }
    .pq-text {
      font-size: clamp(1.2rem, 2.3vw, 1.7rem);
      font-weight: 500; line-height: 1.4; color: var(--fg);
      letter-spacing: -0.015em;
      position: relative;
    }
    .pq-attrib {
      margin-top: 24px;
      font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
      text-transform: uppercase; color: var(--muted);
      display: flex; align-items: center; gap: 10px;
    }
    .pq-attrib::before {
      content: ''; width: 28px; height: 1px;
      background: var(--accent);
    }
    /* Typed reveal — chars start invisible, fade in one at a time */
    .pq-text[data-typed] .pq-char {
      opacity: 0;
      transition: opacity 0.18s ease-out;
    }
    .pq-text[data-typed].typing .pq-char.shown,
    .pq-text[data-typed].done .pq-char { opacity: 1; }
    .pq-cursor {
      display: inline-block;
      width: 2px;
      height: 0.95em;
      margin-left: 3px;
      vertical-align: -0.12em;
      background: var(--ice-300);
      box-shadow: 0 0 14px rgba(125, 211, 252, 0.7);
      border-radius: 1px;
      animation: pqBlink 0.92s steps(2) infinite;
    }
    .pq-cursor.gone {
      animation: none;
      opacity: 0;
      box-shadow: none;
      transition: opacity 0.7s ease-out;
    }
    @keyframes pqBlink { 50% { opacity: 0; } }
    .pq-attrib { opacity: 0; transform: translateY(4px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
    .pq-text[data-typed].done ~ .pq-attrib,
    .pq-card.attrib-show .pq-attrib { opacity: 1; transform: translateY(0); }
    @media (prefers-reduced-motion: reduce) {
      .pq-text[data-typed] .pq-char { opacity: 1; transition: none; }
      .pq-attrib { opacity: 1; transform: none; transition: none; }
      .pq-cursor { display: none; }
    }

    /* ─── LOCK-IN / MOATS ────────────────────────────────────── */
    .lockin-grid {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    }
    .lockin-card {
      --lc-accent: var(--accent);
      padding: 28px 22px 24px;
      position: relative;
      transition: transform 0.25s, border-color 0.3s, box-shadow 0.3s;
      overflow: hidden;
      display: flex; flex-direction: column; gap: 10px;
    }
    .lockin-card:hover {
      transform: translateY(-3px);
      border-color: var(--lc-accent);
      box-shadow: 0 0 0 1px var(--lc-accent), 0 0 16px 2px color-mix(in srgb, var(--lc-accent) 30%, transparent);
    }
    .lockin-card::after {
      content: ''; position: absolute; bottom: 0; left: 50%;
      transform: translateX(-50%); width: 60%; height: 2px; border-radius: 2px;
      background: linear-gradient(90deg, transparent, var(--lc-accent), transparent);
      opacity: 0.4; transition: opacity 0.25s, width 0.25s;
    }
    .lockin-card:hover::after { opacity: 0.9; width: 85%; }

    /* ─── Bottom stat cards contour glow ────────────────────────── */
    .stat-glow-card {
      position: relative;
      transition: transform 0.25s, border-color 0.3s, box-shadow 0.3s;
    }
    .stat-glow-card:hover {
      transform: translateY(-3px);
      border-color: var(--sg-accent);
      box-shadow: 0 0 0 1px var(--sg-accent), 0 0 16px 2px color-mix(in srgb, var(--sg-accent) 30%, transparent);
    }

    .lockin-num {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 11px; color: var(--muted); letter-spacing: 0.1em;
    }
    .lockin-card h3 { font-size: 1.1rem; }
    .lockin-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

    /* ─── PRICING (paths) ────────────────────────────────────── */
    .path-tab-wrap { display: flex; justify-content: center; margin-bottom: 36px; }
    .path-tabs {
      display: inline-flex; gap: 4px;
      padding: 4px; border-radius: 10px;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
    }
    .path-tab {
      padding: 9px 18px; border-radius: 7px;
      font-size: 13px; font-weight: 600; color: var(--muted);
      background: transparent; border: none; cursor: pointer;
      transition: all 0.15s; font-family: var(--font);
      display: inline-flex; align-items: center; gap: 6px;
    }
    .path-tab:hover { color: var(--fg); }
    .path-tab.active { background: rgba(125,211,252,0.12); color: var(--accent); }
    .path-pane { display: none; }
    .path-pane.active { display: block; }
    .pricing-cards {
      display: grid; grid-template-columns: repeat(5, 1fr);
      gap: 14px; margin-bottom: 28px;
    }
    .pricing-card {
      padding: 20px; position: relative; overflow: hidden; text-align: left;
      transition: transform 0.2s;
      display: flex; flex-direction: column;
    }
    .pricing-card:hover { transform: translateY(-3px); }
    /* S18 audit recovery: light-theme box-shadow for .pricing-card.glass.
     * Source: v03/pricing.html L89-90. Was dropped during S14 CSS unification. */
    [data-theme="light"] .pricing-card.glass { box-shadow: 0 1px 12px rgba(0,0,0,0.05); }
    [data-theme="light"] .pricing-card.glass:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
    .tier-badge {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 5px 12px; border-radius: 999px;
      font-size: 12px; font-weight: 700; margin-bottom: 12px;
      border: 1px solid currentColor; align-self: flex-start;
    }
    .tier-badge.bronze  { color: var(--bronze);   background: rgba(205,127,50,0.1);  border-color: rgba(205,127,50,0.3); }
    .tier-badge.silver  { color: var(--silver);   background: rgba(168,181,200,0.1); border-color: rgba(168,181,200,0.3); }
    .tier-badge.gold    { color: var(--gold);     background: rgba(212,175,55,0.1);  border-color: rgba(212,175,55,0.3); }
    .tier-badge.platinum{ color: var(--platinum); background: rgba(158,196,232,0.1); border-color: rgba(158,196,232,0.3); }
    .tier-badge.diamond { color: var(--diamond);  background: rgba(168,216,234,0.1); border-color: rgba(168,216,234,0.3); }
    .tier-tagline { font-size: 0.9rem; font-weight: 600; color: var(--fg); margin-bottom: 4px; line-height: 1.25; }
    .tier-meta {
      font-size: 11px; color: var(--accent); font-weight: 600;
      letter-spacing: 0.04em; margin-bottom: 12px;
      font-variant-numeric: tabular-nums;
    }
    .tier-meta.lavender { color: var(--accent-2); }
    .tier-desc { font-size: 12px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
    .pricing-notes { text-align: center; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
    .pricing-note {
      font-size: 13px; color: var(--muted);
      display: flex; align-items: center; justify-content: center; gap: 6px;
    }
    .pricing-note::before { content: '—'; color: var(--border-md); }
    .pricing-cta { text-align: center; }

    /* ─── TIER SLIDER (interactive) ──────────────────────────── */
    .tier-slider-zone {
      padding: 36px 36px 28px;
      margin-bottom: 36px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.4s;
    }
    .tier-slider-zone::before {
      content: ''; position: absolute; inset: -2px;
      background: radial-gradient(800px 220px at var(--glow-x, 50%) -10%, var(--glow-color, var(--accent-glow)), transparent 70%);
      opacity: 0.6; pointer-events: none;
      transition: opacity 0.4s;
    }
    .tier-slider-zone::after {
      content: ''; position: absolute; inset: 0;
      pointer-events: none; opacity: 0.18;
      background: radial-gradient(circle at var(--thumb-x, 0%) 70%, var(--thumb-color, var(--accent)), transparent 25%);
      transition: opacity 0.4s;
    }
    .tsz-inner { position: relative; z-index: 2; }
    .tsz-header {
      display: flex; align-items: flex-start; justify-content: space-between;
      gap: 32px; flex-wrap: wrap; margin-bottom: 28px;
    }
    .tsz-display {
      display: flex; flex-direction: column; gap: 8px; min-width: 280px;
    }
    .tsz-tier-row {
      display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    }
    .tsz-tier-badge {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 6px 14px; border-radius: 999px;
      font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
      border: 1px solid currentColor;
      font-variant-numeric: tabular-nums;
      transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
    }
    .tsz-tier-badge[data-tier="bronze"]   { color: var(--bronze);   background: rgba(205,127,50,0.12);  border-color: rgba(205,127,50,0.4); }
    .tsz-tier-badge[data-tier="silver"]   { color: var(--silver);   background: rgba(168,181,200,0.12); border-color: rgba(168,181,200,0.4); }
    .tsz-tier-badge[data-tier="gold"]     { color: var(--gold);     background: rgba(212,175,55,0.12);  border-color: rgba(212,175,55,0.4); }
    .tsz-tier-badge[data-tier="platinum"] { color: var(--platinum); background: rgba(158,196,232,0.12); border-color: rgba(158,196,232,0.4); }
    .tsz-tier-badge[data-tier="diamond"]  { color: var(--diamond);  background: rgba(168,216,234,0.12); border-color: rgba(168,216,234,0.4); }
    .tsz-tier-badge.pulse { animation: tszPulse 0.5s ease; }
    @keyframes tszPulse {
      0%   { transform: scale(1); box-shadow: 0 0 0 0 currentColor; }
      40%  { transform: scale(1.08); box-shadow: 0 0 18px 4px currentColor; }
      100% { transform: scale(1); box-shadow: 0 0 0 0 currentColor; }
    }
    .tsz-tier-tagline {
      font-size: 12px; color: var(--muted);
      font-weight: 500; letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .tsz-amount {
      display: flex; align-items: baseline; gap: 6px;
      font-variant-numeric: tabular-nums;
      line-height: 1; margin-top: 6px;
    }
    .tsz-amount-prefix {
      font-size: 1.6rem; font-weight: 600; color: var(--muted);
      transform: translateY(-6px);
    }
    .tsz-amount-value {
      font-size: clamp(3rem, 6vw, 4.6rem);
      font-weight: 700; letter-spacing: -0.03em;
      background: linear-gradient(180deg, var(--fg) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 0 60px var(--accent-glow);
    }
    [data-theme="light"] .tsz-amount-value {
      background: linear-gradient(180deg, var(--fg) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .tsz-amount-unit {
      font-size: 1rem; color: var(--muted); font-weight: 500;
    }
    .tsz-formula {
      font-size: 13px; color: var(--muted);
      font-variant-numeric: tabular-nums;
    }
    .tsz-formula strong { color: var(--accent); font-weight: 600; }

    .tsz-benefits {
      align-self: stretch;
      display: flex; flex-direction: column; gap: 10px;
      min-width: 240px;
    }
    .tsz-benefits-title {
      font-size: 11px; color: var(--muted); letter-spacing: 0.16em;
      text-transform: uppercase; font-weight: 600;
    }
    .tsz-benefits-list {
      list-style: none; margin: 0; padding: 0;
      display: flex; flex-direction: column; gap: 6px;
    }
    .tsz-benefit-item {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 13px; color: var(--fg);
      padding: 6px 0;
      border-bottom: 1px dashed var(--border);
    }
    .tsz-benefit-item:last-child { border-bottom: none; }
    .tsz-benefit-check {
      color: var(--accent); font-weight: 700;
      flex-shrink: 0; margin-top: 1px;
    }

    /* slider track */
    .tsz-slider-wrap { padding: 4px 0 10px; }
    .tsz-slider-input-label {
      font-size: 11px; color: var(--muted);
      text-transform: uppercase; letter-spacing: 0.14em;
      margin-bottom: 14px; display: block;
    }
    .tsz-track-wrap {
      position: relative;
      height: 8px;
    }
    .tsz-track {
      position: relative; height: 8px; border-radius: 4px;
      background: linear-gradient(to right,
        var(--bronze)   0%,  var(--bronze)   18%,
        var(--silver)  22%,  var(--silver)   38%,
        var(--gold)    42%,  var(--gold)     58%,
        var(--platinum)62%,  var(--platinum) 78%,
        var(--diamond) 82%,  var(--diamond) 100%);
      box-shadow: 0 0 18px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.08);
    }
    .tsz-track::after {
      /* dim segment beyond the thumb */
      content: ''; position: absolute; top: -1px; bottom: -1px;
      left: calc(var(--progress, 0%));
      right: 0;
      background: var(--bg);
      opacity: 0.78;
      backdrop-filter: blur(2px);
      border-radius: 4px;
      transition: left 0.05s linear;
    }
    [data-theme="light"] .tsz-track::after { opacity: 0.7; }
    .tsz-slider {
      position: absolute;
      top: 0; left: 0; right: 0;
      width: 100%;
      height: 8px;
      margin: 0; padding: 0;
      background: transparent;
      -webkit-appearance: none; appearance: none;
      cursor: grab;
      z-index: 3;
    }
    .tsz-slider:active { cursor: grabbing; }
    .tsz-slider::-webkit-slider-runnable-track { background: transparent; height: 8px; }
    .tsz-slider::-moz-range-track { background: transparent; height: 8px; border: none; }
    .tsz-slider::-webkit-slider-thumb {
      -webkit-appearance: none; appearance: none;
      width: 26px; height: 26px;
      border-radius: 50%;
      background: var(--fg);
      border: 3px solid var(--thumb-color, var(--accent));
      box-shadow: 0 0 0 4px rgba(125,211,252,0.16), 0 0 28px var(--thumb-color, var(--accent));
      margin-top: -9px;
      cursor: grab;
      transition: transform 0.15s ease, box-shadow 0.25s ease, border-color 0.35s ease;
    }
    .tsz-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
    .tsz-slider:active::-webkit-slider-thumb {
      transform: scale(1.18);
      cursor: grabbing;
      box-shadow: 0 0 0 6px rgba(125,211,252,0.22), 0 0 36px var(--thumb-color, var(--accent));
    }
    .tsz-slider::-moz-range-thumb {
      width: 22px; height: 22px;
      border-radius: 50%;
      background: var(--fg);
      border: 3px solid var(--thumb-color, var(--accent));
      box-shadow: 0 0 0 4px rgba(125,211,252,0.16), 0 0 28px var(--thumb-color, var(--accent));
      cursor: grab;
      transition: transform 0.15s ease, box-shadow 0.25s ease, border-color 0.35s ease;
    }
    .tsz-slider:focus { outline: none; }
    .tsz-slider:focus-visible::-webkit-slider-thumb {
      box-shadow: 0 0 0 5px var(--accent-glow), 0 0 0 7px var(--accent), 0 0 36px var(--thumb-color, var(--accent));
    }

    .tsz-ticks {
      position: relative; height: 28px;
      margin-top: 14px;
    }
    .tsz-tick {
      position: absolute; top: 0;
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      transform: translateX(-50%);
    }
    .tsz-tick:nth-child(1) { left: 0%;  transform: translateX(0); align-items: flex-start; }
    .tsz-tick:nth-child(2) { left: 20%; }
    .tsz-tick:nth-child(3) { left: 40%; }
    .tsz-tick:nth-child(4) { left: 60%; }
    .tsz-tick:nth-child(5) { left: 80%; }
    .tsz-tick:nth-child(6) { left: 100%; transform: translateX(-100%); align-items: flex-end; }
    .tsz-tick-mark {
      width: 1px; height: 8px;
      background: var(--border-md);
    }
    .tsz-tick-label {
      font-size: 10px; color: var(--muted);
      letter-spacing: 0.06em;
      font-variant-numeric: tabular-nums;
      font-family: ui-monospace, Menlo, monospace;
      white-space: nowrap;
      transition: color 0.2s;
    }
    .tsz-tick.is-passed .tsz-tick-label { color: var(--fg); }

    .tsz-quick-jumps {
      display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap;
      justify-content: center;
    }
    .tsz-jump {
      padding: 6px 12px;
      border-radius: 7px;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      color: var(--muted);
      font-size: 12px; font-weight: 500;
      cursor: pointer;
      font-family: var(--font);
      font-variant-numeric: tabular-nums;
      transition: all 0.18s;
    }
    [data-theme="light"] .tsz-jump { background: rgba(0,0,0,0.03); }
    .tsz-jump:hover {
      color: var(--fg);
      border-color: var(--accent);
      background: rgba(125,211,252,0.08);
    }
    .tsz-jump.active {
      color: var(--accent);
      border-color: var(--accent);
      background: rgba(125,211,252,0.12);
    }

    /* Match the matching pricing card while sliding */
    .pricing-card.is-active-tier {
      transform: translateY(-6px);
      border-color: var(--accent);
      box-shadow: 0 18px 50px rgba(125,211,252,0.18), 0 0 0 1px var(--accent);
    }
    .pricing-card.is-active-tier::after {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 60%);
      pointer-events: none;
      opacity: 0.55;
    }
    .pricing-card { transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }

    /* ─── PROOF BLOCK ────────────────────────────────────────── */
    .proof-grid {
      display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px;
      align-items: stretch;
    }
    .proof-quote-card {
      padding: 32px; display: flex; flex-direction: column; gap: 18px;
      position: relative; overflow: hidden;
    }
    .proof-quote {
      font-size: 1.15rem; line-height: 1.5; color: var(--fg);
      font-weight: 500; letter-spacing: -0.01em;
    }
    .proof-author {
      display: flex; align-items: center; gap: 12px;
      padding-top: 16px; border-top: 1px solid var(--border);
    }
    .proof-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      background: linear-gradient(135deg, var(--accent-2), var(--accent));
      flex-shrink: 0;
      display: grid; place-items: center;
      font-size: 14px; font-weight: 700; color: #0a0e1a;
    }
    .proof-author-name { font-size: 13px; font-weight: 600; color: var(--fg); }
    .proof-author-role { font-size: 11px; color: var(--muted); margin-top: 1px; }
    .placeholder-tag {
      position: absolute; top: 14px; right: 14px;
      font-size: 9px; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--muted);
      padding: 3px 7px; border-radius: 4px;
      background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    }
    .proof-logos-card {
      padding: 28px; display: flex; flex-direction: column; gap: 14px;
      position: relative; overflow: hidden;
    }
    .proof-logos-title {
      font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--muted);
    }
    .proof-logos-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
      flex: 1;
    }
    .proof-logo-slot {
      border-radius: 8px;
      background: rgba(255,255,255,0.02);
      border: 1px dashed var(--border-md);
      display: grid; place-items: center;
      font-size: 11px; color: var(--muted);
      min-height: 50px;
      letter-spacing: 0.04em;
    }

    /* ─── FAQ ────────────────────────────────────────────────── */
    .faq-list {
      max-width: 820px; margin: 0 auto;
      display: flex; flex-direction: column; gap: 12px;
    }
    .faq-item {
      padding: 18px 24px;
      cursor: pointer;
      transition: border-color 0.15s;
    }
    .faq-item:hover { border-color: var(--border-md); }
    .faq-q {
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px;
      font-size: 15px; font-weight: 600; color: var(--fg);
      line-height: 1.4;
    }
    .faq-toggle {
      width: 22px; height: 22px; border-radius: 50%;
      background: rgba(125,211,252,0.1);
      border: 1px solid rgba(125,211,252,0.22);
      color: var(--accent);
      display: grid; place-items: center;
      font-size: 14px; line-height: 1;
      transition: transform 0.2s;
      flex-shrink: 0;
    }
    .faq-item.open .faq-toggle { transform: rotate(45deg); }
    .faq-a {
      max-height: 0; overflow: hidden;
      font-size: 14px; color: var(--muted); line-height: 1.7;
      transition: max-height 0.25s ease, padding-top 0.25s ease;
    }
    .faq-item.open .faq-a {
      max-height: 280px;
      padding-top: 12px;
    }

    /* ─── FINAL CTA ──────────────────────────────────────────── */
    .final-cta { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
    .final-cta::before {
      content: ''; position: absolute; top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 600px; height: 400px; border-radius: 50%;
      background: radial-gradient(ellipse, rgba(125,211,252,0.06) 0%, transparent 70%);
      pointer-events: none;
    }
    .final-cta h2 { margin-bottom: 20px; }
    .final-cta p { font-size: 1.05rem; color: var(--muted); margin-bottom: 40px; }
    .cta-features {
      display: flex; align-items: center; justify-content: center;
      gap: 32px; margin-top: 28px; flex-wrap: wrap;
    }
    .cta-feature { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
    .cta-check {
      width: 18px; height: 18px; border-radius: 50%;
      background: rgba(52,211,153,0.12);
      border: 1px solid rgba(52,211,153,0.25);
      display: grid; place-items: center;
      font-size: 10px; color: #34d399; flex-shrink: 0;
    }

    /* ─── FOOTER ─────────────────────────────────────────────── */
    footer { border-top: 1px solid var(--border); padding: 64px 0 40px; }
    .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
    .footer-brand .footer-logo { font-size: 18px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 12px; }
    .footer-brand .footer-logo span { color: var(--accent); }
    .footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
    .footer-relay-link {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 12px; color: var(--muted);
      border: 1px solid var(--border); padding: 5px 10px; border-radius: 6px;
      transition: all 0.2s;
    }
    .footer-relay-link:hover { color: var(--accent); border-color: rgba(125,211,252,0.3); }
    .footer-col h4 {
      font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
      text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
    }
    .footer-col ul { display: flex; flex-direction: column; gap: 10px; }
    .footer-col ul li a { font-size: 14px; color: rgba(232,234,240,0.6); transition: color 0.15s; }
    .footer-col ul li a:hover { color: var(--fg); }
    .footer-bottom {
      border-top: 1px solid var(--border); padding-top: 24px;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom p { font-size: 13px; color: var(--muted); }

    /* ─── Mobile menu ────────────────────────────────────────── */
    .mobile-menu {
      display: none; position: fixed; inset: 0; z-index: 200;
      background: rgba(10,14,26,0.97);
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      flex-direction: column; align-items: center; justify-content: center; gap: 32px;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { font-size: 24px; font-weight: 700; color: var(--fg); transition: color 0.15s; }
    .mobile-menu a:hover { color: var(--accent); }
    .mobile-menu-close {
      position: absolute; top: 20px; right: 24px;
      background: none; border: none; color: var(--muted);
      font-size: 28px; cursor: pointer;
    }

    /* ─── Responsive ─────────────────────────────────────────── */
    @media (max-width: 1100px) {
      .pricing-cards { grid-template-columns: repeat(3, 1fr); }
      .usecase-grid { grid-template-columns: repeat(2, 1fr); }
      .lockin-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; gap: 48px; }
      .hero-visual { display: none; }
      .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
      .layer-diagram { grid-template-columns: 1fr; gap: 40px; }
      .features-bento { grid-template-columns: 1fr; }
      .collection-grid { grid-template-columns: 1fr; }
      .compare-grid { grid-template-columns: 1.2fr 1fr 1fr; }
      .pq-card { padding: 40px 32px; }
      .proof-grid { grid-template-columns: 1fr; }
      .pricing-cards { grid-template-columns: repeat(2, 1fr); }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
      .footer-brand { grid-column: 1 / -1; }
      .nav-links { display: none; }
      .nav-cta { display: none; }
      .nav-hamburger { display: flex; }
    }
    @media (max-width: 900px) {
      .cs-stage { height: 680px; }
      .cs-scenario { font-size: 12px; padding: 14px 18px; }
      .cs-panel { padding: 24px 20px 64px; }
      .cs-labels > div { padding: 14px 18px; font-size: 12px; }
      .cs-label-num { font-size: 18px; }
      .cs-followups .cs-chip { font-size: 11px; padding: 5px 9px; }
      .cs-autofy-text { font-size: 13px; }
      .cs-citation { grid-template-columns: 24px 1fr; }
      .cs-citation .cs-cite-pill { grid-column: 2; justify-self: start; margin-top: 4px; }
    }
    @media (max-width: 600px) {
      .usecase-grid { grid-template-columns: 1fr; }
      .lockin-grid { grid-template-columns: 1fr 1fr; }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 16px; justify-items: center; }
      .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
        display: flex; flex-direction: column;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
        width: 100%;
      }
      .footer-brand p { max-width: 300px; }
      .footer-col { text-align: center; width: 100%; }
      .footer-col ul { align-items: center; }
      .footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
      .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding-top: 20px;
      }
      .section { padding: 64px 0; }
      .layer-section, .pq-section { padding: 56px 0; }
      h1 { font-size: 2rem; }
      .compare-grid { font-size: 12px; }
      .compare-grid > div { padding: 14px 12px; }
      .path-tab { padding: 8px 12px; font-size: 12px; }
      .cs-stage { height: 760px; }
      .cs-handle { width: 44px; height: 44px; }
      .cs-handle svg { width: 16px; height: 16px; }
      .cs-drive-frustration, .cs-autofy-flow { padding: 12px 18px; font-size: 12px; flex-direction: column; align-items: flex-start; gap: 4px; }
      /* trust strip collapses to 2×2 on mobile */
      .trust-strip { grid-template-columns: 1fr 1fr !important; }
      /* early access 2-col collapses to 1-col on mobile */
      .early-access-grid { grid-template-columns: 1fr !important; padding: 40px 28px !important; }
    }
    @media (max-width: 900px) {
      .trust-strip { grid-template-columns: 1fr 1fr !important; }
      .early-access-grid { padding: 48px 40px !important; }
    }

    /* ─── Demo section responsive grids ─────────────────────── */
    .demo-split-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
    }
    .demo-why-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    }
    @media (max-width: 860px) {
      .demo-split-grid { grid-template-columns: 1fr; gap: 40px; }
      .demo-why-grid   { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 540px) {
      .demo-why-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 480px) {
      .pricing-cards { grid-template-columns: 1fr !important; }
    }

/* ============================================================
 * SECTION 5: FEATURES-PAGE BLOCKS
 * Sourced from v03/features.html <style> block (lines 162-575 only;
 * shared tokens/reset/nav/buttons/footer/responsive already in index.css base)
 * ============================================================ */

    /* ─── HERO ────────────────────────────────────────────────── */
    .room-hero {
      padding-top: 140px;
      padding-bottom: 44px;
      text-align: center;
    }
    .room-hero .eyebrow { margin-bottom: 16px; }
    .room-hero h1 { margin-bottom: 16px; max-width: 640px; margin-left: auto; margin-right: auto; }
    .room-hero p { font-size: 1.05rem; color: var(--muted); max-width: 480px; margin: 0 auto; }
    .room-hero-hint {
      margin-top: 16px;
      font-size: 12px; color: var(--muted); opacity: 0.5;
      display: flex; align-items: center; justify-content: center; gap: 5px;
    }

    /* ─── FILTER ROW ──────────────────────────────────────────── */
    .filter-row {
      position: sticky;
      top: 64px;
      z-index: 80;
      background: rgba(10,14,26,0.9);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 10px 0;
    }
    .filter-pills {
      display: flex; gap: 6px;
      overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
      padding-bottom: 1px;
    }
    .filter-pills::-webkit-scrollbar { display: none; }
    .filter-pill {
      flex-shrink: 0;
      padding: 6px 16px; border-radius: 999px;
      font-size: 13px; font-weight: 500;
      cursor: pointer; border: 1px solid var(--border);
      background: transparent; color: var(--muted);
      font-family: var(--font); transition: all 0.15s; white-space: nowrap;
    }
    .filter-pill:hover { color: var(--fg); background: rgba(255,255,255,0.06); }
    .filter-pill.active { background: var(--accent); color: #0a0e1a; border-color: transparent; font-weight: 600; }

    /* ─── FEATURE ROOM ────────────────────────────────────────── */
    .feature-room { padding: 36px 0 100px; }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
      gap: 14px;
    }

    /* ─── FEATURE CARD ────────────────────────────────────────── */
    .feature-card {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 20px;
      cursor: pointer;
      transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
      display: flex; flex-direction: column; gap: 9px;
      animation: cardIn 0.18s ease both;
    }
    @keyframes cardIn {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .feature-card:hover {
      border-color: var(--border-md);
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    }
    .feature-card.selected {
      border-color: rgba(125,211,252,0.38);
      background: rgba(125,211,252,0.06);
      box-shadow: 0 0 0 1px rgba(125,211,252,0.18), 0 6px 28px rgba(125,211,252,0.08);
    }

    .card-icon {
      width: 36px; height: 36px; border-radius: 9px;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .card-icon svg { display: block; }
    .card-name { font-size: 14px; font-weight: 600; color: var(--fg); line-height: 1.3; }
    .card-outcome { font-size: 12px; color: var(--muted); line-height: 1.55; flex: 1; }
    .card-tag {
      align-self: flex-start;
      padding: 3px 9px; border-radius: 999px;
      font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    }

    /* ─── STAGE BADGE ────────────────────────────────────────── */
    .feature-card { position: relative; }
    .stage-badge {
      position: absolute; top: 10px; right: 10px;
      padding: 2px 7px; border-radius: 999px;
      font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
      pointer-events: none; white-space: nowrap;
    }
    .stage-public-beta  { background: rgba(52,211,153,0.12);  color: #34d399; border: 1px solid rgba(52,211,153,0.22);  }
    .stage-private-beta { background: rgba(251,191,36,0.12);   color: #fbbf24; border: 1px solid rgba(251,191,36,0.22);   }
    .stage-internal     { background: rgba(148,163,184,0.1);   color: #94a3b8; border: 1px solid rgba(148,163,184,0.18); }
    .stage-deferred     { background: rgba(248,113,113,0.1);   color: #f87171; border: 1px solid rgba(248,113,113,0.18); }
    /* Panel header stage pill */
    .panel-stage-pill {
      display: inline-flex; align-items: center;
      padding: 2px 8px; border-radius: 999px;
      font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
      margin-bottom: 8px;
    }

    /* ─── DETAIL PANEL ────────────────────────────────────────── */
    .detail-panel {
      position: fixed;
      top: 64px; right: 0;
      width: 440px;
      height: calc(100vh - 64px);
      transform: translateX(105%);
      transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
      overflow-y: auto;
      z-index: 90;
      background: rgba(10,14,26,0.98);
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      border-left: 1px solid var(--border-md);
      scrollbar-width: thin;
      scrollbar-color: rgba(255,255,255,0.1) transparent;
    }
    .detail-panel.open { transform: translateX(0); }

    .sheet-handle {
      display: none;
      width: 36px; height: 4px; border-radius: 2px;
      background: rgba(255,255,255,0.18);
      margin: 14px auto 0;
    }

    .panel-header {
      position: sticky; top: 0;
      background: rgba(10,14,26,0.98);
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 20px 24px 22px;
      z-index: 10;
    }

    /* Breadcrumb nav row — category label + prev/next arrows */
    .panel-nav {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 14px;
    }
    .panel-breadcrumb {
      display: flex; align-items: center; gap: 6px;
      font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .panel-breadcrumb-dot {
      width: 6px; height: 6px; border-radius: 50%;
      display: inline-block; flex-shrink: 0;
    }
    .panel-nav-arrows { display: flex; gap: 4px; }
    .panel-nav-btn {
      width: 26px; height: 26px; border-radius: 6px;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border);
      color: var(--muted); cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; transition: all 0.15s; font-family: var(--font);
      line-height: 1;
    }
    .panel-nav-btn:hover:not([disabled]) { background: rgba(255,255,255,0.1); color: var(--fg); }
    .panel-nav-btn[disabled] { opacity: 0.25; cursor: default; }

    .panel-header-row {
      display: flex; align-items: flex-start;
      justify-content: space-between; gap: 12px;
    }
    .panel-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
    .panel-close {
      width: 30px; height: 30px; border-radius: 50%;
      background: rgba(255,255,255,0.06);
      border: 1px solid var(--border);
      color: var(--muted); cursor: pointer; font-size: 14px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: all 0.15s; font-family: var(--font);
    }
    .panel-close:hover { background: rgba(255,255,255,0.1); color: var(--fg); }

    /* Panel body — editorial layout */
    .panel-body { padding: 0; }
    .panel-section {
      padding: 22px 24px;
      border-top: 1px solid var(--border);
      opacity: 0;
      transform: translateY(6px);
      animation: panel-section-in 0.3s ease forwards;
    }
    .panel-section:first-child { border-top: none; }
    .panel-section:nth-child(1) { animation-delay: 0.04s; }
    .panel-section:nth-child(2) { animation-delay: 0.09s; }
    .panel-section:nth-child(3) { animation-delay: 0.14s; }
    .panel-section:nth-child(4) { animation-delay: 0.19s; }
    .panel-section:nth-child(5) { animation-delay: 0.23s; }
    .panel-section:nth-child(6) { animation-delay: 0.27s; }

    @keyframes panel-section-in {
      to { opacity: 1; transform: translateY(0); }
    }

    /* Section label — magazine kicker style */
    .panel-label {
      font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--muted);
      margin-bottom: 10px;
    }
    .panel-text { font-size: 13.5px; color: var(--fg); line-height: 1.75; }
    .panel-text.dim { color: rgba(232,234,240,0.65); }

    /* Example — large open quote, typographic */
    .panel-example-quote {
      font-size: 13.5px; color: var(--fg); line-height: 1.7;
      font-style: italic;
      padding-left: 16px;
      border-left: 1px solid var(--border-md);
    }

    .panel-related-wrap { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
    .related-chip {
      padding: 4px 10px; border-radius: 4px;
      font-size: 11.5px; font-weight: 500;
      background: transparent; border: 1px solid var(--border);
      color: var(--muted); cursor: pointer; transition: all 0.15s;
      font-family: var(--font);
    }
    .related-chip:hover { color: var(--accent); border-color: rgba(125,211,252,0.3); }

    /* Panel icon badge */
    .panel-icon-badge {
      width: 44px; height: 44px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; margin-bottom: 14px;
    }

    /* Demo card — chatbot UI */
    .panel-demo-card {
      background: rgba(5, 9, 20, 0.92);
      border: 1px solid rgba(125,211,252,0.14);
      border-radius: 16px;
      overflow: hidden;
      margin-top: 10px;
      display: flex; flex-direction: column;
    }
    /* Chat header */
    .chat-header {
      display: flex; align-items: center; gap: 9px;
      padding: 11px 14px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      background: rgba(255,255,255,0.025);
    }
    .chat-avatar {
      width: 26px; height: 26px; border-radius: 8px;
      background: linear-gradient(135deg, rgba(125,211,252,0.4), rgba(167,139,250,0.4));
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; flex-shrink: 0;
    }
    .chat-name { font-size: 12px; font-weight: 600; color: rgba(232,234,240,0.9); }
    .chat-status {
      margin-left: auto; display: flex; align-items: center; gap: 5px;
      font-size: 10.5px; color: rgba(52,211,153,0.9); letter-spacing: 0.02em;
    }
    .chat-status-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: rgba(52,211,153,0.9);
    }
    /* Messages area */
    .chat-messages {
      padding: 12px 14px;
      display: flex; flex-direction: column; gap: 8px;
      min-height: 80px;
    }
    .chat-msg {
      max-width: 88%; font-size: 12.5px; line-height: 1.6;
      border-radius: 12px; padding: 9px 12px;
      opacity: 0; transform: translateY(6px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .chat-msg.visible { opacity: 1; transform: translateY(0); }
    .chat-msg.user {
      align-self: flex-end;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.09);
      color: rgba(232,234,240,0.9);
    }
    .chat-msg.ai {
      align-self: flex-start;
      background: rgba(125,211,252,0.07);
      border: 1px solid rgba(125,211,252,0.16);
      color: rgba(232,234,240,0.88);
    }
    /* Typing indicator */
    .typing-indicator {
      align-self: flex-start; display: flex; align-items: center; gap: 4px;
      padding: 10px 14px; border-radius: 12px;
      background: rgba(125,211,252,0.07); border: 1px solid rgba(125,211,252,0.16);
      opacity: 0; transition: opacity 0.25s ease;
    }
    .typing-indicator.visible { opacity: 1; }
    .typing-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent); opacity: 0.5;
      animation: typingBounce 1.2s ease-in-out infinite;
    }
    .typing-dot:nth-child(2) { animation-delay: 0.15s; }
    .typing-dot:nth-child(3) { animation-delay: 0.3s; }
    @keyframes typingBounce {
      0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
      30% { transform: translateY(-5px); opacity: 1; }
    }
    /* Source chip */
    .chat-source {
      align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
      margin-top: -2px; padding: 5px 9px; border-radius: 8px;
      background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
      font-size: 10.5px; color: rgba(232,234,240,0.45);
      opacity: 0; transition: opacity 0.4s ease;
    }
    .chat-source.visible { opacity: 1; }
    /* Input bar */
    .chat-input-bar {
      display: flex; align-items: center; gap: 8px;
      padding: 9px 12px;
      border-top: 1px solid rgba(255,255,255,0.06);
      background: rgba(255,255,255,0.02);
    }
    .chat-input-field {
      flex: 1; background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 9px; padding: 7px 10px;
      font-size: 12px; color: rgba(232,234,240,0.8);
      font-family: inherit;
    }
    .chat-send-btn {
      width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
      background: var(--accent); border: 0; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: opacity 0.2s;
    }
    .chat-send-btn:disabled { opacity: 0.35; cursor: default; }
    .chat-replay-btn {
      position: absolute; top: 8px; right: 10px;
      font-size: 10px; color: rgba(125,211,252,0.55); background: none; border: 0;
      cursor: pointer; letter-spacing: 0.05em; padding: 2px 4px;
      transition: color 0.2s;
    }
    .chat-replay-btn:hover { color: var(--accent); }

    /* Checklist — Why teams use this */
    .panel-checklist { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
    .checklist-item {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 12px 14px; border-radius: 12px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
    }
    .checklist-check {
      width: 18px; height: 18px; border-radius: 50%;
      background: rgba(52,211,153,0.15);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; margin-top: 1px;
    }
    .checklist-check svg { display: block; }
    .checklist-text { font-size: 12.5px; color: rgba(232,234,240,0.8); line-height: 1.6; }

    /* How it works — 3-step flow */
    .panel-steps {
      display: flex; align-items: center; gap: 6px;
      margin-top: 10px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      border-radius: 14px; padding: 14px;
    }
    .step-item {
      flex: 1; display: flex; flex-direction: column;
      align-items: center; gap: 6px; text-align: center;
    }
    .step-bubble {
      width: 30px; height: 30px; border-radius: 50%;
      background: rgba(125,211,252,0.1);
      border: 1px solid rgba(125,211,252,0.2);
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700; color: var(--accent);
    }
    .step-label { font-size: 10.5px; color: rgba(232,234,240,0.65); line-height: 1.4; }
    .step-connector { color: var(--border-md); font-size: 14px; flex-shrink: 0; margin-top: -12px; }

    /* Sticky CTA at bottom of panel */
    .panel-sticky-cta {
      position: sticky; bottom: 0;
      background: rgba(10,14,26,0.98);
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      border-top: 1px solid var(--border);
      padding: 18px 24px;
      z-index: 5;
    }
    .panel-sticky-cta .cta-row {
      display: flex; gap: 8px; margin-bottom: 10px;
    }
    .panel-sticky-cta .cta-row .btn { flex: 1; justify-content: center; }
    .panel-sticky-cta .cta-note {
      font-size: 11px; color: var(--muted); text-align: center; opacity: 0.7;
    }

    /* ─── OVERLAY (S18 audit recovery — was missing from autofy.css; v03/features.html L587-593) ─── */
    /* Mobile dimming overlay that sits behind the detail-panel bottom-sheet.
     * Toggled by features-drawer.js (.classList.add/remove('visible') on #room-overlay).
     * Without this, the bottom-sheet appears with no dim backdrop on mobile. */
    .room-overlay {
      position: fixed; inset: 0;
      background: rgba(0,0,0,0.52);
      z-index: 85; opacity: 0; pointer-events: none;
      transition: opacity 0.32s;
    }
    .room-overlay.visible { opacity: 1; pointer-events: auto; }

    /* ─── Features-page mobile RWD (S17 Task A — S382-D19 audit reconciliation) ─── */
    /* Source: v03/features.html @media blocks lines 622-664. */
    /* CRITICAL UX: detail-panel becomes BOTTOM-SHEET on mobile (slides up from bottom), */
    /* not a right-side drawer. Without this override, the drawer sits half-off-screen. */
    @media (max-width: 900px) {
      .feature-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    }
    @media (max-width: 768px) {
      .detail-panel {
        top: auto; bottom: 0; left: 0; right: 0;
        width: 100%; height: 80vh;
        transform: translateY(110%);
        border-left: none;
        border-top: 1px solid var(--border-md);
        border-radius: 20px 20px 0 0;
      }
      .detail-panel.open { transform: translateY(0); }
      .sheet-handle { display: block; }
      .feature-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
    }
    @media (max-width: 480px) {
      .feature-grid { grid-template-columns: 1fr 1fr; }
    }


/* ============================================================
 * SECTION 6: PRICING-PAGE BLOCKS (unique selectors)
 * Sourced from v03/pricing.html <style> block.
 * NOTE: TIER SLIDER (.tsz-*), PATHS (.path-tabs), buttons, nav, tokens
 * already covered by index.css base (pricing teaser on home reuses them).
 * Only pricing-page-unique blocks appended here:
 *   - pricing explainer (204-234)
 *   - soulmate card grid (235-268)
 *   - add-ons (593-625)
 * ============================================================ */

/* Pricing explainer */
    /* ─── Pricing explainer ──────────────────────────────────── */
    .pricing-explainer {
      max-width: 860px; margin: 0 auto 80px;
      background: rgba(125,211,252,0.04);
      border: 1px solid rgba(125,211,252,0.12);
      border-radius: 20px; padding: 40px 48px;
    }
    .explainer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
    .explainer-text h3 { margin-bottom: 14px; }
    .explainer-text p { font-size: 14px; color: var(--muted); line-height: 1.7; }
    .explainer-layers { display: flex; flex-direction: column; gap: 8px; }
    .layer-card {
      display: flex; align-items: center; gap: 12px;
      padding: 12px 16px; border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--surface);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    }
    .layer-card.layer-relay { border-color: rgba(200,160,240,0.25); background: rgba(200,160,240,0.05); }
    .layer-card.layer-autofy { border-color: rgba(125,211,252,0.2); background: rgba(125,211,252,0.04); }
    .layer-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
    .layer-icon.relay-icon { background: rgba(200,160,240,0.12); }
    .layer-icon.autofy-icon { background: rgba(125,211,252,0.1); }
    .layer-text {}
    .layer-title { font-size: 13px; font-weight: 700; color: var(--fg); }
    .layer-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
    .layer-connector { display: flex; align-items: center; gap: 6px; padding-left: 26px; color: var(--muted); font-size: 11px; }

    /* ─── Section divider ────────────────────────────────────── */
    .section-divider { height: 1px; background: var(--border); margin: 0; }


/* Relay Soulmate section (pricing top) */
    /* ─── Relay Soulmate section ─────────────────────────────── */
    .soulmate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
    .soulmate-card {
      background: var(--surface);
      backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid rgba(200,160,240,0.2);
      border-radius: 20px; padding: 36px;
      position: relative; overflow: hidden;
    }
    .soulmate-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
    }
    .soulmate-price { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; color: var(--fg); line-height: 1; margin: 16px 0 4px; }
    .soulmate-price span { font-size: 18px; font-weight: 500; color: var(--muted); }
    .soulmate-tagline { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
    .soulmate-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
    .sf-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg); }
    .sf-check { width: 16px; height: 16px; border-radius: 50%; background: rgba(200,160,240,0.15); border: 1px solid rgba(200,160,240,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .sf-check svg { width: 8px; height: 8px; }
    .soulmate-note { font-size: 12px; color: var(--muted); padding: 12px 14px; background: rgba(200,160,240,0.05); border: 1px solid rgba(200,160,240,0.12); border-radius: 10px; line-height: 1.6; }

    .volume-table-wrap h3 { margin-bottom: 6px; }
    .volume-table-wrap p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
    .vol-table { width: 100%; border-collapse: collapse; }
    .vol-table th { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border); }
    .vol-table td { font-size: 13px; padding: 12px 12px; border-bottom: 1px solid var(--border); color: var(--fg); font-variant-numeric: tabular-nums; }
    .vol-table tr:last-child td { border-bottom: none; }
    .vol-badge {
      display: inline-flex; padding: 2px 8px; border-radius: 5px; font-size: 11px; font-weight: 600;
      background: rgba(200,160,240,0.1); color: var(--accent-2); border: 1px solid rgba(200,160,240,0.2);
    }
    .vol-price { font-weight: 700; color: var(--accent); }


/* Add-ons grid (pricing page) */
    /* ─── Add-ons ────────────────────────────────────────────── */
    .addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .addon-card {
      background: var(--surface);
      backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      border-radius: 16px; padding: 28px 24px;
    }
    .addon-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; background: rgba(125,211,252,0.08); border: 1px solid rgba(125,211,252,0.15); }
    .addon-name { font-size: 15px; font-weight: 700; color: var(--fg); margin-bottom: 6px; }
    .addon-price { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
    .addon-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
    .wp-tiers { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
    .wp-tier-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; border-radius: 7px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
    .wp-tier-name { font-size: 11px; font-weight: 600; color: var(--fg); }
    .wp-tier-sub { font-size: 10px; color: var(--muted); }
    .wp-tier-price { font-size: 12px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

    /* ─── FAQ ────────────────────────────────────────────────── */
    .faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; }
    .faq-item { border-bottom: 1px solid var(--border); }
    .faq-q {
      width: 100%; display: flex; align-items: center; justify-content: space-between;
      padding: 20px 0; font-size: 15px; font-weight: 600; color: var(--fg);
      background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font);
      gap: 16px;
    }
    .faq-q svg { flex-shrink: 0; color: var(--muted); transition: transform 0.25s; }
    .faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--accent); }
    .faq-a {
      display: none; padding: 0 0 20px; font-size: 14px; color: var(--muted); line-height: 1.7;
    }
    .faq-item.open .faq-a { display: block; }

    /* ─── Pricing-page mobile RWD (S17 Task A — S382-D19 audit reconciliation) ─── */
    /* Source: v03/pricing.html @media blocks lines 594-682. Smoking-gun: .explainer-grid */
    /* mobile override at line 667 was dropped during Phase 1 CSS dedupe. */
    @media (max-width: 960px) {
      .pricing-cards { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 860px) {
      .explainer-grid { grid-template-columns: 1fr; }
      .soulmate-grid { grid-template-columns: 1fr; }
      .addons-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      .pricing-cards { grid-template-columns: repeat(2, 1fr); }
      .tsz-header { flex-direction: column; }
      .tsz-benefits { min-width: unset; }
    }
    @media (max-width: 600px) {
      .pricing-explainer { padding: 28px 20px; }
      .addons-grid { grid-template-columns: 1fr; }
    }

/* ============================================================
 * SECTION 7: ABOUT-PAGE BLOCKS
 * Sourced from v03/about.html <style> block (lines 283-546).
 * All page-specific selectors prefixed with `body.page-about` to
 * prevent collision with index.css's same-named selectors (.hero,
 * .hero-inner, .hero-visual, .final-cta, .section).
 * NOTE: page-about-specific selectors only — .platform-*, .connector-*,
 * .values-grid, .value-card, .value-icon, .value-prop, .story DO NOT
 * collide with index but kept prefixed for consistency.
 * ============================================================ */

    /* HERO */
    body.page-about .hero {
      padding: 160px 0 100px;
      position: relative;
      z-index: 1;
    }
    body.page-about .hero-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }
    body.page-about .hero-eyebrow { margin-bottom: 20px; }
    body.page-about .hero h1 {
      font-size: clamp(36px, 5vw, 58px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -1.5px;
      margin-bottom: 24px;
    }
    body.page-about .hero-sub {
      font-size: 18px;
      color: var(--muted);
      line-height: 1.65;
      max-width: 480px;
    }

    /* HERO CANVAS */
    body.page-about .hero-visual {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    body.page-about .hero-canvas-wrap {
      position: relative;
      width: 100%;
      max-width: 500px;
      border-radius: 20px;
      overflow: hidden;
    }
    body.page-about .hero-canvas-wrap canvas {
      display: block;
      width: 100%;
      height: 360px;
    }

    /* STORY */
    body.page-about .story {
      text-align: center;
    }
    body.page-about .story-inner {
      max-width: 700px;
      margin: 0 auto;
    }
    body.page-about .story blockquote {
      font-size: clamp(22px, 3vw, 30px);
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -0.5px;
      color: var(--fg);
      margin-bottom: 40px;
      font-style: italic;
    }
    body.page-about .story blockquote::before { content: "\201C"; color: var(--accent); }
    body.page-about .story blockquote::after { content: "\201D"; color: var(--accent); }
    body.page-about .story p {
      font-size: 17px;
      color: var(--muted);
      line-height: 1.75;
      margin-bottom: 24px;
    }
    body.page-about .story p:last-child { margin-bottom: 0; }

    /* PLATFORM */
    body.page-about .platform-header {
      text-align: center;
      margin-bottom: 64px;
    }
    body.page-about .platform-header h2 {
      font-size: clamp(30px, 4vw, 46px);
      font-weight: 800;
      letter-spacing: -1px;
      margin-bottom: 16px;
    }
    body.page-about .platform-header p {
      font-size: 17px;
      color: var(--muted);
    }

    body.page-about .platform-diagram {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      position: relative;
      margin-bottom: 40px;
    }
    body.page-about .platform-card {
      width: 260px;
      padding: 36px 32px;
      text-align: center;
      flex-shrink: 0;
    }
    body.page-about .platform-card-icon {
      width: 52px;
      height: 52px;
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 14px;
      background: var(--accent-glow);
      border: 1px solid var(--border-md);
    }
    body.page-about .platform-card-icon.accent-2 {
      background: var(--accent-2g);
    }
    body.page-about .platform-card h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 10px;
      letter-spacing: -0.3px;
    }
    body.page-about .platform-card p {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.6;
    }

    body.page-about .connector {
      position: relative;
      width: 120px;
      height: 2px;
      flex-shrink: 0;
    }
    body.page-about .connector-line {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(90deg, var(--accent), var(--accent-2));
      box-shadow: 0 0 8px var(--accent-glow);
    }
    body.page-about .connector-dot {
      position: absolute;
      top: 50%;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--accent);
      transform: translateY(-50%);
      box-shadow: 0 0 12px var(--accent);
      animation: travel-line 2.4s ease-in-out infinite;
    }
    @keyframes travel-line {
      0% { left: 0; opacity: 0; }
      8% { opacity: 1; }
      92% { opacity: 1; }
      100% { left: calc(100% - 10px); opacity: 0; }
    }

    body.page-about .platform-note {
      text-align: center;
      max-width: 560px;
      margin: 0 auto;
      font-size: 15px;
      color: var(--muted);
      line-height: 1.7;
    }
    body.page-about .platform-note strong { color: var(--fg); font-weight: 600; }

    /* VALUES */
    body.page-about .values-header {
      text-align: center;
      margin-bottom: 56px;
    }
    body.page-about .values-header h2 {
      font-size: clamp(28px, 4vw, 42px);
      font-weight: 800;
      letter-spacing: -0.8px;
    }

    body.page-about .values-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    body.page-about .value-card {
      padding: 36px 32px;
    }
    body.page-about .value-icon {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      background: var(--accent-glow);
      border: 1px solid var(--border-md);
      margin-bottom: 24px;
    }
    body.page-about .value-card:nth-child(2) .value-icon {
      background: var(--accent-2g);
    }
    body.page-about .value-card:nth-child(3) .value-icon {
      background: rgba(125,211,252,0.1);
    }
    body.page-about .value-card h3 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
      letter-spacing: -0.2px;
    }
    body.page-about .value-card p {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.7;
    }

    /* VALUE PROP / DARK BAND */
    body.page-about .value-prop {
      background: linear-gradient(135deg, rgba(10,14,26,0.9) 0%, rgba(5,8,18,0.95) 100%);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    body.page-about .value-prop-inner {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }
    body.page-about .value-prop h2 {
      font-size: clamp(30px, 4vw, 46px);
      font-weight: 800;
      letter-spacing: -1px;
      margin-bottom: 28px;
    }
    body.page-about .value-prop p {
      font-size: 17px;
      color: var(--muted);
      line-height: 1.75;
      margin-bottom: 20px;
    }
    body.page-about .value-prop p:last-child { margin-bottom: 0; }

    /* FINAL CTA */
    body.page-about .final-cta {
      text-align: center;
    }
    body.page-about .final-cta h2 {
      font-size: clamp(28px, 4vw, 42px);
      font-weight: 800;
      letter-spacing: -0.8px;
      margin-bottom: 12px;
    }
    body.page-about .final-cta .sub {
      font-size: 16px;
      color: var(--muted);
      margin-bottom: 36px;
    }
    body.page-about .final-cta-btns {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* ─── About-page mobile RWD (S17 Task A — S382-D19 audit reconciliation) ─── */
    /* Source: v03/about.html @media (max-width: 900px) lines 621-646 + @media (max-width: 600px) lines 658-659 */
    @media (max-width: 900px) {
      body.page-about .hero-inner { grid-template-columns: 1fr; gap: 48px; }
      body.page-about .hero-visual { display: none; }
      body.page-about .values-grid { grid-template-columns: 1fr; gap: 16px; }
      body.page-about .platform-diagram { flex-direction: column; gap: 24px; }
      body.page-about .connector { width: 2px; height: 60px; }
      body.page-about .connector-line {
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(180deg, var(--accent), var(--accent-2));
        width: 2px; height: 60px;
      }
      body.page-about .connector-dot {
        top: 0; left: 50%; transform: translateX(-50%);
        /* S19 hotfix A2: override the desktop X-axis travel-line keyframe with
           a Y-axis variant. Without this, the dot animates `left: 0 → calc(100% - 10px)`
           on a 2px-wide vertical connector, producing a ~8px sideways shimmy
           instead of dropping vertically. The transform: translateX(-50%) above
           is preserved, so the dot remains horizontally centered on the line. */
        animation: travel-line-vertical 2.4s ease-in-out infinite;
      }
      @keyframes travel-line-vertical {
        0%   { top: 0; opacity: 0; }
        8%   { opacity: 1; }
        92%  { opacity: 1; }
        100% { top: calc(100% - 10px); opacity: 0; }
      }
    }
    @media (max-width: 600px) {
      body.page-about .hero { padding: 120px 0 72px; }
      body.page-about .section { padding: 72px 0; }
    }


/* ============================================================
 * SECTION 8: BLOG INDEX BLOCKS
 * Sourced from v03/blog.html <style> block (lines 125-500).
 * Selectors don't collide with index.css (.blog-hero, .pinned, .pill,
 * .featured-card, .article-card, .cta-band — all unique).
 * Footer + responsive use index.css versions.
 * ============================================================ */

    /* ─── Hero ── */
    .blog-hero {
      padding: 140px 24px 64px;
      text-align: center;
    }
    .blog-hero .eyebrow {
      font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--accent);
      margin-bottom: 20px;
    }
    .blog-hero h1 {
      font-size: clamp(2rem, 5vw, 3.25rem);
      font-weight: 800; letter-spacing: -0.03em;
      color: var(--fg); margin-bottom: 20px;
      max-width: 640px; margin-left: auto; margin-right: auto;
    }
    .blog-hero .subtext {
      font-size: 18px; color: var(--muted); max-width: 560px;
      margin: 0 auto 36px; line-height: 1.65;
    }
    .search-bar {
      max-width: 480px; margin: 0 auto; position: relative;
    }
    .search-bar input {
      width: 100%;
      background: var(--surface);
      border: 1px solid var(--border-md);
      color: var(--fg);
      font-family: var(--font);
      font-size: 15px;
      padding: 14px 20px 14px 48px;
      border-radius: 12px;
      outline: none;
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      transition: border-color 0.2s;
    }
    .search-bar input::placeholder { color: var(--muted); }
    .search-bar input:focus { border-color: var(--accent); }
    .search-bar svg {
      position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
      color: var(--muted); pointer-events: none;
    }

    /* ─── Pinned posts ── */
    .pinned {
      padding: 0 24px 64px;
    }
    .pinned-inner {
      max-width: 1200px; margin: 0 auto;
    }
    .pinned-head {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 20px;
      color: var(--muted);
    }
    .pinned-head .pin-icon {
      color: var(--accent-2);
      flex-shrink: 0;
    }
    .pinned-head .label {
      font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
      text-transform: uppercase; color: var(--accent-2);
    }
    .pinned-head .count {
      font-size: 12px; color: var(--muted);
      font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    }
    .pinned-head .rule {
      flex: 1; height: 1px; background: var(--border);
      margin-left: 6px;
    }
    .pinned-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .pinned-card {
      position: relative;
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      display: flex; flex-direction: column;
      transition: border-color 0.2s, transform 0.2s;
    }
    .pinned-card:hover {
      border-color: rgba(125,211,252,0.22);
      transform: translateY(-2px);
    }
    .pinned-thumb {
      height: 140px;
      position: relative;
      overflow: hidden;
    }
    .pinned-thumb::after {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 28px 28px;
    }
    .pin-badge {
      position: absolute; top: 12px; right: 12px; z-index: 2;
      width: 26px; height: 26px;
      display: grid; place-items: center;
      background: rgba(10,14,26,0.78);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(200,160,240,0.35);
      border-radius: 50%;
      color: var(--accent-2);
    }
    [data-theme="light"] .pin-badge {
      background: rgba(255,255,255,0.96);
      border-color: rgba(168,118,228,0.55);
      color: oklch(52% 0.20 295);
      box-shadow: 0 2px 6px rgba(15,21,36,0.18);
    }
    .pinned-body {
      padding: 18px 20px 18px;
      display: flex; flex-direction: column; flex: 1;
    }
    .pinned-card .cat-tag {
      position: static; margin-bottom: 10px; display: inline-block;
      align-self: flex-start;
    }
    .pinned-card h3 {
      font-size: 16px; font-weight: 700; letter-spacing: -0.02em;
      color: var(--fg); line-height: 1.35;
      margin-bottom: 12px; flex: 1;
    }
    .pinned-meta {
      font-size: 12px; color: var(--muted);
      display: flex; align-items: center; gap: 8px;
    }
    .pinned-meta .dot { opacity: 0.4; }

    @media (max-width: 900px) {
      .pinned-grid { grid-template-columns: 1fr; gap: 14px; }
      .pinned { padding-bottom: 48px; }
    }

    /* ─── Category pills ── */
    .category-filter {
      display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
      justify-content: center; padding: 0 24px 56px;
    }
    .pill {
      padding: 8px 18px; border-radius: 100px;
      border: 1px solid var(--border-md);
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      font-size: 13px; font-weight: 500; color: var(--muted);
      cursor: pointer; transition: all 0.18s;
      white-space: nowrap;
    }
    .pill:hover { color: var(--fg); border-color: var(--border-md); }
    .pill.active { background: var(--accent); color: #0a0e1a; border-color: transparent; font-weight: 600; }

    /* ─── Blog grid ── */
    .blog-section { padding: 0 24px 100px; }
    .blog-inner { max-width: 1200px; margin: 0 auto; }

    /* Section heading for chronological grid */
    .latest-head {
      display: flex; align-items: baseline; gap: 14px;
      margin-bottom: 28px;
    }
    .latest-head .eyebrow {
      font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
      text-transform: uppercase; color: var(--accent);
    }
    .latest-head h2 {
      font-size: clamp(1.2rem, 2vw, 1.5rem);
      font-weight: 800; letter-spacing: -0.025em; color: var(--fg);
    }

    /* Featured card */
    .featured-card {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border-md);
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 32px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      transition: border-color 0.2s, transform 0.2s;
    }
    .featured-card:hover { border-color: rgba(125,211,252,0.25); transform: translateY(-2px); }

    .featured-thumb {
      min-height: 340px;
      background: linear-gradient(135deg, #0f1a2e 0%, #1a2744 40%, #0d2035 70%, #091428 100%);
      position: relative;
      overflow: hidden;
    }
    .featured-thumb::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse at 30% 40%, rgba(125,211,252,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(200,160,240,0.08) 0%, transparent 50%);
    }
    .featured-thumb::after {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(125,211,252,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125,211,252,0.04) 1px, transparent 1px);
      background-size: 40px 40px;
    }
    .cat-tag {
      position: absolute; top: 20px; left: 20px; z-index: 2;
      padding: 5px 12px; border-radius: 100px;
      font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .cat-tag.product    { background: rgba(125,211,252,0.18); color: #7dd3fc; border: 1px solid rgba(125,211,252,0.3); }
    .cat-tag.business   { background: rgba(200,160,240,0.18); color: #c8a0f0; border: 1px solid rgba(200,160,240,0.3); }
    .cat-tag.ecommerce  { background: rgba(52,211,153,0.18); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
    .cat-tag.casestudy  { background: rgba(251,191,36,0.18); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }

    .featured-body {
      padding: 48px 48px 48px 44px;
      display: flex; flex-direction: column; justify-content: center;
    }
    .featured-body .feat-cat {
      font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--accent-2); margin-bottom: 16px;
    }
    .featured-body h2 {
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      font-weight: 800; letter-spacing: -0.025em;
      color: var(--fg); margin-bottom: 16px; line-height: 1.25;
    }
    .featured-body p {
      font-size: 16px; color: var(--muted); line-height: 1.7;
      margin-bottom: 28px;
    }
    .article-meta {
      font-size: 13px; color: var(--muted);
      display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
      margin-bottom: 24px;
    }
    .article-meta .dot { opacity: 0.4; }
    .read-link {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 14px; font-weight: 600; color: var(--accent);
      transition: gap 0.2s;
    }
    .read-link:hover { gap: 10px; }

    /* Grid of cards */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }
    .article-card {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      transition: border-color 0.2s, transform 0.2s;
      display: flex; flex-direction: column;
    }
    .article-card:hover { border-color: rgba(125,211,252,0.2); transform: translateY(-2px); }

    .card-thumb {
      height: 180px;
      position: relative;
      overflow: hidden;
    }
    .thumb-1 {
      background: linear-gradient(135deg, #0f1f3d 0%, #1e3a5f 50%, #0a1628 100%);
    }
    .thumb-1::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 60% 30%, rgba(125,211,252,0.15) 0%, transparent 55%);
    }
    .thumb-2 {
      background: linear-gradient(150deg, #0d1f1a 0%, #0f3024 50%, #07150e 100%);
    }
    .thumb-2::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 40% 60%, rgba(52,211,153,0.14) 0%, transparent 60%);
    }
    .thumb-3 {
      background: linear-gradient(120deg, #1a0f2e 0%, #2d1b4e 50%, #0f0a1e 100%);
    }
    .thumb-3::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 70% 40%, rgba(200,160,240,0.18) 0%, transparent 55%);
    }
    .thumb-4 {
      background: linear-gradient(145deg, #1f1a0a 0%, #3d2f0f 50%, #120f04 100%);
    }
    .thumb-4::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 30% 50%, rgba(251,191,36,0.15) 0%, transparent 55%);
    }
    .thumb-5 {
      background: linear-gradient(140deg, #0a1a1f 0%, #0f2d3a 50%, #04111a 100%);
    }
    .thumb-5::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 55% 35%, rgba(52,211,153,0.12) 0%, transparent 55%);
    }
    .card-thumb::after {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 32px 32px;
    }
    .card-body {
      padding: 24px; display: flex; flex-direction: column; flex: 1;
    }
    .card-body .cat-tag {
      position: static; margin-bottom: 14px; display: inline-block;
    }
    .card-body h3 {
      font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
      color: var(--fg); margin-bottom: 10px; line-height: 1.35;
    }
    .card-body p {
      font-size: 14px; color: var(--muted); line-height: 1.65;
      margin-bottom: 20px; flex: 1;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .card-footer {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 8px;
    }

    /* Hidden state for filtering */
    .article-card.hidden, .featured-card.hidden {
      display: none;
    }

    /* ─── CTA Band ── */
    .cta-band {
      background: #060912;
      border-top: 1px solid rgba(255,255,255,0.07);
      border-bottom: 1px solid rgba(255,255,255,0.07);
      padding: 80px 24px;
      text-align: center;
    }
    [data-theme="light"] .cta-band {
      background: #060912;
    }
    .cta-band h2 {
      font-size: clamp(1.6rem, 3vw, 2.5rem);
      font-weight: 800; letter-spacing: -0.03em;
      color: #e8eaf0; margin-bottom: 16px;
    }
    .cta-band p { font-size: 17px; color: #6b7280; margin-bottom: 32px; }
    .cta-band .btn-primary { background: #7dd3fc; color: #0a0e1a; }
    .cta-band .btn-primary:hover { filter: brightness(1.1); }

    /* ─── Blog index mobile RWD (S17 Task A — S382-D19 audit reconciliation) ─── */
    /* Source: v03/blog.html @media (max-width: 900px) lines 532-538 + @media (max-width: 600px) line 541 */
    @media (max-width: 900px) {
      .featured-card { grid-template-columns: 1fr; }
      .featured-thumb { min-height: 220px; }
      .featured-body { padding: 32px; }
      .cards-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      .blog-hero { padding: 110px 24px 56px; }
    }


/* ============================================================
 * SECTION 9: BLOG-POST BLOCKS (3-column TOC + article + related)
 * Sourced from v03/blog-post.html <style> block.
 *   - Progress bar: lines 49-57
 *   - Article layout: lines 137-900
 * Footer + responsive use index.css versions.
 * ============================================================ */

/* Progress bar */
    /* ─── Progress bar ── */
    #progress-bar {
      position: fixed; top: 0; left: 0; z-index: 9999;
      height: 3px; width: 0%;
      background: var(--accent);
      transition: width 0.1s linear;
      pointer-events: none;
    }


/* Article header + 3-column layout + widgets + TOC + prose + TLDR + community + related */
    /* ─── Article header — full width across all 3 columns ── */
    .article-header {
      padding: 112px 24px 0;
      max-width: 1440px;
      margin: 0 auto;
    }
    .article-header-inner {
      max-width: none;
      margin: 0;
    }
    .cat-pill {
      display: inline-block;
      padding: 5px 14px; border-radius: 100px;
      font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase;
      background: rgba(200,160,240,0.15); color: #c8a0f0;
      border: 1px solid rgba(200,160,240,0.28);
      margin-bottom: 24px;
    }
    [data-theme="light"] .cat-pill {
      background: rgba(124,58,237,0.12); color: #7c3aed;
      border-color: rgba(124,58,237,0.22);
    }
    .title-row {
      display: flex; align-items: center; gap: 28px;
      margin-bottom: 24px;
    }
    .title-thumb {
      width: 120px; height: 120px; flex-shrink: 0;
      border-radius: 16px; overflow: hidden; position: relative;
      background: linear-gradient(145deg, #0b1526 0%, #152240 45%, #1a2d50 75%, #080f1e 100%);
      border: 1px solid var(--border-md);
    }
    .title-thumb::before {
      content: ''; position: absolute; inset: 0;
      background:
        radial-gradient(ellipse at 30% 30%, rgba(125,211,252,0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 70%, rgba(200,160,240,0.18) 0%, transparent 50%);
    }
    .title-thumb::after {
      content: ''; position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(125,211,252,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125,211,252,0.07) 1px, transparent 1px);
      background-size: 20px 20px;
    }
    .article-header h1 {
      font-size: clamp(1.8rem, 3.6vw, 2.6rem);
      font-weight: 800; letter-spacing: -0.035em;
      color: var(--fg); line-height: 1.15;
      flex: 1; min-width: 0;
    }
    .article-header .subheadline {
      font-size: clamp(1rem, 1.8vw, 1.15rem);
      color: var(--muted); line-height: 1.65;
      margin-bottom: 24px;
    }
    .author-row {
      display: flex; align-items: center; gap: 10px;
      font-size: 13px; color: var(--muted);
      margin-bottom: 36px; flex-wrap: wrap;
    }
    .author-avatar {
      width: 32px; height: 32px; border-radius: 50%;
      background: linear-gradient(135deg, rgba(125,211,252,0.4), rgba(200,160,240,0.4));
      border: 1px solid var(--border-md);
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 700; color: var(--fg); flex-shrink: 0;
    }
    .author-row .dot { opacity: 0.4; }

    @media (max-width: 600px) {
      .title-row { flex-direction: column; align-items: flex-start; gap: 20px; }
      .title-thumb { width: 72px; height: 72px; border-radius: 12px; }
    }

    /* ─── 3-Column Layout ── */
    .article-layout {
      max-width: 1440px;
      margin: 0 auto;
      padding: 8px 24px 80px;
      display: grid;
      grid-template-columns: 260px 1fr 280px;
      grid-template-areas: "left main right";
      gap: 40px;
      align-items: stretch;
    }
    .widget-panel-left  { grid-area: left; }
    .widget-panel-right { grid-area: right; }
    .article-prose-col  { grid-area: main; min-width: 0; }
    .widget-panel-left,
    .widget-panel-right {
      min-width: 0;
      display: flex; flex-direction: column;
      gap: 24px;
    }

    /* Tablet: drop the right rail, keep TOC left */
    @media (max-width: 1180px) {
      .article-layout {
        max-width: 1160px;
        grid-template-columns: 260px 1fr;
        grid-template-areas: "left main";
        gap: 48px;
      }
      .widget-panel-right { display: none; }
    }

    /* Mobile: single column — TOC then article then extras */
    @media (max-width: 980px) {
      .article-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
          "left"
          "main"
          "right";
        gap: 32px;
      }
      .widget-panel-right { display: flex; }
    }

    /* ─── Widgets — shared base ── */
    .widget {
      background: var(--surface);
      backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border-md);
      border-radius: 14px;
      padding: 22px 22px 20px;
    }
    .widget-title {
      font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--accent);
      margin-bottom: 14px;
      display: flex; align-items: center; gap: 8px;
    }
    .widget-title::before {
      content: ''; width: 12px; height: 12px;
      background: var(--accent);
      mask-position: center; -webkit-mask-position: center;
      mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
      mask-size: contain; -webkit-mask-size: contain;
    }
    .widget-toc .widget-title::before {
      mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 5h18v2H3V5zm0 6h12v2H3v-2zm0 6h18v2H3v-2z'/></svg>");
      -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 5h18v2H3V5zm0 6h12v2H3v-2zm0 6h18v2H3v-2z'/></svg>");
    }
    .widget-faq .widget-title::before {
      mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z'/></svg>");
      -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z'/></svg>");
    }
    .widget-quiz .widget-title { color: var(--accent-2); }
    [data-theme="light"] .widget-quiz .widget-title { color: #7c3aed; }
    .widget-quiz .widget-title::before {
      background: var(--accent-2);
      mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/></svg>");
      -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/></svg>");
    }
    [data-theme="light"] .widget-quiz .widget-title::before { background: #7c3aed; }

    /* ─── TOC widget (sticky inside left rail) ── */
    .widget-toc {
      position: sticky;
      top: 90px;
      z-index: 5;
    }
    .toc-list { list-style: none; padding: 0; margin: 0; }
    .toc-item { margin-bottom: 2px; }
    .toc-link {
      display: block;
      padding: 8px 10px;
      font-size: 13px; line-height: 1.45;
      color: var(--muted);
      border-radius: 8px;
      transition: color 0.15s, background 0.15s;
    }
    .toc-link:hover {
      color: var(--fg);
      background: rgba(125,211,252,0.06);
    }
    .toc-link.active {
      color: var(--accent);
      background: rgba(125,211,252,0.08);
      font-weight: 600;
    }

    /* ─── FAQ widget ── */
    .widget-faq .faq {
      border-bottom: 1px solid var(--border);
      overflow: hidden;
    }
    .widget-faq .faq:last-child { border-bottom: none; }
    .widget-faq .faq summary {
      list-style: none;
      cursor: pointer;
      padding: 12px 0;
      font-size: 13px; font-weight: 600;
      color: var(--fg);
      display: flex; align-items: flex-start; justify-content: space-between;
      gap: 10px; line-height: 1.4;
    }
    .widget-faq .faq summary::-webkit-details-marker { display: none; }
    .widget-faq .faq summary::after {
      content: '+';
      font-size: 16px; font-weight: 400;
      color: var(--accent);
      transition: transform 0.2s;
      flex-shrink: 0;
      margin-top: -2px;
    }
    .widget-faq .faq[open] summary::after { transform: rotate(45deg); }
    .widget-faq .faq-content {
      padding: 2px 0 14px;
      font-size: 13px; line-height: 1.6;
      color: var(--muted);
    }

    /* ─── Quiz widget ── */
    .widget-quiz { position: relative; overflow: hidden; }
    .widget-quiz::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, var(--accent), var(--accent-2));
    }
    .quiz-sub {
      font-size: 12px; color: var(--muted);
      margin-bottom: 16px;
    }
    .quiz-question { margin-bottom: 18px; }
    .quiz-question:last-of-type { margin-bottom: 18px; }
    .quiz-q-text {
      font-size: 13px; font-weight: 600; color: var(--fg);
      margin-bottom: 8px; line-height: 1.45;
    }
    .quiz-q-text .q-num { color: var(--accent); margin-right: 4px; }
    .quiz-options { display: flex; flex-direction: column; gap: 6px; }
    .quiz-option {
      display: block;
      padding: 9px 12px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 8px;
      font-size: 12.5px; color: var(--fg);
      cursor: pointer;
      transition: all 0.15s;
      position: relative;
      line-height: 1.4;
    }
    .quiz-option:hover:not(:has(input:disabled)) {
      border-color: var(--accent);
    }
    .quiz-option input { position: absolute; opacity: 0; pointer-events: none; }
    .quiz-option:has(input:checked) {
      border-color: var(--accent);
      background: rgba(125,211,252,0.06);
    }
    .quiz-option.correct {
      border-color: var(--success);
      background: rgba(52,211,153,0.08);
      padding-right: 30px;
    }
    .quiz-option.incorrect {
      border-color: var(--error);
      background: rgba(248,113,113,0.08);
      padding-right: 30px;
    }
    .quiz-option.correct::after,
    .quiz-option.incorrect::after {
      position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
      width: 16px; height: 16px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 10px; font-weight: 700; color: #fff;
    }
    .quiz-option.correct::after { content: '✓'; background: var(--success); }
    .quiz-option.incorrect::after { content: '✕'; background: var(--error); }
    .quiz-actions {
      display: flex; gap: 8px; flex-wrap: wrap;
      padding-top: 10px; border-top: 1px solid var(--border);
      margin-top: 8px;
    }
    .quiz-submit {
      background: var(--accent); color: #0a0e1a;
      padding: 8px 16px; font-size: 12.5px; font-weight: 600;
      border: none; border-radius: 6px; cursor: pointer;
      transition: filter 0.15s, transform 0.15s;
      font-family: var(--font);
    }
    .quiz-submit:hover:not(:disabled) { filter: brightness(1.1); }
    .quiz-submit:disabled { opacity: 0.45; cursor: not-allowed; }
    .quiz-retry {
      background: transparent; color: var(--fg);
      padding: 8px 16px; font-size: 12.5px; font-weight: 600;
      border: 1px solid var(--border-md); border-radius: 6px; cursor: pointer;
      transition: border-color 0.15s;
      font-family: var(--font);
    }
    .quiz-retry:hover { border-color: var(--accent); }
    .quiz-result {
      display: none;
      padding: 12px 14px;
      border-radius: 8px;
      margin-top: 12px;
      font-size: 12.5px; line-height: 1.55;
    }
    .quiz-result.show { display: block; }
    .quiz-result.pass {
      background: rgba(52,211,153,0.08);
      border: 1px solid rgba(52,211,153,0.3);
      color: var(--fg);
    }
    .quiz-result.fail {
      background: rgba(248,113,113,0.08);
      border: 1px solid rgba(248,113,113,0.3);
      color: var(--fg);
    }
    .quiz-result .result-score { font-weight: 700; color: var(--accent); }
    .quiz-result.pass .result-score { color: var(--success); }
    .quiz-result.fail .result-score { color: var(--error); }
    .quiz-next-link {
      display: inline-flex; align-items: center; gap: 4px;
      margin-top: 6px;
      color: var(--accent); font-weight: 600; font-size: 12px;
      transition: gap 0.2s;
    }
    .quiz-next-link:hover { gap: 8px; }

    /* ─── Collapsible widget behavior ── */
    .widget-collapsible {
      position: relative;
      overflow: hidden;
    }
    .widget-collapsible.collapsed { max-height: 200px; }
    .widget-faq.widget-collapsible.collapsed { max-height: 160px; }
    .community.widget-collapsible.collapsed { max-height: 180px; }
    .widget-collapsible:not(.collapsed) { max-height: none; }

    .widget-fade {
      position: absolute;
      left: 0; right: 0; bottom: 0;
      height: 110px;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding-bottom: 14px;
      background: linear-gradient(to bottom,
        rgba(15, 21, 36, 0) 0%,
        rgba(15, 21, 36, 0.6) 45%,
        rgba(10, 14, 26, 0.95) 100%);
      pointer-events: none;
      transition: opacity 0.25s ease;
    }
    [data-theme="light"] .widget-fade {
      background: linear-gradient(to bottom,
        rgba(245, 247, 251, 0) 0%,
        rgba(245, 247, 251, 0.7) 45%,
        rgba(238, 242, 247, 0.98) 100%);
    }
    .widget-collapsible:not(.collapsed) .widget-fade {
      position: static;
      background: none;
      height: auto;
      padding-bottom: 0;
      padding-top: 14px;
      margin-top: 6px;
      border-top: 1px solid var(--border);
    }

    .widget-expand-btn {
      pointer-events: auto;
      background: rgba(125, 211, 252, 0.1);
      border: 1px solid rgba(125, 211, 252, 0.28);
      color: var(--accent);
      border-radius: 999px;
      padding: 7px 16px;
      font-size: 12px; font-weight: 600;
      cursor: pointer;
      font-family: var(--font);
      display: inline-flex; align-items: center; gap: 6px;
      transition: background 0.15s, border-color 0.15s, gap 0.2s;
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    }
    .widget-quiz .widget-expand-btn {
      color: var(--accent-2);
      background: rgba(200, 160, 240, 0.1);
      border-color: rgba(200, 160, 240, 0.28);
    }
    [data-theme="light"] .widget-quiz .widget-expand-btn {
      color: #7c3aed;
      background: rgba(124, 58, 237, 0.08);
      border-color: rgba(124, 58, 237, 0.25);
    }
    .widget-expand-btn:hover {
      background: rgba(125, 211, 252, 0.18);
      border-color: rgba(125, 211, 252, 0.45);
      gap: 9px;
    }
    .widget-quiz .widget-expand-btn:hover {
      background: rgba(200, 160, 240, 0.18);
      border-color: rgba(200, 160, 240, 0.45);
    }
    .widget-expand-btn .chev {
      display: inline-block;
      transition: transform 0.25s;
      font-size: 10px;
    }
    .widget-collapsible:not(.collapsed) .widget-expand-btn .chev {
      transform: rotate(180deg);
    }

    /* ─── Article prose ── */
    .article-prose { min-width: 0; max-width: 720px; }
    .article-prose p {
      font-size: 17px; color: var(--fg); line-height: 1.8;
      margin-bottom: 24px;
    }
    .article-prose p:last-child { margin-bottom: 0; }
    .article-prose h2 {
      font-size: clamp(1.2rem, 2vw, 1.55rem);
      font-weight: 700; letter-spacing: -0.025em;
      color: var(--fg); margin: 48px 0 20px;
      scroll-margin-top: 90px;
    }
    .article-prose h2:first-child { margin-top: 0; }
    .article-prose h3 {
      font-size: clamp(1.05rem, 1.7vw, 1.25rem);
      font-weight: 700; letter-spacing: -0.02em;
      color: var(--fg); margin: 32px 0 14px;
    }
    .article-prose strong { color: var(--fg); font-weight: 600; }
    .article-prose em { color: var(--fg); font-style: italic; }
    .article-prose a {
      color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
    }
    /* Step-list + bullet styling (blog post body, supports future step-by-step articles) — S20 */
    .article-prose ol,
    .article-prose ul {
      margin: 16px 0 24px; padding-left: 24px;
      display: flex; flex-direction: column; gap: 10px;
    }
    .article-prose ol { list-style: decimal; }
    .article-prose ul { list-style: disc; }
    .article-prose li {
      font-size: 17px; color: var(--fg); line-height: 1.7;
    }
    .article-prose li::marker {
      color: var(--accent);
    }

    /* ─── Q&A example callout (.callout-card.qa-example) — S20 ──
       Pattern for future blog authors to render an example Q&A box similar
       to the legal page "Short Version" pattern. Use markup:
         <div class="callout-card qa-example">
           <div class="qa-example-label">Example</div>
           <p class="qa-example-q"><strong>Q:</strong> question text</p>
           <p class="qa-example-a"><strong>A:</strong> source-backed answer</p>
         </div>
       Sibling of body.legal-page .short-version-card pattern (line 4607). */
    .article-prose .callout-card.qa-example,
    .callout-card.qa-example {
      background: rgba(125, 211, 252, 0.05);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid rgba(125, 211, 252, 0.18);
      border-left: 3px solid var(--accent);
      border-radius: 12px;
      padding: 22px 26px;
      margin: 28px 0;
    }
    .article-prose .callout-card.qa-example .qa-example-label,
    .callout-card.qa-example .qa-example-label {
      font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--accent);
      margin-bottom: 12px;
    }
    .article-prose .callout-card.qa-example .qa-example-q,
    .article-prose .callout-card.qa-example .qa-example-a {
      font-size: 15px; line-height: 1.6; color: var(--fg);
      margin: 0 0 10px;
    }
    .article-prose .callout-card.qa-example .qa-example-a {
      margin-bottom: 0;
    }

    /* TLDR */
    .tldr {
      background: linear-gradient(135deg, var(--surface) 0%, rgba(125,211,252,0.04) 100%);
      backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border-md);
      border-radius: var(--radius);
      padding: 24px 28px;
      margin-bottom: 28px;
      position: relative; overflow: hidden;
    }
    .tldr::before {
      content: ''; position: absolute; top: 0; left: 0; bottom: 0;
      width: 4px;
      background: linear-gradient(180deg, var(--accent), var(--accent-2));
    }
    .tldr-label {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--accent);
      margin-bottom: 12px;
    }
    .tldr ul { list-style: none; padding: 0; margin: 0; }
    .tldr li {
      font-size: 15px; color: var(--fg); line-height: 1.6;
      padding-left: 22px; margin-bottom: 8px;
      position: relative;
    }
    .tldr li:last-child { margin-bottom: 0; }
    .tldr li::before {
      content: ''; position: absolute; left: 0; top: 9px;
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent);
    }

    /* Community AI Summary */
    .community {
      background: var(--surface);
      backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border-md);
      border-radius: var(--radius);
      padding: 22px 26px 18px;
      margin-bottom: 28px;
      position: relative; overflow: hidden;
    }
    .community-header {
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
    }
    .community-label {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--accent-2);
    }
    .community-label::before {
      content: '✦'; font-size: 12px;
    }
    .community-meta {
      font-size: 11px; color: var(--muted); letter-spacing: 0.04em;
      display: inline-flex; align-items: center; gap: 6px;
    }
    .community-meta::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 8px var(--success);
      animation: live-pulse 2s ease-in-out infinite;
    }
    @keyframes live-pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
    }
    .community-list {
      display: flex; flex-direction: column; gap: 0;
      list-style: none; padding: 0; margin: 0;
    }
    .community-item {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 14px;
      align-items: start;
      padding: 12px 0;
      border-top: 1px solid var(--border);
    }
    .community-item:first-child { border-top: 0; padding-top: 0; }
    .community-item:last-child { padding-bottom: 0; }
    .community-text {
      font-size: 14px; color: var(--fg); line-height: 1.55;
    }
    .community-sentiment {
      width: 10px; height: 10px; border-radius: 50%;
      margin-top: 8px;
      flex-shrink: 0;
    }
    .community-sentiment.positive { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.55); }
    .community-sentiment.neutral  { background: #facc15; box-shadow: 0 0 8px rgba(250,204,21,0.5); }
    .community-sentiment.concern  { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.55); }
    .community-footer {
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px; flex-wrap: wrap;
    }
    .community-legend {
      display: inline-flex; align-items: center; gap: 14px;
      font-size: 11px; color: var(--muted);
    }
    .community-legend-item {
      display: inline-flex; align-items: center; gap: 5px;
    }
    .community-legend-dot {
      width: 6px; height: 6px; border-radius: 50%;
    }
    .community-disclaimer {
      font-size: 11px; color: var(--muted); font-style: italic;
    }
    @media (max-width: 640px) {
      .community-item { grid-template-columns: 1fr auto; }
      .community-text { grid-column: 1; }
      .community-sentiment { grid-column: 2; grid-row: 1; margin-top: 6px; }
    }

    /* Sidebar variant — fits the 280px right rail */
    .widget-panel-right .community {
      padding: 20px 20px 16px;
      margin-bottom: 0;
      border-radius: 14px;
    }
    .widget-panel-right .community-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
      margin-bottom: 14px;
    }
    .widget-panel-right .community-meta {
      font-size: 10.5px;
    }
    .widget-panel-right .community-item {
      padding: 10px 0;
      gap: 10px;
    }
    .widget-panel-right .community-text {
      font-size: 13px;
      line-height: 1.5;
    }
    .widget-panel-right .community-sentiment {
      width: 8px; height: 8px;
      margin-top: 7px;
    }
    .widget-panel-right .community-footer {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      margin-top: 12px;
      padding-top: 10px;
    }
    .widget-panel-right .community-legend {
      font-size: 10.5px;
      gap: 10px;
      flex-wrap: wrap;
    }
    .widget-panel-right .community-disclaimer {
      font-size: 10.5px;
      line-height: 1.45;
    }

    /* Soft CTA */
    .soft-cta {
      display: flex; align-items: center; gap: 14px;
      padding: 14px 20px;
      background: var(--surface);
      backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid rgba(125,211,252,0.25);
      border-radius: 12px;
      margin-bottom: 40px;
      transition: border-color 0.2s, transform 0.2s;
    }
    .soft-cta:hover { border-color: rgba(125,211,252,0.5); transform: translateY(-1px); }
    .soft-cta-icon {
      width: 32px; height: 32px; flex-shrink: 0;
      border-radius: 8px;
      background: rgba(125,211,252,0.15);
      display: flex; align-items: center; justify-content: center;
      color: var(--accent); font-size: 16px;
    }
    .soft-cta-text {
      flex: 1; font-size: 14px; color: var(--fg);
    }
    .soft-cta-link {
      font-size: 13px; font-weight: 600; color: var(--accent);
      white-space: nowrap;
      display: inline-flex; align-items: center; gap: 4px;
      transition: gap 0.2s;
    }
    .soft-cta-link:hover { gap: 8px; }

    /* Blockquote */
    .article-prose blockquote {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border-md);
      border-left: 3px solid var(--accent);
      border-radius: 12px;
      padding: 24px 28px;
      margin: 32px 0;
    }
    .article-prose blockquote p {
      font-size: 18px; font-style: italic; font-weight: 500;
      color: var(--fg); line-height: 1.65; margin: 0;
      opacity: 0.88;
    }
    .article-prose blockquote cite {
      display: block; font-size: 13px; font-style: normal;
      color: var(--muted); margin-top: 12px;
    }

    /* Stat box */
    .stat-box {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border-md);
      border-radius: var(--radius);
      padding: 28px 32px;
      margin: 32px 0;
      text-align: center;
    }
    .stat-box .stat-number {
      font-size: clamp(2.2rem, 4.5vw, 3.4rem);
      font-weight: 800; letter-spacing: -0.04em;
      color: var(--accent); line-height: 1; margin-bottom: 10px;
    }
    .stat-box .stat-label {
      font-size: 14px; color: var(--muted); line-height: 1.55;
      max-width: 360px; margin: 0 auto;
    }

    /* RELATED mini-card */
    .related-inline {
      background: var(--surface);
      backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 14px 18px;
      margin: 32px 0;
      display: flex; align-items: flex-start; gap: 14px;
    }
    .related-inline-label {
      flex-shrink: 0;
      font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent-2);
      padding: 4px 10px; border-radius: 4px;
      background: rgba(200,160,240,0.12);
      border: 1px solid rgba(200,160,240,0.25);
      margin-top: 2px;
    }
    [data-theme="light"] .related-inline-label {
      color: #7c3aed;
      background: rgba(124,58,237,0.1);
      border-color: rgba(124,58,237,0.2);
    }
    .related-inline-links { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
    .related-inline-link {
      font-size: 14px; font-weight: 500;
      color: var(--fg); line-height: 1.4;
      transition: color 0.15s;
      display: inline-flex; align-items: baseline; gap: 6px;
    }
    .related-inline-link:hover { color: var(--accent); }
    .related-inline-link .arrow { color: var(--accent); font-size: 12px; }
    @media (max-width: 600px) {
      .related-inline { flex-direction: column; gap: 10px; padding: 14px 16px; }
    }

    /* ─── Footer CTA ── */
    .cta-band {
      background: #060912;
      border-top: 1px solid rgba(255,255,255,0.07);
      border-bottom: 1px solid rgba(255,255,255,0.07);
      padding: 72px 24px;
      text-align: center;
    }
    .cta-band h2 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 800; letter-spacing: -0.03em;
      color: #e8eaf0; margin-bottom: 14px;
    }
    .cta-band p { font-size: 16px; color: #9ca3af; margin-bottom: 28px; }
    .cta-band .btn-primary { background: #7dd3fc; color: #0a0e1a; }

    /* ─── Related articles ── */
    .related-section { padding: 72px 24px; }
    .related-inner { max-width: 1200px; margin: 0 auto; }
    .related-section > .related-inner > h2 {
      font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
      color: var(--fg); margin-bottom: 28px;
    }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .related-card {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      transition: border-color 0.2s, transform 0.2s;
    }
    .related-card:hover { border-color: rgba(125,211,252,0.2); transform: translateY(-2px); }
    .related-thumb { height: 130px; position: relative; overflow: hidden; }
    .related-thumb-1 { background: linear-gradient(135deg, #0f1f3d 0%, #1e3a5f 50%, #0a1628 100%); }
    .related-thumb-1::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 60% 30%, rgba(125,211,252,0.15) 0%, transparent 55%); }
    .related-thumb-2 { background: linear-gradient(150deg, #0d1f1a 0%, #0f3024 50%, #07150e 100%); }
    .related-thumb-2::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 40% 60%, rgba(52,211,153,0.14) 0%, transparent 60%); }
    .related-thumb-3 { background: linear-gradient(145deg, #1f1a0a 0%, #3d2f0f 50%, #120f04 100%); }
    .related-thumb-3::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 30% 50%, rgba(251,191,36,0.15) 0%, transparent 55%); }
    .related-body { padding: 20px; }
    .related-cat {
      font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase; margin-bottom: 10px;
    }
    .related-cat.product { color: #7dd3fc; }
    .related-cat.ecommerce { color: #34d399; }
    .related-cat.casestudy { color: #fbbf24; }
    .related-body h3 {
      font-size: 14px; font-weight: 700; color: var(--fg);
      line-height: 1.4; margin-bottom: 12px;
    }
    .related-body .read-link {
      font-size: 13px; font-weight: 600; color: var(--accent);
      display: inline-flex; align-items: center; gap: 4px;
      transition: gap 0.2s;
    }
    .related-body .read-link:hover { gap: 8px; }
    @media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }


/* ============================================================
 * SECTION 10: LEGAL-PAGE BLOCKS (privacy/terms/refund — shared 2-column TOC layout)
 * Sourced from v03/privacy.html <style> block (lines 128-321).
 * NOTE: privacy = refund (byte-identical), terms is near-identical;
 * all three legal pages share the same widget/TOC/prose/callout/chip/cross-card markup.
 * Some selectors collide with blog-post (e.g. .article-layout, .article-prose, .toc-list)
 * — verified safe via diff (rules differ only in column counts: legal=2col, blog-post=3col).
 * To prevent legal vs blog-post conflict, legal-page-specific selectors are prefixed
 * with `body.legal-page` (added via page-{slug}.php body_class filter).
 * ============================================================ */

    /* ─── Article header ── */
    body.legal-page .article-header {
      padding: 112px 24px 0;
      max-width: 1440px;
      margin: 0 auto;
    }
    body.legal-page .article-header-inner { max-width: none; margin: 0; }
    body.legal-page .cat-pill {
      display: inline-block;
      padding: 5px 14px; border-radius: 100px;
      font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase;
      border: 1px solid;
      margin-bottom: 24px;
    }
    body.legal-page .article-header h1 {
      font-size: clamp(1.8rem, 3.6vw, 2.6rem);
      font-weight: 800; letter-spacing: -0.035em;
      color: var(--fg); line-height: 1.15;
      margin-bottom: 20px;
    }
    body.legal-page .author-row {
      display: flex; align-items: center; gap: 10px;
      font-size: 13px; color: var(--muted);
      margin-bottom: 36px; flex-wrap: wrap;
    }
    body.legal-page .author-row .dot { opacity: 0.4; }

    /* ─── 2-Column Layout ── */
    body.legal-page .article-layout {
      max-width: 1440px;
      margin: 0 auto;
      padding: 8px 24px 80px;
      display: grid;
      grid-template-columns: 260px 1fr;
      grid-template-areas: "left main";
      gap: 40px;
      align-items: start;
    }
    body.legal-page .widget-panel-left { grid-area: left; }
    body.legal-page .article-prose-col { grid-area: main; min-width: 0; }
    body.legal-page .widget-panel-left {
      min-width: 0;
      display: flex; flex-direction: column;
      gap: 24px;
      position: sticky;
      top: 80px;
      align-self: start;
    }

    /* S17 Task D fix: prefix .article-layout in mobile override with body.legal-page
       so it overrides the higher-specificity desktop rule above. Without this prefix,
       the 2-col TOC+body stays at mobile and the body text squashes into ~30% width. */
    @media (max-width: 980px) {
      body.legal-page .article-layout {
        grid-template-columns: 1fr;
        grid-template-areas: "left" "main";
        gap: 32px;
      }
      body.legal-page .widget-panel-left {
        position: static;
        top: auto;
      }
    }

    /* ─── Widgets ── */
    body.legal-page .widget {
      background: var(--surface);
      backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border-md);
      border-radius: 14px;
      padding: 22px 22px 20px;
    }
    body.legal-page .widget-title {
      font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--accent);
      margin-bottom: 14px;
      display: flex; align-items: center; gap: 8px;
    }
    body.legal-page .widget-title::before {
      content: ''; width: 12px; height: 12px;
      background: var(--accent);
      mask-position: center; -webkit-mask-position: center;
      mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
      mask-size: contain; -webkit-mask-size: contain;
    }
    body.legal-page .widget-toc .widget-title::before {
      mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 5h18v2H3V5zm0 6h12v2H3v-2zm0 6h18v2H3v-2z'/></svg>");
      -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 5h18v2H3V5zm0 6h12v2H3v-2zm0 6h18v2H3v-2z'/></svg>");
    }

    /* ─── TOC widget ── */
    body.legal-page .widget-toc { z-index: 5; }
    body.legal-page .toc-list { list-style: none; padding: 0; margin: 0; }
    body.legal-page .toc-item { margin-bottom: 2px; }
    body.legal-page .toc-link {
      display: block;
      padding: 8px 10px;
      font-size: 13px; line-height: 1.45;
      color: var(--muted);
      border-radius: 8px;
      transition: color 0.15s, background 0.15s;
    }
    body.legal-page .toc-link:hover { color: var(--fg); background: rgba(125,211,252,0.06); }
    body.legal-page .toc-link.active { color: var(--accent); background: rgba(125,211,252,0.08); font-weight: 600; }

    /* ─── Article prose ── */
    body.legal-page .article-prose { min-width: 0; max-width: 720px; }
    body.legal-page .article-prose p {
      font-size: 17px; color: var(--fg); line-height: 1.8;
      margin-bottom: 24px;
    }
    body.legal-page .article-prose p:last-child { margin-bottom: 0; }
    body.legal-page .article-prose h2 {
      font-size: clamp(1.2rem, 2vw, 1.55rem);
      font-weight: 700; letter-spacing: -0.025em;
      color: var(--fg); margin: 48px 0 20px;
      scroll-margin-top: 90px;
      display: flex; align-items: center;
    }
    body.legal-page .article-prose h2:first-child { margin-top: 0; }
    body.legal-page .article-prose h3 {
      font-size: 1.05rem; font-weight: 700; color: var(--fg);
      margin: 28px 0 12px; letter-spacing: -0.015em;
    }
    body.legal-page .article-prose strong { color: var(--fg); font-weight: 600; }
    body.legal-page .article-prose em { color: var(--fg); font-style: italic; }
    body.legal-page .article-prose ul, .article-prose ol {
      margin: 12px 0 20px 0; padding-left: 22px;
      display: flex; flex-direction: column; gap: 8px;
    }
    body.legal-page .article-prose li { font-size: 16px; color: var(--fg); line-height: 1.7; }
    body.legal-page .article-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

    /* ─── "The Short Version" callout ── */
    body.legal-page .short-version-card {
      background: rgba(200, 160, 240, 0.06);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid rgba(200, 160, 240, 0.18);
      border-left: 3px solid var(--accent-2);
      border-radius: 12px;
      padding: 24px 28px;
      margin-bottom: 8px;
    }
    body.legal-page .short-version-card .short-version-label {
      font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--accent-2);
      margin-bottom: 14px;
    }
    body.legal-page .short-version-card ul {
      margin: 0; padding-left: 0; list-style: none;
      display: flex; flex-direction: column; gap: 10px;
    }
    body.legal-page .short-version-card li {
      font-size: 15px; color: var(--fg); line-height: 1.65;
      padding-left: 18px; position: relative;
    }
    body.legal-page .short-version-card li::before {
      content: '·';
      position: absolute; left: 0; top: 0;
      color: var(--accent-2); font-weight: 700;
    }
    body.legal-page .short-version-card strong { color: var(--fg); font-weight: 600; }

    /* ─── Section chip ── */
    body.legal-page .section-chip {
      display: inline-flex; align-items: center; justify-content: center;
      width: 28px; height: 20px;
      background: rgba(125,211,252,0.1);
      border: 1px solid rgba(125,211,252,0.2);
      border-radius: 4px;
      font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
      color: var(--accent);
      margin-right: 10px;
      vertical-align: middle;
      flex-shrink: 0;
    }

    /* ─── Related legal cards ── */
    body.legal-page .legal-cross-card {
      background: var(--surface);
      backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px 24px;
      transition: border-color 0.2s, transform 0.2s;
      display: flex; flex-direction: column; gap: 6px;
      min-width: 200px; flex: 1;
      text-decoration: none;
    }
    body.legal-page .legal-cross-card:hover { border-color: rgba(125,211,252,0.2); transform: translateY(-2px); }
    body.legal-page .legal-cross-card-title { font-size: 15px; font-weight: 700; color: var(--fg); line-height: 1.3; }
    body.legal-page .legal-cross-card-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
    body.legal-page .legal-cross-card-link {
      font-size: 13px; font-weight: 600; color: var(--accent);
      display: inline-flex; align-items: center; gap: 4px;
      margin-top: 4px; transition: gap 0.2s;
    }
    body.legal-page .legal-cross-card:hover .legal-cross-card-link { gap: 8px; }


/* ============================================================
 * SECTION 11: LANGUAGE SWITCHER (custom — Agent #11 design)
 * Per plan §9.4. Lives in nav. Mobile pills variant inside .mobile-menu.
 * Locked locale order: en / de / fr / ja / zh-tw / ko.
 * ============================================================ */

.lang-switcher { position: relative; flex-shrink: 0; }
.lang-switcher-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); font-size: 13px; font-weight: 500;
  padding: 6px 11px; border-radius: 8px;
  transition: color .2s, border-color .2s, background .2s;
  cursor: pointer; font-family: var(--font);
}
.lang-switcher-btn:hover {
  color: var(--fg); border-color: var(--border-md); background: rgba(255,255,255,0.04);
}
.lang-icon, .lang-caret { opacity: 0.7; flex-shrink: 0; }
.lang-switcher-current { line-height: 1; }
.lang-switcher-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--surface-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-md);
  border-radius: 12px; min-width: 180px; padding: 6px;
  list-style: none; margin: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  z-index: 200;
}
.lang-switcher-menu[hidden] { display: none; }
.lang-switcher-menu li { margin: 0; padding: 0; }
.lang-switcher-menu a {
  display: block; padding: 8px 12px; border-radius: 6px;
  font-size: 13px; color: var(--muted); text-decoration: none;
  transition: color .15s, background .15s;
  position: relative;
}
.lang-switcher-menu a:hover {
  color: var(--fg); background: rgba(255,255,255,0.05);
}
.lang-switcher-menu a.active {
  color: var(--accent); background: rgba(125,211,252,0.08);
}
.lang-switcher-menu li[aria-selected="true"] a::before {
  content: '';
  position: absolute; left: 4px; top: 10px; bottom: 10px; width: 3px;
  background: var(--accent); border-radius: 2px;
}

[data-theme="light"] .lang-switcher-btn { border-color: rgba(0,0,0,0.12); }
[data-theme="light"] .lang-switcher-btn:hover { background: rgba(0,0,0,0.04); }
[data-theme="light"] .lang-switcher-menu { background: rgba(255,255,255,0.96); border-color: rgba(0,0,0,0.12); }
[data-theme="light"] .lang-switcher-menu a:hover { background: rgba(0,0,0,0.04); }

/* Mobile pills variant inside .mobile-menu */
.mobile-menu .lang-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 18px; border-top: 1px solid var(--border);
  margin-top: 16px; justify-content: center; max-width: 320px;
}
.mobile-menu .lang-pills a {
  font-size: 12px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted);
  background: rgba(255,255,255,0.03);
  text-decoration: none; font-weight: 500;
  transition: color .15s, border-color .15s, background .15s;
}
.mobile-menu .lang-pills a:hover {
  color: var(--fg); border-color: var(--border-md);
}
.mobile-menu .lang-pills a.active {
  color: var(--accent); border-color: var(--accent);
  background: rgba(125,211,252,0.1);
}

/* Hide desktop dropdown on narrow viewports */
@media (max-width: 768px) {
  .nav-inner .lang-switcher { display: none; }
}
