/* upfit.today layer on top of upfit.css: header, footer, page blocks */

/* ========== Header ========== */
.ut-nav {
  display: none;
}

.ut-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.ut-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  color: var(--navy-primary);
  font-size: 15px;
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.ut-nav a:hover,
.ut-nav a:focus {
  color: var(--blue-brand);
}

/* Language menu */
.ut-langmenu {
  position: relative;
}

.ut-langmenu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: #dfe5f3;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  cursor: pointer;
  list-style: none;
}

.ut-langmenu summary::-webkit-details-marker {
  display: none;
}

.ut-langmenu summary:hover,
.ut-langmenu[open] summary {
  border-color: var(--orange-brand);
  color: var(--orange-brand);
}

.ut-langmenu summary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.ut-langmenu svg {
  fill: currentColor;
}

.ut-langmenu__chevron {
  transition: transform 0.2s ease;
}

.ut-langmenu[open] .ut-langmenu__chevron {
  transform: rotate(180deg);
}

.ut-langmenu__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 160px;
  margin: 0;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 18, 71, 0.24);
  list-style: none;
}

.ut-langmenu__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--navy-primary);
  font-size: 15px;
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.ut-langmenu__list a:hover,
.ut-langmenu__list a:focus {
  background: #fff8f2;
  color: #c8174d;
}

.ut-langmenu__list a[aria-current] {
  font-weight: var(--fw-bold);
}

.ut-langmenu__list a[aria-current]::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: #c8174d;
}

@media (min-width: 992px) {
  .ut-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
  }

  .ut-nav + .up-bar__actions {
    margin-left: 0;
  }
}

/* ========== Phone frame around an app screen ========== */
.ut-phone {
  position: relative;
  padding: 3%;
  border-radius: 17% / 7.8%;
  background: #0b0f1a;
  box-shadow: 0 0 0 1px rgba(0, 18, 71, 0.08), 0 24px 48px rgba(0, 18, 71, 0.16);
}

.ut-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14% / 6.4%;
}

/* ========== Warm action button ========== */
.ut-btn-warm {
  border: 0;
  background: linear-gradient(120deg, #cc4a14, #c8174d);
  color: var(--white);
}

.ut-btn-warm:hover,
.ut-btn-warm:focus {
  background: linear-gradient(120deg, #b8410f, #b01242);
  color: var(--white);
}

/* ========== Header on navy ========== */
/* No top bar on this site: the bar sticks at the very top on every width */
.ut-header.up-header {
  top: 0;
}

html {
  scroll-padding-top: calc(var(--up-bar-h) + var(--space-4));
}

.ut-header .up-bar {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background-color: var(--navy-primary);
}

.ut-header .ut-nav a {
  color: #dfe5f3;
}

.ut-header .ut-nav a:hover,
.ut-header .ut-nav a:focus {
  color: var(--orange-brand);
}

/* ========== Hero ========== */
.ut-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-8);
  background: var(--navy-primary);
  color: var(--white);
  text-align: center;
}

.ut-hero__glow {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 920px;
  height: 920px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(239, 110, 34, 0.5), rgba(213, 28, 83, 0.3) 45%, rgba(161, 30, 92, 0.12) 72%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.ut-hero__glow::before,
.ut-hero__glow::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.ut-hero__glow::after {
  inset: 0;
}

.ut-hero__inner {
  position: relative;
}

.ut-hero__eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--orange-brand);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ut-hero__title {
  max-width: 15ch;
  margin: 0 auto var(--space-5);
  color: var(--white);
  font-size: clamp(38px, 4.2vw + 10px, 72px);
  line-height: 1.03;
}

