/* ============================================================================
   KnoxCall comparison pages — /blog/compare/knoxcall-vs-*, in the site's
   grammar (2026-09-20).

   Every comparison page links /styles.css first (tokens, reset, layout shell,
   buttons, reveal) and then this file, which carries the page's own parts:
   the two-logo lead, the two summary columns, the feature tables, the prose,
   the pricing columns, the questions, the close. The three MCP posts use a
   second vocabulary (hero, section header, tool tiles, flow steps, the honest
   box); it is here too. Every class any of the twenty-five pages uses has a
   rule here; tests/coverage/landing-compare-pages.test.ts checks that.
   ============================================================================ */

/* ---- the lead: two names, the title, one paragraph ---- */
.back-link { display: inline-block; margin: 0; font-size: 14px; color: var(--text-secondary); text-decoration: none; }
.back-link:hover { color: var(--text-primary); }
.page-hero { padding: 110px 0 60px; }
.page-hero .container { max-width: 1140px; }
.comparison-logos { display: flex; align-items: center; gap: 28px; margin-bottom: 40px; }
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-box { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: #111111; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.logo-box img { width: 28px; height: 28px; object-fit: contain; }
.logo-label { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.vs-badge { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); }
.hero-title { margin: 0 0 22px; max-width: 900px; font-size: 64px; font-weight: 600; line-height: 1.0; letter-spacing: -0.035em; color: var(--text-primary); text-wrap: balance; }
.hero-title::after { content: '.'; color: #a855f7; }
.hero-subtitle { margin: 0 0 32px; max-width: 720px; font-size: 20px; line-height: 1.5; color: var(--text-secondary); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- two summaries, side by side, no boxes ---- */
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding: 40px 0; border-top: 1px solid var(--border); }
.summary-card { min-width: 0; }
.summary-card h3 { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--text-secondary); }
.summary-card.knoxcall h3 { color: #a855f7; }
.summary-card ul { list-style: none; margin: 0; padding: 0; }
.summary-card li { position: relative; padding: 9px 0 9px 20px; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.summary-card li:last-child { border-bottom: 1px solid var(--border); }
.summary-card.knoxcall li::before { content: '+'; position: absolute; left: 0; color: #a855f7; }
.summary-card.competitor li::before { content: '·'; position: absolute; left: 0; color: var(--text-tertiary); }

/* ---- section heads and the feature tables ---- */
.section-title { margin: 72px 0 24px; font-size: 44px; font-weight: 600; line-height: 1.0; letter-spacing: -0.035em; color: var(--text-primary); }
.section-title::after { content: '.'; color: #a855f7; }
.category-header { margin: 36px 0 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #a855f7; font-weight: 600; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 14px; }
.comparison-table th { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); white-space: nowrap; }
.comparison-table th:not(:first-child) { width: 22%; }
.comparison-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-secondary); }
.comparison-table tr:last-child td { border-bottom: 1px solid var(--border); }
.comparison-table tr:hover td { background: transparent; }
.feature-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.feature-desc { margin-top: 2px; font-size: 13px; color: var(--text-tertiary); line-height: 1.45; }
.feature-cell { min-width: 0; }
.feature-cell-inner { display: flex; flex-direction: column; gap: 4px; }
.check { color: #22c55e; font-weight: 600; }
.cross { color: var(--text-tertiary); }
.partial { color: #f0b35a; font-weight: 600; }
.feature-note { display: block; font-size: 12px; color: var(--text-tertiary); line-height: 1.45; }
.custom-val { font-size: 14px; color: var(--text-primary); }

/* ---- the prose ---- */
.prose-section { max-width: 820px; font-size: 17px; line-height: 1.75; color: var(--text-secondary); }
.prose-section h3 { margin: 32px 0 12px; font-size: 20px; font-weight: 600; color: var(--text-primary); }
.prose-section p { margin: 0 0 18px; }
.prose-section a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
.prose-section strong { color: var(--text-primary); font-weight: 600; }
.honesty-box { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 2px solid #a855f7; font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
.honesty-box strong, .honesty-box h3, .honesty-box h4 { color: var(--text-primary); }
.honesty-box p:last-child { margin-bottom: 0; }

/* ---- pricing as columns ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 8px; }
.pricing-column { min-width: 0; }
.pricing-column h3 { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); font-weight: 600; }
.pricing-card { padding: 18px 0; border-top: 1px solid var(--border); }
.pricing-card:last-child { border-bottom: 1px solid var(--border); }
.pricing-card.highlighted .tier-name::after { content: '.'; color: #a855f7; }
.pricing-header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.tier-name { font-size: 17px; font-weight: 600; color: var(--text-primary); }
.tier-price { font-size: 17px; font-weight: 600; color: var(--text-primary); white-space: nowrap; }
.tier-features { list-style: none; margin: 0; padding: 0; }
.tier-features li { font-size: 14px; color: var(--text-secondary); line-height: 1.5; padding: 3px 0; }
.tier-features li::before { content: none; }
.pricing-note { margin: 16px 0 0; font-size: 13px; color: var(--text-tertiary); }

/* ---- the questions ---- */
.faq-section { padding: 40px 0 0; }
.faq-section .section-title { margin-top: 32px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--text-primary); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--text-tertiary); font-size: 18px; flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 0 16px; max-width: 820px; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }

/* ---- the close ---- */
.cta-section { margin-top: 90px; padding: 100px 0 40px; border-top: 1px solid var(--border); text-align: center; }
.cta-section::before { content: none; }
.cta-section h2 { margin: 0 auto 16px; max-width: 800px; font-size: 52px; font-weight: 600; line-height: 1.0; letter-spacing: -0.035em; color: var(--text-primary); text-wrap: balance; }
.cta-section h2::after { content: '.'; color: #a855f7; }
.cta-section p { margin: 0 auto 28px; max-width: 600px; font-size: 19px; line-height: 1.5; color: var(--text-secondary); }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- the three MCP posts' vocabulary ---- */
.hero { padding: 110px 0 60px; }
.hero .container { max-width: 1140px; }
.aig-hero-pill { display: inline-block; margin-bottom: 20px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #a855f7; font-weight: 600; }
.hero h1 { margin: 0 0 22px; max-width: 900px; font-size: 64px; font-weight: 600; line-height: 1.0; letter-spacing: -0.035em; color: var(--text-primary); text-wrap: balance; }
.hero h1::after { content: '.'; color: #a855f7; }
.hero h1 span { color: var(--text-secondary); font-weight: 400; }
.hero-sub { margin: 0 0 32px; max-width: 720px; font-size: 20px; line-height: 1.5; color: var(--text-secondary); text-wrap: pretty; }
.hero-sub code { font-family: var(--font-mono); font-size: 0.88em; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); color: var(--text-primary); }
.hero .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }
.section-header { margin: 72px 0 28px; }
.section-label { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #a855f7; font-weight: 600; }
.section-header .section-title { margin: 0 0 12px; }
.section-title span { color: var(--text-secondary); }
.section-description { margin: 0; max-width: 720px; font-size: 18px; line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }
.aig-tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; }
.aig-tool-tile { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; min-width: 0; }
.aig-tool-tile strong { display: block; font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.aig-tool-tile small { display: block; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.aig-comp-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 14px; }
.aig-comp-table th { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
.aig-comp-table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-secondary); line-height: 1.5; }
.aig-comp-table td:first-child { color: var(--text-primary); font-weight: 600; }
.aig-comp-yes { color: #22c55e; font-weight: 600; }
.aig-comp-no { color: var(--text-tertiary); }
.aig-comp-na { color: var(--text-tertiary); }
.aig-flow { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 8px; border-top: 1px solid var(--border); }
.aig-flow-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.aig-flow-num { font-size: 28px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: #a855f7; }
.aig-flow-body h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--text-primary); }
.aig-flow-body p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-secondary); }
.final-cta { margin-top: 90px; padding: 100px 0 40px; border-top: 1px solid var(--border); text-align: center; position: relative; }
.final-cta::before { content: none; }
.final-cta h2 { margin: 0 auto 16px; max-width: 800px; font-size: 52px; font-weight: 600; line-height: 1.0; letter-spacing: -0.035em; color: var(--text-primary); text-wrap: balance; }
.final-cta h2::after { content: '.'; color: #a855f7; }
.final-cta p { margin: 0 auto 28px; max-width: 600px; font-size: 19px; line-height: 1.5; color: var(--text-secondary); }
.final-cta .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
    .summary-grid, .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
    .aig-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-title, .hero h1 { font-size: 46px; }
    .section-title { font-size: 34px; margin-top: 56px; }
    .cta-section h2, .final-cta h2 { font-size: 36px; }
    .comparison-table, .aig-comp-table { display: block; overflow-x: auto; }
}
@media (max-width: 560px) {
    .page-hero, .hero { padding-top: 90px; }
    .hero-title, .hero h1 { font-size: 38px; }
    .aig-tools-grid { grid-template-columns: 1fr; }
    .comparison-logos { flex-wrap: wrap; gap: 14px; }
}
