/**
 * Tow Deputy — pages.css
 * Shared stylesheet for new SEO landing pages (blog, integrations, solutions, compare, etc).
 * Plain semantic CSS — NOT Tailwind. output.css is a frozen build with no build step, so any
 * new page content styled here must not rely on Tailwind utility classes that may be absent
 * from that bundle. Everything below is scoped under .page-content, following the precedent
 * set by the inline #privacy-content / #tos-content styles in privacy.html and tos.html.
 *
 * Brand: primary #1E3A8A | hover #152D6F | light #EEF2FF (matches theme.css)
 * Headings: #111827 | Body text: #4B5563 | Font: 'Inter', sans-serif
 *
 * Load order on any page that uses this file:
 *   /output.css, /safari-fixes.css, /theme.css, then /pages.css last.
 */

.page-content {
    font-family: 'Inter', sans-serif;
    color: #4B5563;
    max-width: 72ch;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.page-content > * + * {
    margin-top: 1.25rem;
}

/* ── Headings ── */

.page-content h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #111827;
    font-size: 2.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.page-content h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #111827;
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.page-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #111827;
    font-size: 1.25rem;
    line-height: 1.35;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* ── Body copy ── */

.page-content p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #4B5563;
}

.page-content strong {
    font-weight: 700;
    color: #111827;
}

.page-content a {
    color: #1E3A8A;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.page-content a:hover {
    color: #152D6F;
}

/* ── Lists ── */

.page-content ul,
.page-content ol {
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-content ul {
    list-style: disc;
}

.page-content ol {
    list-style: decimal;
}

.page-content li {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #4B5563;
}

.page-content li::marker {
    color: #1E3A8A;
}

/* ── Tables ── */

.page-content .table-wrap {
    overflow-x: auto;
    border: 1px solid #E5E7EB;
    border-radius: 0.75rem;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.page-content th,
.page-content td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.page-content th {
    background: #EEF2FF;
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
}

.page-content tr:last-child td {
    border-bottom: none;
}

/* ── Blockquote ── */

.page-content blockquote {
    border-left: 4px solid #1E3A8A;
    background: #EEF2FF;
    color: #111827;
    padding: 1rem 1.25rem;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 1.0625rem;
    font-style: italic;
}

/* ── Card / panel ── */

.page-content .page-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}

.page-content .page-card h3 {
    margin-top: 0;
}

.page-content .card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

/* ── CTA button ── */

.page-content .cta-button {
    display: inline-block;
    background: #1E3A8A;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
    padding: 0.9rem 2rem;
    border-radius: 9999px;
    font-size: 1.0625rem;
    box-shadow: 0 10px 15px -3px rgba(30,58,138,0.25);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.page-content .cta-button:hover {
    background: #152D6F !important;
    transform: translateY(-1px);
}

.page-content .cta-band {
    background: #EEF2FF;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

.page-content .cta-band h2 {
    margin-top: 0;
}

.page-content .cta-band p {
    max-width: 44ch;
    margin-left: auto;
    margin-right: auto;
}

/* ── FAQ item (native <details>/<summary>) ── */

.page-content .faq-item {
    background: #F8FAFC;
    border: 1px solid #F3F4F6;
    border-radius: 1rem;
    padding: 0;
    margin-top: 1rem;
}

.page-content .faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    color: #111827;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-content .faq-item summary::-webkit-details-marker {
    display: none;
}

.page-content .faq-item summary::after {
    content: "+";
    color: #1E3A8A;
    font-weight: 900;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.page-content .faq-item[open] summary::after {
    content: "\2212";
}

.page-content .faq-item .faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4B5563;
    margin-top: 0;
}

/* ── Breadcrumb ── */

.page-content .breadcrumb {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.page-content .breadcrumb a {
    color: #6B7280;
    text-decoration: none;
    font-weight: 600;
}

.page-content .breadcrumb a:hover {
    color: #1E3A8A;
}

.page-content .breadcrumb span[aria-current] {
    color: #111827;
}

/* ── Eyebrow / kicker label ── */

.page-content .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1E3A8A;
    background: #EEF2FF;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

/* ── Field list (used for the intake-field example) ── */

.page-content .field-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0;
    list-style: none;
    margin-top: 1rem;
}

.page-content .field-list li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.9375rem;
}

.page-content .field-list li::marker {
    content: none;
}

.page-content .field-list .field-name {
    font-weight: 700;
    color: #111827;
    min-width: 11rem;
    flex-shrink: 0;
}

/* ── Hero band for landing pages ── */

.page-content .page-hero {
    text-align: left;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.page-content .page-hero p.lede {
    font-size: 1.1875rem;
    color: #4B5563;
    max-width: 60ch;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .page-content {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .page-content h1 {
        font-size: 1.875rem;
    }

    .page-content h2 {
        font-size: 1.5rem;
        margin-top: 2.25rem;
    }

    .page-content h3 {
        font-size: 1.125rem;
    }

    .page-content p,
    .page-content li {
        font-size: 1rem;
    }

    .page-content .field-list .field-name {
        min-width: 100%;
    }

    .page-content .field-list li {
        flex-direction: column;
        gap: 0.15rem;
    }

    .page-content .cta-band {
        padding: 2rem 1.25rem;
    }
}

@media (min-width: 640px) {
    .page-content .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