.ut-hero__title em {
  font-style: normal;
  color: #ff8a3d;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ut-hero__title em {
    background: linear-gradient(100deg, #ff8a3d, #ff4f7b 60%, #ff8fb3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.ut-hero__lead {
  max-width: 36em;
  margin: 0 auto;
  color: #c9d2ea;
  font-size: 18px;
  line-height: 1.6;
}

.ut-hero__get {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

.ut-hero__qr {
  display: none;
  align-items: center;
  gap: var(--space-4);
  max-width: 360px;
  margin: 0;
  padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
}

.ut-hero__qr img {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  padding: 4px;
  border-radius: var(--radius-sm);
  background: var(--white);
}

.ut-hero__qr figcaption {
  min-width: 0;
  color: #e3e8f5;
  font-size: 14px;
  line-height: 1.5;
}

.ut-hero__clubs {
  margin: var(--space-4) 0 0;
  font-size: 15px;
}

.ut-hero__clubs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-decoration-color: var(--orange-brand);
  text-underline-offset: 4px;
}

/* Three phones, the member card in front */
.ut-hero__phones {
  position: relative;
  width: min(100%, 780px);
  aspect-ratio: 1 / 0.8;
  margin: var(--space-7) auto 0;
}

.ut-hero__phones .ut-phone {
  position: absolute;
}

.ut-phone--center {
  z-index: 2;
  top: 0;
  left: 30%;
  width: 40%;
}

.ut-phone--left,
.ut-phone--right {
  top: 14%;
  width: 32%;
  opacity: 0.92;
}

.ut-phone--left {
  left: 0;
  transform: rotate(-8deg);
}

.ut-phone--right {
  right: 0;
  transform: rotate(8deg);
}

.ut-tag {
  position: absolute;
  z-index: 3;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy-primary);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.ut-tag--1 {
  top: 58%;
  left: 2%;
  transform: rotate(-5deg);
}

.ut-tag--2 {
  top: 8%;
  right: 4%;
  background: #00bfc5;
  transform: rotate(5deg);
}

.ut-tag--3 {
  display: none;
  top: 10%;
  left: 6%;
  background: var(--orange-brand);
  transform: rotate(3deg);
}

/* Scrolling band */
.ut-marquee {
  position: relative;
  z-index: 4;
  /* Room below for the lower end of the tilted band, so the hero does not cut it */
  margin: -48px -24px calc(50vw * 0.035 + 4px);
  padding: 12px 0;
  overflow: hidden;
  background: linear-gradient(90deg, var(--wave-turquoise), var(--wave-orange), var(--wave-coral), var(--wave-magenta));
  transform: rotate(-2deg);
}

.ut-marquee__track {
  display: flex;
  width: max-content;
}

.ut-marquee span {
  padding-right: 0.5em;
  color: var(--navy-primary);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--fw-extrabold);
  text-transform: uppercase;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .ut-marquee__track {
    animation: ut-marquee 60s linear infinite;
  }
}

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

@media (min-width: 640px) {
  .ut-hero__phones {
    aspect-ratio: 1 / 0.66;
  }

  .ut-phone--center {
    left: 34%;
    width: 32%;
  }

  .ut-phone--left,
  .ut-phone--right {
    width: 27%;
  }

  .ut-phone--left {
    left: 4%;
  }

  .ut-phone--right {
    right: 4%;
  }

  .ut-tag {
    font-size: 14px;
  }

  .ut-tag--3 {
    display: block;
  }

  .ut-marquee span {
    font-size: 26px;
  }
}

/* A desktop visitor scans the code; the button stays for touch screens. */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .ut-hero__download {
    display: none;
  }

  .ut-hero__qr {
    display: flex;
  }
}

/* ========== Client logos ========== */
.ut-logos {
  padding: var(--space-7) 0 var(--space-5);
  background: var(--white);
  text-align: center;
}

.ut-logos__caption {
  margin: 0 0 var(--space-5);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ut-logos__list {
  --per-row: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5) var(--space-4);
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.ut-logos__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc((100% - (var(--per-row) - 1) * var(--space-4)) / var(--per-row));
  min-width: 0;
}

.ut-logos__list img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 32px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .ut-logos__list {
    --per-row: 6;
  }
}

/* ========== Video slot ========== */
.ut-video__facade {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--navy-primary);
  box-shadow: 0 24px 48px rgba(0, 18, 71, 0.18);
  color: var(--white);
  text-decoration: none;
}

