/* Formosa v2: Hero + About only. All selectors are scoped with the fm- prefix. */
.fm-hero,
.fm-about {
  --fm-ink: #07101f;
  --fm-blue: #0668ef;
  --fm-cyan: #10b8df;
  --fm-green: #08b890;
  --fm-lime: #94d600;
  --fm-orange: #ff5a18;
  --fm-purple: #7550ca;
  --fm-line: #d9e7f5;
  --fm-font-heading: var(--fm-font);
  --fm-font-body: var(--fm-font);
  position: relative;
  width: 100%;
  color: var(--fm-ink);
  background: #fff;
  font-family: var(--fm-font-body);
  isolation: isolate;
  overflow: clip;
  overflow-clip-margin: 220px;
  scroll-margin-top: 96px;
}

.fm-hero,
.fm-hero *,
.fm-about,
.fm-about * {
  box-sizing: border-box;
}

.fm-hero img,
.fm-about img {
  display: block;
  max-width: 100%;
}

.fm-hero a,
.fm-about a {
  color: inherit;
  text-decoration: none;
}

.fm-hero p,
.fm-hero h1,
.fm-about p,
.fm-about h2,
.fm-about h3,
.fm-about figure,
.fm-about ol,
.fm-about ul {
  margin: 0;
}

.fm-hero ul,
.fm-about ol {
  padding: 0;
  list-style: none;
}

.fm-header {
  --fm-ink: #07101f;
  --fm-blue: #0668ef;
  --fm-font-body: var(--fm-font);
  color: var(--fm-ink);
  background: #fff;
  font-family: var(--fm-font-body);
}

.fm-header,
.fm-header * {
  box-sizing: border-box;
}

.fm-header img {
  display: block;
  max-width: 100%;
}

.fm-header a {
  color: inherit;
  text-decoration: none;
}

@media (min-width: 1200px) {
  html {
    scroll-padding-top: 64px;
  }
}

.fm-hero {
  z-index: 2;
  min-height: 750px;
  padding: 0 0 80px;
}

.fm-about {
  z-index: 1;
  min-height: 1150px;
  padding-block: 80px;
}

.fm-header {
  --fm-header-main-row-height: 96px;
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
  margin: 18px 0 0;
  transition: background-color .2s ease, box-shadow .2s ease;
}

body.fm-scrolled .fm-header {
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 67, 112, .1);
}

.fm-header__inner {
  display: flex;
  width: min(100%, calc(var(--fm-container) + 64px));
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 76px;
  max-height: 96px;
  margin-inline: auto;
  padding: 4px 32px 10px;
  overflow: hidden;
  opacity: 1;
}

.fm-header__brand {
  display: flex;
  min-width: 0;
  flex: 0 0 226px;
  flex-direction: column;
  align-items: flex-start;
}

.fm-header__logo {
  display: block;
  width: 226px;
}

.fm-header__logo img {
  width: 226px;
  height: auto;
}

.fm-header__service {
  margin: 4px 0 0 !important;
  color: #687488;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .025em;
  white-space: nowrap;
}

.fm-header__nav {
  width: 100%;
  min-width: 0;
  border-top: 1px solid #e1e8f0;
  border-bottom: 1px solid #d7e0ea;
}

.fm-header__nav-list {
  display: grid;
  grid-template-columns: repeat(7, max-content);
  width: min(100%, calc(var(--fm-container) + 64px));
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.35vw, 26px);
  margin: 0 auto;
  padding: 0 32px;
  list-style: none;
  font-size: clamp(12px, .84vw, 15px);
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.fm-header__nav-list a,
.fm-header__nav-list span {
  display: block;
  padding-block: 16px;
}

.fm-header__nav-list span {
  cursor: default;
}

.fm-header__actions,
.fm-hero__actions {
  display: flex;
  align-items: center;
}

.fm-header__actions {
  flex: 0 0 auto;
  gap: 18px;
}

