.itt {
  --itt-shadow-card: 0 2px 8px 0 rgb(0 0 0 / 4%), 0 8px 24px 0 rgb(35 66 204 / 5%);
  --itt-shadow-screen:
    0 12px 50px 0 rgb(0 0 0 / 10%), 0 4px 8px 0 rgb(35 66 204 / 8%), 0 8px 30px 0 rgb(0 0 0 / 13%);

  :where(a:hover) {
    color: var(--brand-blue-800);
  }

  :where(svg[fill='none']) {
    stroke: var(--brand-blue-600);
    flex: none;
  }

  img {
    display: block;
    max-width: 100%;
    height: auto;
  }
}

.itt-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 96px 24px;
}

.itt-section {
  position: relative;
  overflow: hidden;
}

.itt-h1 {
  max-width: 570px;
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.itt-h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.itt-lead {
  max-width: 54ch;
  color: var(--grey-700);
  font-size: 18px;
  line-height: 28px;
}

.itt-intro {
  max-width: 42ch;
  color: var(--grey-700);
  font-size: 17px;
  line-height: 26px;
}

.itt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.itt .itt-btn-secondary {
  background: var(--brand-blue-200);
  color: var(--brand-blue-600);

  svg {
    stroke-width: 1.75;
  }

  &:hover {
    background: var(--brand-blue-300);
    color: var(--brand-blue-800);
  }
}

.itt-btn-meta {
  color: inherit;
  font-size: 13px;
  font-weight: 500;
}

.itt-blob {
  position: absolute;
  pointer-events: none;
}

.itt-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  color: var(--grey-700);
  font-size: 15px;

  li {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.itt-laptop-screen {
  box-sizing: border-box;
  padding: 12px 12px 16px;
  border-radius: 18px 18px 0 0;
  background: var(--grey-900);
  box-shadow: var(--itt-shadow-screen);

  img {
    width: 100%;
    border-radius: 4px;
  }
}

.itt-laptop-base {
  display: flex;
  justify-content: center;
  width: 108%;
  height: 16px;
  box-sizing: border-box;
  margin-left: -4%;
  border-bottom: 2px solid var(--grey-400);
  border-radius: 0 0 14px 14px;
  background: var(--grey-300);
  box-shadow: 0 8px 24px 0 rgb(0 0 0 / 8%);

  &::before {
    content: '';
    width: 16%;
    height: 6px;
    border-radius: 0 0 8px 8px;
    background: var(--grey-400);
  }
}

.itt-phone {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
  border: 7px solid var(--grey-900);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--flow-shadow-500);

  img {
    width: 100%;
    border-radius: 27px;
  }
}

.itt-hero {
  background: linear-gradient(180deg, #fff 0%, #fff 45%, var(--brand-blue-200) 100%);

  .itt-blob-1 {
    top: 40px;
    right: -320px;
    width: 900px;
    height: 640px;
    border-radius: 46% 54% 38% 62%;
    background: var(--brand-blue-300);
    filter: blur(140px);
    opacity: 0.9;
  }

  .itt-blob-2 {
    top: 160px;
    right: -380px;
    width: 620px;
    height: 460px;
    border-radius: 58% 42% 55% 45%;
    background: var(--brand-blue-600);
    filter: blur(160px);
    opacity: 0.55;
  }

  .itt-wrap {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

.itt-hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
  margin-bottom: 64px;
}

.itt-hero-text {
  display: flex;
  flex: 1 1 480px;
  flex-direction: column;
  gap: 24px;
  min-width: 0;

  .itt-actions {
    padding-top: 8px;
  }

  .itt-check-list {
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--grey-300);
  }
}

.itt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px 0 8px;
  border: 1px solid var(--brand-blue-300);
  border-radius: 12px;
  background: #fff;
}

.itt-badge-text {
  display: flex;
  flex-direction: column;
  color: var(--grey-700);
  font-size: 12px;
  line-height: 16px;

  strong {
    color: var(--brand-blue-800);
    font-size: 14px;
    line-height: 18px;
  }
}

.itt-hero-visual {
  position: relative;
  flex: 1.4 1 520px;
  min-width: 0;
  padding: 10% 0 48px;

  .itt-laptop {
    width: 88%;
  }

  .itt-phone {
    width: 24%;
    min-width: 110px;
  }

  .itt-phone-home {
    right: 0;
    bottom: 56px;
  }

  .itt-phone-exercise {
    right: 20%;
    bottom: 0;
  }
}

.itt .landing-trust__logos {
  grid-template-columns: repeat(3, 1fr);

  @media screen and (max-width: 767px) {
    grid-template-columns: repeat(2, 1fr);
  }

  li:nth-child(1) img {
    width: 170px;
  }

  li:nth-child(2) img {
    width: 150px;
  }

  li:nth-child(3) img {
    width: 170px;
  }
}

.itt-start {
  background: linear-gradient(
    180deg,
    var(--brand-blue-200) 0%,
    #fff 40%,
    #fff 70%,
    var(--brand-blue-200) 100%
  );
}

.itt-start-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px 96px;
}