.ut-video__facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ut-video__facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 18, 71, 0.35);
  transition: background 0.2s ease;
}

.ut-video__button {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(120deg, #cc4a14, #c8174d);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.22), 0 16px 40px rgba(0, 10, 46, 0.45);
  transition: transform 0.2s ease;
}

.ut-video__button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-width: 17px 0 17px 28px;
  border-style: solid;
  border-color: transparent transparent transparent var(--white);
  transform: translate(-50%, -50%);
}

.ut-video__hint {
  position: relative;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 10, 46, 0.72);
  font-size: 15px;
  font-weight: var(--fw-semibold);
}

.ut-video__facade:hover::before,
.ut-video__facade:focus-visible::before {
  background: rgba(0, 18, 71, 0.15);
}

.ut-video__facade:hover .ut-video__button,
.ut-video__facade:focus-visible .ut-video__button {
  transform: scale(1.08);
}

.ut-video__facade:focus-visible {
  outline: 3px solid var(--orange-brand);
  outline-offset: 3px;
}

.ut-video--small .ut-video__button {
  width: 72px;
  height: 72px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.22), 0 12px 32px rgba(0, 10, 46, 0.45);
}

.ut-video--small .ut-video__button::before {
  border-width: 13px 0 13px 21px;
}

@media (max-width: 599px) {
  .ut-video__button {
    width: 72px;
    height: 72px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.22), 0 12px 32px rgba(0, 10, 46, 0.45);
  }

  .ut-video__button::before {
    border-width: 13px 0 13px 21px;
  }

  .ut-video__hint {
    font-size: 14px;
  }
}

/* Video in a dialog */
.ut-video-dialog {
  width: min(1120px, 94vw);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background: #000;
  overflow: visible;
}

.ut-video-dialog::backdrop {
  background: rgba(0, 10, 46, 0.86);
}

.ut-video-dialog .ut-video__player {
  border-radius: var(--radius-xl);
  box-shadow: none;
}

.ut-video-dialog__close {
  position: absolute;
  z-index: 1;
  top: -56px;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.ut-video-dialog__close::before,
.ut-video-dialog__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-primary);
  transform: translate(-50%, -50%) rotate(45deg);
}

.ut-video-dialog__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ut-video-dialog__close:focus-visible {
  outline: 3px solid var(--orange-brand);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .ut-video__button,
  .ut-video__facade::before {
    transition: none;
  }
}

.ut-video__player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  background: var(--navy-primary);
  box-shadow: 0 24px 48px rgba(0, 18, 71, 0.18);
}

.ut-video__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: radial-gradient(70% 90% at 70% 30%, rgba(239, 110, 34, 0.55), transparent 60%),
    radial-gradient(60% 80% at 20% 90%, rgba(161, 30, 92, 0.6), transparent 60%),
    var(--navy-primary);
  color: var(--white);
  box-shadow: 0 24px 48px rgba(0, 18, 71, 0.18);
}

.ut-video__play {
  position: relative;
  width: 76px;
  height: 76px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.ut-video__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-width: 13px 0 13px 21px;
  border-style: solid;
  border-color: transparent transparent transparent var(--white);
  transform: translate(-50%, -50%);
}

.ut-video__soon {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 10, 46, 0.55);
  font-size: 14px;
  font-weight: var(--fw-semibold);
}

.ut-video--small .ut-video__play {
  width: 56px;
  height: 56px;
}

.ut-video--small .ut-video__play::before {
  border-width: 10px 0 10px 16px;
}

/* ========== What UPfit.today is ========== */
.ut-intro__head {
  max-width: 720px;
  margin: 0 auto var(--space-6);
  text-align: center;
}

.ut-intro__head h2 {
  font-size: clamp(30px, 2.4vw + 18px, 48px);
}

.ut-intro__head .up-lead {
  margin: 0;
}

.ut-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.ut-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #fff1e8;
  color: var(--navy-primary);
  font-size: 14px;
  font-weight: var(--fw-semibold);
}

