:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #141b17;
  color: #f9f3e8;
}
*, *::before, *::after { box-sizing: border-box; }
body, p, figure, h1, h2 { margin: 0; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(24px, 4vw, 56px) clamp(24px, 7vw, 112px) 22px;
  overflow: hidden;
  background: #1b221c url("/assets/city-walk.jpg") center / cover no-repeat;
}
.city, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.city { z-index: -2; object-fit: cover; pointer-events: none; }
.hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 22, 16, .95), rgba(13, 22, 16, .80) 45%, rgba(13, 22, 16, .29)),
              linear-gradient(0deg, rgba(13, 22, 16, .90), transparent 29%);
}
.hero-content, .hero-footer { width: 100%; max-width: 1240px; margin-inline: auto; }
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 100px);
  padding-block: clamp(38px, 7vh, 80px);
}
h1 {
  max-width: 13ch;
  font-size: clamp(3.15rem, 6.1vw, 6.35rem);
  font-weight: 780;
  letter-spacing: -.073em;
  line-height: .99;
  text-wrap: balance;
}
.hero-copy p { max-width: 39ch; margin-top: 24px; color: #e3e6d9; font-size: clamp(1rem, 1.65vw, 1.25rem); line-height: 1.55; }
.hero-copy .course-length { display: grid; gap: 2px; margin-top: 22px; }
.course-length strong { color: #f9f3e8; font-size: clamp(1.12rem, 2vw, 1.45rem); }
.course-length span { font-size: .92rem; }
.sample-offer { width: min(100%, 510px); margin-top: 14px; scroll-margin-top: 24px; }
.sample-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 14px 20px;
  border: 1px solid #86e8d7b3;
  border-radius: 14px;
  background: #141b17a6;
  color: #b9f4e9;
  font-size: clamp(1.1rem, 2.15vw, 1.4rem);
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}
.sample-toggle::-webkit-details-marker { display: none; }
.sample-toggle::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); }
.sample-offer[open] .sample-toggle::after { transform: rotate(225deg); }
.sample-toggle:hover { background: #1c3128; }
.sample-form { margin: 0; padding: 16px 0 0; }
.sample-form h2 { font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.15; }
.sample-form p { margin-top: 7px; max-width: none; font-size: .95rem; }
.sample-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 10px; margin-top: 12px; }
.sample-fields label { display: grid; gap: 4px; font-size: .88rem; font-weight: 650; }
.sample-fields input { min-width: 0; width: 100%; min-height: 45px; padding: 8px 10px; border: 1px solid #e3e6d999; border-radius: 9px; background: #101914ec; color: #fff; font: inherit; font-size: 1rem; }
.sample-form .free-download { margin-top: 12px; border: 1px solid #86e8d7b3; background: #141b17a6; color: #b9f4e9; }
.sample-tracks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.sample-tracks a { color: #a5e7ef; text-underline-offset: 3px; }
.phone-demo {
  --sample-text-size: clamp(1.25rem, 2.1vw, 1.65rem);
  width: min(100%, clamp(245px, 35svh, 322px));
  justify-self: center;
}
.phone-demo figcaption {
  margin-bottom: 14px;
  text-align: center;
  white-space: nowrap;
  font-size: var(--sample-text-size);
  font-weight: 730;
}
.phone {
  position: relative;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border: 5px solid #171c19;
  outline: 1px solid #d0ddcb70;
  border-radius: 44px;
  background: #000;
  box-shadow: 0 28px 76px #080d0abb;
}
.phone video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: cover;
}
.lesson-caption {
  position: absolute;
  inset: calc(64% + 3px) 12px auto;
  color: #edf5ff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(.98rem, 2.35vw, 1.3rem);
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
  pointer-events: none;
}
.lesson-prompt {
  position: absolute;
  inset: 16% 14px auto;
  color: #b6e8ff;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 350ms ease-out;
}
.lesson-prompt.is-visible { opacity: 1; transition-duration: 140ms; }
@media (prefers-reduced-motion: reduce) {
  .lesson-prompt, .lesson-prompt.is-visible { transition: none; }
}
.order-button {
  display: inline-block;
  margin-top: 20px;
  padding: .8em 1.15em;
  border: 0;
  border-radius: 100px;
  background: #ddfa83;
  color: #141b17;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.order-button[hidden] { display: none; }
.order-button.buy-button:not([hidden]) {
  display: flex;
  width: min(100%, 510px);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 14px 20px;
  border: 1px solid #e5ffa7;
  border-radius: 14px;
  background: #d3f58a;
  color: #172213;
  font-size: clamp(1.1rem, 2.15vw, 1.4rem);
  line-height: 1.1;
  text-align: left;
}
.order-button.buy-button:hover { background: #e2ffa4; }
.buy-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: none;
  padding-inline-start: 15px;
  border-inline-start: 1px solid #1722133d;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-variant-numeric: tabular-nums;
}
.buy-old-price {
  color: #742920;
  font-size: .76em;
  font-weight: 700;
  text-decoration-color: #b32c22;
  text-decoration-thickness: 1.5px;
}
.offer-panel { position: relative; width: min(100%, 510px); }
.sale-badge {
  width: max-content;
  margin: 20px 0 -10px 9px;
  transform: rotate(-7deg);
  color: #b9f4e9;
  text-transform: uppercase;
  font-family: 'Arial Black', system-ui, sans-serif;
  font-style: italic;
  font-weight: 950;
  font-size: clamp(1.22rem, 3vw, 1.85rem);
  letter-spacing: -.055em;
}
.sale-badge span { text-decoration: underline; text-decoration-color: #86e8d7; text-decoration-thickness: 3px; text-underline-offset: 3px; }
.sale-badge img { width: clamp(118px, 22vw, 164px); height: auto; }
.sale-badge img.sale-graphic-wide { width: clamp(180px, 31vw, 246px); }
.sale-badge img:not([hidden]) { display: block; }
.hero-copy .sale-deadline, .sale-deadline {
  margin-top: 8px;
  color: #e3e6d9;
  font-size: .88rem;
}
.order-button:disabled { opacity: .65; cursor: wait; }
.order-page {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 16px;
  min-height: 100svh;
  max-width: 740px;
  margin: auto;
  padding: 30px;
}
.order-page h1 { font-size: clamp(2.3rem, 7vw, 4rem); }
.order-page p { line-height: 1.55; }
.order-page a:not(.order-button) { color: #f9f3e8; }
.hero-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 13px; color: #e3e6d9; font-size: .72rem; }
.hero-footer a, .hero-footer button { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hero-footer button { margin-inline-start: auto; border: 0; padding: 5px 0; font: inherit; background: none; cursor: pointer; }
@media (width > 690px) {
  .hero-content { padding-block: clamp(26px, 5vh, 64px); }
}
@media (max-width: 690px) {
  .hero::before { background: linear-gradient(180deg, rgba(13, 22, 16, .87), rgba(13, 22, 16, .70) 54%, rgba(13, 22, 16, .85)); }
  .hero-content { grid-template-columns: 1fr; gap: 33px; }
  h1 { font-size: clamp(2.8rem, 10vw, 4.25rem); }
  .hero-copy p { margin-top: 16px; }
  .phone-demo { width: min(100%, clamp(216px, 65vw, 268px)); }
  .phone { border-radius: 38px; }
}
