
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --text: rgb(17, 17, 17);
      --text-80: rgba(0, 0, 0, 0.80);
      --text-65: rgba(0, 0, 0, 0.65);
      --text-55: rgba(0, 0, 0, 0.55);
      --text-40: rgba(0, 0, 0, 0.40);
      --text-25: rgba(0, 0, 0, 0.25);
      --text-08: rgba(0, 0, 0, 0.08);
      --text-04: rgba(0, 0, 0, 0.04);
      --white: #ffffff;
      --bg: #ffffff;
      --bg-alt: #f6f5f4;
      --blue: #2480ed;
      --green: #22c55e;
      --note-gold: #c4941a;
      --font: 'Inter', system-ui, -apple-system, sans-serif;
      --font-serif: 'Instrument Serif', Georgia, serif;
      --font-mono: 'SF Mono', SFMono-Regular, ui-monospace, Consolas, monospace;
      /* C58 component variables */
      --text-12: rgba(0, 0, 0, 0.12);
      --green-c58: #16a34a;
      --green-soft: rgba(22,163,74,0.08);
      --amber: #d97706;
      --amber-soft: rgba(217,119,6,0.08);
      --amber-text: rgba(217,119,6,0.55);
      --blue-sel: rgba(36,128,237,0.55);
      --blue-bg: rgba(36,128,237,0.04);
      --wp: url('mb-wallpaper_optimized.webp');
      --text-06: rgba(0, 0, 0, 0.06);
    }

    [data-theme="dark"] {
      --text: #e8e4df;
      --text-80: rgba(232, 228, 223, 0.85);
      --text-65: rgba(232, 228, 223, 0.68);
      --text-55: rgba(232, 228, 223, 0.55);
      --text-40: rgba(232, 228, 223, 0.38);
      --text-25: rgba(232, 228, 223, 0.22);
      --text-12: rgba(232, 228, 223, 0.10);
      --text-08: rgba(232, 228, 223, 0.07);
      --text-06: rgba(232, 228, 223, 0.05);
      --text-04: rgba(232, 228, 223, 0.03);
      --white: #1c1a17;
      --bg: #141210;
      --bg-alt: #1c1a17;
      --blue: #6dacf0;
      --green: #5ec97a;
      --green-c58: #3db860;
      --green-soft: rgba(62,184,96,0.10);
      --amber: #e8a838;
      --amber-soft: rgba(232,168,56,0.10);
      --amber-text: rgba(232,168,56,0.55);
      --blue-sel: rgba(109,172,240,0.40);
      --blue-bg: rgba(109,172,240,0.06);
      --note-gold: #d4a440;
      color-scheme: dark;
    }

    html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
    html.theme-transitioning, html.theme-transitioning *, html.theme-transitioning *::before, html.theme-transitioning *::after {
      transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
    }
    body { font-family: var(--font); font-size: 14px; line-height: 1.66; color: var(--text); background: var(--bg); }
    a { color: inherit; text-decoration: none; cursor: pointer; }
    img { display: block; max-width: 100%; }
    strong { font-weight: 600; }

    /* ── Layout ── */
    .page-wrapper { max-width: 980px; margin: 0 auto; padding: 0 40px; display: flex; }

    /* ── Sidebar ── */
    .side-nav {
      position: fixed; top: 60px; width: 120px; flex-shrink: 0;
      font-size: 12px; line-height: 1.5; z-index: 50;
    }
    .nav-logo { margin-bottom: 28px; }
    .nav-logo img { height: 48px; }
    .nav-section {
      margin-bottom: 16px; position: relative; padding-left: 10px;
    }
    /* Track line (light gray, full height) */
    .nav-section::before {
      content: ''; position: absolute; left: 0; top: 0;
      width: 1.5px; height: 100%;
      background: var(--text-08); border-radius: 9999px;
    }
    /* Active indicator (dark, slides to active item) */
    .nav-section::after {
      content: ''; position: absolute; left: 0; top: 0;
      width: 1.5px; height: var(--indicator-h, 16px);
      background: var(--text-80); border-radius: 9999px;
      transition: transform 0.26s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  height 0.26s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      transform: translateY(var(--indicator-y, 0px));
    }
    .nav-section-label {
      font-size: 10px; font-weight: 550; color: var(--text-25);
      text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px;
      margin-top: 6px;
    }
    .nav-section-label:first-child { margin-top: 0; }
    .nav-section-label.label-active { color: var(--text-40); }
    .nav-section-label.clickable {
      cursor: pointer; display: flex; align-items: center; gap: 4px;
      user-select: none; transition: color 0.12s;
    }
    .nav-section-label.clickable:hover { color: var(--text-40); }
    .nav-section-label.clickable .chevron {
      font-size: 12px; display: inline-block;
      transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .nav-section-label.clickable.expanded .chevron {
      transform: rotate(180deg);
    }
    .nav-sub-group {
      overflow: hidden; max-height: 0;
      transition: max-height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  opacity 0.2s ease;
      opacity: 0;
    }
    .nav-sub-group.expanded { max-height: 60px; opacity: 1; }
    /* Equal gap after sub-group before a regular link */
    .nav-sub-group + a { margin-top: 6px; }
    .nav-sub-group:not(.expanded) + a { margin-top: 0; }
    .nav-section a {
      display: block; padding: 2px 0; font-size: 12px;
      color: var(--text-40);
      transition: color 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .nav-section a.sub { padding-left: 10px; font-size: 11px; }
    .nav-section a:hover { color: var(--text-80); }
    .nav-section a.active { color: var(--text-80); font-weight: 550; }
    .nav-section a.parent-active { color: var(--text-65); }
    .nav-resources { padding-left: 0; margin-top: 20px; }
    .nav-resources .nav-section-label { margin-top: 0; }
    .nav-resources a {
      display: block; padding: 2px 0; font-size: 12px;
      color: var(--text-40);
      transition: color 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .nav-resources a:hover { color: var(--text-80); }
    .footer-version {
      display: flex; align-items: center; gap: 6px;
      margin-top: 8px; font-size: 11px;
    }
    .footer-version a { color: var(--text-40); transition: color 0.15s; }
    .footer-version a:hover { color: var(--text-65); }
    .footer-version .dot { color: var(--text-25); }
    .footer-version i { font-size: 12px; }

    /* ── Theme switcher ── */
    .nav-theme-area { margin-top: 20px; }
    .theme-switcher {
      display: inline-flex; align-items: center; position: relative;
      background: var(--text-04); border: 1px solid var(--text-06);
      border-radius: 8px; padding: 2px;
      gap: 0;
    }
    .theme-btn {
      position: relative; z-index: 1;
      display: flex; align-items: center; justify-content: center;
      width: 26px; height: 22px;
      border: none; background: none;
      color: #888;
      cursor: pointer; border-radius: 5px;
      transition: color 0.2s ease;
    }
    .theme-btn i { font-size: 13px; color: #888 !important; -webkit-text-stroke: 0.3px #888; }
    .theme-btn[data-theme="light"] i { font-size: 14px; }
    .theme-btn:hover i { color: #555 !important; -webkit-text-stroke: 0.3px #555; }
    .theme-btn.active i { color: #333 !important; -webkit-text-stroke: 0.3px #333; }
    [data-theme="dark"] .theme-btn i { color: #777 !important; -webkit-text-stroke: 0.3px #777; }
    [data-theme="dark"] .theme-btn:hover i { color: #aaa !important; -webkit-text-stroke: 0.3px #aaa; }
    [data-theme="dark"] .theme-btn.active i { color: #ddd !important; -webkit-text-stroke: 0.3px #ddd; }
    .theme-indicator {
      position: absolute; top: 2px; left: 2px;
      width: 26px; height: 22px;
      background: var(--text-08); border-radius: 5px;
      transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      pointer-events: none;
    }
    .theme-switcher[data-active="1"] .theme-indicator { transform: translateX(26px); }
    .theme-switcher-mobile { display: none; margin-top: 0; }
    @media (max-width: 768px) { .theme-switcher-mobile { display: inline-flex; } }

    /* ── Main ── */
    .main-content { margin-left: 180px; max-width: 540px; padding: 40px 0 80px; width: 100%; }

    /* ── Announcement ── */
    .announcement {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11px; color: var(--text-40); margin-bottom: 20px; transition: color 0.15s;
    }
    .announcement:hover { color: var(--text-65); }
    .announcement .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
    .announcement .arrow { margin-left: 2px; }

    /* ── Hero ── */
    .hero-row { margin-bottom: 14px; }
    .hero-title {
      font-family: var(--font); font-size: 26px; font-weight: 600;
      line-height: 1.3; letter-spacing: -0.02em; color: var(--text);
      min-height: 72px; position: relative;
    }
    .hero-title .rotating-text {
      display: block; overflow: hidden;
    }
    .hero-title .rotating-inner {
      display: block;
      transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .hero-title .rotating-inner.slide-out {
      opacity: 0; transform: translateY(-6px);
    }
    .hero-title .rotating-inner.slide-in {
      opacity: 0; transform: translateY(6px);
    }
    .hero-title .em {
      color: var(--text-55);
    }
    .hero-cmd-row {
      display: flex; align-items: center; gap: 16px; margin-top: 6px;
    }
    .install-cmd {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--font-mono); font-size: 11px; color: var(--text-40);
      cursor: pointer; background: none; border: none; padding: 4px 0;
      white-space: nowrap; transition: color 0.15s; flex-shrink: 0;
    }
    .install-cmd:hover { color: var(--text-65); }
    .install-cmd i { font-size: 13px; opacity: 0.4; transition: opacity 0.15s; }
    .install-cmd:hover i { opacity: 0.7; }
    .hero-desc { font-size: 14px; line-height: 1.66; color: var(--text-55); max-width: 500px; margin-bottom: 0; }

    /* ── Section headings ── */
    [id] { scroll-margin-top: 56px; }
    .section-heading {
      display: flex; align-items: center; gap: 12px;
      font-size: 18px; font-weight: 550; color: var(--text-80);
      margin-top: 56px; margin-bottom: 18px;
    }
    .section-heading::after { content: ''; flex: 1; height: 1.5px; background: linear-gradient(to right, var(--text-08), transparent); }
    .sub-section-heading {
      font-size: 15px; font-weight: 550; color: var(--text-65);
      margin-top: 40px; margin-bottom: 14px;
    }
    .section-heading .roadmap-badge { margin-left: 4px; }

    /* ── Content ── */
    .content-p { font-size: 14px; line-height: 1.66; color: var(--text-65); margin-bottom: 14px; }
    .content-p a { color: var(--blue); }
    .content-p a:hover { text-decoration: underline; }
    .note { font-size: 13px; color: var(--text-55); margin-top: 16px; }
    .note strong { color: var(--note-gold); font-weight: 700; }
    code {
      font-family: var(--font-mono); font-size: 11px; color: var(--text-55);
      background: rgba(0,0,0,0.04); padding: 2px 5px; border-radius: 4px;
    }

    /* ── Code block ── */
    .code-block {
      margin-top: 14px; border-radius: 10px; overflow: hidden;
      font-family: var(--font-mono); font-size: 11px;
      padding: 14px; background: #1c1a17; color: rgba(232,228,223,0.8);
      border: 1px solid rgba(232,228,223,0.06);
    }
    .code-block .prompt { color: rgba(232,228,223,0.3); }

    /* ── Lists ── */
    .steps-list, .feature-list { padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
    .steps-list { list-style: decimal; }
    .feature-list { list-style: disc; }
    .steps-list li, .feature-list li { font-size: 14px; line-height: 1.66; color: var(--text-80); }
    .steps-list li::marker, .feature-list li::marker { color: var(--text-25); }

    /* ══════════════════════════════════════════════
       UNIQUE PIX COMPONENTS
       ══════════════════════════════════════════════ */

    /* ── Workflow (inline flow) ── */
    .flow-inline {
      display: flex; align-items: flex-start; gap: 0;
      margin: 28px 0 8px; padding: 0;
    }
    .flow-inline-step { flex: 1; }
    .flow-inline-step .step-icon {
      font-size: 18px; color: var(--text-40); margin-bottom: 6px; display: block;
      line-height: 1; width: 18px; height: 18px;
    }
    .flow-inline-step .step-top {
      display: flex; align-items: center; gap: 8px;
      margin-bottom: 1px;
    }
    .flow-inline-step .step-name {
      font-size: 13px; font-weight: 600; color: var(--text-80);
      white-space: nowrap;
    }
    .flow-inline-step .step-arrow {
      font-size: 12px; color: var(--text-25); margin-left: 4px;
    }
    .flow-inline-step:last-child .step-arrow { display: none; }
    .flow-inline-step .step-desc {
      font-size: 12px; color: var(--text-40);
    }

    /* ── Interactive Format Switcher ── */
    .format-switcher {
      margin: 18px 0 8px;
      border: 1px solid var(--text-08);
      border-radius: 12px;
      overflow: hidden;
    }
    .format-tabs {
      display: flex; border-bottom: 1px solid var(--text-08);
      background: var(--bg-alt);
    }
    .format-tab {
      flex: 1; padding: 9px 12px; font-size: 11px; font-weight: 550;
      color: var(--text-40); text-align: center; cursor: pointer;
      border: none; background: none; transition: all 0.15s;
      border-bottom: 2px solid transparent;
      font-family: var(--font);
    }
    .format-tab:hover { color: var(--text-65); }
    .format-tab.active {
      color: var(--text-80); background: var(--white);
      border-bottom-color: var(--text);
    }
    .format-output {
      padding: 16px 18px; background: var(--white);
      font-family: var(--font-mono); font-size: 12px;
      color: var(--text-65); line-height: 1.6; min-height: 56px;
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
    }
    .format-output-text {
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0;
      transition: opacity 0.15s;
    }
    .format-output-copy {
      background: none; border: none; cursor: pointer; padding: 4px;
      color: var(--text-25); transition: color 0.15s; flex-shrink: 0;
    }
    .format-output-copy:hover { color: var(--text-65); }
    .format-output-copy i { font-size: 14px; }
    .format-output-hint {
      padding: 0 18px 12px; font-size: 10px; color: var(--text-25); background: var(--white);
    }

    /* ── Comparison ── */
    .comparison {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
      margin: 18px 0 8px;
    }
    .comparison-col {
      padding: 18px 16px; border-radius: 12px;
    }
    .comparison-col.old {
      background: rgba(239,68,68,0.06); border: 1.5px solid rgba(239,68,68,0.18);
    }
    .comparison-col.new {
      background: rgba(34,197,94,0.06); border: 1.5px solid rgba(34,197,94,0.22);
    }
    .comparison-title {
      font-size: 11px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.04em; margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
    }
    .comparison-col.old .comparison-title { color: #b91c1c; }
    .comparison-col.new .comparison-title { color: #15803d; }
    .comparison-item {
      font-size: 12px; color: var(--text-65); padding: 5px 0;
      display: flex; align-items: center; gap: 8px;
    }
    .comparison-item .num {
      width: 18px; height: 18px; border-radius: 50%; font-size: 10px; font-weight: 600;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .comparison-col.old .num { background: rgba(239,68,68,0.12); color: #b91c1c; }
    .comparison-col.new .num { background: rgba(34,197,94,0.12); color: #15803d; }
    .comparison-footer {
      font-size: 12px; color: var(--text-40); line-height: 1.5;
      margin-top: 10px;
    }

    /* ── Stats Bar ── */
    .stats-bar {
      display: grid; grid-template-columns: repeat(4, 1fr);
      border: 1px solid var(--text-08); border-radius: 12px;
      overflow: hidden; margin: 24px 0 8px;
    }
    .stat-item {
      padding: 16px; text-align: center;
      border-right: 1px solid var(--text-04);
    }
    .stat-item:last-child { border-right: none; }
    .stat-value {
      font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
      color: var(--text-80); margin-bottom: 2px;
      font-variant-numeric: tabular-nums;
    }
    .stat-label { font-size: 10px; color: var(--text-40); text-transform: uppercase; letter-spacing: 0.04em; }

    /* ── macOS App Mockup ── */
    .macos-mockup {
      margin: 18px 0 8px;
      border: 1px solid var(--text-08); border-radius: 12px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.04); overflow: hidden;
    }
    .macos-menubar {
      background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
      padding: 6px 12px; display: flex; align-items: center; justify-content: flex-end;
      border-bottom: 1px solid var(--text-08); gap: 10px;
      font-size: 11px; color: var(--text-55);
    }
    .macos-menubar .time { font-weight: 500; font-variant-numeric: tabular-nums; }
    .macos-menubar-icons { display: flex; gap: 8px; align-items: center; }
    .macos-menubar-icons i { font-size: 14px; color: var(--text-55); }
    .macos-dropdown { background: var(--white); padding: 0; }
    .macos-dropdown-header {
      padding: 12px 14px; border-bottom: 1px solid var(--text-04);
      display: flex; align-items: center; justify-content: space-between;
    }
    .macos-dropdown-header .server-name { font-size: 12px; font-weight: 600; color: var(--text-80); }
    .macos-dropdown-header .server-status {
      font-size: 10px; color: var(--green); display: flex; align-items: center; gap: 4px;
    }
    .macos-dropdown-header .server-status::before {
      content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green);
    }
    .macos-dropdown-stats {
      display: grid; grid-template-columns: 1fr 1fr 1fr;
      border-bottom: 1px solid var(--text-04);
    }
    .macos-stat {
      padding: 10px 14px; text-align: center;
      border-right: 1px solid var(--text-04);
    }
    .macos-stat:last-child { border-right: none; }
    .macos-stat-value { font-size: 14px; font-weight: 600; color: var(--text-80); font-variant-numeric: tabular-nums; }
    .macos-stat-label { font-size: 9px; color: var(--text-40); text-transform: uppercase; letter-spacing: 0.03em; }
    .macos-recent { padding: 8px 0; }
    .macos-recent-title {
      font-size: 10px; font-weight: 550; color: var(--text-25);
      text-transform: uppercase; letter-spacing: 0.03em; padding: 4px 14px;
    }
    .macos-recent-item {
      display: flex; align-items: center; gap: 10px;
      padding: 6px 14px; transition: background 0.1s; cursor: default;
    }
    .macos-recent-item:hover { background: rgba(0,0,0,0.02); }
    .macos-recent-thumb {
      width: 32px; height: 32px; border-radius: 4px;
      background: var(--bg-alt); border: 1px solid var(--text-04);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; overflow: hidden;
    }
    .macos-recent-thumb i { font-size: 14px; color: var(--text-25); }
    .macos-recent-info { flex: 1; min-width: 0; }
    .macos-recent-name { font-size: 11px; font-weight: 500; color: var(--text-80); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .macos-recent-meta { font-size: 10px; color: var(--text-40); }
    .macos-recent-copied {
      font-size: 9px; font-weight: 600; color: var(--green);
      background: rgba(34,197,94,0.08); padding: 2px 6px; border-radius: 4px; flex-shrink: 0;
    }
    .macos-dropdown-footer {
      padding: 8px 14px; border-top: 1px solid var(--text-04);
      display: flex; align-items: center; justify-content: space-between;
      font-size: 10px; color: var(--text-40);
    }
    .macos-dropdown-footer .format-pill {
      background: var(--text-04); padding: 2px 8px; border-radius: 4px;
      font-family: var(--font-mono); font-size: 9px; color: var(--text-55);
    }

    /* ── Image Placeholder ── */
    .img-placeholder {
      margin: 18px 0 8px;
      border: 2px dashed var(--text-08);
      border-radius: 12px;
      padding: 40px 20px;
      text-align: center;
      background: repeating-linear-gradient(
        -45deg, transparent, transparent 10px,
        rgba(0,0,0,0.008) 10px, rgba(0,0,0,0.008) 20px
      );
    }
    .img-placeholder-icon { margin: 0 auto 8px; color: var(--text-25); }
    .img-placeholder-icon i { font-size: 28px; }
    .img-placeholder-text { font-size: 12px; color: var(--text-25); font-weight: 500; }
    .img-placeholder-hint { font-size: 10px; color: var(--text-25); opacity: 0.6; margin-top: 2px; }

    /* ── Pricing ── */
    .pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
    .pricing-card { padding: 20px; border-radius: 10px; border: 1px solid var(--text-08); }
    .pricing-card.pro { background: var(--text); border-color: var(--text); color: var(--white); }
    .pricing-tier {
      font-size: 10px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.04em; color: var(--text-40); margin-bottom: 4px;
    }
    .pricing-card.pro .pricing-tier { color: rgba(255,255,255,0.4); }
    .pricing-price { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 2px; display: flex; align-items: baseline; gap: 0; }
    .pricing-price .price-dollar { font-size: 28px; font-weight: 600; }
    .pricing-price number-flow {
      font-size: 28px; font-weight: 600;
      --number-flow-mask-height: 0.15em;
      --number-flow-mask-width: 0em;
      font-variant-numeric: tabular-nums;
      line-height: 1;
    }
    .pricing-price .period { font-size: 12px; font-weight: 400; color: var(--text-40); margin-left: 4px; }
    .pricing-card.pro .pricing-price .period { color: rgba(255,255,255,0.35); }
    .pricing-desc { font-size: 12px; color: var(--text-55); margin-bottom: 14px; line-height: 1.5; }
    .pricing-card.pro .pricing-desc { color: rgba(255,255,255,0.45); }
    .pricing-features { list-style: none; display: flex; flex-direction: column; gap: 5px; margin-bottom: 18px; }
    .pricing-features li {
      font-size: 12px; color: var(--text-55); display: flex; align-items: baseline; gap: 6px;
    }
    .pricing-features li::before { content: '\2014'; color: var(--text-25); flex-shrink: 0; font-size: 10px; }
    .pricing-card.pro .pricing-features li { color: rgba(255,255,255,0.6); }
    .pricing-card.pro .pricing-features li::before { color: rgba(255,255,255,0.2); }
    .pricing-btn {
      display: block; width: 100%; text-align: center; padding: 8px 16px;
      border-radius: 6px; font-size: 12px; font-weight: 550; cursor: pointer;
      transition: background 0.15s; font-family: var(--font); text-decoration: none;
    }
    .pricing-btn-free { background: var(--text); color: var(--white); border: 1px solid var(--text); }
    .pricing-btn-free:hover { background: #333; }
    .pricing-btn-pro { background: var(--white); color: var(--text); border: 1px solid var(--white); }
    .pricing-btn-pro:hover { background: #f0f0f0; }
    @keyframes shimmerChar {
      0%, 100% { color: var(--shimmer-base); }
      50% { color: var(--shimmer-peak); }
    }
    .pricing-btn-pro .shimmer-char {
      --shimmer-base: rgba(0,0,0,0.35);
      --shimmer-peak: rgba(0,0,0,0.9);
      animation: shimmerChar 1.6s ease-in-out infinite;
      display: inline-block;
    }
    .pricing-btn-pro .shimmer-char.is-space { width: 0.25em; }
    [data-theme="dark"] .pricing-btn-pro .shimmer-char {
      --shimmer-base: rgba(20,18,16,0.4);
      --shimmer-peak: rgba(20,18,16,0.95);
    }

    /* ── Roadmap Voting ── */
    .roadmap-grid {
      display: flex; flex-direction: column; gap: 0;
      border: 1px solid var(--text-08); border-radius: 12px;
      overflow: hidden; margin-top: 14px;
    }
    .roadmap-item {
      display: flex; align-items: center; gap: 12px;
      padding: 12px 16px; border-bottom: 1px solid var(--text-04);
      transition: background 0.1s;
    }
    .roadmap-item:last-child { border-bottom: none; }
    .roadmap-item:hover { background: rgba(0,0,0,0.015); }
    .roadmap-vote-btn {
      display: flex; flex-direction: column; align-items: center; gap: 2px;
      padding: 6px 10px; border: 1px solid var(--text-08); border-radius: 8px;
      background: var(--white); cursor: pointer; transition: all 0.15s;
      flex-shrink: 0; min-width: 44px;
      font-family: var(--font);
    }
    .roadmap-vote-btn:hover { border-color: var(--blue); background: rgba(36,128,237,0.04); }
    .roadmap-vote-btn.voted { border-color: var(--blue); background: rgba(36,128,237,0.06); }
    .roadmap-vote-btn i { font-size: 12px; color: var(--text-25); transition: color 0.15s; }
    .roadmap-vote-btn:hover i, .roadmap-vote-btn.voted i { color: var(--blue); }
    .roadmap-vote-count {
      font-size: 12px; font-weight: 600; color: var(--text-55);
      font-variant-numeric: tabular-nums; transition: color 0.15s;
    }
    .roadmap-vote-btn.voted .roadmap-vote-count { color: var(--blue); }
    .roadmap-info { flex: 1; min-width: 0; }
    .roadmap-name { font-size: 13px; font-weight: 550; color: var(--text-80); }
    .roadmap-desc { font-size: 11px; color: var(--text-40); margin-top: 1px; }
    .roadmap-badge {
      font-size: 9px; font-weight: 600; padding: 2px 8px; border-radius: 9999px;
      text-transform: uppercase; letter-spacing: 0.03em; flex-shrink: 0;
    }
    .roadmap-badge.planned { background: rgba(36,128,237,0.08); color: #1d6fd3; border: 1px solid rgba(36,128,237,0.2); }
    .roadmap-badge.exploring { background: rgba(168,85,247,0.08); color: #7c3aed; border: 1px solid rgba(168,85,247,0.2); }
    .roadmap-badge.soon { background: rgba(34,197,94,0.08); color: #15803d; border: 1px solid rgba(34,197,94,0.22); }

    /* ── pix-sync teaser ── */
    .sync-diagram {
      margin: 18px 0 8px;
      border: 1px solid var(--text-08); border-radius: 12px;
      overflow: hidden;
    }
    .sync-diagram-header {
      padding: 14px 16px; background: var(--bg-alt);
      border-bottom: 1px solid var(--text-08);
      font-size: 11px; font-weight: 550; color: var(--text-55);
      display: flex; align-items: center; gap: 8px;
    }
    .sync-diagram-header i { font-size: 14px; color: var(--text-40); }
    .sync-flow {
      display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
      align-items: center; padding: 24px 16px; gap: 0;
    }
    .sync-node { text-align: center; padding: 12px 8px; }
    .sync-node-icon {
      width: 36px; height: 36px; margin: 0 auto 6px;
      border-radius: 8px; display: flex; align-items: center; justify-content: center;
    }
    .sync-node-icon i { font-size: 18px; }
    .sync-node-icon.cloud { background: rgba(36,128,237,0.1); color: #1d6fd3; border: 1.5px solid rgba(36,128,237,0.2); }
    .sync-node-icon.sync-icon { background: rgba(34,197,94,0.1); color: #15803d; border: 1.5px solid rgba(34,197,94,0.22); }
    .sync-node-icon.disk { background: rgba(168,85,247,0.1); color: #7c3aed; border: 1.5px solid rgba(168,85,247,0.2); }
    .sync-node-label { font-size: 11px; font-weight: 600; color: var(--text-80); }
    .sync-node-desc { font-size: 10px; color: var(--text-40); }
    .sync-arrow {
      display: flex; align-items: center; justify-content: center;
      color: var(--text-25); position: relative;
    }
    .sync-arrow i { font-size: 18px; }
    .sync-diagram-footer {
      padding: 10px 16px; background: var(--bg-alt);
      border-top: 1px solid var(--text-08);
      font-family: var(--font-mono); font-size: 11px; color: var(--text-40);
    }

    /* ── Mid-page CTA ── */
    .mid-cta {
      margin: 28px 0 8px;
      text-align: center;
      padding: 24px 20px;
      border: 1px solid var(--text-08);
      border-radius: 12px;
      background: var(--bg-alt);
    }
    .mid-cta-text {
      font-size: 13px; color: var(--text-55); margin-bottom: 12px; line-height: 1.5;
    }
    .mid-cta-buttons { display: flex; gap: 8px; justify-content: center; }
    .mid-cta-btn {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 7px 16px; border-radius: 6px;
      font-size: 12px; font-weight: 550; font-family: var(--font);
      text-decoration: none; transition: all 0.15s; cursor: pointer;
    }
    .mid-cta-btn.primary {
      background: var(--text); color: var(--white); border: 1px solid var(--text);
    }
    .mid-cta-btn.primary:hover { background: #333; }
    .mid-cta-btn.secondary {
      background: none; color: var(--text-55); border: 1px solid var(--text-08);
    }
    .mid-cta-btn.secondary:hover { color: var(--text-80); border-color: var(--text-25); }

    /* ── Social proof ── */
    .social-proof {
      margin: 28px 0 8px;
      display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    }
    .proof-item {
      display: flex; align-items: center; gap: 6px;
      font-size: 12px; color: var(--text-40);
    }
    .proof-item i { font-size: 14px; }
    .proof-value { font-weight: 600; color: var(--text-65); }

    /* ── One-time badge ── */
    .onetime-badge {
      display: inline-flex; align-items: center; gap: 5px;
      margin-top: 6px;
      padding: 4px 10px; border-radius: 6px;
      font-size: 10px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.03em;
      background: rgba(34,197,94,0.08); color: #15803d;
      border: 1px solid rgba(34,197,94,0.18);
    }
    .onetime-badge i { font-size: 11px; }
    [data-theme="dark"] .onetime-badge {
      background: rgba(94,201,122,0.10); color: #5ec97a;
      border-color: rgba(94,201,122,0.18);
    }

    /* ── FAQ ── */
    .faq-grid {
      margin-top: 14px;
      border: 1px solid var(--text-08); border-radius: 12px;
      overflow: hidden;
    }
    .faq-item {
      border-bottom: 1px solid var(--text-04);
    }
    .faq-item:last-child { border-bottom: none; }
    .faq-q {
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px 16px; cursor: pointer;
      font-size: 13px; font-weight: 550; color: var(--text-80);
      background: none; border: none; width: 100%; text-align: left;
      font-family: var(--font); transition: background 0.1s;
    }
    .faq-q:hover { background: rgba(0,0,0,0.015); }
    .faq-q i {
      font-size: 12px; color: var(--text-25);
      transition: transform 0.2s ease;
      flex-shrink: 0;
    }
    .faq-item.open .faq-q i { transform: rotate(180deg); }
    .faq-a {
      max-height: 0; overflow: hidden;
      transition: max-height 0.25s ease, padding 0.25s ease;
      padding: 0 16px;
    }
    .faq-item.open .faq-a {
      max-height: 200px;
      padding: 0 16px 14px;
    }
    .faq-a p {
      font-size: 12px; color: var(--text-55); line-height: 1.6;
    }
    [data-theme="dark"] .faq-q:hover { background: rgba(232,228,223,0.02); }

    /* ── Founder note ── */
    .founder-note {
      margin: 32px 0 8px;
      padding: 20px;
      border-radius: 12px;
      border: 1px solid var(--text-08);
      font-size: 12px; color: var(--text-55); line-height: 1.65;
    }
    .founder-note-sig {
      margin-top: 10px;
      font-size: 11px; font-weight: 600; color: var(--text-40);
    }

    /* ── Comparison table ── */
    .compare-table {
      margin: 14px 0 8px;
      border: 1px solid var(--text-08); border-radius: 12px;
      overflow: hidden; font-size: 12px;
    }
    .compare-row {
      display: grid; grid-template-columns: 1fr 80px 80px;
      border-bottom: 1px solid var(--text-04);
      align-items: center;
    }
    .compare-row:last-child { border-bottom: none; }
    .compare-row.head {
      font-size: 10px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.04em; color: var(--text-25);
      background: var(--bg-alt);
    }
    .compare-cell { padding: 8px 14px; }
    .compare-cell.feature { color: var(--text-65); font-weight: 500; }
    .compare-cell.center { text-align: center; }
    .compare-check { color: var(--green); font-size: 14px; }
    .compare-dash { color: var(--text-12); }

    /* ── Feature Grid ── */
    .feature-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    }
    .feature-grid-item {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 12px; border-radius: 8px; border: 1px solid var(--text-04);
    }
    .feature-grid-item i { font-size: 16px; color: var(--text-40); margin-top: 2px; flex-shrink: 0; }
    .feature-grid-title { font-size: 12px; font-weight: 600; color: var(--text-80); }
    .feature-grid-desc { font-size: 11px; color: var(--text-40); margin-top: 1px; }
    @media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } }

    /* ── Security Grid ── */
    .security-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 0;
      border: 1px solid var(--text-08); border-radius: 12px;
      overflow: hidden;
    }
    .security-item {
      padding: 14px 16px;
      border-bottom: 1px solid var(--text-04);
      border-right: 1px solid var(--text-04);
    }
    .security-item:nth-child(2n) { border-right: none; }
    .security-item:nth-last-child(-n+2) { border-bottom: none; }
    .security-item-title {
      font-size: 11px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.04em; color: var(--text-55); margin-bottom: 4px;
    }
    .security-item-desc { font-size: 12px; color: var(--text-40); line-height: 1.5; }
    [data-theme="dark"] .security-grid { border-color: rgba(232,228,223,0.07); }
    [data-theme="dark"] .security-item { border-color: rgba(232,228,223,0.04); }
    @media (max-width: 768px) {
      .security-grid { grid-template-columns: 1fr; }
      .security-item { border-right: none !important; }
      .security-item:last-child { border-bottom: none; }
    }

    /* ── Single Pricing Card (Free-only) ── */
    .pricing-card-single {
      padding: 24px; border-radius: 12px;
      border: 1px solid var(--text-08);
      margin-top: 14px;
    }
    .pricing-card-single .pricing-tier { margin-bottom: 4px; }
    .pricing-card-single .pricing-price { font-size: 36px; }
    .pricing-card-single .pricing-features { margin-bottom: 20px; }
    .pricing-cta-row { display: flex; gap: 8px; }
    .pricing-btn-gh {
      display: block; flex: 1; text-align: center; padding: 8px 16px;
      border-radius: 6px; font-size: 12px; font-weight: 550; cursor: pointer;
      transition: all 0.15s; font-family: var(--font); text-decoration: none;
      background: none; color: var(--text-55); border: 1px solid var(--text-08);
    }
    .pricing-btn-gh:hover { color: var(--text-80); border-color: var(--text-25); }
    .pricing-btn-free { flex: 1; }
    [data-theme="dark"] .pricing-card-single { border-color: rgba(232,228,223,0.07); }
    [data-theme="dark"] .pricing-btn-gh { border-color: rgba(232,228,223,0.10); }
    [data-theme="dark"] .pricing-btn-gh:hover { border-color: rgba(232,228,223,0.22); }

    /* ── Open Source Links ── */
    .open-source-links { display: flex; gap: 8px; flex-wrap: wrap; }
    .os-link {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 8px 14px; border-radius: 8px;
      border: 1px solid var(--text-08);
      font-size: 12px; font-weight: 550; color: var(--text-55);
      transition: all 0.15s; text-decoration: none;
    }
    .os-link i { font-size: 14px; }
    .os-link:hover { color: var(--text-80); border-color: var(--text-25); }
    [data-theme="dark"] .os-link { border-color: rgba(232,228,223,0.10); }
    [data-theme="dark"] .os-link:hover { border-color: rgba(232,228,223,0.22); }

    /* ── Footer ── */
    .site-footer {
      margin-top: 64px; padding-top: 32px;
      border-top: 1px solid var(--text-08);
      padding-bottom: 40px;
    }
    .footer-top {
      display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px;
      margin-bottom: 32px;
    }
    .footer-brand { display: flex; flex-direction: column; gap: 6px; }
    .footer-logo { width: 28px; height: auto; opacity: 0.5; }
    .footer-tagline { font-size: 11px; color: var(--text-25); }
    .footer-col { display: flex; flex-direction: column; gap: 6px; }
    .footer-col-title {
      font-size: 10px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.04em; color: var(--text-25); margin-bottom: 2px;
    }
    .footer-col a { font-size: 12px; color: var(--text-40); transition: color 0.15s; }
    .footer-col a:hover { color: var(--text-65); }
    .footer-bottom {
      display: flex; justify-content: space-between; align-items: baseline;
      padding-top: 16px; border-top: 1px solid var(--text-06);
      font-size: 11px; color: var(--text-25);
    }
    .footer-bottom a { color: var(--text-25); transition: color 0.15s; }
    .footer-bottom a:hover { color: var(--text-55); }
    .footer-bottom-right { display: flex; gap: 6px; align-items: center; }
    .footer-bottom-right .dot { color: var(--text-12); }

    /* ── Dark mode overrides ── */

    /* Logo inversion */
    [data-theme="dark"] .nav-logo img,
    [data-theme="dark"] .footer-logo,
    [data-theme="dark"] .mobile-nav img { filter: invert(1) brightness(0.9); }

    /* Code & inline elements */
    [data-theme="dark"] code { background: rgba(232,228,223,0.06); }
    [data-theme="dark"] .hl.lit { color: #e8b830; }

    /* Menubar / macOS mockup */
    [data-theme="dark"] .macos-menubar { background: linear-gradient(180deg, #252320 0%, #1e1c19 100%); }
    [data-theme="dark"] .macos-recent-item:hover { background: rgba(232,228,223,0.03); }
    [data-theme="dark"] .macos-recent-copied { background: rgba(62,184,96,0.12); }

    /* Docker code block (inline styles use --text) — handled by vars */

    /* Format switcher */
    [data-theme="dark"] .format-tab.active { border-bottom-color: var(--text-80); }

    /* Image placeholder */
    [data-theme="dark"] .img-placeholder {
      background: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(232,228,223,0.015) 10px, rgba(232,228,223,0.015) 20px);
    }

    /* Comparison columns */
    [data-theme="dark"] .comparison-col.old { background: rgba(220,80,60,0.06); border-color: rgba(220,80,60,0.15); }
    [data-theme="dark"] .comparison-col.new { background: rgba(62,184,96,0.06); border-color: rgba(62,184,96,0.15); }
    [data-theme="dark"] .comparison-col.old .comparison-title { color: #e87060; }
    [data-theme="dark"] .comparison-col.new .comparison-title { color: #5ec97a; }
    [data-theme="dark"] .comparison-col.old .num { background: rgba(220,80,60,0.12); color: #e87060; }
    [data-theme="dark"] .comparison-col.new .num { background: rgba(62,184,96,0.12); color: #5ec97a; }

    /* Stats bar */
    [data-theme="dark"] .stats-bar { border-color: rgba(232,228,223,0.06); }

    /* Pricing — warm inverted Pro card */
    [data-theme="dark"] .pricing-card { border-color: rgba(232,228,223,0.07); }
    [data-theme="dark"] .pricing-card.pro {
      background: linear-gradient(165deg, #2a2520 0%, #211e1a 100%);
      border-color: rgba(232,228,223,0.10);
      color: #e8e4df;
    }
    [data-theme="dark"] .pricing-card.pro .pricing-tier { color: rgba(232,228,223,0.35); }
    [data-theme="dark"] .pricing-card.pro .pricing-price { color: #e8e4df; }
    [data-theme="dark"] .pricing-card.pro .pricing-price .period { color: rgba(232,228,223,0.35); }
    [data-theme="dark"] .pricing-card.pro .pricing-desc { color: rgba(232,228,223,0.50); }
    [data-theme="dark"] .pricing-card.pro .pricing-features li { color: rgba(232,228,223,0.55); }
    [data-theme="dark"] .pricing-card.pro .pricing-features li::before { color: rgba(232,228,223,0.20); }
    [data-theme="dark"] .pricing-btn-free { background: #e8e4df; color: #141210; border-color: #e8e4df; }
    [data-theme="dark"] .pricing-btn-free:hover { background: #d4d0cb; }
    [data-theme="dark"] .pricing-card.pro .pricing-btn,
    [data-theme="dark"] .pricing-btn-pro { background: #e8e4df; color: #141210; border-color: #e8e4df; }
    [data-theme="dark"] .pricing-card.pro .pricing-btn:hover,
    [data-theme="dark"] .pricing-btn-pro:hover { background: #d4d0cb; }

    /* Roadmap badges — warmer tones */
    [data-theme="dark"] .roadmap-badge.planned { background: rgba(109,172,240,0.10); color: #87bcf5; border-color: rgba(109,172,240,0.20); }
    [data-theme="dark"] .roadmap-badge.exploring { background: rgba(180,130,240,0.10); color: #b88af0; border-color: rgba(180,130,240,0.20); }
    [data-theme="dark"] .roadmap-badge.soon { background: rgba(94,201,122,0.10); color: #5ec97a; border-color: rgba(94,201,122,0.20); }

    /* Roadmap grid hover */
    [data-theme="dark"] .roadmap-item:hover { background: rgba(232,228,223,0.02); }
    [data-theme="dark"] .roadmap-vote-btn { background: var(--bg); border-color: rgba(232,228,223,0.08); }
    [data-theme="dark"] .roadmap-vote-btn:hover { border-color: var(--blue); background: rgba(109,172,240,0.06); }
    [data-theme="dark"] .roadmap-vote-btn.voted { background: rgba(109,172,240,0.08); }

    /* pix-sync diagram — warm node icons */
    [data-theme="dark"] .sync-node-icon.cloud { background: rgba(109,172,240,0.10); color: #87bcf5; border-color: rgba(109,172,240,0.18); }
    [data-theme="dark"] .sync-node-icon.sync-icon { background: rgba(94,201,122,0.10); color: #5ec97a; border-color: rgba(94,201,122,0.18); }
    [data-theme="dark"] .sync-node-icon.disk { background: rgba(180,130,240,0.10); color: #b88af0; border-color: rgba(180,130,240,0.18); }

    /* C58 comparison component */
    [data-theme="dark"] .old-card-num { color: var(--text-40); }
    [data-theme="dark"] .story { border-color: rgba(232,228,223,0.06); }
    [data-theme="dark"] .capture-screen { background: #1c1a17; }
    [data-theme="dark"] .r-col { border-color: rgba(232,228,223,0.06); }
    [data-theme="dark"] .old-card, [data-theme="dark"] .pix-card { border-color: rgba(232,228,223,0.06); background: var(--bg); }
    [data-theme="dark"] .story-footnote { background: var(--bg-alt); border-color: rgba(232,228,223,0.06); }

    /* C58 finder windows on MacBook screen */
    [data-theme="dark"] .s-bar { background: rgba(232,228,223,0.06); border-color: rgba(232,228,223,0.08); }
    [data-theme="dark"] .s-dot { background: rgba(232,228,223,0.12); }
    [data-theme="dark"] .s-win { border-color: rgba(232,228,223,0.08); background: var(--white); }
    [data-theme="dark"] .sel-rect { border-color: var(--blue-sel); background: rgba(109,172,240,0.08); }

    /* Section divider gradient */
    [data-theme="dark"] .section-heading::after { background: linear-gradient(to right, rgba(232,228,223,0.08), transparent); }

    /* macOS mockup & shadow */
    [data-theme="dark"] .macos-mockup { box-shadow: 0 2px 12px rgba(0,0,0,0.3); border-color: rgba(232,228,223,0.06); }

    /* Docker install block override (uses inline --text, which swaps automatically) */

    /* Mid-CTA */
    [data-theme="dark"] .mid-cta { border-color: rgba(232,228,223,0.07); }
    [data-theme="dark"] .mid-cta-btn.primary { background: #e8e4df; color: #141210; border-color: #e8e4df; }
    [data-theme="dark"] .mid-cta-btn.primary:hover { background: #d4d0cb; }
    [data-theme="dark"] .mid-cta-btn.secondary { border-color: rgba(232,228,223,0.10); }
    [data-theme="dark"] .mid-cta-btn.secondary:hover { border-color: rgba(232,228,223,0.22); }

    /* Social proof */
    [data-theme="dark"] .proof-item i { color: var(--text-25); }

    /* Comparison table */
    [data-theme="dark"] .compare-table { border-color: rgba(232,228,223,0.07); }
    [data-theme="dark"] .compare-row { border-color: rgba(232,228,223,0.04); }
    [data-theme="dark"] .compare-row.head { background: rgba(232,228,223,0.03); }

    /* Founder note */
    [data-theme="dark"] .founder-note { border-color: rgba(232,228,223,0.07); }

    /* FAQ */
    [data-theme="dark"] .faq-grid { border-color: rgba(232,228,223,0.07); }
    [data-theme="dark"] .faq-item { border-color: rgba(232,228,223,0.04); }

    /* Footer */
    [data-theme="dark"] .site-footer { border-color: rgba(232,228,223,0.06); }
    [data-theme="dark"] .footer-bottom { border-color: rgba(232,228,223,0.04); }

    /* ── Scroll reveal ── */
    .rv { opacity: 0; transform: translateY(8px); transition: opacity 0.45s ease, transform 0.45s ease; }
    .rv.visible { opacity: 1; transform: translateY(0); }

    /* ── Responsive ── */
    @media (max-width: 768px) {
      .side-nav { display: none; }
      .main-content { margin-left: 0; max-width: 100%; padding: 24px 0 60px; }
      .page-wrapper { padding: 0 20px; }
      .pricing-cards { grid-template-columns: 1fr; }
      .hero-title { font-size: 26px; min-height: 64px; }
      .hero-row { flex-direction: column; }
      .install-cmd { margin-top: 4px; }
      .comparison { grid-template-columns: 1fr; }
      .stats-bar { grid-template-columns: repeat(2, 1fr); }
      .stat-item:nth-child(2) { border-right: none; }
      .flow-inline { flex-direction: column; }
      .flow-inline-step .step-arrow { display: none !important; }
      .format-tabs { flex-wrap: wrap; }
      .sync-flow { grid-template-columns: 1fr; gap: 0; }
      .sync-arrow { transform: rotate(90deg); padding: 4px 0; }
      .mobile-nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; margin-bottom: 8px; border-bottom: 1px solid var(--text-08); }
      .mobile-nav img { height: 28px; }
      .mobile-nav-links { display: flex; gap: 16px; }
      .mobile-nav-links a { font-size: 11px; color: var(--text-40); }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
      .footer-brand { grid-column: 1 / -1; }
    }
    @media (min-width: 769px) { .mobile-nav { display: none; } }
    /* ═══ C58 ANIMATED COMPARISON ═══ */

    .story {
      width: 100%; max-width: 580px;
      border-radius: 12px;
      border: 1px solid var(--text-08);
      background: var(--bg-alt);
      overflow: hidden;
      position: relative;
      margin: 18px auto 8px;
    }

    /* Act 1: Capture */
    .story-capture {
      position: relative;
      height: 220px;
      background: #1a1a1a;
      overflow: hidden;
      display: flex; align-items: center; justify-content: center;
    }
    .story-capture::after {
      content: '';
      position: absolute;
      top: -2px; left: -2px; right: -2px; bottom: -2px;
      background-image: var(--wp);
      background-size: cover;
      background-position: center;
      z-index: 0;
    }
    .s-notch {
      position: absolute; top: 0; left: 50%; transform: translateX(-50%);
      width: 120px; height: 18px;
      background: #000;
      border-radius: 0 0 12px 12px;
      z-index: 5;
    }
    .s-notch-cam {
      position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
      width: 5px; height: 5px; border-radius: 50%;
      background: #2a2a2a;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
    }
    .s-desktop {
      display: flex; align-items: center; justify-content: center; gap: 14px;
      z-index: 2; position: relative;
    }
    .s-win {
      border-radius: 6px; background: rgba(255,255,255,0.95);
      border: 1px solid rgba(255,255,255,0.12);
      display: flex; flex-direction: column; overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    }
    .s-win--a { width: 150px; height: 100px; }
    .s-win--b { width: 190px; height: 100px; }
    .s-bar {
      height: 20px; background: rgba(0,0,0,0.04);
      border-bottom: 1px solid rgba(0,0,0,0.08);
      display: flex; align-items: center; gap: 3.5px; padding: 0 7px;
    }
    .s-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(0,0,0,0.1); }
    .s-body {
      flex: 1; display: flex; align-items: center; justify-content: center;
      color: var(--text-25); font-size: 22px;
    }
    .s-ch, .s-cv {
      position: absolute; background: var(--blue-sel);
      pointer-events: none; opacity: 0; z-index: 3;
    }
    .s-ch { height: 1px; width: 100%; left: 0; top: 0; }
    .s-cv { width: 1px; height: 100%; top: 0; left: 0; }
    .s-sel {
      position: absolute; border: 1.5px solid var(--blue-sel); background: var(--blue-bg);
      pointer-events: none; opacity: 0; z-index: 3;
    }
    .s-flash {
      position: absolute; inset: 0; background: var(--white);
      opacity: 0; pointer-events: none; z-index: 4;
    }

    /* Act 2: Race */
    .story-race {
      display: none;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .story-race.visible {
      display: grid;
      animation: c58fadeIn 0.3s ease forwards;
    }
    .step-thumb {
      margin: 0 8px 8px; height: 48px;
      border-radius: 5px;
      background-image: var(--wp);
      background-size: cover;
      background-position: center;
      border: 1px solid var(--text-08);
      display: flex; align-items: center; justify-content: center; gap: 5px;
      overflow: hidden;
      position: relative;
    }
    .thumb-win {
      border-radius: 3px; background: rgba(255,255,255,0.92);
      border: 1px solid rgba(255,255,255,0.2);
      display: flex; flex-direction: column; overflow: hidden;
      box-shadow: 0 1px 4px rgba(0,0,0,0.15);
      position: relative; z-index: 1;
    }
    .thumb-win--a { width: 50px; height: 33px; }
    .thumb-win--b { width: 66px; height: 33px; }
    .thumb-bar {
      height: 7px; background: var(--text-04);
      border-bottom: 1px solid var(--text-08);
      display: flex; align-items: center; gap: 2px; padding: 0 3px;
    }
    .thumb-dot { width: 2px; height: 2px; border-radius: 50%; background: var(--text-12); }
    .thumb-body {
      flex: 1; display: flex; align-items: center; justify-content: center;
      color: var(--text-25); font-size: 10px;
    }

    /* Left column */
    .race-old {
      padding: 20px 16px 22px;
      background: var(--bg-alt);
      border-right: 1px solid var(--text-08);
      display: flex; flex-direction: column;
    }
    .r-title {
      font-size: 9.5px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.08em; margin-bottom: 12px;
    }
    .r-title--old { color: var(--text-25); }
    .r-title--pix { color: var(--green-c58); }
    .old-steps {
      display: flex; flex-direction: column;
      flex: 1;
      justify-content: space-between;
    }
    .old-card {
      border-radius: 8px; border: 1px solid var(--text-08);
      background: var(--white); overflow: hidden;
    }
    .old-card-top {
      display: flex; align-items: center; justify-content: center;
      gap: 5px; padding: 7px 10px;
    }
    .old-card-num {
      width: 20px; height: 20px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 9px; font-weight: 700; flex-shrink: 0;
      background: var(--text-04); color: var(--text-40);
    }
    .old-card-text {
      font-size: 11px; font-weight: 500; color: var(--text-55);
    }
    .old-link {
      margin: 0 8px 8px; padding: 4px 8px;
      border-radius: 4px; background: var(--text-04);
      font-size: 9.5px; font-weight: 500; font-family: var(--font-mono);
      color: var(--text-25);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .old-step5-wrapper {
      position: relative;
      min-height: 36px;
    }
    .old-spinner {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      opacity: 0;
    }
    .old-spinner svg {
      width: 18px; height: 18px;
      color: var(--text-12);
      animation: c58spin 1.2s linear infinite;
    }
    @keyframes c58spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    .old-step5-card { opacity: 0; }
    .old-bottom {
      margin-top: auto;
      padding-top: 12px;
      display: flex; flex-direction: column; gap: 6px;
    }
    .old-bar {
      height: 3px; border-radius: 2px; background: var(--text-04);
      overflow: hidden;
    }
    .old-bar-fill { height: 100%; width: 0; background: var(--text-12); border-radius: 2px; }
    .old-waiting {
      display: flex; align-items: center; justify-content: center; gap: 4px;
      font-size: 9px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.03em;
      color: var(--amber); opacity: 0;
      background: var(--amber-soft);
      border: 1px solid rgba(217,119,6,0.2);
      border-radius: 9999px;
      padding: 3px 10px;
      width: fit-content;
      margin: 0 auto;
    }
    .old-waiting i {
      font-size: 10px; color: var(--amber);
    }

    /* Right column */
    .race-pix {
      padding: 20px 16px 22px;
      background: var(--white);
      display: flex; flex-direction: column;
    }
    .pix-flow { display: flex; flex-direction: column; align-items: center; gap: 0; flex: 1; }
    .pix-step {
      width: 100%; border-radius: 8px;
      border: 1px solid var(--text-08);
      background: var(--white); overflow: hidden;
    }
    .pix-step-top {
      display: flex; align-items: center; justify-content: center;
      gap: 5px; padding: 7px 0 5px;
      white-space: nowrap; flex-wrap: nowrap;
    }
    .pix-step-num {
      width: 18px; height: 18px; border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 9px; font-weight: 700;
      background: var(--text-04); color: var(--text-55);
    }
    .pix-step-label {
      font-size: 11px; font-weight: 600; color: var(--text-65);
    }
    .pix-arrow {
      padding: 4px 0; font-size: 12px; color: var(--text-25);
      display: flex; align-items: center; justify-content: center;
      transform: rotate(90deg);
    }
    .pix-card {
      width: 100%; border-radius: 8px;
      border: 1px solid var(--text-08);
      overflow: hidden; background: var(--white);
    }
    .pix-card-head {
      padding: 5px 10px; font-size: 10px; font-weight: 600;
      color: var(--text-40); display: flex; align-items: center; gap: 5px;
      background: var(--bg-alt); border-bottom: 1px solid var(--text-04);
    }
    .pix-card-head i { font-size: 9px; }
    .pix-card-row {
      padding: 4px 10px; font-size: 11px; font-weight: 500;
      color: var(--text-55); border-bottom: 1px solid var(--text-04);
      display: flex; align-items: center; justify-content: space-between;
    }
    .pix-card-row:last-child { border-bottom: none; }
    .pix-dot {
      width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
      background: var(--text-08);
    }
    .pix-formats {
      margin: 0 8px 8px; border-radius: 5px;
      border: 1px solid var(--text-04); overflow: hidden;
    }
    .pix-fmt {
      padding: 3.5px 9px; font-size: 10px; font-weight: 500;
      font-family: var(--font-mono); color: var(--text-40);
      border-bottom: 1px solid var(--text-04);
      display: flex; align-items: center; gap: 6px;
      white-space: nowrap; overflow: hidden;
    }
    .pix-fmt:last-child { border-bottom: none; }
    .pix-fmt-tag {
      display: inline-block; padding: 1px 5px;
      border-radius: 3px; background: var(--text-04);
      font-size: 8.5px; font-weight: 700; font-family: var(--font);
      color: var(--text-40); text-transform: uppercase;
      letter-spacing: 0.04em; flex-shrink: 0;
    }
    .pix-fmt-val { overflow: hidden; text-overflow: ellipsis; }
    .pix-fmt-more {
      padding: 3.5px 9px; font-size: 9px; font-weight: 600;
      color: var(--text-25); border-top: 1px solid var(--text-04);
      display: flex; align-items: center; gap: 5px;
    }
    .pix-fmt-more-badge {
      display: inline-block; padding: 1px 5px;
      border-radius: 3px; background: var(--text-04);
      font-size: 8.5px; font-weight: 700; font-family: var(--font);
      color: var(--text-40); letter-spacing: 0.02em;
    }
    .pix-done {
      margin-top: auto;
      padding-top: 10px;
      display: flex; align-items: center; justify-content: center;
      opacity: 0;
    }
    .pix-done-badge {
      display: flex; align-items: center; gap: 4px;
      font-size: 9px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.03em;
      color: var(--green-c58);
      background: var(--green-soft);
      border: 1px solid rgba(22,163,74,0.22);
      border-radius: 9999px;
      padding: 3px 10px;
    }
    .pix-done-badge svg { width: 9px; height: 9px; }
    .pix-done-badge i { font-size: 10px; }

    /* Text slider */
    .pix-slider-wrap {
      display: flex; align-items: center; gap: 3px;
      white-space: nowrap;
    }
    .pix-slider {
      position: relative;
      height: 16px; overflow: hidden;
      flex-shrink: 0;
    }
    .pix-slider-track {
      position: absolute; top: 0; left: 0;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .pix-slider-item {
      display: block;
      height: 16px; line-height: 16px;
      white-space: nowrap;
      font-size: 11px; font-weight: 600;
      color: var(--green-c58);
    }

    /* Footnote */
    .story-footnote {
      padding: 10px 16px 12px;
      font-size: 10px; font-weight: 500;
      color: var(--text-25);
      border-top: 1px solid var(--text-08);
      background: var(--white);
      display: none;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .story-footnote.visible { display: flex; }
    .story-replay {
      position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
      width: 24px; height: 24px;
      border: none; background: none;
      color: var(--text-25);
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      border-radius: 4px;
      transition: color 0.15s ease, background 0.15s ease;
      font-size: 11px;
    }
    .story-replay i { font-size: 11px; color: inherit; }
    .story-replay:hover {
      color: var(--text-40);
      background: var(--text-04);
    }

    /* C58 Animations */
    @keyframes c58fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
    @keyframes c58fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }

    .go .s-ch {
      animation: c58fadeIn 0.2s ease 0.15s forwards,
                 chMove 0.3s ease 0.35s forwards,
                 chDragH 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards,
                 c58fadeOut 0.12s ease 1.5s forwards;
    }
    .go .s-cv {
      animation: c58fadeIn 0.2s ease 0.15s forwards,
                 cvMove 0.3s ease 0.35s forwards,
                 cvDragV 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards,
                 c58fadeOut 0.12s ease 1.5s forwards;
    }
    @keyframes chMove { 0% { top: 0; } 100% { top: 30px; } }
    @keyframes cvMove { 0% { left: 0; } 100% { left: 10%; } }
    @keyframes chDragH { 0% { top: 30px; } 100% { top: 185px; } }
    @keyframes cvDragV { 0% { left: 10%; } 100% { left: 90%; } }

    .go .s-sel { animation: selGrow 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards; }
    @keyframes selGrow {
      0% { top: 30px; left: 10%; width: 0; height: 0; opacity: 1; }
      100% { top: 30px; left: 10%; width: 80%; height: 155px; opacity: 1; }
    }

    .go .s-flash { animation: c58flash 0.28s ease 1.55s forwards; }
    @keyframes c58flash { 0% { opacity: 0; } 25% { opacity: 0.9; } 100% { opacity: 0; } }

    .go .story-capture {
      animation: captureOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) 2.0s forwards;
    }
    @keyframes captureOut {
      0% { height: 220px; opacity: 1; }
      100% { height: 0px; opacity: 0; }
    }

    /* Act 2 Left */
    .go .r-title--old { opacity: 0; animation: c58fadeIn 0.2s ease 0.1s forwards; }
    .go .old-card {
      opacity: 0; animation: c58stepIn 0.2s ease forwards;
    }
    .go .old-steps > .old-card:nth-child(1) { animation-delay: 0.3s; }
    .go .old-steps > .old-card:nth-child(2) { animation-delay: 1.0s; }
    .go .old-steps > .old-card:nth-child(3) { animation-delay: 1.7s; }
    .go .old-steps > .old-card:nth-child(4) { animation-delay: 2.4s; }
    .go .old-steps > .old-card:nth-child(6) { animation-delay: 4.6s; }
    @keyframes c58stepIn {
      0% { opacity: 0; transform: translateY(4px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    .go .old-spinner {
      animation: c58fadeIn 0.2s ease 2.7s forwards, c58fadeOut 0.15s ease 3.7s forwards;
    }
    /* Steps 2-5 amber cascade */
    .go .old-steps > .old-card:nth-child(2) .old-card-num { animation: numAmber 0.35s ease 5.0s forwards; }
    .go .old-steps > .old-card:nth-child(3) .old-card-num { animation: numAmber 0.35s ease 5.35s forwards; }
    .go .old-steps > .old-card:nth-child(4) .old-card-num { animation: numAmber 0.35s ease 5.7s forwards; }
    .go .old-step5-card .old-card-num { animation: numAmber 0.35s ease 6.05s forwards; }
    .go .old-steps > .old-card:nth-child(2) .old-card-text { animation: txtAmber 0.35s ease 5.0s forwards; }
    .go .old-steps > .old-card:nth-child(3) .old-card-text { animation: txtAmber 0.35s ease 5.35s forwards; }
    .go .old-steps > .old-card:nth-child(4) .old-card-text { animation: txtAmber 0.35s ease 5.7s forwards; }
    .go .old-step5-card .old-card-text { animation: txtAmber 0.35s ease 6.05s forwards; }
    /* Grey out */
    .go .old-steps > .old-card:nth-child(2) { animation: c58stepIn 0.2s ease 1.0s forwards, cardDim 0.35s ease 5.0s forwards; }
    .go .old-steps > .old-card:nth-child(3) { animation: c58stepIn 0.2s ease 1.7s forwards, cardDim 0.35s ease 5.35s forwards; }
    .go .old-steps > .old-card:nth-child(4) { animation: c58stepIn 0.2s ease 2.4s forwards, cardDim 0.35s ease 5.7s forwards; }
    .go .old-step5-card { animation: c58stepIn 0.2s ease 3.9s forwards, cardDim 0.35s ease 6.05s forwards; }
    @keyframes numAmber {
      0% { background: var(--text-04); color: var(--text-40); }
      100% { background: var(--amber-soft); color: var(--amber-text); }
    }
    @keyframes txtAmber {
      0% { color: var(--text-55); }
      100% { color: var(--amber-text); }
    }
    @keyframes cardDim {
      0% { background: var(--white); border-color: var(--text-08); }
      100% { background: var(--text-04); border-color: var(--text-06); }
    }
    .go .old-bar-fill { animation: barFill 5.0s linear 0.2s forwards; }
    @keyframes barFill { 0% { width: 0; } 100% { width: 100%; } }
    .go .old-bar { animation: c58fadeOut 0.3s ease 5.5s forwards; }
    .go .old-waiting { animation: c58fadeIn 0.25s ease 2.2s forwards; }

    /* Act 2 Right */
    .go .r-title--pix { opacity: 0; animation: c58fadeIn 0.2s ease 0.1s forwards; }
    .go .pix-step1 {
      opacity: 0;
      animation: c58popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
    }
    @keyframes c58popIn {
      0% { opacity: 0; transform: scale(0.92); }
      100% { opacity: 1; transform: scale(1); }
    }
    .go .pix-arrow:first-of-type { opacity: 0; animation: c58fadeIn 0.15s ease 0.55s forwards; }
    .go .pix-card { opacity: 0; animation: c58slideUp 0.25s ease 0.65s forwards; }
    @keyframes c58slideUp {
      0% { opacity: 0; transform: translateY(5px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    .go .pix-card-row { opacity: 0; animation: c58rowIn 0.15s ease forwards; }
    .go .pix-card-row:nth-child(2) { animation-delay: 0.8s; }
    .go .pix-card-row:nth-child(3) { animation-delay: 0.95s; }
    .go .pix-card-row:nth-child(4) { animation-delay: 1.1s; }
    .go .pix-card-row:nth-child(5) { animation-delay: 1.25s; }
    @keyframes c58rowIn {
      0% { opacity: 0; transform: translateX(-3px); }
      100% { opacity: 1; transform: translateX(0); }
    }
    .go .pix-dot { animation: dotGreen 0.25s ease forwards; }
    .go .pix-card-row:nth-child(2) .pix-dot { animation-delay: 0.9s; }
    .go .pix-card-row:nth-child(3) .pix-dot { animation-delay: 1.05s; }
    .go .pix-card-row:nth-child(4) .pix-dot { animation-delay: 1.2s; }
    .go .pix-card-row:nth-child(5) .pix-dot { animation-delay: 1.35s; }
    @keyframes dotGreen {
      0% { background: var(--text-08); transform: scale(1); }
      50% { transform: scale(1.5); }
      100% { background: var(--green-c58); transform: scale(1); }
    }
    .go .pix-arrow:last-of-type { opacity: 0; animation: c58fadeIn 0.15s ease 1.4s forwards; }
    .go .pix-step2 {
      opacity: 0;
      animation: c58popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s forwards;
    }
    .go .pix-done {
      animation: c58donePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 1.7s forwards;
    }
    .go .pix-done-badge {
      animation: c58badgePulse 3s ease-in-out 2.5s infinite;
    }
    @keyframes c58donePop {
      0% { opacity: 0; transform: scale(0.85); }
      100% { opacity: 1; transform: scale(1); }
    }
    @keyframes c58badgePulse {
      0%, 100% { background: rgba(22,163,74,0.08); }
      50% { background: rgba(22,163,74,0.2); }
    }
    .go .race-pix { animation: pixGlow 0.5s ease 1.7s forwards; }
    @keyframes pixGlow {
      0% { box-shadow: inset 0 0 0 0 var(--green-soft); }
      50% { box-shadow: inset 0 0 0 2px var(--green-soft); }
      100% { box-shadow: inset 0 0 0 0 transparent; }
    }

    /* ── Highlight animation for key phrases ── */
    .hl {
      background-size: 200% 100%;
      background-image: linear-gradient(to right, transparent 50%, rgba(250,220,50,0.35) 50%);
      background-position: 0% 0;
      transition: background-position 0.6s cubic-bezier(0.25, 1, 0.5, 1);
      color: inherit;
      padding: 1px 2px;
      border-radius: 3px;
    }
    .hl.lit {
      background-position: -100% 0;
      color: #92600a;
    }

  