/* ==========================================================================
       DESIGN SYSTEM TOKENS (8px Grid, High Contrast, Editorial Quality)
       ========================================================================== */
    :root {
      /* Light Neutral Palette */
      --bg-page: #f8fafc;
      --bg-surface: #ffffff;
      --bg-surface-elevated: #ffffff;
      --bg-muted: #f1f5f9;
      --bg-subtle: #f8fafc;
      --border-page: #e2e8f0;
      --border-subtle: #cbd5e1;
      --border-focus: #4f46e5;

      --text-main: #090d16;
      --text-secondary: #475569;
      --text-tertiary: #64748b;
      --text-soft: #94a3b8;

      /* Primary Brand / Accent */
      --accent: #4f46e5;
      --accent-hover: #4338ca;
      --accent-subtle: rgba(79, 70, 229, 0.08);
      --accent-border: rgba(79, 70, 229, 0.2);
      --accent-text: #4338ca;

      /* Specific Product Tints (Restrained, subtle borders & badges) */
      --tint-w2l: #6366f1;
      --tint-w2l-subtle: rgba(99, 102, 241, 0.08);
      --tint-w2l-border: rgba(99, 102, 241, 0.22);

      --tint-table: #0284c7;
      --tint-table-subtle: rgba(2, 132, 199, 0.08);
      --tint-table-border: rgba(2, 132, 199, 0.22);

      --tint-bulk: #0284c7;
      --tint-bulk-subtle: rgba(2, 132, 199, 0.08);
      --tint-bulk-border: rgba(2, 132, 199, 0.22);

      --tint-seo: #059669;
      --tint-seo-subtle: rgba(5, 150, 105, 0.08);
      --tint-seo-border: rgba(5, 150, 105, 0.22);

      --tint-audit: #d97706;
      --tint-audit-subtle: rgba(217, 119, 6, 0.08);
      --tint-audit-border: rgba(217, 119, 6, 0.22);

      --tint-mail: #ea580c;
      --tint-mail-subtle: rgba(234, 88, 12, 0.08);
      --tint-mail-border: rgba(234, 88, 12, 0.22);

      /* Edge Store Brand */
      --edge-blue: #0078d4;
      --edge-blue-hover: #106ebe;
      --edge-blue-subtle: rgba(0, 120, 212, 0.08);
      --edge-blue-border: rgba(0, 120, 212, 0.24);

      /* Geometry & Shadows */
      --r-sm: 6px;
      --r-md: 10px;
      --r-lg: 14px;
      --r-xl: 18px;

      --shadow-sm: 0 1px 2px 0 rgba(9, 13, 22, 0.04);
      --shadow-md: 0 4px 12px -2px rgba(9, 13, 22, 0.06), 0 2px 6px -1px rgba(9, 13, 22, 0.03);
      --shadow-lg: 0 16px 32px -4px rgba(9, 13, 22, 0.08), 0 6px 12px -2px rgba(9, 13, 22, 0.04);
      --shadow-card: 0 1px 3px rgba(9, 13, 22, 0.05), 0 10px 24px -6px rgba(9, 13, 22, 0.04);

      /* Typography & Easing */
      --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
      --ease: 200ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* System Dark Mode */
    @media (prefers-color-scheme: dark) {
      html:not([data-theme="light"]) {
        --bg-page: #080c14;
        --bg-surface: #0f1624;
        --bg-surface-elevated: #162033;
        --bg-muted: #141c2c;
        --bg-subtle: #0d131f;
        --border-page: #1c2638;
        --border-subtle: #2d3b52;
        --border-focus: #818cf8;

        --text-main: #f8fafc;
        --text-secondary: #cbd5e1;
        --text-tertiary: #94a3b8;
        --text-soft: #64748b;

        --accent: #818cf8;
        --accent-hover: #a5b4fc;
        --accent-subtle: rgba(129, 140, 248, 0.12);
        --accent-border: rgba(129, 140, 248, 0.28);
        --accent-text: #c7d2fe;

        --tint-w2l: #818cf8;
        --tint-w2l-subtle: rgba(129, 140, 248, 0.12);
        --tint-w2l-border: rgba(129, 140, 248, 0.28);

        --tint-table: #38bdf8;
        --tint-table-subtle: rgba(56, 189, 248, 0.12);
        --tint-table-border: rgba(56, 189, 248, 0.28);

        --tint-bulk: #38bdf8;
        --tint-bulk-subtle: rgba(56, 189, 248, 0.12);
        --tint-bulk-border: rgba(56, 189, 248, 0.28);

        --tint-seo: #34d399;
        --tint-seo-subtle: rgba(52, 211, 153, 0.12);
        --tint-seo-border: rgba(52, 211, 153, 0.28);

        --tint-audit: #fbbf24;
        --tint-audit-subtle: rgba(251, 191, 36, 0.12);
        --tint-audit-border: rgba(251, 191, 36, 0.28);

        --tint-mail: #fb923c;
        --tint-mail-subtle: rgba(251, 146, 60, 0.12);
        --tint-mail-border: rgba(251, 146, 60, 0.28);

        --edge-blue: #38bdf8;
        --edge-blue-hover: #7dd3fc;
        --edge-blue-subtle: rgba(56, 189, 248, 0.12);
        --edge-blue-border: rgba(56, 189, 248, 0.28);

        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.35);
        --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.45);
        --shadow-lg: 0 20px 32px rgba(0, 0, 0, 0.6);
        --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4), 0 12px 28px -6px rgba(0, 0, 0, 0.5);
      }
    }

    /* Explicit Dark Theme */
    html[data-theme="dark"] {
      --bg-page: #080c14;
      --bg-surface: #0f1624;
      --bg-surface-elevated: #162033;
      --bg-muted: #141c2c;
      --bg-subtle: #0d131f;
      --border-page: #1c2638;
      --border-subtle: #2d3b52;
      --border-focus: #818cf8;

      --text-main: #f8fafc;
      --text-secondary: #cbd5e1;
      --text-tertiary: #94a3b8;
      --text-soft: #64748b;

      --accent: #818cf8;
      --accent-hover: #a5b4fc;
      --accent-subtle: rgba(129, 140, 248, 0.12);
      --accent-border: rgba(129, 140, 248, 0.28);
      --accent-text: #c7d2fe;

      --tint-w2l: #818cf8;
      --tint-w2l-subtle: rgba(129, 140, 248, 0.12);
      --tint-w2l-border: rgba(129, 140, 248, 0.28);

      --tint-table: #38bdf8;
      --tint-table-subtle: rgba(56, 189, 248, 0.12);
      --tint-table-border: rgba(56, 189, 248, 0.28);

      --tint-bulk: #38bdf8;
      --tint-bulk-subtle: rgba(56, 189, 248, 0.12);
      --tint-bulk-border: rgba(56, 189, 248, 0.28);

      --tint-seo: #34d399;
      --tint-seo-subtle: rgba(52, 211, 153, 0.12);
      --tint-seo-border: rgba(52, 211, 153, 0.28);

      --tint-audit: #fbbf24;
      --tint-audit-subtle: rgba(251, 191, 36, 0.12);
      --tint-audit-border: rgba(251, 191, 36, 0.28);

      --tint-mail: #fb923c;
      --tint-mail-subtle: rgba(251, 146, 60, 0.12);
      --tint-mail-border: rgba(251, 146, 60, 0.28);

      --edge-blue: #38bdf8;
      --edge-blue-hover: #7dd3fc;
      --edge-blue-subtle: rgba(56, 189, 248, 0.12);
      --edge-blue-border: rgba(56, 189, 248, 0.28);

      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.35);
      --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.45);
      --shadow-lg: 0 20px 32px rgba(0, 0, 0, 0.6);
      --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4), 0 12px 28px -6px rgba(0, 0, 0, 0.5);
    }

    /* Explicit Light Theme */
    html[data-theme="light"] {
      --bg-page: #f8fafc;
      --bg-surface: #ffffff;
      --bg-surface-elevated: #ffffff;
      --bg-muted: #f1f5f9;
      --bg-subtle: #f8fafc;
      --border-page: #e2e8f0;
      --border-subtle: #cbd5e1;
      --border-focus: #4f46e5;

      --text-main: #090d16;
      --text-secondary: #475569;
      --text-tertiary: #64748b;
      --text-soft: #94a3b8;

      --accent: #4f46e5;
      --accent-hover: #4338ca;
      --accent-subtle: rgba(79, 70, 229, 0.08);
      --accent-border: rgba(79, 70, 229, 0.2);
      --accent-text: #4338ca;

      --tint-w2l: #6366f1;
      --tint-w2l-subtle: rgba(99, 102, 241, 0.08);
      --tint-w2l-border: rgba(99, 102, 241, 0.22);

      --tint-table: #0284c7;
      --tint-table-subtle: rgba(2, 132, 199, 0.08);
      --tint-table-border: rgba(2, 132, 199, 0.22);

      --tint-bulk: #0284c7;
      --tint-bulk-subtle: rgba(2, 132, 199, 0.08);
      --tint-bulk-border: rgba(2, 132, 199, 0.22);

      --tint-seo: #059669;
      --tint-seo-subtle: rgba(5, 150, 105, 0.08);
      --tint-seo-border: rgba(5, 150, 105, 0.22);

      --tint-audit: #d97706;
      --tint-audit-subtle: rgba(217, 119, 6, 0.08);
      --tint-audit-border: rgba(217, 119, 6, 0.22);

      --tint-mail: #ea580c;
      --tint-mail-subtle: rgba(234, 88, 12, 0.08);
      --tint-mail-border: rgba(234, 88, 12, 0.22);

      --edge-blue: #0078d4;
      --edge-blue-hover: #106ebe;
      --edge-blue-subtle: rgba(0, 120, 212, 0.08);
      --edge-blue-border: rgba(0, 120, 212, 0.24);

      --shadow-sm: 0 1px 2px 0 rgba(9, 13, 22, 0.04);
      --shadow-md: 0 4px 12px -2px rgba(9, 13, 22, 0.06);
      --shadow-lg: 0 16px 32px -4px rgba(9, 13, 22, 0.08);
      --shadow-card: 0 1px 3px rgba(9, 13, 22, 0.05), 0 10px 24px -6px rgba(9, 13, 22, 0.04);
    }

    /* ==========================================================================
       RESET & BASE ELEMENTS
       ========================================================================== */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-page);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      transition: background-color var(--ease), color var(--ease);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    code {
      font-family: var(--font-mono);
      font-size: 0.86em;
      background: var(--bg-muted);
      border: 1px solid var(--border-page);
      padding: 0.16em 0.4em;
      border-radius: var(--r-sm);
      color: var(--text-main);
    }

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

    .container {
      width: 100%;
      max-width: 1160px;
      margin-inline: auto;
      padding-inline: clamp(16px, 4vw, 32px);
    }

    /* ==========================================================================
       BUTTONS & BADGES
       ========================================================================== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 20px;
      font-size: 0.925rem;
      font-weight: 600;
      line-height: 1.2;
      border-radius: var(--r-md);
      border: 1px solid transparent;
      cursor: pointer;
      white-space: nowrap;
      transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
      user-select: none;
      text-decoration: none;
    }

    .btn:active {
      transform: translateY(1px);
    }

    .btn-primary {
      background: #4f46e5;
      color: #ffffff;
      border-color: #4f46e5;
      box-shadow: 0 1px 3px rgba(79, 70, 229, 0.25), 0 4px 10px rgba(79, 70, 229, 0.15);
    }

    .btn-primary:hover {
      background: #4338ca;
      border-color: #4338ca;
      transform: translateY(-1px);
      box-shadow: 0 3px 6px rgba(79, 70, 229, 0.3), 0 8px 18px rgba(79, 70, 229, 0.2);
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      border-color: var(--accent-hover);
      transform: translateY(-1px);
      box-shadow: 0 3px 6px rgba(79, 70, 229, 0.3), 0 8px 18px rgba(79, 70, 229, 0.2);
    }

    .btn-edge {
      background: #0078d4;
      color: #ffffff;
      border-color: #0078d4;
      box-shadow: 0 1px 3px rgba(0, 120, 212, 0.25);
    }

    .btn-edge:hover {
      background: #106ebe;
      border-color: #106ebe;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 120, 212, 0.35);
    }

    .btn-ghost {
      background: var(--bg-surface);
      color: var(--text-main);
      border: 1px solid var(--border-page);
      box-shadow: var(--shadow-sm);
    }

    .btn-ghost:hover {
      background: var(--bg-muted);
      border-color: var(--border-subtle);
      transform: translateY(-1px);
    }

    .btn-sm {
      padding: 7px 14px;
      font-size: 0.85rem;
      border-radius: var(--r-sm);
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      font-size: 0.775rem;
      font-weight: 600;
      border-radius: 999px;
      border: 1px solid transparent;
      line-height: 1.35;
      letter-spacing: 0.01em;
    }

    .badge-edge {
      background: var(--edge-blue-subtle);
      color: var(--edge-blue);
      border-color: var(--edge-blue-border);
    }

    .badge-subtle {
      background: var(--bg-muted);
      color: var(--text-secondary);
      border-color: var(--border-page);
    }

    .badge-w2l {
      background: var(--tint-w2l-subtle);
      color: var(--tint-w2l);
      border-color: var(--tint-w2l-border);
    }

    .badge-table {
      background: var(--tint-table-subtle);
      color: var(--tint-table);
      border-color: var(--tint-table-border);
    }

    .badge-seo {
      background: var(--tint-seo-subtle);
      color: var(--tint-seo);
      border-color: var(--tint-seo-border);
    }

    .badge-audit {
      background: var(--tint-audit-subtle);
      color: var(--tint-audit);
      border-color: var(--tint-audit-border);
    }

    .badge-mail {
      background: var(--tint-mail-subtle);
      color: var(--tint-mail);
      border-color: var(--tint-mail-border);
    }

    /* ==========================================================================
       STICKY NAVBAR
       ========================================================================== */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(248, 250, 252, 0.88);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border-page);
      transition: background var(--ease), border-color var(--ease);
    }

    html[data-theme="dark"] .navbar,
    @media (prefers-color-scheme: dark) {
      html:not([data-theme="light"]) .navbar {
        background: rgba(8, 12, 20, 0.88);
      }
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
      gap: 16px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--text-main);
      letter-spacing: -0.02em;
    }

    .brand-mark {
      width: 32px;
      height: 32px;
      border-radius: var(--r-md);
      background: linear-gradient(135deg, var(--accent), #4338ca);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 4px;
      list-style: none;
    }

    .nav-link {
      padding: 8px 14px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-secondary);
      border-radius: var(--r-sm);
      transition: color var(--ease), background var(--ease);
    }

    .nav-link:hover {
      color: var(--text-main);
      background: var(--bg-muted);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .theme-toggle {
      width: 38px;
      height: 38px;
      border-radius: var(--r-md);
      border: 1px solid var(--border-page);
      background: var(--bg-surface);
      color: var(--text-secondary);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--ease);
    }

    .theme-toggle:hover {
      color: var(--text-main);
      border-color: var(--border-subtle);
      background: var(--bg-muted);
    }

    .icon-sun, .icon-moon {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Auto switch icons */
    .icon-sun { display: none; }
    .icon-moon { display: block; }
    @media (prefers-color-scheme: dark) {
      html:not([data-theme="light"]) .icon-sun { display: block; }
      html:not([data-theme="light"]) .icon-moon { display: none; }
    }
    html[data-theme="dark"] .icon-sun { display: block; }
    html[data-theme="dark"] .icon-moon { display: none; }
    html[data-theme="light"] .icon-sun { display: none; }
    html[data-theme="light"] .icon-moon { display: block; }

    .mobile-menu-btn {
      display: none;
      width: 38px;
      height: 38px;
      border-radius: var(--r-md);
      border: 1px solid var(--border-page);
      background: var(--bg-surface);
      color: var(--text-main);
      cursor: pointer;
      align-items: center;
      justify-content: center;
    }

    @media (max-width: 768px) {
      .mobile-menu-btn { display: flex; }
      .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-page);
        padding: 12px 24px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        box-shadow: var(--shadow-lg);
      }
      .nav-links.open { display: flex; }
      .nav-link { padding: 10px 14px; }
      .nav-actions .btn-edge { display: none; }
    }

    /* ==========================================================================
       HERO SECTION
       ========================================================================== */
    .hero {
      position: relative;
      padding-top: clamp(60px, 8vw, 100px);
      padding-bottom: clamp(64px, 8vw, 108px);
      border-bottom: 1px solid var(--border-page);
      overflow: hidden;
    }

    .hero-grid-bg {
      position: absolute;
      inset: 0;
      background-image: 
        linear-gradient(var(--border-page) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-page) 1px, transparent 1px);
      background-size: 56px 56px;
      opacity: 0.35;
      mask-image: radial-gradient(ellipse 75% 65% at 50% 15%, black 20%, transparent 80%);
      -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 15%, black 20%, transparent 80%);
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      max-width: 860px;
      margin-inline: auto;
      text-align: center;
    }

    .hero-badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 22px;
      padding: 6px 14px;
      font-size: 0.825rem;
      font-weight: 600;
      color: var(--edge-blue);
      background: var(--edge-blue-subtle);
      border: 1px solid var(--edge-blue-border);
      border-radius: 999px;
    }

    .hero-badge-pill svg {
      width: 14px;
      height: 14px;
    }

    .hero-title {
      font-size: clamp(2.4rem, 5.2vw, 4rem);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.038em;
      color: var(--text-main);
      margin-bottom: 20px;
    }

    .hero-sub {
      font-size: clamp(1.05rem, 2vw, 1.25rem);
      color: var(--text-secondary);
      line-height: 1.62;
      margin-bottom: 34px;
      max-width: 680px;
      margin-inline: auto;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin-bottom: 40px;
    }

    .trust-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 20px;
      padding-top: 24px;
      border-top: 1px solid var(--border-page);
      font-size: 0.85rem;
      color: var(--text-tertiary);
    }

    .trust-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .trust-chip svg {
      width: 16px;
      height: 16px;
      color: var(--tint-seo);
    }

    /* Hero Standout Visual Mock */
    .hero-visual-container {
      margin-top: 48px;
      border-radius: var(--r-xl);
      background: var(--bg-surface);
      border: 1px solid var(--border-page);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      text-align: left;
    }

    .hero-visual-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 18px;
      background: var(--bg-muted);
      border-bottom: 1px solid var(--border-page);
    }

    .visual-dots {
      display: flex;
      gap: 6px;
    }

    .visual-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--border-subtle);
    }

    .visual-title-pill {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--text-tertiary);
      background: var(--bg-surface);
      padding: 3px 12px;
      border-radius: 4px;
      border: 1px solid var(--border-page);
    }

    .hero-visual-frame {
      position: relative;
      background: #000;
      cursor: zoom-in;
    }

    .hero-visual-frame img {
      width: 100%;
      height: auto;
      display: block;
      transition: opacity var(--ease);
    }

    /* ==========================================================================
       FLAGSHIP PRODUCT SECTION: Word to LaTeX (Offline)
       ========================================================================== */
    .flagship-section {
      padding-block: clamp(72px, 9vw, 112px);
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-page);
    }

    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.825rem;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 12px;
    }

    .section-heading {
      font-size: clamp(2rem, 3.8vw, 2.75rem);
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 1.15;
      color: var(--text-main);
      margin-bottom: 14px;
    }

    .section-lead {
      font-size: 1.05rem;
      color: var(--text-secondary);
      max-width: 640px;
      line-height: 1.6;
    }

    .flagship-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
      margin-top: 48px;
    }

    @media (min-width: 960px) {
      .flagship-grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
        gap: 56px;
      }
    }

    /* Interactive Showcase Gallery */
    .product-showcase {
      background: var(--bg-page);
      border: 1px solid var(--border-page);
      border-radius: var(--r-xl);
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }

    .showcase-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      background: var(--bg-muted);
      border-bottom: 1px solid var(--border-page);
    }

    .showcase-tabs-nav {
      display: flex;
      overflow-x: auto;
      gap: 4px;
      padding: 8px 12px;
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-page);
      scrollbar-width: thin;
    }

    .tab-trigger {
      padding: 7px 14px;
      font-size: 0.825rem;
      font-weight: 600;
      border: 1px solid transparent;
      border-radius: var(--r-sm);
      background: transparent;
      color: var(--text-secondary);
      cursor: pointer;
      white-space: nowrap;
      transition: all var(--ease);
      font-family: var(--font-sans);
    }

    .tab-trigger:hover {
      color: var(--text-main);
      background: var(--bg-muted);
    }

    .tab-trigger.active {
      color: var(--accent);
      background: var(--accent-subtle);
      border-color: var(--accent-border);
    }

    .showcase-stage {
      position: relative;
      background: #090d16;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 380px;
    }

    .showcase-img {
      width: 100%;
      height: auto;
      cursor: zoom-in;
      position: absolute;
      inset: 0;
      opacity: 0;
      pointer-events: none;
      transition: opacity var(--ease);
    }

    .showcase-img.active {
      position: relative;
      opacity: 1;
      pointer-events: auto;
    }

    .showcase-caption {
      padding: 12px 18px;
      font-size: 0.825rem;
      color: var(--text-secondary);
      background: var(--bg-surface);
      border-top: 1px solid var(--border-page);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    /* Benefits List */
    .flagship-benefits {
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    .benefit-group {
      display: flex;
      gap: 14px;
    }

    .benefit-icon-container {
      width: 38px;
      height: 38px;
      border-radius: var(--r-md);
      background: var(--tint-w2l-subtle);
      border: 1px solid var(--tint-w2l-border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--tint-w2l);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .benefit-title {
      font-size: 0.985rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 2px;
    }

    .benefit-desc {
      font-size: 0.885rem;
      color: var(--text-secondary);
      line-height: 1.55;
    }

    .experimental-notice {
      padding: 14px 18px;
      background: var(--tint-audit-subtle);
      border: 1px solid var(--tint-audit-border);
      border-left: 4px solid var(--tint-audit);
      border-radius: var(--r-md);
      font-size: 0.85rem;
      color: var(--text-main);
      line-height: 1.55;
    }

    .experimental-notice strong {
      color: var(--tint-audit);
    }

    /* ==========================================================================
       ALL EXTENSIONS PORTFOLIO SECTION (5 Distinctive Products)
       ========================================================================== */
    .portfolio-section {
      padding-block: clamp(72px, 9vw, 112px);
      border-bottom: 1px solid var(--border-page);
    }

    .portfolio-header-area {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 48px;
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }

    @media (min-width: 680px) {
      .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1040px) {
      .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    /* Product Card Architecture */
    .product-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-page);
      border-radius: var(--r-xl);
      padding: 24px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }

    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: var(--border-subtle);
    }

    /* Featured card takes 2 columns on wide screens */
    .product-card.card-featured {
      background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-subtle) 100%);
      border-color: var(--tint-w2l-border);
    }

    @media (min-width: 1040px) {
      .product-card.card-featured {
        grid-column: span 2;
      }
    }

    .card-header {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      margin-bottom: 16px;
    }

    .card-icon-img {
      width: 52px;
      height: 52px;
      border-radius: var(--r-md);
      background: var(--bg-muted);
      border: 1px solid var(--border-page);
      object-fit: contain;
      flex-shrink: 0;
      box-shadow: var(--shadow-sm);
    }

    .card-header-meta {
      flex: 1;
      min-width: 0;
    }

    .card-product-name {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-main);
      letter-spacing: -0.015em;
      line-height: 1.25;
      margin-bottom: 4px;
    }

    .card-subheading {
      font-size: 0.84rem;
      color: var(--text-secondary);
      line-height: 1.4;
    }

    .card-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 20px;
    }

    .card-pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .card-screenshot-wrap {
      width: 100%;
      height: 164px;
      border-radius: var(--r-md);
      overflow: hidden;
      border: 1px solid var(--border-page);
      background: #000;
      position: relative;
      cursor: zoom-in;
    }

    .card-screenshot-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform var(--ease);
    }

    .card-screenshot-wrap:hover img {
      transform: scale(1.03);
    }

    .card-benefit-quote {
      font-size: 0.875rem;
      color: var(--text-main);
      background: var(--bg-muted);
      border-left: 3px solid var(--accent);
      padding: 10px 14px;
      border-radius: 0 var(--r-sm) var(--r-sm) 0;
      line-height: 1.5;
    }

    .card-points {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 7px;
      font-size: 0.835rem;
      color: var(--text-secondary);
    }

    .card-points li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      position: relative;
      padding-left: 18px;
    }

    .card-points li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--tint-seo);
      font-weight: 700;
      font-size: 0.85rem;
    }

    .btn-chrome {
      background: #1a73e8;
      color: #ffffff;
      border-color: #1a73e8;
      box-shadow: 0 1px 3px rgba(26, 115, 232, 0.25);
    }

    .btn-chrome:hover {
      background: #1557b0;
      border-color: #1557b0;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(26, 115, 232, 0.35);
    }

    .card-footer {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding-top: 16px;
      border-top: 1px solid var(--border-page);
    }

    .card-actions-group {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    /* ==========================================================================
       HOW TO INSTALL SECTION
       ========================================================================== */
    .install-section {
      padding-block: clamp(72px, 9vw, 112px);
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-page);
    }

    .install-cards-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 40px;
    }

    @media (min-width: 680px) {
      .install-cards-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1040px) {
      .install-cards-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    .install-step-box {
      background: var(--bg-page);
      border: 1px solid var(--border-page);
      border-radius: var(--r-xl);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      position: relative;
    }

    .step-badge {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--accent-subtle);
      border: 1px solid var(--accent-border);
      color: var(--accent);
      font-weight: 800;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .step-heading {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .step-paragraph {
      font-size: 0.865rem;
      color: var(--text-secondary);
      line-height: 1.55;
    }

    /* ==========================================================================
       LABS / IN DEVELOPMENT (MailFlow)
       ========================================================================== */
    .labs-section {
      padding-block: 48px;
      background: var(--bg-page);
      border-bottom: 1px solid var(--border-page);
    }

    .labs-container-box {
      background: var(--bg-surface);
      border: 1px dashed var(--border-subtle);
      border-radius: var(--r-xl);
      padding: 24px 28px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .labs-info-group {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .labs-icon-box {
      width: 48px;
      height: 48px;
      border-radius: var(--r-md);
      background: var(--tint-mail-subtle);
      border: 1px solid var(--tint-mail-border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--tint-mail);
      flex-shrink: 0;
    }

    /* ==========================================================================
       ABOUT & FOOTER
       ========================================================================== */
    .about-section {
      padding-block: clamp(64px, 8vw, 96px);
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-page);
    }

    .about-card {
      max-width: 680px;
    }

    .about-body-text {
      font-size: 1.05rem;
      color: var(--text-secondary);
      line-height: 1.75;
      margin-block: 16px 28px;
    }

    .about-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .site-footer {
      padding-block: 36px;
      background: var(--bg-page);
      font-size: 0.875rem;
      color: var(--text-secondary);
    }

    .footer-content {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .footer-nav-list {
      display: flex;
      gap: 20px;
      list-style: none;
    }

    .footer-nav-list a:hover {
      color: var(--text-main);
    }

    /* ==========================================================================
       ACCESSIBLE LIGHTBOX
       ========================================================================== */
    .lightbox-modal {
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(0, 0, 0, 0.88);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .lightbox-modal.active {
      display: flex;
    }

    .lightbox-window {
      position: relative;
      max-width: 1280px;
      max-height: 90vh;
      border-radius: var(--r-lg);
      overflow: hidden;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .lightbox-large-img {
      width: 100%;
      height: auto;
      max-height: 85vh;
      object-fit: contain;
      display: block;
    }

    .lightbox-close-btn {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(15, 23, 42, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #ffffff;
      font-size: 1.25rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background var(--ease);
    }

    .lightbox-close-btn:hover {
      background: rgba(15, 23, 42, 1);
    }

    /* ==========================================================================
       LIVE CONVERTER SECTION STYLING
       ========================================================================== */
    .converter-section {
      padding: 96px 0;
      background: var(--bg-subtle);
      border-top: 1px solid var(--border-page);
      border-bottom: 1px solid var(--border-page);
      position: relative;
    }

    .converter-container {
      max-width: 960px;
      margin: 0 auto;
    }

    .converter-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-page);
      border-radius: var(--r-xl);
      box-shadow: var(--shadow-card);
      overflow: hidden;
      margin-top: 32px;
    }

    .converter-card-header {
      padding: 24px 32px;
      border-bottom: 1px solid var(--border-page);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      background: var(--bg-surface-elevated);
    }

    .converter-mode-group {
      display: inline-flex;
      background: var(--bg-muted);
      padding: 4px;
      border-radius: var(--r-md);
      border: 1px solid var(--border-page);
      gap: 2px;
    }

    .mode-btn {
      padding: 6px 14px;
      border-radius: var(--r-sm);
      font-size: 13px;
      font-weight: 500;
      color: var(--text-secondary);
      border: none;
      background: transparent;
      cursor: pointer;
      transition: all var(--ease);
    }

    .mode-btn:hover {
      color: var(--text-main);
    }

    .mode-btn.active {
      background: var(--bg-surface);
      color: var(--accent);
      box-shadow: var(--shadow-sm);
      font-weight: 600;
    }

    .converter-card-body {
      padding: 32px;
    }

    .drop-zone {
      border: 2px dashed var(--border-subtle);
      border-radius: var(--r-lg);
      padding: 48px 24px;
      text-align: center;
      cursor: pointer;
      transition: all var(--ease);
      background: var(--bg-subtle);
    }

    .drop-zone:hover,
    .drop-zone:focus-within {
      border-color: var(--accent);
      background: var(--accent-subtle);
    }

    .drop-zone.drag-active {
      border-color: var(--accent);
      background: var(--accent-subtle);
      transform: scale(1.01);
    }

    .drop-icon {
      color: var(--accent);
      margin-bottom: 16px;
      display: inline-flex;
      padding: 14px;
      border-radius: 50%;
      background: var(--bg-surface);
      box-shadow: var(--shadow-sm);
    }

    .drop-title {
      font-size: 17px;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 6px;
    }

    .drop-subtitle {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 16px;
    }

    .file-name-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: var(--r-full);
      background: var(--tint-w2l-subtle);
      border: 1px solid var(--tint-w2l-border);
      color: var(--tint-w2l);
      font-size: 13px;
      font-family: var(--font-mono);
      margin-top: 16px;
    }

    [hidden],
    .file-name-tag[hidden],
    .status-panel[hidden],
    .error-banner[hidden],
    .output-panel[hidden] {
      display: none !important;
    }

    .status-panel {
      margin-top: 24px;
      padding: 16px 20px;
      border-radius: var(--r-md);
      background: var(--bg-muted);
      border: 1px solid var(--border-page);
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      color: var(--text-secondary);
    }

    .status-indicator-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: #10b981;
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
      flex-shrink: 0;
    }

    .status-spinner {
      width: 16px;
      height: 16px;
      border: 2px solid var(--border-subtle);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      flex-shrink: 0;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    .error-banner {
      margin-top: 24px;
      padding: 14px 18px;
      border-radius: var(--r-md);
      background: rgba(239, 68, 68, 0.08);
      border: 1px solid rgba(239, 68, 68, 0.25);
      color: #dc2626;
      font-size: 14px;
      line-height: 1.5;
    }

    .output-panel {
      margin-top: 28px;
      border: 1px solid var(--border-page);
      border-radius: var(--r-md);
      overflow: hidden;
      background: var(--bg-surface-elevated);
    }

    .output-header {
      padding: 12px 18px;
      border-bottom: 1px solid var(--border-page);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      background: var(--bg-muted);
    }

    .output-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .output-actions {
      display: flex;
      gap: 8px;
    }

    .output-textarea {
      width: 100%;
      min-height: 320px;
      padding: 18px;
      font-family: var(--font-mono);
      font-size: 13px;
      line-height: 1.6;
      background: var(--bg-surface);
      color: var(--text-main);
      border: none;
      resize: vertical;
      box-sizing: border-box;
      white-space: pre;
    }

    .output-textarea:focus {
      outline: none;
    }

    .btn-success {
      background: #059669 !important;
      color: #ffffff !important;
      border-color: #059669 !important;
    }

    .converter-attribution {
      margin-top: 20px;
      text-align: center;
      font-size: 13px;
      color: var(--text-tertiary);
      line-height: 1.5;
    }

    .flex-wrap-gap-8 { display: flex; gap: 8px; flex-wrap: wrap; }
    .flex-wrap-gap-12-mt-8 { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
    .btn-converter-tint { background: var(--tint-w2l); border-color: var(--tint-w2l); }
    .coming-soon-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
    .coming-soon-title { font-size: 1.05rem; font-weight: 700; }
    .coming-soon-desc { font-size: 0.85rem; color: var(--text-secondary); }

    .converter-attribution a {
      color: var(--accent);
      text-decoration: underline;
    }

    /* Reduced Motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
    }
