:root {
    --brand-primary: #2563eb;
    --brand-secondary: #3b82f6;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --radius-full: 9999px;
    --radius-2xl: 2.5rem;
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(2.125rem, 9vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    margin-bottom: 2rem;
}

em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--brand-primary);
}

p.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* In-text links (body copy, feature cards, FAQ) */
main a:not(.btn),
.content a,
.lead a,
p a,
.card p a {
    color: var(--brand-primary);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

main a:not(.btn):hover,
.content a:hover,
.lead a:hover,
p a:hover,
.card p a:hover {
    color: var(--brand-secondary);
    text-decoration: underline;
}

.card p a {
    white-space: nowrap;
}

/* Layout */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 120px 0;
}

.section-alt {
    background: var(--bg-alt);
    padding: 160px 0;
    /* More padding for Planelo feel */
}

/* Navigation */
.nav-wrapper {
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

nav {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1rem 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    color: var(--text-main);
}

.nav-brand img {
    height: 34px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-pill-android {
    color: #2563eb !important;
    font-weight: 600 !important;
    background: #eff6ff;
    padding: 4px 12px !important;
    border-radius: 100px;
    line-height: 1;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle-bar {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--text-main);
    border-radius: 1px;
    transition: var(--transition);
}

nav.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

nav.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

nav.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    background: var(--brand-secondary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.04);
}

.btn-white {
    background: white;
    color: var(--brand-primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
    background: #f8fafc;
}

/* Hero Section */
.hero {
    padding-top: 200px;
    text-align: center;
    background: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero .badge {
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
    justify-content: center;
}

/* Bento Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.section-process-grid {
    gap: 4rem;
}

.section-process-grid h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.card {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    padding: 3.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
}

.card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.card-large {
    grid-column: span 8;
}

.card-medium {
    grid-column: span 6;
}

.card-small {
    grid-column: span 4;
}

.col-4 {
    grid-column: span 4;
}

.col-5 {
    grid-column: span 5;
}

.col-7 {
    grid-column: span 7;
}

.col-8 {
    grid-column: span 8;
}

.col-12 {
    grid-column: span 12;
}

@media (max-width: 900px) {
    section {
        padding: 80px 0;
    }

    .section-alt {
        padding: 80px 0;
    }

    .grid {
        gap: 1.5rem;
    }

    .section-process-grid {
        gap: 1.5rem;
    }

    .section-process-grid h3 {
        font-size: 1.8rem;
    }

    .card-large,
    .card-medium,
    .card-small,
    .platform-card,
    .col-4,
    .col-5,
    .col-7,
    .col-8 {
        grid-column: span 12;
    }

    .platform-actions {
        flex-direction: column;
    }

    .platform-actions .btn {
        width: 100%;
    }

    .hero {
        padding-top: 160px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: min(300px, 100%);
        margin: 2.5rem auto 0;
    }

    .hero-actions .btn,
    .platform-actions .btn,
    .contact-form .btn,
    .cta-box .btn {
        width: 100%;
    }

    nav {
        position: relative;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.5rem 0.75rem;
        max-width: calc(100vw - 1.5rem);
    }

    nav .btn {
        width: auto;
        flex-shrink: 0;
        padding: 0.55rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.75rem;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-radius: 1.25rem;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        z-index: 10;
    }

    nav.is-open .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 0.65rem 0.85rem;
        border-radius: 0.75rem;
    }

    .nav-links a:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    .mockup-stack {
        margin-top: 5rem;
        padding-bottom: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .phone-frame {
        width: 150px;
        height: 310px;
        border-width: 5px;
        border-radius: 24px;
    }

    .phone-1 {
        transform: rotate(-5deg) translateY(0);
    }

    .phone-2 {
        margin-left: -40px;
        transform: rotate(5deg) translateY(20px);
    }

    .card {
        padding: 2rem;
    }

    .card h3 {
        font-size: 1.8rem;
    }

    .feature-list {
        padding-left: 0;
        margin-top: 2rem;
    }

    .cta-box {
        padding: 4rem 1.5rem;
        border-radius: 2rem;
    }

    .contact-container {
        margin-top: 3rem;
    }

    .status-01,
    .status-02,
    .status-03 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: clamp(2.125rem, 8vw, 2.75rem);
        line-height: 1.02;
    }

    h2 {
        font-size: clamp(1.75rem, 6.5vw, 2.2rem);
    }

    p.lead {
        font-size: 1.05rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero {
        padding-top: 140px;
    }

    .hero .badge {
        font-size: 0.65rem;
        padding: 0.5rem 0.85rem;
        line-height: 1.35;
        white-space: normal;
        text-wrap: balance;
        max-width: 100%;
    }

    .card p a {
        white-space: normal;
    }

    .phone-frame {
        width: 118px;
        height: 248px;
    }

    .phone-2 {
        margin-left: -28px;
    }

    .mockup-stack {
        margin-top: 3.5rem;
        padding-bottom: 2rem;
        max-width: 100%;
        overflow: hidden;
    }

    .comparison-section {
        margin-top: 4rem !important;
        margin-bottom: 4rem !important;
    }

    .struggles-grid {
        gap: 3.5rem;
    }

    .nav-brand span {
        font-size: 1rem;
    }

    nav .btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.8125rem;
    }

    #testers {
        padding-top: 120px;
    }

    #cta {
        padding-bottom: 120px;
    }

    footer {
        overflow-x: hidden;
    }
}

@media (max-width: 900px) {
    #testers {
        padding-top: 140px;
    }

    body.has-banner .nav-wrapper {
        top: 5.5rem;
    }

    body.has-banner .hero {
        padding-top: 180px;
    }
}

.comparison-section .card-table {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

img,
iframe,
video {
    max-width: 100%;
}

h1,
h2,
h3 {
    overflow-wrap: break-word;
}

/* Mockup Stack */
.mockup-stack {
    margin-top: 8rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    padding-bottom: 4rem;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: #000;
    border: 8px solid #1a1a1a;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.phone-frame .screen {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    background-size: cover;
    background-position: center;
}

.phone-1 {
    transform: rotate(-5deg) translateY(20px);
    z-index: 1;
}

.phone-2 {
    transform: rotate(5deg) translateX(-40px);
    z-index: 2;
}

.phone-frame:hover {
    transform: translateY(-20px) scale(1.05);
    z-index: 10;
}

/* Sections specific spacing */
#testers {
    padding-top: 200px;
    /* More space from previous section */
    padding-bottom: 80px;
}

#cta {
    padding-top: 80px;
    padding-bottom: 200px;
    /* More space from footer */
}

.cta-box {
    background: var(--brand-primary);
    border-radius: 3.5rem;
    padding: 6rem 3rem;
    text-align: center;
    color: white;
}

.cta-box h2,
.cta-box p {
    color: white;
}

/* Contact Form */
.contact-container {
    max-width: 500px;
    margin: 4rem auto 0;
    text-align: left;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form select option {
    background: var(--brand-primary);
    color: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.contact-form ::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Lists */
.feature-list {
    display: grid;
    gap: 3rem;
    padding-left: 2rem;
}

.feature-list-item {
    position: relative;
}

.feature-list-item strong {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
}

.feature-list-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Blobs */
.blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

/* Footer */
footer {
    padding: 80px 0 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Section headings & intros */
.section-heading-center {
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Platforms */
#platforms {
    padding: 100px 0 80px;
}

.platforms-grid {
    gap: 2rem;
}

.platform-card {
    grid-column: span 4;
    padding: 2.5rem;
    position: relative;
}

.platform-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.platform-card p {
    flex: 1;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.platform-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-full);
}

.platform-badge-live {
    color: var(--brand-primary);
    background: rgba(37, 99, 235, 0.08);
}

.platform-badge-beta {
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
}

.platform-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.platform-actions .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .platform-card {
        grid-column: span 12;
        min-width: 0;
    }
}

/* Stats Section */
.stats-bar {
    margin-top: 4rem;
    position: relative;
    z-index: 20;
    margin-bottom: 6rem;
}

.stats-grid {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
}

.stat-item {
    text-align: center;
    padding: 0 1rem;
    flex: 1;
}

.stat-item:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-value {
    display: block;
    font-size: 3.5rem;
    font-family: 'Instrument Serif', serif;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .stats-bar {
        margin-top: 2rem;
        margin-bottom: 4rem;
    }

    .stats-grid {
        flex-direction: column;
        gap: 2.5rem;
        padding: 2.5rem 1.5rem;
    }

    .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 2.5rem;
    }

    .stat-value {
        font-size: 2.8rem;
    }
}

/* Dev Struggles Section */
.struggles-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 40px;
}

