  /* ========================================
     CSS CUSTOM PROPERTIES
     ======================================== */
  :root {
    --bg-deep: #020202;
    --bg-surface: #060606;
    --bg-elevated: #0a0a0a;

    --text-primary: #d4d4d4;
    --text-secondary: #888888;
    --text-dim: #484848;
    --text-faint: #2a2a2a;

    --line-core: #ffffff;
    --line-glow: rgba(255, 255, 255, 0.5);
    --line-glow-soft: rgba(255, 255, 255, 0.15);
    --line-accent: #ffffff;

    --border: #151515;
    --border-subtle: #0e0e0e;

    --font-display: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-sine: cubic-bezier(0.37, 0, 0.63, 1);
  }

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

  html {
    font-size: 16px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
  }

  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

  ::selection {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
  }

  body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
  }

  /* ========================================
     NOISE TEXTURE OVERLAY
     ======================================== */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
  }

  /* ========================================
     SCROLL REVEAL BASE
     ======================================== */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ========================================
     NAV
     ======================================== */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 64px;
    background: rgba(2, 2, 2, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-wordmark {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .nav-link {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.3s var(--ease-smooth);
    cursor: pointer;
  }

  .nav-link:hover {
    color: var(--text-secondary);
  }

  .nav-btn {
    position: relative;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
    overflow: hidden;
  }

  .nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--line-accent);
    box-shadow: 0 0 8px var(--line-glow), 0 0 20px var(--line-glow-soft);
    transition: width 0.4s var(--ease-out-expo);
  }

  .nav-btn:hover {
    border-color: #333;
    background: rgba(255, 255, 255, 0.02);
  }

  .nav-btn:hover::after {
    width: 80%;
  }

  .nav-btn:active {
    transform: scale(0.975);
  }

  /* ========================================
     HERO
     ======================================== */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 64px 24px 0;
    position: relative;
    overflow: hidden;
  }

  /* Light-based ambient background (cubic.dev style) */
  .hero-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }

  /* Primary light source — large soft radial from upper center */
  .hero-ambient::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80%;
    background: radial-gradient(
      ellipse 50% 60% at 50% 0%,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.035) 25%,
      rgba(255, 255, 255, 0.02) 45%,
      transparent 70%
    );
  }

  /* Secondary warm spill — adds depth and asymmetry */
  .hero-ambient::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background:
      radial-gradient(ellipse 40% 50% at 35% 40%, rgba(255, 220, 170, 0.025) 0%, transparent 60%),
      radial-gradient(ellipse 35% 45% at 65% 50%, rgba(200, 180, 220, 0.018) 0%, transparent 60%);
  }


  .hero-headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 400;
    color: rgba(240, 240, 242, 0.85);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: text-reveal 1s var(--ease-out-expo) 0.3s forwards;
  }


  @keyframes text-reveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ---- THE THRESHOLD LINE ---- */
  .threshold-line-wrapper {
    position: relative;
    width: 65%;
    max-width: 800px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    animation: line-appear 1.2s var(--ease-out-expo) 1s forwards;
  }

  @keyframes line-appear {
    to { opacity: 1; }
  }

  .threshold-line {
    position: relative;
    width: 100%;
    height: 1px;
    background: var(--line-core);
  }

  .threshold-line::before {
    content: '';
    position: absolute;
    inset: -1px 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    filter: blur(2px);
    animation: line-breathe 4s var(--ease-sine) infinite;
  }

  .threshold-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
    box-shadow:
      0 0 4px 1px rgba(255, 255, 255, 0.4),
      0 0 15px 3px rgba(255, 255, 255, 0.2),
      0 0 40px 8px rgba(255, 255, 255, 0.1),
      0 0 80px 16px rgba(255, 255, 255, 0.05);
    animation: line-breathe 4s var(--ease-sine) infinite;
  }

  @keyframes line-breathe {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
  }

  /* Light flash bar that follows cursor on the line */
  .glow-follow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 2px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7) 25%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.7) 75%, transparent);
    box-shadow:
      0 0 6px 1px rgba(255, 255, 255, 0.5),
      0 0 20px 4px rgba(255, 255, 255, 0.25),
      0 0 60px 12px rgba(255, 255, 255, 0.1),
      0 0 120px 30px rgba(255, 255, 255, 0.04);
    overflow: visible;
  }


  .threshold-line-wrapper:hover .glow-follow,
  .threshold-line-wrapper.active .glow-follow {
    opacity: 1;
  }


  /* End dots on the line */
  .threshold-line .line-cap {
    position: absolute;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--line-core);
    transform: translateY(-50%);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  }

  .threshold-line .line-cap.left { left: 0; }
  .threshold-line .line-cap.right { right: 0; }


  /* ---- CTA BUTTON WITH ROTATING BORDER ---- */
  @property --cta-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
  }

  .cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: rgba(240, 240, 242, 0.5);
    background: var(--bg-deep);
    border: none;
    padding: 12px 36px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    transition: color 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
    opacity: 0;
    animation: text-reveal 0.8s var(--ease-out-expo) 1.8s forwards;
    z-index: 1;
  }


  /* Rotating conic gradient border */
  .cta-btn::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 999px;
    padding: 1px;
    background: conic-gradient(
      from var(--cta-angle),
      transparent 0%,
      rgba(255, 255, 255, 0.5) 8%,
      rgba(255, 255, 255, 0.7) 12%,
      transparent 22%,
      transparent 50%,
      rgba(255, 255, 255, 0.2) 58%,
      transparent 68%,
      transparent 100%
    );
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: cta-rotate 4s linear infinite;
    z-index: -1;
  }

  /* Static subtle border underneath so it's never fully invisible */
  .cta-btn::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 999px;
    padding: 1px;
    background: rgba(255, 255, 255, 0.06);
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -2;
  }

  @keyframes cta-rotate {
    to { --cta-angle: 360deg; }
  }

  .cta-btn svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: opacity 0.4s;
  }

  .cta-btn:hover {
    color: rgba(240, 240, 242, 0.9);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.06), inset 0 0 40px rgba(255, 255, 255, 0.02);
  }

  .cta-btn:hover svg {
    opacity: 1;
  }

  .cta-btn:active {
    transform: scale(0.975);
  }

  /* ========================================
     SECTION SHARED
     ======================================== */
  section {
    padding: 180px 24px;
    position: relative;
  }


  /* ========================================
     SHARED SECTION ELEMENTS
     ======================================== */
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
  }


  .section-heading {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .section-body {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
  }

  /* ========================================
     BOTTOM CTA
     ======================================== */
  .bottom-cta {
    text-align: center;
    padding: 200px 24px;
  }


  .bottom-threshold-wrapper {
    position: relative;
    width: 40%;
    max-width: 500px;
    height: 60px;
    margin: 0 auto 56px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bottom-threshold-line {
    position: relative;
    width: 100%;
    height: 1px;
    background: var(--line-core);
  }

  .bottom-threshold-line::before {
    content: '';
    position: absolute;
    inset: -1px 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(2px);
    animation: line-breathe 4s var(--ease-sine) infinite;
  }

  .bottom-threshold-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
    box-shadow:
      0 0 4px 1px rgba(255, 255, 255, 0.4),
      0 0 15px 3px rgba(255, 255, 255, 0.2),
      0 0 40px 8px rgba(255, 255, 255, 0.1);
    animation: line-breathe 4s var(--ease-sine) infinite;
  }


  /* ========================================
     FOOTER
     ======================================== */
  footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 48px;
    border-top: 1px solid var(--border-subtle);
    font-size: 12px;
    color: var(--text-faint);
  }

  footer a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
  }

  footer a:hover {
    color: var(--text-secondary);
  }

  .footer-links {
    display: flex;
    gap: 24px;
  }

  /* ========================================
     SCROLL TRANSITION — HERO TO PRODUCT
     ======================================== */
  .hero {
    will-change: transform, opacity;
  }

  /* ========================================
     RESPONSIVE
     ======================================== */
  @media (max-width: 768px) {
    nav { padding: 0 24px; }
    .nav-links { gap: 20px; }
    .credibility-bar { flex-direction: column; gap: 12px; margin-top: 20px; }
    .credibility-logos { gap: 20px; }
    .threshold-line-wrapper { width: 85%; }
    section { padding: 120px 20px; }
    .container { padding: 0 24px; }
    .bottom-threshold-wrapper { width: 65%; }
    .bottom-cta { padding: 140px 24px; }
    footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
  }


  /* ========================================
     CREDIBILITY BAR (inside hero)
     ======================================== */
  .credibility-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    opacity: 0;
    animation: text-reveal 1s var(--ease-out-expo) 1.2s forwards;
  }

  .credibility-label {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-faint);
    letter-spacing: 0.04em;
  }

  .credibility-logos {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .credibility-logo {
    opacity: 0.6;
    transition: opacity 0.3s var(--ease-smooth);
  }

  .credibility-logo:hover {
    opacity: 0.85;
  }

  .credibility-logo--nasa {
    height: 32px;
    width: auto;
  }

  .credibility-logo--cf {
    height: 24px;
    width: auto;
  }


  /* ========================================
     MICRO-ANIMATIONS LAYER
     ======================================== */

  /* Staggered reveal variants */
  .reveal-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  }
  .reveal-slide-left.visible { opacity: 1; transform: translateX(0); }

  .reveal-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  }
  .reveal-slide-right.visible { opacity: 1; transform: translateX(0); }

  .reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  }
  .reveal-scale.visible { opacity: 1; transform: scale(1); }

  .reveal-blur {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  }
  .reveal-blur.visible { opacity: 1; filter: blur(0); transform: translateY(0); }

  /* Stagger delay classes for children */
  [data-stagger] > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  }
  [data-stagger].visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
  [data-stagger].visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
  [data-stagger].visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
  [data-stagger].visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
  [data-stagger].visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
  [data-stagger].visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

  /* Nav wordmark hover glow */
  .nav-wordmark {
    transition: text-shadow 0.3s var(--ease-smooth), color 0.3s;
  }
  .nav-wordmark:hover {
    text-shadow: 0 0 20px rgba(255,255,255,0.12);
  }

  /* Nav link underline sweep */
  .nav-link {
    position: relative;
    overflow: hidden;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--line-accent);
    box-shadow: 0 0 4px rgba(255,255,255,0.3);
    transition: width 0.35s var(--ease-out-expo);
  }
  .nav-link:hover::after {
    width: 100%;
  }


  /* Footer links hover glow */
  footer a {
    position: relative;
  }
  footer a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255,255,255,0.2);
    transition: width 0.3s var(--ease-out-expo);
  }
  footer a:hover::after {
    width: 100%;
  }


  /* CTA button icon bounce on hover */
  .cta-btn:hover svg {
    animation: iconBounce 0.5s var(--ease-out-expo);
  }
  @keyframes iconBounce {
    0% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
  }

  /* Section heading text clip reveal */
  .section-heading {
    background-size: 200% 100%;
    transition: background-position 1.2s var(--ease-out-expo);
  }


  /* ========================================
     INTELLIGENCE LAYER PAGES — NEW COMPONENTS
     ======================================== */

  /* Code snippet block (MCP config, etc.) */
  .code-snippet {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: auto;
    white-space: pre;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Feature card grid (3-column, reusable) */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
  }

  .feature-card {
    background: var(--bg-surface);
    padding: 32px 24px;
    transition: background 0.35s var(--ease-out-expo);
  }
  .feature-card:hover { background: var(--bg-elevated); }

  .feature-card-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  .feature-card-body {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
  }

  @media (max-width: 768px) {
    .feature-grid { grid-template-columns: 1fr; }
  }


  .step-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 300;
    color: var(--text-faint);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }


  .tool-name {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
  }


  /* Comparison section (side-by-side) */
  .comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
  }

  .comparison-card {
    background: var(--bg-surface);
    padding: 32px 28px;
    transition: background 0.35s var(--ease-out-expo);
  }
  .comparison-card:hover { background: var(--bg-elevated); }

  .comparison-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .comparison-text {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
  }

  .comparison-text code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    color: var(--text-primary);
    background: var(--bg-deep);
    padding: 1px 5px;
    border-radius: 3px;
  }

  @media (max-width: 640px) {
    .comparison-grid { grid-template-columns: 1fr; }
  }


  /* Two-column section (for deep dives) */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
  }


  @media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; gap: 32px; }
  }


  .stat-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.02em;
  }

  .stat-label {
    font-size: 11px;
    font-weight: 300;
    color: var(--text-dim);
    margin-top: 4px;
  }

  /* Section container (standard content section with padding) */
  .content-section {
    padding: 80px 24px;
    max-width: 960px;
    margin: 0 auto;
  }


  .section-center {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
  }


  /* Tabbed MCP config component */
  .mcp-tabs {
    max-width: 520px;
    margin: 0 auto;
  }

  .mcp-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
  }

  .mcp-tab-btn {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-dim);
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    letter-spacing: 0.01em;
  }

  .mcp-tab-btn:hover { color: var(--text-secondary); }

  .mcp-tab-btn.active {
    color: var(--text-primary);
    border-bottom-color: var(--line-core);
  }

  .mcp-tab-content {
    display: none;
  }

  .mcp-tab-content.active {
    display: block;
  }

  .mcp-tab-content .code-snippet {
    border-radius: 0 0 8px 8px;
    border-top: none;
    margin: 0;
    max-width: none;
    text-align: left;
  }

  /* ========================================
     Shared page styles
     (workspace.html + intelligence.html)
     ======================================== */
  .nav-link.active { color: var(--text-secondary); }

  .pricing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 400;
    padding: 10px 28px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    letter-spacing: -0.01em;
    text-transform: lowercase;
  }

  .pricing-cta-primary {
    color: var(--bg-deep);
    background: var(--text-primary);
    border: none;
  }
  .pricing-cta-primary:hover { opacity: 0.85; }

  .page-header {
    padding: 160px 24px 80px;
    text-align: center;
  }

  .page-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
  }

  .page-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
  }
