/* compare.css — Skylight vs. Hearth vs. Pax comparison page */

.cmp { color: #1e293b; }
.cmp .topnav { padding-top: 28px; }

.cmp-eyebrow { font-size: 12px; font-weight: 700; color: #095FA1; text-transform: uppercase; letter-spacing: 0.1em; }

/* Shared section header */
.cmp .sec-h { text-align: center; max-width: 740px; margin: 0 auto 40px; }
.cmp .sec-h h2 { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 10px; line-height: 1.14; color: #0f2b46; }
.cmp .sec-h h2 em { font-style: italic; color: #66A367; }
.cmp .sec-h p { font-size: 16px; color: #64748b; line-height: 1.55; margin: 0 auto; max-width: 620px; }

/* Buttons (btn-3d is shared from tokens.css) */
.cmp .cmp-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 4px 0 22px; }
.cmp .btn-ghost { display: inline-flex; align-items: center; gap: 7px; padding: 13px 22px; border-radius: 12px; border: 1.5px solid #cbd5e1; background: #fff; color: #334155; font-family: var(--font-body); font-weight: 700; font-size: 15px; text-decoration: none; transition: border-color .15s, color .15s; }
.cmp .btn-ghost:hover { border-color: #095FA1; color: #095FA1; }
.cmp .btn-3d.lg { font-size: 17px; padding: 16px 32px; }

/* ===== HERO ===== */
.cmp-hero { text-align: center; padding: 60px clamp(20px, 5vw, 40px) 56px; max-width: 900px; margin: 0 auto; }
.cmp-hero h1 { font-family: var(--font-display); font-size: 46px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 10px 0 8px; color: #0f2b46; }
.cmp-hero h1 em { font-style: italic; color: #66A367; }
.cmp-hero .tagline { font-size: 19px; font-weight: 600; color: #334155; margin: 0 0 18px; }
.cmp-hero .sub { font-size: 16px; color: #64748b; line-height: 1.6; max-width: 680px; margin: 22px auto 26px; }
.cmp-hero .sub em { font-style: italic; color: #334155; }
.cmp-hero .disclaimer { font-size: 12px; color: #94a3b8; line-height: 1.5; max-width: 620px; margin: 8px auto 0; }

/* ===== 30-SECOND VERDICT ===== */
.cmp-verdict { background: #FBF5EA; padding: 80px var(--page-gutter); }
.cmp-verdict-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1120px; margin: 0 auto; }
.cmp-vcard { background: #fff; border: 1px solid #e9dfcb; border-radius: 16px; padding: 26px 26px 28px; box-shadow: 0 8px 24px -14px rgba(0,0,0,0.12); }
.cmp-vcard.pax { border: 2px solid #66A367; box-shadow: 0 14px 34px -16px rgba(102,163,103,0.4); }
.cmp-vcard .vc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.cmp-vcard h3 { font-family: var(--font-display); font-size: 18px; font-weight: 800; margin: 0; color: #0f2b46; }
.cmp-vcard .vc-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; background: #f1f5f9; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.cmp-vcard .vc-tag.pax { color: #166534; background: #EEF6EC; }
.cmp-vcard p { font-size: 14px; color: #475569; line-height: 1.55; margin: 0; }
.cmp-vcard p em { font-style: italic; color: #1e293b; }

/* ===== COST ===== */
.cmp-cost { background: #fff; padding: 80px var(--page-gutter); }
.cmp-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 1000px; margin: 0 auto; }

/* Mobile-only "swipe to compare" hint (shown above scrollable tables) */
.cmp-swipe { display: none; }
@media (max-width: 700px) {
    .cmp-swipe {
        display: block; max-width: 1000px; margin: 0 auto;
        font-size: 12px; font-weight: 700; color: #095FA1; text-align: right;
    }
    .cmp-group .cmp-swipe { padding: 10px 18px 0; }
}
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: left; font-size: 14.5px; vertical-align: middle; border-bottom: 1px solid #eef2f6; }
.cmp-table thead th { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: #0f2b46; border-bottom: 2px solid #e2e8f0; background: #fff; }
.cmp-table thead th.pax, .cmp-table td.pax { background: #eef5fb; }
.cmp-table thead th.pax { color: #095FA1; }
.cmp-table td.lbl { font-weight: 600; color: #334155; width: 30%; }
.cmp-table .fine { display: block; font-size: 12px; color: #94a3b8; font-weight: 500; }
/* Fixed layout so toggling the Pax values doesn't resize columns (no jump) */
.cmp-cost-table { table-layout: fixed; }
.cmp-cost-table th:first-child, .cmp-cost-table td.lbl { width: 28%; }
.cmp-cost-table th:not(:first-child), .cmp-cost-table td:not(.lbl) { width: 24%; }
.cmp-cost-table td { font-weight: 600; color: #475569; }
.cmp-cost-table td.pax { color: #1e293b; }
.cmp-cost-table tr.total td { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: #0f2b46; border-bottom: 1px solid #e2e8f0; }
.cmp-cost-table tr.total td.pax { color: #095FA1; }
.cmp-cost-table tr.total:last-child td { border-bottom: none; }
.cmp-notes { max-width: 1000px; margin: 18px auto 0; }
.cmp-notes p { font-size: 12.5px; color: #94a3b8; line-height: 1.5; margin: 0 0 6px; }
.cmp-notes sup { color: #64748b; font-weight: 700; }
.cmp-underline { max-width: 1000px; margin: 18px auto 0; text-align: center; font-size: 14px; color: #475569; font-weight: 600; }

/* "What if I don't own a tablet?" toggle */
.cmp-tablet-toggle { max-width: 1000px; margin: 40px auto 0; text-align: center; }
.cmp-switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.cmp-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cmp-switch-track { width: 46px; height: 26px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background .18s; flex: 0 0 auto; }
.cmp-switch-thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform .18s; }
.cmp-switch input:checked + .cmp-switch-track { background: #66A367; }
.cmp-switch input:checked + .cmp-switch-track .cmp-switch-thumb { transform: translateX(20px); }
.cmp-switch input:focus-visible + .cmp-switch-track { box-shadow: 0 0 0 3px rgba(9,95,161,0.25); }
.cmp-switch-label { font-size: 15px; font-weight: 700; color: #334155; }
.cmp-tablet-note { max-width: 620px; margin: 14px auto 0; font-size: 14px; color: #475569; line-height: 1.55; background: #eef5fb; border: 1px solid #dce8f2; border-radius: 10px; padding: 12px 16px; }
.cmp-tablet-note[hidden] { display: none; }
.cmp-tablet-note strong { color: #095FA1; }

/* ===== FEATURE BY FEATURE ===== */
.cmp-feat { background: #F7FAFC; padding: 80px var(--page-gutter); }
.cmp-legend { font-size: 14px; color: #64748b; }
.cmp-legend .yes { color: #22a35a; font-weight: 800; }
.cmp-legend .no { color: #cbd5e1; font-weight: 800; }
.cmp-legend .paid { display: inline-block; font-size: 11px; font-weight: 700; color: #b45309; background: #fdf1dd; border-radius: 6px; padding: 1px 7px; }
.cmp-group { max-width: 1000px; margin: 0 auto 14px; background: #fff; border: 1px solid #e6edf3; border-radius: 14px; overflow: hidden; }
.cmp-group > summary { list-style: none; cursor: pointer; padding: 16px 22px; font-family: var(--font-display); font-size: 16px; font-weight: 800; color: #0f2b46; display: flex; align-items: center; justify-content: space-between; }
.cmp-group > summary::-webkit-details-marker { display: none; }
.cmp-group > summary::after { content: '\25BC'; font-size: 11px; color: #94a3b8; transition: transform .2s; }
.cmp-group[open] > summary::after { transform: rotate(180deg); }
.cmp-group > summary:hover { background: #f8fafc; }
.cmp-group .cmp-tablewrap { border-top: 1px solid #eef2f6; }
.cmp-group .cmp-table { min-width: 620px; }
.cmp-group .cmp-table td, .cmp-group .cmp-table th { font-size: 13.5px; padding: 12px 16px; }
.cmp-table .yes { color: #22a35a; font-weight: 800; margin-right: 3px; }
.cmp-table .no { color: #cbd5e1; font-weight: 800; }
.cmp-table .paid { display: inline-block; font-size: 11px; font-weight: 700; color: #b45309; background: #fdf1dd; border-radius: 6px; padding: 1px 7px; }
.cmp-table .soon { display: inline-block; font-size: 11px; font-weight: 700; color: #095FA1; background: #dce8f2; border-radius: 6px; padding: 1px 7px; }
.cmp-table td.pax a, .cmp-table td a { color: #095FA1; font-weight: 600; }
.cmp-footnote { text-align: left; }

/* ===== WHAT THEY DO BETTER ===== */
.cmp-better { background: #fff; padding: 80px var(--page-gutter); }
.cmp-better-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cmp-better-inner h2 { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 18px; color: #0f2b46; }
.cmp-better-inner h2 em { font-style: italic; color: #66A367; }
.cmp-better-inner p { font-size: 16.5px; color: #475569; line-height: 1.65; margin: 0 0 16px; }
.cmp-better-inner p strong { color: #1e293b; }
.cmp-better-kicker { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: #095FA1 !important; }

/* ===== WHAT A DISPLAY CAN'T DO ===== */
.cmp-cant { background: #FBF5EA; padding: 80px var(--page-gutter); }
.cmp-cant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
.cmp-cant-card { background: #fff; border: 1px solid #e9dfcb; border-radius: 16px; padding: 26px 28px; box-shadow: 0 8px 24px -16px rgba(0,0,0,0.12); }
.cmp-cant-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 8px; color: #0f2b46; }
.cmp-cant-card p { font-size: 15px; color: #475569; line-height: 1.6; margin: 0; }
.cmp-cant-card p em { font-style: italic; color: #1e293b; }

/* ===== TABLET Q&A BAND ===== */
.cmp-qa { background: #fff; padding: 70px var(--page-gutter); }
.cmp-qa-inner { max-width: 1080px; margin: 0 auto; }
.cmp-qa-inner h2 { font-family: var(--font-display); font-size: 26px; font-weight: 800; text-align: center; color: #0f2b46; margin: 0 0 28px; }
.cmp-qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cmp-qa-item { background: #F2F7FB; border: 1px solid #dce8f2; border-radius: 14px; padding: 18px 20px; }
.cmp-qa-item b { display: block; color: #095FA1; font-weight: 700; font-size: 15px; margin-bottom: 5px; }
.cmp-qa-item span { display: block; font-size: 14px; color: #475569; line-height: 1.55; }
.cmp-qa-item a { color: #095FA1; font-weight: 600; }

/* ===== TESTIMONIAL ===== */
.cmp-testi { background: #095FA1; padding: 72px var(--page-gutter); }
.cmp-testi blockquote { max-width: 760px; margin: 0 auto; text-align: center; }
.cmp-testi p { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.4; color: #fff; margin: 0 0 22px; letter-spacing: -0.01em; }
.cmp-testi cite { display: inline-flex; align-items: center; gap: 12px; font-style: normal; color: rgba(255,255,255,0.9); font-size: 15px; }
.cmp-testi cite strong { color: #fff; }
.cmp-testi .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,#667eea,#764ba2); color: #fff; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* ===== FAQ ===== */
.cmp-faq { background: #fff; padding: 80px var(--page-gutter); }
.cmp-faq-list { max-width: 760px; margin: 0 auto; }
.cmp-faq-list details { border-bottom: 1px solid #e2e8f0; }
.cmp-faq-list summary { list-style: none; cursor: pointer; padding: 18px 2px; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #0f2b46; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cmp-faq-list summary::-webkit-details-marker { display: none; }
.cmp-faq-list summary::after { content: '+'; font-size: 20px; color: #94a3b8; font-weight: 400; flex: 0 0 auto; }
.cmp-faq-list details[open] summary::after { content: '\2013'; }
.cmp-faq-list .ans { font-size: 15px; color: #475569; line-height: 1.6; padding: 0 2px 18px; }
.cmp-faq-list .ans a { color: #095FA1; font-weight: 600; }

/* ===== CLOSING CTA ===== */
.cmp-cta { background: linear-gradient(135deg,#0a5ea0,#074d84); padding: 84px var(--page-gutter); text-align: center; }
.cmp-cta h2 { font-family: var(--font-display); font-size: 38px; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 0 0 14px; }
.cmp-cta p { font-size: 17px; color: rgba(255,255,255,0.9); line-height: 1.6; max-width: 620px; margin: 0 auto 26px; }
.cmp-cta .fineprint { font-size: 13px; color: rgba(255,255,255,0.7); margin: 18px auto 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .cmp-hero { padding: 44px 20px 40px; }
    .cmp-hero h1 { font-size: 34px; }
    .cmp-verdict, .cmp-cost, .cmp-feat, .cmp-better, .cmp-cant, .cmp-qa, .cmp-faq { padding: 56px 20px; }
    .cmp-testi, .cmp-cta { padding: 56px 20px; }
    .cmp-verdict-grid { grid-template-columns: 1fr; }
    .cmp-cant-grid { grid-template-columns: 1fr; }
    .cmp-qa-grid { grid-template-columns: 1fr; }
    .cmp .sec-h h2, .cmp-better-inner h2 { font-size: 28px; }
    .cmp-cta h2 { font-size: 30px; }
}
