/* Public content pages (blog, articles, Contact Sales). Same tokens as templates/seo_landing.html. */
:root {
    --teal: #0f766e; --teal-dark: #0d6560; --ink: #0f172a; --text: #334155; --muted: #64748b;
    --line: #dbe5ee; --soft: #f0fdfa; --bg: #f8fafc;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text);
       background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #14b8a6; outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip-link:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); border-bottom: 1px solid #e2e8f0; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.nav-wrap { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; }
.nav-links a { color: #475569; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal); }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 0 18px; border-radius: 8px; text-decoration: none; font-weight: 800; font-size: 15px; border: 1px solid;
    cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--teal); color: #fff !important; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-primary[disabled] { opacity: .65; cursor: wait; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 760px) { .nav-links a.nav-text { display: none; } }

.eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--teal); }
h1 { color: var(--ink); font-size: clamp(30px, 5vw, 44px); line-height: 1.15; letter-spacing: -.02em; margin: 8px 0 12px; }
h2 { color: var(--ink); line-height: 1.25; }
.lead { font-size: 18px; color: var(--text); max-width: 680px; }
.page-head { padding: 48px 0 24px; }
.muted { color: var(--muted); font-size: 14px; }

/* blog index */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.chip { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
        background: #fff; color: var(--text); text-decoration: none; }
.chip[aria-current="page"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; padding-bottom: 40px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--soft); }
.post-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h2 { font-size: 19px; margin: 0; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--teal); }
.post-card p { margin: 0; font-size: 15px; }
.meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: 12px; padding: 32px; text-align: center; }
.pager { display: flex; justify-content: center; gap: 12px; padding: 0 0 48px; }

/* article */
.article-head { padding: 40px 0 8px; }
.article-hero { width: 100%; border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; margin: 16px 0 8px; background: var(--soft); }
.prose { font-size: 17.5px; line-height: 1.75; color: #1e293b; padding-bottom: 12px; }
.prose h2 { font-size: 26px; margin: 36px 0 10px; }
.prose h3 { font-size: 21px; margin: 28px 0 8px; }
.prose h4 { font-size: 18px; margin: 22px 0 6px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin: 4px 0; }
.prose blockquote { margin: 22px 0; padding: 4px 18px; border-left: 4px solid var(--teal); background: var(--soft); border-radius: 0 8px 8px 0; }
.prose code { background: #eef2f6; padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.next-step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin: 28px 0; }
.next-step h2 { font-size: 20px; margin: 0 0 6px; }
.next-step p { margin: 0 0 14px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.preview-banner { background: #fef3c7; color: #78350f; border-bottom: 1px solid #fde68a; padding: 10px 16px; font-size: 14px; font-weight: 700; text-align: center; }
.related { padding: 12px 0 48px; }

/* contact sales */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; padding: 40px 0 56px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 10px 12px; border: 1.5px solid var(--line);
    border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field-error { color: #b91c1c; font-size: 13px; min-height: 0; }
.form-alert { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; padding: 12px 6px; }
.success h2 { margin: 6px 0; }
.checks { list-style: none; padding: 0; margin: 18px 0; }
.checks li { padding-left: 26px; position: relative; margin: 8px 0; }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--teal); font-weight: 800; }
