/* Financial integration comparison: scoped, bilingual and mobile first. */
.aic-page, .aic-page * { box-sizing: border-box; }
.aic-page { line-height: 1.65; font-size: 1rem; padding: clamp(16px,2.5vw,32px); background: var(--seo-surface); border-radius: 24px; }
.aic-page h1, .aic-page h2, .aic-page h3 { color: var(--seo-ink); text-align: left; border: 0; padding: 0; text-wrap: balance; overflow-wrap: anywhere; }
.aic-page h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.12; margin: 12px 0 22px; letter-spacing: -.035em; }
.aic-page h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.25; margin: 0 0 18px; }
.aic-page h3 { font-size: 1.15rem; margin: 12px 0 6px; }
.aic-page p { color: var(--seo-ink); text-align: left; margin: 0 0 16px; }
.aic-page a { overflow-wrap: anywhere; }
.aic-page .aic-kicker { font-size: .76rem; font-weight: 850; letter-spacing: .12em; color: var(--seo-blue); margin: 0 0 12px; }
.aic-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 36px; align-items: center; position: static; width: auto; padding: clamp(22px,4vw,46px); border: 1px solid var(--seo-line); border-radius: 24px; background: linear-gradient(135deg,var(--seo-surface),var(--seo-soft)); box-shadow: none; }
.aic-hero { text-align: left; }
.aic-hero > * { min-width: 0; }
.aic-page .aic-lead { font-size: 1.16rem; max-width: 42rem; }
.aic-question { padding: 26px; border-radius: 18px; background: var(--seo-surface); border: 1px solid var(--seo-line); }
.aic-question h2 { font-size: 1.35rem; margin-top: 22px; }
.aic-question ul { padding-left: 20px; margin-bottom: 0; }
.aic-question li { margin: 8px 0; }
.aic-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 20px; max-width: 100%; border-radius: 12px; background: #086acb; color: #fff; font-weight: 750; text-decoration: none; line-height: 1.4; text-align: center; }
.aic-button:hover { background: #0754a1; color: #fff; }
.aic-page :is(a,summary):focus-visible { outline: 3px solid var(--seo-blue); outline-offset: 4px; }
.aic-section { margin-top: 42px; scroll-margin-top: 220px; }
.aic-page .aic-muted, .aic-page .aic-note { color: var(--seo-muted); }
.aic-page .aic-note { font-size: .88rem; margin-top: 16px; }
.aic-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid var(--seo-line); border-radius: 16px; overflow: hidden; color: var(--seo-ink); background: var(--seo-surface); }
.aic-table th, .aic-table td { padding: 20px; border: 0; border-bottom: 1px solid var(--seo-line); vertical-align: top; text-align: left; overflow-wrap: anywhere; white-space: normal; }
.aic-table thead th { background: var(--seo-soft); font-size: 1.05rem; }
.aic-table thead th:first-child { width: 22%; }
.aic-table thead span { display: block; font-size: .82rem; margin-top: 5px; font-weight: 500; }
.aic-table th.aic-product { background: #086acb; color: #fff; }
.aic-table td.aic-product { background: var(--seo-soft); }
.aic-table tbody th { font-size: .97rem; }
.aic-table tbody tr:last-child > * { border-bottom: 0; }
.aic-mobile-label { display: none; }
.aic-pipeline { padding: 0; margin: 22px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.aic-pipeline li { min-width: 0; padding: 24px; border: 1px solid var(--seo-line); border-radius: 16px; background: var(--seo-surface); }
.aic-step-number { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 6px; border-radius: 12px; color: var(--seo-blue); background: var(--seo-soft); font-weight: 850; }
.aic-pipeline p { margin-bottom: 0; color: var(--seo-muted); }
.aic-example { padding: clamp(22px,4vw,36px); margin-top: 36px; border: 1px solid var(--seo-line); border-left: 5px solid #e3449f; background: var(--seo-soft); border-radius: 18px; }
.aic-page summary { cursor: pointer; min-height: 48px; padding: 12px 0; font-size: 14pt; font-weight: 700; line-height: 1.5; color: var(--seo-reading-ink); }
.aic-checks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 16px 0; }
.aic-checks > div { min-width: 0; padding: 18px; background: var(--seo-surface); border-radius: 12px; }
.aic-checks dt { font-weight: 800; color: var(--seo-blue); }
.aic-checks dd { margin: 6px 0 0; }
.aic-definitions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-top: 36px; }
.aic-card { padding: 28px; border: 1px solid var(--seo-line); border-radius: 18px; background: var(--seo-surface); }
.aic-card h2 { font-size: 1.4rem; }
.aic-card p:last-child { margin: 0; }
.aic-faq details { border-bottom: 1px solid var(--seo-line); padding: 10px 0; }
.aic-faq details > p { max-width: 56rem; padding-right: 12px; color: var(--seo-reading-ink); font-size: 14pt; font-weight: 400; line-height: 1.6; }
.aic-limits { margin-top: 36px; padding: 24px; border: 1px solid var(--seo-line); border-radius: 14px; }
.aic-limits h2 { font-size: 1.15rem; }
.aic-limits p { margin: 0; color: var(--seo-muted); }
.aic-cta { text-align: left; margin-top: 32px; padding: clamp(24px,4vw,42px); border-radius: 22px; background: #0b2b56; }
.aic-cta h2, .aic-cta p { color: #fff; }
.aic-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.aic-cta .aic-button { background: #ffe054; color: #15253d; }
.aic-cta .aic-secondary { border: 1px solid #8facd0; background: transparent; color: #fff; }
.aic-sources { font-size: .92rem; }
.aic-sources ul { padding-left: 20px; }
.aic-sources li { margin-bottom: 18px; }
.aic-sources a, .aic-related a { color: var(--seo-blue); }
.aic-sources li p { color: var(--seo-muted); margin: 6px 0 0; }
.aic-related { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.aic-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 800px) {
  .aic-hero { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .aic-pipeline, .aic-definitions { grid-template-columns: minmax(0,1fr); }
  .aic-table, .aic-table tbody, .aic-table tbody tr, .aic-table tbody th, .aic-table tbody td { display: block; width: 100%; }
  .aic-table { border: 0; border-radius: 0; background: transparent; }
  .aic-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .aic-table tbody tr { border: 1px solid var(--seo-line); border-radius: 14px; overflow: hidden; margin-bottom: 16px; background: var(--seo-surface); }
  .aic-table tbody th { padding: 14px 18px; background: var(--seo-surface); font-size: 1.05rem; }
  .aic-table tbody td { padding: 18px; border: 0; }
  .aic-mobile-label { display: block; color: var(--seo-blue); font-size: .82rem; font-weight: 850; margin-bottom: 8px; }
  .aic-section { scroll-margin-top: 265px; }
}
@media (max-width: 480px) {
  .aic-page { width: calc(100% - 24px); }
  .aic-hero { padding: 22px 18px; }
  .aic-question, .aic-card { padding: 20px; }
  .aic-checks { grid-template-columns: minmax(0,1fr); }
  .aic-actions > a { width: 100%; }
}

.aic-page h4 { color: var(--seo-ink); font-size: 1.15rem; margin: 0 0 12px; line-height: 1.4; }
.aic-decision > h3 { margin: 28px 0 16px; }
.aic-decision-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.aic-decision .aic-choice-product { border: 2px solid var(--seo-blue); background: var(--seo-soft); }
@media (max-width: 800px) { .aic-decision-grid { grid-template-columns: minmax(0,1fr); } }
