/* SEO content pages: /industries, /compare, /integrations (hubs and detail pages). Light, calm,
   built on the design-system tokens; the nav and footer come from base.html + landing.css. */

.seo { --seo-ink: #0f172a; --seo-sub: #475569; --seo-mute: #64748b; --seo-line: #e5e7eb; --seo-tint: #faf7ff; --seo-violet: #7c3aed; background: #fff; color: var(--seo-ink); }
.seo-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.seo-narrow { max-width: 760px; margin: 0 auto; }

.seo-crumbs { padding: 22px 0 0; font-size: .86rem; color: var(--seo-mute); }
.seo-crumbs a { color: var(--seo-mute); text-decoration: none; display: inline-block; padding: 6px 0; }
.seo-crumbs a:hover { color: var(--seo-violet); }
.seo-crumbs span { margin: 0 6px; color: #cbd5e1; }

.seo-hero { padding: 26px 0 56px; background: linear-gradient(180deg, #faf7ff 0%, #ffffff 100%); }
.seo-kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--seo-violet); margin: 28px 0 10px; }
.seo h1 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.035em; margin: 0; max-width: 820px; }
.seo-answer { margin: 18px 0 0; max-width: 720px; font-size: 1.14rem; line-height: 1.6; color: var(--seo-sub); }
.seo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.seo-btn { display: inline-flex; align-items: center; height: 54px; padding: 0 28px; border-radius: 14px; background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 12px 28px rgba(124,58,237,.3); transition: transform .2s ease; }
.seo-btn:hover { transform: translateY(-2px); color: #fff; }
.seo-cta small { color: var(--seo-mute); font-size: .9rem; }

.seo-sec { padding: 64px 0; border-top: 1px solid #f1f5f9; }
.seo-sec.tint { background: var(--seo-tint); border-top: 0; }
.seo h2 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 8px; }
.seo-lead { color: var(--seo-sub); margin: 0 0 28px; max-width: 680px; line-height: 1.6; }
.seo h3 { font-size: 1.05rem; margin: 0 0 6px; }

/* sample posts, dressed as Facebook posts */
.seo-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.seo-post { background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 10px 28px rgba(15,23,42,.08); overflow: hidden; font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.seo-post header { display: flex; align-items: center; gap: 9px; padding: 11px 12px 8px; }
.seo-post .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; flex: 0 0 36px; font-family: 'Sora', sans-serif; }
.seo-post header b { display: block; font-size: .88rem; } .seo-post header small { font-size: .74rem; color: #65676b; }
.seo-post p { margin: 0 12px 10px; font-size: .88rem; line-height: 1.4; color: #050505; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.seo-post img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #eef0f4; }
.seo-post footer { display: flex; justify-content: space-around; margin: 0 8px; padding: 7px 0; border-top: 1px solid #e4e6eb; font-size: .82rem; font-weight: 600; color: #65676b; }
.seo-note { margin: 14px 0 0; font-size: .82rem; color: var(--seo-mute); }

.seo-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.seo-card { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--seo-line); }
.seo-card p { margin: 0; color: var(--seo-sub); line-height: 1.55; font-size: .96rem; }

.seo-ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; list-style: none; margin: 0; padding: 0; }
.seo-ideas li { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--seo-line); font-size: .95rem; line-height: 1.4; }
.seo-ideas b { color: var(--seo-violet); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }

.seo-faq details { border-bottom: 1px solid var(--seo-line); padding: 16px 0; }
.seo-faq summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: "+"; color: var(--seo-violet); font-weight: 800; }
.seo-faq details[open] summary::after { content: "–"; }
.seo-faq details p { margin: 10px 0 0; color: var(--seo-sub); line-height: 1.6; }

.seo-links { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-links a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--seo-line); color: var(--seo-ink); text-decoration: none; font-weight: 600; font-size: .92rem; background: #fff; }
.seo-links a:hover { border-color: var(--seo-violet); color: var(--seo-violet); }

/* hubs */
.seo-hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.seo-tile { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--seo-line); text-decoration: none; color: var(--seo-ink); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.seo-tile:hover { border-color: #c4b5fd; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(124,58,237,.1); color: var(--seo-ink); }
.seo-tile img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #eef0f4; }
.seo-tile b { font-size: 1.05rem; }
.seo-tile span { color: var(--seo-sub); font-size: .92rem; line-height: 1.45; }
.seo-tile em { margin-top: auto; font-style: normal; font-weight: 700; color: var(--seo-violet); font-size: .9rem; }
.seo-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #dcfce7; color: #166534; width: max-content; }
.seo-pill.soon { background: #fef3c7; color: #92400e; }

/* comparison table */
.seo-table { width: 100%; border-collapse: collapse; font-size: .96rem; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--seo-line); }
.seo-table th, .seo-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--seo-line); vertical-align: top; }
.seo-table thead th { background: #f8fafc; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--seo-mute); }
.seo-table td.us { color: #0f172a; font-weight: 600; background: #faf7ff; }
.seo-table tr:last-child td { border-bottom: 0; }
.seo-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.seo-two ul { margin: 0; padding-left: 18px; color: var(--seo-sub); line-height: 1.7; }
.seo-sources { font-size: .82rem; color: var(--seo-mute); line-height: 1.7; word-break: break-word; }
.seo-sources a { color: var(--seo-mute); }

/* integration steps */
.seo-steps { counter-reset: s; list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.seo-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; line-height: 1.55; color: var(--seo-sub); }
.seo-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--seo-violet); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.seo-code { position: relative; margin: 0; padding: 16px 18px; border-radius: 12px; background: #0f172a; color: #e2e8f0; font: .86rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; white-space: pre; }
.seo-code-label { display: block; font-size: .78rem; font-weight: 700; color: var(--seo-mute); margin: 0 0 6px; }
.seo-prompts { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 10px; margin: 0; padding: 0; list-style: none; }
.seo-prompts li { padding: 12px 16px; border-radius: 14px 14px 14px 4px; background: #f1f5f9; color: var(--seo-ink); width: max-content; max-width: 100%; }

.seo-final { text-align: center; }
.seo-final .seo-cta { justify-content: center; }

@media (max-width: 900px) {
  .seo-posts, .seo-grid3, .seo-hub, .seo-two { grid-template-columns: 1fr; }
  .seo-ideas { grid-template-columns: 1fr; }
  .seo-sec { padding: 44px 0; }
  .seo-hero { padding-bottom: 40px; }
  .seo-table { font-size: .88rem; } .seo-table th, .seo-table td { padding: 11px 10px; }
  .seo-posts { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .seo-post { scroll-snap-align: start; }
}