.struggle-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.struggle-item:nth-child(even) {
    direction: rtl;
}

.struggle-item:nth-child(even) .struggle-content {
    direction: ltr;
}

.struggle-item:nth-child(even) .struggle-card {
    direction: ltr;
}

.badge-mini {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.4rem 0.8rem;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.struggle-content h2 {
    margin-bottom: 1.5rem;
}

.struggle-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.struggle-card {
    background: #0f172a;
    /* Dark slate */
    border-radius: 2rem;
    padding: 3.5rem;
    color: white;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.struggle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.card-user {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #94a3b8;
    background-size: cover;
}

.user-meta .user-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
}

.user-meta .user-rating {
    display: block;
    font-size: 0.8rem;
    color: #fbbf24;
    margin-top: 2px;
}

.card-quote {
    font-family: 'Instrument Serif', serif;
    font-size: 1.8rem;
    line-height: 1.35;
    color: #cbd5e1;
    font-style: italic;
}

.card-quote .highlight {
    background: #059669;
    /* Slightly darker green for background */
    color: white;
    padding: 0 6px;
    border-radius: 4px;
    font-weight: 500;
    font-style: normal;
}

@media (max-width: 900px) {
    .struggles-grid {
        gap: 80px;
    }

    .struggle-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .struggle-item:nth-child(even) {
        direction: ltr;
    }

    .struggle-card {
        padding: 2.5rem;
    }

    .card-quote {
        font-size: 1.5rem;
    }
}

/* ── Compare hub & article pages (/compare/) ── */

/* Keep top nav identical to landing (Inter, not article serif headings) */
body.compare-page .nav-wrapper .nav-brand,
body.compare-page .nav-wrapper .nav-links a,
body.compare-page .nav-wrapper .btn {
    font-family: 'Inter', sans-serif;
}

body.compare-page .nav-wrapper .nav-brand {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
    letter-spacing: normal;
}

body.compare-page .nav-wrapper .nav-brand span {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

body.compare-page .nav-wrapper .nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0;
}

body.compare-page .compare-hero {
    padding: 140px 0 48px;
    text-align: center;
}

body.compare-page .compare-hero.compare-hero--article {
    padding-bottom: 60px;
}

body.compare-page .compare-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

body.compare-page .compare-hero .lead {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-muted);
}

