/* Shared styles for integrations/<slug>.html sub-pages. */
.logo-mark { height: 36px; width: auto; }
.pill-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--c-brand-soft); color: var(--c-brand-ink); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.sub-hero { padding: 56px 32px 40px; background: linear-gradient(180deg, #f0f7ff 0%, var(--c-bg) 100%); border-bottom: 1px solid var(--c-rule); }
.sub-hero .inner { max-width: 1100px; margin: 0 auto; }
.sub-hero .crumbs { font-size: 12.5px; color: var(--c-fg-subtle); margin-bottom: 12px; }
.sub-hero .crumbs a { color: var(--c-fg-muted); }
.sub-hero .crumbs a:hover { color: var(--c-brand); }
.sub-hero .brand-row { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.sub-hero .brand-row .brand-icon { width: 56px; height: 56px; border-radius: 12px; background: #fff; border: 1px solid var(--c-rule); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); font-size: 28px; font-weight: 700; }
.sub-hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 14px; color: var(--c-fg); }
.sub-hero p.lede { font-size: 16px; line-height: 1.55; color: var(--c-fg-muted); max-width: 720px; margin: 0 0 18px; }
.sub-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Visual scene — how the integration connects */
.flow-scene { padding: 36px 32px 8px; background: var(--c-bg); }
.flow-scene .inner { max-width: 1100px; margin: 0 auto; }
.flow-scene .scene-card { background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%); border: 1px solid var(--c-rule); border-radius: 16px; padding: 28px 28px 22px; box-shadow: var(--shadow-sm); }
.flow-scene .scene-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 880px) { .flow-scene .scene-grid { grid-template-columns: 1fr; } }
.flow-scene .scene-copy h2 { font-size: 20px; font-weight: 600; margin: 0 0 10px; color: var(--c-fg); letter-spacing: -.01em; }
.flow-scene .scene-copy p { font-size: 14px; line-height: 1.6; color: var(--c-fg-muted); margin: 0 0 12px; }
.flow-scene .scene-stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; }
.flow-scene .scene-stat { display: flex; flex-direction: column; gap: 2px; }
.flow-scene .scene-stat .n { font-size: 22px; font-weight: 700; color: var(--c-brand-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.flow-scene .scene-stat .l { font-size: 11px; color: var(--c-fg-subtle); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.flow-scene .scene-art { display: flex; align-items: center; justify-content: center; min-height: 220px; }
.flow-scene .scene-art svg { width: 100%; height: auto; max-width: 440px; display: block; }
.flow-scene .node { transition: transform .3s ease; }
.flow-scene .node:hover { transform: translateY(-2px); }
.flow-scene .pulse-dot { animation: flowPulse 2.6s ease-in-out infinite; }
.flow-scene .pulse-dot.d2 { animation-delay: .9s; }
.flow-scene .pulse-dot.d3 { animation-delay: 1.8s; }
.flow-scene .draw-line { stroke-dasharray: 220; stroke-dashoffset: 220; animation: flowDraw 2.4s ease forwards; }
.flow-scene .draw-line.l2 { animation-delay: .3s; }
.flow-scene .breath { animation: flowBreath 3.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes flowPulse { 0%, 100% { opacity: .25; r: 3; } 50% { opacity: 1; r: 5; } }
@keyframes flowDraw { to { stroke-dashoffset: 0; } }
@keyframes flowBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

.cap-block { padding: 48px 32px; background: var(--c-bg); }
.cap-block .inner { max-width: 1100px; margin: 0 auto; }
.cap-block h2 { font-size: 22px; font-weight: 600; margin: 0 0 20px; color: var(--c-fg); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-card { background: #fff; border: 1px solid var(--c-rule); border-radius: 12px; padding: 22px; box-shadow: var(--shadow-sm); }
.cap-card .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--c-brand-soft); color: var(--c-brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cap-card h3 { font-size: 15px; font-weight: 600; color: var(--c-fg); margin: 0 0 6px; }
.cap-card p { font-size: 13.5px; color: var(--c-fg-muted); margin: 0; line-height: 1.55; }

.setup-block { padding: 48px 32px; background: var(--c-bg-soft); }
.setup-block .inner { max-width: 1100px; margin: 0 auto; }
.setup-block h2 { font-size: 22px; font-weight: 600; margin: 0 0 20px; color: var(--c-fg); }
.setup-steps { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.setup-step { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--c-rule); border-radius: 10px; padding: 16px 18px; }
.setup-step .num { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--c-brand); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.setup-step h3 { font-size: 14.5px; font-weight: 600; color: var(--c-fg); margin: 0 0 4px; }
.setup-step p { font-size: 13px; color: var(--c-fg-muted); margin: 0; line-height: 1.55; }

.cta-block { padding: 48px 32px; background: var(--c-bg); }
.cta-inner { max-width: 900px; margin: 0 auto; background: linear-gradient(135deg, #0a0e27, #1a2766); color: #fff; border-radius: 16px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0 0 4px; font-size: 22px; font-weight: 600; color: #fff; }
.cta-inner p { margin: 0; font-size: 14px; color: rgba(255,255,255,.78); }
.cta-inner .btn-primary { background: #fff; color: var(--c-brand-ink); border-color: #fff; }
.cta-inner .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }

.home-footer { padding: 14px 32px; border-top: 1px solid var(--c-rule); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--c-fg-subtle); flex-wrap: wrap; gap: 8px; }
.home-footer a { margin: 0 6px; }
.home-footer a:hover { color: var(--c-fg); }
.home-footer .badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.home-footer .badge { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--c-fg); }
.home-footer .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #1e7e3e; }
