.courses-figma {
  --courses-ink: #181512;
  --courses-brown: #493737;
  --courses-yellow: #fff2b6;
  --courses-cream: #f1eee7;
  overflow: clip;
  background: #fff;
  color: var(--courses-ink);
}

.courses-figma :is(h1, h2, h3, p, figure, ul) {
  margin: 0;
}

.courses-figma img {
  display: block;
  max-width: 100%;
}

.courses-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

[data-course-reveal] {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(.2, .72, .2, 1);
}

[data-course-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.courses-plane {
  position: relative;
  min-height: clamp(32rem, 48vw, 45rem);
  overflow: hidden;
  background: #b3a18e;
}

.courses-plane__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

/* The source video includes a small floating logo over the centre seat.
   Blend the clean source still over only that area so the animation remains intact. */
.courses-plane__logo-cleanup {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url("/figma-courses/airplane-cabin.png") 50% 48% / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 6% 4.3% at 49.5% 38.3%, #000 54%, transparent 100%);
  mask-image: radial-gradient(ellipse 6% 4.3% at 49.5% 38.3%, #000 54%, transparent 100%);
}

.courses-plane__logo-blackout {
  display: none;
}

.courses-plane__screens {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.courses-plane-screen {
  position: absolute;
  height: 16.5%;
  display: grid;
  justify-items: center;
  align-content: center;
  filter: drop-shadow(0 .15rem .18rem rgba(0, 0, 0, .35));
  transform-origin: center;
  animation: coursesScreenPulse 4.6s ease-in-out infinite;
}

.courses-plane-screen__title {
  width: 58%;
  max-height: 68%;
  object-fit: contain;
}

.courses-plane-screen__number {
  width: 45%;
  max-height: 32%;
  margin-top: -1%;
  object-fit: contain;
}

.courses-plane-screen--left {
  top: 16.7%;
  left: 14.8%;
  width: 15.8%;
  transform: perspective(40rem) rotateY(2deg) rotate(-.3deg);
}

.courses-plane-screen--center {
  top: 16.6%;
  left: 39.2%;
  width: 15.4%;
  animation-delay: -.8s;
}

.courses-plane-screen--right {
  top: 16.7%;
  left: 62.4%;
  width: 15.3%;
  animation-delay: -1.6s;
}

.courses-plane-screen--far-right {
  top: 16.9%;
  left: 83.2%;
  width: 14.5%;
  animation-delay: -2.4s;
}

@keyframes coursesScreenPulse {
  0%, 100% { filter: brightness(.92) drop-shadow(0 .15rem .18rem rgba(0, 0, 0, .35)); }
  50% { filter: brightness(1.12) drop-shadow(0 0 .55rem rgba(255, 255, 255, .18)); }
}

.courses-date-marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-block: 1px solid var(--courses-ink);
  background: var(--courses-yellow);
  padding-block: .7rem;
}

.courses-date-marquee__track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  animation: coursesMarquee 24s linear infinite;
}

.courses-date-marquee__track span {
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}

@keyframes coursesMarquee {
  to { transform: translateX(-50%); }
}

.courses-live {
  position: relative;
  overflow: hidden;
  background: #171612;
}

.courses-live__banner {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5;
  object-fit: contain;
}

.courses-chrome,
.courses-offer {
  background-color: #2b1d1a;
  background-image: linear-gradient(rgba(32, 20, 18, .04), rgba(32, 20, 18, .2)), url("/figma-courses/brown-satin.png");
  background-size: cover;
  background-position: center;
}

.courses-chrome {
  min-height: clamp(38rem, 72vw, 68rem);
  display: grid;
  place-items: center;
  padding: clamp(4rem, 8vw, 8rem) var(--tbt-gutter);
}

.courses-chrome__wordmark {
  position: relative;
  width: min(76rem, 90vw);
  display: grid;
  justify-items: center;
}

.courses-chrome__title {
  width: min(64rem, 88vw);
  filter: drop-shadow(0 .35rem .45rem rgba(0, 0, 0, .28));
}

.courses-chrome__two {
  width: min(22rem, 34vw);
  margin-top: -17%;
  margin-left: 40%;
  filter: drop-shadow(0 .35rem .45rem rgba(0, 0, 0, .28));
}

.courses-offer {
  position: relative;
  min-height: clamp(58rem, 82vw, 77rem);
  display: grid;
  grid-template-columns: minmax(22rem, .9fr) minmax(34rem, 1.1fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 6vw, 7rem) 0;
}

.courses-offer__machine {
  align-self: end;
  justify-self: center;
  width: min(34rem, 100%);
  margin-bottom: -1rem;
}

.courses-offer__machine img {
  width: 100%;
  max-height: 73rem;
  object-fit: contain;
  object-position: bottom;
}

.courses-offer__card {
  align-self: center;
  width: min(47rem, 100%);
  margin-bottom: clamp(3rem, 7vw, 8rem);
  background: var(--courses-yellow);
  padding: clamp(2rem, 4.3vw, 4.6rem);
  color: var(--courses-brown);
  text-align: center;
}

.courses-offer__card h2 {
  font-size: clamp(2.5rem, 4.8vw, 5.6rem);
  letter-spacing: -.07em;
  line-height: .89;
}

.courses-offer__format {
  margin-top: 1.2rem !important;
  font-family: "TBT Editorial", Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 4rem);
  font-style: italic;
  line-height: 1;
}