.fm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 27px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.fm-button--primary {
  color: #fff !important;
  background: linear-gradient(110deg, #0867fa 0%, #087fff 48%, #08c89b 100%);
  background-clip: border-box;
  background-origin: border-box;
  background-repeat: no-repeat;
  box-shadow: 0 13px 30px rgba(6, 104, 239, .18);
}

.fm-button--primary::after {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: var(--fm-blue);
  content: "→";
  background: #fff;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  transform: translateX(0);
  transition: transform .22s ease;
}

.fm-button--outline {
  color: var(--fm-ink);
  background: rgba(255, 255, 255, .94);
  border-color: #9fb2c9;
}

.fm-button--header {
  min-width: 184px;
}

.fm-button--header.fm-button--primary {
  min-width: 212px;
}

.fm-button img {
  width: 23px;
  height: 27px;
  object-fit: contain;
}

.fm-button--large {
  min-width: 228px;
  min-height: 76px;
  padding-inline: 36px;
  font-size: 21px;
}

.fm-button--large.fm-button--primary {
  min-width: 290px;
}

.fm-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 630px minmax(0, 1fr);
  width: min(calc(100% - 156px), var(--fm-container));
  min-height: 672px;
  margin: -2px auto 0;
}

.fm-about__inner {
  position: relative;
  display: grid;
  grid-template-columns: 610px minmax(0, 1fr);
  grid-template-rows: 599px 97px minmax(294px, auto);
  width: min(calc(100% - 156px), var(--fm-container));
  min-height: 990px;
  margin-inline: auto;
}

.fm-hero__copy {
  position: relative;
  z-index: 8;
  grid-column: 1;
  grid-row: 1;
  width: 630px;
  padding-top: 68px;
}

.fm-hero__location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.fm-hero__location img {
  flex: 0 0 auto;
  width: 23px;
  height: 33px;
  object-fit: contain;
}

.fm-hero__location strong {
  color: var(--fm-ink);
  font-weight: 900;
}

.fm-hero__location b {
  color: var(--fm-ink);
  font-weight: 800;
}

.fm-hero__location-service {
  color: var(--fm-blue);
  font-style: normal;
  font-weight: 900;
}

.fm-section-label {
  margin-top: 29px !important;
  color: var(--fm-blue);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.2;
}

.fm-hero .fm-section-label {
  color: var(--fm-ink);
}

.fm-hero .fm-section-label::after {
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 14px;
  content: "";
  background: var(--fm-blue);
  border-radius: 999px;
}

.fm-section-label--dot {
  display: block;
  margin-top: 0 !important;
}

.fm-hero__title,
.fm-about__title,
.fm-about-card h3 {
  font-family: var(--fm-font-heading);
  font-weight: 900;
  letter-spacing: .01em;
}

.fm-hero__title {
  margin-top: 28px !important;
  font-size: clamp(52px, 3.8vw, 65px);
  line-height: 1.28;
}

.fm-hero__title > span {
  display: block;
  white-space: nowrap;
}

.fm-hero__title-sub {
  color: var(--fm-blue);
  font-size: clamp(13px, 1.0vw, 16px);
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 0.02em;
  white-space: normal;
  margin-bottom: 4px;
}

.fm-hero__title-keep {
  display: inline-block;
  white-space: nowrap;
}

.fm-hero__title-main {
  color: var(--fm-blue);
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
}