body.compare-page .compare-hero .badge {
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

body.compare-page .article-wrap {
    max-width: 820px;
    margin: 0 auto 100px;
    padding: 0 1.5rem;
}

body.compare-page .article-wrap h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 2.5rem 0 1rem;
    color: var(--text-main);
}

body.compare-page .article-wrap h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 1.75rem 0 0.5rem;
    color: var(--text-main);
}

body.compare-page .article-wrap p,
body.compare-page .article-wrap li {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

body.compare-page .article-wrap strong {
    color: var(--text-main);
    font-weight: 600;
}

body.compare-page .article-wrap ul,
body.compare-page .article-wrap ol {
    padding-left: 1.35rem;
    margin-bottom: 1.5rem;
}

body.compare-page .article-wrap ul {
    list-style: disc;
}

body.compare-page .article-wrap ol {
    list-style: decimal;
}

body.compare-page .article-wrap li {
    margin-bottom: 0.5rem;
}

body.compare-page .article-wrap a,
body.compare-page .hub-note a {
    color: var(--brand-primary);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

body.compare-page .article-wrap a:hover,
body.compare-page .hub-note a:hover {
    color: var(--brand-secondary);
    text-decoration: underline;
}

body.compare-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--brand-primary);
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

body.compare-page .back-link:hover {
    color: var(--brand-secondary);
}

body.compare-page .summary-box {
    background: var(--bg-alt);
    border-radius: var(--radius-2xl);
    padding: 2rem 2.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.compare-page .summary-box p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

body.compare-page .compare-table-wrap {
    overflow-x: auto;
    margin: 2rem 0;
    -webkit-overflow-scrolling: touch;
}

body.compare-page table.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

body.compare-page .compare-table th,
body.compare-page .compare-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: top;
}

body.compare-page .compare-table th {
    background: var(--bg-alt);
    font-weight: 600;
    color: var(--text-main);
}

body.compare-page .compare-table td {
    color: var(--text-muted);
}

body.compare-page .compare-table td:first-child {
    font-weight: 500;
    color: var(--text-main);
}

body.compare-page .compare-table tbody tr:last-child td {
    border-bottom: none;
}

body.compare-page .compare-table th.col-tb,
body.compare-page .compare-table td.col-tb {
    background: rgba(37, 99, 235, 0.07);
    border-left: 1px solid rgba(37, 99, 235, 0.12);
}

body.compare-page .compare-table td.diff-yes {
    background: rgba(22, 163, 74, 0.09);
}

body.compare-page .compare-table td.diff-no {
    background: rgba(0, 0, 0, 0.04);
}

body.compare-page .compare-table td.diff-partial {
    background: rgba(234, 179, 8, 0.1);
}

body.compare-page .compare-table td.diff-yes::before,
body.compare-page .compare-table td.diff-no::before,
body.compare-page .compare-table td.diff-partial::before {
    display: inline-block;
    margin-right: 0.35rem;
    font-weight: 700;
    font-size: 0.85em;
    line-height: 1;
}

body.compare-page .compare-table td.diff-yes::before {
    content: "✓";
    color: #16a34a;
}

body.compare-page .compare-table td.diff-no::before {
    content: "—";
    color: var(--text-muted);
}

body.compare-page .compare-table td.diff-partial::before {
    content: "◐";
    color: #ca8a04;
}

body.compare-page .related-links--comparisons {
    margin-bottom: 0.5rem;
}

body.compare-page .callout {
    border-left: 4px solid var(--brand-primary);
    padding: 1rem 1.25rem;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 0 1rem 1rem 0;
    margin: 2rem 0;
}

body.compare-page .callout p {
    margin: 0;
    color: var(--text-main);
    line-height: 1.65;
}

body.compare-page .cta-inline {
    text-align: center;
    background: var(--brand-primary);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    margin: 3rem 0;
}

body.compare-page .cta-inline h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    color: #fff;
}