.courses-offer__format span {
  position: relative;
  display: inline-block;
}

.courses-offer__format span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.08em;
  left: 0;
  border-bottom: .08em solid currentColor;
  transform: rotate(-2deg);
}

.courses-offer__format em {
  position: relative;
  font-weight: 400;
}

.courses-offer__format em::after,
.courses-offer__facts strong span::after {
  content: "";
  position: absolute;
  inset: -.1em -.26em;
  border: .06em solid currentColor;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.courses-offer__learn {
  max-width: 30ch;
  margin: clamp(1.5rem, 3vw, 3rem) auto 0 !important;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.15;
}

.courses-offer__facts {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1.5rem;
  margin-top: clamp(1.7rem, 3vw, 3rem);
  padding-block: 1.6rem;
  border-block: 1px solid currentColor;
}

.courses-offer__facts p {
  font-size: clamp(.9rem, 1.25vw, 1.15rem);
  line-height: 1.25;
}

.courses-offer__facts strong {
  font-size: 1.1em;
}

.courses-offer__facts strong span {
  position: relative;
  display: inline-block;
}

.courses-offer__price {
  display: grid;
  justify-items: center;
  gap: .2rem;
  padding-block: 1.5rem 1.1rem;
}

.courses-offer__was {
  position: relative;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
}

.courses-offer__was::after {
  content: "";
  position: absolute;
  top: 49%;
  right: -.3em;
  left: -.3em;
  border-top: .08em solid currentColor;
  transform: rotate(-9deg);
}

.courses-offer__price > div {
  position: relative;
  width: min(24rem, 75%);
}

.courses-offer__price img {
  width: 100%;
}

.courses-offer__price em {
  position: absolute;
  right: -1.1rem;
  bottom: -.2rem;
  font-family: "TBT Editorial", Georgia, serif;
  font-size: clamp(2rem, 3.3vw, 4rem);
  font-weight: 400;
  transform: rotate(-7deg);
}

.courses-button {
  min-height: 3.8rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--courses-brown);
  border-radius: 999px;
  background: var(--courses-brown);
  padding: .95rem 2.3rem;
  color: var(--courses-yellow) !important;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.courses-button:hover,
.courses-button:focus-visible {
  transform: translateY(-.16rem);
  box-shadow: 0 .7rem 1.4rem rgba(45, 30, 28, .16);
}

.courses-button--yellow {
  background: var(--courses-yellow);
  color: var(--courses-brown) !important;
}

.courses-countdown {
  display: grid;
  gap: .15rem;
  margin-top: 1.5rem;
  font-size: .78rem;
  letter-spacing: .05em;
}

.courses-countdown strong {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 400;
  letter-spacing: .03em;
}

.courses-learn {
  min-height: clamp(42rem, 52vw, 47rem);
  display: grid;
  grid-template-columns: minmax(27rem, .9fr) minmax(32rem, 1.1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  background: #faf7e8;
  padding: clamp(2.5rem, 3.5vw, 3.5rem) 0 clamp(2.5rem, 3.5vw, 3.5rem) clamp(2rem, 11vw, 10.75rem);
}

.courses-learn__copy {
  width: min(33rem, 100%);
}

.courses-learn__copy h2 {
  display: grid;
  gap: 0;
}

.courses-learn__copy h2 span {
  display: block;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  letter-spacing: -.025em;
  line-height: 1.05;
}

.courses-learn__copy h2 span:last-child {
  display: flex;
  align-items: baseline;
  gap: .65rem;
}

.courses-learn__copy h2 em {
  display: inline-block;
  margin: 0;
  font-family: "TBT Editorial", Georgia, serif;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-3deg);
}

.courses-learn__duration {
  margin-top: 2rem !important;
  font-size: clamp(1.2rem, 1.65vw, 1.65rem);
  font-weight: 700;
  line-height: 1.05 !important;
}

.courses-learn__duration span {
  position: relative;
  display: inline-block;
}

.courses-learn__duration span::after {
  content: "";
  position: absolute;
  inset: -.35em -.4em;
  border: .1em solid currentColor;
  border-radius: 50%;
  transform: rotate(-5deg);
}

.courses-learn__copy ul {
  display: grid;
  gap: 1.05rem;
  margin-block: 2rem 2.5rem;
  padding: 0;
  font-size: clamp(.9rem, 1.05vw, 1rem);
  line-height: 1.3;
  list-style: none;
}

.courses-learn__copy li {
  position: relative;
  padding-left: 1.25rem;
}

.courses-learn__copy li::before {
  content: "→";
  position: absolute;
  top: 0;
  left: 0;
}

.courses-money {
  width: 100%;
  display: grid;
  place-items: center;
}

.courses-money__static {
  display: block;
  width: min(100%, 41rem);
  height: auto;
  object-fit: contain;
}

.courses-host {
  min-height: clamp(51rem, 67vw, 65rem);
  display: grid;
  grid-template-columns: minmax(30rem, .98fr) minmax(30rem, 1.02fr);
  gap: clamp(2rem, 5vw, 7rem);
  align-items: center;
  background: #fff;
  padding: clamp(4rem, 7vw, 7rem) var(--tbt-gutter);
}

.courses-host__portrait {
  position: relative;
  min-height: clamp(42rem, 58vw, 60rem);
  display: grid;
  grid-template-rows: auto auto auto;
  gap: clamp(1.75rem, 3vw, 3rem);
  align-content: center;
  overflow: hidden;
  padding-block: 1rem;
}

.courses-host__home-animation {
  margin: 0 auto;
}

.courses-host__label {
  position: relative;
  z-index: 5;
  width: max-content;
  font-family: "TBT Editorial", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 2.65rem);
  font-style: italic;
  line-height: .95;
}