.itt-start-text {
  display: flex;
  flex: 1 1 360px;
  flex-direction: column;
  gap: 32px;
  min-width: 0;

  .itt-h2 {
    max-width: 14ch;
    margin-bottom: 16px;
  }
}

.itt-needs-title {
  margin-bottom: 14px;
  color: var(--grey-500);
  font-family: stratos, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.itt-needs {
  display: flex;
  flex-direction: column;
  gap: 12px;

  li {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

.itt-muted {
  color: var(--grey-500);
}

.itt-steps {
  display: flex;
  flex: 1.3 1 480px;
  flex-direction: column;
  min-width: 0;
  counter-reset: itt-step;

  li {
    display: flex;
    gap: 24px;
    counter-increment: itt-step;
  }
}

.itt-step-marker {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;

  &::before {
    content: counter(itt-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-blue-600);
    color: #fff;
    font-family: stratos, sans-serif;
    font-size: 17px;
    font-weight: 600;
  }

  &::after {
    content: '';
    flex: 1;
    width: 2px;
    min-height: 24px;
    margin: 8px 0;
    background: var(--brand-blue-300);
  }
}

.itt-steps li:last-child .itt-step-marker::after {
  content: none;
}

.itt-step-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 8px 0 40px;
  color: var(--grey-700);

  h3 {
    color: var(--grey-900);
    font-size: 20px;
    line-height: 28px;
  }
}

.itt-step-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
  color: var(--brand-blue-600);
  font-size: 15px;
  line-height: 22px;

  svg {
    margin-top: 2px;
    stroke-width: 1.75;
  }
}

.itt-step-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;

  a {
    font-family: stratos, sans-serif;
    font-weight: 600;
  }
}

.itt-training {
  background: linear-gradient(
    180deg,
    var(--brand-blue-200) 0%,
    var(--brand-blue-200) 75%,
    #fff 100%
  );

  .itt-wrap {
    display: flex;
    flex-direction: column;
    gap: 56px;
  }
}

.itt-training-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 72px;
}

.itt-training-text {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 32px;
  min-width: 0;

  .itt-h2 {
    max-width: 16ch;
    margin-bottom: 16px;
  }

  p {
    max-width: 52ch;
    color: var(--grey-700);
  }
}

.itt-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;

  li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  h3 {
    color: var(--grey-900);
    font-size: 17px;
    line-height: 24px;
  }

  p {
    color: var(--grey-700);
    font-size: 15px;
  }
}

.itt-benefit-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid var(--grey-150);
  border-radius: 12px;
  background: #fff;
}

.itt-training-visual {
  position: relative;
  flex: 0 1 540px;
  min-width: 0;
  max-width: 540px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 110px 80px 0;

  > img {
    width: 100%;
    border-radius: 20px;
    box-shadow:
      0 12px 50px 0 rgb(0 0 0 / 10%),
      0 4px 8px 0 rgb(35 66 204 / 8%);
  }

  .itt-phone {
    border-width: 6px;
  }

  .itt-phone-exercise {
    right: 19%;
    bottom: 36px;
    width: 23%;
    border-radius: 26px;

    img {
      border-radius: 20px;
    }
  }

  .itt-phone-shoulder {
    right: 0;
    bottom: 0;
    width: 26%;
    border-radius: 28px;

    img {
      border-radius: 22px;
    }
  }
}

.itt-overview {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--brand-blue-300);
  font-size: 14px;
  line-height: 20px;
}

.itt-overview-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 15px;
  line-height: 24px;

  strong {
    color: var(--grey-900);
  }
}

.itt-overview-total {
  color: var(--brand-blue-800);

  strong {
    padding: 2px 8px;
    border-radius: 6px;
    background: #fff;
    color: inherit;
  }
}

.itt-overview-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
}

.itt-overview-phase {
  display: flex;
  flex: 0 0 170px;
  flex-direction: column;
  gap: 2px;
  color: var(--grey-700);

  strong {
    color: var(--brand-blue-600);
  }
}

.itt-price {
  color: var(--grey-700);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.itt-overview-units {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.itt-bars {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  align-items: end;
  gap: 4px;
  height: 28px;

  span {
    height: 16px;
    border-radius: 3px;
    background: var(--brand-blue-300);
  }

  span:nth-child(4n) {
    height: 28px;
    background: var(--brand-blue-600);
  }
}

.itt-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--grey-700);

  li {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  li::before {
    content: '';
    flex: none;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--brand-blue-300);
  }

  li:last-child::before {
    background: var(--brand-blue-600);
  }
}

