/* SaaS JO: the approved light, single-column homepage hero. */
.homepage-main .hero.hero--centered {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(924px, calc(100svh - 110px));
  padding: clamp(20px, 4svh, 64px) 24px;
  background: #f5f9ff url("hero-centered-background.webp") center / cover no-repeat;
  text-align: center;
}
/* Keep the decorative layer independent of the editable Gutenberg content. */
.homepage-main .hero.hero--centered {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: none;
}
.homepage-main .hero.hero--centered::before {
  content: "";
  position: absolute;
  inset: -32px;
  z-index: -1;
  pointer-events: none;
  background: #f5f9ff url("hero-centered-background.webp") center / cover no-repeat;
}
.homepage-main .hero--centered .hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}
.homepage-main .hero--centered .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}
.homepage-main .hero--centered .hero-copy > * { margin-block: 0; }
.homepage-main .hero--centered .eyebrow {
  color: #277bd7;
  font-size: clamp(18px, 3.2svh, 24px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 18px;
}
.homepage-main .hero--centered .hero-copy h1 {
  max-width: 1000px;
  color: #111c3a;
  font-size: clamp(40px, min(4.55vw, 8svh), 72px);
  font-weight: 800;
  line-height: 1.28;
  text-align: center;
  text-wrap: balance;
  margin: 0 0 20px;
}
.homepage-main .hero--centered .hero-b2b { color: #2e86df; }
.homepage-main .hero--centered .hero-subtitle {
  max-width: 960px;
  color: #111c3a;
  font-size: clamp(22px, min(2.25vw, 3.8svh), 34px);
  font-weight: 700;
  line-height: 1.6;
  text-wrap: balance;
  margin-bottom: 10px;
}
.homepage-main .hero--centered .hero-description {
  max-width: 870px;
  color: #405574;
  font-size: clamp(18px, min(1.65vw, 2.7svh), 25px);
  font-weight: 400;
  line-height: 1.8;
  text-wrap: balance;
}
.homepage-main .hero--centered .hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: 100%;
  margin: 22px 0;
}
.homepage-main .hero--centered .wp-block-buttons { justify-content: center; margin: 0; }
.homepage-main .hero--centered .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 250px;
  padding: 14px 32px;
  background: #57a9ff;
  color: #111c3a;
  border-radius: 6px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.homepage-main .hero--centered .wp-block-button__link:hover { background: #85c1ff; }
.homepage-main .hero--centered .text-link { margin: 0; }
.homepage-main .hero--centered .text-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #405574;
  font-size: 21px;
  font-weight: 500;
}
.homepage-main .hero--centered .brand-promise {
  margin: 0 !important;
  color: #405574;
  font-size: 20px;
  font-weight: 700;
}
.homepage-main .hero--centered a:focus-visible { outline: 3px solid #111c3a; outline-offset: 5px; }
html:lang(en) .homepage-main .hero--centered .hero-copy h1 { font-size: clamp(38px, min(4.5vw, 7.5svh), 68px); }
@media (max-width: 767px) {
  .homepage-main .hero.hero--centered { min-height: calc(100svh - 112px); padding: 24px 22px; }
  .homepage-main .hero--centered .eyebrow { font-size: 18px; margin-bottom: 16px; }
  .homepage-main .hero--centered .hero-copy h1 { font-size: clamp(32px, 7.5vw, 48px); line-height: 1.3; margin-bottom: 16px; }
  html:lang(en) .homepage-main .hero--centered .hero-copy h1 { font-size: clamp(30px, 7vw, 44px); }
  .homepage-main .hero--centered .hero-subtitle { font-size: 20px; line-height: 1.5; margin-bottom: 10px; }
  .homepage-main .hero--centered .hero-description { font-size: 17px; line-height: 1.7; }
  .homepage-main .hero--centered .hero-actions { margin: 18px 0; gap: 12px; }
  .homepage-main .hero--centered .hero-actions > * { min-width: 0; }
  .homepage-main .hero--centered .wp-block-button__link { min-height: 56px; min-width: 0; padding: 12px 16px; font-size: 18px; }
  .homepage-main .hero--centered .text-link a { font-size: 16px; }
  .homepage-main .hero--centered .brand-promise { font-size: 17px; }
}
@media (max-width: 360px) {
  .homepage-main .hero.hero--centered { padding-inline: 18px; }
  .homepage-main .hero--centered .hero-copy h1 { font-size: 30px; }
  .homepage-main .hero--centered .hero-subtitle { font-size: 19px; }
}
@media (max-width: 767px) and (max-height: 680px) {
  .homepage-main .hero.hero--centered { padding-block: 16px; }
  .homepage-main .hero--centered .eyebrow { font-size: 16px; margin-bottom: 10px; }
  .homepage-main .hero--centered .hero-copy h1,
  html:lang(en) .homepage-main .hero--centered .hero-copy h1 { font-size: 28px; line-height: 1.25; margin-bottom: 12px; }
  .homepage-main .hero--centered .hero-subtitle { font-size: 18px; }
  .homepage-main .hero--centered .hero-description { font-size: 16px; line-height: 1.6; }
  .homepage-main .hero--centered .hero-actions { margin-block: 12px; }
  .homepage-main .hero--centered .wp-block-button__link { font-size: 16px; min-height: 48px; padding: 10px 12px; }
  .homepage-main .hero--centered .text-link a { font-size: 15px; }
  .homepage-main .hero--centered .brand-promise { font-size: 15px; }
}

/* Keep Gutenberg editing stable even when the frontend animation is enabled. */
@media (prefers-reduced-motion: reduce) {
  .homepage-main .hero--centered .wp-block-button__link,
  .homepage-main .hero--centered .text-link a { transition: none; }
}
.editor-styles-wrapper .homepage-main .hero.hero--centered::before,
.editor-styles-wrapper .homepage-main .hero--centered .hero-copy > * { animation: none; }

/* Dark blue video direction: readable native content above decorative media. */
.homepage-main .hero.hero--centered { background: #0b142b; }
.homepage-main .hero.hero--centered::before {
  inset: 0;
  animation: none;
  background: linear-gradient(90deg, #0b142b66, #0b142bbf 35%, #0b142bbf 65%, #0b142b66);
}
.homepage-main .hero--centered .hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.homepage-main .hero--centered .hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.homepage-main .hero--centered .hero-copy h1,
.homepage-main .hero--centered .hero-subtitle { color: #fff; }
.homepage-main .hero--centered .eyebrow,
.homepage-main .hero--centered .hero-b2b { color: #83c0ff; }
.homepage-main .hero--centered .hero-description,
.homepage-main .hero--centered .text-link a,
.homepage-main .hero--centered .brand-promise { color: #d5e5fa; }
.homepage-main .hero--centered .wp-block-button__link { background: #57a9ff; color: #0b142b; }
.homepage-main .hero--centered a:focus-visible { outline-color: #fff; }
@media (max-width: 767px) {
  .homepage-main .hero.hero--centered::before { background: #0b142b99; }
}