.courses-host__label::after {
  content: "";
  position: absolute;
  inset: -.25em -.4em;
  border: .055em solid currentColor;
  border-radius: 50%;
  transform: rotate(-5deg);
}

.courses-host__label--top {
  top: auto;
  left: auto;
  justify-self: start;
  margin-left: .5rem;
  transform: rotate(-6deg);
}

.courses-host__label--bottom {
  right: auto;
  bottom: auto;
  justify-self: end;
  margin-right: .5rem;
  transform: rotate(-4deg);
}

.courses-host__copy {
  width: min(45rem, 100%);
}

.courses-host__copy h2 {
  display: grid;
  margin-bottom: 2.2rem;
}

.courses-host__copy h2 span {
  position: relative;
  justify-self: start;
  font-size: clamp(2.6rem, 5.2vw, 6.2rem);
  letter-spacing: -.075em;
  line-height: .95;
}

.courses-host__copy h2 span::after {
  content: "";
  position: absolute;
  inset: -.1em -.18em;
  border: .035em solid currentColor;
  border-radius: 50%;
  transform: rotate(-3deg);
}

.courses-host__copy h2 em {
  margin-top: .15em;
  font-family: "TBT Editorial", Georgia, serif;
  font-size: clamp(1.85rem, 3.7vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.courses-host__copy p {
  max-width: 42rem;
  margin-top: 1.25rem !important;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.45;
}

.courses-host__copy .courses-button {
  margin-top: 2.25rem;
}

.courses-faq {
  position: relative;
  min-height: clamp(52rem, 68vw, 69rem);
  background: #49413a url("/figma-courses/faq-crosswalk.png") center / cover no-repeat;
  padding: clamp(4rem, 7vw, 7rem) var(--tbt-gutter);
}

.courses-faq__overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 29, 25, .5);
}

.courses-faq__inner {
  position: relative;
  z-index: 1;
  width: min(64rem, 100%);
  display: grid;
  justify-items: center;
  margin-inline: auto;
  color: #fff;
}