body.compare-page .cta-inline p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
}

body.compare-page .cta-inline .btn-white {
    margin-top: 1rem;
}

body.compare-page .related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

body.compare-page .related-links a {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    background: var(--bg-alt);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

body.compare-page .related-links a:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--brand-primary);
    text-decoration: none;
}

body.compare-page .updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

/* Compare hub listing */
body.compare-page .hub-wrap {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 0 1.5rem;
}

body.compare-page .article-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-2xl);
    padding: 2rem 2.5rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

body.compare-page .article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
}

body.compare-page .article-card h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

body.compare-page .article-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

body.compare-page .article-card .meta {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-primary);
    font-family: 'Inter', sans-serif;
}

body.compare-page .article-card.is-live .meta::before {
    content: "Live · ";
}

body.compare-page .article-card.coming-soon {
    opacity: 0.55;
    pointer-events: none;
}

body.compare-page .article-card.coming-soon .meta {
    color: var(--text-muted);
}

body.compare-page .hub-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 2rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

@media (max-width: 768px) {
    body.compare-page .compare-hero {
        padding: 120px 0 32px;
    }

    body.compare-page .compare-hero.compare-hero--article {
        padding-bottom: 40px;
    }

    body.compare-page .article-wrap {
        padding: 0 1.25rem;
    }

    body.compare-page .article-card {
        padding: 1.5rem;
    }

    body.compare-page .summary-box {
        padding: 1.5rem;
    }

    body.compare-page table.compare-table {
        font-size: 0.85rem;
    }

    body.compare-page .compare-table th,
    body.compare-page .compare-table td {
        padding: 0.75rem;
    }
}