/* Flagship preview only. Lead form and shared UI are untouched. Tool logos sit on light tiles in their original colours. */
.tu-flagship-grid { align-items: stretch; }
.tu-flagship-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid #3a4b34; border-radius: 14px; background: #121b14; transition: border-color .18s, transform .18s, background .18s; }
.tu-flagship-card:hover, .tu-flagship-card:focus-within { border-color: #8cd557; background: #19251a; transform: translateY(-3px); }
.topit-university main a.tu-flagship-trigger { display: flex; flex: 1 1 auto; flex-direction: column; padding: 22px 22px 16px; color: #f0f4ee; text-decoration: none; border-radius: 13px 13px 0 0; }
.topit-university main a.tu-flagship-card-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; box-sizing: border-box; margin: 0 22px; padding: 12px 0 18px; border-top: 1px solid #34452e; color: #8cd557; font-size: 12px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.topit-university main a.tu-flagship-card-link:hover, .topit-university main a.tu-flagship-card-link:focus-visible { color: #b5ef83; text-decoration: underline; text-underline-offset: 3px; }
.tu-flagship-card-link > span { font-size: 16px; line-height: 1; transition: transform .18s; }
.tu-flagship-card-link:hover > span { transform: translateX(3px); }
.tu-flagship-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.tu-flagship-logo { display: inline-flex; width: 68px; height: 68px; align-items: center; justify-content: center; border-radius: 18px; background: #f5f8f2; box-shadow: inset 0 0 0 1px #0000001f, 0 10px 26px #00000040; transition: transform .18s, box-shadow .18s; }
.tu-flagship-logo img { display: block; width: 42px; height: 42px; object-fit: contain; }
.tu-flagship-trigger:hover .tu-flagship-logo { transform: scale(1.04); box-shadow: inset 0 0 0 1px #0000001f, 0 14px 30px #00000055; }
.tu-flagship-tool { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 5px; border-radius: 999px; background: #f5f8f2; color: #1f2a1c; font-weight: 700; }
.tu-flagship-tool img { display: block; width: 20px; height: 20px; object-fit: contain; }
.topit-university .tu-flagship-trademarks { margin: 16px 0 0; font-size: 11px; color: #94a58f; }
.tu-flagship-index { color: #adc1a3; font-size: 11px; font-variant-numeric: tabular-nums; }
.tu-flagship-category { color: #b1beb3; font-size: 10px; line-height: 1.5; letter-spacing: .025em; margin-bottom: 10px; }
.topit-university main .tu-flagship-card h3 { min-height: 52px; margin: 0 0 12px; font-size: 18px; line-height: 1.45; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
.topit-university main p.tu-flagship-teaser { margin: 0 0 20px; color: #bdcabc; font-size: 12px; line-height: 1.8; }
.tu-flagship-status { display: flex; align-items: center; gap: 7px; color: #bddea7; font-size: 10px; font-weight: 600; line-height: 1.5; }
.tu-flagship-status::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #91df45; }
.tu-flagship-card .tu-flagship-status { margin-top: auto; padding-top: 6px; }
.tu-flagship-more { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #34452e; margin-top: 14px; padding-top: 13px; color: #d9efca; font-size: 12px; font-weight: 700; }
.tu-flagship-more > span { font-size: 20px; line-height: 1.3; transition: transform .18s; }
.tu-flagship-trigger:hover .tu-flagship-more > span { transform: translate(2px, -2px); }
.tu-flagship-details { margin-top: 36px; }
.tu-flagship-details[hidden] { display: none; }
.tu-flagship-detail { scroll-margin-top: 100px; }
.tu-flagship-detail-body { color: #d9e3d5; }
.tu-flagship-scroll { padding: 27px 32px; }
.tu-flagship-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0 0 12px; color: #b1beb3; font-size: 11px; line-height: 1.6; }
.topit-university main h3.tu-flagship-title { font-size: clamp(25px, 3.1vw, 36px); line-height: 1.25; letter-spacing: -.035em; margin: 0 0 18px; overflow-wrap: anywhere; text-wrap: balance; }
.topit-university main .tu-flagship-title:focus { outline: none; }
.topit-university main p.tu-flagship-intro { max-width: 770px; color: #c7d4c4; font-size: 14px; line-height: 1.85; margin: 0 0 25px; }
.tu-flagship-scenario { border-left: 3px solid #74d414; background: #1b2a17; padding: 16px 20px; margin-bottom: 26px; }
.tu-flagship-scenario > span { display: block; color: #b4cda5; font-size: 10px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; margin-bottom: 5px; }
.topit-university main .tu-flagship-scenario p { margin: 0; color: #f0f4ee; font-size: 17px; line-height: 1.6; font-weight: 700; }
.topit-university main .tu-flagship-detail-body h4 { margin: 0 0 13px; font-size: 15px; font-weight: 800; line-height: 1.5; color: #eef4e9; }
.tu-flagship-steps { list-style: none; padding: 0; margin: 0 0 28px; counter-reset: flagship-step; }
.tu-flagship-steps li { counter-increment: flagship-step; display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; padding: 15px 0; border-bottom: 1px solid #2e3c2b; }
.tu-flagship-steps li::before { content: "0" counter(flagship-step); grid-row: 1 / 3; color: #9bca7e; font-size: 11px; font-weight: 700; padding-top: 2px; font-variant-numeric: tabular-nums; }
.tu-flagship-steps strong { color: #e5eee1; font-size: 13px; font-weight: 750; line-height: 1.65; }
.topit-university main .tu-flagship-steps p { grid-column: 2; margin: 5px 0 0; color: #bccbb6; font-size: 13px; line-height: 1.8; }
.tu-flagship-context { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 25px; }
.topit-university main .tu-flagship-context p { margin: 0; color: #bdcbb8; font-size: 12px; line-height: 1.9; }
.tu-flagship-result { padding: 22px; background: #1c2c17; border: 1px solid #466239; border-radius: 11px; margin-bottom: 25px; }
.topit-university main .tu-flagship-result p { color: #d3e6c7; font-size: 13px; line-height: 1.85; margin: 0; }
.tu-flagship-figure { margin: 25px 0; }
.topit-university .tu-flagship-figure img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid #3d4a38; border-radius: 9px; }
.tu-flagship-figure figcaption { color: #b1beb3; font-size: 11px; line-height: 1.8; margin-top: 10px; }
.topit-university main p.tu-flagship-boundary { color: #b1beb3; font-size: 11px; line-height: 1.85; border-top: 1px solid #34452e; padding-top: 20px; margin: 0; }
.tu-flagship-footer { padding: 18px 32px 23px; background: #18221b; border-top: 1px solid #405236; }
.topit-university main p.tu-flagship-links-note { font-size: 11px; color: #bfccba; line-height: 1.7; margin: 0 0 13px; }
.tu-flagship-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.topit-university .tu-flagship-action { display: flex; align-items: center; justify-content: center; min-height: 47px; margin: 0; padding: 12px 15px; border: 1px solid #63735b; border-radius: 10px; background: #263420; color: #e0ebd9; font: 700 12px/1.5 Manrope, sans-serif; text-align: center; text-decoration: none; }
.topit-university button.tu-flagship-action:disabled { border-color: #65735d; border-style: dashed; background: transparent; color: #b1beb3; opacity: 1; cursor: not-allowed; box-shadow: none; }
.tu-flagship-dialog { width: min(920px, calc(100vw - 48px)); max-width: none; height: min(850px, calc(100dvh - 64px)); max-height: none; padding: 0; margin: auto; border: 1px solid #4d6342; border-radius: 18px; background: #121a15; color: #f0f4ee; box-shadow: 0 30px 100px #0009; overflow: hidden; overscroll-behavior: contain; }
.tu-flagship-dialog:not([open]) { display: none; }
.tu-flagship-dialog[open] { display: flex; flex-direction: column; animation: tu-flagship-enter .18s ease-out; }
.tu-flagship-dialog::backdrop { background: #040905d6; backdrop-filter: blur(5px); }
.tu-flagship-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 0 0 auto; min-height: 66px; padding: 10px 20px 10px 32px; border-bottom: 1px solid #2d3b30; }
.tu-flagship-toolbar > span { color: #afc6a2; font-size: 10px; font-weight: 750; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; }
.topit-university main a.tu-flagship-discuss { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; color: #b2e78a; font: 700 13px/1.5 Manrope, sans-serif; white-space: nowrap; text-decoration: underline; text-underline-offset: 5px; }
.topit-university main a.tu-flagship-discuss:hover { color: #e3f5d5; }
.topit-university .tu-flagship-close { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #526449; border-radius: 9px; background: #1d2b18; color: #edf5e7; font: 400 29px/1 Manrope, sans-serif; cursor: pointer; }
.topit-university .tu-flagship-close:hover { background: #304723; border-color: #91df45; }
.tu-flagship-dialog-content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #688658 #152017; scrollbar-width: thin; }
.tu-flagship-dialog .tu-flagship-detail-body { display: block; height: auto; }
.tu-flagship-dialog .tu-flagship-scroll { overflow: visible; }
.topit-university.tu-flagship-modal-open .cdo-sticky-cta { visibility: hidden; pointer-events: none; }
@keyframes tu-flagship-enter { from { opacity: .5; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (max-width: 1050px) {
  .tu-flagship-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .tu-flagship-grid { gap: 12px; }
  .topit-university main a.tu-flagship-trigger { padding: 17px 14px 12px; }
  .topit-university main a.tu-flagship-card-link { margin: 0 14px; padding: 10px 0 14px; font-size: 11px; }
  .tu-flagship-top { margin-bottom: 16px; }
  .tu-flagship-logo { width: 56px; height: 56px; border-radius: 15px; }
  .tu-flagship-logo img { width: 34px; height: 34px; }
  .topit-university main .tu-flagship-card h3 { min-height: 67px; font-size: 16px; line-height: 1.4; }
  .tu-flagship-category { min-height: 30px; font-size: 10px; }
  .topit-university main p.tu-flagship-teaser { font-size: 11px; line-height: 1.8; margin-bottom: 14px; }
  .tu-flagship-status { font-size: 10px; gap: 5px; }
  .tu-flagship-more { font-size: 11px; }
  .tu-flagship-dialog { width: calc(100vw - 16px); height: calc(100dvh - 20px); border-radius: 14px; }
  .tu-flagship-toolbar { padding: 8px 12px 8px 20px; min-height: 61px; }
  .tu-flagship-toolbar > span { display: none; }
  .topit-university main a.tu-flagship-discuss { margin-left: 0; margin-right: auto; }
  .tu-flagship-scroll { padding: 23px 20px; }
  .tu-flagship-meta { gap: 10px; }
  .tu-flagship-context { grid-template-columns: 1fr; gap: 21px; }
  .tu-flagship-scenario { padding: 13px 15px; }
  .topit-university main .tu-flagship-scenario p { font-size: 15px; }
  .tu-flagship-result { padding: 17px; }
  .tu-flagship-footer { padding: 14px 18px 18px; }
  .tu-flagship-actions { gap: 8px; }
  .topit-university .tu-flagship-action { padding: 10px; font-size: 11px; min-height: 54px; }
}
@media (max-width: 360px) {
  .tu-flagship-grid { grid-template-columns: minmax(0, 1fr); }
  .topit-university main .tu-flagship-card h3 { min-height: 0; }
  .tu-flagship-category { min-height: 0; }
}
@media (max-height: 500px) and (min-width: 601px) {
  .tu-flagship-dialog { height: calc(100dvh - 16px); }
  .tu-flagship-toolbar { min-height: 54px; padding-block: 4px; }
  .tu-flagship-footer { padding-block: 10px; }
  .topit-university main p.tu-flagship-links-note { margin-bottom: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .tu-flagship-card, .tu-flagship-more > span, .tu-flagship-card-link > span, .tu-flagship-logo { transition: none; }
  .tu-flagship-card:hover, .tu-flagship-card:focus-within, .tu-flagship-trigger:hover .tu-flagship-logo, .tu-flagship-card-link:hover > span { transform: none; }
  .tu-flagship-dialog[open] { animation: none; }
}
