/* Approved TFI preview layout; every rule is local to this case. */
.tfi-case { color: #13263f; background: #fff; line-height: 1.6; }
.tfi-case .tfi-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.tfi-case .tfi-hero-section { background: linear-gradient(125deg, #f4f8ff, #fff 70%); padding: 74px 0 80px; }
.tfi-case .tfi-breadcrumbs { position: static; display: block; height: auto; min-height: 0; padding: 0; border: 0; background: transparent; backdrop-filter: none; margin: 0 0 28px; font-size: 13px; color: #61738d; z-index: auto; }
.tfi-case .tfi-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tfi-case .tfi-breadcrumbs li + li::before { content: "/"; margin-right: 6px; }
.tfi-case .tfi-breadcrumbs a { color: inherit; }
.tfi-case .tfi-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 55px; }
.tfi-case .tfi-hero > *, .tfi-case .tfi-challenges > *, .tfi-case .tfi-workflow > *, .tfi-case .tfi-feature > div { min-width: 0; }
.tfi-case h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.13; letter-spacing: -1.8px; margin: 15px 0 22px; }
.tfi-case h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.9px; margin: 12px 0 20px; }
.tfi-case h3 { font-size: 19px; line-height: 1.6; margin: 10px 0; }
.tfi-case .tfi-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; color: var(--blue-mid); text-transform: uppercase; }
.tfi-case .tfi-lead { font-size: 18px; color: #50647c; max-width: 590px; margin-bottom: 24px; }
.tfi-case .tfi-button { display: inline-block; max-width: 100%; padding: 12px 20px; background: var(--blue-mid); color: #fff; font-weight: 700; white-space: normal; text-align: center; }
.tfi-case .tfi-button:hover { background: #174bc0; }
.tfi-case .tfi-illustration { background: #eaf2ff; border: 1px solid #d1e2ff; border-radius: 20px; padding: 22px; box-shadow: 0 22px 55px #1c4a9417; margin: 0; }
.tfi-case .tfi-window { background: #fff; border-radius: 13px; box-shadow: 0 8px 28px #183e7820; overflow: hidden; }
.tfi-case .tfi-window-title { padding: 13px 18px; background: #142f56; color: #fff; font-weight: 700; font-size: 13px; }
.tfi-case .tfi-window-title > span { float: right; color: #d7e3f5; }
.tfi-case .tfi-window-body { padding: 20px; }
.tfi-case .tfi-window-label { font-size: 18px; font-weight: 800; }
.tfi-case .tfi-window-body ul { list-style: none; padding: 0; margin: 0; }
.tfi-case .tfi-window-body li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #e8eef5; padding: 12px 0; font-size: 13px; }
.tfi-case .tfi-window-body li:last-child { border: 0; }
.tfi-case .tfi-window-body li > span { flex-shrink: 0; color: #14704b; background: #e8f7ef; border-radius: 20px; padding: 2px 9px; font-size: 11px; }
.tfi-case figcaption { font-size: 12px; color: #52657c; margin-top: 12px; }
.tfi-case .tfi-section { padding: 85px 0; scroll-margin-top: 68px; }
.tfi-case .tfi-alt { background: #f7faff; }
.tfi-case .tfi-intro { max-width: 720px; color: #5d6f83; font-size: 17px; }
.tfi-case .tfi-challenges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.tfi-case .tfi-card { border: 1px solid #dce6f4; border-radius: 14px; background: #fff; padding: 27px; box-shadow: 0 8px 26px #13263f08; }
.tfi-case .tfi-card p { color: #5d6f83; margin-bottom: 0; font-size: 15px; }
.tfi-case .tfi-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 35px 0 0; padding: 0; list-style: none; }
.tfi-case .tfi-workflow li { padding: 25px 18px; text-align: center; background: #fff; border: 1px solid #dce6f4; border-radius: 14px; }
.tfi-case .tfi-flow-icon { font-size: 30px; line-height: 1.6; color: var(--blue-mid); }
.tfi-case .tfi-workflow h3 { font-size: 16px; margin: 10px 0 0; }
.tfi-case .tfi-workflow p { font-size: 13px; color: #5d6f83; margin: 6px 0 0; }
.tfi-case .tfi-feature { display: flex; gap: 15px; margin: 22px 0; }
.tfi-case .tfi-feature > span { flex: 0 0 30px; height: 30px; background: #e7f0ff; border-radius: 9px; color: var(--blue-mid); text-align: center; font-weight: 800; }
.tfi-case .tfi-feature h3 { font-size: 16px; margin: 0; }
.tfi-case .tfi-feature p { margin: 2px 0 0; color: #5d6f83; font-size: 14px; }
.tfi-case .tfi-feature a, .tfi-case .tfi-intro a { color: var(--blue-mid); text-decoration: underline; text-underline-offset: 3px; }
.tfi-case .tfi-technologies { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding: 0; list-style: none; }
.tfi-case .tfi-technologies li { border: 1px solid #dce6f4; padding: 10px 16px; border-radius: 8px; background: #fff; font-weight: 700; font-size: 14px; }
.tfi-case .tfi-contact { background: #112c51; color: #fff; border-radius: 20px; padding: 54px; text-align: center; }
.tfi-case .tfi-contact h2 { color: #fff; margin-top: 0; }
.tfi-case .tfi-contact p { color: #d4e1f2; max-width: 590px; margin: 0 auto 25px; }
.tfi-case :is(a, button):focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 4px; }
.tfi-case .tfi-contact a:focus-visible { outline-color: #fff; }
@media (max-width: 800px) {
    .tfi-case .tfi-hero, .tfi-case .tfi-challenges, .tfi-case .tfi-workflow { grid-template-columns: 1fr; }
    .tfi-case .tfi-hero { gap: 28px; }
    .tfi-case .tfi-hero-section { padding: 45px 0; }
    .tfi-case .tfi-section { padding: 58px 0; }
    .tfi-case .tfi-contact { padding: 35px 20px; }
}
@media (max-width: 430px) {
    .tfi-case .tfi-container { padding: 0 17px; }
    .tfi-case .tfi-illustration { padding: 12px; }
    .tfi-case .tfi-window-title { display: flex; flex-wrap: wrap; gap: 4px 12px; }
    .tfi-case .tfi-window-title > span { float: none; }
    .tfi-case .tfi-lead { font-size: 16px; }
    .tfi-case h1 { letter-spacing: -1px; }
}
