@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: #082847;
  background: #eaf3f7;
  font-family: "Caixa Frutiger", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

button:not(:disabled), a {
  cursor: pointer;
}

img, video {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 4px solid #7ec7ea;
  outline-offset: 4px;
}

@font-face {
  font-family: "Caixa Frutiger";
  src: url("../fonts/LaCaixaFrutiger-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Caixa Frutiger";
  src: url("../fonts/LaCaixaFrutiger-Roman.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Caixa Frutiger";
  src: url("../fonts/LaCaixaFrutiger-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Caixa Frutiger";
  src: url("../fonts/LaCaixaFrutiger-BoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: #003b72;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}

.course-shell {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: #07569f;
}

.course-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(18px, env(safe-area-inset-top)) 20px 18px;
  color: #fff;
  background: #00a9e0;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.brand img {
  display: block;
  width: min(58vw, 396px);
  height: auto;
}

.course-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.course-info-button {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 10px;
  color: #00a9e0;
  border-radius: 50%;
  background: #fff;
  text-decoration: none;
}
.course-info-button svg {
  display: block;
  width: 26px;
  height: 26px;
}
.course-info-button:hover {
  background: #e8f2f8;
}
.course-info-button[aria-current=page] {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

@media (max-width: 479px) {
  .course-header {
    gap: 8px;
    padding-inline: 14px;
  }
  .course-header__actions {
    gap: 8px;
  }
  .course-header .menu-button {
    min-width: 66px;
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    font-size: 14px;
  }
  .course-header .course-info-button, .course-header .video-subtitles-toggle {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    line-height: 1;
  }
  .course-header .course-info-button svg, .course-header .video-subtitles-toggle svg {
    display: block;
    width: 26px;
    height: 26px;
  }
}
.menu-button {
  display: grid;
  min-width: 88px;
  min-height: 48px;
  place-items: center;
  padding: 8px 16px;
  color: #00a9e0;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  text-transform: uppercase;
}
.menu-button span {
  line-height: 1;
}
.menu-button i {
  display: none;
}

.chapter-status {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 10px clamp(22px, 6vw, 52px);
  color: #111;
  background: #f7f5f4;
  font-size: clamp(15px, 4vw, 21px);
  text-align: center;
}
.chapter-status span {
  font-weight: 400;
}
.chapter-status strong::before {
  content: " · ";
  font-weight: 400;
}

#course-content {
  position: relative;
  min-height: calc(100dvh - var(--course-chrome-height, 96px));
  outline: none;
  transition: opacity 0.18s ease;
}
#course-content.is-loading {
  opacity: 0.35;
}

body.is-close .course-header {
  display: none;
}
body.is-close #course-content {
  min-height: 100dvh;
}

.course-menu {
  position: absolute;
  z-index: 80;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.28s;
}
.course-menu__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(0, 34, 67, 0.58);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.course-menu__panel {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: flex;
  width: min(86vw, 390px);
  height: 100%;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  padding: 64px 20px 20px;
  color: #fff;
  background: #003b72;
  transform: translate3d(105%, 0, 0);
  transition: transform 0.28s ease;
  box-shadow: -12px 0 50px rgba(0, 0, 0, 0.24);
  will-change: transform;
}
.course-menu__close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  color: #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.course-menu__close svg {
  display: block;
  width: 24px;
  height: 24px;
}
.course-menu__eyebrow {
  margin: 0 0 8px;
  color: #7ec7ea;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
.course-menu__section-title {
  margin: 12px 0 2px;
  color: #7ec7ea;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
.course-menu__panel > * {
  flex-shrink: 0;
}
.course-menu a, .course-menu [data-close-course] {
  display: block;
  padding: 12px 4px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
}
.course-menu__chapter {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.course-menu a.course-menu__chapter-link {
  display: grid;
  gap: 3px;
  padding-block: 10px;
  border-bottom: 0;
  font-size: 18px;
  line-height: 1.2;
}
.course-menu a.course-menu__chapter-link small {
  color: #7ec7ea;
  font-size: 14px;
}
.course-menu a.course-menu__chapter-link.is-current span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.course-menu a[aria-disabled=true] {
  opacity: 0.45;
  cursor: not-allowed;
}
.course-menu__episode summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px;
  color: #7ec7ea;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}
.course-menu__episode summary::-webkit-details-marker {
  display: none;
}
.course-menu__episode summary::after {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  content: "";
}
.course-menu__episode[open] summary::after {
  transform: rotate(225deg);
}
.course-menu__pending {
  margin: 6px 4px;
  font-size: 15px;
  line-height: 1.4;
}
.course-menu__steps {
  display: grid;
  gap: 4px;
}
.course-menu__steps a {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
}
.course-menu__steps a.is-current {
  color: #003b72;
  background: #fff;
}
.course-menu__steps a[aria-disabled=true] {
  opacity: 0.45;
  cursor: not-allowed;
}
.course-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.course-menu.is-open .course-menu__overlay {
  opacity: 1;
}
.course-menu.is-open .course-menu__panel {
  transform: translate3d(0, 0, 0);
}

.save-toast {
  position: fixed;
  z-index: 120;
  right: 20px;
  bottom: 20px;
  padding: 13px 18px;
  color: #fff;
  border-radius: 12px;
  background: #082847;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.25s ease;
  pointer-events: none;
}
.save-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 780px) {
  body {
    padding: 0;
  }
  .course-shell {
    display: flex;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    flex-direction: column;
    margin: 0;
    border-radius: 0;
  }
  .course-header, .chapter-status {
    flex: 0 0 auto;
  }
  .course-header {
    min-height: 78px;
    padding: 10px 34px;
  }
  .brand img {
    width: min(52vw, 320px);
    max-width: 100%;
    height: auto;
  }
  .menu-button {
    min-width: 84px;
    min-height: 44px;
    padding-block: 6px;
  }
  #course-content {
    min-height: 0;
    flex: 1 1 auto;
  }
  body.is-close #course-content {
    min-height: 0;
  }
  body.is-chat .course-shell, body.is-info .course-shell {
    height: auto;
    min-height: 100dvh;
  }
  body.is-chat #course-content, body.is-info #course-content {
    flex: 1 0 auto;
  }
  body.is-chat #course-content .screen--chat, body.is-chat #course-content .screen--info, body.is-info #course-content .screen--chat, body.is-info #course-content .screen--info {
    height: auto;
    min-height: calc(100dvh - var(--course-chrome-height, 142px));
    overflow: visible;
  }
}
.screen {
  min-height: calc(100dvh - var(--course-chrome-height, 96px));
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 44, 85, 0.28), rgba(0, 35, 73, 0.82)), url("../img/hero-detective.png") center 15%/cover no-repeat;
  animation: screen-in 0.38s ease both;
}

