/* SkillScope landing — desktop layout from Figma "Additional products" › Updated (frame 1281:12599, 1920px). */

:root {
  --blue: #647ffe;
  --blue-300: #9fa9ff;
  --blue-100: #d5daff;
  --dark: #1d1d1f;
  --gray: #7a7a90;
  --gray-blue: #5c6c98;
  --bg-tertiary: #f7f8ff;
  --bg-subtle: #f9faff;
  --bg-selected: #f1f2ff;
  --border: #e3e3e8;
  --container: 1290px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Geologica', Arial, sans-serif;
  font-weight: 300;
  font-variation-settings:
    'CRSV' 0,
    'SHRP' 0;
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  /* AOS slides images in from the side; clip (not hidden) keeps window scrolling */
  overflow-x: clip;
}

img {
  display: block;
  max-width: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  position: relative;
  width: var(--container);
  margin: 0 auto;
}

/* ---------- Typography ---------- */

.h2 {
  font-size: 44px;
  line-height: 62px;
  font-weight: 600;
}

.lead {
  font-size: 20px;
  line-height: 32px;
  font-weight: 300;
  color: var(--gray);
}

.text {
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  color: var(--gray);
}

.h3 {
  font-size: 24px;
  line-height: 34px;
  font-weight: 500;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border-radius: 100px;
  background: #fff;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  color: var(--blue);
  white-space: nowrap;
}

.badge--tinted {
  background: var(--bg-tertiary);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 12px 24px;
  border: 1px solid var(--blue);
  border-radius: 300px;
  background: var(--blue);
  font-size: 18px;
  line-height: 25px;
  font-weight: 400;
  letter-spacing: -0.01px;
  color: #fff;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

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

.btn--sm {
  height: 40px;
}

.btn--outline {
  background: transparent;
  color: var(--blue);
}

.btn--outline:hover {
  background: rgba(100, 127, 254, 0.08);
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0.997px 4.237px 0 rgba(100, 127, 254, 0.2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  width: 205px;
  height: 40px;
}

/* Right-aligned so longer translations push the switcher left instead of overlapping */
.lang {
  position: relative;
  margin-left: auto;
}

.header__actions {
  display: flex;
  gap: 16px;
  margin-left: 21px;
}

.lang__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 12px 0;
  font-size: 18px;
  line-height: 25px;
  font-weight: 400;
  letter-spacing: -0.01px;
  color: var(--gray);
}

.lang__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 2px;
}

.lang__icon img {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.lang:hover .lang__icon img,
.lang:focus-within .lang__icon img {
  transform: rotate(180deg);
}

.lang__list {
  position: absolute;
  top: 100%;
  left: -20px;
  display: flex;
  flex-direction: column;
  padding: 13px 20px;
  border: 1px solid var(--blue-100);
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--dark);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
}

.lang:hover .lang__list,
.lang:focus-within .lang__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang__list a {
  padding: 6px 0;
}

.lang__list a:hover,
.lang__list .is-active {
  color: var(--blue);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 1000px;
  overflow: hidden;
  background: linear-gradient(-3.88deg, #fff 54.186%, #d4d8fb 126.39%, #3545d6 179.57%);
}

/* The Figma pattern fill has a broken transform; this reproduces its rendered
   result: a ~117px grid, barely visible, fading out towards the middle. */
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(29, 29, 31, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(29, 29, 31, 0.02) 1px, transparent 1px);
  background-size: 116.7px 116.7px;
  background-position: calc(50% - 805.25px) 69.8px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 220px, transparent 460px);
  mask-image: linear-gradient(to bottom, #000 0, #000 220px, transparent 460px);
  pointer-events: none;
}

.hero__line {
  position: absolute;
  pointer-events: none;
}

.hero__line img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* Lines sit on the 1920 artboard; offsets are from the nearest viewport edge.
   Image insets reproduce the stroke overflow of each Figma vector. */
.hero__line--blue {
  left: min(48px, calc(50% - 912px));
  top: 80px;
  width: 229px;
  height: 233.5px;
}