.courses-faq h2 {
  margin-bottom: clamp(2rem, 4vw, 4rem);
  font-size: clamp(4.3rem, 8vw, 9rem);
  letter-spacing: -.08em;
  line-height: 1;
}

.courses-faq h2 span {
  position: relative;
  display: inline-block;
}

.courses-faq h2 span::after {
  content: "";
  position: absolute;
  inset: -.08em -.19em;
  border: .035em solid currentColor;
  border-radius: 50%;
  transform: rotate(-5deg);
}

.courses-faq__list {
  width: 100%;
  border: 2px solid var(--courses-brown);
}

.courses-faq__item + .courses-faq__item {
  border-top: 2px solid var(--courses-brown);
}

.courses-faq__item {
  background-color: #faf9f5;
  color: var(--courses-ink);
  transition: background-color 180ms ease;
}

.courses-faq__item:has(button[aria-expanded="true"]) {
  background-color: var(--courses-yellow);
}

.courses-faq__item h3 {
  font: inherit;
}

.courses-faq__item button {
  width: 100%;
  min-height: 4.9rem;
  display: grid;
  grid-template-columns: 1fr 2rem;
  gap: 1rem;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 1rem 1.5rem;
  color: inherit;
  font: inherit;
  font-size: clamp(.82rem, 1.1vw, 1.05rem);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.courses-faq__item button i {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  justify-self: end;
}

.courses-faq__item button i::before,
.courses-faq__item button i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 2px solid currentColor;
  transition: transform 180ms ease;
}

.courses-faq__item button i::after {
  transform: rotate(90deg);
}

.courses-faq__item button[aria-expanded="true"] i::after {
  transform: rotate(0);
}

.courses-faq__answer {
  padding: 0 4.5rem 1.5rem 1.5rem;
}

.courses-faq__answer p {
  max-width: 47rem;
  font-size: clamp(.88rem, 1.1vw, 1rem);
  line-height: 1.45;
}

.courses-button--outline {
  margin-top: 2.7rem;
  border-color: var(--courses-yellow);
  background: rgba(73, 55, 55, .92);
  color: var(--courses-yellow) !important;
}

@media (min-width: 48rem) {
  .courses-offer__card > .courses-button {
    min-width: 18rem;
  }
}

@media (max-width: 70rem) {
  .courses-offer,
  .courses-learn,
  .courses-host {
    grid-template-columns: 1fr;
  }

  .courses-offer {
    padding-bottom: 4rem;
  }

  .courses-offer__machine {
    width: min(29rem, 75vw);
  }

  .courses-offer__card,
  .courses-learn__copy,
  .courses-host__copy {
    justify-self: center;
  }

  .courses-learn {
    padding: 4rem clamp(1.25rem, 5vw, 3.5rem) 2rem;
  }

  .courses-money {
    width: min(43rem, 100%);
    justify-self: center;
  }

  .courses-host__portrait {
    width: min(42rem, 100%);
    justify-self: center;
  }
}