body:not(.is-cover):not(.is-index) .screen {
  min-height: calc(100dvh - var(--course-chrome-height, 142px));
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.eyebrow {
  margin: 0 0 8px;
  color: #7ec7ea;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-button, .secondary-button {
  display: inline-grid;
  width: fit-content;
  max-width: 100%;
  min-height: 64px;
  place-items: center;
  margin-inline: auto;
  padding: 15px clamp(24px, 4vw, 50px);
  border-radius: 999px;
  font-size: clamp(19px, 4.5vw, 24px);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transform-origin: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  color: #07569f;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 30, 70, 0.16);
}

.primary-button:hover, .secondary-button:hover {
  transform: scale(1.025);
}

.secondary-button {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: transparent;
}

.text-button {
  padding: 10px;
  color: #fff;
  background: transparent;
  font-weight: 700;
  text-decoration: underline;
}

.form-error {
  margin: 8px 0 0;
  color: #fff3a8;
  font-weight: 700;
}

@media (min-width: 780px) {
  .screen {
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body:not(.is-cover):not(.is-index) .screen {
    min-height: 0;
  }
}
@media (min-width: 1100px) {
  .primary-button, .secondary-button {
    min-height: 54px;
    padding-block: 12px;
    font-size: 20px;
  }
}
.screen--cover {
  background: #003b72;
}
.screen--cover .hero-media {
  position: relative;
  min-height: calc(100dvh - var(--course-chrome-height, 96px));
  overflow: hidden;
  isolation: isolate;
  background: #003b72;
}
.screen--cover .hero-media__fallback {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 32, 66, 0.02), rgba(0, 32, 66, 0.76)), var(--video-poster, url("../img/poster-video-intro.jpg")) center top/cover no-repeat;
}
.screen--cover .course-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.screen--cover .video-copy {
  max-width: 590px;
  padding: clamp(44px, 11vh, 110px) clamp(22px, 6vw, 52px) 210px;
  text-shadow: 0 2px 18px rgba(0, 21, 44, 0.8);
}
.screen--cover .video-copy h1 {
  margin: 0;
  font-size: clamp(40px, 12vw, 76px);
  line-height: 1;
  text-transform: uppercase;
}
.screen--cover .video-copy p:last-child {
  max-width: 440px;
  font-size: clamp(18px, 4.5vw, 24px);
}
.screen--cover .video-continue {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 6vw, 52px);
  bottom: max(34px, env(safe-area-inset-bottom) + 14px);
  left: clamp(22px, 6vw, 52px);
}

@media (max-width: 779px) {
  .screen--cover .course-video[data-frame-border], .screen--cover .video-end-poster[data-frame-border] {
    top: -4px;
    height: calc(100% + 8px);
  }
  .screen--cover .hero-media__fallback {
    top: -4px;
    bottom: -4px;
  }
}
@media (min-width: 780px) {
  .screen--cover .hero-media {
    height: 100%;
    min-height: 0;
  }
  .screen--cover .course-video {
    object-fit: contain;
    object-position: center;
    background: #003b72;
  }
  .screen--cover .hero-media__fallback {
    background-color: #003b72;
    background-position: center;
    background-size: contain;
  }
}
@media (min-width: 1100px) {
  .screen--cover .video-copy h1 {
    font-size: 56px;
  }
  .screen--cover .video-copy p:last-child {
    font-size: 20px;
  }
}
.screen--index {
  padding: 46px clamp(22px, 6vw, 52px) 58px;
}

.index-intro {
  max-width: 630px;
  margin: 0 auto 28px;
}
.index-intro h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 12vw, 68px);
  line-height: 1;
  text-transform: uppercase;
}
.index-intro p:not(.eyebrow) {
  margin: 0 0 5px;
  font-size: clamp(18px, 4.5vw, 24px);
  line-height: 1.3;
}
.index-intro strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(19px, 4.5vw, 25px);
}

.chapter-grid {
  display: grid;
  max-width: 630px;
  gap: 18px;
  margin: 0 auto;
}

.chapter-card {
  display: grid;
  min-height: 180px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 31, 65, 0.18);
  grid-template: 124px auto/42% 58%;
}
.chapter-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-row: 1;
  grid-column: 1;
}
.chapter-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
  color: #07569f;
  grid-row: 1;
  grid-column: 2;
}
.chapter-card__body p {
  margin: 0 0 2px;
  color: #00a9e0;
  font-weight: 700;
  text-transform: uppercase;
}
.chapter-card__body h2 {
  margin: 0;
  font-size: clamp(20px, 5.5vw, 26px);
  line-height: 1.1;
  text-transform: uppercase;
}
.chapter-card button {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  color: #fff;
  background: #00a9e0;
  grid-column: 1/-1;
}
.chapter-card button strong {
  margin-left: auto;
  text-transform: uppercase;
}
.chapter-card button i {
  position: relative;
  display: block;
  width: 42px;
  height: 30px;
  flex: 0 0 auto;
  font-size: 0;
  font-style: normal;
}
.chapter-card button i::before {
  position: absolute;
  inset: 1px 0;
  background: #fff;
  clip-path: polygon(0 41%, 64% 41%, 50% 9%, 60% 0, 100% 50%, 60% 100%, 50% 91%, 64% 59%, 0 59%);
  content: "";
}
.chapter-card button i::after {
  content: none;
}
.chapter-card button:disabled {
  cursor: not-allowed;
}
.chapter-card--unavailable {
  opacity: 0.25;
  filter: grayscale(0.65);
  box-shadow: none;
}

