.tflsk-product-page {
  --match-white: #f6f9ff;
  --match-muted: #c9d7e9;
  --match-gold: #ffd66c;
  --match-line: #e6bd655f;
  --match-edge: #061327;
  --hero-slope: clamp(40px, 7vw, 94px);
  --match-angle: polygon(0 0, 100% 0, 100% calc(100% - 19px), calc(100% - 19px) 100%, 0 100%);
  color: var(--match-white);
  background: var(--match-edge);
}

.tflsk-product-page .site-header {
  background: #f6f8fcf7;
  border-color: #b38d38;
}

.tflsk-product-page .site-header .brand { padding: 0; background: transparent; }
.tflsk-product-page .site-header .site-nav a { color: #112943; }
.tflsk-product-page .site-header .nav-toggle { border-color: #27435d59; }
.tflsk-product-page .nav-toggle::before,
.tflsk-product-page .nav-toggle::after { background: #112943; }
.tflsk-product-page #drill,
.tflsk-product-page #languages { scroll-margin-top: calc(var(--header) + 20px); }

.tflsk-match-hero {
  position: relative;
  isolation: isolate;
  z-index: 1;
  overflow: hidden;
  color: var(--match-white);
  background: radial-gradient(ellipse at 82% 36%, #1b467875, transparent 59%),
    linear-gradient(90deg, #030d1bf5 3%, #07172de8 52%, #07172d8c),
    url("../img/tflsk-brand/stadium.webp") center 62% / cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hero-slope)), 0 100%);
}

.tflsk-match-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: calc(var(--hero-slope) + 3px);
  background: #d4a84e;
  clip-path: polygon(0 calc(100% - 2px), 100% 1px, 100% 3px, 0 100%);
  pointer-events: none;
  content: "";
}

.tflsk-match-grid {
  display: grid;
  min-height: clamp(640px, 60vw, 815px);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(15px, 3vw, 52px);
  padding-top: calc(var(--header) + 26px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.tflsk-match-copy {
  position: relative;
  z-index: 2;
}

.tflsk-match-copy h1 {
  max-width: none;
  font-size: clamp(3.2rem, 6.3vw, 6.8rem);
  line-height: .94;
  letter-spacing: -.064em;
}

.tflsk-match-copy h1 span { color: var(--match-gold); }
.tflsk-match-copy p {
  max-width: 46ch;
  margin: 25px 0 0;
  color: #e1ebf7;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.tflsk-gold-button.btn {
  --launch-button-text: #0a182b;
  --launch-button: #f8d267;
  --launch-button-hover: #ffe5a2;
  min-height: 46px;
  color: #0a182b;
  background: #f8d267;
  border: 1px solid #f8d267;
  border-radius: 3px;
  box-shadow: none;
}

.tflsk-gold-button.btn:hover { color: #0a182b; background: #ffe5a2; }

.tflsk-match-art {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 555px;
  aspect-ratio: 1.06;
  justify-self: center;
}

.tflsk-match-phone {
  position: absolute;
  width: 35%;
  height: auto;
  border: 1px solid #e5bf68;
  border-radius: clamp(12px, 2vw, 23px);
  box-shadow: 0 20px 44px #020710ab;
}

.tflsk-match-lesson {
  left: 5%;
  bottom: 12%;
  transform: rotate(-9deg);
}

.tflsk-match-home {
  z-index: 1;
  left: 35%;
  bottom: 10%;
  transform: rotate(7deg);
}

.tflsk-match-coach {
  position: absolute;
  z-index: 2;
  right: -6%;
  bottom: 5%;
  width: 46%;
  height: auto;
  filter: drop-shadow(0 12px 17px #000a);
  pointer-events: none;
}

.tflsk-situations#features {
  margin-top: calc(-1 * var(--hero-slope));
  padding-top: calc(var(--hero-slope) + var(--hero-slope) + 30px);
  background: linear-gradient(100deg, #041328f7 8%, #082030e0 77%),
    url("../img/pitch-overhead-v1.webp") center / cover;
}

.tflsk-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  align-items: end;
  gap: 20px 43px;
  margin-bottom: 30px;
}

.tflsk-section-intro p,
.tflsk-competition-copy p {
  max-width: 49ch;
  margin: 0;
  color: var(--match-muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.tflsk-situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  margin-bottom: 23px;
}

.tflsk-situation {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 275px;
  align-items: end;
  padding: 26px 20px 19px;
  background: #122640;
  border: 1px solid var(--match-line);
  clip-path: var(--match-angle);
  overflow: hidden;
}

.tflsk-situation::before,
.tflsk-situation img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tflsk-situation::before {
  z-index: 0;
  background: linear-gradient(0deg, #051326 7%, #051326f0 32%, #06172a26 90%);
  content: "";
}

.tflsk-situation img { object-fit: cover; }
.tflsk-situation > div { z-index: 1; }
.tflsk-situation h3 { color: var(--match-gold); font-size: clamp(1.35rem, 2.1vw, 2rem); }
.tflsk-situation ul {
  display: grid;
  gap: 3px;
  margin: 13px 0 0;
  padding-left: 1.1em;
  color: var(--match-white);
  font-size: .91rem;
}
.tflsk-situation li::marker { color: var(--match-gold); }

.tflsk-drill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 35% 62%, #35669061, transparent 63%),
    linear-gradient(112deg, #102c4be0 12%, #061329ee 77%),
    url("../img/scenes/hero-coaching.webp") center 44% / cover;
  border-block: 1px solid var(--match-line);
}

.tflsk-drill-grid,
.tflsk-competition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
}

.tflsk-drill-copy {
  position: relative;
  min-height: 380px;
  align-content: center;
  padding-right: 40%;
}

.tflsk-drill-copy h2 { position: relative; z-index: 1; }

.tflsk-drill-copy > p {
  position: relative;
  z-index: 1;
  max-width: 30ch;
  margin: 17px 0 0;
  color: var(--match-muted);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
}

.tflsk-drill-copy strong { color: var(--match-gold); white-space: nowrap; }

.tflsk-drill-coach {
  position: absolute;
  z-index: 0;
  right: -12%;
  bottom: -13%;
  width: min(66%, 350px);
  height: auto;
  filter: drop-shadow(0 16px 22px #000a);
  pointer-events: none;
}

.tflsk-drill-form,
.tflsk-drill-fallback {
  padding: clamp(20px, 4vw, 37px);
  background: linear-gradient(154deg, #112846 0%, #08182d 54%);
  border: 1px solid #b99654;
  border-top: 3px solid var(--match-gold);
  border-radius: 3px 17px 3px 17px;
  box-shadow: 0 20px 45px #030b17a6;
}

.tflsk-drill-form fieldset { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.tflsk-drill-form legend { margin-bottom: 18px; color: #f1f6ff; font-size: clamp(1.18rem, 1.8vw, 1.6rem); font-weight: 850; }
.tflsk-drill-form label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  padding: 8px 13px;
  background: linear-gradient(90deg, #193759, #112643);
  border: 1px solid #6f8aab69;
  border-radius: 3px;
  cursor: pointer;
}

.tflsk-drill-form label:focus-within,
.tflsk-drill-form label:has(input:checked) {
  background: linear-gradient(90deg, #413928, #172a41);
  border-color: var(--match-gold);
}
.tflsk-drill-form input { width: 17px; height: 17px; margin: 0; accent-color: var(--match-gold); }
.tflsk-drill-feedback { min-height: 3em; margin: 12px 0 0; color: #f4d37f; }
.tflsk-drill-feedback[data-result="correct"] { color: #b1edcb; }

.tflsk-competition {
  overflow: hidden;
  background: radial-gradient(ellipse at 26% 60%, #1e4a7455, transparent 51%),
    linear-gradient(90deg, #040f20f0, #071a30ed 66%),
    url("../img/tflsk-brand/stadium.webp") center / cover;
}

.tflsk-competition-art {
  position: relative;
  isolation: isolate;
  width: min(100%, 460px);
  aspect-ratio: 1.25;
  justify-self: center;
}

.tflsk-competition-art::before {
  position: absolute;
  z-index: -1;
  inset: 8% -4% 4%;
  background: linear-gradient(140deg, #102b4280, #051b27a6),
    #0d3228 url("../img/pitch-overhead-v1.webp") center / cover;
  border: 1px solid #98804a80;
  clip-path: polygon(0 13%, 100% 0, 100% 87%, 0 100%);
  content: "";
}

.tflsk-league-screen {
  position: absolute;
  left: 31%;
  bottom: 2%;
  width: 35%;
  height: auto;
  border: 1px solid #caab5f;
  border-radius: 14px;
  box-shadow: 0 16px 33px #0009;
  transform: rotate(-8deg);
}

.tflsk-trophy-main,
.tflsk-trophy-side {
  position: absolute;
  bottom: 0;
  width: 41%;
  height: auto;
  filter: drop-shadow(0 10px 10px #0009);
}

.tflsk-trophy-main { right: 0; }
.tflsk-trophy-side { left: 1%; bottom: 5%; width: 38%; }
.tflsk-competition-copy p { margin: 19px 0 22px; }

.tflsk-product-page .tflsk-languages {
  background: linear-gradient(92deg, #07182bea, #0a1f34a6),
    #07182b url("../img/pitch-overhead-v1.webp") center / cover no-repeat;
}
.tflsk-product-page .tflsk-languages .hero-player { border-radius: 4px 18px 4px 18px; }
.tflsk-product-page .tflsk-languages .hero-player > img { object-position: center 68%; }

.tflsk-language-controls { margin-top: 24px; }
.tflsk-language-controls .hero-autoplay-play,
.tflsk-language-controls [data-paused="true"] .hero-autoplay-pause { display: none; }
.tflsk-language-controls [data-paused="true"] .hero-autoplay-play { display: block; }

.tflsk-gallery-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  text-align: left;
}

.tflsk-gallery-heading h2 { margin: 0; font-size: clamp(1.65rem, 4.7vw, 3.85rem); }
.tflsk-product-page .app-screen-tour { padding-top: clamp(32px, 4.5vw, 68px); }

.tflsk-gallery-controls:not([hidden]) {
  display: flex;
  flex: none;
  gap: 9px;
}

.tflsk-gallery-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--match-gold);
  background: #102a49;
  border: 1px solid var(--match-gold);
  border-radius: 3px;
}

.tflsk-gallery-controls button:hover:enabled { color: #081629; background: var(--match-gold); }
.tflsk-gallery-controls button:disabled { opacity: .46; cursor: default; }
.tflsk-gallery-controls button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; }

.tflsk-product-page .tflsk-founder {
  color: #10233d;
  background: #eff4fa;
  border-left: 0;
  border-right: 0;
}

.tflsk-founder .story-copy p { color: #344d6a; }
.tflsk-founder .story-copy .btn { color: #fff; background: #10345b; border-radius: 3px; }
.tflsk-founder .story-video { aspect-ratio: 16 / 10; background: #071528; object-fit: contain; }
.tflsk-founder .story-video-shell::after { border-color: #c7a65f; }
.tflsk-founder .video-cover > img { object-position: center; }
.tflsk-product-page .tflsk-finish {
  background: radial-gradient(ellipse at 50% 100%, #1e4973, transparent 72%), #07192e;
}

.tflsk-finish-icon {
  width: 64px;
  height: auto;
  margin: 0 auto 17px;
  border: 1px solid var(--match-line);
  border-radius: 15px;
}

@media (max-width: 900px) {
  .tflsk-match-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 28px;
    padding-top: calc(var(--header) + clamp(32px, 6vw, 55px));
    padding-bottom: max(48px, var(--hero-slope));
    text-align: center;
  }
  .tflsk-match-copy h1 { font-size: clamp(2.85rem, 10vw, 5.3rem); }
  .tflsk-match-copy p { margin: 19px auto 0; }
  .tflsk-match-copy .launch-actions { justify-content: center; }
  .tflsk-match-art { width: min(96%, 465px); }
  .tflsk-drill-copy { min-height: 300px; }
}

@media (max-width: 650px) {
  .tflsk-section-intro,
  .tflsk-situation-grid,
  .tflsk-drill-grid,
  .tflsk-competition-grid { grid-template-columns: minmax(0, 1fr); }
  .tflsk-situation { min-height: 215px; }
  .tflsk-drill-copy { min-height: 236px; padding-right: 38%; }
  .tflsk-drill-coach { right: -8%; bottom: -9%; width: min(54%, 220px); }
  .tflsk-competition-art { order: 1; margin-top: 16px; }
}