.ut-pill:nth-child(3n + 2) {
  background: #e3f7f8;
}

.ut-pill:nth-child(3n) {
  background: #fde8ee;
}

.ut-video--wide {
  max-width: 960px;
  margin: 0 auto;
}

/* ========== Member features ========== */
.ut-features {
  background: #fff8f2;
}

.ut-features__head {
  max-width: 760px;
  margin-bottom: var(--space-6);
}

.ut-features__head h2 {
  font-size: clamp(30px, 2.4vw + 18px, 48px);
}

.ut-features__head .up-lead {
  margin: 0;
}

.ut-feature__num {
  display: block;
  margin-bottom: var(--space-2);
  color: #c8174d;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: var(--fw-extrabold);
  letter-spacing: 0.08em;
}

.ut-feature__title {
  margin: 0 0 var(--space-2);
  font-size: var(--up-fs-h3);
}

.ut-feature__text {
  margin: 0;
}

.ut-feature__shot {
  margin-top: var(--space-5);
}

.ut-feature__shot .ut-phone {
  width: 200px;
  max-width: 80%;
  margin: 0 auto;
}

/* Below the tabs breakpoint: cards in a horizontal scroller */
.ut-features__list {
  display: grid;
  grid-auto-columns: minmax(260px, 78%);
  grid-auto-flow: column;
  gap: var(--space-4);
  margin: 0 calc(-1 * var(--up-gutter));
  padding: var(--space-2) var(--up-gutter) var(--space-5);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--up-gutter);
  list-style: none;
}

.ut-features__list:focus-visible {
  outline: none;
  box-shadow: inset var(--up-focus);
}

.ut-feature {
  display: flex;
  flex-direction: column;
  padding: var(--space-5) var(--space-5) 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
}

.ut-feature .ut-feature__shot {
  margin-top: auto;
  padding-top: var(--space-5);
}

.ut-feature .ut-phone {
  margin-bottom: -28%;
}

@media (min-width: 640px) {
  .ut-features__list {
    grid-auto-columns: minmax(280px, 42%);
  }
}

/* Tabs, built by script on wide screens */
.ut-features__body.is-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: center;
  gap: var(--space-8);
}

.is-tabs .ut-features__list {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  overflow: visible;
}

.is-tabs .ut-feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: var(--space-3);
  align-items: baseline;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.is-tabs .ut-feature__num {
  grid-row: span 2;
  margin: 0;
  color: rgba(0, 18, 71, 0.4);
  font-size: 18px;
}

.is-tabs .ut-feature__title {
  margin: 0;
}

.is-tabs .ut-feature:hover {
  background: rgba(0, 18, 71, 0.05);
}

.is-tabs .ut-feature[aria-selected="true"] {
  background: var(--navy-primary);
  box-shadow: 0 16px 32px rgba(0, 18, 71, 0.2);
}

.is-tabs .ut-feature[aria-selected="true"] .ut-feature__num {
  color: #ff8a3d;
}

.is-tabs .ut-feature[aria-selected="true"] .ut-feature__title {
  margin-bottom: var(--space-2);
  color: var(--white);
}

.is-tabs .ut-feature[aria-selected="true"] .ut-feature__text {
  color: #dfe5f3;
}

.is-tabs .ut-feature[aria-selected="false"] .ut-feature__text {
  display: none;
}

.is-tabs .ut-feature:focus-visible {
  outline: none;
  box-shadow: var(--up-focus);
}

/* The phone sits on a warm disc */
.ut-features__stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: var(--space-6) 0;
}

.ut-features__stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef6e22, #d51c53 55%, #a11e5c);
  transform: translate(-50%, -50%);
}

