/* Auto Join Meetings — Blog shared styles. Palette matches index.html. */
:root {
    --color-primary: #4f46e5;
    --color-primary-hover: #4338ca;
    --color-dark: #0f172a;
    --color-gray: #64748b;
    --color-light: #f8fafc;
    --color-border: #e2e8f0;
}

body { font-family: 'Inter', sans-serif; line-height: 1.6; margin: 0; padding: 0; background-color: var(--color-light); color: var(--color-dark); }
.container { width: 90%; max-width: 800px; margin: auto; padding: 0 20px; }

header { background-color: #ffffff; border-bottom: 1px solid var(--color-border); padding: 12px 0; position: sticky; top: 0; z-index: 50; }
header nav.top-nav { display: flex; justify-content: space-between; align-items: center; max-width: 800px; margin: 0 auto; padding: 0 20px; width: 90%; box-sizing: content-box; }
header .brand { font-weight: 800; color: var(--color-primary); text-decoration: none; font-size: 1.1em; }
header .links { display: flex; gap: 18px; }
header .links a { color: var(--color-dark); text-decoration: none; font-weight: 600; font-size: 0.9em; }
header .links a:hover { color: var(--color-primary); }

main { padding: 40px 0 60px; }

.blog-index h1 { font-size: 1.8em; }
.post-list { list-style: none; padding: 0; }
.post-list li { border-bottom: 1px solid var(--color-border); padding: 18px 0; }
.post-list a { text-decoration: none; color: var(--color-dark); font-weight: 700; font-size: 1.1em; }
.post-list a:hover { color: var(--color-primary); }
.post-list p { color: var(--color-gray); margin: 6px 0 0; }
.post-date { font-size: 0.85em; color: #94a3b8; }

article.post h1 { font-size: 1.9em; margin-bottom: 6px; }
.post-meta { color: var(--color-gray); font-size: 0.9em; margin-bottom: 30px; }
article.post h2 { font-size: 1.3em; margin-top: 32px; }
article.post p, article.post li { font-size: 1.02em; }
article.post table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.92em; }
article.post th, article.post td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-border); }
article.post th { color: var(--color-gray); font-weight: 700; }
article.post img { max-width: 100%; border-radius: 10px; border: 1px solid var(--color-border); margin: 20px 0; display: block; }
article.post .img-caption { color: var(--color-gray); font-size: 0.85em; text-align: center; margin-top: -12px; margin-bottom: 20px; }

article.post pre { background: #0f172a; color: #e2e8f0; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: 0.85em; line-height: 1.55; margin: 20px 0; }
article.post pre code { background: none; color: inherit; padding: 0; }
article.post p code, article.post li code { background: #eef2ff; color: var(--color-primary); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; font-family: 'SFMono-Regular', Consolas, monospace; }

.cta-box { background: white; border: 1px solid var(--color-border); border-radius: 10px; padding: 24px; text-align: center; margin: 36px 0; }
.cta-box .btn { display: inline-block; background: var(--color-primary); color: white; padding: 12px 26px; border-radius: 8px; text-decoration: none; font-weight: 700; margin-top: 10px; }
.cta-box .btn:hover { background: var(--color-primary-hover); }

footer { border-top: 1px solid var(--color-border); padding: 24px 0; text-align: center; color: var(--color-gray); font-size: 0.85em; }
footer a { color: var(--color-gray); }

@media (max-width: 640px) { .container, header nav.top-nav { width: 94%; } }

/* Landing pages (2026-09-19) - shares this stylesheet with the blog rather
   than a separate landing.css, so both content types stay visually
   consistent with one file to maintain. */
.landing-hero { text-align: center; padding: 20px 0 10px; }
.landing-hero h1 { font-size: 2em; margin-bottom: 10px; }
.landing-hero .subhead { color: var(--color-gray); font-size: 1.1em; max-width: 640px; margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 24px 0; }
.feature-card { background: white; border: 1px solid var(--color-border); border-radius: 10px; padding: 18px; }
.feature-card h3 { margin: 0 0 6px; font-size: 1.05em; }
.feature-card p { margin: 0; color: var(--color-gray); font-size: 0.95em; }

.faq-item { border-bottom: 1px solid var(--color-border); padding: 16px 0; }
.faq-item h3 { margin: 0 0 6px; font-size: 1.05em; }
.faq-item p { margin: 0; color: var(--color-gray); }

.disclosure-note { font-size: 0.85em; color: var(--color-gray); background: #f1f5f9; border-radius: 8px; padding: 12px 16px; margin: 24px 0; }

.limitations-note { font-size: 0.92em; color: var(--color-gray); background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 14px 16px; margin: 20px 0; }

.lang-selector select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    font-family: inherit;
    font-size: 0.85em;
    color: var(--color-dark);
    background: white;
}

/* Partner application form (2026-09-19) - shared by /affiliates/apply and
   /creators/apply in all three languages, so the form only needs styling
   once. */
.partner-form { background: white; border: 1px solid var(--color-border); border-radius: 10px; padding: 24px; margin: 24px 0; }
.partner-form label { display: block; font-weight: 600; font-size: 0.9em; margin: 14px 0 6px; }
.partner-form input[type="text"], .partner-form input[type="email"], .partner-form input[type="url"], .partner-form select, .partner-form textarea {
    width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 8px; font-family: inherit; font-size: 0.95em;
}
.partner-form textarea { min-height: 80px; resize: vertical; }
.partner-form .checkbox-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.partner-form .checkbox-row label { margin: 0; font-weight: 500; }
.partner-form button[type="submit"] { margin-top: 20px; background: var(--color-primary); color: white; border: none; padding: 12px 26px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 1em; }
.partner-form button[type="submit"]:hover { background: var(--color-primary-hover); }
.partner-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 0.9em; display: none; }
.form-message.success { background: #dcfce7; color: #166534; display: block; }
.form-message.error { background: #fee2e2; color: #991b1b; display: block; }
