/* Website integration only. The lesson keeps its own styles inside its frame. */
/* Join the host's staggered chapter animation (its original selectors target links). */
#page-about .is-entering .quality-growth-trigger {
  animation: rise-in 1.15s var(--ease-out) .92s both;
}
#page-about .is-entering.backward .quality-growth-trigger { animation-name: drop-in; }
#page-about .split__content--about.is-entering.from-team .quality-growth-trigger {
  animation-duration: .65s;
  animation-delay: .08s;
}
#page-about .is-leaving .quality-growth-trigger {
  animation: lift-away var(--t-leave) var(--ease-soft) .18s both;
}
#page-about .is-leaving:is(.backward,.to-home) .quality-growth-trigger { animation-name: sink-away; }
html.is-scroll-doc #page-about .quality-growth-trigger { animation: none; }
@media (prefers-reduced-motion: reduce) {
  #page-about .quality-growth-trigger { animation: none !important; }
}
#page-about .about-actions {
  /* Same spacing as the gap below .split__lead in the website stylesheet. */
  margin-top: calc(1rem * var(--about-fit, 1));
}
#page-about .quality-growth-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 100%;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #367865;
  border-radius: 0;
  background: transparent;
  color: #367865;
  font-family: var(--font-sans, Inter, Arial, sans-serif);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .01em;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
#page-about .quality-growth-trigger:hover,
#page-about .quality-growth-trigger:focus-visible {
  background: #367865;
  border-color: #367865;
  color: #fff;
}
#page-about .quality-growth-trigger:focus-visible {
  outline: 2px solid var(--moss, #589786);
  outline-offset: 4px;
}
.quality-growth-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform .2s ease;
}
.quality-growth-trigger:hover svg { transform: translateX(3px); }
html.quality-growth-open { overflow: hidden; }
.quality-growth-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(1360px, calc(100% - 64px));
  height: min(1040px, calc(100vh - 64px));
  height: min(1040px, calc(100dvh - 64px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce4df;
  border-radius: 3px;
  background: #fff;
  color: #0b2a4b;
  box-shadow: 0 24px 100px #0b2a4b33;
}
.quality-growth-dialog::backdrop {
  background: #0b2a4b66;
  backdrop-filter: blur(5px);
}
.quality-growth-dialog.is-opening:not(.is-opening-active) {
  opacity: 0;
  transform: translateY(22px) scale(.972);
  box-shadow: 0 12px 48px #0b2a4b1f;
}
.quality-growth-dialog.is-opening.is-opening-active {
  opacity: 1;
  transform: none;
  box-shadow: 0 24px 100px #0b2a4b33;
  transition:
    opacity .42s cubic-bezier(.16, 1, .3, 1),
    transform .42s cubic-bezier(.16, 1, .3, 1),
    box-shadow .42s cubic-bezier(.16, 1, .3, 1);
}
.quality-growth-dialog.is-opening:not(.is-opening-active)::backdrop { opacity: 0; }
.quality-growth-dialog.is-opening.is-opening-active::backdrop {
  opacity: 1;
  transition: opacity .36s ease;
}
@starting-style {
  .quality-growth-dialog[open] {
    opacity: 0;
    transform: translateY(22px) scale(.972);
  }
  .quality-growth-dialog[open]::backdrop { opacity: 0; }
}
.quality-growth-dialog[open] {
  opacity: 1;
  transform: none;
  transition:
    opacity .42s cubic-bezier(.16, 1, .3, 1),
    transform .42s cubic-bezier(.16, 1, .3, 1),
    box-shadow .42s cubic-bezier(.16, 1, .3, 1),
    overlay .42s allow-discrete,
    display .42s allow-discrete;
}
.quality-growth-dialog[open]::backdrop {
  opacity: 1;
  transition:
    opacity .36s ease,
    overlay .36s allow-discrete,
    display .36s allow-discrete;
}
.quality-growth-dialog[open].is-closing {
  opacity: 0;
  transform: translateY(10px) scale(.988);
  transition:
    opacity .22s ease,
    transform .22s ease;
}
.quality-growth-dialog[open].is-closing::backdrop {
  opacity: 0;
  transition: opacity .22s ease;
}
.quality-growth-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.quality-growth-frame[hidden],
.quality-growth-dialog [hidden] { display: none !important; }
.quality-growth-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 22px;
  padding: 30px;
  font: 300 22px/1.5 var(--font-sans, Inter, Arial, sans-serif);
  text-align: center;
}
.quality-growth-loading::after { content: ''; width: 42px; height: 2px; margin: auto; background: #589786; }
.quality-growth-loading a { color: #367865; font-size: 14px; font-weight: 400; }
.quality-growth-fallback-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: #fff;
  color: #0b2a4b;
  cursor: pointer;
}
.quality-growth-fallback-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.quality-growth-fallback-close:focus-visible { outline: 2px solid #589786; outline-offset: 2px; }
/* Laptop screens are short: a slimmer margin leaves more room for each page. */
@media (max-height: 860px) {
  .quality-growth-dialog { width: min(1360px, calc(100% - 32px)); height: calc(100vh - 32px); height: calc(100dvh - 32px); }
}
/* Phones, upright or on their side, give the lesson the whole screen. */
@media (max-width: 760px), (max-height: 500px) {
  .quality-growth-dialog { width: 100%; height: 100vh; height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
  .quality-growth-fallback-close { top: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .quality-growth-dialog, .quality-growth-dialog::backdrop { transition: none !important; }
  .quality-growth-trigger, .quality-growth-trigger svg { transition: none !important; }
}
