/* Shared public navigation; existing mobile touch targets stay unchanged. */
@media (min-width: 1024px) {
  .site-header .site-nav-link,
  .site-header .site-nav[data-gooey-nav] .site-nav-link { font-size: 14px; padding-inline: .5rem; min-height: 44px; }
  .site-header .site-nav { gap: .1rem; }
}
.product-menu-links a { display: flex; align-items: center; gap: .8rem; }
.product-menu-links i { width: 1.25rem; color: var(--sti-blue); font-size: 1.15rem; }
.product-demo-page h1, .kairos-intro h1 { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; margin: 1rem 0 1.5rem; }
.demo-intro > p, .kairos-intro > p { max-width: 700px; color: var(--sti-muted); font-size: 1.1rem; line-height: 1.7; }
.demo-story-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; margin-top: 3rem; }
.product-demo-page .demo-intro { padding-block: clamp(1rem, 1.5vw, 1.5rem) 4rem; }
.product-demo-page .article-back-link { margin-bottom: 0; }
.product-demo-page .demo-intro h1 { margin: .5rem 0 0; }
.product-demo-page .demo-story-grid { margin-top: 1.5rem; }
.demo-story-card { min-width: 0; background: var(--sti-surface); border: 1px solid var(--sti-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.demo-story-card > img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.demo-story-card > div { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.5rem; }
.demo-story-card span { color: var(--sti-muted); font-size: .8rem; }
.sti-section .demo-story-card h2 { font-size: 1.5rem; line-height: 1.4; margin: .7rem 0; }
.demo-story-card p { color: var(--sti-muted); line-height: 1.7; margin: 0 0 1.5rem; }
.demo-story-card .sti-button { margin-top: auto; }
.demo-resume { margin-top: .5rem; min-height: 44px; border: 0; background: none; cursor: pointer; }
.demo-load-status { min-height: 1.5em; }
.kairos-intro { padding-bottom: 3rem; }
.kairos-capabilities { border-block: 1px solid var(--sti-line); }
.kairos-capability-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.kairos-capability-grid h3 { font-size: 1.4rem; line-height: 1.4; margin: 0 0 1rem; }
.kairos-capability-grid p { color: var(--sti-muted); line-height: 1.7; }
.kairos-chart-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.kairos-chart { min-width: 0; margin: 0; padding: 1.5rem; border: 1px solid var(--sti-line); background: var(--sti-surface); border-radius: 8px; }
.kairos-chart h3 { font-size: 1.25rem; line-height: 1.4; margin: 0 0 .5rem; }
.kairos-chart figcaption > p { min-height: 3em; font-size: .8rem; color: var(--sti-muted); line-height: 1.5; margin-bottom: 1.5rem; }
.kairos-chart ol { list-style: none; margin: 0; padding: 0; }
.kairos-chart li { margin: 0 0 1.5rem; }
.kairos-bar-label { display: flex; justify-content: space-between; align-items: baseline; gap: .7rem; font-size: .8rem; line-height: 1.5; }
.kairos-bar-label strong { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.kairos-bar-track { height: 9px; margin-top: .55rem; background: var(--sti-surface-muted); }
.kairos-bar-track span { display: block; height: 100%; background: #a3a3a3; }
.kairos-chart .is-kairos { color: var(--sti-blue); }
.kairos-chart .is-kairos .kairos-bar-track span { background: var(--sti-blue); }
.kairos-source { color: var(--sti-muted); font-size: .8rem; line-height: 1.75; max-width: 900px; margin-top: 1.25rem; }
.kairos-table-scroll { overflow-x: auto; margin-top: 2rem; border-block: 1px solid var(--sti-line); }
.kairos-table { border-collapse: collapse; width: 100%; font-size: .875rem; font-variant-numeric: tabular-nums; }
.kairos-table caption { text-align: left; padding: 1rem 0; font-weight: 600; }
.kairos-table th, .kairos-table td { padding: 1rem; border-top: 1px solid var(--sti-line); text-align: left; }
.kairos-table th { font-weight: 600; }
.kairos-table .is-kairos { background: #f2f5ff; color: var(--sti-blue); }
.kairos-stack { border-top: 1px solid var(--sti-line); }
.kairos-stack-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; border: 1px solid var(--sti-line); background: var(--sti-line); margin-top: 2rem; }
.kairos-stack-grid article { background: var(--sti-surface); padding: 1.5rem; }
.kairos-stack-grid article > span { font-size: .8rem; color: var(--sti-blue); }
.kairos-stack-grid h3 { font-size: 1.25rem; line-height: 1.4; margin: 1rem 0; }
.kairos-stack-grid ul { padding-left: 1rem; color: var(--sti-muted); line-height: 1.8; font-size: .9rem; }
.kairos-stack-base { padding: 1rem; border: 1px solid var(--sti-line); border-top: 0; text-align: center; }

@media (max-width: 1199px) { .kairos-chart-grid { grid-template-columns: 1fr; } .kairos-chart figcaption > p { min-height: 0; } }
@media (max-width: 767px) {
  .demo-story-grid, .kairos-capability-grid, .kairos-stack-grid { grid-template-columns: 1fr; }
  .kairos-table { min-width: 650px; }
}
/* Article pages share the standard navigation, including its mobile drawer. */
@media (max-width: 1023px) {
  .content-page .site-header .site-nav-panel { position: fixed; top: 72px; height: calc(100dvh - 72px); overflow-y: auto; background: var(--sti-surface); }
  .content-page .site-header .site-nav { display: block; width: 100%; padding: 1rem; }
  .content-page .site-header .site-nav-link { width: 100%; font-size: 1.125rem; padding: 0; min-height: 56px; }
}


.article-back-link { padding: 0; border: 0; background: none; font: inherit; min-height: 44px; cursor: pointer; }
.article-back-link:disabled { opacity: .45; cursor: default; }
.site-search-trigger { min-width: 44px; min-height: 44px; justify-content: center; }

@media (min-width: 768px) { .sti-role-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1200px; } }

/* Clear card edges against the enterprise section's soft grey background. */
.sti-solutions .sti-solution-card {
  background-color: #fff;
  border: 1px solid #b8b8b8;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .045);
}
.sti-solutions .sti-solution-card:hover,
.sti-solutions .sti-solution-card:focus-visible { border-color: var(--sti-blue); }
.footer-language .site-language-menu { display: inline-flex; align-items: center; }
.footer-language .site-language-button { color: var(--sti-night-muted); }
.footer-language .site-language-button:hover { color: var(--sti-night-ink); }
.footer-language .site-language-list { top: auto; bottom: calc(100% + .4rem); z-index: 100; color: var(--sti-ink); }
.footer-language .site-language-list button { color: var(--sti-ink); min-height: 44px; }
@media (max-width: 639px) { .footer-language { align-self: flex-end; } }

@media (max-width: 639px) { .sti-solutions { padding-inline: var(--sti-pad); } }

/* Keep the semantic title and a plain-text fallback when scripts are unavailable. */
.kairos-intro { text-align:center; }
.kairos-intro > p { margin-inline:auto; }
.kairos-intro .sti-actions { justify-content:center; }
[data-kairos-heading] .warp-text { height:clamp(160px,20vw,270px); min-height:160px; }
.kairos-intro:has([data-kairos-heading] > *) .kairos-model-title { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.article-back-link[hidden] { display:none!important; }
.sti-research-placeholder { border-style:dashed; box-shadow:none; }
.sti-research-placeholder:hover { transform:none; border-color:var(--sti-line); }
.research-placeholder-mark { width:100%; height:100%; display:grid; place-items:center; color:#aaa; background:#f2f2f2; font-size:4rem; font-weight:300; }
.sti-research-placeholder .sti-research-card-body p { color:var(--sti-muted); line-height:1.7; font-size:.9rem; }

/* Gelato is a product presentation, independent of the Index reading layout. */
.gelato-product-hero { max-width: 1040px; margin: 0 auto; padding: 3rem 0 2.5rem; text-align: center; }
.gelato-product-hero h1 { margin: 0 auto 2rem; max-width: 900px; }
.gelato-product-hero h1 img { width: 100%; height: auto; }
.gelato-product-hero > p { max-width: 800px; margin: 0 auto 1.75rem; color: var(--sti-muted); font-size: 1.125rem; line-height: 1.8; }
.gelato-product-hero .sti-actions { justify-content: center; flex-wrap: wrap; }
.gelato-product-content { max-width: 900px; margin: 0 auto; padding-bottom: 5rem; font-size: 1.125rem; line-height: 1.8; }
.gelato-product-content p { margin: 1.25rem 0; }
.gelato-product-content h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; margin: 3rem 0 1.25rem; scroll-margin-top: 110px; font-weight: 600; }
.gelato-product-content figure { margin: 1.5rem 0; }
.gelato-product-content video { display: block; width: 100%; height: auto; border-radius: 8px; }
.gelato-product-content figcaption { font-size: .85rem; line-height: 1.6; color: var(--sti-muted); margin-top: .75rem; }
.gelato-product-content a { text-underline-offset: .2em; text-decoration: underline; overflow-wrap: anywhere; }
.gelato-product-content code { font-size: .9em; }
.gelato-product-content .gelato-report-link { margin-top: 3rem; }
@media (max-width: 767px) { .gelato-product-hero { padding-top: 1.5rem; } .gelato-product-content, .gelato-product-hero > p { font-size: 1rem; } }
.gelato-page { padding-inline: var(--sti-pad, 24px); }
