/* Homepage art direction */
main {
  --line: #d9e0e8;
  --muted: #485568;
  --mist: #f3f6f9;
}
.hero {
  background: radial-gradient(ellipse at 85% 12%, #22364f, transparent 56%), #101a29;
}
.hero h1 { letter-spacing: -.04em; text-wrap: balance; }
.hero .lede { max-width: 45ch; }
.hero .button:not(.outline) { background: #be2833; }
.hero .button:not(.outline):hover { background: #9f202b; }
.hero .button .arrow { display: none; }
.project-paths {
  position: relative;
  overflow: hidden;
  background: #182a40;
  border: 1px solid #425770;
  border-radius: 10px;
  box-shadow: 0 16px 48px #060c172e;
}
.architecture-art {
  position: relative;
  height: clamp(76px, 9vw, 110px);
  margin: calc(-1 * clamp(18px, 3vw, 30px)) calc(-1 * clamp(18px, 3vw, 30px)) 22px;
  overflow: hidden;
  border-bottom: 1px solid #425770;
  background-color: #182a40;
  background-image: linear-gradient(#71849a20 1px, transparent 1px), linear-gradient(90deg,#71849a20 1px,transparent 1px);
  background-size: 22px 22px;
}
.architecture-art i {
  position: absolute;
  left: 46%;
  top: 15%;
  width: 39%;
  height: 54%;
  transform: skew(-45deg, 12deg);
  border: 1px solid #839ab3;
  background: #20354c;
}
.architecture-art i:nth-child(2) { translate: -16px 11px; border-color: #afc2d3; background: #2d435a; }
.architecture-art i:nth-child(3) { translate: -32px 22px; border-color: #f1a3a3; background: #58404c; }
.project-paths a:hover { background: #ffffff09; }
.section h2 { text-wrap: balance; }
.services article, .assessment-grid article, .team-grid article {
  background: white;
  border-color: #d4dce5;
  border-radius: 8px;
}
.services article { border-top: 3px solid #30445b; }
.services .offer-category { color: #9e2832; font-weight: 700; }
.services .offer-list dt { color: #23364b; }
.section :is(h3,dt) { text-wrap: pretty; }
#delivery-controls { border-bottom: 1px solid var(--line); }
#questions { background: #f3f6f9; }
@media (max-width: 760px) {
  .hero-inner { padding-block: 44px; }
  .architecture-art { height: 62px; margin-bottom: 16px; }
  .section { padding-block: 52px; }
}

.services-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 24px;
  margin-bottom: 24px;
}
.services-heading h2 { margin-bottom: 0; }
.services-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #23364b;
  font-weight: 650;
  text-underline-offset: 4px;
}

.section h3 { line-height: 1.2; }
.section :is(p, dd) { text-wrap: pretty; }

.hero-demo-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  margin-top: .5rem;
  color: #fff;
  font-weight: 650;
  text-underline-offset: .23em;
}

/* Landing page identity and service workflows */
.hero h1 { color: #fff; max-width: 16ch; line-height: 1.04; }
.hero .lede { max-width: 52ch; }
.hero-inner { min-height: auto; }
.hero { --hero-coral: #ffa4a4; }
.hero .hero-accent, .project-paths .path-icon, .project-paths a .arrow { color: var(--hero-coral); }
.path-icon svg { width: 22px; height: 22px; }
.workflow { display: block; width: 100%; max-width: 310px; height: auto; margin: 6px 0 16px; }
.workflow path { fill: none; stroke: #52667a; stroke-width: 1.5; }
.workflow rect { fill: #eff3f7; stroke: #64788b; }
.workflow text { fill: #172a40; text-anchor: middle; font: 600 11px system-ui, sans-serif; }
.services .offer-category, .section .eyebrow, .services .service-link, .services .detail-link { color: #293e54; }
.contact .eyebrow, .hero-demo-link, .contact-secondary { color: #fff; }
.contact-secondary { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }

/* Homepage action hierarchy */
body:has(.hero-copy) { --deep: #23364b; --red: #23364b; }
.header .header-contact, .hero .button:not(.outline), .contact .contact-primary {
  background: #be2833; color: #fff; border: 1px solid transparent;
  padding: 10px 18px; text-decoration: none; white-space: nowrap;
}
.header .header-contact:hover, .contact .contact-primary:hover { background: #9f202b; }
.assessment-surface { display: inline-flex; background: #f8fafc; border-radius: 6px; }
.hero .button.outline, .assessment-grid .detail-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 18px; background: transparent;
  color: #23364b; border: 1px solid #23364b; border-radius: 6px;
  text-decoration: none; text-align: center; line-height: 1.35;
}
.hero .button.outline:hover, .assessment-grid .detail-link:hover { background: #e4ecf4; }
.services .detail-link, .demo-directory .demo-groups a:hover { color: #23364b; }
.section .eyebrow { color: #64748b; }
.section .eyebrow span { background: #be2833; }
.contact .eyebrow { color: #cbd5e1; }
.approach .eyebrow, #assessments .eyebrow { color: #56667b; }
body:has(.hero-copy) :is(a,button,summary):focus-visible {
  outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 7px #23364b;
}

.hero .delivery-promise {
  margin: 1rem 0 .5rem;
  max-width: 50ch;
  color: #fff;
  font-size: 1.125rem;
  line-height: 1.45;
}
.hero .delivery-promise + .lede { margin-top: 0; }
.hero h1, .section h2 { text-wrap: balance; }
.services article[id] { scroll-margin-top: 6rem; }
.client-example .eyebrow { color: #455568; }
@media (min-width: 761px) and (max-width: 1024px) {
  .services a, .sample-section a, .contact-method a, .header nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