.progress-ring {
  --size: 46px;
  position: relative;
  display: grid;
  width: var(--size);
  height: var(--size);
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#fff var(--progress), rgba(255, 255, 255, 0.28) 0);
}
.progress-ring::after {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: inherit;
  background: #00a9e0;
  content: "";
}
.progress-ring span {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
}
.progress-ring small {
  font-size: 8px;
}

@media (min-width: 580px) {
  .chapter-card {
    min-height: 148px;
    grid-template: 148px/32% 43% 25%;
  }
  .chapter-card img {
    grid-row: 1;
    grid-column: 1;
  }
  .chapter-card__body {
    grid-row: 1;
    grid-column: 2;
  }
  .chapter-card button {
    min-width: 0;
    min-height: 148px;
    flex-direction: column;
    justify-content: center;
    grid-row: 1;
    grid-column: 3;
  }
  .chapter-card button strong {
    margin: 0;
  }
}
@media (min-width: 780px) {
  .screen--index {
    display: grid;
    grid-template-columns: minmax(0, 630px);
    justify-content: center;
    align-content: safe center;
  }
  .index-intro, .chapter-grid {
    width: 100%;
  }
}
@media (min-width: 1100px) {
  .screen--index {
    grid-template-columns: minmax(0, 520px) minmax(0, 620px);
    align-items: center;
    gap: clamp(28px, 3vw, 44px);
    padding-block: 38px;
  }
  .index-intro {
    min-width: 0;
    max-width: 520px;
    margin: 0;
  }
  .index-intro h1 {
    margin-bottom: 22px;
    font-size: 52px;
    line-height: 1;
  }
  .index-intro p:not(.eyebrow) {
    font-size: 20px;
    line-height: 1.3;
  }
  .index-intro strong {
    margin-top: 22px;
    font-size: 20px;
    line-height: 1.25;
  }
  .chapter-grid {
    min-width: 0;
    width: 100%;
    max-width: none;
    gap: 12px;
    margin: 0;
  }
  .chapter-card {
    min-height: 132px;
    border-radius: 16px;
    grid-template: minmax(132px, auto)/24% minmax(0, 1fr) minmax(176px, 28%);
  }
  .chapter-card__body {
    padding: 12px 10px;
  }
  .chapter-card__body p {
    font-size: 16px;
  }
  .chapter-card__body h2 {
    font-size: 27px;
    line-height: 1.15;
  }
  .chapter-card button {
    min-height: 132px;
    gap: 5px;
    padding: 8px 12px;
    font-size: 18px;
  }
  .chapter-card button i {
    transform: scale(0.86);
  }
  .progress-ring {
    --size: 42px;
  }
  .progress-ring::after {
    width: 31px;
    height: 31px;
  }
}
@media (min-width: 1100px) and (max-height: 700px) {
  .screen--index {
    gap: 32px;
    padding-block: 22px;
  }
  .index-intro h1 {
    margin-bottom: 16px;
    font-size: 44px;
  }
  .index-intro p:not(.eyebrow) {
    font-size: 19px;
  }
  .index-intro strong {
    margin-top: 16px;
    font-size: 20px;
  }
  .chapter-grid {
    gap: 8px;
  }
  .chapter-card {
    min-height: 112px;
    grid-template-rows: minmax(112px, auto);
  }
  .chapter-card__body {
    padding: 9px 10px;
  }
  .chapter-card__body p {
    font-size: 14px;
  }
  .chapter-card__body h2 {
    font-size: 25px;
  }
  .chapter-card button {
    min-height: 112px;
    gap: 3px;
    padding-block: 6px;
    font-size: 17px;
  }
  .chapter-card button i {
    transform: scale(0.76);
  }
  .progress-ring {
    --size: 36px;
  }
  .progress-ring::after {
    width: 27px;
    height: 27px;
  }
}
.screen--hero {
  position: relative;
  display: flex;
  min-height: calc(100dvh - var(--course-chrome-height, 142px));
  flex-direction: column;
  justify-content: space-between;
  padding: 48px clamp(22px, 6vw, 52px) max(38px, env(safe-area-inset-bottom));
  isolation: isolate;
}
.screen--hero .hero-copy {
  max-width: 520px;
  text-shadow: 0 2px 20px rgba(0, 25, 50, 0.9);
}
.screen--hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 9.5vw, 60px);
  line-height: 1.05;
  text-transform: uppercase;
}
.screen--hero .hero-copy > p:last-child {
  max-width: 460px;
  font-size: clamp(18px, 4.5vw, 22px);
}

.choice-actions {
  display: grid;
  gap: 18px;
  margin-top: 200px;
}

.choice-actions .primary-button, .choice-actions .secondary-button {
  width: min(100%, 340px);
}

