:root {
  --app-header-line: #333;
  --app-header-title: Georgia, "Times New Roman", serif;
  --app-header-ui: "Helvetica Neue", Arial, sans-serif;
}

.splash-header,
.hero,
.training-header {
  min-height: 112px !important;
  display: grid !important;
  align-items: end !important;
  position: relative !important;
  z-index: 90 !important;
  padding: max(22px, env(safe-area-inset-top)) 20px 18px !important;
  background: #000 !important;
  border-bottom: 1px solid var(--app-header-line) !important;
}

.hero,
.training-header {
  min-height: 39px !important;
  padding-top: max(2px, env(safe-area-inset-top)) !important;
  padding-bottom: 1px !important;
}

.splash-header {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  min-height: 92px !important;
  padding-top: max(16px, env(safe-area-inset-top)) !important;
  padding-bottom: 14px !important;
}

.splash {
  align-items: start !important;
}

.splash-content {
  padding-top: clamp(120px, 14vh, 168px);
}

.splash-copy {
  max-width: min(980px, 100%) !important;
  margin-top: 0 !important;
  font-family: var(--app-header-title) !important;
  font-size: clamp(26px, 2.4vw, 38px) !important;
  font-weight: 400 !important;
  letter-spacing: -.035em !important;
  line-height: 1.18 !important;
}

.splash-header-inner,
.hero-inner,
.training-header-inner {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) 86px !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
}

.splash-header-inner {
  grid-template-columns: 86px minmax(0, 1fr) 86px !important;
}

.app-header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 400 21px/1 var(--app-header-ui);
  white-space: nowrap;
}

.app-language-picker {
  position: relative;
  display: grid;
}

.app-header-button {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.app-header-button:hover,
.app-header-button:focus-visible {
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.app-language-button {
  font-size: 21px;
}

.app-info-button {
  font-size: 28px;
  font-family: Georgia, "Times New Roman", serif;
}

.app-language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 80;
  min-width: 146px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  background: rgba(0,0,0,.96);
  box-shadow: 0 18px 50px rgba(0,0,0,.52);
}

.app-language-menu[hidden],
.app-info-overlay[hidden] {
  display: none !important;
}

.app-language-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.76);
  cursor: pointer;
  font: 500 15px/1.1 var(--app-header-ui);
  text-align: left;
}

.app-language-menu button:hover,
.app-language-menu button:focus-visible,
.app-language-menu button[aria-pressed="true"] {
  background: rgba(0,173,239,.18);
  color: #fff;
  outline: none;
}

.app-info-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.62);
}

.app-info-dialog {
  width: min(460px, 100%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  background: #111;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.64);
}

.app-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 0;
}

.app-info-head h2 {
  margin: 0;
  font: 400 30px/1.1 var(--app-header-title);
}

.app-info-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

.app-info-close::before,
.app-info-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.app-info-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.app-info-body {
  padding: 18px 22px 24px;
  color: rgba(255,255,255,.78);
  font: 400 17px/1.55 var(--app-header-ui);
}

@media (hover: none), (pointer: coarse) {
  body {
    opacity: 1 !important;
    animation: none !important;
  }

  body.page-exit,
  .splash-content,
  .training-header-inner,
  .hero-inner,
  .nav-wrap,
  main > * {
    animation: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  body.page-exit {
    opacity: 1 !important;
    animation: none !important;
  }
}

@keyframes page-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes page-exit {
  from { opacity: 1; }
  to { opacity: 1; }
}

.hero .choice-back,
.training-header .choice-back {
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
}

.hero .choice-back a,
.training-header .choice-back a {
  width: 34px;
  height: 36px;
  display: grid !important;
  place-items: center;
  color: #fff !important;
  font-size: 0 !important;
  letter-spacing: 0 !important;
}

.hero .choice-back a::before,
.training-header .choice-back a::before {
  content: "‹";
  font: 300 46px/.72 var(--app-header-ui);
  transform: translateY(-1px);
}

.splash-header .eyebrow,
.hero .eyebrow,
.training-header .eyebrow {
  display: none !important;
}

.splash-header h1,
.hero h1,
.training-header h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 160px) !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: var(--app-header-title) !important;
  font-size: clamp(24px, 4.8vw, 32px) !important;
  font-weight: 400 !important;
  letter-spacing: -.04em !important;
  line-height: 1 !important;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.splash-header-logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: min(300px, 50vw);
  max-height: 48px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .hero,
  .training-header {
    min-height: 39px !important;
    padding: max(2px, env(safe-area-inset-top)) 18px 1px !important;
  }

  .splash-header {
    min-height: 76px !important;
    padding: max(10px, env(safe-area-inset-top)) 18px 10px !important;
  }

  .splash-header-inner {
    grid-template-columns: 76px minmax(0, 1fr) 76px !important;
  }

  .splash-header-logo {
    width: min(220px, 56vw);
    max-height: 38px;
  }

  .hero-inner,
  .training-header-inner {
    grid-template-columns: 42px minmax(0, 1fr) 76px !important;
  }

  .app-header-actions {
    font-size: 20px;
    gap: 9px;
  }

  .app-language-button {
    font-size: 20px;
  }

  .app-info-button {
    font-size: 27px;
  }

  .app-language-menu {
    right: -4px;
  }

  .hero .choice-back a,
  .training-header .choice-back a {
    width: 34px;
    height: 36px;
  }

  .hero .choice-back a::before,
  .training-header .choice-back a::before {
    font-size: 46px;
  }

  .splash-header h1,
  .hero h1,
  .training-header h1 {
    font-size: clamp(23px, 6vw, 30px) !important;
  }

  .splash-content {
    padding-top: 92px;
  }

  .splash-copy {
    font-size: clamp(25px, 7.2vw, 34px) !important;
    line-height: 1.16 !important;
  }
}
