/* ============================================================
   /mcp landing — code-block styling on top of the shared
   public-tools base (redirect-checker.css). Design tokens come
   from /static/landing/styles.css via public_base.html.
   ============================================================ */

.code-block {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 245, 212, 0.22);
    border-left: 3px solid var(--neon-cyan);
    clip-path: var(--clip-card);
    padding: 16px 18px;
    margin: 0 0 20px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-primary);
}

.code-block code {
    font-family: var(--font-mono);
    color: var(--text-primary);
    white-space: pre;
    background: none;
    padding: 0;
}

/* Inline <code> inside prose on this page */
.tools-page p code,
.tools-page li code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--neon-cyan);
    background: rgba(0, 245, 212, 0.07);
    padding: 1px 5px;
    clip-path: var(--clip-badge);
}

.code-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* The "ask Claude" example prompts inside the tool list */
.tools-page .checklist li em {
    color: var(--text-muted);
    font-style: italic;
}

/* Design system: cut corners via clip-path, never border-radius — make it
   explicit on the CTA buttons so no upstream reset leaks a rounded corner. */
.tools-hero .btn-primary,
.tools-hero .btn-secondary,
.product-cta .btn-primary,
.product-cta .btn-secondary {
    border-radius: 0;
}

@media (max-width: 640px) {
    /* Stack the hero + CTA button pairs full-width on mobile for solid taps. */
    .tools-hero p:last-child,
    .product-cta p:last-child {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .tools-hero .btn-primary,
    .tools-hero .btn-secondary,
    .product-cta .btn-primary,
    .product-cta .btn-secondary {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }
}