.screen--hero.screen--choice {
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vh, 40px);
}
.screen--hero.screen--choice .hero-copy {
  width: min(100%, 760px);
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.screen--hero.screen--choice .hero-copy > p:first-child {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.4;
}
.screen--hero.screen--choice .hero-copy > p:last-child {
  max-width: none;
  margin: 20px 0 0;
  font-size: clamp(20px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.4;
}
.screen--hero.screen--choice .choice-actions {
  width: 100%;
  margin-top: 0;
}

.personalize-video-actions {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(100% - 44px, 360px);
  margin-top: 0;
  transform: translate(-50%, -50%);
}

.screen--personalize-video.is-video-ended .video-toggle {
  top: calc(50% + 150px);
}

.screen--form, .screen--reflection {
  padding: 44px clamp(22px, 6vw, 52px) 60px;
}
.screen--form .form-intro h1, .screen--reflection .form-intro h1 {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: clamp(30px, 8vw, 48px);
  line-height: 1.1;
}

.name-form, .reflection-form {
  display: grid;
  gap: 22px;
}
.name-form label, .reflection-form label {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.name-form input, .name-form textarea, .reflection-form input, .reflection-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 20px;
  color: #082847;
  border: 3px solid transparent;
  border-radius: 22px;
  outline: 0;
  background: #a8cbe3;
  font-size: clamp(18px, 4.5vw, 24px);
  line-height: 1.3;
}
.name-form input::placeholder, .name-form textarea::placeholder, .reflection-form input::placeholder, .reflection-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
}
.name-form input:focus, .name-form textarea:focus, .reflection-form input:focus, .reflection-form textarea:focus {
  border-color: #7ec7ea;
  background: #fff;
}
.name-form input, .reflection-form input {
  min-height: 86px;
}
.name-form textarea, .reflection-form textarea {
  min-height: 230px;
  resize: vertical;
}
.name-form .primary-button, .reflection-form .primary-button {
  margin-top: 8px;
}

.name-form label {
  color: transparent;
  font-size: 0;
}

.name-form input {
  margin-top: 0;
}

.screen--video {
  position: relative;
  display: flex;
  overflow: hidden;
  background: #003b72;
  padding: 0;
}

.video-stage {
  position: relative;
  width: 100%;
  min-height: inherit;
  flex: 1;
  overflow: hidden;
  background-color: #07569f;
  background-image: var(--video-poster, none);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}
.video-stage video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #07569f;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.screen.is-video-ended video {
  opacity: 0;
}

.video-toggle {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(72px, 19vw, 94px);
  height: clamp(72px, 19vw, 94px);
  place-items: center;
  padding: 0;
  color: #07569f;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 34px rgba(0, 34, 70, 0.3);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.video-toggle:hover {
  transform: translate(-50%, -50%) scale(1.06);
}
.video-toggle__play {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 25px solid #07569f;
}
.video-toggle__pause {
  display: none;
  width: 25px;
  height: 31px;
  border-right: 8px solid #07569f;
  border-left: 8px solid #07569f;
}
.video-toggle__replay {
  display: none;
  font-size: 48px;
  line-height: 1;
}

.is-video-playing .video-toggle__play {
  display: none;
}
.is-video-playing .video-toggle__pause {
  display: block;
}

.is-video-ended .video-toggle {
  top: calc(50% + 105px);
  width: 68px;
  height: 68px;
}
.is-video-ended .video-toggle__play, .is-video-ended .video-toggle__pause {
  display: none;
}
.is-video-ended .video-toggle__replay {
  display: block;
}

.video-progress {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}
.video-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #00a9e0;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.video-next {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 6vw, 52px);
  bottom: max(30px, env(safe-area-inset-bottom) + 14px);
  left: clamp(22px, 6vw, 52px);
  width: auto;
  margin: 0;
}

.screen .video-end-action {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: auto;
  min-width: min(230px, 100% - 44px);
  margin: 0;
  transform: translate(-50%, -50%);
}
.screen .video-end-action:hover {
  transform: translate(-50%, -50%) scale(1.025);
}

.chat-heading, .reflection-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px clamp(22px, 6vw, 52px) 18px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
}
.chat-heading p, .chat-heading h1, .reflection-heading p, .reflection-heading h1 {
  margin: 0;
}
.chat-heading p, .reflection-heading p {
  font-size: clamp(19px, 4.5vw, 25px);
  font-weight: 700;
}
.chat-heading h1, .reflection-heading h1 {
  color: #7ec7ea;
  font-size: 16px;
  font-weight: 400;
}

.chat-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  color: #07569f;
  border-radius: 50%;
  background: #fff;
  font-weight: 700;
}

.chat-log {
  display: flex;
  width: min(100%, 1165px);
  min-height: 420px;
  max-height: calc(100dvh - 390px);
  flex-direction: column;
  gap: 18px;
  margin-inline: auto;
  overflow-y: auto;
  padding: 28px clamp(22px, 6vw, 52px);
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

.chat-bubble {
  position: relative;
  min-height: calc(1.3em + 36px);
  max-width: 88%;
  flex: 0 0 auto;
  margin: 0;
  padding: 18px 20px;
  color: #444;
  border-radius: 0 18px 18px;
  background: #fff;
  font-size: clamp(18px, 4.5vw, 23px);
  line-height: 1.3;
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: top left;
  transition: height 0.18s ease;
  white-space: pre-line;
}
.chat-bubble::before {
  position: absolute;
  top: 0;
  left: -14px;
  border-top: 18px solid #fff;
  border-left: 15px solid transparent;
  content: "";
}
.chat-bubble.is-visible {
  animation: bubble-in 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.chat-bubble--outgoing {
  width: 88%;
  align-self: flex-end;
  color: #fff;
  border-radius: 18px 0 18px 18px;
  background: #00a9e0;
  text-align: left;
  transform-origin: top right;
}
.chat-bubble--outgoing::before {
  right: -14px;
  left: auto;
  border-top-color: #00a9e0;
  border-right: 15px solid transparent;
  border-left: 0;
}

.chat-typing {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  padding: 15px 18px;
}
.chat-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ec7ea;
  animation: typing-dot 0.9s ease-in-out infinite;
}
.chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}
.chat-typing.chat-bubble--outgoing span {
  background: #fff;
}