.hero__line--blue img {
  left: -5.24%;
  width: 110.48%;
}

.hero__line--red {
  right: min(113px, calc(50% - 847px));
  top: 80px;
  width: 109px;
  height: 211px;
}

/* Flipped on the image: AOS owns the transform of the animated wrapper. */
.hero__line--red img {
  left: -11.01%;
  width: 122.02%;
  transform: scaleX(-1);
}

.hero__line--green {
  left: min(-28px, calc(50% - 988px));
  top: 562px;
  width: 792px;
  height: 267px;
}

.hero__line--green img {
  top: -4.49%;
  height: 108.98%;
  transform: scaleX(-1);
}

.hero__line--yellow {
  right: min(-0.5px, calc(50% - 960.5px));
  top: 571px;
  width: 530.5px;
  height: 248.803px;
}

.hero__line--yellow img {
  top: -4.82%;
  height: 109.64%;
}

.hero .container {
  height: 100%;
}

.hero__content {
  position: absolute;
  top: 280px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 630px;
}

.hero__title {
  margin-top: 16px;
  font-size: 54px;
  line-height: 67px;
  font-weight: 600;
}

.hero__title span {
  background: linear-gradient(to right, #647ffe, #5ea7fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  width: 550px;
  margin-top: 16px;
  color: var(--dark);
}

.hero__content .btn {
  margin-top: 32px;
}

/* Figma box 723×554 (top 220) holds the mockup uncropped at its own ratio */
.hero__image {
  position: absolute;
  left: 660px;
  top: 231.5px;
  width: 723px;
  height: auto;
}

/* ---------- About ---------- */

.about {
  padding: 120px 0;
  background: var(--bg-tertiary);
}

.about__cards {
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

.about-card {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 32px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(100, 116, 254, 0.12);
}

.about-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 8.051px 24.152px 89.45px -11.629px rgba(22, 52, 80, 0.1);
}

.about-card__icon img {
  width: 60px;
  height: 60px;
}

.about-card__text {
  font-size: 18px;
  line-height: 25px;
  font-weight: 300;
  text-align: center;
}

/* ---------- Audience tabs ---------- */

.audience {
  padding: 100px 0;
}

.tabs {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  padding: 8px;
  border-radius: 100px;
  background: var(--bg-selected);
}

.tabs__btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: var(--gray);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.tabs__btn:hover {
  color: var(--blue);
}

.tabs__btn.is-active {
  background: #fff;
  color: var(--blue);
}

.audience__panel {
  position: relative;
  min-height: 555px;
  margin-top: 60px;
}

.audience__panel[hidden] {
  display: none;
}

.audience__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 630px;
}

.audience__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audience__image {
  position: absolute;
  top: 0;
  width: 667px;
  height: 555px;
  border-radius: 16.892px;
}

.audience__image--business {
  left: 654px;
}

.audience__image--employees {
  left: 660px;
}

/* Feature accordion */
.features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  list-style: none;
}

.feature__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 24px;
  line-height: 34px;
  font-weight: 400;
  text-align: left;
  color: var(--dark);
}