.fm-hero__metric {
  display: inline-block;
  margin-inline: 10px;
  color: transparent;
  background: linear-gradient(115deg, #0868f9 0%, #05aee2 48%, #08bd7e 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 1.3em;
  font-weight: 950;
  line-height: 1;
}

.fm-hero__lead {
  max-width: 585px;
  margin-top: 14px !important;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.75;
}

.fm-hero__actions {
  gap: 27px;
  margin-top: 20px;
}

.fm-hero__access {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  margin-top: 20px !important;
  padding: 7px 24px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid #e1ebf5;
  border-radius: 999px;
  box-shadow: 0 8px 23px rgba(28, 70, 118, .12);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.fm-hero__access img {
  width: 28px;
  height: 34px;
  object-fit: contain;
}

.fm-hero__access strong {
  color: var(--fm-ink);
  font-size: 17px;
  font-weight: 950;
}

.fm-hero__media {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 672px;
  min-width: 0;
  pointer-events: none;
}

.fm-hero__skills,
.fm-hero__result,
.fm-hero__group-photo {
  position: absolute;
}

.fm-hero__photo {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  align-self: start;
  justify-self: end;
  width: 1100px;
  margin-right: -132px;
  max-width: none !important;
  transform: translateX(-190px);
}

.fm-hero__skills {
  top: 96px;
  left: 60px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.fm-hero__skills li {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 184px;
  min-height: 59px;
  padding: 9px 20px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(227, 235, 245, .9);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(32, 67, 111, .13);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.fm-hero__skills li:nth-child(1) { margin-left: 43px; }
.fm-hero__skills li:nth-child(2) { margin-left: 0; }
.fm-hero__skills li:nth-child(3) { margin-left: 27px; }
.fm-hero__skills li:nth-child(4) { margin-left: 2px; }

.fm-hero__skills img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.fm-hero__result {
  top: 150px;
  right: -60px;
  z-index: 6;
  width: 280px;
  min-height: 330px;
  padding: 27px 27px 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(222, 233, 244, .9);
  border-radius: 27px;
  box-shadow: 0 22px 50px rgba(30, 70, 121, .15);
  pointer-events: auto;
}

.fm-hero__result-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fm-hero__result-heading img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.fm-hero__result-heading p {
  font-size: 17px;
  font-weight: 900;
}

.fm-hero__result-number {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  margin-top: 10px !important;
  line-height: 1;
}

.fm-hero__result-number strong {
  color: var(--fm-blue);
  font-size: 70px;
  font-weight: 950;
}

.fm-hero__result-number span {
  padding-bottom: 9px;
  font-size: 23px;
  font-weight: 900;
}

.fm-hero__result-note {
  margin-top: 10px !important;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.fm-hero__result-chart {
  width: 205px;
  margin: 10px auto 0;
  animation: fm-result-chart-blink 4.8s ease-in-out infinite;
  will-change: opacity;
}

@keyframes fm-result-chart-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .35;
  }
}

.fm-hero__group-photo {
  bottom: -74px;
  left: 178px;
  z-index: 7;
  width: 310px;
}

.fm-connector {
  position: absolute;
  z-index: 1;
  max-width: none !important;
  pointer-events: none;
  user-select: none;
}

.fm-connector--hero-about {
  right: 0;
  bottom: 0;
  left: auto;
  width: 700px;
  opacity: .8;
  transform: rotate(155deg);
}

.fm-about__intro {
  position: relative;
  z-index: 5;
  grid-column: 1;
  grid-row: 1;
  width: 610px;
}

.fm-about__title {
  margin-top: 17px !important;
  font-size: 58px;
  line-height: 1.18;
  white-space: nowrap;
}

.fm-about__lead {
  margin-top: 17px !important;
  font-size: 29px;
  font-weight: 850;
  line-height: 1.45;
}

.fm-about__lead strong {
  color: var(--fm-blue);
  font-weight: 950;
}

.fm-about__body {
  width: 510px;
  margin-top: 23px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.8;
}

.fm-about__body p + p {
  margin-top: 12px;
}

.fm-about__link {
  display: inline-block;
  margin-top: 23px;
  padding-bottom: 5px;
  color: var(--fm-blue) !important;
  border-bottom: 2px solid currentColor;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .03em;
}

.fm-about__link::after {
  display: inline-block;
  margin-left: 18px;
  content: "→";
  transform: translateX(0);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.fm-about__link:focus-visible::after,
.fm-qa-about-link-hover .fm-about__link::after {
  transform: translateX(6px);
}

.fm-about__visual {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 820px;
  margin-right: 8px;
}

.fm-about__visual img {
  width: 100%;
  height: auto;
}

.fm-about__visual--workspace {
  aspect-ratio: 1379 / 1048;
  overflow: hidden;
  border-radius: 44% 33% 30% 46% / 25% 23% 34% 39%;
}

.fm-about__visual--workspace img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  border-radius: inherit;
}

.fm-about__route {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  width: 77.6%;
  margin-left: 20.25%;
  max-width: none !important;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: rotate(356deg);
  transform-origin: left center;
}

.fm-about__cards {
  position: relative;
  z-index: 6;
  display: grid;
  grid-column: 1 / -1;
  grid-row: 3;
  grid-template-columns: repeat(4, 250px);
  gap: 80px;
  align-self: start;
  justify-self: center;
  width: 1240px;
}

.fm-about .fm-about__cards {
  margin-top: -20px;
}

.fm-about__cards > li {
  min-width: 0;
}

.fm-about-card {
  --fm-card-glow: rgba(6, 104, 239, .22);
  --fm-card-glow-soft: rgba(6, 104, 239, .1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 294px;
  padding: 24px 22px 25px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--fm-line);
  border-radius: 30px;
  box-shadow:
    0 0 16px 1px var(--fm-card-glow),
    0 0 38px 5px var(--fm-card-glow-soft);
  text-align: center;
}

.fm-about-card--support {
  --fm-card-glow: rgba(6, 104, 239, .22);
  --fm-card-glow-soft: rgba(6, 104, 239, .1);
}

.fm-about-card--training {
  --fm-card-glow: rgba(77, 157, 26, .21);
  --fm-card-glow-soft: rgba(77, 157, 26, .1);
}

.fm-about-card--employment {
  --fm-card-glow: rgba(255, 90, 24, .21);
  --fm-card-glow-soft: rgba(255, 90, 24, .1);
}

.fm-about-card--retention {
  --fm-card-glow: rgba(117, 80, 202, .21);
  --fm-card-glow-soft: rgba(117, 80, 202, .1);
}

.fm-about-card img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.fm-about-card h3 {
  margin-top: 15px !important;
  font-size: 31px;
  line-height: 1.25;
}

.fm-about-card--support h3 { color: var(--fm-blue); }
.fm-about-card--training h3 { color: #438f15; }
.fm-about-card--employment h3 { color: var(--fm-orange); }
.fm-about-card--retention h3 { color: var(--fm-purple); }

.fm-about-card p {
  margin-top: 19px !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.72;
}

.fm-connector--about-courses {
  right: -112px;
  bottom: 0;
  left: auto;
  width: 640px;
  opacity: .28;
  transform: rotate(36deg);
}

@media (hover: hover) {
  .fm-header__nav-list a,
  .fm-button,
  .fm-about__link {
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  }

  .fm-header__nav-list a:hover,
  .fm-about__link:hover {
    color: var(--fm-blue);
  }

  .fm-about__link:hover::after {
    transform: translateX(6px);
  }

  .fm-button--primary:hover::after,
  .fm-button--primary:focus-visible::after,
  .fm-qa-cta-hover .fm-hero__actions .fm-button--primary::after {
    transform: translateX(4px);
  }

  .fm-button--outline:hover {
    border-color: var(--fm-blue);
  }
}

.fm-header a:focus-visible,
.fm-hero a:focus-visible,
.fm-about a:focus-visible {
  outline: 3px solid #ffbf21;
  outline-offset: 4px;
}

@media (max-width: 1439px) {
  .fm-header {
    --fm-header-main-row-height: 86px;
    width: 100%;
  }

  .fm-header__inner,
  .fm-header__nav-list {
    width: min(100%, 1368px);
    padding-inline: 24px;
  }

  .fm-header__brand {
    flex-basis: 190px;
  }

  .fm-header__logo,
  .fm-header__logo img {
    width: 190px;
  }

  .fm-header__nav-list {
    gap: 12px;
    font-size: clamp(11px, .82vw, 13px);
  }

  .fm-header__actions {
    gap: 10px;
  }

  .fm-button--header {
    min-width: 150px;
    padding-inline: 20px;
    font-size: 14px;
  }

  .fm-hero__inner,
  .fm-about__inner {
    width: min(calc(100% - 64px), 1320px);
  }

  .fm-hero__inner {
    grid-template-columns: 550px minmax(0, 1fr);
  }

  .fm-hero__copy {
    width: 550px;
  }

  .fm-hero__title {
    font-size: 52px;
  }

  .fm-hero__photo {
    width: 950px;
    margin-right: -132px;
  }

  .fm-hero__skills {
    left: 25px;
  }

  .fm-hero__group-photo {
    left: 130px;
  }

  .fm-about__visual {
    width: 730px;
    margin-right: -35px;
  }

  .fm-about .fm-about__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    width: calc(100% - 40px);
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .fm-hero__photo {
    justify-self: start;
    margin-right: 0;
    margin-left: clamp(-230px, calc((100vw - 1440px) * 1.12), -52px);
    transform: none;
  }

  .fm-hero__result {
    right: -20px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  html {
    scroll-padding-top: 64px;
  }
}

@media (max-width: 1199px) {
  .fm-about {
    min-height: 0;
    padding-block: 80px;
  }

  .fm-hero {
    min-height: 0;
    padding: 0 0 80px;
  }

  .fm-header {
    width: 100%;
    margin: 18px 0 30px;
  }

  .fm-header__inner,
  .fm-header__nav-list {
    width: min(100%, 1088px);
  }

  .fm-header__inner {
    flex-wrap: nowrap;
  }

  .fm-header__nav-list {
    grid-template-columns: repeat(7, max-content);
    gap: 9px;
    font-size: 10px;
  }

  .fm-header__actions {
    margin-left: auto;
  }

  .fm-hero__inner,
  .fm-about__inner {
    width: min(calc(100% - 64px), 1040px);
    min-height: 0;
    margin: 0 auto;
  }

  .fm-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 36px;
    align-items: start;
  }

  .fm-hero__copy {
    width: 100%;
    padding-top: 0;
  }

  .fm-hero__location {
    align-items: flex-start;
    font-size: 16px;
  }

  .fm-hero__title {
    font-size: clamp(42px, 4.8vw, 52px);
  }

  .fm-hero__title > span {
    white-space: normal;
  }

  .fm-hero__actions {
    align-items: stretch;
    gap: 14px;
  }

  .fm-button--large {
    min-width: 0;
    min-height: 66px;
    padding-inline: 24px;
    font-size: 18px;
  }

  .fm-hero__media {
    height: auto;
    min-height: 720px;
  }

  .fm-hero__photo {
    width: 720px;
    margin-right: -120px;
    transform: none;
  }

  .fm-hero__skills {
    top: 100px;
    left: -20px;
  }

  .fm-hero__result {
    top: 390px;
    right: -10px;
  }

  .fm-hero__group-photo {
    bottom: -12px;
    left: -10px;
    width: 290px;
  }

  .fm-about__inner {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-rows: auto auto;
    gap: 44px;
    align-items: start;
  }

  .fm-about__intro,
  .fm-about__body {
    width: 100%;
  }

  .fm-about__title {
    font-size: clamp(40px, 4.4vw, 52px);
  }

  .fm-about__visual {
    width: 100%;
    margin-right: 0;
  }

  .fm-about .fm-about__cards {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    justify-self: stretch;
    width: 100%;
    margin-top: 38px;
  }

  .fm-about .fm-about__route {
    display: none;
  }

  .fm-connector--about-courses {
    bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .fm-hero__actions {
    flex-direction: column;
  }

  .fm-hero__actions .fm-button--large {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 212px;
  }

  .fm-about {
    padding-block: 60px;
    overflow-clip-margin: 130px;
    scroll-margin-top: 72px;
  }

  .fm-hero {
    padding: 0 0 60px;
    overflow-clip-margin: 130px;
    scroll-margin-top: 72px;
  }

  .fm-header {
    width: 100%;
    margin: 20px 0 42px;
  }

  .fm-header__inner {
    gap: 20px 10px;
    min-height: 62px;
    padding-block: 0;
  }

  .fm-header__inner,
  .fm-header__nav-list {
    width: 100%;
    padding-inline: 20px;
  }

  .fm-header__brand {
    min-width: 0;
    flex: 1 1 0;
  }

  .fm-header__logo {
    width: min(170px, 100%);
    visibility: visible;
  }

  .fm-header__logo img {
    width: 100%;
  }

  .fm-header__service {
    display: none;
  }

  .fm-header__actions {
    min-width: 0;
    flex: 1 1 0;
  }

  .fm-header__actions .fm-button--outline {
    display: none;
  }

  .fm-button--header {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    gap: 8px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .fm-button--header.fm-button--primary::after {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    font-size: 15px;
  }

  .fm-button--header.fm-button--primary,
  .fm-button--large.fm-button--primary {
    min-width: 0;
  }

  .fm-header__nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 14px;
    justify-items: start;
    font-size: 12px;
    white-space: normal;
  }

  .fm-header__nav-list a,
  .fm-header__nav-list span {
    padding-block: 4px;
  }

  .fm-hero__inner,
  .fm-about__inner {
    display: block;
    width: calc(100% - 40px);
    min-height: 0;
  }

  .fm-hero__location {
    gap: 8px;
    font-size: 14px;
  }

  .fm-hero__location img {
    width: 19px;
    height: 28px;
  }

  .fm-section-label {
    margin-top: 24px !important;
    font-size: 14px;
  }

  .fm-hero__title {
    margin-top: 23px !important;
    font-size: clamp(31px, 8.2vw, 38px);
    line-height: 1.3;
  }

  .fm-hero__title > span {
    white-space: normal;
  }

  .fm-hero__metric {
    margin-inline: 5px;
  }

  .fm-hero__lead {
    margin-top: 19px !important;
    font-size: 15px;
    line-height: 1.8;
  }

  .fm-hero__actions {
    flex-direction: column;
    margin-top: 25px;
  }

  .fm-button--large {
    width: 100%;
  }

  .fm-hero__access {
    width: 100%;
    padding-inline: 18px;
    font-size: 12px;
  }

  .fm-hero__access strong {
    font-size: 15px;
  }

  .fm-hero__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    gap: 20px;
    min-height: 0;
    margin-top: 42px;
  }

  .fm-hero__photo,
  .fm-hero__skills,
  .fm-hero__result,
  .fm-hero__group-photo {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .fm-hero__photo {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 560px !important;
    margin: 0 auto;
  }

  .fm-hero__skills {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  .fm-hero__skills li,
  .fm-hero__skills li:nth-child(n) {
    width: 100%;
    min-height: 54px;
    margin-left: 0;
    padding: 8px 14px;
    font-size: 15px;
  }

  .fm-hero__skills img {
    width: 29px;
    height: 29px;
  }

  .fm-hero__result {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 0;
    padding: 24px;
  }

  .fm-hero__result-chart {
    width: min(100%, 260px);
  }

  .fm-hero__group-photo {
    grid-column: 1 / -1;
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .fm-connector--hero-about {
    right: 0;
    bottom: 0;
    left: auto;
    width: 430px;
  }

  .fm-about__title {
    margin-top: 14px !important;
    font-size: clamp(40px, 11vw, 50px);
  }

  .fm-about__lead {
    margin-top: 22px !important;
    font-size: 24px;
  }

  .fm-about__body {
    margin-top: 22px;
    font-size: 14px;
  }

  .fm-about__link {
    margin-top: 24px;
  }

  .fm-about__visual {
    width: 100%;
    margin: 38px 0 0;
  }

  .fm-about .fm-about__cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 44px;
  }

  .fm-about-card {
    min-height: 0;
    padding: 26px 22px 28px;
  }

  .fm-connector--about-courses {
    right: -180px;
    bottom: 0;
    width: 500px;
  }
}

@media (min-width: 1024px) {
  .fm-header {
    top: calc(-1 * var(--fm-header-main-row-height));
  }

  .fm-header__inner {
    height: var(--fm-header-main-row-height);
    min-height: var(--fm-header-main-row-height);
    max-height: var(--fm-header-main-row-height);
  }
}

@media (max-width: 340px) {
  .fm-header__nav-list {
    column-gap: 8px;
    font-size: 11px;
    letter-spacing: -.03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm-header,
  .fm-header__inner {
    transition: none;
  }

  .fm-hero *,
  .fm-about * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .fm-hero__result-chart {
    opacity: 1 !important;
    animation: none !important;
    will-change: auto;
  }

  .fm-about__link::after {
    transform: none !important;
    transition: none !important;
  }

  .fm-hero [data-parallax],
  .fm-about [data-parallax] {
    transform: none !important;
  }
}