@keyframes bubble-in {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes typing-dot {
  0%, 60%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
.chat-skip, .chat-next {
  display: block;
  width: fit-content;
  max-width: calc(100% - 44px);
  margin: 0 auto 26px;
  scroll-margin-bottom: 26px;
}

.screen--reflection {
  padding-top: 0;
}

.reflection-heading {
  margin-inline: calc(-1 * clamp(22px, 6vw, 52px));
  margin-bottom: 34px;
}

.reflection-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.screen--trap-question {
  display: grid;
  align-content: safe center;
  justify-items: center;
  padding-block: 32px;
}
.screen--trap-question .reflection-form {
  width: min(100%, 900px);
  margin: 0;
  gap: 20px;
}
.screen--trap-question .reflection-form .form-intro h1 {
  max-width: none;
  margin: 0 0 6px;
}
.screen--trap-question .reflection-form .primary-button {
  justify-self: center;
  margin-top: 4px;
}
.screen--trap-question .form-intro p {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
}
.screen--trap-question textarea {
  margin-top: 0;
}

.screen--checkpoint {
  position: relative;
  display: flex;
  overflow: hidden;
  padding: 0;
  background: #003b72;
}
.screen--checkpoint.is-video-ended .video-toggle {
  display: none;
}

.checkpoint-video-stage {
  min-height: inherit;
}
.checkpoint-video-stage video {
  object-position: center top;
}

.checkpoint-end {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: clamp(28px, 6vh, 58px) clamp(22px, 6vw, 52px) max(34px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(0, 44, 85, 0.28), rgba(0, 35, 73, 0.82)), url("../img/hero-detective.png") center 15%/cover no-repeat;
  inset: 0;
}

.checkpoint-actions {
  display: grid;
  grid-template-columns: 60px minmax(0, 380px);
  align-items: center;
  justify-content: center;
  gap: 18px clamp(16px, 3vw, 32px);
}

.checkpoint-replay {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  justify-items: center;
  padding: 0;
  color: #fff;
  background: transparent;
}
.checkpoint-replay span {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  color: #07569f;
  border-radius: 50%;
  background: #fff;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 9px 24px rgba(0, 31, 65, 0.24);
}
.checkpoint-replay small {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.18s ease;
  white-space: nowrap;
  pointer-events: none;
}
.checkpoint-replay:hover span {
  transform: scale(1.05);
}
.checkpoint-replay:hover small, .checkpoint-replay:focus-visible small {
  opacity: 1;
}
.checkpoint-replay:focus-visible {
  outline-color: #7ec7ea;
}
.checkpoint-replay:focus-visible span {
  box-shadow: 0 0 0 5px rgba(126, 199, 234, 0.32);
}

.checkpoint-panel {
  display: grid;
  width: min(100%, 900px);
  margin-block: auto;
  gap: clamp(58px, 8vh, 72px);
}

.screen--checkpoint-warning .checkpoint-panel,
.screen--checkpoint-success .checkpoint-panel {
  gap: 28px;
}

.checkpoint-card {
  position: relative;
  display: grid;
  align-items: center;
  gap: 28px;
  padding: 34px clamp(30px, 5.5vw, 80px) 38px;
  color: #003b72;
  border-radius: 40px;
  background: #f4c00f;
  box-shadow: 0 16px 38px rgba(0, 31, 65, 0.28);
}
.checkpoint-card p {
  margin: 0;
}

.checkpoint-avatar {
  position: relative;
  width: clamp(154px, 36vw, 205px);
  margin-inline: auto;
}
.checkpoint-avatar img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 7px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 43, 86, 0.28);
}

.checkpoint-badge {
  position: absolute;
  right: 50%;
  bottom: -14px;
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  color: #fff;
  min-height: 44px;
  border: 3px solid #f4c00f;
  border-radius: 999px;
  background: #003b72;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(50%);
  white-space: nowrap;
}
.checkpoint-badge b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #003b72;
  border-radius: 50%;
  background: #f4c00f;
  font-size: 20px;
  line-height: 1;
}

.checkpoint-copy {
  text-align: center;
}

.checkpoint-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: -58px auto 14px;
  place-items: center;
  color: #07569f;
  border: 5px solid #07569f;
  border-radius: 50%;
  background: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.checkpoint-label {
  margin-bottom: 10px !important;
  color: #07569f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkpoint-lead {
  font-size: clamp(20px, 3.8vw, 25px);
  font-weight: 700;
  line-height: 1.25;
}

.checkpoint-detail {
  margin-top: 24px !important;
  font-size: clamp(17px, 3.5vw, 20px);
  line-height: 1.3;
}

.checkpoint-next {
  width: min(100%, 380px);
  margin-inline: 0;
}

.checkpoint-actions .checkpoint-next,
.checkpoint-actions .episode-finish {
  padding-inline: clamp(18px, 2.5vw, 32px);
}

.checkpoint-actions .episode-finish {
  grid-column: 2;
  width: 100%;
  margin: 0;
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
  box-shadow: none;
}

.checkpoint-next--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.checkpoint-action-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #35a853;
}
.checkpoint-action-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.checkpoint-action-label {
  line-height: 1;
}

.checkpoint-next.is-pulsing {
  animation: action-pulse 1.5s ease-in-out infinite;
}

.screen--checkpoint-success .checkpoint-card {
  color: #fff;
  background: #73be44;
}

@keyframes action-pulse {
  50% {
    box-shadow: 0 0 0 12px rgba(126, 199, 234, 0.28), 0 12px 32px rgba(0, 30, 70, 0.2);
    transform: scale(1.025);
  }
}
.screen--call {
  position: relative;
  overflow: hidden;
}

.call-content {
  display: flex;
  min-height: calc(100dvh - var(--course-chrome-height, 142px));
  align-items: center;
  flex-direction: column;
  padding: 50px clamp(22px, 6vw, 52px) max(36px, env(safe-area-inset-bottom));
  text-align: center;
}
.call-content::before {
  position: absolute;
  top: 90px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255, 255, 255, 0.025), 0 0 0 130px rgba(255, 255, 255, 0.018);
  content: "";
  animation: ring-pulse 1.8s ease-in-out infinite;
}
.call-content > * {
  position: relative;
  z-index: 1;
}
.call-content > p:not(.call-time) {
  margin: 18px 0 2px;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}
.call-content h1 {
  margin: 0;
  font-size: clamp(30px, 8vw, 50px);
  line-height: 1.15;
}

@keyframes ring-pulse {
  50% {
    transform: scale(1.08);
    opacity: 0.55;
  }
}
.call-time {
  margin: 0 0 28px;
  font-size: 26px;
}

.caller-avatar {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  font-size: 48px;
}