.feature__arrow {
  flex-shrink: 0;
  width: 27.314px;
  height: 27.314px;
  color: var(--blue);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.feature.is-open .feature__arrow {
  transform: rotate(90deg);
  color: var(--blue-300);
}

.feature__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.feature.is-open .feature__body {
  grid-template-rows: 1fr;
}

.feature__body > div {
  overflow: hidden;
}

.feature__body p {
  padding: 10px 0 0 40px;
}

/* ---------- How it works ---------- */

.how {
  padding: 100px 0;
}

.how__steps {
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 410px;
}

.step__image {
  width: 410px;
  height: 298px;
  border-radius: 16px;
  box-shadow: 0 4px 17px 0 rgba(100, 127, 254, 0.2);
}

.step__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step__text .text {
  color: var(--dark);
}

.how__cta {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

/* ---------- Motivation & growth ---------- */

.motivation {
  padding: 120px 0;
  background: var(--bg-tertiary);
}

.motivation .section-head {
  width: 848px;
  margin: 0 auto;
}

.motivation__cards {
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

/* Visuals sit at the card bottom as in Figma; a longer translation grows all cards
   together (min-height) instead of running into the visual. */
.mcard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 410px;
  min-height: 493px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
}

.mcard__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 31px;
}

.mcard__leaderboard {
  width: 362px;
  height: 259.479px;
  margin-top: auto;
}

.mcard__awards {
  width: 331px;
  height: 207.5px;
  margin: auto 0 29.9px 15px;
}

.mcard__quote {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px;
  border-radius: 16px;
  background: #f6f7fc;
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  color: var(--gray);
}

.mcard__quote s {
  font-style: oblique 12deg;
  font-variation-settings:
    'CRSV' 1,
    'SHRP' 0;
}

.mcard__quote b {
  font-weight: 300;
  color: var(--dark);
}

/* ---------- Annual reviews vs SkillScope ---------- */

.weekly {
  position: relative;
  padding: 100px 0 105px;
  overflow: hidden;
}

.weekly__bg {
  position: absolute;
  top: 359px;
  width: 845.75px;
  height: 398px;
  pointer-events: none;
}

.weekly__bg--left {
  left: min(0px, calc(50% - 960px));
}

.weekly__bg--right {
  right: min(0.25px, calc(50% - 959.75px));
  transform: rotate(180deg);
}

.weekly .section-head {
  width: 848px;
  margin: 0 auto;
}

.compare {
  position: relative;
  width: 1070px;
  margin: 60px auto 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.compare th,
.compare td {
  padding: 0 24px;
  text-align: left;
  vertical-align: middle;
}

.compare th {
  height: 59px;
  font-size: 20px;
  line-height: 32px;
  font-weight: 300;
  background: var(--bg-subtle);
}

.compare th:first-child {
  width: 244px;
  border-top-left-radius: 24px;
}

.compare th:last-child {
  border-top-right-radius: 24px;
  background: var(--bg-selected);
  color: var(--blue);
}

.compare td {
  height: 71px;
  background: #fff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  color: var(--gray);
}

.compare td:first-child {
  border-left: 1px solid var(--border);
  line-height: 22px;
  font-weight: 500;
  color: var(--dark);
}

.compare tbody tr:first-child td {
  height: 72px;
  border-top: 1px solid var(--border);
}

.compare td:last-child {
  color: var(--dark);
}

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

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

.compare__check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare__check img {
  flex-shrink: 0;
  width: 12px;
  height: 10.54px;
  margin: -1px -1px -1.54px;
}

/* ---------- Why SkillScope ---------- */

.why {
  position: relative;
  height: 896px;
  padding-top: 120px;
  overflow: hidden;
  background: var(--blue);
}

.why__stairs {
  position: absolute;
  left: min(0px, calc(50% - 960px));
  bottom: 0;
  width: 588px;
  height: 398px;
  pointer-events: none;
}

.why .h2 {
  color: #fff;
  text-align: center;
}

.why__photo {
  position: absolute;
  left: -200px;
  top: -26px;
  width: 823px;
  height: 808px;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 630px;
  margin: 60px 0 0 660px;
  list-style: none;
}

.why__list li {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 24px;
  line-height: 34px;
  font-weight: 300;
  color: #fff;
}

.why__list img {
  width: 40px;
  height: 40px;
}

.why__list span {
  width: 549px;
}

/* ---------- FAQ ---------- */

.faq {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.faq__stairs {
  position: absolute;
  left: min(0px, calc(50% - 960px));
  top: 0;
  width: 585px;
  height: 408px;
  pointer-events: none;
}

.faq__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 110px;
  border-radius: 16px;
  background: #fff;
}

.faq__panel .h2 {
  text-align: center;
}

.faq__list {
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--blue-100);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0 23px;
  font-size: 24px;
  line-height: 34px;
  font-weight: 400;
  text-align: left;
  color: var(--dark);
}

.faq-item__q img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transform: scaleY(-1);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item__q img {
  transform: none;
}

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-item__a {
  grid-template-rows: 1fr;
}

.faq-item__a > div {
  overflow: hidden;
}

.faq-item.is-open .faq-item__q {
  padding-bottom: 24px;
}

.faq-item__a p {
  width: 833px;
  padding-bottom: 23px;
}

/* ---------- Reviews ---------- */

.reviews {
  padding: 120px 0;
}

.reviews .h2 {
  text-align: center;
}

.reviews__cards {
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 410px;
  padding: 38px;
  border: 2px solid #fff;
  border-radius: 16px;
  background: var(--blue);
  box-shadow: 0 24px 40px -12px rgba(25, 33, 58, 0.12);
  color: #fff;
}

.review__avatar {
  position: relative;
  width: 124px;
  height: 124px;
}

.review__avatar img {
  width: 100%;
  height: 100%;
}

.review__avatar--framed img {
  position: absolute;
  top: -4px;
  left: -28px;
  width: 180px;
  height: 180px;
}

.review__quote {
  position: absolute;
  left: 239px;
  top: 165px;
  width: 115.462px;
  height: 74.5px;
}

.review__stars {
  width: 128px;
  height: 24px;
}

.review__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review__person {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 24px;
  line-height: 34px;
}

.review__name {
  font-weight: 500;
}

.review__role {
  font-weight: 400;
}

.review .text {
  color: #fff;
}

/* ---------- Final CTA ---------- */

.cta {
  position: relative;
  height: 460px;
  overflow: hidden;
}

.cta__lines {
  position: absolute;
  left: 50%;
  top: -137px;
  width: 2303.5px;
  height: 718px;
  margin-left: -1083px;
  pointer-events: none;
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.cta .h2 {
  width: 848px;
}

.cta__side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 299px;
}

.cta__side p {
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  color: var(--gray-blue);
}

.cta__side p span {
  color: var(--blue);
}

/* ---------- Footer ---------- */

.footer {
  padding: 40px 0;
  background: var(--bg-subtle);
}

.footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 297px;
  height: 261px;
}