.ut-features__stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(213, 28, 83, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ut-features__stage .ut-feature__shot {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.ut-features__stage .ut-phone {
  width: 280px;
  max-width: 100%;
  margin: 0;
  transform: rotate(-4deg);
}

.ut-features__stage [role="tabpanel"]:focus-visible {
  outline: none;
  box-shadow: var(--up-focus);
  border-radius: var(--radius-xl);
}

@media (prefers-reduced-motion: no-preference) {
  .ut-features__stage [role="tabpanel"] {
    animation: ut-fade 0.25s ease-out;
  }
}

@keyframes ut-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ========== Activation steps ========== */
.ut-steps {
  background: var(--white);
}

.ut-steps__title {
  margin: 0;
  font-size: clamp(30px, 2.4vw + 18px, 48px);
}

.ut-steps__list {
  position: relative;
  display: grid;
  gap: var(--space-5);
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
}

.ut-step {
  position: relative;
  z-index: 1;
  padding: var(--space-6) var(--space-5);
  border: 1px solid #f6dfd0;
  border-radius: var(--radius-xl);
  background: #fff8f2;
}

.ut-step__number {
  display: block;
  margin-bottom: var(--space-4);
  color: #c8174d;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: var(--fw-extrabold);
  line-height: 0.9;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ut-step__number {
    background: linear-gradient(120deg, #ef6e22, #d51c53 60%, #a11e5c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.ut-step__title {
  margin: 0 0 var(--space-2);
  font-size: var(--up-fs-h3);
}

.ut-step__text {
  margin: 0;
}

.ut-steps__own {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: fit-content;
  max-width: 100%;
  margin: var(--space-6) auto 0;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  background: #fff8f2;
  color: var(--ink);
  font-weight: var(--fw-semibold);
  text-align: center;
}

.ut-steps__own-icon {
  flex: 0 0 auto;
  fill: #c8174d;
}

@media (max-width: 767px) {
  .ut-steps__own {
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
  }
}

.ut-steps__video {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  background: var(--navy-primary);
  color: #dfe5f3;
}

.ut-steps__video-text h3 {
  margin: 0 0 var(--space-2);
  color: var(--white);
  font-size: var(--up-fs-h3);
}

.ut-steps__video-text p {
  margin: 0;
}

@media (min-width: 768px) {
  .ut-steps__video {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: var(--space-6);
  }
}

@media (min-width: 768px) {
  .ut-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* A line joins the three steps */
  .ut-steps__list::before {
    content: "";
    position: absolute;
    top: 74px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--wave-turquoise), var(--wave-orange), var(--wave-coral), var(--wave-magenta));
  }
}

/* ========== FAQ ========== */
.ut-faq {
  background: #fff8f2;
}

.ut-faq__title {
  margin: 0 0 var(--space-6);
  font-size: clamp(30px, 2.4vw + 18px, 48px);
}

.ut-faq__intro {
  max-width: 40ch;
  margin: calc(-1 * var(--space-4)) 0 var(--space-6);
  color: var(--ink-muted);
  line-height: 1.6;
}

.ut-faq__item {
  border-bottom: 1px solid #f1ddd0;
}

.ut-faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: var(--space-3) var(--space-7) var(--space-3) 0;
  color: var(--navy-primary);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  list-style: none;
}

.ut-faq__item summary::-webkit-details-marker {
  display: none;
}

.ut-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: #c8174d;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-50%);
}

.ut-faq__item[open] summary::after {
  content: "\2212";
}

.ut-faq__item summary:focus-visible {
  outline: none;
  box-shadow: var(--up-focus);
  border-radius: var(--radius-sm);
}

.ut-faq__item p {
  margin: 0 0 var(--space-5);
  max-width: 70ch;
  line-height: 1.65;
}

.ut-faq__item a {
  color: var(--blue-brand);
  font-weight: var(--fw-semibold);
}

@media (min-width: 992px) {
  .ut-faq__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
    gap: var(--space-8);
    align-items: start;
  }

  .ut-faq__head {
    position: sticky;
    top: var(--space-8);
  }

  .ut-faq__intro {
    margin-bottom: 0;
  }
}

/* ========== For clubs ========== */
.ut-clubs__inner {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.ut-clubs__title {
  font-size: clamp(30px, 2.4vw + 18px, 48px);
}

.ut-clubs__points {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 var(--space-6);
  padding: 0;
  list-style: none;
}

.ut-clubs__points li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  line-height: 1.6;
}

