/* /pricing/compare: every tool, feature by feature (moved off the pricing page 2026-11-12;
   rules taken from the old /subscribe inline <style>). */
:root {
    --sub-blue: #2ba8ff;
    --sub-blue-strong: #1a97f0;
    --sub-blue-deep: #1d4ed8;
    --sub-ink: #0f172a;
    --sub-accent-grad: linear-gradient(135deg, #2ba8ff 0%, #1d4ed8 55%, #0f172a 100%);
}
.sub { color: var(--text-primary); --sub-pad-x: clamp(1rem, 4vw, 2rem); --sub-section-y: clamp(1.5rem, 3vw, 2.5rem); }
.sub-container {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: var(--sub-pad-x);
    padding-right: var(--sub-pad-x);
    width: 100%;
}
.sub-plans-head { text-align: center; margin-bottom: 1.5rem; }
.sub-section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.sub-section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
    color: var(--text-primary);
}
.sub-section-title em { font-style: italic; font-weight: 400; color: var(--sub-blue-deep); }
.sub-modal-cta-row {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.sub-modal-cta-row a {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
}
.sub-modal-cta-row .cta-free { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-color); }
.sub-modal-cta-row .cta-enterprise { background: var(--text-primary); color: var(--bg-primary); }
.sub-modal-cta-row .cta-pro { background: var(--sub-accent-grad); color: #fff; }
/* ============== FULL COMPARISON TABLE ============== */
.sub-fullcmp { padding: var(--sub-section-y) 0 calc(var(--sub-section-y) * 1.5); }
.fullcmp-lede {
    max-width: 640px; margin: 0.6rem auto 0;
    color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55;
}
.fullcmp-lede strong { color: var(--text-primary); font-weight: 600; }

.fullcmp-scroll {
    margin-top: 1.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-primary);
}
.fullcmp-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.fullcmp-table thead th {
    position: sticky; top: 0; z-index: 2;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0.9rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}
.fullcmp-table thead th.fc-feature { text-align: left; }
.fullcmp-table thead th span {
    display: block;
    font-size: 0.72rem; font-weight: 500;
    color: var(--text-tertiary); margin-top: 2px;
}
.fullcmp-table thead th.fc-pro {
    color: var(--sub-blue-deep);
    border-bottom: 2px solid var(--sub-blue);
}
.fullcmp-table thead th.fc-pro span { color: var(--sub-blue-strong); }
.fullcmp-table thead th.fc-ent span { color: var(--text-secondary); }
.fullcmp-table td.fc-ent { background: rgba(100, 116, 139, 0.05); }
.fc-ent .fc-val { color: var(--text-secondary); font-weight: 600; }
[data-theme="dark"] .fullcmp-table td.fc-ent { background: rgba(100, 116, 139, 0.12); }

.fullcmp-table tbody tr { border-top: 1px solid var(--border-color); }
/* Menu-level header (Counters / Scorekeepers / Games / Timers) */
.fullcmp-table tbody tr.fc-menu th {
    text-align: left;
    background: var(--sub-accent-grad);
    color: #fff;
    font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em;
    padding: 0.7rem 0.9rem;
}
.fullcmp-table tbody tr.fc-menu th i { margin-right: 0.5rem; opacity: 0.9; }
/* Tool sub-header (one per individual tool) */
.fullcmp-table tbody tr.fc-tool td {
    background: var(--bg-tertiary);
    padding: 0.5rem 0.9rem;
}
.fc-tool-name { font-weight: 700; color: var(--text-primary); }
.fc-tool-desc { color: var(--text-tertiary); font-size: 0.8rem; margin-left: 0.5rem; }
.fullcmp-table td { padding: 0.55rem 0.9rem; vertical-align: middle; }
.fullcmp-table td.fc-feature { width: 46%; }
.fc-feat-title { display: block; color: var(--text-primary); font-weight: 500; line-height: 1.35; }
.fc-feat-desc { display: block; color: var(--text-tertiary); font-size: 0.78rem; margin-top: 2px; line-height: 1.35; }
.fullcmp-table td.fc-cell { text-align: center; width: 18%; }
.fullcmp-table td.fc-pro { background: rgba(43, 168, 255, 0.055); }
.fc-yes { color: #16a34a; font-size: 0.95rem; }
.fc-pro .fc-yes { color: var(--sub-blue-strong); }
.fc-no { color: var(--text-tertiary); opacity: 0.5; font-size: 0.85rem; }
.fc-val {
    display: inline-block; font-size: 0.78rem; font-weight: 600;
    color: var(--text-secondary); line-height: 1.25;
}
.fc-pro .fc-val { color: var(--sub-blue-deep); }

.fullcmp-cta { max-width: 520px; margin: 1.4rem auto 0; }
.fullcmp-hint {
    text-align: center; margin-top: 0.7rem;
    font-size: 0.78rem; color: var(--text-tertiary);
}
@media (max-width: 560px) {
    .fullcmp-table { font-size: 0.84rem; }
    .fc-feat-desc { display: none; }
}

/* dark theme adjustments via CSS variables already inherited */
[data-theme="dark"] .fullcmp-table td.fc-pro { background: rgba(43, 168, 255, 0.10); }
.sub-compare-back { display: inline-block; margin: 1.5rem 0 0; font-size: 0.875rem; color: var(--text-secondary); text-decoration: none; }
.sub-compare-back:hover { color: var(--sub-blue-deep); text-decoration: underline; }
@media (max-width: 560px) {
    .sub-modal-cta-row { flex-direction: column; }
}