.footer__logo img {
  width: 205px;
  height: 40px;
}

.footer__tagline {
  margin-top: 16px;
  font-size: 12px;
  line-height: 17px;
  font-weight: 300;
  color: var(--gray-blue);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  transition: transform 0.2s ease;
}

.footer__social a:hover {
  transform: translateY(-1px);
}

.footer__social img {
  width: 32px;
  height: 32px;
}

.footer__copy {
  margin-top: 24px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--gray-blue);
}

.footer__menus {
  display: flex;
  gap: 60px;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__menu:nth-child(1) {
  width: 264px;
}

.footer__menu:nth-child(2) {
  width: 132px;
}

.footer__menu h3 {
  font-size: 18px;
  line-height: 25px;
  font-weight: 400;
}

.footer__menu ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  color: var(--gray);
}

.footer__menu:nth-child(1) ul {
  line-height: 26px;
}

.footer__menu a {
  transition: color 0.2s ease;
}

.footer__menu a:hover {
  color: var(--blue);
}

/* ---------- Contact modal (behaviour carried over from the previous landing) ---------- */

.cm-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.cm-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.55);
  backdrop-filter: blur(4px);
}

.cm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(600px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.cm-modal.is-open .cm-card {
  transform: translateY(0);
}

.cm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
}

.cm-title {
  font-size: 24px;
  line-height: 29px;
  font-weight: 600;
}

.cm-close {
  display: flex;
  padding: 8px;
  color: var(--gray);
  transition: color 0.2s ease;
}

.cm-close:hover {
  color: var(--dark);
}

.cm-body {
  padding: 0 32px 32px;
}

.cm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.cm-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cm-field.full {
  grid-column: 1 / -1;
}

.cm-label {
  font-size: 14px;
  font-weight: 500;
}

