:root {
  --hb-green: #97C15A;
  --hb-dark: #114D4D;
  --hb-dark-2: #134B4B;
  --hb-pale: #f8fbf2;
  --hb-pale-2: #eef5df;
  --hb-border: #d8e4cc;
  --hb-yellow: #f6d96b;
  --hb-orange: #f3a95f;
  --hb-teal: #4db6ac;
  --hb-blue: #86b7e8;
  --hb-purple: #b89be8;
  --hb-ink: #173434;
  --hb-muted: #58706d;
  --hb-white: #ffffff;
  --hb-shadow: 0 18px 45px rgba(17, 77, 77, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hb-ink);
  background:
    radial-gradient(circle at top left, rgba(151, 193, 90, 0.24), transparent 34rem),
    radial-gradient(circle at top right, rgba(77, 182, 172, 0.18), transparent 36rem),
    var(--hb-pale);
  font-family: var(--hb-bloom-font);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}


.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.68rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 77, 77, 0.16);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.hb-btn:hover {
  transform: translateY(-1px);
}

.hb-btn-primary {
  color: var(--hb-dark);
  background: var(--hb-green);
  box-shadow: 0 10px 24px rgba(151, 193, 90, 0.34);
}

.hb-btn-light {
  color: var(--hb-dark);
  background: var(--hb-white);
}

.hb-btn-outline {
  color: var(--hb-dark);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(17, 77, 77, 0.24);
}

.hb-btn-large {
  min-height: 48px;
  padding: 0.8rem 1.25rem;
}

.hb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2.25rem, 5vw, 4.5rem);
}

.hb-kicker {
  margin: 0 0 0.7rem;
  color: var(--hb-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hb-hero h1,
.hb-section h2,
.hb-final-cta h2 {
  margin: 0;
  color: var(--hb-dark);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.hb-hero h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 6.4vw, 5.75rem);
}

.hb-hero-lead {
  max-width: 660px;
  margin: 1.15rem 0 0;
  color: var(--hb-muted);
  font-size: clamp(1.04rem, 2vw, 1.32rem);
}

.hb-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hb-hero-visual {
  position: relative;
  min-height: 560px;
  padding: 1.25rem;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.8), rgba(238,245,223,0.75)),
    radial-gradient(circle at 20% 20%, rgba(151,193,90,0.28), transparent 20rem);
  border: 1px solid rgba(17, 77, 77, 0.12);
  box-shadow: var(--hb-shadow);
}

.hb-hero-visual::before {
  content: "";
  position: absolute;
  inset: 50px 58px;
  border: 6px dashed rgba(17, 77, 77, 0.13);
  border-radius: 42% 58% 50% 50%;
  transform: rotate(-9deg);
}

.hb-path-card {
  position: absolute;
  display: grid;
  gap: 0.16rem;
  width: 190px;
  min-height: 116px;
  padding: 1rem;
  border-radius: 26px;
  color: var(--hb-dark);
  border: 1px solid rgba(17, 77, 77, 0.11);
  box-shadow: 0 16px 28px rgba(17, 77, 77, 0.12);
}

.hb-path-card span {
  width: max-content;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 900;
}

.hb-path-card strong {
  font-size: 1.3rem;
}

.hb-path-card p {
  margin: 0;
  font-size: 0.88rem;
}

.hb-path-card-1 {
  top: 38px;
  left: 30px;
  background: #cfe6a4;
}

.hb-path-card-2 {
  top: 108px;
  right: 26px;
  background: #f6d96b;
}

.hb-path-card-3 {
  top: 238px;
  left: 92px;
  background: #f3a95f;
}

.hb-path-card-4 {
  bottom: 104px;
  right: 50px;
  background: #79d1c8;
}

.hb-path-card-5 {
  bottom: 38px;
  left: 42px;
  background: #9dc7ef;
}

.hb-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.2rem, 6vw, 5.4rem) 0;
}

.hb-section-head {
  max-width: 780px;
  margin-bottom: 1.6rem;
}

.hb-section-head h2,
.hb-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.7rem);
}

.hb-section-head p:not(.hb-kicker),
.hb-school-panel p,
.hb-ai-copy p,
.hb-final-cta p {
  color: var(--hb-muted);
  font-size: 1.05rem;
}

.hb-workflow-grid,
.hb-pressure-grid,
.hb-activity-grid,
.hb-pathway-grid {
  display: grid;
  gap: 1rem;
}

.hb-workflow-grid {
  grid-template-columns: repeat(5, 1fr);
}

.hb-step {
  min-height: 250px;
  padding: 1.2rem;
  border-radius: 30px;
  border: 1px solid rgba(17, 77, 77, 0.11);
  box-shadow: 0 14px 34px rgba(17, 77, 77, 0.1);
}

.hb-step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--hb-dark);
  font-weight: 900;
  font-size: 1.4rem;
}

.hb-step h3,
.hb-pressure-card h3,
.hb-activity-grid h3 {
  margin: 0 0 0.55rem;
  color: var(--hb-dark);
  font-size: 1.28rem;
  line-height: 1.12;
}

.hb-step p,
.hb-pressure-card p,
.hb-activity-grid p {
  margin: 0;
  color: var(--hb-muted);
}

