/* ============================================================
   Long-form content pages: privacy, terms, refund, founders.
   Builds on the tokens in styles.css.
   ============================================================ */
.content-page { background: var(--canvas); }

/* ---------- legal documents ---------- */
.legal-container {
    max-width: 820px; margin: 48px auto 80px; padding: 48px 56px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
}
.legal-header { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-header h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.legal-header p { color: var(--text); font-size: 1.02rem; }
.legal-dates {
    display: inline-block; font-size: .82rem !important; font-weight: 700; color: var(--muted) !important;
    background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-top: 14px;
}

.legal-toc { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 36px; }
.legal-toc h2 { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 10px; }
.legal-toc ol { margin-left: 20px; color: var(--brand-700); columns: 2; column-gap: 28px; font-size: .92rem; }
.legal-toc li { margin-bottom: 4px; break-inside: avoid; }
.legal-toc a { color: var(--brand-700); text-decoration: none; font-weight: 600; }
.legal-toc a:hover { text-decoration: underline; }

.policy-section { margin-bottom: 32px; scroll-margin-top: calc(var(--header-h) + 24px); }
.policy-section h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.policy-section h3 { font-size: 1.02rem; font-weight: 800; margin: 18px 0 8px; }
.policy-section p { color: var(--text); margin-bottom: 12px; }
.policy-section ul { list-style: none; margin: 0 0 12px; display: grid; gap: 8px; }
.policy-section li { position: relative; padding-left: 22px; color: var(--text); }
.policy-section li::before {
    content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px;
    border-radius: 50%; background: var(--brand-400);
}
.policy-section a { color: var(--brand); font-weight: 600; }
.policy-section strong { color: var(--ink); }
.policy-callout {
    background: var(--accent-50); border: 1px solid #fbd999; border-left: 4px solid var(--accent);
    color: #6b4000; border-radius: var(--radius); padding: 14px 18px; margin: 14px 0;
}
.policy-callout strong { color: #6b4000; }

.back-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
    color: var(--brand); text-decoration: none; font-weight: 700;
}
.back-link:hover { text-decoration: underline; }

/* ---------- founders ---------- */
.founders-hero {
    text-align: center; padding: 72px 16px 40px;
    background: linear-gradient(180deg, var(--brand-50), var(--canvas));
}
.founders-hero .section-label {
    display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.founders-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.founders-hero p { max-width: 640px; margin: 0 auto; color: var(--text); font-size: 1.1rem; }

.founders-grid {
    max-width: 1040px; margin: 16px auto 96px; padding: 0 24px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.founder-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.founder-photo {
    width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 18%;
    background: var(--canvas); display: block;
}
.founder-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.founder-body h2 { font-size: 1.5rem; font-weight: 800; }
.founder-role { color: var(--brand); font-weight: 800; font-size: .92rem; margin-top: -6px; }
.founder-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.founder-tags span {
    background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 999px;
    padding: 3px 12px; font-size: .8rem; color: var(--brand-700); font-weight: 700;
}
.founder-body p { color: var(--text); }
.founder-contact {
    margin-top: auto; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 18px;
    color: var(--ink); font-weight: 700; text-decoration: none; font-size: .92rem;
    transition: border-color .15s, color .15s;
}
.founder-contact:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 760px) {
    .legal-container { margin: 20px 16px 56px; padding: 28px 22px; border-radius: var(--radius-lg); }
    .legal-toc ol { columns: 1; }
    .founders-hero { padding: 48px 16px 28px; }
    .founders-grid { grid-template-columns: 1fr; padding: 0 16px; margin-bottom: 64px; }
    .founder-body { padding: 22px 22px 26px; }
}