.call-status {
  margin-top: 8px;
  font-size: 20px;
  font-style: italic;
}

.call-next {
  margin-top: 70px;
}

.hangup-button {
  display: grid;
  width: 82px;
  height: 82px;
  margin-top: auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #ff453d;
  font-size: 36px;
  box-shadow: 0 0 0 0 rgba(255, 69, 61, 0.5);
  animation: hangup-pulse 1.6s infinite;
}

@keyframes hangup-pulse {
  70% {
    box-shadow: 0 0 0 22px rgba(255, 69, 61, 0);
  }
}
.screen--result {
  padding: 38px clamp(22px, 6vw, 52px) 52px;
}

.screen--result > .primary-button {
  display: grid;
  margin-inline: auto;
}

.result-heading {
  text-align: center;
}
.result-heading h1 {
  margin: 0 0 24px;
  font-size: clamp(30px, 7.5vw, 46px);
  line-height: 1.15;
  text-transform: uppercase;
}

.golden-rules {
  width: 100%;
  max-width: 570px;
  margin: 0 auto 34px;
  padding: 0;
  list-style: none;
  counter-reset: rules;
}
.golden-rules li {
  padding: 24px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  text-align: center;
  counter-increment: rules;
}
.golden-rules span {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  place-items: center;
  color: #07569f;
  border-radius: 50%;
  background: #fff;
  font-size: 40px;
  font-weight: 700;
}
.golden-rules span::before {
  content: counter(rules);
}
.golden-rules p {
  margin: 0;
  font-size: clamp(18px, 4.5vw, 23px);
  line-height: 1.3;
}

.advice-list li {
  border-top: 0;
}
.advice-list span::before {
  content: none;
}

.episode-hotline {
  display: grid;
  gap: 7px;
  width: min(100%, 570px);
  margin: -10px auto 28px;
  padding: 16px 22px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  text-align: center;
}
.episode-hotline strong {
  display: block;
  font-size: clamp(24px, 5.5vw, 30px);
  line-height: 1.1;
}
.episode-hotline span {
  display: block;
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.2;
}

.screen--saved {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 40px clamp(22px, 6vw, 52px);
}

.saved-card {
  max-width: 520px;
  padding: 38px 28px;
  color: #082847;
  border-radius: 28px;
  background: #fff;
  text-align: center;
}
.saved-card h1 {
  margin: 12px 0;
  font-size: 34px;
  line-height: 1.15;
}
.saved-card p {
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.3;
}
.saved-card .primary-button {
  color: #fff;
  background: #07569f;
}
.saved-card__check {
  display: grid;
  width: 76px;
  height: 76px;
  margin: auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #00a9e0;
  font-size: 42px;
}

@media (min-width: 780px) {
  .screen--saved {
    height: 100%;
    min-height: 0;
  }
  .screen--hero, .screen--checkpoint, .call-content {
    height: 100%;
    min-height: 0;
  }
  .screen--chat {
    display: flex;
    flex-direction: column;
  }
  .chat-heading {
    padding-inline: calc(max(0px, (100% - 1165px) / 2) + clamp(22px, 6vw, 52px) - 14px);
    overflow: visible;
    flex-shrink: 0;
  }
  .chat-heading, .chat-log {
    scrollbar-gutter: auto;
  }
  .chat-log {
    min-height: 0;
    max-height: none;
    flex: 1 0 auto;
    overflow: visible;
  }
  .chat-bubble {
    max-width: 100%;
  }
  .checkpoint-actions:has(.episode-finish) {
    grid-template-columns: 60px minmax(0, 380px) minmax(0, 300px);
  }
  .checkpoint-actions .episode-finish {
    grid-column: 3;
  }
  .video-stage {
    background-color: #003b72;
    background-position: center;
    background-size: contain;
  }
  .video-stage video {
    object-fit: contain;
    object-position: center;
    background: #003b72;
  }
  .choice-actions {
    grid-template-columns: repeat(2, minmax(0, 340px));
    justify-content: center;
    gap: clamp(24px, 4vw, 64px);
  }
  .screen--personalize-video .personalize-video-actions {
    width: min(100% - 64px, 720px);
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .screen--personalize-video .personalize-video-actions > button {
    width: 100%;
    margin: 0;
  }
  .screen--personalize-video.is-video-ended .video-toggle {
    top: calc(50% + 110px);
  }
  .screen--form {
    display: grid;
    align-content: center;
  }
  .name-form {
    width: 100%;
    max-width: 1064px;
    grid-template-columns: repeat(2, minmax(0, 520px));
    justify-content: center;
    column-gap: 24px;
    margin-inline: auto;
  }
  .name-form .primary-button {
    grid-column: 1/-1;
    justify-self: center;
  }
  .screen--result {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .screen--result > .primary-button {
    align-self: center;
  }
  .screen--checkpoint-warning .checkpoint-card,
  .screen--checkpoint-success .checkpoint-card {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 40px;
    padding: 34px clamp(52px, 5.5vw, 80px);
  }
  .screen--checkpoint-warning .checkpoint-copy,
  .screen--checkpoint-success .checkpoint-copy {
    text-align: left;
  }
  .screen--checkpoint-warning .checkpoint-avatar,
  .screen--checkpoint-success .checkpoint-avatar {
    width: 205px;
    margin-inline: 0;
  }
  .screen--checkpoint-warning .checkpoint-panel,
  .screen--checkpoint-success .checkpoint-panel {
    gap: clamp(48px, 6vh, 64px);
  }
}
@media (min-width: 1100px) {
  .screen--hero h1 {
    font-size: 48px;
  }
  .screen--hero .hero-copy > p:last-child {
    font-size: 20px;
  }
  .choice-actions {
    margin-top: 130px;
  }
  .screen--form, .screen--reflection {
    padding-block: 30px;
  }
  .screen--form .form-intro h1, .screen--reflection .form-intro h1 {
    font-size: 40px;
  }
  .screen--form .form-intro h1, .screen--reflection .form-intro h1 {
    margin-bottom: 22px;
  }
  .name-form, .reflection-form {
    gap: 18px;
  }
  .name-form input, .name-form textarea, .reflection-form input, .reflection-form textarea {
    padding: 16px 18px;
    font-size: 20px;
  }
  .name-form input, .reflection-form input {
    min-height: 68px;
  }
  .name-form textarea, .reflection-form textarea {
    min-height: 180px;
  }
  .chat-heading, .reflection-heading {
    padding-block: 20px 15px;
  }
  .chat-heading p, .reflection-heading p {
    font-size: 20px;
  }
  .chat-log {
    gap: 14px;
    padding-block: 20px;
  }
  .chat-bubble {
    min-height: calc(1.3em + 30px);
    padding: 15px 18px;
    font-size: 18px;
  }
  .chat-skip, .chat-next {
    margin-bottom: 20px;
  }
  .checkpoint-end {
    padding-block: 38px;
  }
  .screen--checkpoint-warning .checkpoint-panel,
  .screen--checkpoint-success .checkpoint-panel {
    gap: clamp(54px, 8vh, 76px);
  }
  .screen--checkpoint-warning .checkpoint-card,
  .screen--checkpoint-success .checkpoint-card {
    padding-block: 34px;
  }
  .checkpoint-icon {
    width: 50px;
    height: 50px;
    margin-top: -49px;
    font-size: 29px;
  }
  .checkpoint-lead {
    font-size: 24px;
  }
  .checkpoint-detail {
    font-size: 18px;
  }
  .reflection-heading {
    margin-bottom: 24px;
  }
  .call-content {
    padding-block: 32px;
  }
  .call-content h1 {
    font-size: 40px;
  }
  .call-time {
    margin-bottom: 18px;
  }
  .call-next {
    margin-top: 40px;
  }
  .hangup-button {
    width: 70px;
    height: 70px;
    font-size: 31px;
  }
  .screen--result {
    padding-block: 28px 32px;
  }
  .result-heading h1 {
    margin-bottom: 18px;
    font-size: 36px;
  }
  .golden-rules {
    display: grid;
    max-width: 1200px;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
  }
  .golden-rules li {
    padding: 18px 14px;
  }
  .golden-rules span {
    width: 58px;
    height: 58px;
    margin-bottom: 10px;
    font-size: 32px;
  }
  .golden-rules p {
    font-size: 19px;
  }
  .episode-hotline {
    gap: 4px;
    margin-top: -8px;
    margin-bottom: 20px;
    padding-block: 11px;
  }
  .episode-hotline strong {
    font-size: 25px;
  }
  .episode-hotline span {
    font-size: 17px;
  }
  .saved-card h1 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.screen--info {
  padding: 38px clamp(22px, 6vw, 52px) max(40px, env(safe-area-inset-bottom));
}

.info-content {
  width: min(100%, 1140px);
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px) clamp(18px, 4vw, 48px);
  color: #082847;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 46, 91, 0.18);
}

.info-heading {
  margin-bottom: clamp(30px, 4vw, 48px);
  color: #003b72;
}

.info-heading h1 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3vw, 2rem);
}

