/* Shared polish pass: clearer type, warmer surfaces, and a more consistent component system. */
:root {
  --muted: #4a5a70;
  --line: #dce4ec;
}

html { scroll-padding-top: 94px; }
body { color: #15253a; text-rendering: optimizeLegibility; }
p { text-wrap: pretty; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(14px);
  box-shadow: 0 5px 20px rgb(13 35 63 / 5%);
}
.navlinks { color: #34465e; }
.navlinks a, .nav-static-label, .submenu-toggle { transition: color .2s ease; }
.navlinks a:hover, .navlinks a:focus-visible, .nav-static-label.active { color: #1268bf; }
.nav-cta, .btn {
  border-radius: 999px;
  box-shadow: 0 8px 22px rgb(35 91 216 / 20%);
}
.nav-cta:hover, .btn:hover { box-shadow: 0 12px 27px rgb(35 91 216 / 27%); }

.page-hero {
  background:
    radial-gradient(ellipse at 87% 12%, rgb(67 164 226 / 12%), transparent 31%),
    linear-gradient(112deg, #f7f9fc 0%, #edf6fb 62%, #f5f5f2 100%);
}
.page-hero p, .section-head .lead, .intro-copy p, .contact-note,
.about-copy p, .about-presence p, .work-note p, .insight-article p {
  color: #465970;
}
.page-hero h1, .section h2 { color: #102c4d; }
.section-head { max-width: 790px; }
.section-head .lead { max-width: 740px; }

.framework-card, .proof, .hub, .credential, .list-item, .contact-card,
.profile-card, .credential-logo, .badge-card, .about-presence article,
.work-template-card, .insight-template-card {
  border: 1px solid #dce5ee;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgb(16 42 72 / 6%);
}
.framework-card, .proof, .hub, .list-item, .contact-card, .credential-logo,
.about-presence article, .work-template-card, .insight-template-card {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
@media (hover: hover) {
  .framework-card:hover, .proof:hover, .hub:hover, .list-item:hover,
  .credential-logo:hover, .about-presence article:hover,
  .work-template-card:hover, .insight-template-card:hover {
    transform: translateY(-3px);
    border-color: #b9d4ea;
    box-shadow: 0 15px 34px rgb(16 42 72 / 10%);
  }
}
.proof { color: #465970; }
.proof b { color: #142e4d; }
.num { color: #1768c5; }
.field label { color: #263a53; }
.field input, .field textarea { color: #172c46; }
.field input::placeholder, .field textarea::placeholder { color: #718096; opacity: 1; }
.form-note { color: #586a80; }

.about-underdog, .about-framework { box-shadow: 0 18px 44px rgb(12 35 63 / 12%); }
.about-underdog h2, .about-framework h2 { color: #fff; }
.about-underdog p { color: #f5f9ff; }
.about-framework .lead { color: #e8f0fa; }
.work-sector { box-shadow: 0 14px 32px rgb(12 35 63 / 13%); }
.partner-strip { color: #425872; }
.badge-card { background: #fff; }
.badge-marquee:hover .badge-track,
.badge-marquee:focus-within .badge-track { animation-play-state: paused; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid rgb(18 104 191 / 55%);
  outline-offset: 4px;
}
.services-menu { z-index: 60; }

.framework.home-services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-services-grid .framework-card { min-height: 300px; padding: 23px; }
.home-services-grid .card-index { color: #496078; font-weight: 700; }

.home-hero .hero-inner > h1 {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.home-hero .home-title-word { display: inline-block; white-space: nowrap; }
.home-hero .home-title-letter {
  animation-name: title-letter-light-up !important;
  animation-duration: 1.1s !important;
  animation-timing-function: cubic-bezier(.2, .7, .25, 1) !important;
  animation-fill-mode: both !important;
}

@media (max-width: 640px) {
  .home-hero .hero-inner > h1 {
    font-size: clamp(34px, 9.5vw, 56px);
    line-height: 1.04;
  }
}

@media (max-width: 1050px) {
  .framework.home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  html { scroll-padding-top: 82px; }
  .topbar { z-index: 70; }
  .navlinks { max-height: calc(100vh - 82px); overflow-y: auto; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .page-hero { padding-top: 58px; padding-bottom: 54px; }
  .topbar { background: rgb(255 255 255 / 97%); }
  .navlinks { max-height: calc(100vh - 70px); }
  .about-underdog, .about-framework { box-shadow: 0 12px 28px rgb(12 35 63 / 10%); }
  .framework.home-services-grid { grid-template-columns: 1fr; }
  .home-services-grid .framework-card { min-height: 230px; }
}

@media (max-width: 640px) {
  .framework-matrix,
  .matrix-band,
  .matrix-groups,
  .matrix-catalog,
  .matrix-support,
  .matrix-group,
  .matrix-grid {
    min-width: 0;
  }
  .matrix-grid.eight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .matrix-cell {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* Brand casing, seasonal release timeline, and partner co-branding. */
.brand-case {
  display: inline;
  text-transform: lowercase !important;
  font-variant: normal;
}
.about-evolution .section-head {
  max-width: 930px;
}
.release-impact-callout {
  max-width: 870px;
  margin: 24px 0 18px;
  padding: 20px 24px;
  border: 1px solid #cde4f1;
  border-left: 4px solid #1497cf;
  border-radius: 4px 16px 16px 4px;
  background: linear-gradient(110deg, #eff9fd, #f8fbfd);
}
.release-impact-callout p {
  margin: 0;
  color: #29445d;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}
.release-impact-callout strong {
  color: #0878b8;
  font-weight: 800;
}
.release-body {
  max-width: 900px;
}
.release-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 25px;
}
.release-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 16px 20px;
  border: 1px solid #d8e6ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 25px rgb(12 49 77 / 5%);
}
.release-badge > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: #e8f6fc;
  color: #0879b6;
  font-size: 12px;
  font-weight: 800;
}
.release-badge strong {
  color: #173650;
  font-size: 15px;
}
.partner-strip.partner-strip-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(220px, 1fr);
  align-items: center;
  gap: 32px;
  margin-top: 36px;
  padding: 25px 30px;
  border-color: #d9e6ee;
  background: linear-gradient(115deg, #f8fbfd, #fff 53%, #f5fafc);
}
.partner-brand-side,
.partner-zen-side {
  display: grid;
  justify-items: start;
  gap: 12px;
}
.partner-zen-side {
  justify-items: center;
}
.partner-brand-label {
  color: #718399;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.partner-strip.partner-strip-brand .partner-brand-side img {
  display: block;
  width: min(100%, 280px);
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}
.partner-zen-crop {
  width: 110px;
  height: 93px;
  background-image: url('/assets/ima360-header-logo-transparent.png');
  background-repeat: no-repeat;
  background-position: -144px 0;
  background-size: 421px 93px;
}
.partner-tier-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #263f57;
  font-size: 13px;
  font-weight: 600;
}
.partner-tier-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.partner-tier-list li span {
  color: #12a6d8;
  font-size: 17px;
  line-height: 1;
}
.credential-count {
  display: inline-block;
  margin-top: 10px;
  color: #0878b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
@media (max-width: 760px) {
  .release-timeline {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .partner-strip.partner-strip-brand {
    grid-template-columns: minmax(0, 1fr) minmax(110px, .65fr);
    gap: 24px;
  }
  .partner-tier-list {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
}
@media (max-width: 480px) {
  .partner-strip.partner-strip-brand {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }
  .partner-tier-list {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

/* Home hero: use the supplied AIFORCE ecosystem visual with a clear message. */
body[data-page="home"] .home-hero .hero-product-art.hero-ai-art {
  width: min(32%, 440px);
  height: auto;
  top: 50%;
  right: 1%;
  display: block;
  margin: 0;
  overflow: visible;
  transform: translateY(-39%);
}
.hero-ai-panel {
  position: relative;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgb(135 226 255 / 62%);
  border-radius: 21px;
  background: linear-gradient(140deg, rgb(174 235 255 / 28%), rgb(9 47 101 / 48%));
  box-shadow: 0 22px 56px rgb(0 13 44 / 38%), 0 0 36px rgb(31 190 255 / 18%);
}
.hero-ai-panel img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(151 226 255 / 35%);
  border-radius: 13px;
  object-fit: contain;
}
.hero-ai-caption {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin: 12px 2px 0;
  padding: 12px 14px;
  border: 1px solid rgb(137 222 255 / 30%);
  border-radius: 14px;
  background: rgb(4 38 84 / 64%);
  color: #effaff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.48;
  box-shadow: 0 10px 24px rgb(0 15 46 / 18%);
  backdrop-filter: blur(10px);
}
.hero-ai-caption-mark {
  color: #55d5ff;
  font-size: 19px;
  line-height: 1.1;
}
.hero-ai-caption strong {
  color: #68dcff;
  font-weight: 850;
  letter-spacing: .08em;
}
@media (max-width: 900px) {
  body[data-page="home"] .home-hero .hero-product-art.hero-ai-art {
    width: min(38%, 390px);
    right: 1%;
  }
  .hero-ai-caption {
    font-size: 13px;
    padding: 10px 12px;
  }
}
@media (max-width: 640px) {
  body[data-page="home"] .home-hero .hero-product-art.hero-ai-art {
    width: min(84%, 400px);
    height: auto;
    top: auto;
    right: 8%;
    bottom: 24px;
    transform: none;
  }
  .hero-ai-panel { padding: 6px; border-radius: 17px; }
  .hero-ai-panel img { border-radius: 10px; }
  .hero-ai-caption {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 7px;
    margin-top: 9px;
    padding: 9px 10px;
    font-size: 12px;
    line-height: 1.42;
  }
}
