/* =============================================================================
   Laterium marketing — supporting (sub) page styles  (BF.1)

   Loaded AFTER /styles.css on the standalone pages (careers, blog, help,
   status, api, and the legal pages). Reuses the design tokens (CSS custom
   properties), navbar, footer, buttons, and lead-form classes already defined
   in /styles.css; this file only adds the page-specific layout (page hero,
   prose/legal copy, FAQ accordion, status board, info cards).
   ============================================================================= */

/* Push content below the fixed navbar (the home page hero handles this itself). */
.subpage {
    padding-top: 70px;
}

/* ---- Page hero -------------------------------------------------------------- */
.page-hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 72px 0 64px;
    text-align: center;
}

.page-hero .container {
    max-width: 820px;
}

.page-hero .page-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

.page-hero p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    margin: 0 auto;
}

/* ---- Generic section ------------------------------------------------------- */
.page-section {
    padding: 72px 0;
}

.page-section.alt {
    background: var(--bg-secondary);
}

.page-section .container {
    max-width: 880px;
}

.page-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.page-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 0 10px;
}

/* ---- Long-form / legal prose ---------------------------------------------- */
.prose {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.prose p,
.prose ul,
.prose ol {
    margin-bottom: 18px;
}

.prose ul,
.prose ol {
    padding-left: 24px;
}

.prose li {
    margin-bottom: 8px;
}

.prose a {
    color: var(--primary-color);
    text-decoration: underline;
}

.prose strong {
    color: var(--text-primary);
}

.legal-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

/* Highlighted placeholder / notice banner. */
.notice {
    border: 1px solid #fcd34d;
    background: #fffbeb;
    color: #92400e;
    border-radius: var(--border-radius-lg);
    padding: 18px 22px;
    margin-bottom: 32px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.notice strong {
    color: #78350f;
}

/* ---- Info cards (Careers, Blog, API) -------------------------------------- */
.info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.info-card .info-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.info-card h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.info-card .btn-primary,
.info-card .btn-secondary {
    margin-top: 8px;
}

/* ---- FAQ accordion --------------------------------------------------------- */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-primary);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 22px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question .faq-toggle {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.faq-item.open .faq-question .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.faq-answer-inner {
    padding: 0 22px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---- Status board ---------------------------------------------------------- */
.status-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: var(--border-radius-lg);
    padding: 20px 24px;
    font-size: 1.0625rem;
    font-weight: 600;
    max-width: 760px;
    margin: 0 auto 32px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.status-list {
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-primary);
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-color);
}

.status-row:last-child {
    border-bottom: none;
}

.status-row .status-name {
    font-weight: 600;
    color: var(--text-primary);
}

.status-row .status-name small {
    display: block;
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 2px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #065f46;
    background: #ecfdf5;
    border-radius: 999px;
    padding: 6px 14px;
    white-space: nowrap;
}

.status-pill .status-dot {
    width: 9px;
    height: 9px;
    box-shadow: none;
}

.status-note {
    max-width: 760px;
    margin: 24px auto 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ---- Sub-page lead/contact form -------------------------------------------- */
.form-card {
    max-width: 640px;
    margin: 0 auto;
}

/* ---- Simple back link ------------------------------------------------------ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 28px;
}

.back-link:hover {
    text-decoration: underline;
}

/* ---- Responsive ------------------------------------------------------------ */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .page-section {
        padding: 48px 0;
    }

    .info-card {
        padding: 28px 22px;
    }
}