.hb-step-green { background: #dfeec7; }
.hb-step-yellow { background: #fff1ae; }
.hb-step-orange { background: #ffd3a6; }
.hb-step-teal { background: #c5eee9; }
.hb-step-blue { background: #d7e8f9; }

.hb-pressure-section {
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(17, 77, 77, 0.96), rgba(19, 75, 75, 0.9)),
    radial-gradient(circle at top right, rgba(151,193,90,0.32), transparent 28rem);
  box-shadow: var(--hb-shadow);
}

.hb-pressure-section .hb-section-head h2,
.hb-pressure-section .hb-kicker {
  color: #ffffff;
}

.hb-pressure-section .hb-section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.hb-pressure-grid {
  grid-template-columns: repeat(3, 1fr);
}

.hb-pressure-card {
  min-height: 390px;
  padding: 1.35rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.13);
}

.hb-pressure-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.hb-pressure-top p {
  margin: 0;
  color: var(--hb-dark);
  font-weight: 900;
}

.hb-pressure-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: var(--hb-dark);
  font-weight: 900;
}

.hb-school-card .hb-pressure-icon { background: #cfe6a4; }
.hb-teacher-card .hb-pressure-icon { background: #f6d96b; }
.hb-student-card .hb-pressure-icon { background: #9dc7ef; }

.hb-pressure-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--hb-dark);
  font-size: 1.02rem;
}

.hb-school-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 38px;
  background: var(--hb-white);
  border: 1px solid rgba(17, 77, 77, 0.1);
  box-shadow: var(--hb-shadow);
}

.hb-school-panel h2,
.hb-ai-section h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.hb-school-map {
  display: grid;
  gap: 0.75rem;
}

.hb-school-map div {
  padding: 1rem;
  border-radius: 20px;
  color: var(--hb-dark);
  background: var(--hb-pale-2);
  border: 1px solid var(--hb-border);
  font-weight: 900;
  text-align: center;
}

.hb-school-map div:nth-child(1) { background: #dfeec7; }
.hb-school-map div:nth-child(2) { background: #fff1ae; }
.hb-school-map div:nth-child(3) { background: #ffd3a6; }
.hb-school-map div:nth-child(4) { background: #c5eee9; }
.hb-school-map div:nth-child(5) { background: #d7e8f9; }

.hb-level-list {
  display: grid;
  gap: 0.7rem;
}

.hb-level-list article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  background: var(--hb-white);
  border: 1px solid rgba(17, 77, 77, 0.1);
  box-shadow: 0 8px 22px rgba(17, 77, 77, 0.07);
}

.hb-level-list strong {
  color: var(--hb-dark);
}

.hb-level-list span {
  color: var(--hb-muted);
}

.hb-activity-grid {
  grid-template-columns: repeat(3, 1fr);
}

.hb-activity-grid article {
  min-height: 205px;
  padding: 1.2rem;
  border-radius: 28px;
  background: var(--hb-white);
  border: 1px solid rgba(17, 77, 77, 0.1);
  box-shadow: 0 12px 28px rgba(17, 77, 77, 0.08);
}

.hb-activity-grid span {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  color: var(--hb-dark);
  background: var(--hb-pale-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.hb-ai-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  align-items: center;
}

.hb-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hb-compare-col {
  padding: 1.25rem;
  border-radius: 28px;
  border: 1px solid rgba(17, 77, 77, 0.12);
  box-shadow: 0 14px 28px rgba(17, 77, 77, 0.08);
}

.hb-compare-col h3 {
  margin: 0 0 1rem;
  color: var(--hb-dark);
}

.hb-compare-col p {
  margin: 0;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(17, 77, 77, 0.1);
  color: var(--hb-muted);
}

.hb-basic-ai {
  background: #fff8de;
}

.hb-bloom-ai {
  background: #dfeec7;
}

.hb-pathway-grid {
  grid-template-columns: repeat(4, 1fr);
}

.hb-pathway-grid a {
  display: grid;
  gap: 0.55rem;
  min-height: 190px;
  padding: 1.2rem;
  border-radius: 30px;
  background: var(--hb-white);
  border: 1px solid rgba(17, 77, 77, 0.12);
  box-shadow: 0 12px 26px rgba(17, 77, 77, 0.08);
}

.hb-pathway-grid a:hover {
  transform: translateY(-2px);
  box-shadow: var(--hb-shadow);
}

.hb-pathway-grid strong {
  color: var(--hb-dark);
  font-size: 1.2rem;
  line-height: 1.14;
}

.hb-pathway-grid span {
  color: var(--hb-muted);
}

.hb-faq-list {
  display: grid;
  gap: 0.75rem;
}

.hb-faq-list details {
  padding: 1rem 1.15rem;
  border-radius: 20px;
  background: var(--hb-white);
  border: 1px solid rgba(17, 77, 77, 0.1);
}

.hb-faq-list summary {
  cursor: pointer;
  color: var(--hb-dark);
  font-weight: 900;
}

.hb-faq-list p {
  margin: 0.7rem 0 0;
  color: var(--hb-muted);
}

.hb-final-cta {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 42px;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(151, 193, 90, 0.35), transparent 24rem),
    linear-gradient(135deg, var(--hb-dark), var(--hb-dark-2));
  box-shadow: var(--hb-shadow);
}

.hb-final-cta h2 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4rem);
}

.hb-final-cta p {
  max-width: 720px;
  margin: 1rem auto 1.4rem;
  color: rgba(255, 255, 255, 0.78);
}

.hb-final-cta div {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {

  .hb-hero,
  .hb-school-panel,
  .hb-ai-section {
    grid-template-columns: 1fr;
  }

  .hb-hero-visual {
    min-height: 470px;
  }

  .hb-workflow-grid,
  .hb-pressure-grid,
  .hb-activity-grid,
  .hb-pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hb-path-card {
    width: 170px;
  }
}

@media (max-width: 660px) {

  .hb-hero {
    padding-top: 2.2rem;
  }

  .hb-hero-visual {
    min-height: auto;
    display: grid;
    gap: 0.8rem;
  }

  .hb-hero-visual::before {
    display: none;
  }

  .hb-path-card {
    position: static;
    width: 100%;
    min-height: 92px;
  }

  .hb-workflow-grid,
  .hb-pressure-grid,
  .hb-activity-grid,
  .hb-pathway-grid,
  .hb-compare {
    grid-template-columns: 1fr;
  }

  .hb-pressure-card {
    min-height: 0;
  }

  .hb-level-list article {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

}

/* BLOOM homepage simple journey */
:root {
  --bs-green: #97C15A;
  --bs-sage: #498559;
  --bs-soft: #f8fbf2;
  --bs-soft-2: #eef5df;
  --bs-line: #d8e4cc;
  --bs-white: #ffffff;
  --bs-ink: #134B4B;
  --hb-bloom-font: "BLOOM", "Quicksand", "BLOOM Korean", "Gowun Dodum", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
  margin: 0;
  background: #ffffff;
}

body,
button,
input,
select,
textarea {
  font-family: var(--hb-bloom-font);
}

body main > #hb-journey-stage ~ * {
  display: none !important;
}

.hb-journey-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 200vh;
  padding: 88px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.hb-journey-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/assets/icons/main_BLOOM_bg.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 200vh;
  opacity: 0.35;
}

.hb-journey-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hb-home-top-actions {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hb-top-login {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 33px;
  min-width: 53px;
  min-height: 33px;
  padding: 0 5px;
  border-radius: 999px;
  color: #134B4B;
  background: #97C15A;
  border: 1px solid rgba(73, 133, 89, 0.28);
  box-shadow: 0 8px 14px rgba(151, 193, 90, 0.28);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.hb-home-language-slot {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 33px;
}

.hb-home-language-slot #hb-language-toggle-root,
.hb-home-language-slot .hb-language-toggle,
.hb-home-language-slot .hb-language-toggle.hb-language-toggle--in-header,
.hb-home-language-slot .hb-language-toggle.hb-language-toggle--floating {
  position: relative !important;
  inset: auto !important;
  z-index: 2 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hb-home-language-slot .hb-language-toggle__label,
.hb-home-language-slot .hb-language-toggle__name,
.hb-home-language-slot .hb-language-toggle__chevron {
  display: none !important;
}

.hb-home-language-slot .hb-language-toggle__trigger {
  width: auto !important;
  min-width: 62px !important;
  min-height: 33px !important;
  padding: 3px 5px !important;
  gap: 5px !important;
  border: 1px solid rgba(73, 133, 89, 0.28) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 8px 14px rgba(17, 77, 77, 0.1) !important;
}

.hb-home-language-slot .hb-language-toggle__current,
.hb-home-language-slot .hb-language-toggle__item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.hb-home-language-slot .hb-language-toggle__menu {
  right: 0 !important;
  left: auto !important;
  width: auto !important;
  min-width: 86px !important;
  padding: 5px !important;
  border-radius: 12px !important;
}

.hb-home-language-slot .hb-language-toggle__item {
  min-height: 32px !important;
  justify-content: flex-start !important;
  padding: 5px 7px !important;
}

.hb-home-language-slot .hb-language-toggle__code {
  min-width: 24px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

.hb-home-language-slot .hb-flag {
  width: 27px !important;
  height: 18px !important;
}

.hb-home-nature {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hb-home-bird,
.hb-home-butterfly {
  position: absolute;
  display: block;
  height: auto;
  user-select: none;
}

.hb-home-bird {
  top: var(--bird-y, 20vh);
  left: -14vw;
  width: clamp(48px, 5.4vw, 98px);
  opacity: 0.3;
  animation: hbHomeBirdAcross var(--bird-duration, 17s) linear var(--bird-delay, 0s) infinite;
}

.hb-home-bird-2 {
  --bird-delay: 6.5s;
  opacity: 0.22;
  transform: scale(0.82);
}

.hb-home-butterfly {
  width: clamp(28px, 3.2vw, 58px);
  opacity: 0.24;
  transform-origin: center;
}

.hb-home-butterfly-1 {
  left: 8%;
  bottom: 12%;
  animation: hbHomeButterflyLeft 9s ease-in-out infinite;
}

.hb-home-butterfly-2 {
  right: 11%;
  bottom: 22%;
  animation: hbHomeButterflyRight 11s ease-in-out -3s infinite;
}

.hb-home-butterfly-3 {
  right: 27%;
  bottom: 8%;
  width: clamp(22px, 2.5vw, 46px);
  opacity: 0.18;
  animation: hbHomeButterflyMeadow 13s ease-in-out -7s infinite;
}

@keyframes hbHomeBirdAcross {
  from {
    translate: 0 0;
  }

  to {
    translate: 128vw 0;
  }
}

@keyframes hbHomeButterflyLeft {
  0%, 100% { translate: 0 0; rotate: -4deg; }
  25% { translate: 3vw -5vh; rotate: 5deg; }
  55% { translate: 7vw -2vh; rotate: -3deg; }
  78% { translate: 2vw 3vh; rotate: 4deg; }
}

@keyframes hbHomeButterflyRight {
  0%, 100% { translate: 0 0; rotate: 3deg; }
  22% { translate: -4vw -4vh; rotate: -6deg; }
  52% { translate: -7vw 2vh; rotate: 4deg; }
  76% { translate: -2vw 5vh; rotate: -2deg; }
}

@keyframes hbHomeButterflyMeadow {
  0%, 100% { translate: 0 0; rotate: -2deg; }
  30% { translate: 5vw -3vh; rotate: 6deg; }
  60% { translate: 2vw -7vh; rotate: -5deg; }
  82% { translate: -3vw -2vh; rotate: 3deg; }
}

.hb-journey-inner {
  position: relative;
  z-index: 2;
  width: calc(100% - 52px);
  margin: 0 auto;
}

.hb-journey-hero {
  display: grid;
  grid-template-columns: minmax(620px, 0.62fr) minmax(360px, 0.38fr);
  gap: 54px;
  align-items: start;
  padding-right: 96px;
}

.hb-journey-welcome {
  --hb-welcome-block-height: clamp(7.2624rem, 10.7712vw, 10.1184rem);
  display: grid;
  grid-template-columns: var(--hb-welcome-block-height) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.hb-welcome-logo {
  display: block;
  width: var(--hb-welcome-block-height);
  height: var(--hb-welcome-block-height);
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(151, 193, 90, 0.2));
  transform-origin: center;
  animation: hbWelcomeLogoPulse 4.4s ease-in-out infinite;
}

@keyframes hbWelcomeLogoPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.94);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.hb-journey-title {
  margin: 0;
  padding: 0;
  color: #134B4B;
  font-size: clamp(3.56rem, 5.28vw, 4.96rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.hb-title-line {
  display: block;
}

.hb-title-brand {
  color: #134B4B;
}

.hb-title-oo {
  color: #97C15A;
}

.hb-journey-summary {
  margin: 0;
  padding: 2px 0 0;
}

.hb-journey-summary p {
  margin: 0;
  max-width: 610px;
  color: #134B4B;
  font-size: clamp(1.65rem, 2.55vw, 2.08rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.hb-journey-summary p + p {
  margin-top: 24px;
  color: #498559;
}

.hb-journey-choose {
  position: relative;
  display: block;
  align-items: center;
  width: 100vw;
  margin: clamp(5.6rem, 8vw, 8.2rem) 0 0 calc(50% - 50vw);
  padding: 0;
}

.hb-journey-choose::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #97C15A;
  z-index: 0;
}

.hb-journey-choose::after {
  display: none;
}

.hb-journey-role-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 34px;
  flex: 0 0 auto;
}

.hb-journey-role-buttons label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 78px;
  padding: 0 28px;
  border-radius: 999px;
  color: #134B4B;
  background: #ffffff;
  border: 2px solid #97C15A;
  box-shadow:
    0 12px 24px rgba(151, 193, 90, 0.16);
  font-size: 1.12rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

#hb-journey-teacher:checked ~ .hb-journey-inner label[for="hb-journey-teacher"],
#hb-journey-organisation:checked ~ .hb-journey-inner label[for="hb-journey-organisation"],
#hb-journey-what:checked ~ .hb-journey-inner label[for="hb-journey-what"] {
  background: #97C15A;
  border-color: #498559;
  box-shadow:
    0 13px 24px rgba(151, 193, 90, 0.22);
}

.hb-journey-panels,
.hb-role-detail-sections {
  display: none !important;
}

@media (max-width: 900px) {
  .hb-journey-stage {
    padding: 92px 0;
    overflow: auto;
  }

  .hb-journey-inner {
    width: calc(100% - 24px);
  }

  .hb-journey-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-right: 0;
  }

  .hb-journey-welcome {
    --hb-welcome-block-height: clamp(4.896rem, 16.32vw, 7.8336rem);
    grid-template-columns: var(--hb-welcome-block-height) minmax(0, 1fr);
    gap: 18px;
  }

  .hb-welcome-logo {
    width: var(--hb-welcome-block-height);
    height: var(--hb-welcome-block-height);
  }

  .hb-journey-title {
    font-size: clamp(2.4rem, 8vw, 3.84rem);
  }

  .hb-journey-summary p {
    font-size: clamp(1.35rem, 5vw, 2rem);
  }

  .hb-journey-choose {
    margin-top: 64px;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .hb-home-top-actions {
    top: 18px;
    right: 18px;
    gap: 6px;
  }

  .hb-top-login {
    min-width: 53px;
    min-height: 33px;
  }

  .hb-journey-welcome {
    grid-template-columns: 1fr;
  }

  .hb-welcome-logo {
    width: 138px;
    height: 138px;
  }

  .hb-journey-choose::before,
  .hb-journey-choose::after {
    display: none;
  }

  .hb-journey-role-buttons {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    padding-left: 0;
  }

  .hb-journey-role-buttons label {
    width: 100%;
    min-width: 0;
    min-height: 64px;
  }

  .hb-home-bird {
    width: clamp(42px, 13vw, 64px);
  }

  .hb-home-butterfly {
    width: clamp(24px, 9vw, 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-home-bird,
  .hb-home-butterfly,
  .hb-welcome-logo {
    animation: none !important;
  }
}



.hb-journey-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hb-top-login,
.hb-journey-inner {
  position: relative;
  z-index: 2;
}

.hb-nature-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hb-nature-backdrop {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201600%20900%27%20fill%3D%27none%27%20stroke%3D%27%2397C15A%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%0A%20%20%3Cg%20opacity%3D%270.58%27%3E%0A%20%20%20%20%3Cpath%20d%3D%27M0%20770C140%20730%20240%20725%20355%20758C470%20790%20575%20805%20708%20756C820%20714%20930%20714%201050%20755C1170%20797%201290%20803%201412%20761C1492%20734%201548%20731%201600%20742%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M0%20815C154%20782%20285%20785%20395%20812C510%20840%20617%20851%20741%20816C842%20786%20953%20783%201066%20816C1185%20851%201311%20856%201430%20822C1506%20801%201564%20797%201600%20801%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M28%20250c18-26%2058-29%2082-8c13-33%2062-40%2088-10c29-12%2060%204%2070%2029c31-8%2058%2012%2063%2039H0c5-26%2018-42%2028-50Z%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M372%20145c20-32%2070-37%20102-10c14-42%2076-49%20108-12c40-14%2082%208%2091%2043c43-10%2081%2015%2090%2052H312c8-31%2024-56%2060-73Z%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M1074%20168c18-28%2061-35%2088-10c13-38%2071-45%2099-11c36-14%2076%206%2085%2039c40-8%2076%2013%2084%2047h-322c7-30%2023-49%2050-65Z%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M125%20736v-96%27%2F%3E%3Cpath%20d%3D%27M117%20648c-18%2016-24%2046-15%2082%27%2F%3E%3Cpath%20d%3D%27M133%20650c20%2015%2026%2044%2018%2080%27%2F%3E%3Cpath%20d%3D%27M88%20628c-7-33%2013-63%2045-67c27-29%2084-21%2096%2022c34%204%2052%2036%2037%2066%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M1486%20744v-124%27%2F%3E%3Cpath%20d%3D%27M1476%20636c-18%2020-24%2060-15%20101%27%2F%3E%3Cpath%20d%3D%27M1498%20636c19%2021%2027%2059%2018%20101%27%2F%3E%3Cpath%20d%3D%27M1442%20607c-7-38%2018-72%2055-74c31-35%2099-25%20113%2028c40%205%2061%2041%2043%2082%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M1295%20760v-70%27%2F%3E%3Cpath%20d%3D%27M1288%20702c-13%2013-17%2033-11%2057%27%2F%3E%3Cpath%20d%3D%27M1303%20701c13%2013%2018%2034%2012%2058%27%2F%3E%3Cpath%20d%3D%27M1268%20687c-5-22%2010-44%2031-46c19-22%2055-18%2065%2013c23%202%2036%2024%2025%2048%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M0%20792h1600%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M24%20772l18-36l18%2036%27%2F%3E%3Ccircle%20cx%3D%2742%27%20cy%3D%27754%27%20r%3D%277%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M68%20784v-42%27%2F%3E%3Cpath%20d%3D%27M56%20752c11-5%2018%200%2024%208%27%2F%3E%3Cpath%20d%3D%27M81%20742c-9%205-11%2013-8%2021%27%2F%3E%3Cpath%20d%3D%27M93%20784v-26%27%2F%3E%3Ccircle%20cx%3D%2793%27%20cy%3D%27752%27%20r%3D%276%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M130%20791v-52%27%2F%3E%3Ccircle%20cx%3D%27119%27%20cy%3D%27744%27%20r%3D%277%27%2F%3E%3Ccircle%20cx%3D%27141%27%20cy%3D%27744%27%20r%3D%277%27%2F%3E%3Ccircle%20cx%3D%27130%27%20cy%3D%27732%27%20r%3D%277%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M194%20791v-47%27%2F%3E%3Ccircle%20cx%3D%27184%27%20cy%3D%27748%27%20r%3D%276%27%2F%3E%3Ccircle%20cx%3D%27204%27%20cy%3D%27748%27%20r%3D%276%27%2F%3E%3Ccircle%20cx%3D%27194%27%20cy%3D%27737%27%20r%3D%276%27%2F%3E%3Ccircle%20cx%3D%27194%27%20cy%3D%27759%27%20r%3D%276%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M254%20791v-66%27%2F%3E%3Cpath%20d%3D%27M234%20741c11%200%2018%206%2020%2016%27%2F%3E%3Cpath%20d%3D%27M274%20735c-8%202-16%209-20%2018%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M320%20793v-54%27%2F%3E%3Ccircle%20cx%3D%27320%27%20cy%3D%27735%27%20r%3D%275%27%2F%3E%3Ccircle%20cx%3D%27308%27%20cy%3D%27742%27%20r%3D%275%27%2F%3E%3Ccircle%20cx%3D%27332%27%20cy%3D%27742%27%20r%3D%275%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M1380%20793v-61%27%2F%3E%3Ccircle%20cx%3D%271368%27%20cy%3D%27739%27%20r%3D%277%27%2F%3E%3Ccircle%20cx%3D%271392%27%20cy%3D%27739%27%20r%3D%277%27%2F%3E%3Ccircle%20cx%3D%271380%27%20cy%3D%27727%27%20r%3D%277%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M1441%20792v-47%27%2F%3E%3Ccircle%20cx%3D%271431%27%20cy%3D%27749%27%20r%3D%276%27%2F%3E%3Ccircle%20cx%3D%271451%27%20cy%3D%27749%27%20r%3D%276%27%2F%3E%3Ccircle%20cx%3D%271441%27%20cy%3D%27738%27%20r%3D%276%27%2F%3E%3Ccircle%20cx%3D%271441%27%20cy%3D%27760%27%20r%3D%276%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M1500%20794v-66%27%2F%3E%3Cpath%20d%3D%27M1480%20744c10%200%2017%205%2020%2015%27%2F%3E%3Cpath%20d%3D%27M1520%20738c-9%202-16%209-20%2018%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M1563%20792v-54%27%2F%3E%3Ccircle%20cx%3D%271563%27%20cy%3D%27734%27%20r%3D%275%27%2F%3E%3Ccircle%20cx%3D%271551%27%20cy%3D%27741%27%20r%3D%275%27%2F%3E%3Ccircle%20cx%3D%271575%27%20cy%3D%27741%27%20r%3D%275%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M375%20792c25-26%2053-32%2084-22%27%2F%3E%3Cpath%20d%3D%27M616%20785c20-21%2039-27%2061-18%27%2F%3E%3Cpath%20d%3D%27M902%20785c29-28%2057-35%2088-24%27%2F%3E%3Cpath%20d%3D%27M1183%20786c16-20%2035-24%2055-15%27%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%27M0%20843h1600%27%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: 0.26;
}

.hb-flight {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  transform-origin: center;
  will-change: transform, opacity;
}

.hb-bird {
  width: 132px;
  height: 96px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20150%20110%27%20fill%3D%27none%27%20stroke%3D%27%2397C15A%27%20stroke-width%3D%274%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%0A%3Cpath%20d%3D%27M12%2063c18-6%2035-7%2048-5%27%2F%3E%3Cpath%20d%3D%27M60%2058c16-30%2048-39%2073-24%27%2F%3E%3Cpath%20d%3D%27M126%2034l12%207l-12%207%27%2F%3E%3Ccircle%20cx%3D%27113%27%20cy%3D%2740%27%20r%3D%272%27%20fill%3D%27%2397C15A%27%2F%3E%3Cpath%20d%3D%27M69%2056C57%2038%2038%2024%2022%2013%27%2F%3E%3Cpath%20d%3D%27M50%2047C39%2034%2034%2019%2034%208%27%2F%3E%3Cpath%20d%3D%27M64%2061c-12%2018-28%2029-49%2035%27%2F%3E%3Cpath%20d%3D%27M72%2061c19%2015%2044%2018%2066%207%27%2F%3E%3C%2Fsvg%3E");
  opacity: 0;
}

.hb-butterfly {
  width: 82px;
  height: 82px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20120%20120%27%20fill%3D%27none%27%20stroke%3D%27%2397C15A%27%20stroke-width%3D%273.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%0A%3Cpath%20d%3D%27M58%2028c-18-22-42-24-46%202c-2%2014%206%2031%2026%2040%27%2F%3E%3Cpath%20d%3D%27M58%2030c19-23%2043-24%2047%203c2%2015-8%2031-27%2040%27%2F%3E%3Cpath%20d%3D%27M58%2090c-18%2018-39%2014-43-9c-2-14%208-28%2027-32%27%2F%3E%3Cpath%20d%3D%27M58%2090c18%2018%2039%2014%2043-9c2-14-8-28-27-32%27%2F%3E%3Cpath%20d%3D%27M58%2027v64%27%2F%3E%3Cpath%20d%3D%27M52%2022l6%205l6-5%27%2F%3E%3Cpath%20d%3D%27M55%2020c-3-8-9-12-14-14%27%2F%3E%3Cpath%20d%3D%27M61%2020c3-8%209-12%2014-14%27%2F%3E%3C%2Fsvg%3E");
  opacity: 0;
}

.hb-bird-1 {
  top: 14%;
  left: -12%;
  animation: hbBirdGlideA 32s linear infinite;
  animation-delay: 2s;
}

.hb-bird-2 {
  top: 22%;
  right: -12%;
  transform: scaleX(-1);
  animation: hbBirdGlideB 37s linear infinite;
  animation-delay: 11s;
}

.hb-butterfly-1 {
  top: 56%;
  left: -10%;
  animation: hbButterflyDriftA 25s linear infinite;
  animation-delay: 4s;
}

.hb-butterfly-2 {
  top: 68%;
  right: -10%;
  transform: scaleX(-1);
  animation: hbButterflyDriftB 29s linear infinite;
  animation-delay: 13s;
}

@keyframes hbBirdGlideA {
  0%, 16% {
    opacity: 0;
    transform: translate3d(0, 12px, 0) rotate(2deg) scale(0.86);
  }
  19% {
    opacity: 0.42;
  }
  28% {
    transform: translate3d(28vw, -12px, 0) rotate(-3deg) scale(0.9);
  }
  40% {
    transform: translate3d(56vw, 6px, 0) rotate(1deg) scale(0.93);
  }
  52% {
    opacity: 0.42;
    transform: translate3d(88vw, -8px, 0) rotate(-2deg) scale(0.96);
  }
  58%, 100% {
    opacity: 0;
    transform: translate3d(110vw, 10px, 0) rotate(1deg) scale(0.98);
  }
}

@keyframes hbBirdGlideB {
  0%, 18% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scaleX(-1) rotate(-1deg) scale(0.74);
  }
  21% {
    opacity: 0.34;
  }
  34% {
    transform: translate3d(-26vw, -10px, 0) scaleX(-1) rotate(2deg) scale(0.78);
  }
  48% {
    transform: translate3d(-54vw, 8px, 0) scaleX(-1) rotate(-1deg) scale(0.82);
  }
  60% {
    opacity: 0.34;
    transform: translate3d(-82vw, -6px, 0) scaleX(-1) rotate(2deg) scale(0.86);
  }
  66%, 100% {
    opacity: 0;
    transform: translate3d(-108vw, 10px, 0) scaleX(-1) rotate(-1deg) scale(0.88);
  }
}

@keyframes hbButterflyDriftA {
  0%, 18% {
    opacity: 0;
    transform: translate3d(0, 16px, 0) rotate(-10deg) scale(0.78);
  }
  20% {
    opacity: 0.48;
  }
  28% {
    transform: translate3d(20vw, -8px, 0) rotate(12deg) scale(0.84);
  }
  36% {
    transform: translate3d(40vw, 18px, 0) rotate(-14deg) scale(0.8);
  }
  44% {
    transform: translate3d(58vw, -12px, 0) rotate(14deg) scale(0.88);
  }
  54% {
    transform: translate3d(78vw, 10px, 0) rotate(-10deg) scale(0.82);
  }
  60% {
    opacity: 0.48;
  }
  66%, 100% {
    opacity: 0;
    transform: translate3d(106vw, -6px, 0) rotate(8deg) scale(0.86);
  }
}

@keyframes hbButterflyDriftB {
  0%, 22% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scaleX(-1) rotate(8deg) scale(0.72);
  }
  24% {
    opacity: 0.42;
  }
  34% {
    transform: translate3d(-18vw, -12px, 0) scaleX(-1) rotate(-12deg) scale(0.78);
  }
  42% {
    transform: translate3d(-38vw, 12px, 0) scaleX(-1) rotate(14deg) scale(0.74);
  }
  52% {
    transform: translate3d(-58vw, -10px, 0) scaleX(-1) rotate(-13deg) scale(0.82);
  }
  62% {
    transform: translate3d(-82vw, 14px, 0) scaleX(-1) rotate(10deg) scale(0.78);
  }
  68% {
    opacity: 0.42;
  }
  74%, 100% {
    opacity: 0;
    transform: translate3d(-108vw, -8px, 0) scaleX(-1) rotate(-8deg) scale(0.82);
  }
}

@media (max-width: 980px) {
  .hb-nature-backdrop {
    opacity: 0.2;
    background-size: cover;
    background-position: center bottom;
  }

  .hb-bird {
    width: 96px;
    height: 70px;
  }

  .hb-butterfly {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 760px) {
  .hb-bird-2,
  .hb-butterfly-2 {
    display: none;
  }

  .hb-nature-backdrop {
    opacity: 0.18;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-flight {
    animation: none !important;
    opacity: 0.18;
  }
}


/* BLOOM homepage role buttons equal pulse */
.hb-journey-role-buttons {
  gap: clamp(1rem, 2vw, 1.6rem) !important;
}

.hb-journey-role-buttons label,
#hb-journey-teacher:checked ~ .hb-journey-inner label[for="hb-journey-teacher"],
#hb-journey-organisation:checked ~ .hb-journey-inner label[for="hb-journey-organisation"] {
  position: relative !important;
  isolation: isolate !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: clamp(170px, 14vw, 210px) !important;
  min-height: clamp(64px, 5vw, 76px) !important;
  padding: 0 clamp(1.4rem, 2vw, 2rem) !important;
  border-radius: 999px !important;
  color: #134B4B !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 223, 0.9)),
    radial-gradient(circle at 28% 18%, rgba(151, 193, 90, 0.24), transparent 58%) !important;
  border: 1px solid rgba(151, 193, 90, 0.72) !important;
  box-shadow:
    0 14px 28px rgba(17, 77, 77, 0.08),
    0 8px 22px rgba(151, 193, 90, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
  transform: translateY(0) scale(1) !important;
  animation: hbRoleButtonPulse 4.8s ease-in-out infinite !important;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    filter 180ms ease !important;
}

.hb-journey-role-buttons label:nth-child(2) {
  animation-delay: 0.7s !important;
}

.hb-journey-role-buttons label::before,
#hb-journey-teacher:checked ~ .hb-journey-inner label[for="hb-journey-teacher"]::before,
#hb-journey-organisation:checked ~ .hb-journey-inner label[for="hb-journey-organisation"]::before {
  content: "" !important;
  position: absolute !important;
  inset: 5px !important;
  z-index: -1 !important;
  border-radius: inherit !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(151, 193, 90, 0.13)) !important;
  opacity: 0.64 !important;
  transition: opacity 180ms ease !important;
}

.hb-journey-role-buttons label:hover,
#hb-journey-teacher:checked ~ .hb-journey-inner label[for="hb-journey-teacher"]:hover,
#hb-journey-organisation:checked ~ .hb-journey-inner label[for="hb-journey-organisation"]:hover {
  color: #114D4D !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(216, 228, 204, 0.94)),
    radial-gradient(circle at 32% 18%, rgba(151, 193, 90, 0.38), transparent 60%) !important;
  border-color: #97C15A !important;
  box-shadow:
    0 18px 34px rgba(17, 77, 77, 0.10),
    0 12px 28px rgba(151, 193, 90, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  filter: saturate(1.04) !important;
  transform: translateY(-2px) scale(1.018) !important;
  animation-play-state: paused !important;
}

.hb-journey-role-buttons label:hover::before,
#hb-journey-teacher:checked ~ .hb-journey-inner label[for="hb-journey-teacher"]:hover::before,
#hb-journey-organisation:checked ~ .hb-journey-inner label[for="hb-journey-organisation"]:hover::before {
  opacity: 0.92 !important;
}

.hb-journey-role-buttons label:active,
#hb-journey-teacher:checked ~ .hb-journey-inner label[for="hb-journey-teacher"]:active,
#hb-journey-organisation:checked ~ .hb-journey-inner label[for="hb-journey-organisation"]:active {
  color: #134B4B !important;
  background:
    linear-gradient(135deg, rgba(238, 245, 223, 0.98), rgba(216, 228, 204, 0.92)),
    radial-gradient(circle at 38% 24%, rgba(151, 193, 90, 0.42), transparent 62%) !important;
  border-color: #498559 !important;
  box-shadow:
    0 8px 18px rgba(17, 77, 77, 0.08),
    0 5px 16px rgba(151, 193, 90, 0.18),
    inset 0 2px 5px rgba(17, 77, 77, 0.07) !important;
  transform: translateY(1px) scale(0.992) !important;
  animation-play-state: paused !important;
}

/* Make checked state neutral: both buttons stay visually equal until rollout sections are added. */
#hb-journey-teacher:checked ~ .hb-journey-inner label[for="hb-journey-teacher"],
#hb-journey-organisation:checked ~ .hb-journey-inner label[for="hb-journey-organisation"] {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 223, 0.9)),
    radial-gradient(circle at 28% 18%, rgba(151, 193, 90, 0.24), transparent 58%) !important;
  border-color: rgba(151, 193, 90, 0.72) !important;
}

@keyframes hbRoleButtonPulse {
  0%, 100% {
    box-shadow:
      0 14px 28px rgba(17, 77, 77, 0.08),
      0 8px 22px rgba(151, 193, 90, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(0) scale(1);
  }

  50% {
    box-shadow:
      0 16px 32px rgba(17, 77, 77, 0.09),
      0 10px 30px rgba(151, 193, 90, 0.24),
      0 0 0 5px rgba(151, 193, 90, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
    transform: translateY(-1px) scale(1.01);
  }
}

@media (max-width: 620px) {
  .hb-journey-role-buttons label,
  #hb-journey-teacher:checked ~ .hb-journey-inner label[for="hb-journey-teacher"],
  #hb-journey-organisation:checked ~ .hb-journey-inner label[for="hb-journey-organisation"] {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 62px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-journey-role-buttons label {
    animation: none !important;
  }
}

/* HB homepage teacher merged cards final 20260615 */
.hb-teacher-merged-cards {
  padding: clamp(1.5rem, 3vw, 2.8rem) 0;
}

.hb-teacher-merged-cards-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hb-teacher-merged-copy {
  max-width: 760px;
  margin: 0 auto 1.15rem;
  text-align: center;
}

.hb-teacher-merged-copy h2 {
  margin: 0;
  color: #114D4D;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hb-teacher-merged-copy p {
  margin: 0.75rem auto 0;
  color: #365f52;
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.55;
}

.hb-teacher-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.7vw, 1.2rem);
  align-items: stretch;
}

.hb-teacher-answer {
  position: relative;
  display: flex;
  min-height: 245px;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.95rem;
  padding: clamp(1.1rem, 2vw, 1.45rem);
  border: 1px solid rgba(17, 77, 77, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(17, 77, 77, 0.1);
}

.hb-teacher-answer h2 {
  margin: 0;
  color: #114D4D;
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hb-teacher-answer p {
  margin: 0;
  color: #365f52;
  font-size: 0.98rem;
  line-height: 1.5;
}

.hb-teacher-answer a {
  width: fit-content;
  margin-top: auto;
  color: #114D4D;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(151, 193, 90, 0.65);
}

.hb-teacher-answer a:hover {
  border-bottom-color: #97C15A;
}

.hb-teacher-answer-green {
  background: linear-gradient(180deg, #ffffff 0%, #f4faec 100%);
}

.hb-teacher-answer-blue {
  background: linear-gradient(180deg, #ffffff 0%, #eef7f5 100%);
}

.hb-teacher-answer-orange {
  background: linear-gradient(180deg, #ffffff 0%, #fff7eb 100%);
}

.hb-flower-bullet {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-right: 0.4em;
  border-radius: 999px;
  background: #97C15A;
  box-shadow:
    0 -0.32em 0 rgba(151, 193, 90, 0.38),
    0.32em 0 0 rgba(151, 193, 90, 0.32),
    0 0.32em 0 rgba(151, 193, 90, 0.28),
    -0.32em 0 0 rgba(151, 193, 90, 0.32);
  vertical-align: 0.02em;
}

@media (max-width: 860px) {
  .hb-teacher-answer-grid {
    grid-template-columns: 1fr;
  }

  .hb-teacher-answer {
    min-height: 0;
  }

  .hb-teacher-merged-copy {
    text-align: left;
  }
}

/* BLOOM inline brand colouring */
.hb-inline-oo {
  color: #97C15A;
}


/* BLOOM homepage role card stage switcher */
.hb-role-card-stage {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  min-height: 0;
  margin: clamp(6.5rem, 15vh, 11rem) auto 0;
  padding: 0 0 clamp(5rem, 9vh, 7rem);
  scroll-margin-top: 74px;
  overflow: hidden;
}

.hb-role-card-stage[data-hb-role-state="blank"] {
  min-height: 0;
  margin-top: 0;
  padding-bottom: 0;
}

.hb-role-card-panel {
  display: none;
}

.hb-role-card-stage[data-hb-role-state="teacher"] .hb-teacher-question-area,
.hb-role-card-stage[data-hb-role-state="organisation"] .hb-organisation-question-area {
  display: block;
  animation: hbRoleCardsSlideInLeft 620ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hb-role-card-stage.hb-role-card-stage-switching[data-hb-role-prev="teacher"][data-hb-role-state="organisation"] .hb-teacher-question-area,
.hb-role-card-stage.hb-role-card-stage-switching[data-hb-role-prev="organisation"][data-hb-role-state="teacher"] .hb-organisation-question-area {
  display: block;
  position: absolute;
  inset: 0 0 auto 0;
  animation: hbRoleCardsSlideOutRight 420ms cubic-bezier(0.4, 0, 0.25, 1) both;
  pointer-events: none;
}

.hb-teacher-card-grid,
.hb-organisation-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.65vw, 1.35rem);
}

.hb-teacher-info-card,
.hb-organisation-info-card {
  --card-colour: #97C15A;
  position: relative;
  min-height: 292px;
  padding: clamp(1.15rem, 1.7vw, 1.45rem);
  padding-bottom: 4.85rem;
  border-radius: 34px;
  color: #114D4D;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 242, 0.76)),
    radial-gradient(circle at 16% 10%, color-mix(in srgb, var(--card-colour) 23%, transparent), transparent 60%);
  border: 1px solid color-mix(in srgb, var(--card-colour) 56%, white);
  box-shadow:
    0 16px 34px rgba(17, 77, 77, 0.07),
    0 0 0 5px color-mix(in srgb, var(--card-colour) 9%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(7px);
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hb-teacher-info-card::before,
.hb-organisation-info-card::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--card-colour);
  box-shadow:
    0 -9px 0 -5px var(--card-colour),
    9px 0 0 -5px var(--card-colour),
    0 9px 0 -5px var(--card-colour),
    -9px 0 0 -5px var(--card-colour),
    0 0 0 5px color-mix(in srgb, var(--card-colour) 18%, transparent);
  opacity: 0.48;
}

.hb-teacher-info-card:hover,
.hb-organisation-info-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-colour) 82%, white);
  box-shadow:
    0 20px 42px rgba(17, 77, 77, 0.09),
    0 0 0 7px color-mix(in srgb, var(--card-colour) 14%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.hb-teacher-info-card h2,
.hb-organisation-info-card h2 {
  max-width: calc(100% - 2rem);
  margin: 0;
  color: #114D4D;
  font-size: clamp(1.16rem, 1.55vw, 1.42rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
  font-weight: 500;
}

.hb-teacher-info-card p,
.hb-organisation-info-card p {
  margin: 0.82rem 0 0;
  color: #134B4B;
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  line-height: 1.46;
  font-weight: 400;
}

.hb-teacher-info-card a,
.hb-organisation-info-card a {
  position: absolute;
  left: clamp(1.15rem, 1.7vw, 1.45rem);
  bottom: clamp(1.15rem, 1.7vw, 1.45rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.82rem;
  border-radius: 999px;
  color: #114D4D;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-colour) 32%, white), rgba(255, 255, 255, 0.82));
  border: 1px solid color-mix(in srgb, var(--card-colour) 60%, white);
  box-shadow: 0 7px 16px color-mix(in srgb, var(--card-colour) 18%, transparent);
  font-size: 0.86rem;
  font-weight: 500;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.hb-teacher-info-card a:hover,
.hb-organisation-info-card a:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-colour) 46%, white), rgba(255, 255, 255, 0.92));
  box-shadow: 0 10px 20px color-mix(in srgb, var(--card-colour) 26%, transparent);
}

.hb-teacher-card-green,
.hb-organisation-card-green { --card-colour: #97C15A; }

.hb-teacher-card-yellow,
.hb-organisation-card-yellow { --card-colour: #f7d66b; }

.hb-teacher-card-blue,
.hb-organisation-card-blue { --card-colour: #7cc7d9; }

.hb-teacher-card-pink { --card-colour: #f4a6c8; }

.hb-teacher-card-orange,
.hb-organisation-card-orange { --card-colour: #ff9f5a; }

.hb-teacher-card-sage,
.hb-organisation-card-sage { --card-colour: #498559; }

.hb-organisation-card-navy { --card-colour: #114D4D; }

@keyframes hbRoleCardsSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-42px) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes hbRoleCardsSlideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(54px);
  }
}

@media (max-width: 980px) {
  .hb-teacher-card-grid,
  .hb-organisation-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hb-teacher-info-card,
  .hb-organisation-info-card {
    min-height: 280px;
  }
}

@media (max-width: 620px) {
  .hb-role-card-stage {
    width: calc(100% - 24px);
    margin-top: 5rem;
  }

  .hb-teacher-card-grid,
  .hb-organisation-card-grid {
    grid-template-columns: 1fr;
  }

  .hb-teacher-info-card,
  .hb-organisation-info-card {
    min-height: 0;
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-role-card-panel,
  .hb-teacher-info-card,
  .hb-organisation-info-card,
  .hb-teacher-info-card a,
  .hb-organisation-info-card a {
    animation: none !important;
    transition: none !important;
  }
}


/* BLOOM homepage viewport edge push slide */
html,
body {
  overflow-x: hidden;
}

.hb-role-card-stage {
  --hb-role-off-left: -1400px;
  --hb-role-off-right: 1400px;
  overflow: visible !important;
}

.hb-role-card-stage[data-hb-role-state="teacher"] .hb-teacher-question-area,
.hb-role-card-stage[data-hb-role-state="organisation"] .hb-organisation-question-area {
  animation: hbRoleCardsPushInFromViewportLeft 1500ms linear both !important;
}

.hb-role-card-stage.hb-role-card-stage-switching[data-hb-role-prev="teacher"][data-hb-role-state="organisation"] .hb-teacher-question-area,
.hb-role-card-stage.hb-role-card-stage-switching[data-hb-role-prev="organisation"][data-hb-role-state="teacher"] .hb-organisation-question-area {
  display: block !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  animation: hbRoleCardsPushOutToViewportRight 1500ms linear both !important;
  pointer-events: none !important;
}

@keyframes hbRoleCardsSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(var(--hb-role-off-left)) translateY(0);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes hbRoleCardsSlideOutRight {
  from {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }

  to {
    opacity: 0;
    transform: translateX(var(--hb-role-off-right)) translateY(0);
  }
}

@keyframes hbRoleCardsPushInFromViewportLeft {
  from {
    opacity: 0;
    transform: translateX(var(--hb-role-off-left)) translateY(0);
  }

  16% {
    opacity: 1;
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes hbRoleCardsPushOutToViewportRight {
  from {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }

  84% {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translateX(var(--hb-role-off-right)) translateY(0);
  }
}


/* BLOOM homepage what is HelloBLOOM panel */
.hb-role-card-stage[data-hb-role-state="what"] .hb-what-question-area,
.hb-role-card-stage[data-hb-role-state="teacher"] .hb-teacher-question-area,
.hb-role-card-stage[data-hb-role-state="organisation"] .hb-organisation-question-area {
  display: block !important;
  animation: hbRoleCardsPushInFromViewportLeft 1500ms linear both !important;
}

.hb-role-card-stage.hb-role-card-stage-switching[data-hb-role-prev="what"]:not([data-hb-role-state="what"]) .hb-what-question-area,
.hb-role-card-stage.hb-role-card-stage-switching[data-hb-role-prev="teacher"]:not([data-hb-role-state="teacher"]) .hb-teacher-question-area,
.hb-role-card-stage.hb-role-card-stage-switching[data-hb-role-prev="organisation"]:not([data-hb-role-state="organisation"]) .hb-organisation-question-area {
  display: block !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  animation: hbRoleCardsPushOutToViewportRight 1500ms linear both !important;
  pointer-events: none !important;
}

.hb-what-card {
  --card-colour: #97C15A;
  position: relative;
  padding: clamp(1.1rem, 2vw, 1.55rem);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 242, 0.78)),
    radial-gradient(circle at 12% 8%, rgba(151, 193, 90, 0.22), transparent 52%),
    radial-gradient(circle at 90% 12%, rgba(124, 199, 217, 0.14), transparent 48%);
  border: 1px solid rgba(151, 193, 90, 0.48);
  box-shadow:
    0 18px 40px rgba(17, 77, 77, 0.08),
    0 0 0 6px rgba(151, 193, 90, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(7px);
}

.hb-what-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #134B4B;
}

.hb-what-table th {
  width: 50%;
  padding: 0.95rem 1rem;
  color: #114D4D;
  background: rgba(238, 245, 223, 0.82);
  border-bottom: 1px solid rgba(151, 193, 90, 0.32);
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
  line-height: 1.12;
  font-weight: 500;
  text-align: left;
}

.hb-what-table th:first-child {
  border-top-left-radius: 24px;
  border-right: 1px solid rgba(151, 193, 90, 0.25);
}

.hb-what-table th:last-child {
  border-top-right-radius: 24px;
}

.hb-what-table td {
  padding: 1rem;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.66);
  border-bottom: 1px solid rgba(216, 228, 204, 0.7);
  font-size: clamp(0.94rem, 1.08vw, 1.04rem);
  line-height: 1.42;
  font-weight: 400;
}

.hb-what-table td:first-child {
  border-right: 1px solid rgba(151, 193, 90, 0.22);
}

.hb-what-table tbody tr:last-child td {
  border-bottom: 0;
}

.hb-what-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 24px;
}

.hb-what-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 24px;
}

@media (max-width: 760px) {
  .hb-what-table,
  .hb-what-table thead,
  .hb-what-table tbody,
  .hb-what-table tr,
  .hb-what-table th,
  .hb-what-table td {
    display: block;
    width: 100%;
  }

  .hb-what-table th:first-child,
  .hb-what-table th:last-child,
  .hb-what-table td:first-child,
  .hb-what-table td:last-child {
    border-radius: 0;
    border-right: 0;
  }

  .hb-what-table th {
    border-radius: 20px 20px 0 0 !important;
  }

  .hb-what-table td {
    border-right: 0;
  }

  .hb-what-table tbody tr {
    margin-top: 0.85rem;
    border-radius: 20px;
    overflow: hidden;
  }
}


/* BLOOM homepage right-aligned three-button journey row */
.hb-journey-role-buttons-three {
  width: min(67.4vw, 1230px) !important;
  max-width: none !important;
  margin: 0 clamp(3rem, 3.3vw, 4rem) 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(230px, 1fr)) !important;
  align-items: center !important;
  justify-items: center !important;
  justify-content: stretch !important;
  gap: clamp(1.7rem, 2.8125vw, 3.95rem) !important;
  transform: none !important;
}

.hb-journey-role-buttons-three .hb-role-pill-left,
.hb-journey-role-buttons-three .hb-role-pill-group {
  display: contents !important;
}

.hb-journey-role-buttons-three .hb-role-pill {
  justify-self: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 374px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.hb-journey-role-buttons-three .hb-role-pill-what {
  justify-self: center !important;
}

.hb-what-table th:first-child {
  background:
    linear-gradient(135deg, rgba(151, 193, 90, 0.24), rgba(238, 245, 223, 0.88));
}

.hb-what-table th:last-child {
  background:
    linear-gradient(135deg, rgba(239, 77, 67, 0.1), rgba(255, 255, 255, 0.86));
}

.hb-what-table td:first-child {
  background:
    linear-gradient(135deg, rgba(151, 193, 90, 0.12), rgba(255, 255, 255, 0.72));
}

.hb-what-table td:last-child {
  background:
    linear-gradient(135deg, rgba(239, 77, 67, 0.055), rgba(255, 255, 255, 0.72));
}

.hb-what-point {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.82rem;
}

.hb-what-logo-bullet {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(151, 193, 90, 0.16), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(151, 193, 90, 0.42);
  box-shadow:
    0 6px 14px rgba(17, 77, 77, 0.08),
    0 0 0 4px rgba(151, 193, 90, 0.08);
}

.hb-what-logo-bullet img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hb-what-x-bullet {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #ffffff;
  background: #ef4d43;
  box-shadow:
    0 6px 14px rgba(239, 77, 67, 0.26),
    0 0 0 4px rgba(239, 77, 67, 0.09);
  font-size: 1.32rem;
  font-weight: 700;
}

@media (max-width: 920px) {
  .hb-journey-role-buttons-three {
    width: min(720px, calc(100vw - 28px)) !important;
    margin: 0 auto !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    transform: none !important;
  }

  .hb-journey-role-buttons-three .hb-role-pill {
    min-width: min(280px, 100%) !important;
  }
}

@media (max-width: 520px) {
  .hb-what-logo-bullet {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .hb-what-x-bullet {
    width: 28px;
    height: 28px;
  }
}


/* BLOOM homepage lower learn more sections */
.hb-what-learn-link {
  display: inline-flex;
  margin-left: 0.28rem;
  color: #498559;
  font-size: 0.9em;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(151, 193, 90, 0.55);
  transition:
    color 150ms ease,
    border-color 150ms ease;
}

.hb-what-learn-link:hover {
  color: #114D4D;
  border-color: #97C15A;
}

.hb-lower-index-sections {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(4rem, 8vh, 6rem) auto 0;
  padding: 0 0 clamp(7rem, 12vh, 10rem);
}

.hb-lower-feature {
  --section-colour: #97C15A;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.4rem);
  align-items: stretch;
  min-height: 360px;
  margin-top: clamp(1.4rem, 3.2vw, 2.4rem);
  padding: clamp(1.2rem, 2vw, 1.7rem);
  border-radius: 38px;
  color: #114D4D;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 242, 0.78)),
    radial-gradient(circle at 10% 8%, color-mix(in srgb, var(--section-colour) 22%, transparent), transparent 56%);
  border: 1px solid color-mix(in srgb, var(--section-colour) 48%, white);
  box-shadow:
    0 18px 42px rgba(17, 77, 77, 0.075),
    0 0 0 6px color-mix(in srgb, var(--section-colour) 9%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  scroll-margin-top: 92px;
  overflow: hidden;
}

.hb-lower-feature:nth-child(even) {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.hb-lower-feature:nth-child(even) .hb-lower-feature-copy {
  order: 2;
}

.hb-lower-feature:nth-child(even) .hb-lower-media-slot {
  order: 1;
}

.hb-lower-feature-copy {
  padding: clamp(0.6rem, 1.4vw, 1rem);
}

.hb-lower-kicker {
  display: inline-flex;
  margin: 0 0 0.85rem;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  color: #114D4D;
  background: color-mix(in srgb, var(--section-colour) 22%, white);
  border: 1px solid color-mix(in srgb, var(--section-colour) 46%, white);
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 500;
}

.hb-lower-feature h2 {
  max-width: 760px;
  margin: 0;
  color: #114D4D;
  font-size: clamp(1.55rem, 2.65vw, 2.42rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.hb-lower-feature p:not(.hb-lower-kicker) {
  max-width: 720px;
  margin: 1rem 0 0;
  color: #134B4B;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.55;
  font-weight: 400;
}

.hb-lower-media-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(238, 245, 223, 0.4)),
    repeating-linear-gradient(
      135deg,
      color-mix(in srgb, var(--section-colour) 12%, transparent) 0,
      color-mix(in srgb, var(--section-colour) 12%, transparent) 10px,
      rgba(255, 255, 255, 0.42) 10px,
      rgba(255, 255, 255, 0.42) 20px
    );
  border: 1px dashed color-mix(in srgb, var(--section-colour) 58%, white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.hb-lower-media-slot::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--section-colour) 16%, transparent);
  filter: blur(8px);
}

.hb-lower-media-slot span {
  position: relative;
  z-index: 1;
  width: min(260px, 80%);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: #498559;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid color-mix(in srgb, var(--section-colour) 35%, white);
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: center;
}

.hb-lower-feature-green { --section-colour: #97C15A; }
.hb-lower-feature-blue { --section-colour: #7cc7d9; }
.hb-lower-feature-yellow { --section-colour: #f7d66b; }
.hb-lower-feature-pink { --section-colour: #f4a6c8; }
.hb-lower-feature-orange { --section-colour: #ff9f5a; }
.hb-lower-feature-sage { --section-colour: #498559; }
.hb-lower-feature-navy { --section-colour: #114D4D; }

@media (max-width: 860px) {
  .hb-lower-feature,
  .hb-lower-feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .hb-lower-feature:nth-child(even) .hb-lower-feature-copy,
  .hb-lower-feature:nth-child(even) .hb-lower-media-slot {
    order: initial;
  }

  .hb-lower-media-slot {
    min-height: 230px;
  }
}

@media (max-width: 560px) {
  .hb-lower-index-sections {
    width: calc(100% - 24px);
  }

  .hb-lower-feature {
    border-radius: 28px;
  }

  .hb-lower-media-slot {
    border-radius: 22px;
  }
}


/* BLOOM homepage level structure, x bullets, and return top */
.hb-role-card-stage {
  margin-bottom: clamp(3.5rem, 8vh, 6rem) !important;
}

.hb-lower-index-sections {
  position: relative;
  z-index: 2;
  clear: both;
  margin-top: clamp(5rem, 10vh, 8rem) !important;
  padding-top: clamp(2.4rem, 5vh, 4rem);
  border-top: 1px solid rgba(151, 193, 90, 0.28);
}

.hb-lower-index-sections::before {
  content: "Explore HelloBLOOM";
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-50%);
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: #114D4D;
  background:
    linear-gradient(135deg, rgba(238, 245, 223, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(151, 193, 90, 0.44);
  box-shadow: 0 8px 20px rgba(17, 77, 77, 0.07);
  font-size: 0.86rem;
  font-weight: 500;
}

.hb-lower-feature {
  scroll-margin-top: 96px !important;
}

.hb-what-table td:last-child .hb-what-point {
  align-items: center !important;
}

.hb-what-x-bullet {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 0 4px 0 !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: #ef4d43 !important;
  box-shadow:
    0 8px 18px rgba(239, 77, 67, 0.28),
    0 0 0 5px rgba(239, 77, 67, 0.1) !important;
  font-size: 1.88rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  transform: translateY(0.18rem);
}

.hb-return-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 100000;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #114D4D;
  background:
    linear-gradient(135deg, rgba(238, 245, 223, 0.92), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(151, 193, 90, 0.48);
  box-shadow:
    0 10px 22px rgba(17, 77, 77, 0.09),
    0 0 0 5px rgba(151, 193, 90, 0.08);
  font-size: 1.28rem;
  line-height: 1;
  text-decoration: none;
  opacity: 0.74;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.hb-return-top:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow:
    0 13px 26px rgba(17, 77, 77, 0.12),
    0 0 0 6px rgba(151, 193, 90, 0.11);
}

@media (max-width: 760px) {
  .hb-lower-index-sections::before {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hb-return-top {
    right: 12px;
    bottom: 16px;
    width: 34px;
    height: 34px;
    font-size: 1.12rem;
  }

  .hb-what-x-bullet {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    font-size: 1.58rem !important;
  }
}


/* BLOOM homepage level2 behaviour fix */
.hb-what-table td:last-child .hb-what-point {
  align-items: center !important;
}

.hb-what-x-bullet {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 0 4px 0 !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: #ef4d43 !important;
  box-shadow:
    0 8px 18px rgba(239, 77, 67, 0.28),
    0 0 0 5px rgba(239, 77, 67, 0.1) !important;
  font-size: 1.88rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  transform: translateY(0.18rem);
}

.hb-return-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 100000;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 4px 0;
  border-radius: 999px;
  color: #97C15A;
  background:
    linear-gradient(135deg, rgba(238, 245, 223, 0.92), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(151, 193, 90, 0.52);
  box-shadow:
    0 10px 22px rgba(17, 77, 77, 0.09),
    0 0 0 5px rgba(151, 193, 90, 0.08);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  opacity: 0.82;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.hb-return-top:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow:
    0 13px 26px rgba(17, 77, 77, 0.12),
    0 0 0 6px rgba(151, 193, 90, 0.12);
}

@media (max-width: 760px) {
  .hb-return-top {
    right: 12px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    font-size: 1.92rem;
  }

  .hb-what-x-bullet {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    font-size: 1.58rem !important;
  }
}


/* BLOOM homepage level3 hidden until requested */
body:not(.hb-level3-open) #hb-lower-index-sections {
  display: none !important;
}

body.hb-level3-open #hb-lower-index-sections {
  display: block !important;
}

.hb-what-table td:last-child .hb-what-point {
  align-items: center !important;
}

.hb-what-x-bullet {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 0 4px 0 !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: #ef4d43 !important;
  box-shadow:
    0 8px 18px rgba(239, 77, 67, 0.28),
    0 0 0 5px rgba(239, 77, 67, 0.1) !important;
  font-size: 1.88rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  transform: translateY(0.18rem);
}

.hb-return-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 100000;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 4px 0;
  border-radius: 999px;
  color: #97C15A;
  background:
    linear-gradient(135deg, rgba(238, 245, 223, 0.92), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(151, 193, 90, 0.52);
  box-shadow:
    0 10px 22px rgba(17, 77, 77, 0.09),
    0 0 0 5px rgba(151, 193, 90, 0.08);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  opacity: 0.82;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.hb-return-top:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow:
    0 13px 26px rgba(17, 77, 77, 0.12),
    0 0 0 6px rgba(151, 193, 90, 0.12);
}

@media (max-width: 760px) {
  .hb-return-top {
    right: 12px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    font-size: 1.92rem;
  }

  .hb-what-x-bullet {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    font-size: 1.58rem !important;
  }
}



/* HB INDEX MOJIBAKE ICON + RETURN TOP FIX START */
/* hb-index-moji-backtop-fix-20260616 */
.hb-what-x-bullet {
  font-family: var(--hb-bloom-font) !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  text-transform: none !important;
}

.hb-what-x-bullet img,
.hb-what-x-bullet svg {
  display: none !important;
}

.hb-return-top {
  font-family: var(--hb-bloom-font) !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

.hb-return-top::before,
.hb-return-top::after {
  content: none !important;
}
/* HB INDEX MOJIBAKE ICON + RETURN TOP FIX END */


/* HB INDEX GLOBAL BLOOM FONT LOCK START */
/* hb-index-global-bloom-font-20260616 */
html,
body,
body *:not(svg):not(path) {
  font-family: var(--hb-bloom-font) !important;
}

body *::before,
body *::after {
  font-family: inherit !important;
}

button,
input,
select,
textarea,
summary,
label,
table,
thead,
tbody,
tr,
th,
td,
.hb-home-language-slot,
.hb-home-language-slot * {
  font-family: var(--hb-bloom-font) !important;
}

.hb-what-x-bullet,
.hb-return-top {
  font-family: var(--hb-bloom-font) !important;
}
/* HB INDEX GLOBAL BLOOM FONT LOCK END */


/* HB INDEX BLOOM FONT APPLICATION LOCK START */
/* hb-index-load-bloomfont-20260616 */
html,
body,
body *:not(svg):not(path) {
  font-family: var(--hb-bloom-font) !important;
}

body *::before,
body *::after {
  font-family: inherit !important;
}

button,
input,
select,
textarea,
summary,
label,
table,
thead,
tbody,
tr,
th,
td {
  font-family: var(--hb-bloom-font) !important;
}
/* HB INDEX BLOOM FONT APPLICATION LOCK END */


/* HB HOME WORKFLOW DEMO SHELL START */
/* hb-home-workflow-demo-shell-20260626 */
.hb-workflow-demo-shell {
  display: block !important;
  min-height: 390px;
  padding: clamp(0.9rem, 1.8vw, 1.2rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 220, 0.72)),
    radial-gradient(circle at 14% 10%, rgba(151, 193, 90, 0.24), transparent 54%),
    radial-gradient(circle at 86% 12%, rgba(247, 214, 107, 0.24), transparent 50%);
  border-style: solid;
  overflow: hidden;
}

.hb-workflow-demo-shell::before {
  display: none !important;
}

.hb-workflow-demo {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  width: 100%;
  height: 100%;
  min-height: 355px;
}

.hb-workflow-demo::before {
  content: "";
  position: absolute;
  top: 94px;
  bottom: 19px;
  left: 27px;
  width: 4px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(151, 193, 90, 0.24) 0%,
      rgba(151, 193, 90, 0.24) 28%,
      rgba(151, 193, 90, 0.92) 42%,
      rgba(151, 193, 90, 0.24) 56%,
      rgba(151, 193, 90, 0.24) 100%
    );
  background-size: 100% 220%;
  animation: hbWorkflowDemoRailFlow 8s linear infinite;
}

.hb-workflow-demo-heading {
  position: relative;
  display: grid;
  gap: 0.28rem;
  padding: 0.82rem 0.92rem;
  border-radius: 24px;
  color: #114D4D;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(151, 193, 90, 0.32);
  box-shadow:
    0 10px 24px rgba(17, 77, 77, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.hb-workflow-demo-heading p {
  margin: 0;
  color: #498559;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hb-workflow-demo-heading strong {
  color: #114D4D;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.12;
  font-weight: 500;
}

.hb-workflow-demo-stages {
  position: relative;
  display: grid;
  gap: 0.66rem;
}

.hb-workflow-demo-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.74rem;
  align-items: stretch;
  min-height: 70px;
  padding: 0.76rem;
  border-radius: 24px;
  color: #114D4D;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(151, 193, 90, 0.26);
  box-shadow:
    0 12px 25px rgba(17, 77, 77, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transform: translateY(0) scale(1);
  animation: hbWorkflowDemoCardPulse 8s ease-in-out infinite;
}

.hb-workflow-demo-card:nth-child(2) { animation-delay: 2s; }
.hb-workflow-demo-card:nth-child(3) { animation-delay: 4s; }
.hb-workflow-demo-card:nth-child(4) { animation-delay: 6s; }

.hb-workflow-demo-number {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  color: #114D4D;
  background:
    linear-gradient(135deg, rgba(151, 193, 90, 0.36), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(151, 193, 90, 0.46);
  box-shadow:
    0 8px 18px rgba(151, 193, 90, 0.16),
    0 0 0 5px rgba(151, 193, 90, 0.09);
  font-size: 0.82rem;
  font-weight: 700;
}

.hb-workflow-demo-copy {
  display: grid;
  gap: 0.24rem;
  align-content: center;
}

.hb-workflow-demo-copy h3 {
  margin: 0;
  color: #114D4D;
  font-size: clamp(0.98rem, 1.18vw, 1.12rem);
  line-height: 1.08;
  font-weight: 500;
}

.hb-workflow-demo-copy p {
  margin: 0;
  color: #134B4B;
  font-size: clamp(0.82rem, 0.95vw, 0.92rem);
  line-height: 1.32;
  font-weight: 400;
}

.hb-workflow-demo-slot {
  width: fit-content;
  margin-top: 0.16rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  color: #498559;
  background: rgba(238, 245, 223, 0.72);
  border: 1px solid rgba(151, 193, 90, 0.28);
  font-size: 0.74rem;
  line-height: 1.1;
  font-weight: 500;
}

.hb-workflow-demo-card-plan .hb-workflow-demo-number {
  background: linear-gradient(135deg, rgba(151, 193, 90, 0.44), rgba(255, 255, 255, 0.84));
}

.hb-workflow-demo-card-brief .hb-workflow-demo-number {
  background: linear-gradient(135deg, rgba(247, 214, 107, 0.56), rgba(255, 255, 255, 0.84));
}

.hb-workflow-demo-card-build .hb-workflow-demo-number {
  background: linear-gradient(135deg, rgba(255, 159, 90, 0.42), rgba(255, 255, 255, 0.84));
}

.hb-workflow-demo-card-present .hb-workflow-demo-number {
  background: linear-gradient(135deg, rgba(124, 199, 217, 0.48), rgba(255, 255, 255, 0.84));
}

@keyframes hbWorkflowDemoRailFlow {
  from { background-position: 0 0%; }
  to { background-position: 0 200%; }
}

@keyframes hbWorkflowDemoCardPulse {
  0%, 18%, 100% {
    border-color: rgba(151, 193, 90, 0.26);
    box-shadow:
      0 12px 25px rgba(17, 77, 77, 0.065),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
    transform: translateY(0) scale(1);
  }

  7%, 12% {
    border-color: rgba(151, 193, 90, 0.72);
    box-shadow:
      0 16px 31px rgba(17, 77, 77, 0.09),
      0 0 0 5px rgba(151, 193, 90, 0.11),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
    transform: translateY(-2px) scale(1.01);
  }
}

@media (max-width: 860px) {
  .hb-workflow-demo-shell {
    min-height: 0;
  }

  .hb-workflow-demo {
    min-height: 0;
  }

  .hb-workflow-demo::before {
    top: 92px;
    bottom: 18px;
  }
}

@media (max-width: 520px) {
  .hb-workflow-demo-shell {
    padding: 0.8rem;
  }

  .hb-workflow-demo-card {
    grid-template-columns: 48px minmax(0, 1fr);
    border-radius: 20px;
  }

  .hb-workflow-demo-number {
    width: 40px;
    height: 40px;
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-workflow-demo::before,
  .hb-workflow-demo-card {
    animation: none !important;
  }
}
/* HB HOME WORKFLOW DEMO SHELL END */

/* HB HOME WORKFLOW DEMO COPY FIT START */
/* hb-home-workflow-demo-copy-fit-20260626 */
.hb-workflow-demo-shell {
  display: block !important;
  min-height: 560px !important;
  padding: clamp(0.9rem, 1.8vw, 1.2rem) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 220, 0.72)),
    radial-gradient(circle at 14% 10%, rgba(151, 193, 90, 0.24), transparent 54%),
    radial-gradient(circle at 86% 12%, rgba(247, 214, 107, 0.24), transparent 50%) !important;
  border-style: solid !important;
  overflow: hidden !important;
}

.hb-workflow-demo-shell::before {
  display: none !important;
}

.hb-workflow-demo {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  gap: 0.82rem !important;
  width: 100% !important;
  min-height: 520px !important;
}

.hb-workflow-demo::before {
  content: "" !important;
  position: absolute !important;
  top: 76px !important;
  bottom: 20px !important;
  left: 27px !important;
  width: 4px !important;
  border-radius: 999px !important;
  background:
    linear-gradient(
      180deg,
      rgba(151, 193, 90, 0.24) 0%,
      rgba(151, 193, 90, 0.24) 28%,
      rgba(151, 193, 90, 0.92) 42%,
      rgba(151, 193, 90, 0.24) 56%,
      rgba(151, 193, 90, 0.24) 100%
    ) !important;
  background-size: 100% 220% !important;
  animation: hbWorkflowDemoRailFlow 8s linear infinite !important;
}

.hb-workflow-demo-heading {
  position: relative !important;
  display: grid !important;
  gap: 0.28rem !important;
  padding: 0.86rem 0.96rem !important;
  border-radius: 24px !important;
  color: #114D4D !important;
  background: rgba(255, 255, 255, 0.74) !important;
  border: 1px solid rgba(151, 193, 90, 0.32) !important;
  box-shadow:
    0 10px 24px rgba(17, 77, 77, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

.hb-workflow-demo-heading strong {
  color: #114D4D !important;
  font-size: clamp(1.05rem, 1.48vw, 1.28rem) !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
}

.hb-workflow-demo-stages {
  position: relative !important;
  display: grid !important;
  gap: 0.66rem !important;
}

.hb-workflow-demo-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 0.74rem !important;
  align-items: stretch !important;
  min-height: 106px !important;
  padding: 0.76rem !important;
  border-radius: 24px !important;
  color: #114D4D !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(151, 193, 90, 0.26) !important;
  box-shadow:
    0 12px 25px rgba(17, 77, 77, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
  transform: translateY(0) scale(1) !important;
  animation: hbWorkflowDemoCardPulse 8s ease-in-out infinite !important;
}

.hb-workflow-demo-card:nth-child(2) { animation-delay: 2s !important; }
.hb-workflow-demo-card:nth-child(3) { animation-delay: 4s !important; }
.hb-workflow-demo-card:nth-child(4) { animation-delay: 6s !important; }

.hb-workflow-demo-number {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 18px !important;
  color: #114D4D !important;
  background:
    linear-gradient(135deg, rgba(151, 193, 90, 0.36), rgba(255, 255, 255, 0.84)) !important;
  border: 1px solid rgba(151, 193, 90, 0.46) !important;
  box-shadow:
    0 8px 18px rgba(151, 193, 90, 0.16),
    0 0 0 5px rgba(151, 193, 90, 0.09) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

.hb-workflow-demo-copy {
  display: grid !important;
  gap: 0.24rem !important;
  align-content: center !important;
}

.hb-workflow-demo-copy h3 {
  margin: 0 !important;
  color: #114D4D !important;
  font-size: clamp(0.98rem, 1.18vw, 1.12rem) !important;
  line-height: 1.08 !important;
  font-weight: 500 !important;
}

.hb-workflow-demo-copy p {
  max-width: none !important;
  margin: 0 !important;
  color: #134B4B !important;
  font-size: clamp(0.78rem, 0.9vw, 0.88rem) !important;
  line-height: 1.34 !important;
  font-weight: 400 !important;
}

.hb-workflow-demo-link {
  position: relative !important;
  z-index: 2 !important;
  display: inline-flex !important;
  width: fit-content !important;
  margin-top: 0.2rem !important;
  padding: 0.2rem 0.58rem !important;
  border-radius: 999px !important;
  color: #114D4D !important;
  background: rgba(238, 245, 223, 0.82) !important;
  border: 1px solid rgba(151, 193, 90, 0.38) !important;
  font-size: 0.74rem !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.hb-workflow-demo-link-pending {
  color: #498559 !important;
  opacity: 0.86 !important;
}

.hb-workflow-demo-card-plan .hb-workflow-demo-number {
  background: linear-gradient(135deg, rgba(151, 193, 90, 0.44), rgba(255, 255, 255, 0.84)) !important;
}

.hb-workflow-demo-card-brief .hb-workflow-demo-number {
  background: linear-gradient(135deg, rgba(247, 214, 107, 0.56), rgba(255, 255, 255, 0.84)) !important;
}

.hb-workflow-demo-card-build .hb-workflow-demo-number {
  background: linear-gradient(135deg, rgba(255, 159, 90, 0.42), rgba(255, 255, 255, 0.84)) !important;
}

.hb-workflow-demo-card-present .hb-workflow-demo-number {
  background: linear-gradient(135deg, rgba(124, 199, 217, 0.48), rgba(255, 255, 255, 0.84)) !important;
}

@keyframes hbWorkflowDemoRailFlow {
  from { background-position: 0 0%; }
  to { background-position: 0 200%; }
}

@keyframes hbWorkflowDemoCardPulse {
  0%, 18%, 100% {
    border-color: rgba(151, 193, 90, 0.26);
    box-shadow:
      0 12px 25px rgba(17, 77, 77, 0.065),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
    transform: translateY(0) scale(1);
  }

  7%, 12% {
    border-color: rgba(151, 193, 90, 0.72);
    box-shadow:
      0 16px 31px rgba(17, 77, 77, 0.09),
      0 0 0 5px rgba(151, 193, 90, 0.11),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
    transform: translateY(-2px) scale(1.01);
  }
}

@media (max-width: 860px) {
  .hb-workflow-demo-shell {
    min-height: 0 !important;
  }

  .hb-workflow-demo {
    min-height: 0 !important;
  }

  .hb-workflow-demo::before {
    top: 76px !important;
    bottom: 18px !important;
  }
}

@media (max-width: 520px) {
  .hb-workflow-demo-shell {
    padding: 0.8rem !important;
  }

  .hb-workflow-demo-card {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    min-height: 0 !important;
    border-radius: 20px !important;
  }

  .hb-workflow-demo-number {
    width: 40px !important;
    height: 40px !important;
    border-radius: 15px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-workflow-demo::before,
  .hb-workflow-demo-card {
    animation: none !important;
  }
}
/* HB HOME WORKFLOW DEMO COPY FIT END */

/* HB HOME WORKFLOW TEXT SIZE AND SPAN FIX START */
/* hb-home-workflow-text-size-span-fix-20260626 */

/* Stop the old generic media-slot placeholder span rule from turning inline workflow text into floating pills. */
.hb-workflow-demo-shell .hb-workflow-demo span:not(.hb-workflow-demo-link) {
  position: static !important;
  z-index: auto !important;
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-align: inherit !important;
}

/* Match the workflow-card body copy to the main left-panel intro copy size. */
.hb-workflow-demo-shell .hb-workflow-demo-copy p {
  max-width: none !important;
  margin: 0 !important;
  color: #134B4B !important;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem) !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

/* Give the larger text enough breathing room. */
.hb-workflow-demo-shell {
  min-height: 0 !important;
}

.hb-workflow-demo-shell .hb-workflow-demo {
  min-height: 0 !important;
  gap: 0.92rem !important;
}

.hb-workflow-demo-shell .hb-workflow-demo-stages {
  gap: 0.82rem !important;
}

.hb-workflow-demo-shell .hb-workflow-demo-card {
  min-height: 138px !important;
  padding: 1rem !important;
  align-items: start !important;
}

.hb-workflow-demo-shell .hb-workflow-demo-copy {
  gap: 0.34rem !important;
  align-content: start !important;
}

.hb-workflow-demo-shell .hb-workflow-demo-copy h3 {
  font-size: clamp(1.08rem, 1.34vw, 1.24rem) !important;
  line-height: 1.12 !important;
}

/* Keep the real demo buttons as buttons, including the temporary pending demo labels. */
.hb-workflow-demo-shell .hb-workflow-demo-link {
  position: relative !important;
  z-index: 2 !important;
  display: inline-flex !important;
  width: fit-content !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0.28rem 0 0 0 !important;
  padding: 0.24rem 0.68rem !important;
  border-radius: 999px !important;
  color: #114D4D !important;
  background: rgba(238, 245, 223, 0.82) !important;
  border: 1px solid rgba(151, 193, 90, 0.38) !important;
  box-shadow: none !important;
  font-size: 0.8rem !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  text-align: left !important;
  text-decoration: none !important;
}

.hb-workflow-demo-shell .hb-workflow-demo-link-pending {
  color: #498559 !important;
  opacity: 0.86 !important;
}

.hb-workflow-demo-shell .hb-workflow-demo::before {
  top: 78px !important;
  bottom: 42px !important;
}

@media (max-width: 520px) {
  .hb-workflow-demo-shell .hb-workflow-demo-card {
    min-height: 0 !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }

  .hb-workflow-demo-shell .hb-workflow-demo-copy p {
    font-size: 0.98rem !important;
  }
}
/* HB HOME WORKFLOW TEXT SIZE AND SPAN FIX END */