.ut-clubs__check {
  flex: 0 0 auto;
  margin-top: 3px;
  fill: #c8174d;
}

.ut-clubs__phones {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: var(--space-7) 0;
}

.ut-clubs__phones::before,
.ut-clubs__phones::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ut-clubs__phones::before {
  width: min(92%, 460px);
  background: linear-gradient(135deg, #00bfc5, #166397);
}

.ut-clubs__phones::after {
  width: min(100%, 510px);
  border: 1px solid rgba(0, 191, 197, 0.35);
}

.ut-clubs__shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  margin: 0;
}

.ut-clubs__shot .ut-phone {
  position: relative;
  z-index: 1;
  width: 74%;
  max-width: 190px;
}

.ut-clubs__shot--1 {
  align-items: flex-end;
  margin-right: -6%;
}

.ut-clubs__shot--2 {
  align-items: flex-start;
  margin-left: -6%;
}

.ut-clubs__shot--1 .ut-phone {
  transform: rotate(-4deg);
}

.ut-clubs__shot--2 {
  margin-top: var(--space-6);
}

.ut-clubs__shot--2 .ut-phone {
  transform: rotate(4deg);
}

.ut-clubs__shot figcaption {
  position: relative;
  z-index: 2;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 18, 71, 0.12);
  color: var(--navy-primary);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 479px) {
  .ut-clubs__shot figcaption {
    padding: var(--space-1) var(--space-2);
    font-size: 12px;
  }
}

@media (min-width: 992px) {
  .ut-clubs__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--space-8);
  }
}

/* ========== Monthly upkeep ========== */
.ut-upkeep {
  background: #fff8f2;
}

.ut-upkeep__head {
  max-width: 940px;
  margin-bottom: var(--space-7);
}

.ut-upkeep__title {
  font-size: clamp(30px, 2.4vw + 18px, 48px);
}

.ut-upkeep__grid {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.ut-upkeep h3 {
  margin: 0 0 var(--space-4);
  font-size: var(--up-fs-h3);
}

.ut-upkeep__reasons {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}

.ut-upkeep__reasons li {
  position: relative;
  padding-left: 48px;
  line-height: 1.65;
  counter-increment: reason;
}

.ut-upkeep__reasons li::before {
  content: counter(reason);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: #c8174d;
  font-weight: var(--fw-bold);
  box-shadow: inset 0 0 0 1px #f6dfd0;
}

.ut-upkeep__ours {
  padding: var(--space-6);
  border: 1px solid #f6dfd0;
  border-radius: var(--radius-xl);
  background: var(--white);
}

.ut-upkeep__lock {
  display: block;
  margin-bottom: var(--space-3);
  fill: #c8174d;
}

.ut-upkeep__ours > p {
  margin: 0 0 var(--space-5);
  line-height: 1.65;
}

.ut-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4) 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ut-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  color: var(--navy-primary);
  font-size: 13px;
  font-weight: var(--fw-medium);
}

.ut-timeline li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #f6dfd0;
}

.ut-timeline__dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(120deg, #ef6e22, #d51c53);
}

.ut-timeline li.is-now {
  color: #c8174d;
  font-weight: var(--fw-bold);
}

.ut-timeline li.is-now .ut-timeline__dot {
  box-shadow: 0 0 0 4px #fbe8ec;
}

.ut-timeline__now {
  display: block;
  font-size: 12px;
  text-align: center;
}

