/* Humantic AI · /solutions as ONE page with four tabs (Krish review Oct 19, A7: K-219, K-217). Loads after solutions.css, which still
   styles every scene and section (unchanged). This file adds only the pill tab bar (the same bar as /start) and the one platform row
   that replaces the repeated product line. Brand tokens only. */

.sl-tabs { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 0 0 40px; text-align: left; }
.sl-tabs .sr-pick__lab { flex: none; font: 700 16px/1 var(--disp); color: var(--slate); }
.sl-tabs ul { margin: 0; padding: 4px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--mist); border-radius: 999px; max-width: 100%; }
.sl-tabs ul::-webkit-scrollbar { display: none; }
.sl-tabs .sr-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font: 700 15px/1 Manrope, Arial, sans-serif; color: var(--ink); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, transform .16s var(--ease); }
@media (hover: hover) { .sl-tabs .sr-pill:not(.is-on):hover { background: #fff; } }
.sl-tabs .sr-pill:active { transform: scale(.96); }
.sl-tabs .sr-pill.is-on { background: var(--ink); color: #fff; box-shadow: var(--sh-sm); }
.sl-tabs .sr-pill:focus-visible { outline: 3px solid #341D99; outline-offset: 3px; }

/* Hero = the product hero template (hero-template.css) on the mist wash, with the tab bar above it */
.sl-hxh { background: #F6F4FF; }
html body section.section_miia-hero.hxh.sl-hxh { padding-top: 96px; }
.sl-hxh .padding-global { padding: 0 24px; }
.sl-hxh .container-large { max-width: 1120px; margin: 0 auto; }
.sl-hxh .sl-tabs { justify-content: flex-start; margin-bottom: 28px; }
.sl-hxh .sl-tabs ul { background: #fff; box-shadow: inset 0 0 0 1px rgba(52,29,153,.16); }
@media (hover: hover) { .sl-hxh .sl-tabs .sr-pill:not(.is-on):hover { background: #F6F4FF; } }
.sl-hxh .hxh-ctas .hx-btn { margin: 0; }

/* One platform row at the end of the tab's section (same row as /start); .sr-out--ink on the dark sections */
.sl .sr-out { display: grid; justify-items: center; gap: 12px; margin-top: 8px; }
.sl .sr-out--ink .sr-out__lab { color: var(--gold-300); }
.sl .sr-out--ink .sr-out__all a { color: rgba(255,255,255,.72); text-decoration-color: rgba(255,255,255,.3); }
.sl .sr-out--ink .sr-out__all a.is-mine { color: #fff; text-decoration-color: var(--gold); }
@media (hover: hover) { .sl .sr-out--ink .sr-out__all a:hover { color: #fff; } }
.sl .sr-out__all { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 14px; margin: 0; max-width: 960px; font-size: 14px; line-height: 1.6; color: var(--slate); }
.sl .sr-out__lab { margin-right: 2px; font: 800 12px/16px Manrope, Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.sl .sr-out__all a { color: var(--slate); text-decoration: underline; text-decoration-color: rgba(91,100,120,.35); text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.sl .sr-out__all a.is-mine { color: var(--ink); font-weight: 800; text-decoration-color: var(--gold); }
@media (hover: hover) { .sl .sr-out__all a:hover { color: var(--ink); text-decoration-color: var(--gold); } }

@media (max-width: 640px) {
  .sl-tabs { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 28px; }
  .sl-tabs ul { mask-image: linear-gradient(90deg, #000 85%, transparent); }
  html body section.section_miia-hero.hxh.sl-hxh { padding-top: 88px; }
  .sl-hxh .sl-tabs { align-items: stretch; }
  .sl .sr-out__lab { flex-basis: 100%; text-align: center; margin: 0 0 2px; }
  .sl .sr-out__all { gap: 0 4px; }
  .sl .sr-out__all a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 6px; }
}

/* Critique fix: a white section that ends the tab no longer stacks its 80px bottom padding on the FAQ's own 96px (a 180px hole) */
#role-view > .sl-sec:last-child:not(.sl-sec--ink):not(.sl-sec--mist) { padding-bottom: 24px; }

/* AK Nov 5 (Amar, Teams pages): the hero copies the home hero (views/hp2-hero-rep.ejs): 1200px frame with 24px sides, words 560px,
   H1 clamp(40px, 5.2vw, 72px)/1.04 at 700, the line clamp(18px, 1.6vw, 22px)/1.45 at 600. The logo strip sits on the hero's own
   mist background, and together they fill the first screen. */
html body section.section_miia-hero.hxh.sl-hxh .container-large { max-width: 1152px; }
html body section.section_miia-hero.hxh.sl-hxh .miia-h1 { font: 700 clamp(40px, 5.2vw, 72px)/1.04 Cabinetgrotesk, "Cabinet Grotesk", Manrope, Arial, sans-serif; letter-spacing: -.02em; max-width: 560px; }
html body section.section_miia-hero.hxh.sl-hxh .hxh-line { max-width: 560px; margin-top: 20px; font: 600 clamp(18px, 1.6vw, 22px)/1.45 Manrope, Arial, sans-serif; color: #110A33; }
@media (min-width: 992px) { html body section.section_miia-hero.hxh.sl-hxh .miia_hero-component { grid-template-columns: minmax(0, 560px) minmax(0, 1fr) !important; column-gap: 56px !important; } }
html body.sl #proof { background: #F6F4FF; }

/* AK Nov 5 (Amar: "align the pages"): on desktop every Teams section fills one screen, content centred (same rule as the role and
   product pages). The hero and the logo strip are one frame; the small "How does Humantic AI compare" link strip is the exception. */
@media (min-width: 900px) and (min-height: 600px) {
  /* Amar Nov 11: no full-screen frame on every section; sections are as tall as their content plus padding */ html body.sl main section:not(.sl-hxh):not(#proof):not(.hxp):not(.sl-cmp):not(section section) { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; box-sizing: border-box; }
  html body.sl main section:not(.sl-hxh):not(#proof):not(.hxp):not(.sl-cmp):not(section section) > * { width: 100%; box-sizing: border-box; }
}

/* AK Nov 10 (ICP audit D5, T2): "Pick Your Team" (views/v2/solutions/hub-body.ejs) and "Built For How Your Industry Sells"
   (views/v2/solutions/industries.ejs, on /solutions/sales and the hub). 1152px content, four columns. Brand tokens only.
   Amar Nov 10 (spacing review): all vertical rhythm is set with grid/flex gap, because the page resets every <p> margin to 0. Rhythm:
   heading to sub 12px, head to cards 40px, cards to the role row 32px; inside a card 12px steps, with the foot (customers + link)
   pinned to the bottom so every card in a row lines up. */
html body .sl-ind { display: flex; align-items: center; padding: 64px 0; /* Amar Nov 11: no full-screen minimum */ background: #F6F4FF; scroll-margin-top: 80px; box-sizing: border-box; }
html body .sl-ind--teams { background: #fff; }
html body .sl-ind__in { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; box-sizing: border-box; display: grid; gap: 40px; }
html body .sl-ind__head { display: grid; gap: 12px; justify-items: center; text-align: center; }
html body .sl-ind .sl-h2 { max-width: none; margin: 0 !important; text-align: center; }
html body .sl-ind p { margin: 0; }
html body .sl-ind__sub { max-width: 640px; font: 500 18px/1.5 Manrope, Arial, sans-serif; color: #5B6478; }
html body .sl-ind__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
html body .sl-ind__c { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 24px; border: 1px solid #DDD6FF; border-radius: 20px; background: #fff; scroll-margin-top: 96px; min-width: 0; }
html body .sl-ind--teams .sl-ind__c { background: #F6F4FF; }
html body .sl-ind__c:target { border-color: #341D99; box-shadow: 0 0 0 3px #DDD6FF; }
html body .sl-ind__k { display: flex; align-items: center; gap: 10px; font: 700 14px/1.3 Manrope, Arial, sans-serif; color: #341D99; }
html body .sl-ind__ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #FFC61E; color: #110A33; }
html body .sl-ind__ic svg { width: 20px; height: 20px; }
html body .sl-ind__c h3 { margin: 4px 0 0; font: 700 21px/1.2 "Cabinet Grotesk", Cabinetgrotesk, Arial, sans-serif; color: #110A33; text-wrap: balance; }
html body .sl-ind__line { font: 500 15px/1.55 Manrope, Arial, sans-serif; color: #5B6478; }
html body .sl-ind__jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
html body .sl-ind__jobs li { position: relative; padding-left: 18px; font: 600 14.5px/1.4 Manrope, Arial, sans-serif; color: #110A33; }
html body .sl-ind__jobs li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: #FFC61E; }
html body .sl-ind__foot { margin-top: auto; display: grid; gap: 16px; padding-top: 8px; }
html body .sl-ind__who { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid #DDD6FF; font: 500 14px/1.5 Manrope, Arial, sans-serif; color: #5B6478; }
html body .sl-ind__who b { font-weight: 700; color: #110A33; }
html body .sl-ind__go { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font: 700 15px/1.4 "Cabinet Grotesk", Cabinetgrotesk, Arial, sans-serif; color: #110A33; text-decoration: underline; text-decoration-color: #FFC61E; text-decoration-thickness: 2px; text-underline-offset: 4px; }
html body .sl-ind__go svg { width: 16px; height: 16px; flex: none; }
html body .sl-hub-roles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
html body .sl-hub-roles span { margin-right: 4px; font: 700 15px/1 Manrope, Arial, sans-serif; color: #5B6478; }
html body .sl-hub-roles a { padding: 8px 14px; border: 1px solid #DDD6FF; border-radius: 999px; background: #fff; font: 600 14px/1 Manrope, Arial, sans-serif; color: #110A33; text-decoration: none; }
@media (hover: hover) { html body .sl-hub-roles a:hover { background: #FFF4D2; border-color: #FFC61E; } }
/* Amar Nov 11: the press callout under the industry tiles: one quiet line, no box */
html body .sl-ind__press { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; text-align: center; }
html body .sl-ind__src { font: 800 12px/1 Manrope, "Manrope Fallback", Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #5B6478; }
html body .sl-ind__ttl { font: 600 17px/1.4 Manrope, "Manrope Fallback", Arial, sans-serif; color: #110A33; }
@media (max-width: 1100px) { html body .sl-ind__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { html body .sl-ind { min-height: 0; padding: 56px 0; } html body .sl-ind__in { padding-inline: 16px; gap: 28px; } html body .sl-ind__grid { grid-template-columns: 1fr; } html body .sl-ind__sub { font-size: 16px; } }
