/* Integration Hub (/solutions/integration/): packaged offer page for mid-enterprise buyers.
   Built from website-mockups/integration-hub/ (2026-10-26). Uses site.css tokens; FAQ styles come from capabilities.css. */

/* Hero estate map */
.ih-hero-grid { display: grid; gap: clamp(32px, 4vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1040px) { .ih-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.ih-hero-grid .h1 { max-width: 12em; }
.ih-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.ih-meta span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--burgundy); margin-right: 8px; vertical-align: 1px; }
.ih-estate { margin: 0; background: var(--light); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2vw, 28px); }
.ih-estate-top { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 15px; }
.ih-estate-top small { color: var(--muted); font-size: 13px; }
.ih-estate svg { display: block; width: 100%; height: auto; }
.ih-estate svg text { font-family: var(--sans); }
.ih-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); margin-top: 12px; }
.ih-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.ih-dot-ok { background: #2E7D5B; }
.ih-dot-warn { background: #A86A12; }
.ih-estate figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Role tabs */
.ih-roles { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .ih-roles { grid-template-columns: minmax(240px, .6fr) 1.4fr; } }
.ih-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--light); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 14px; }
.ih-seg button { font: inherit; font-size: 15px; font-weight: 600; border: 0; background: transparent; color: var(--body); padding: 8px 16px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.ih-seg button[aria-selected="true"] { background: var(--burgundy); color: #FFFFFF; }
.ih-role h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.ih-ticks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--body); }
.ih-ticks li { padding-left: 26px; position: relative; }
.ih-ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 14px; height: 2px; background: var(--burgundy); }

/* Symptoms */
.ih-symptoms { display: grid; gap: 12px; }
.ih-symptom { background: #FFFFFF; border: 1px solid var(--line); border-left: 3px solid var(--burgundy); border-radius: var(--radius); padding: 16px 20px; color: var(--body); }
.ih-symptom strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* Shared card grid */
.ih-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(var(--card-min), 1fr)); margin-top: 48px; }
.ih-grid > * { display: flex; flex-direction: column; gap: 14px; }
.ih-grid h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.ih-grid p { color: var(--body); }

/* Engagement tiers */
.ih-tier { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 36px); }
.ih-tier.is-featured { border-color: var(--burgundy); box-shadow: inset 0 4px 0 var(--burgundy); }
.ih-step { font-size: 13px; font-weight: 600; color: var(--crimson); letter-spacing: .06em; text-transform: uppercase; }
.ih-tier .ih-q { font-size: 17px; color: var(--muted); }
.ih-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; padding-block: 14px; margin: 0; border-block: 1px solid var(--line); }
.ih-facts dt { color: var(--muted); }
.ih-facts dd { margin: 0; font-weight: 600; }
.ih-tier ul { margin: 0; padding-left: 20px; color: var(--body); display: grid; gap: 6px; }
.ih-tier .btn { margin-top: auto; align-self: flex-start; }

/* Artefacts (dark) */
.ih-artefacts { display: grid; gap: 1px; margin-top: 48px; background: rgba(255, 194, 214, .25); border: 1px solid rgba(255, 194, 214, .25); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ih-artefacts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ih-artefacts { grid-template-columns: repeat(3, 1fr); } }
.ih-artefact { background: var(--wine); padding: 28px; display: grid; gap: 10px; align-content: start; }
.ih-artefact h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.ih-num { font-size: 13px; font-weight: 600; color: var(--pink-soft); letter-spacing: .06em; }
.ih-artefact p { color: var(--on-dark); }

/* Tables */
.ih-table { margin-top: 48px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.ih-table table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 820px; }
.ih-table th, .ih-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ih-table thead th { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; background: var(--light); }
.ih-table tbody tr:last-child td { border-bottom: 0; }
.ih-table tbody th { font-weight: 600; }
.ih-caption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.ih-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ih-pill-ok { background: #E3F1EA; color: #1F5E43; }
.ih-pill-warn { background: #FBEFD9; color: #7A4C08; }
.ih-pill-t1 { background: var(--pink-tint); color: var(--burgundy); }
.ih-pill-t2 { background: var(--light); color: var(--body); border: 1px solid var(--line); }

/* Accelerators */
.ih-proc { background: var(--light); border-radius: var(--radius); padding: 28px; }
.ih-flows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ih-flows li { font-size: 15px; padding: 10px 12px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.ih-flows b { font-weight: 600; }
.ih-flows span { display: block; color: var(--muted); font-size: 14px; }
.ih-chips-label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 40px 0 12px; }
.ih-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ih-chips li { background: var(--light); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; font-size: 15px; }

/* Method */
.ih-method { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: m; border-top: 2px solid var(--ink); }
.ih-method li { padding: 24px 24px 24px 0; counter-increment: m; display: grid; gap: 8px; align-content: start; }
.ih-method li::before { content: "0" counter(m); font-size: 14px; font-weight: 600; color: var(--crimson); }
.ih-method h3 { font-size: 21px; font-weight: 600; }
.ih-method p { color: var(--body); font-size: 15px; }

/* Obligations */
.ih-ob { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ih-when { font-size: 13px; font-weight: 600; color: var(--crimson); }
.ih-ob p:not(.ih-when):not(.ih-gets) { font-size: 15px; }
.ih-gets { font-size: 14px; color: var(--ink) !important; background: var(--pink-tint); border-radius: var(--radius); padding: 10px 12px; margin-top: auto; }

/* Proof */
.ih-case { background: var(--light); border-radius: var(--radius); padding: 28px; }
.ih-metric { font-size: clamp(30px, 2.8vw, 42px); font-weight: 600; letter-spacing: -0.03em; color: var(--burgundy) !important; line-height: 1.05; }
.ih-case .link-arrow { margin-top: auto; }
.ih-badges { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.ih-badges li { border: 1px solid var(--sage); background: #FFFFFF; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }

/* Security */
.ih-sec { display: grid; gap: 1px; margin-top: 48px; background: var(--line); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ih-sec > div { background: #FFFFFF; padding: 22px; display: grid; gap: 6px; align-content: start; }
.ih-sec h3 { font-size: 19px; font-weight: 600; }
.ih-sec p { color: var(--body); font-size: 15px; }

/* Health Check form (dark) */
.ih-cta-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .ih-cta-grid { grid-template-columns: 1fr 1fr; } }
.ih-cta-grid .lead { color: var(--on-dark); margin-top: 20px; }
.ih-cta-grid ul { margin: 24px 0 0; padding-left: 20px; color: var(--on-dark); display: grid; gap: 8px; }
.ih-cta-grid .form { background: #FFFFFF; color: var(--ink); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); }
.ih-cta-grid .form :focus-visible { outline-color: var(--burgundy); }
.ih-cta-grid .form a { color: var(--burgundy); }
.ih-form-note { font-size: 14px; color: var(--muted); margin-top: 8px; }