.info-heading .eyebrow {
  margin-bottom: 12px;
  color: #07569f;
}

.info-heading__subtitle {
  max-width: 820px;
  margin: 0 auto;
  color: #082847;
  font-weight: 400;
}

.info-heading__subtitle, .info-section p, .info-hotline p {
  font-size: clamp(1.125rem, 1.5vw, 1.1875rem);
  line-height: 1.5;
}

.info-sections {
  display: grid;
  gap: 30px;
}

.info-section h2 {
  margin: 0 0 14px;
  color: #003b72;
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  line-height: 1.25;
}
.info-section p {
  margin: 0 0 16px;
}
.info-section p:last-child {
  margin-bottom: 0;
}

.info-rules {
  display: grid;
  gap: 24px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.info-rules li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.info-rules span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #07569f;
  border-radius: 50%;
  background: #e8f2f8;
  font-size: 30px;
  font-weight: 700;
}
.info-rules p {
  margin: 0;
}

.info-hotline {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 30px clamp(14px, 3vw, 28px);
  color: #003b72;
  border-radius: 32px;
  background: #e8f2f8;
  text-align: center;
}
.info-hotline h2 {
  margin: 0;
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  line-height: 1.25;
}
.info-hotline p {
  max-width: 800px;
  margin: 0;
}
.info-hotline .eyebrow {
  color: #07569f;
  font-size: 16px;
}
.info-hotline__icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #00a9e0;
}
.info-hotline__icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.info-hotline__number span {
  display: block;
}
.info-hotline__number strong {
  display: block;
  color: #07569f;
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  line-height: 1.2;
  white-space: nowrap;
}

.info-back {
  display: grid;
  margin: 30px auto 0;
  color: #fff;
  background: #07569f;
}

.video-subtitles {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: max(24px, env(safe-area-inset-bottom) + 16px);
  left: 16px;
  pointer-events: none;
  text-align: center;
}
.video-subtitles__text {
  display: block;
  width: fit-content;
  max-width: min(100%, 800px);
  margin: 0 auto;
  padding: 14px 20px;
  color: #fff;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.8);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.video-subtitles-toggle {
  position: relative;
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 10px;
  color: #00a9e0;
  border-radius: 50%;
  background: #fff;
}
.video-subtitles-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.video-subtitles-toggle[aria-pressed=true]::after {
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translateX(-50%);
}
.video-subtitles-toggle:hover:not(:disabled) {
  background: #e8f2f8;
}
.video-subtitles-toggle:disabled {
  opacity: 0.6;
}

.screen.is-video-ended .video-subtitles {
  display: none;
}

@media (max-width: 479px) {
  .video-subtitles {
    right: 12px;
    left: 12px;
  }
  .video-subtitles__text {
    padding: 12px 14px;
  }
}
.vimeo-frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #003b72;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.screen.is-vimeo-active .vimeo-frame {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.screen.is-vimeo-active .video-toggle {
  display: none;
}

