/* Shared styles for static text pages: legal (privacy/terms), FAQ, About.
   These pages are hand-authored static HTML served at the edge with no JS bundle. */
:root {
    --primary-color: #1f2430;
    --secondary-color: #3a3f4b;
    --accent-color: #8c55f2;
    --accent-strong: #7c3aed;
    --text-color: #333;
    --muted-color: #64748b;
    --light-gray: #faf8ff;
    --border-soft: #ece8f6;
    --spacing-unit: 1.5rem;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: var(--light-gray);
}

/* ---- Shared site header ---- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
}

.site-header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.85rem var(--spacing-unit);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-color);
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: 32px;
    height: 32px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

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

.site-nav a:hover {
    color: var(--accent-strong);
}

/* ---- Content container ---- */
.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem var(--spacing-unit);
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-unit);
    padding-bottom: var(--spacing-unit);
    border-bottom: 2px solid var(--accent-color);
}

h2 {
    color: var(--secondary-color);
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h3 {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--accent-strong);
}

ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    color: var(--secondary-color);
}

.intro {
    font-size: 1.1rem;
    color: var(--muted-color);
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.contact-section {
    background-color: var(--light-gray);
    padding: var(--spacing-unit);
    border-radius: 6px;
    margin-top: 2rem;
}

/* ---- FAQ accordion (CSS-only, no JS) ---- */
.faq-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background: #f3edff;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    margin-bottom: 0.4rem;
}

.faq-item {
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 0.4rem 1rem;
    margin-bottom: 0.85rem;
    background: #fff;
}

.faq-item > summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color);
    list-style: none;
    padding: 0.6rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.faq-item > summary::after {
    content: '+';
    color: var(--accent-strong);
    font-size: 1.4rem;
    line-height: 1;
    flex: none;
}

.faq-item[open] > summary::after {
    content: '\2013';
}

.faq-answer {
    padding-bottom: 0.6rem;
}

.faq-answer p {
    margin: 0.4rem 0 0.6rem;
}

.faq-links a {
    margin-right: 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ---- About-specific ---- */
.cta-row {
    margin: 1.5rem 0 0.5rem;
}

.cta-btn {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
}

.cta-btn:hover {
    background: var(--accent-strong);
}

/* ---- Shared site footer ---- */
.site-footer {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem var(--spacing-unit) 2.5rem;
    text-align: center;
}

.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 0.75rem;
}

.site-footer-inner a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer-inner a:hover {
    color: var(--accent-strong);
}

.site-footer-copy {
    color: var(--muted-color);
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 768px) {
    .container {
        margin: 1rem;
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .site-nav {
        gap: 0.9rem;
    }
}
