/* Shared styles for /compare/* pages, layered on top of legal.css */

.compare-hero {
    background: linear-gradient(135deg, #ECFDF5 0%, #F8FAF9 60%);
    border-bottom: 1px solid #D1FAE5;
    padding: 56px 24px 40px;
}
.compare-hero .container {
    max-width: 880px;
    margin: 0 auto;
}
.compare-hero .eyebrow {
    display: inline-block;
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.compare-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #1F2937;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.compare-hero .lede {
    font-size: 1.1rem;
    color: #4B5563;
    max-width: 700px;
    margin: 0 0 24px;
    line-height: 1.55;
}
.compare-hero .meta {
    display: flex;
    gap: 16px;
    color: #6B7280;
    font-size: 0.9rem;
    flex-wrap: wrap;
    margin: 0 0 24px;
}
.compare-hero .meta span:not(:last-child)::after {
    content: "·";
    margin-left: 16px;
    opacity: 0.5;
}
.compare-hero .cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.compare-hero .btn-primary {
    background: #059669;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.15s ease;
}
.compare-hero .btn-primary:hover {
    transform: translateY(-1px);
    background: #047857;
}
.compare-hero .btn-secondary {
    background: transparent;
    color: #047857;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1.5px solid #A7F3D0;
}

.compare-tldr {
    background: rgba(5, 150, 105, 0.06);
    border-left: 4px solid #059669;
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 4px;
}
.compare-tldr h2 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.compare-tldr p {
    margin: 0 0 12px;
    line-height: 1.65;
}
.compare-tldr p:last-child { margin-bottom: 0; }
.compare-tldr ul {
    margin: 0;
    padding-left: 22px;
    line-height: 1.7;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.92rem;
}
.compare-table th,
.compare-table td {
    padding: 11px 12px;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}
.compare-table th {
    background: #F8FAF9;
    font-weight: 700;
    color: #1F2937;
}
.compare-table td.center,
.compare-table th.center { text-align: center; }
.compare-table td.right,
.compare-table th.right { text-align: right; }
.compare-table tr:nth-child(even) td { background: #FBFCFB; }
.compare-table .yes { color: #059669; font-weight: 600; }
.compare-table .no { color: #9CA3AF; }
.compare-table .partial { color: #D97706; }
.compare-table .free { color: #059669; font-weight: 700; }
.compare-table .price { font-weight: 600; color: #1F2937; }
.compare-table .row-highlight td { background: #ECFDF5 !important; }

.alt-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 28px;
    margin: 28px 0;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.alt-card.featured {
    border-color: #059669;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
    box-shadow: 0 8px 24px -16px rgba(5, 150, 105, 0.25);
}
.alt-card .rank {
    display: inline-block;
    background: #047857;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-right: 8px;
}
.alt-card .alt-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.alt-card .alt-card-header h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: #1F2937;
}
.alt-card .alt-card-tagline {
    color: #4B5563;
    font-size: 0.95rem;
    margin: 0 0 16px;
}
.alt-card .alt-card-meta {
    display: flex;
    gap: 24px;
    font-size: 0.88rem;
    color: #6B7280;
    margin: 0 0 16px;
    flex-wrap: wrap;
}
.alt-card .alt-card-meta strong { color: #1F2937; }
.alt-card h4 {
    font-size: 1rem;
    color: #1F2937;
    margin: 16px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.alt-card .alt-card-cta {
    display: inline-block;
    background: #059669;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
    margin-right: 8px;
}
.alt-card .alt-card-cta.outbound {
    background: transparent;
    color: #047857;
    border: 1.5px solid #A7F3D0;
}

.compare-cta {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff;
    padding: 32px;
    border-radius: 12px;
    margin: 40px 0;
    text-align: center;
}
.compare-cta h3 {
    color: #fff;
    margin: 0 0 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
}
.compare-cta p {
    color: #ECFDF5;
    margin: 0 0 20px;
}
.compare-cta a {
    display: inline-block;
    background: #fff;
    color: #059669;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}
.compare-cta a + a {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
    margin-left: 8px;
}

.faq-block details {
    border-bottom: 1px solid #E5E7EB;
    padding: 16px 0;
}
.faq-block summary {
    cursor: pointer;
    font-weight: 600;
    color: #1F2937;
    padding: 4px 0;
    list-style: none;
}
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::before {
    content: "+";
    display: inline-block;
    width: 20px;
    color: #059669;
    font-weight: 700;
    transition: transform 0.15s ease;
}
.faq-block details[open] summary::before {
    content: "−";
}
.faq-block details[open] summary { color: #059669; }
.faq-block details > p {
    margin: 12px 0 0 20px;
    color: #4B5563;
    line-height: 1.65;
}

.compare-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}
.compare-grid-3 .nav-card {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 24px;
    background: #fff;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.compare-grid-3 .nav-card:hover {
    transform: translateY(-2px);
    border-color: #059669;
}
.compare-grid-3 .nav-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: #1F2937;
    margin: 0 0 8px;
}
.compare-grid-3 .nav-card p {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 12px;
}
.compare-grid-3 .nav-card a {
    color: #059669;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
@media (max-width: 720px) {
    .compare-grid-3 { grid-template-columns: 1fr; }
}

.disclosure {
    background: #FFF7ED;
    border-left: 3px solid #D97706;
    padding: 14px 18px;
    margin: 24px 0;
    font-size: 0.92rem;
    color: #78350F;
    border-radius: 4px;
}
.disclosure strong { color: #1F2937; }

h2[id] { scroll-margin-top: 80px; }
