/* ── Hero ── */
  .page-hero {
    position: relative;
    text-align: center;
    margin: 0 0 2rem 0;
    background-image: linear-gradient(135deg, rgba(11,102,255,0.15), rgba(42,160,255,0.15)), url('/static/hero/mcp.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    color: #fff;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
  }
  .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
  }
  .page-hero .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
  }
  .page-hero h1 {
    margin: 0 0 1rem 0;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.5);
    line-height: 1.15;
  }
  .page-hero .hero-tagline {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255,255,255,0.98);
    max-width: 64ch;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    line-height: 1.5;
  }
  .page-hero .hero-cta-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  @media (max-width:768px) {
    .page-hero { min-height: 280px; }
    .page-hero h1 { font-size: 2rem; }
    .page-hero .hero-tagline { font-size: 1.1rem; }
    .page-hero .hero-content { padding: 2rem 1rem; }
  }

  /* ── Generic ── */
  .section-intro { max-width: 76ch; margin: 0 auto 1.5rem; text-align: center; color: var(--muted); font-size: 1.05rem; line-height: 1.7 }
  .section-heading { text-align: center; margin: 2.5rem 0 0.5rem; font-size: 1.85rem; font-weight: 700; letter-spacing: -0.01em }
  .section-subheading { text-align: center; margin: 0 0 1.5rem; font-size: 1rem; color: var(--muted); max-width: 60ch; margin-left: auto; margin-right: auto }

  /* ── Advantage cards ── */
  .adv-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.25rem; margin: 1.5rem 0 }
  @media (max-width:600px) { .adv-grid { grid-template-columns: 1fr } }
  .adv-card {
    border: 1px solid rgba(15,23,42,0.08);
    background: linear-gradient(180deg, #fff, #fafafa);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  }
  .adv-card h3 { margin: 0 0 0.75rem 0; font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem }
  .adv-card h3 .icon { font-size: 1.4rem; line-height: 1 }
  .adv-card p { color: var(--muted); line-height: 1.6; margin: 0 }

  /* ── Problem/solution split ── */
  .problem-solution { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0 }
  @media (max-width:700px) { .problem-solution { grid-template-columns: 1fr } }
  .problem-col, .solution-col { padding: 1.5rem; border-radius: 10px }
  .problem-col { background: linear-gradient(180deg, #fef2f2, #fff5f5); border: 1px solid rgba(239,68,68,0.15) }
  .solution-col { background: linear-gradient(180deg, #f0fdf4, #f7fef9); border: 1px solid rgba(34,197,94,0.15) }
  .problem-col h3, .solution-col h3 { margin: 0 0 0.75rem; font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem }
  .problem-col ul, .solution-col ul { margin: 0; padding-left: 1.25rem; color: var(--muted); line-height: 1.7 }
  .problem-col ul li, .solution-col ul li { margin-bottom: 0.4rem }

  /* ── Setup steps ── */
  .setup-block { max-width: 860px; margin: 0 auto 2rem }
  .setup-block h3 { font-size: 1.35rem; font-weight: 700; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem }
  .setup-block h3 .ide-badge { display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(11,102,255,0.08); color: var(--brand,#0b66ff); padding: 0.15rem 0.6rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600 }
  .setup-block .step-list { list-style: none; padding: 0; margin: 0.75rem 0 1rem; counter-reset: step-count }
  .setup-block .step-list li { counter-increment: step-count; padding: 0.6rem 0 0.6rem 2.5rem; position: relative; color: var(--muted); line-height: 1.6 }
  .setup-block .step-list li::before { content: counter(step-count); position: absolute; left: 0; top: 0.55rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--brand,#0b66ff); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem }
  .setup-block .step-list li strong { color: var(--text,#1a1a2e) }

  /* ── Code block ── */
  .config-block { background: #0f172a; color: #e2e8f0; border-radius: 8px; padding: 1rem 1.25rem; font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace; font-size: 0.9rem; line-height: 1.6; overflow-x: auto; margin: 0.75rem 0 1rem; position: relative }
  .config-block .label { position: absolute; top: 0.4rem; right: 0.6rem; font-size: 0.7rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.05em }

  /* ── Screenshot figure ── */
  .screenshot-fig { margin: 1rem 0 1.5rem; text-align: center }
  .screenshot-fig img { width: 100%; max-width: 1000px; border-radius: 10px; border: 1px solid rgba(15,23,42,0.06); box-shadow: 0 4px 16px rgba(0,0,0,0.06) }
  .screenshot-fig figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted) }

  /* ── Comparison table ── */
  .cmp-wrap { overflow-x: auto; margin: 1.25rem 0 }
  .cmp-table { width: 100%; border-collapse: collapse; font-size: 0.93rem }
  .cmp-table th, .cmp-table td { padding: 0.65rem 0.85rem; text-align: left; border-bottom: 1px solid rgba(15,23,42,0.06) }
  .cmp-table thead th { background: rgba(11,102,255,0.06); font-weight: 700; white-space: nowrap }
  .cmp-table tbody tr:hover { background: rgba(11,102,255,0.02) }
  .cmp-table .check { color: #22c55e; font-weight: 700 }
  .cmp-table .cross { color: #ef4444; font-weight: 700 }
  .cmp-table .partial { color: #f59e0b; font-weight: 600 }

  /* ── Callout box ── */
  .callout-box {
    background: linear-gradient(135deg, rgba(11,102,255,0.06), rgba(42,160,255,0.06));
    border-left: 4px solid var(--brand,#0b66ff);
    border-radius: 0 10px 10px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
  }
  .callout-box h3 { margin: 0 0 0.5rem; font-size: 1.15rem }
  .callout-box p { margin: 0; color: var(--muted); line-height: 1.6 }

  /* ── Security highlight ── */
  .security-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.25rem; margin: 1.5rem 0 }
  .sec-card { border: 1px solid rgba(34,197,94,0.15); background: linear-gradient(180deg, #f0fdf4, #fff); padding: 1.5rem; border-radius: 10px }
  .sec-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem }
  .sec-card p { margin: 0; color: var(--muted); line-height: 1.6 }

  /* ── Spec table ── */
  .spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1rem 0 }
  .spec-table th, .spec-table td { padding: 0.6rem 1rem; text-align: left; border-bottom: 1px solid rgba(15,23,42,0.06) }
  .spec-table th { font-weight: 600; background: rgba(11,102,255,0.04); white-space: nowrap; width: 35% }
  .spec-table td { color: var(--muted) }

  /* ── FAQ ── */
  .faq-section { max-width: 800px; margin: 2rem auto }
  .faq-item { border-bottom: 1px solid rgba(15,23,42,0.06); padding: 1rem 0 }
  .faq-item summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center }
  .faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--brand,#0b66ff); transition: transform 0.2s }
  .faq-item[open] summary::after { content: "−" }
  .faq-item .faq-body { margin-top: 0.6rem; color: var(--muted); line-height: 1.65 }

  /* ── CTA ── */
  .cta-section { background: linear-gradient(135deg, rgba(11,102,255,0.08), rgba(42,160,255,0.08)); border-radius: 10px; padding: 2rem 1.5rem; text-align: center; margin: 2.5rem 0 }
  .cta-section h3 { margin: 0 0 0.75rem; font-size: 1.35rem }
  .cta-section p { margin: 0 0 1rem; color: var(--muted); max-width: 60ch; margin-left: auto; margin-right: auto }
  .cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap }

  /* ── Cross-links ── */
  .cross-links { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1rem; margin: 1.5rem 0 }
  .cross-link-card { border: 1px solid rgba(15,23,42,0.08); border-radius: 10px; padding: 1.25rem; text-decoration: none; color: inherit; transition: box-shadow 0.15s, border-color 0.15s }
  .cross-link-card:hover { border-color: var(--brand,#0b66ff); box-shadow: 0 4px 16px rgba(11,102,255,0.08) }
  .cross-link-card h4 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--brand,#0b66ff) }
  .cross-link-card p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.5 }