.cm-input,
.cm-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font:
    400 14px 'Geologica',
    Arial,
    sans-serif;
  color: var(--dark);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cm-textarea {
  min-height: 120px;
  resize: vertical;
}

.cm-input::placeholder,
.cm-textarea::placeholder {
  color: #9ca3af;
}

.cm-input:focus,
.cm-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(100, 127, 254, 0.1);
}

.cm-footer {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}

.cm-policy {
  margin-bottom: 44px;
  font-size: 12px;
  line-height: 17px;
  font-weight: 400;
  color: var(--gray);
}

.cm-policy a {
  color: var(--blue);
  text-decoration: underline;
}

.cm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cm-success-view {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 40px 32px 50px;
  text-align: center;
}

.cm-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #f0f4ff;
  color: var(--blue);
}

.cm-success-title {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
}

.cm-success-text {
  max-width: 320px;
  margin-bottom: 32px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: -0.01px;
  color: var(--gray);
}

/* ---------- Mobile-only elements (hidden on desktop) ---------- */

.header__burger,
.mmenu,
.hero__mline,
.why__mstairs,
.cta__mlines {
  display: none;
}

/* ---------- Mobile: Figma "Mobile" frame 827:21545 (375px) ---------- */

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

  .container {
    width: calc(100% - 32px);
    max-width: 480px;
  }

  main {
    padding-top: 60px;
  }

  /* AOS side slides start 100px off to the side, which on a phone widens the
     page before the first scroll; slide those in from below instead */
  html [data-aos='fade-left'],
  html [data-aos='fade-right'] {
    transform: translate3d(0, 100px, 0);
  }

  .h2 {
    font-size: 32px;
    line-height: 42px;
  }

  /* Header + menu */
  .header {
    height: 60px;
  }

  .header__logo img {
    width: 154px;
    height: 30px;
  }

  .lang,
  .header__actions {
    display: none;
  }

  .header__burger {
    display: flex;
    width: 48px;
    height: 48px;
  }

  .header__burger img {
    width: 48px;
    height: 48px;
  }

  .mmenu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.3s ease, visibility 0.3s;
  }

  .mmenu.is-open {
    visibility: visible;
    transform: none;
  }

  .mmenu__panel {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 8px 16px 0 rgba(100, 116, 254, 0.2);
  }

  .mmenu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.7);
  }

  .mmenu__logo img {
    width: 154px;
    height: 30px;
  }

  .mmenu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }

  .mmenu__close img {
    width: 24px;
    height: 24px;
  }

  .mmenu__body {
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding: 32px;
  }

  .mmenu__nav,
  .mmenu__lang {
    max-width: 293px;
  }

  .mmenu__nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--blue-100);
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
  }

  .mmenu__nav a:hover {
    color: var(--blue);
  }

  .mmenu__lang {
    margin-top: 16px;
  }

  .mmenu__lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    line-height: 32px;
    font-weight: 300;
    color: var(--gray-blue);
  }

  .mmenu__lang-toggle img {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
  }

  .mmenu__lang.is-open .mmenu__lang-toggle img {
    transform: rotate(180deg);
  }

  .mmenu__lang-list {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    font-size: 18px;
    line-height: 25px;
    font-weight: 400;
  }

  .mmenu__lang.is-open .mmenu__lang-list {
    display: flex;
  }

  .mmenu__lang-list .is-active {
    color: var(--blue);
  }

  .mmenu__actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Hero: no lead, no gradient on mobile */
  /* min-height: a longer headline on a narrow phone grows the hero instead of clipping */
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    min-height: 740px;
    padding: 60px 0;
    background: #fff;
  }

  .hero__pattern,
  .hero__line,
  .hero__text {
    display: none;
  }

  .hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    height: auto;
  }

  .hero__content {
    position: static;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .hero .badge {
    width: 100%;
    height: 52px;
    white-space: normal;
  }

  .hero__title {
    font-size: 36px;
    line-height: 45px;
  }

  .hero__image {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 2px;
  }

  .hero__mline {
    display: block;
    position: absolute;
    pointer-events: none;
  }

  .hero__mline img {
    position: absolute;
  }

  .hero__mline--blue {
    left: min(16px, calc(50% - 171.5px));
    top: 0;
    width: 89px;
    height: 72px;
  }

  .hero__mline--blue img {
    left: -6px;
    top: 0;
    width: 101px;
    height: 72px;
  }

  .hero__mline--yellow {
    right: min(0px, calc(50% - 187.5px));
    top: 674px;
    width: 41px;
    height: 29px;
  }

  .hero__mline--yellow img {
    left: -6px;
    top: -6px;
    width: 47px;
    height: 35px;
  }

  /* About */
  .about {
    padding: 60px 0;
  }

  .about .lead {
    font-size: 18px;
    line-height: 29px;
  }

  .about__cards {
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
  }

  .about-card {
    flex: none;
    height: 259px;
  }

  /* Audience tabs: image above the text */
  .audience {
    padding: 60px 0;
  }

  .tabs {
    width: 100%;
  }

  .tabs__btn {
    flex: 1 0 0;
    padding: 8px 0;
    font-size: 18px;
    line-height: 25px;
    white-space: nowrap;
  }

  .audience__panel {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 0;
    margin-top: 32px;
  }

  .audience__panel[hidden] {
    display: none;
  }

  .audience__image {
    position: static;
    order: -1;
    width: 100%;
    height: 276px;
    object-fit: cover;
  }

  .audience__body {
    width: 100%;
  }

  .audience__body > .btn {
    width: 100%;
  }

  /* How it works */
  .how {
    padding: 60px 0;
  }

  .how__steps {
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
  }

  .step {
    width: 100%;
    gap: 24px;
  }

  .step__image {
    width: 100%;
    height: auto;
    border-radius: 13.385px;
    box-shadow: 0 3.346px 14.222px 0 rgba(100, 127, 254, 0.2);
  }

  .how__cta {
    margin-top: 32px;
  }

  .how__cta .btn {
    width: 100%;
  }

  /* Motivation & growth */
  .motivation {
    padding: 60px 0;
  }

  .motivation .section-head {
    width: auto;
  }

  .motivation__cards {
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
  }

  .mcard {
    width: 100%;
    min-height: 478px;
  }

  /* Figma keeps 26px between the awards card text and its visual */
  .mcard__text {
    margin-bottom: 22px;
  }

  .mcard__leaderboard {
    width: 295px;
    height: auto;
    margin: auto auto 6.5px;
  }

  .mcard__awards {
    align-self: center;
    width: 300px;
    height: auto;
    margin: auto 0 5.1px;
  }

  /* Annual reviews vs SkillScope */
  .weekly {
    padding: 60px 0;
  }

  .weekly__bg {
    display: none;
  }

  .weekly .section-head {
    width: auto;
  }

  .compare {
    width: 100%;
    margin-top: 32px;
  }

  /* Long words ("відповідність") don't fit narrow columns on small phones */
  .compare th,
  .compare td {
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
  }

  .compare th {
    height: auto;
    padding: 16px 10px;
    font-size: 16px;
    line-height: 26px;
  }

  .compare th:first-child {
    width: 92px;
  }

  .compare tbody tr:first-child td {
    height: auto;
  }

  .compare td {
    height: auto;
    padding: 16px 8px;
    vertical-align: top;
    font-size: 14px;
    line-height: 22px;
  }

  .compare td:first-child {
    line-height: 20px;
  }

  .compare__check {
    align-items: flex-start;
    gap: 10px;
  }

  /* Figma draws the tick in a 14×16 box */
  .compare__check img {
    flex: 0 0 14px;
    width: 14px;
    height: 16px;
    margin: 3px 0 0;
    object-fit: none;
  }

  /* Why SkillScope */
  .why {
    height: auto;
    padding: 60px 0;
  }

  .why__stairs {
    display: none;
  }

  .why .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .why .h2 {
    order: 1;
  }

  .why__mstairs {
    display: block;
    position: absolute;
    left: calc(50% - 171.5px);
    top: 151px;
    width: 343px;
    height: 207.547px;
    pointer-events: none;
  }

  .why__photo {
    order: 2;
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 313px;
    object-fit: cover;
    object-position: bottom;
  }

  .why__list {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 24px;
  }

  .why__list li {
    align-items: flex-start;
  }

  .why__list span {
    flex: 1 1 0;
    width: auto;
  }

  /* FAQ */
  .faq {
    padding: 60px 0;
  }

  .faq__stairs {
    display: none;
  }

  .faq__panel {
    gap: 40px;
    padding: 20px 16px;
  }

  .faq__panel .h2 {
    text-align: left;
  }

  .faq-item__q {
    gap: 8px;
    font-size: 20px;
    line-height: 28px;
  }

  .faq-item__a p {
    width: auto;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
  }

  /* Reviews */
  .reviews {
    padding: 60px 0;
  }

  .reviews__cards {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }

  .review {
    width: 100%;
  }

  .review__avatar {
    width: 100px;
    height: 100px;
  }

  .review__avatar--framed img {
    top: -3.2px;
    left: -22.6px;
    width: 145.2px;
    height: 145.2px;
  }

  .review__quote {
    left: 217px;
    top: 172.42px;
    width: 92.462px;
    height: 59.66px;
  }

  .review__role {
    font-size: 20px;
    line-height: 28px;
  }

  /* Final CTA */
  .cta {
    height: auto;
    padding: 160px 0;
  }

  .cta__lines {
    display: none;
  }

  .cta .container {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .cta .h2 {
    width: auto;
  }

  .cta__side {
    width: 100%;
    gap: 40px;
  }

  .cta__side .btn {
    width: 100%;
  }

  .cta__mlines {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .cta__mline {
    position: absolute;
  }

  .cta__mline img {
    position: absolute;
    left: 0;
    top: 0;
  }

  .cta__mline--red-top {
    left: min(16px, calc(50% - 171.5px));
    top: 0;
    width: 43px;
    height: 105px;
  }

  .cta__mline--red-top img {
    left: -7px;
    width: 57px;
    height: 105px;
  }

  .cta__mline--yellow-top {
    left: calc(50% + 0.5px);
    top: 0;
    width: 55px;
    height: 44px;
  }

  .cta__mline--yellow-top img {
    width: 62px;
    height: 51px;
  }

  .cta__mline--green {
    right: min(0px, calc(50% - 187.5px));
    top: 81px;
    width: 66px;
    height: 14px;
  }

  .cta__mline--green img {
    width: 66px;
    height: 14px;
  }

  .cta__mline--red-bottom {
    right: min(0px, calc(50% - 187.5px));
    top: 603px;
    width: 78px;
    height: 40px;
  }

  .cta__mline--red-bottom img {
    left: -7px;
    top: -7px;
    width: 85px;
    height: 47px;
  }

  .cta__mline--yellow-bottom {
    left: min(0px, calc(50% - 187.5px));
    top: 564px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 154px;
    height: 79px;
  }

  .cta__mline--yellow-bottom > span {
    position: relative;
    flex: none;
    width: 79px;
    height: 154px;
    transform: rotate(-90deg);
  }

  .cta__mline--yellow-bottom img {
    width: 86px;
    height: 161px;
  }

  /* Footer: brand, menus, then social + copyright */
  .footer {
    padding: 60px 0;
    background: var(--bg-tertiary);
  }

  .footer .container {
    flex-direction: column;
    gap: 32px;
  }

  .footer__brand {
    display: contents;
  }

  .footer__brand > div:first-child {
    order: 1;
  }

  .footer__menus {
    order: 2;
    flex-wrap: wrap;
    gap: 60px;
  }

  .footer__menu:nth-child(1) {
    flex-basis: 100%;
  }

  .footer__brand > div:last-child {
    order: 3;
  }
}