@media (max-width: 47.99rem) {
  .courses-plane {
    min-height: 28rem;
  }

  .courses-plane__video {
    width: 100%;
    left: 0;
    max-width: 100%;
    object-position: center;
  }

  .courses-plane-screen--left,
  .courses-plane-screen--far-right {
    display: none;
  }

  .courses-plane-screen--center {
    top: 16.8%;
    left: 19%;
    width: 26%;
  }

  .courses-plane-screen--right {
    top: 16.8%;
    left: 58%;
    width: 26%;
  }

  .courses-live {
    min-height: 0;
  }

  .courses-chrome {
    min-height: 34rem;
    padding-inline: 1rem;
  }

  .courses-chrome__two {
    width: 44vw;
    margin-top: -13%;
    margin-left: 33%;
  }

  .courses-offer {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 1rem;
  }

  .courses-offer__machine {
    width: min(24rem, 88vw);
  }

  .courses-offer__card {
    padding: 2.1rem 1.3rem;
  }

  .courses-offer__facts {
    grid-template-columns: 1fr;
  }

  .courses-learn {
    grid-template-columns: minmax(0, 1fr);
    padding: 4rem 1.25rem 1rem;
  }

  .courses-money__static {
    width: min(100%, 32rem);
  }

  .courses-host {
    grid-template-columns: minmax(0, 1fr);
    padding: 4rem 1.25rem;
  }

  .courses-host__portrait {
    min-height: 35rem;
  }

  .courses-host__label--bottom {
    right: 3%;
  }

  .courses-faq {
    background-position: 48% center;
    padding-inline: 1rem;
  }

  .courses-faq__item button {
    min-height: 4.5rem;
    padding-inline: 1rem;
  }

  .courses-faq__answer {
    padding-inline: 1rem 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .courses-plane-screen,
  .courses-date-marquee__track {
    animation: none;
  }

  [data-course-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Figma offer scene: one continuous satin composition, not a separate card. */
.courses-offer {
  position: relative;
  min-height: clamp(68rem, 86vw, 87rem);
  display: block;
  overflow: hidden;
  padding: 1rem clamp(1.4rem, 10.2vw, 10.2rem) 0;
  background-color: #211511;
  background-image:
    linear-gradient(rgba(22, 13, 10, .08), rgba(22, 13, 10, .13)),
    url("/figma-courses/brown-satin.png");
  background-position: center;
  background-size: cover;
  color: var(--courses-yellow);
}

.courses-offer__chrome {
  position: relative;
  width: min(84vw, 80rem);
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 .25rem .25rem rgba(0, 0, 0, .35));
}

.courses-offer__chrome-title {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.courses-offer__stage {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 49%);
  gap: 9%;
  align-items: start;
  margin-top: clamp(6.5rem, 8.3vw, 8rem);
}

.courses-offer__machine {
  position: relative;
  width: 96%;
  max-width: none;
  justify-self: start;
  margin: 0;
}

.courses-offer__machine .courses-offer__machine-art {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top;
  clip-path: inset(0 0 3.2% 0);
  margin-bottom: -3.2%;
  outline: 0;
}

.courses-offer__machine-fallback {
  display: block;
  opacity: 1;
  transition: opacity .2s ease;
}

.courses-offer__machine-source {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.courses-offer__machine-canvas {
  position: absolute;
  inset: 0;
  display: block;
  background: transparent;
  opacity: 0;
  transition: opacity .2s ease;
}

.courses-offer__machine.is-video-ready .courses-offer__machine-fallback {
  opacity: 0;
}

.courses-offer__machine.is-video-ready .courses-offer__machine-canvas {
  opacity: 1;
}

.courses-offer__copy {
  align-self: start;
  width: 110%;
  padding-top: clamp(.25rem, 1.25vw, 1.35rem);
  color: var(--courses-yellow);
  text-align: left;
}

.courses-offer__copy h2 {
  max-width: 12ch;
  color: var(--courses-yellow);
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 3.5vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
}

.courses-offer__format {
  margin-top: clamp(2.8rem, 4.5vw, 4.7rem) !important;
  color: var(--courses-yellow);
  font-family: var(--font-body);
  font-size: clamp(1.95rem, 2.85vw, 3rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}

.courses-offer__format span::after {
  bottom: -.2em;
  border-bottom-width: .045em;
  transform: rotate(0deg);
}

.courses-offer__format em {
  display: inline-block;
  font-style: normal;
  font-weight: 700;
}

.courses-offer__format em::after {
  inset: -.13em -.2em;
  border-width: .045em;
  transform: rotate(-7deg);
}

.courses-offer__learn {
  max-width: none;
  margin: clamp(3rem, 4.5vw, 4.7rem) 0 0 !important;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 1.72vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.courses-offer__learn em {
  font-family: "TBT Editorial", Georgia, serif;
  font-size: 1.18em;
  font-weight: 400;
}

.courses-offer__learn em span {
  position: relative;
  display: inline-block;
}

.courses-offer__learn em span::after {
  content: "";
  position: absolute;
  inset: -.08em -.16em;
  border: .045em solid var(--courses-yellow);
  border-radius: 50%;
  transform: rotate(7deg);
}

.courses-offer__facts {
  display: grid;
  grid-template-columns: auto auto;
  gap: clamp(1.2rem, 2.2vw, 2.5rem);
  justify-content: space-between;
  align-items: start;
  margin-top: clamp(3rem, 4.7vw, 5rem);
  padding: 0;
  border: 0;
}

.courses-offer__date {
  color: #fff;
  font-family: "TBT Calming", Didot, "Bodoni MT", serif;
  font-size: clamp(1.95rem, 2.65vw, 2.8rem) !important;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1;
  white-space: nowrap;
}

.courses-offer__date span {
  position: relative;
  display: inline-block;
  margin-inline: .12em;
}

.courses-offer__date span::after {
  content: "";
  position: absolute;
  inset: -.12em -.2em;
  border: .04em solid var(--courses-yellow);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.courses-offer__date::after {
  content: "";
  display: block;
  width: 45%;
  margin-top: .2em;
  margin-left: 52%;
  border-bottom: .045em solid var(--courses-yellow);
  transform: rotate(.5deg);
}

.courses-offer__venue,
.courses-offer__time {
  color: var(--courses-yellow);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.45vw, 1.4rem) !important;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15 !important;
}

.courses-offer__venue {
  margin-top: .65rem !important;
}

.courses-offer__time {
  padding-top: .1rem;
  white-space: nowrap;
}

.courses-offer__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.5rem, 1.4vw, 1.4rem);
  margin-top: clamp(2rem, 3.5vw, 3.6rem);
  padding: 0;
}

.courses-offer__was {
  color: var(--courses-yellow);
  font-family: "TBT Calming", Didot, "Bodoni MT", serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 1;
}

.courses-offer__was::after {
  border-top-width: .055em;
}

.courses-offer__price > div {
  width: min(21rem, 48%);
}

.courses-offer__price .courses-offer__chrome-price {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.courses-offer__price .courses-offer__currency {
  width: 29%;
  flex: none;
}

.courses-offer__price .courses-offer__numerals {
  width: 78%;
  flex: none;
  margin-right: -20%;
  clip-path: inset(0 27% 0 0);
  outline: 0;
}

.courses-offer__price em {
  right: -.25em;
  bottom: -.58em;
  color: #fff;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  transform: rotate(-4deg);
}

.courses-offer__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 3.5vw, 4rem);
  margin-top: clamp(2rem, 3.3vw, 3.5rem);
}

.courses-offer__actions .courses-button {
  min-width: clamp(16rem, 22vw, 22rem);
  min-height: clamp(4rem, 5.2vw, 5.3rem);
  border: 0;
  background: var(--courses-yellow);
  padding-inline: 2rem;
  color: var(--courses-brown) !important;
  font-size: clamp(.95rem, 1.2vw, 1.25rem);
  font-weight: 500;
}

.courses-offer__actions .courses-countdown {
  gap: .05rem;
  margin: 0;
  color: var(--courses-yellow);
  text-align: left;
}

.courses-offer__actions .courses-countdown span {
  font-size: clamp(.68rem, .95vw, .95rem);
  letter-spacing: .01em;
}

.courses-offer__actions .courses-countdown strong {
  color: var(--courses-yellow);
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
}

@media (max-width: 70rem) {
  .courses-offer {
    min-height: 0;
    padding: 3.5rem clamp(1.25rem, 5vw, 3.5rem) 4.5rem;
  }

  .courses-offer__chrome {
    width: min(92vw, 60rem);
  }

  .courses-offer__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
    margin-top: 4rem;
  }

  .courses-offer__machine {
    width: min(34rem, 78vw);
    justify-self: center;
  }

  .courses-offer__copy {
    width: min(47rem, 100%);
    justify-self: center;
    padding-top: 0;
  }
}

@media (max-width: 47.99rem) {
  .courses-offer {
    padding: 2.6rem 1rem 4rem;
  }

  .courses-offer__chrome {
    width: 100%;
  }

  .courses-offer__stage {
    margin-top: 3rem;
  }

  .courses-offer__machine {
    width: min(27rem, 94vw);
  }

  .courses-offer__copy {
    padding-inline: .25rem;
  }

  .courses-offer__copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .courses-offer__format {
    margin-top: 2.6rem !important;
    font-size: clamp(1.45rem, 7.3vw, 2.3rem);
  }

  .courses-offer__learn {
    margin-top: 2.6rem !important;
  }

  .courses-offer__facts {
    grid-template-columns: 1fr;
    margin-top: 2.8rem;
  }

  .courses-offer__date {
    font-size: clamp(1.65rem, 8.2vw, 2.45rem) !important;
  }

  .courses-offer__time {
    padding-top: 0;
  }

  .courses-offer__price {
    justify-content: flex-start;
  }

  .courses-offer__price > div {
    width: min(16rem, 58%);
  }

  .courses-offer__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1.5rem;
  }

  .courses-offer__actions .courses-button {
    width: 100%;
  }

  .courses-offer__actions .courses-countdown {
    align-self: center;
    text-align: center;
  }
}