.screen.is-video-ended .vimeo-frame {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-stage {
  isolation: isolate;
}

.screen.is-video-ended .hero-media::after, .screen.is-video-ended .video-stage::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: rgba(0, 32, 66, 0.32);
  pointer-events: none;
}

.vimeo-click-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vimeo-controls {
  position: absolute;
  z-index: 4;
  top: clamp(14px, 3vh, 26px);
  left: 50%;
  display: flex;
  width: min(300px, 100% - 32px);
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: rgba(0, 32, 66, 0.25);
  box-shadow: 0 8px 24px rgba(0, 21, 44, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.vimeo-controls__toggle {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.vimeo-controls__toggle:focus-visible {
  outline: 3px solid #7ec7ea;
  outline-offset: 2px;
}
.vimeo-controls__play {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #07569f;
}
.vimeo-controls__pause {
  display: none;
  width: 12px;
  height: 14px;
  border-right: 4px solid #07569f;
  border-left: 4px solid #07569f;
}
.vimeo-controls__track {
  position: relative;
  height: 20px;
  flex: 1 1 auto;
  cursor: pointer;
  touch-action: none;
}
.vimeo-controls__track::before {
  position: absolute;
  top: 7px;
  right: 0;
  left: 0;
  height: 6px;
  border-radius: 3px;
  background: #fff;
  content: "";
}
.vimeo-controls__track:focus-visible {
  outline: 3px solid #7ec7ea;
  outline-offset: 3px;
  border-radius: 4px;
}
.vimeo-controls__seen, .vimeo-controls__fill {
  position: absolute;
  top: 7px;
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
.vimeo-controls__seen {
  background: #7ec7ea;
}
.vimeo-controls__fill {
  background: #00a9e0;
}

.screen.is-vimeo-active .vimeo-click-layer {
  display: block;
}
.screen.is-vimeo-active .vimeo-controls {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 780px) {
  .vimeo-controls {
    min-width: 400px;
  }
}
.screen.is-video-playing .vimeo-controls__play {
  display: none;
}
.screen.is-video-playing .vimeo-controls__pause {
  display: block;
}

.screen.is-video-ended .vimeo-click-layer {
  display: none;
}
.screen.is-video-ended .vimeo-controls {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 779px) {
  .has-video-ratio .vimeo-frame {
    top: 0;
    right: auto;
    bottom: auto;
    left: 50%;
    width: calc(var(--cover-height) * var(--video-ratio));
    height: var(--cover-height);
    transform: translateX(-50%);
  }
  .screen--cover .has-video-ratio .vimeo-frame {
    top: -4px;
    width: calc((var(--cover-height) + 8px) * var(--video-ratio));
    height: calc(var(--cover-height) + 8px);
  }
}
@media (min-width: 780px) {
  .screen--cover .hero-media, .screen--video, .screen--checkpoint {
    container: course-video/size;
  }
  .screen.is-vimeo-active .hero-media,
  .screen.is-vimeo-active .video-stage {
    --video-edge-ratio: var(--video-ratio, 1.7777777778);
  }
  @container course-video (min-aspect-ratio: 16 / 9) {
    .screen--cover .hero-media__fallback {
      top: -4px;
      bottom: -4px;
      background: var(--video-poster, url("../img/poster-video-intro.jpg")) center/auto 100% no-repeat, linear-gradient(180deg, #0176d5 0%, #0076d4 12%, #0176d5 25%, #0076d6 38%, #0077d7 50%, #0174d4 62%, #0071d3 75%, #016ed0 88%, #006acd 100%) left/50% 100% no-repeat, linear-gradient(180deg, #308ede 0%, #3691e0 12%, #3e95e2 25%, #489ce6 38%, #4a9ee5 50%, #449be6 62%, #3997e6 75%, #2f92e5 88%, #288ce4 100%) right/50% 100% no-repeat;
    }
    .video-stage {
      background: var(--video-poster, none) center/auto calc(100% + 8px) no-repeat, linear-gradient(180deg, #0176d5 0%, #0076d4 12%, #0176d5 25%, #0076d6 38%, #0077d7 50%, #0174d4 62%, #0071d3 75%, #016ed0 88%, #006acd 100%) left/50% 100% no-repeat, linear-gradient(180deg, #308ede 0%, #3691e0 12%, #3e95e2 25%, #489ce6 38%, #4a9ee5 50%, #449be6 62%, #3997e6 75%, #2f92e5 88%, #288ce4 100%) right/50% 100% no-repeat;
    }
    .screen--cover .vimeo-frame, .video-stage .vimeo-frame {
      top: -4px;
      height: calc(100cqh + 8px);
      background: transparent;
    }
    .screen--cover .hero-media::before,
    .video-stage::before {
      position: absolute;
      z-index: 2;
      top: 0;
      bottom: 0;
      left: 50%;
      width: calc(calc((100cqh + 8px) * var(--video-edge-ratio, 1.7777777778)) + 4px);
      content: "";
      background: linear-gradient(180deg, #0176d5 0%, #0076d4 12%, #0176d5 25%, #0076d6 38%, #0077d7 50%, #0174d4 62%, #0071d3 75%, #016ed0 88%, #006acd 100%) left/96px 100% no-repeat, linear-gradient(180deg, #308ede 0%, #3691e0 12%, #3e95e2 25%, #489ce6 38%, #4a9ee5 50%, #449be6 62%, #3997e6 75%, #2f92e5 88%, #288ce4 100%) right/96px 100% no-repeat;
      transform: translateX(-50%);
      pointer-events: none;
      -webkit-mask-image: linear-gradient(90deg, #000 0, #000 12px, transparent 96px, transparent calc(100% - 96px), #000 calc(100% - 12px), #000 100%);
      mask-image: linear-gradient(90deg, #000 0, #000 12px, transparent 96px, transparent calc(100% - 96px), #000 calc(100% - 12px), #000 100%);
    }
  }
}

/*# sourceMappingURL=custom.css.map */