.ut-timeline__legend {
  margin: var(--space-4) 0 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.ut-upkeep__security {
  margin-top: var(--space-7);
}

.ut-upkeep__security h3 {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.ut-upkeep__shield {
  flex: 0 0 auto;
  fill: #c8174d;
}

.ut-upkeep__sec-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ut-upkeep__sec-list li {
  padding: var(--space-5);
  border: 1px solid #f6dfd0;
  border-radius: var(--radius-lg);
  background: var(--white);
  line-height: 1.6;
}

@media (min-width: 600px) {
  .ut-timeline {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .ut-upkeep__sec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .ut-upkeep__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .ut-timeline {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .ut-upkeep__sec-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ========== About UPfit ========== */
.ut-about__inner {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.ut-eyebrow,
.ut-about__eyebrow {
  margin: 0 0 var(--space-3);
  color: #c8174d;
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ut-about__text h2 {
  font-size: clamp(28px, 2vw + 18px, 42px);
}

.ut-about__text p {
  max-width: 38em;
  margin: 0 0 var(--space-5);
  line-height: 1.65;
}

.ut-about__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ut-about__stats li {
  padding: var(--space-5);
  border: 1px solid #f6dfd0;
  border-radius: var(--radius-xl);
  background: #fff8f2;
}

.ut-about__fig {
  display: block;
  color: #c8174d;
  font-family: var(--font-display);
  font-size: clamp(28px, 2vw + 16px, 40px);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
}

.ut-about__label {
  display: block;
  margin-top: var(--space-1);
  color: var(--navy-primary);
  font-weight: var(--fw-medium);
}

.ut-about__countries,
.ut-about__date {
  margin: var(--space-4) 0 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.ut-about__date {
  margin-top: var(--space-1);
}

@media (min-width: 992px) {
  .ut-about__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
  }
}

/* Text that depends on whether the QR code is shown */
.ut-when-qr {
  display: none;
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .ut-when-qr {
    display: inline;
  }

  .ut-when-touch {
    display: none;
  }
}

/* ========== Footer ========== */
.ut-footer {
  overflow: hidden;
}

.ut-footer__top {
  padding-top: var(--space-8);
  padding-bottom: var(--space-5);
}

.ut-footer .up-footer__logo img {
  width: 150px;
}

.ut-footer__about {
  max-width: 36ch;
  margin: var(--space-4) 0 0;
  font-size: 15px;
  line-height: 1.6;
}

.up-footer .ut-footer__about a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--orange-brand);
  text-underline-offset: 3px;
}

.ut-footer__top {
  display: grid;
  gap: var(--space-7);
}

.ut-footer__download-title {
  margin: 0 0 var(--space-2);
  color: var(--white);
  font-size: 22px;
}

.ut-footer__download-text {
  margin: 0 0 var(--space-4);
  font-size: 15px;
  line-height: 1.6;
}

.ut-footer__stores {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.ut-footer__stores {
  align-items: center;
}

.ut-badge {
  display: block;
  border-radius: 9px;
}

.ut-badge img {
  display: block;
  width: auto;
  height: 48px;
}

.ut-badge:focus-visible {
  outline: 3px solid var(--orange-brand);
  outline-offset: 3px;
}

.ut-footer__qr {
  display: none;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 160px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.ut-footer__qr img {
  flex: 0 0 auto;
  padding: 4px;
  border-radius: var(--radius-sm);
  background: var(--white);
}

@media (min-width: 992px) {
  .ut-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto;
    gap: var(--space-8);
    align-items: start;
  }
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .ut-footer__qr {
    display: flex;
  }
}

.ut-footer__big {
  margin: 0 0 -0.18em;
  color: #c8174d;
  font-family: var(--font-display);
  font-size: clamp(44px, 11.5vw, 180px);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ut-footer__big {
    background: linear-gradient(100deg, #ef6e22, #d51c53 55%, #a11e5c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.ut-footer .up-footer__bottom {
  position: relative;
  background: #000a2e;
  color: #c9d2ea;
}

.ut-footer .up-footer__copy {
  color: #c9d2ea;
}

.up-footer.ut-footer .up-footer__bottom a {
  color: #dfe5f3;
}

.up-footer.ut-footer .up-footer__bottom a:hover,
.up-footer.ut-footer .up-footer__bottom a:focus {
  color: var(--orange-brand);
}

.up-footer.ut-footer .up-footer__bottom :focus-visible {
  outline-color: var(--white);
}

/* ========== Not-found page ========== */
.ut-notfound {
  padding: var(--space-9) 0;
}

/* ========== Company details dialog ========== */
.ut-company {
  width: min(32rem, 100vw - 2rem);
  max-width: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  overflow: visible;
}

.ut-company::backdrop {
  background: rgba(0, 18, 71, 0.8);
}

.ut-company__card {
  position: relative;
  display: grid;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-5) var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ut-company__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--ink-muted);
  cursor: pointer;
}

.ut-company__close:hover {
  background: var(--gray-100);
  color: var(--navy-primary);
}

.ut-company__logo {
  justify-self: center;
  width: 180px;
  height: auto;
  margin: var(--space-2) 0;
}

.ut-company__title {
  margin: 0;
  font-size: 22px;
  color: var(--navy-primary);
}

.ut-company__lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
}

.ut-company__facts {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.ut-company__facts div {
  display: grid;
  gap: 2px;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--gray-100);
}

.ut-company__facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ut-company__facts dt {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ut-company__facts dd {
  margin: 0;
  color: var(--navy-primary);
  font-size: 15px;
  font-weight: var(--fw-medium);
}

.ut-company__facts a {
  color: var(--blue-brand);
  text-decoration: underline;
}

@media (min-width: 640px) {
  .ut-company__card {
    padding: var(--space-7) var(--space-6) var(--space-6);
  }
}

/* Without script the footer link targets the dialog, which then shows in place */
.ut-company:target:not([open]) {
  position: static;
  display: block;
  margin: var(--space-6) auto;
}

/* Inner page head: navy, centred, warm glow rising from the bottom */
.ut-page-head {
  position: relative;
  overflow: hidden;
  padding: var(--space-7) 0 var(--space-8);
  background: var(--navy-primary);
  color: var(--white);
  text-align: center;
}

.ut-page-head__glow {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(239, 110, 34, 0.5), rgba(213, 28, 83, 0.3) 45%, rgba(161, 30, 92, 0.12) 72%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.ut-page-head__glow::before,
.ut-page-head__glow::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.ut-page-head__glow::after {
  inset: 0;
}

.ut-page-head__inner {
  position: relative;
}

.ut-page-head__crumbs ol {
  justify-content: center;
}

.ut-page-head__crumbs li,
.ut-page-head__crumbs [aria-current] {
  color: #c9d2ea;
}

.ut-page-head__crumbs li + li::before {
  color: rgba(255, 255, 255, 0.4);
}

.ut-page-head__crumbs a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ut-page-head__eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--orange-brand);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ut-page-head__title {
  max-width: 22ch;
  margin: 0 auto var(--space-4);
  color: var(--white);
  font-size: clamp(32px, 2.6vw + 14px, 52px);
  line-height: 1.08;
}

.ut-page-head__lead {
  margin: 0;
  color: #c9d2ea;
}

/* Legal text: one column, centred under the page head */
.up-legal {
  margin-inline: auto;
}

/* Legal tables: one card per row on narrow screens, each value under its column name */
@media (max-width: 767.98px) {
  .up-legal table,
  .up-legal tbody,
  .up-legal tr,
  .up-legal td {
    display: block;
    width: 100%;
  }

  .up-legal table {
    overflow: visible;
  }

  .up-legal thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .up-legal tr {
    margin: 0 0 var(--space-3);
    padding: var(--space-2) 0;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
  }

  .up-legal td {
    padding: var(--space-1) var(--space-3);
    border: 0;
  }

  .up-legal td::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    color: var(--navy-primary);
  }
}

/* Cookie bar: the close cross, drawn without an icon font */
.ut-consent__close::before,
.ut-consent__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ut-consent__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Cookie bar on phones: the three choices on one row, so the bar leaves the hero visible */
@media (min-width: 360px) and (max-width: 575.98px) {
  .ut-consent .up-cookie__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ut-consent .up-cookie__actions .up-btn {
    padding: 0 var(--space-1);
    font-size: 13px;
  }
}

/* Short screens: the video close button sits over the video, inside the screen */
@media (max-height: 699.98px) {
  .ut-video-dialog__close {
    top: var(--space-2);
    right: var(--space-2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  }
}
