/* Shared styles for the standalone marketing pages (comparison, radio-automation-software,
   radio-playout-software). Extracted from comparison.html so the three pages stay in step. */
/* ===== Comparison page: fixed light palette, independent of dashboard theme ===== */
.cmp { background: #f6f8fb; color: #1e293b; overflow-x: hidden; font-family: 'Inter', system-ui, sans-serif; }
.cmp ::selection { background: #ef4444; color: #fff; }
.cmp-nav { background: rgba(255,255,255,.85); backdrop-filter: blur(14px); border-bottom: 1px solid #e2e8f0; }
.cmp .btn-cta2 { background: linear-gradient(90deg, #ef4444, #dc2626); color: #fff; white-space: nowrap;
    box-shadow: 0 8px 24px rgba(239,68,68,.25); transition: transform .2s, box-shadow .2s; }
.cmp .btn-cta2:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(239,68,68,.4); }
.cmp .btn-ghost2 { border: 1px solid #cbd5e1; color: #475569; transition: all .2s; white-space: nowrap; }
.cmp .btn-ghost2:hover { border-color: #ef4444; color: #ef4444; background: rgba(239,68,68,.05); }

.cmp-hero { background:
    radial-gradient(700px 300px at 15% -10%, rgba(239,68,68,.10), transparent 70%),
    radial-gradient(700px 300px at 85% -10%, rgba(34,211,238,.10), transparent 70%); }

.cmp-tablewrap { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 40px rgba(15,23,42,.06); }
.cmp-scroll { overflow-x: auto; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 900px; }
.cmp thead th { position: sticky; top: 0; background: #f8fafc; text-align: left; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em; color: #64748b; padding: 12px 14px; border-bottom: 1px solid #e2e8f0;
    white-space: nowrap; }
.cmp tbody td { padding: 13px 14px; border-bottom: 1px solid #eef2f7; color: #334155; vertical-align: top; white-space: nowrap; }
.cmp table.wrapcells { min-width: 1080px; }
.cmp table.wrapcells tbody td { white-space: normal; font-size: 13px; }
.cmp table.wrapcells tbody td:first-child { white-space: nowrap; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody tr:hover { background: #fafbfe; }
.cmp .row-us { background: linear-gradient(90deg, rgba(239,68,68,.06), rgba(34,211,238,.05)) !important; }
.cmp .row-us td { border-top: 2px solid rgba(239,68,68,.45); border-bottom: 2px solid rgba(239,68,68,.45); }
.cmp .plat { font-weight: 700; color: #0f172a; }
.cmp .plan { display: block; font-size: 11.5px; font-weight: 500; color: #64748b; margin-top: 1px; }
.cmp .price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; color: #0f172a; }
.cmp .permo { display: block; font-size: 11.5px; color: #64748b; font-weight: 500; }
.cmp .uschip { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 8px;
    border-radius: 9999px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    background: #ef4444; color: #fff; vertical-align: 2px; }
.cmp .fn { color: #94a3b8; font-size: 11px; vertical-align: super; }
.cmp .yes { color: #15803d; font-weight: 700; }   /* 5.02:1 on white, AA */
.cmp .no { color: #64748b; font-weight: 600; }   /* was #cbd5e1 = 1.48:1, unreadable */
.cmp .part { color: #d97706; font-weight: 600; font-size: 12.5px; }
.cmp .best { color: #16a34a; font-weight: 700; }

.cmp .note-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px 22px; }
.cmp .note-card h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; color: #0f172a; }
.cmp .note-card p { font-size: 13.5px; line-height: 1.65; color: #475569; margin-top: 6px; }

.cmp .faq-l { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.cmp .faq-l summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; font-size: 15px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #0f172a; }
.cmp .faq-l summary::-webkit-details-marker { display: none; }
.cmp .faq-l summary .chev { transition: transform .25s; color: #94a3b8; flex-shrink: 0; }
.cmp .faq-l[open] summary .chev { transform: rotate(180deg); color: #ef4444; }
.cmp .faq-l p { padding: 0 20px 16px; font-size: 14px; line-height: 1.65; color: #475569; }

.cmp-cta { background: linear-gradient(120deg, #0f172a, #1e1b2e 60%, #27121a);
    border-radius: 28px; position: relative; overflow: hidden; }
.cmp-cta::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 9999px;
    right: -160px; top: -260px; background: radial-gradient(circle, rgba(239,68,68,.4), transparent 65%); filter: blur(60px); }

/* ── Section rhythm + fluid tables (automation / playout pages) ─────────
   Spacing lives here, not on Tailwind utilities: static/css/tailwind.css is
   prebuilt with no config, so invented utilities (pb-14, pb-20) compiled to
   nothing and those sections rendered with zero bottom padding. */
.cmp-section { max-width: 1140px; margin: 0 auto; padding: 0 24px; margin-bottom: 72px; }
.cmp-section--narrow { max-width: 780px; }
.cmp-section--wide   { max-width: 1240px; }
.cmp-section > h2 {
    font-size: 30px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700;
    color: #0f172a; margin: 0 0 14px;
}
.cmp-section > .cmp-lead { font-size: 17px; line-height: 1.65; color: #475569; margin: 0 0 28px; max-width: 68ch; }
.cmp-section > .cmp-after { font-size: 16px; line-height: 1.7; color: #475569; margin: 24px 0 0; max-width: 68ch; }
.cmp-section > .cmp-note { font-size: 14px; line-height: 1.6; color: #64748b; margin: 16px 0 0; max-width: 72ch; }

/* Fluid tables size to their container and wrap, so no horizontal scrollbar
   appears at any width the page is actually read at. The 900/1080px min-widths
   above stay for the original comparison page, whose 7-column price grid needs them. */
.cmp table.fluid { min-width: 0; width: 100%; }
.cmp table.fluid thead th { white-space: normal; padding: 14px 16px; }
.cmp table.fluid tbody td { white-space: normal; padding: 15px 16px; font-size: 14px; line-height: 1.55; }
.cmp table.fluid tbody td:first-child { white-space: normal; }
.cmp table.fluid thead th:first-child,
.cmp table.fluid tbody td:first-child { width: 22%; }

/* Below ~720px a 5-column grid genuinely cannot fit; let it scroll there only. */
@media (max-width: 720px) {
    .cmp-section { padding: 0 18px; margin-bottom: 52px; }
    .cmp-section > h2 { font-size: 25px; }
    /* Narrow tables simply wrap. */
    .cmp table.fluid { min-width: 0; }
    .cmp table.fluid thead th:first-child,
    .cmp table.fluid tbody td:first-child { width: auto; }
    /* A 5-column grid cannot wrap into 390px legibly, so it stacks: each row
       becomes a card and each cell carries its column name from data-label.
       Restructuring beats a scrollbar the reader has to discover. */
    .cmp table.stack, .cmp table.stack tbody, .cmp table.stack tr, .cmp table.stack td { display: block; width: auto; }
    .cmp table.stack thead { display: none; }
    .cmp table.stack tr { border-bottom: 1px solid #e2e8f0; padding: 14px 4px; }
    .cmp table.stack tr:last-child { border-bottom: none; }
    .cmp table.stack tbody td { border: none; padding: 5px 12px; display: flex; gap: 12px; align-items: baseline; }
    .cmp table.stack tbody td::before {
        content: attr(data-label); flex: 0 0 42%; font-size: 11px; font-weight: 700;
        text-transform: uppercase; letter-spacing: .06em; color: #64748b;
    }
    .cmp table.stack tbody td:first-child { display: block; margin-bottom: 6px; }
    .cmp table.stack tbody td:first-child::before { content: none; }
    .cmp table.stack .row-us td { border-top: none; border-bottom: none; }
    .cmp table.stack .row-us { border-left: 3px solid rgba(239,68,68,.55); }
}