.itt-footnote {
  color: var(--grey-700);
  font-size: 13px;
  line-height: 20px;
}

.itt-platform {
  background: linear-gradient(
    180deg,
    #fff 0%,
    #fff 35%,
    var(--brand-blue-200) 75%,
    var(--grey-100) 100%
  );

  .itt-wrap {
    display: flex;
    flex-direction: column;
    gap: 72px;
  }
}

.itt-platform-intro {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  gap: 40px 64px;

  .itt-laptop {
    flex: 1.7 1 600px;
    min-width: 0;
    padding: 0 3%;
  }
}

.itt-platform-text {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;

  .itt-intro {
    max-width: 40ch;
  }
}

.itt-platform-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 72px;
}

.itt-features {
  display: flex;
  flex: 1 1 380px;
  flex-direction: column;
  gap: 24px;
  min-width: 0;

  li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  h3 {
    color: var(--grey-900);
    font-size: 18px;
    line-height: 26px;
  }

  p {
    color: var(--grey-700);
  }
}

.itt-feature-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand-blue-200);

  svg {
    stroke-width: 1.75;
  }
}

.itt-gallery {
  display: grid;
  flex: 1 1 440px;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;

  li {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--grey-150);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--itt-shadow-card);
  }
}

.itt .itt-gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.itt .itt-gallery-card {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 14px;
  background: var(--grey-200);

  img {
    max-height: 100%;
    width: auto;
    border-radius: 10px;
  }
}

.itt-faq {
  background: var(--grey-100);
}

.itt-faq-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 80px;
}

.itt-faq-intro {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 16px;
  color: var(--grey-700);
  font-size: 15px;

  a {
    font-family: stratos, sans-serif;
    font-weight: 600;
  }
}

.itt-faq-list {
  display: flex;
  flex: 2 1 560px;
  flex-direction: column;
  min-width: 0;

  details {
    padding: 4px 0;
    border-top: 1px solid var(--grey-300);
  }

  summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    color: var(--grey-900);
    font-family: stratos, sans-serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;

    &::-webkit-details-marker {
      display: none;
    }

    svg {
      stroke-width: 1.75;
      transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
    }
  }

  details[open] summary svg {
    transform: rotate(45deg);
  }

  p {
    max-width: 62ch;
    margin-bottom: 20px;
    color: var(--grey-700);
    font-size: 15px;
  }

  @media (prefers-reduced-motion: reduce) {
    summary svg {
      transition: none;
    }
  }
}

.itt-sources {
  max-width: 70ch;
  margin-top: 48px;
  color: var(--grey-500);
  font-size: 13px;
  line-height: 20px;
}

.itt-contact {
  background: var(--brand-blue-200);

  .itt-blob-1 {
    top: -260px;
    right: -240px;
    width: 760px;
    height: 560px;
    border-radius: 52% 48% 60% 40%;
    background: var(--brand-blue-300);
    filter: blur(140px);
    opacity: 0.9;
  }

  .itt-blob-2 {
    top: -120px;
    right: -320px;
    width: 520px;
    height: 380px;
    border-radius: 58% 42% 55% 45%;
    background: var(--brand-blue-600);
    filter: blur(160px);
    opacity: 0.35;
  }

  p,
  .itt-contact-mail {
    color: var(--grey-700);
  }

  .itt-contact-mail a {
    font-family: stratos, sans-serif;
    font-weight: 600;
  }
}

.itt-contact-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;

  > div:first-child {
    display: flex;
    flex: 1 1 480px;
    flex-direction: column;
    gap: 16px;
  }

  p {
    max-width: 50ch;
  }

  .itt-actions {
    gap: 16px 24px;
    font-size: 15px;
  }
}

@media screen and (max-width: 767px) {
  .itt-wrap {
    padding: 64px 20px;
  }

  .itt-hero .itt-wrap {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .itt-hero-visual {
    flex-basis: 100%;
  }

  .itt-hero-grid,
  .itt-overview-grid {
    gap: 40px;
  }

  .itt-start-text,
  .itt-steps,
  .itt-training-text,
  .itt-features,
  .itt-gallery,
  .itt-faq-list,
  .itt-contact-grid > div:first-child {
    flex-basis: 100%;
  }

  .itt-platform-intro .itt-laptop {
    flex-basis: 100%;
  }

  .itt-training-visual {
    padding: 0 22% 64px 0;
  }

  .itt-overview-phase {
    flex: 1 1 140px;
  }

  .itt-overview-units {
    flex-basis: 100%;
    order: -1;
  }
}
