/* RUNNR athlete pages, from the Figma file "Final Draft - Website Design - RUNNR".
   Desktop numbers are the 1440px frames, mobile numbers the 390px frames. Where the frames
   disagree with each other by a few pixels, one value is used everywhere. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../dist/css/files/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Plus Jakarta Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../dist/css/files/plus-jakarta-sans-latin-wght-normal.7660bd9909fb.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Arimo";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../dist/css/files/arimo-latin-400-normal.4b3fd0eff760.woff2") format("woff2");
}
@font-face {
  font-family: "Arimo";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../dist/css/files/arimo-latin-700-normal.1a4b33201643.woff2") format("woff2");
}
@font-face {
  font-family: "Arimo";
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url("../dist/css/files/arimo-latin-700-italic.f264a2d6e261.woff2") format("woff2");
}

:root {
  /* Brand v1 (apps/reports/brand.py); the Figma colour styles carry the same values. */
  --athlete-ink: #2c2419;
  --athlete-ink-soft: #463a2a;
  --athlete-cream: #eae5dd;
  --athlete-paper: #f6f3ee;
  --athlete-line: #d9d2c7;
  --athlete-sand: #b89a72;
  --athlete-muted: #7a7167;
  --athlete-accent: #b0803a;
  --white: var(--athlete-paper);
  --cream: var(--athlete-cream);
  --dark: var(--athlete-ink);
  --light-brown: var(--athlete-line);
  --muted: var(--athlete-muted);
  --sand: var(--athlete-sand);
  --grey: #8a857b;
  --line: #dedad1;
  --field: #fbf4e8;
  --green: #56845c;
  --valley: "Valley Sans", "Inter Variable", "Inter", system-ui, sans-serif;
  --inter: "Inter Variable", "Inter", system-ui, sans-serif;
  --arimo: "Arimo", Arial, "Helvetica Neue", sans-serif;
  --jakarta: "Plus Jakarta Sans Variable", "Inter Variable", system-ui, sans-serif;
  --gutter: clamp(24px, 8.334vw, 120px);
  --wrap: min(1200px, 100% - 2 * var(--gutter));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.athlete {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--dark);
  font-family: var(--inter);
  -webkit-font-smoothing: antialiased;
}

.athlete main {
  flex: 1 0 auto;
}

:where(.athlete) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) {
  margin: 0;
}

:where(.athlete) :where(ul, ol) {
  padding: 0;
  list-style: none;
}

:where(.athlete) img {
  max-width: 100%;
}

:where(.athlete) a {
  color: inherit;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

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

/* ---- type: the "Text Light" / "Text Dark" components ------------------------------------- */

.display-l {
  margin-left: -5px;
  font-family: var(--valley);
  font-size: 64px;
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -2.56px;
}

.display-l em,
.display-m em {
  font-style: italic;
}

.display-m {
  font-family: var(--valley);
  font-size: 48px;
  font-weight: 300;
  line-height: 0.87;
  letter-spacing: -1.92px;
}

.display-bold {
  font-weight: 700;
  line-height: 0.87;
}

.eyebrow {
  font-family: var(--inter);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

/* ---- header: the "Menu Bar" component --------------------------------------------------- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
}

.site-header--dark {
  color: var(--dark);
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--wrap);
  margin: 0 auto;
  padding-top: 33.7px;
}

.site-logo {
  display: block;
  width: 120.7px;
  height: 38.3px;
}

.site-logo img {
  display: block;
  width: 120.7px;
  height: 38.3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--valley);
  font-size: 20px;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.8px;
}

.site-nav--out {
  gap: 40px;
}

.site-nav a,
.site-nav button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav--out a {
  text-transform: none;
}

.site-nav .site-lang {
  font-weight: 400;
  text-transform: none;
}

.site-nav a:hover,
.site-nav button:hover {
  opacity: 0.75;
}

.site-nav form {
  display: contents;
}

.site-menu {
  display: none;
}

/* ---- footer ------------------------------------------------------------------------------ */

.site-footer {
  display: flex;
  align-items: center;
  height: 58px;
  padding: 0 44px;
  background: var(--dark);
  color: var(--grey);
  font-family: var(--inter);
  font-size: 10px;
  line-height: 1.21;
  text-transform: uppercase;
}

/* ---- buttons: the "Buttons" component ---------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4.62px;
  min-height: 46.2px;
  padding: 11.55px 17.32px;
  border: 0;
  border-radius: 5px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--inter);
  font-size: 16px;
  font-weight: 500;
  line-height: 19.36px;
  letter-spacing: -0.32px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  background: #3d3224;
}

.btn::after {
  content: "";
  width: 23.1px;
  height: 23.1px;
  background: url("../images/athlete/icons/arrow-white.5b2a5e3a2732.svg") center / 14.4px 12.1px no-repeat;
}

.btn--plain::after {
  display: none;
}

.btn--light {
  background: var(--white);
  color: var(--dark);
}

.btn--light:hover {
  background: var(--cream);
}

.btn--light::after {
  background-image: url("../images/athlete/icons/arrow-dark.f83a0fd77198.svg");
}

.btn--sand {
  background: var(--sand);
  color: var(--dark);
}

.btn--sand::after {
  display: none;
}

.btn:focus-visible,
.site-nav a:focus-visible,
.site-nav button:focus-visible,
.text-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.text-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- mobile shell ------------------------------------------------------------------------ */

@media (max-width: 767px) {
  .site-bar {
    position: relative;
    justify-content: center;
    width: auto;
    padding: 28px 24px 0;
  }

  .site-nav {
    display: none;
  }

  .site-menu {
    position: absolute;
    top: 33px;
    right: 24px;
    display: block;
  }

  .site-menu summary {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    list-style: none;
    cursor: pointer;
  }

  .site-menu summary::-webkit-details-marker {
    display: none;
  }

  .site-menu summary span,
  .site-menu summary span::before,
  .site-menu summary span::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
  }

  .site-menu summary span {
    position: relative;
  }

  .site-menu summary span::before,
  .site-menu summary span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .site-menu summary span::before {
    top: -6px;
  }

  .site-menu summary span::after {
    top: 6px;
  }

  .site-menu[open] .site-nav {
    position: absolute;
    top: 36px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    min-width: 180px;
    padding: 20px;
    border-radius: 5px;
    background: var(--dark);
    color: var(--white);
    font-size: 18px;
  }

  .site-footer {
    justify-content: center;
    padding: 0 44px;
  }
}

/* ---- sign in and the sign-in link: /my/sign-in/ 34:767, 34:807, 136:328, 136:582 ---------- */

.page-access {
  background: var(--muted);
}

.access {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: max(100svh, 640px);
  padding: 70px 24px 0;
  background: var(--muted);
  color: var(--white);
}

.access--centred {
  padding-top: 40px;
  text-align: center;
}

.access-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(432px, 100%);
}

.access--centred .access-column {
  align-items: center;
  width: min(372px, 100%);
}

.access-title {
  max-width: 432px;
  color: var(--white);
}

.access--centred .access-title {
  margin-left: 0;
}

.access-lede {
  max-width: 352px;
  margin-top: 103px;
  font-family: var(--jakarta);
  font-size: 16px;
  font-weight: 500;
  line-height: 20.16px;
}

.access--centred .access-lede {
  max-width: 344px;
  margin-top: 12px;
}

.access-form {
  position: relative;
  width: 100%;
  margin-top: 25px;
}

.access-form input {
  display: block;
  width: 100%;
  height: 46.2px;
  padding: 0 245px 0 26.6px;
  border: 0;
  border-radius: 5px;
  background: var(--field);
  color: var(--dark);
  font-family: var(--jakarta);
  font-size: 15px;
  font-weight: 400;
}

.access-form input::placeholder {
  color: rgba(0, 0, 0, 0.44);
}

.access-form input:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.access-form .btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 233px;
}

.access--centred .btn {
  width: 233px;
  margin-top: 50px;
}

.access-error {
  margin-top: 10px;
  font-family: var(--jakarta);
  font-size: 13px;
  font-weight: 600;
  color: var(--field);
}

.access-foot {
  margin-top: 33px;
  color: #1e1e1e;
  font-family: var(--jakarta);
  font-size: 13px;
  font-weight: 500;
  line-height: 16.38px;
}

.access-foot a {
  font-weight: 800;
  text-decoration: none;
}

.access-foot a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .access {
    align-items: stretch;
    padding: 136px 54px 40px;
    text-align: center;
  }

  .access--centred {
    align-items: center;
    padding-top: 0;
  }

  .access-column,
  .access--centred .access-column {
    align-items: center;
    width: 100%;
  }

  .access-title {
    margin-left: 0;
  }

  .access--centred .access-title {
    font-size: 46px;
    letter-spacing: -1.84px;
  }

  .access-lede {
    max-width: 282px;
    margin-top: 25px;
  }

  .access--centred .access-lede {
    max-width: 258px;
    margin-top: 18px;
  }

  .access-form {
    margin-top: clamp(40px, 22svh, 185px);
  }

  .access-form input {
    padding: 0 17px;
  }

  .access-form .btn {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .access--centred .btn {
    margin-top: 51px;
  }

  .access-foot {
    margin-top: auto;
    padding-top: 40px;
  }
}

/* ---- booking: /book/ 32:187 (desktop), 126:637 (mobile) ----------------------------------- */

/* On a screen taller than the design, the grey and the photo fill it down to the footer. */
.page-book main {
  display: flex;
  flex-direction: column;
}

.book {
  flex: 1 0 auto;
  position: relative;
  min-height: 810px;
  padding: 112px 0 80px;
  overflow: hidden;
  background: #d9d9d9;
}

.book-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58.68%;
  background-image: linear-gradient(var(--dark), var(--dark)), url("../images/athlete/photos/runner-sepia.95b2ce14890a.jpg");
  background-blend-mode: color, normal;
  background-size: 100% 100%, 132.3% 171.2%;
  background-position: 0 0, 0% 17.5%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000);
  mask-image: linear-gradient(to right, transparent, #000);
}

.book-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.book-inner {
  position: relative;
}

.book-title {
  color: var(--dark);
}

.book-lede {
  position: absolute;
  top: 180px;
  right: -6px;
  width: 137px;
  color: var(--white);
  font-family: var(--valley);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.64px;
}

/* The line about a retest offer or the follow-up price, under the lede. */
.book-price-note {
  display: block;
  margin-top: 0.9em;
  font-weight: 700;
}

.book-card {
  width: 66%;
  min-height: 456px;
  margin-top: 44px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--white);
}

.book-cal {
  width: 100%;
  min-height: 456px;
}

.book-closed {
  padding: 40px;
}

.book-closed h2 {
  font-family: var(--valley);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -1px;
}

.book-closed p {
  margin-top: 12px;
  font-family: var(--arimo);
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 1099px) {
  .book-card {
    width: 100%;
  }

  .book-lede {
    position: static;
    width: auto;
    max-width: 420px;
    margin-top: 12px;
    color: var(--dark);
  }
}

@media (max-width: 767px) {
  .book {
    min-height: 0;
    padding: 102.3px 0 21px;
  }

  .book-photo {
    width: 100%;
    background-image: linear-gradient(90deg, rgba(217, 217, 217, 0.96), rgba(217, 217, 217, 0.42)), linear-gradient(var(--dark), var(--dark)), url("../images/athlete/photos/runner-sepia.95b2ce14890a.jpg");
    background-blend-mode: normal, color, normal;
    background-size: 100% 100%, 100% 100%, cover;
    background-position: 0 0, 0 0, center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .book-photo::after {
    inset: 0 0 auto;
    height: 120px;
    background: linear-gradient(180deg, rgba(44, 36, 25, 0.85) 0%, rgba(44, 36, 25, 0.55) 65%, rgba(44, 36, 25, 0) 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .book-inner {
    width: auto;
  }

  .book-intro {
    padding: 0 24px;
  }

  .book-title {
    margin-left: 0;
    font-size: 48px;
    line-height: 0.87;
    letter-spacing: -1.92px;
  }

  .book-lede {
    max-width: 264px;
    margin-top: 11px;
    font-family: var(--inter);
    font-size: 10px;
    font-weight: 300;
    line-height: 11.8px;
    letter-spacing: -0.2px;
  }

  .book-card {
    width: auto;
    margin: 45px 16px 0;
    padding: 20px;
  }
}

@media (max-width: 767px) {
  .access-foot {
    width: calc(100% + 60px);
    margin-inline: -30px;
  }

  .book-card {
    padding: 0;
  }
}

/* ---- shared bits ----------------------------------------------------------------------- */

.icon {
  display: inline-block;
  flex: none;
  width: var(--size, 44px);
  height: var(--size, 44px);
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.notice {
  display: flex;
  gap: 28px;
  padding: 22px;
  border-radius: 5px;
  background: var(--white);
  font-family: var(--arimo);
}

.notice img {
  flex: none;
  width: 44px;
  height: 44px;
}

.notice h2 {
  color: #302b20;
  font-size: 17px;
  font-weight: 700;
  line-height: 19.55px;
}

.notice p {
  margin-top: 12px;
  color: #918d81;
  font-size: 16px;
  line-height: 18.4px;
}

.notice .notice-small {
  font-size: 15px;
  line-height: 17.25px;
}

/* ---- booking confirmed: /book/done/… 33:481 (desktop), 124:721 (mobile) ------------------ */

.page-done main {
  background: var(--light-brown);
}

.done-hero {
  position: relative;
  min-height: 575px;
  padding: 423px 0 34px;
  overflow: hidden;
  background: var(--light-brown);
}

.done-hero-photo {
  position: absolute;
  inset: 0 0 auto;
  height: 818.8px;
  background: url("../images/athlete/photos/runner-glasses.966da960b3ab.jpg") 50% 61.1% / 113.9% 200.4% no-repeat;
  -webkit-mask-image: linear-gradient(to top, transparent, #000);
  mask-image: linear-gradient(to top, transparent, #000);
}

.done-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 818.8px;
  background: linear-gradient(137.8deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.02) 93.4%, rgba(0, 0, 0, 0.84) 100%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.done-hero-rule {
  position: absolute;
  top: 94.7px;
  left: 0;
  right: 0;
  z-index: 2;
  height: 0.5px;
  background: var(--white);
}

.done-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.done-title {
  padding-left: 22px;
  color: var(--dark);
  font-family: var(--valley);
  font-size: 64px;
  font-style: italic;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -2.56px;
}

.done-note {
  margin: 0 8px 6px 0;
  color: var(--dark);
  font-family: var(--valley);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  line-height: 0.87;
  letter-spacing: -0.72px;
}

.done-info {
  position: relative;
  display: grid;
  grid-template-columns: 59.93% 1fr;
  min-height: 406px;
}

.done-facts {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.done-where {
  flex: 1;
  padding: 55.7px 24px 0 max(24px, calc(50vw - 596px));
}

.done-label {
  display: flex;
  align-items: center;
  gap: 10.2px;
  color: #918d81;
  font-family: var(--arimo);
  font-size: 11px;
  font-weight: 700;
  line-height: 12.65px;
  text-transform: uppercase;
}

.done-label img {
  width: 32px;
  height: 32px;
}

.done-place {
  max-width: 230px;
  margin: 16.7px 0 0 -2px;
  color: #000;
  font-family: var(--valley);
  font-size: 18px;
  font-weight: 500;
  line-height: 21.6px;
}

.done-address {
  margin-top: 12px;
  color: #918d81;
  font-family: var(--arimo);
  font-size: 15px;
  line-height: 17.25px;
}

.done-map {
  display: inline-block;
  margin-top: 8px;
  color: #302b20;
  font-family: var(--arimo);
  font-size: 14px;
  font-weight: 700;
  line-height: 16.1px;
}

.done-when {
  display: grid;
  grid-template-columns: 53.5% 1fr;
  height: 132.2px;
  border-top: 0.5px solid var(--dark);
}

.done-stat {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 16.4px 12px 0 max(24px, calc(50vw - 596px));
  color: var(--muted);
}

.done-stat + .done-stat {
  padding-left: 34px;
  border-left: 0.5px solid var(--dark);
}

.done-stat .icon {
  margin-top: 13px;
}

.done-stat-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 42px;
  color: #000;
  font-family: var(--valley);
  font-size: 61.2px;
  font-weight: 500;
  line-height: 73.44px;
}

.done-stat-big small {
  color: #918d81;
  font-family: var(--arimo);
  font-size: 15px;
  font-weight: 400;
  line-height: 17.25px;
}

.done-stat-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 112px;
  padding-top: 18px;
  font-family: var(--arimo);
}

.done-stat-text strong {
  color: #302b20;
  font-size: 13.33px;
  font-weight: 700;
  line-height: 15.33px;
}

.done-stat-text span {
  color: #918d81;
  font-size: 11.1px;
  line-height: 12.77px;
}

/* The lab itself: the architect's rendering of the treadmill room, until there are photos. */
.done-place-photo {
  background: url("../images/athlete/photos/lab-immersion-room.ebf68085524f.jpg") 50% 50% / cover no-repeat;
}

.done-mail {
  padding: 46px 0 47px;
  background: var(--light-brown);
}

/* "Cómo prepararte" (also on the athlete's home page) */

.prep {
  display: grid;
  grid-template-columns: 40.56% 1fr;
  min-height: 1091px;
}

.prep-photo {
  background: url("../images/athlete/photos/track-aerial.6414a081a7d4.jpg") 46.9% 79.8% / 478.5% 342.5% no-repeat;
}

.prep-panel {
  padding: 47.3px 0 100px;
  background: var(--dark);
  color: var(--white);
}

.prep-eyebrow {
  padding-left: 71.9px;
  font-family: var(--valley);
  font-size: 18px;
  font-weight: 300;
  line-height: 0.87;
  letter-spacing: -0.72px;
  text-transform: uppercase;
}

.prep-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 94px;
  padding: 0 61px 0 68.9px;
}

.prep-title {
  max-width: 350px;
  font-family: var(--valley);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.87;
  letter-spacing: -2.56px;
}

.prep-lede {
  margin-bottom: 6px;
  font-family: var(--valley);
  font-size: 18px;
  font-weight: 300;
  line-height: 0.87;
  letter-spacing: -0.72px;
}

.prep-list {
  margin-top: 138.6px;
}

.prep-list li {
  display: flex;
  align-items: center;
  gap: 22.8px;
  min-height: 49px;
  padding: 0 32px 16.9px 131px;
  border-bottom: 0.5px solid var(--white);
  font-family: var(--arimo);
  font-size: 15px;
  line-height: 21.75px;
}

.prep-list li + li {
  margin-top: 26.2px;
}

.prep-list img {
  flex: none;
  width: 32px;
  height: 32px;
}

/* "Qué sigue" */

.journey {
  padding: 108.6px 0 130px;
  background: #fff;
}

.journey-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.journey-title {
  margin-left: 4px;
  color: var(--dark);
  font-family: var(--valley);
  font-size: 48px;
  font-weight: 700;
  line-height: 0.87;
  letter-spacing: -1.92px;
}

.journey-percent {
  display: flex;
  align-items: flex-start;
  margin-right: 44px;
  color: #000;
  font-family: var(--valley);
  font-size: 61.2px;
  font-weight: 500;
  line-height: 73.44px;
}

.journey-percent small {
  color: var(--dark);
  font-family: var(--arimo);
  font-size: 21.09px;
  font-weight: 400;
  line-height: 24.25px;
}

.journey-bar {
  height: 6px;
  margin-top: 14px;
  background: var(--cream);
}

.journey-bar span {
  display: block;
  height: 100%;
  background: var(--dark);
}

.journey-steps {
  display: flex;
  margin-top: 82.4px;
}

.journey-step {
  display: flex;
  flex: 1;
  align-items: center;
}

.journey-step:last-child {
  flex: none;
}

.journey-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 72.2px;
  height: 73.1px;
  background: var(--cream);
  color: var(--light-brown);
}

.journey-step.is-done .journey-icon {
  background: var(--dark);
  color: var(--white);
}

/* The current step is ringed so the athlete can see where they are. */
.journey-step.is-now .journey-icon {
  outline: 3px solid var(--dark);
  outline-offset: -3px;
  color: var(--dark);
}

/* Each step is named under its icon, with whether it is done, current or still to come. */
.journey-step {
  position: relative;
  padding-bottom: 58px;
}

.journey-label {
  position: absolute;
  top: 85px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--inter);
  white-space: nowrap;
}

.journey-step:last-child .journey-label {
  right: 0;
  left: auto;
  text-align: right;
}

.journey-label strong {
  color: #918d81;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

.journey-label small {
  color: #918d81;
  font-size: 12px;
  line-height: 15px;
}

.journey-step.is-done .journey-label strong,
.journey-step.is-now .journey-label strong {
  color: var(--dark);
}

.journey-step.is-now .journey-label small {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
}

.journey-step.is-now:last-child .journey-label small {
  align-self: flex-end;
}

.journey-link {
  flex: 1;
  height: 5px;
  margin: 0 13.1px;
  background: var(--cream);
}

.journey-link span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--dark);
}

.journey-link.is-done span {
  width: 100%;
}

.journey-link.is-partial span {
  width: 25px;
}

.journey-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}

.journey-card {
  display: flex;
  align-items: flex-start;
  gap: 20.2px;
  width: 311.3px;
  min-height: 99.8px;
  padding: 25.8px 24px 24px 20.6px;
  border: 1px solid var(--dark);
  border-radius: 5px;
  background: #fff;
  font-family: var(--arimo);
}

.journey-card--next {
  width: auto;
  max-width: 520px;
  border-style: dashed;
}

.journey-card img {
  flex: none;
  width: 32px;
  height: 32px;
}

.journey-card-step {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 3px;
  background: var(--cream);
  color: var(--dark);
}

.journey-card h3 {
  color: #302b20;
  font-size: 17px;
  font-weight: 700;
  line-height: 19.55px;
}

.journey-card p {
  margin-top: 6px;
  color: #918d81;
  font-size: 15px;
  line-height: 17.25px;
}

.journey-card .journey-card-kicker {
  margin: 0 0 6px;
  color: #918d81;
  font-family: var(--inter);
  font-size: 11px;
  font-weight: 700;
  line-height: 13px;
  text-transform: uppercase;
}

.journey-card--next .journey-card-kicker {
  color: var(--dark);
}

.journey-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  padding: 8px 24px;
  border-radius: 5px;
  background: var(--dark);
  color: #eae7df;
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.journey-action:hover {
  opacity: 0.9;
}

.journey-card .text-link {
  display: inline-block;
  margin-top: 10px;
  color: #302b20;
  font-size: 14px;
}

@media (max-width: 767px) {
  .done-hero {
    min-height: 590px;
    padding: 409px 33px 70px;
  }

  .done-hero-photo {
    height: 590.4px;
    background-position: center;
    background-size: cover;
    -webkit-mask-image: linear-gradient(to top, transparent 2%, #000 47%);
    mask-image: linear-gradient(to top, transparent 2%, #000 47%);
  }

  .done-hero::after {
    height: 590.4px;
  }

  .done-hero-rule {
    display: none;
  }

  .done-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11.2px;
    width: auto;
  }

  .done-title {
    padding-left: 0;
    font-size: 39.72px;
    letter-spacing: -1.59px;
  }

  .done-note {
    margin: 0;
    font-size: 11.17px;
    letter-spacing: -0.45px;
  }

  .done-info {
    display: flex;
    flex-direction: column-reverse;
    margin: -21px 34px 0;
    min-height: 0;
  }

  .done-place-photo {
    height: 339px;
    border-radius: 5px 5px 0 0;
  }

  .done-facts {
    padding: 45px 36px;
    border-radius: 0 0 5px 5px;
    background: var(--white);
  }

  .done-where {
    padding: 0;
  }

  .done-place {
    max-width: 184px;
    margin-top: 9px;
  }

  .done-when {
    display: flex;
    flex-direction: column;
    gap: 41px;
    height: auto;
    margin-top: 52px;
    padding-top: 0;
    border-top: 0;
  }

  .done-stat,
  .done-stat + .done-stat {
    gap: 19px;
    padding: 0;
    border-left: 0;
  }

  .done-stat .icon {
    margin-top: 0;
  }

  .done-stat-text {
    max-width: 96px;
    padding-top: 0;
  }

  .done-mail {
    padding: 22px 34px 25px;
  }

  .done-mail .wrap {
    width: auto;
  }

  .prep {
    display: block;
    min-height: 0;
  }

  .prep-photo {
    display: none;
  }

  .prep-panel {
    padding: 36px 0 60px;
  }

  .prep-eyebrow {
    padding-left: 40px;
    font-size: 10.6px;
    letter-spacing: -0.42px;
  }

  .prep-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    margin-top: 20.7px;
    padding: 0 40px;
  }

  .prep-title {
    font-size: 48px;
    letter-spacing: -1.92px;
  }

  .prep-lede {
    margin: 0 0 0 1px;
    font-size: 11px;
    letter-spacing: -0.44px;
  }

  .prep-list {
    margin-top: 86px;
  }

  .prep-list li {
    gap: 11.5px;
    padding: 0 16px 17px 41.2px;
  }

  .prep-list li span {
    max-width: 290px;
  }

  .prep-list li + li {
    margin-top: 49px;
  }

  .journey {
    padding: 60px 33px 90px;
  }

  .journey .wrap {
    width: auto;
  }

  .journey-title {
    max-width: 130px;
    margin-left: 0;
  }

  .journey-percent {
    margin-right: 0;
  }

  .journey-bar {
    height: 5px;
    margin-top: 20px;
  }

  .journey-steps {
    margin-top: 50px;
  }

  .journey-icon {
    width: 38.2px;
    height: 38.7px;
  }

  .journey-icon .icon {
    --size: 23.3px !important;
  }

  .journey-link {
    height: 3px;
    margin: 0 2px;
  }

  .journey-step {
    padding-bottom: 44px;
  }

  .journey-label {
    top: 46px;
    gap: 3px;
  }

  /* Five names share a phone's width, so the numbers give way. */
  .journey-num {
    display: none;
  }

  .journey-label strong {
    font-size: 10px;
    line-height: 12px;
  }

  .journey-label small {
    font-size: 9px;
    line-height: 11px;
  }

  .journey-step.is-now .journey-label small {
    padding: 2px 4px;
  }

  .journey-action {
    justify-content: center;
    width: 100%;
  }

  .journey-link.is-partial span {
    width: 8px;
  }

  .journey-cards {
    margin-top: 50px;
  }

  .journey-card,
  .journey-card--next {
    width: 100%;
    max-width: none;
    padding: 26px 30px 31px 21px;
  }
}

/* ---- athlete home: /my/ (Figma 111:1671 desktop, 137:1181 mobile) ---------------------- */

.page-home main {
  background: var(--white);
}

.btn-xl {
  min-height: 63px;
  padding: 17px 25.5px;
  font-family: var(--valley);
  font-size: 23.79px;
  font-weight: 500;
  line-height: 28.55px;
  letter-spacing: -0.48px;
}

.home-hero {
  position: relative;
  min-height: 560px;
  padding: 123.7px 0 73px;
  overflow: hidden;
}

.home-hero.has-report {
  min-height: 957px;
}

.home-hero-photo {
  /* Figma 111:1671: the archetype's "Archetypes Desktop 1" crop, toned in Figma. */
  position: absolute;
  inset: 0 -2.4px auto;
  height: 957px;
  background: var(--photo, none) 50% 0 / cover no-repeat;
}

.home-hero:not(.has-report) .home-hero-photo {
  height: 560px;
  background-position: 50% 30%;
  filter: grayscale(1);
}

/* "Footage Neutral": a report without an archetype. */
.home-hero-photo.is-neutral {
  background: var(--dark);
}

.home-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 243, 238, 0) 0%, var(--white) 100%);
}

/* Before the first report the hero only holds the greeting, so on desktop it hugs its text
   instead of standing 560px tall over an empty band, and the photo fills just that height. */
@media (min-width: 768px) {
  .home-hero:not(.has-report) {
    min-height: 0;
    padding-bottom: 72px;
  }

  .home-hero:not(.has-report) .home-hero-photo {
    bottom: 0;
    height: auto;
  }

  .home-hero:not(.has-report) + .home-cards {
    padding-top: 24px;
  }
}

.home-hero-photo.is-neutral::after {
  /* Figma centres the icon; on the home page the score sits there, so it moves into the right
     half, where the runner is in every photo. */
  background:
    url("../images/athlete/icons/missing-light.452423cba6eb.svg") 74% 50% / 223px no-repeat,
    linear-gradient(180deg, rgba(246, 243, 238, 0) 0%, var(--white) 100%);
}

/* The small grey labels next to the score were drawn over a light photo; on the brown they
   turn cream to stay readable. */
.home-hero-photo.is-neutral + .home-hero-inner .home-score small {
  color: var(--white);
}

.home-hero-inner {
  position: relative;
  padding-left: 4.6px;
}

.home-kicker {
  color: var(--white);
  font-family: var(--inter);
  font-size: 11px;
  font-weight: 700;
  line-height: 13.31px;
  text-transform: uppercase;
}

.home-hello {
  margin-top: 16px;
  color: var(--white);
  font-family: var(--inter);
  font-size: 80px;
  font-weight: 700;
  line-height: 88px;
}

.home-lede {
  margin-top: 16px;
  color: var(--white);
  font-family: var(--inter);
  font-size: 16px;
  line-height: 24px;
}

.home-latest {
  margin-top: 40px;
  color: var(--dark);
  font-family: var(--inter);
  font-size: 11px;
  font-weight: 700;
  line-height: 13.31px;
  text-transform: uppercase;
}

.home-score {
  display: flex;
  align-items: flex-start;
  gap: 29px;
  margin: 5px 0 0 -7px;
}

.home-score-value {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  color: var(--dark);
  font-family: var(--valley);
  font-size: 94.69px;
  font-weight: 300;
  line-height: 87.12px;
  letter-spacing: -3.79px;
}

.home-score-value small,
.home-score-change small,
.home-profile small {
  color: var(--muted);
  font-family: var(--jakarta);
  font-size: 23.67px;
  font-weight: 500;
  line-height: 29.83px;
  letter-spacing: 0;
}

.home-score-value small {
  margin-bottom: 10px;
}

.home-score-change {
  display: flex;
  align-items: flex-start;
  color: #007c34;
  font-family: var(--valley);
  font-size: 94.69px;
  font-weight: 300;
  line-height: 87.12px;
  letter-spacing: -3.79px;
}

.home-score-change small {
  max-width: 90px;
  margin: 19px 0 0 17.8px;
}

.home-score-arrow {
  width: 34.1px;
  height: 34.1px;
  margin-right: 10px;
  background: currentColor;
  clip-path: polygon(50% 6%, 96% 88%, 4% 88%);
  border-radius: 1.5px;
}

.home-score-change.is-down {
  color: var(--dark);
}

.home-score-change.is-down .home-score-arrow {
  transform: rotate(180deg);
}

.home-withheld {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--jakarta);
  font-size: 16px;
  font-weight: 500;
}

.home-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 47.8px 0 0 3.7px;
  color: var(--dark);
  font-family: var(--valley);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.87;
  letter-spacing: -2.56px;
}

.home-profile small {
  max-width: 50px;
  font-size: 16px;
  line-height: 20.16px;
}

.home-axes {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: min(553px, 100%);
  margin-top: 44.6px;
}

.home-axis {
  position: relative;
  height: 68px;
}

.home-axis-mark {
  position: absolute;
  top: 3.8px;
  left: 3.5px;
  width: 29.5px;
  height: 29.9px;
  border-radius: 4.6px;
  background: #d9d9d9;
}

/* Each domain's mark carries its icon: heart for Engine, runner for Mechanics, bolt for Power. */
.home-axis-mark--engine,
.home-axis-mark--mechanics,
.home-axis-mark--power {
  background: var(--dark);
}

.home-axis-mark--engine::after,
.home-axis-mark--mechanics::after,
.home-axis-mark--power::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--white);
  -webkit-mask: var(--axis-icon) center / contain no-repeat;
  mask: var(--axis-icon) center / contain no-repeat;
}

.home-axis-mark--engine {
  --axis-icon: url("../images/athlete/icons/axis-engine.e3ac2541c08f.svg");
}

.home-axis-mark--mechanics {
  --axis-icon: url("../images/athlete/icons/step-run.744937a76ea0.svg");
}

.home-axis-mark--power {
  --axis-icon: url("../images/athlete/icons/axis-power.8aa165ce817c.svg");
}

.home-axis-label {
  position: absolute;
  top: 10.9px;
  left: 44.1px;
  color: var(--dark);
  font-family: var(--inter);
  font-size: 12.9px;
  font-weight: 700;
  line-height: 15.61px;
  text-transform: uppercase;
}

.home-axis-value {
  position: absolute;
  top: 0;
  left: 447.1px;
  display: flex;
  align-items: flex-end;
  color: #000;
  font-family: var(--valley);
  font-size: 56.4px;
  font-weight: 500;
  line-height: 67.68px;
}

.home-axis-value small {
  margin: 0 0 10.3px 2px;
  color: #918d81;
  font-family: var(--arimo);
  font-size: 13.82px;
  font-weight: 400;
  line-height: 15.9px;
}

.home-axis-track {
  position: absolute;
  top: 44.8px;
  left: 0;
  width: 425.9px;
  height: 6px;
  background: var(--cream);
}

.home-axis-track span {
  display: block;
  height: 100%;
  background: var(--dark);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 20.9px;
}

.home-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 61px 0 48px;
}

.home-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 48px 44px 42px;
  border-radius: 16px;
  background: #f7f4ef;
  color: #2c281f;
  font-family: var(--inter);
}

.home-card h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 29.05px;
}

.home-card-icon {
  --size: 44px;
  margin-bottom: -12px;
  color: var(--dark);
}

.home-card-text {
  color: #8e887c;
  font-size: 16px;
  line-height: 19.36px;
}

.home-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-card-title--big {
  gap: 18px;
  margin-bottom: 3px;
}

.home-card-title--big .icon {
  color: var(--dark);
}

.home-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.home-card--dark {
  gap: 16px;
  padding-top: 50px;
  padding-bottom: 44px;
  background: #3b3020;
  color: #eae7df;
}

.home-card-kicker {
  padding: 4px 10px;
  border-radius: 5px;
  background: #eae7df;
  color: #2c281f;
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
}

.home-card--dark .home-card-text {
  color: #c0b9ac;
}

.home-action {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 37px;
  border-radius: 5px;
  background: var(--dark);
  color: #eae7df;
  font-size: 14px;
  font-weight: 700;
  line-height: 16.94px;
  letter-spacing: -0.28px;
  text-decoration: none;
}

.home-action--light {
  padding-inline: 34px;
  background: #f7f4ef;
  color: #2c281f;
}

.home-action:hover {
  opacity: 0.9;
}

.home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-tag,
.athlete-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--cream);
  color: var(--dark);
  font-family: var(--inter);
  font-size: 12px;
  font-weight: 700;
}

.athlete-status-confirmed {
  background: #e3eadf;
  color: #355c3b;
}

.athlete-status-cancelled,
.athlete-status-rejected {
  background: #efe0d9;
  color: #7a3b22;
}

.booking-facts {
  display: grid;
  gap: 14px;
  width: 100%;
}

.booking-facts div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid #dfdbd3;
}

.booking-facts dt {
  color: #8e887c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-facts dd {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  line-height: 19.36px;
}

.booking-facts dd span {
  color: #8e887c;
  font-size: 14px;
}

.booking-facts .text-link {
  font-size: 14px;
}

.home-reports,
.home-others {
  width: 100%;
}

.home-reports li + li,
.home-others li + li {
  margin-top: -1px;
}

.home-reports a {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 89px;
  border-block: 1px solid #dfdbd3;
  text-decoration: none;
}

.home-report-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
}

.home-report-text strong {
  font-size: 16px;
  line-height: 19.36px;
}

.home-report-text small {
  color: #8e887c;
  font-size: 13px;
  line-height: 15.73px;
}

.home-report-arrow {
  font-size: 21px;
  line-height: 25.41px;
}

.home-others li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-block: 1px solid #dfdbd3;
}

.home-others li span:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-others small {
  color: #8e887c;
  font-size: 13px;
}

.score-ring {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 54px;
  height: 54px;
}

.score-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.score-ring circle {
  fill: none;
  stroke-width: 6;
}

.score-ring-track {
  stroke: #dfdbd3;
}

.score-ring-fill {
  stroke: #cea751;
  stroke-linecap: round;
}

.score-ring strong {
  position: relative;
  color: #2c281f;
  font-family: var(--inter);
  font-size: 17px;
  font-weight: 700;
  line-height: 20.57px;
}

.athlete-change {
  font-weight: 700;
}

.athlete-change-up {
  color: #507e4d;
}

.athlete-change-down {
  color: #8a4a2c;
}

@media (max-width: 767px) {
  .home-hero,
  .home-hero.has-report {
    min-height: 0;
    padding: 345px 24px 40px;
  }

  /* Figma 137:1181: the "Archetypes Mobile 2" crop. */
  .home-hero-photo {
    inset: 0 0 auto;
    height: 507px;
    background-image: var(--photo-mobile, var(--photo, none));
  }

  .home-hero:not(.has-report) .home-hero-photo {
    height: 507px;
    background-position: 56% 0;
    background-size: 222% 113.9%;
  }

  .home-hero-photo.is-neutral::after {
    background-position: 50% 50%, 0 0;
    background-size: 71px, auto;
  }

  .home-hero-photo.is-neutral + .home-hero-inner .home-score small {
    color: var(--muted);
  }

  .home-hero-inner {
    width: auto;
    padding: 0;
  }

  .home-kicker,
  .home-hello,
  .home-lede {
    color: var(--dark);
  }

  .home-hello {
    margin-top: 8px;
    font-family: var(--valley);
    font-size: 48px;
    line-height: 57.6px;
  }

  .home-lede {
    margin-top: 0;
  }

  .home-latest {
    margin-top: 32px;
  }

  .home-score {
    gap: 14px;
    margin: 8px 0 0 -4px;
  }

  .home-score-value,
  .home-score-change {
    font-size: 56px;
    line-height: 52px;
    letter-spacing: -2.24px;
  }

  .home-score-value small,
  .home-score-change small {
    font-size: 16px;
    line-height: 20px;
  }

  .home-score-change small {
    margin: 6px 0 0 10px;
  }

  .home-score-arrow {
    width: 22px;
    height: 22px;
    margin-right: 6px;
  }

  .home-profile {
    margin-top: 36px;
    max-width: 330px;
  }

  .home-axes {
    width: 100%;
    margin-top: 40px;
  }

  .home-axis {
    height: 68px;
  }

  .home-axis-mark {
    left: 8px;
    width: 27.4px;
  }

  .home-axis-label {
    left: 54px;
    top: 7px;
  }

  .home-axis-value {
    left: auto;
    right: 12px;
    font-size: 28.29px;
    line-height: 33.95px;
  }

  .home-axis-value small {
    margin-bottom: 5px;
    font-size: 6.93px;
    line-height: 7.97px;
  }

  .home-axis-track {
    top: 41px;
    left: 6px;
    width: calc(100% - 12px);
    height: 5px;
  }

  .home-actions {
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
  }

  .home-actions .btn {
    width: 100%;
  }

  .home-cards {
    width: auto;
    padding: 50px 35px 48px;
  }

  .home-card {
    padding: 48px 44px 42px;
    border: 1px solid #dfdbd3;
    border-radius: 5px;
  }

  .home-card--dark {
    border: 0;
  }

  .home-action--light {
    justify-content: center;
    width: 100%;
  }

  .home-reports a {
    min-height: 152px;
  }

  .booking-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---- pre-visit profile: /my/visit/ 34:911 + 111:863 (desktop), 137:620 + 142:1536 (mobile) */

.visit-hero {
  position: relative;
  min-height: 632.2px;
  padding: 189px 0 82px;
  overflow: hidden;
  background: var(--muted);
  color: var(--white);
}

.visit-hero-photo {
  position: absolute;
  inset: 0;
  background: url("../images/athlete/photos/visit-runner.ebce43df3977.jpg") 50.1% 11.2% / 181.5% 598.8% no-repeat;
  filter: grayscale(1);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.45), #000 55%, rgba(0, 0, 0, 0.7));
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.45), #000 55%, rgba(0, 0, 0, 0.7));
  mix-blend-mode: luminosity;
}

.visit-hero-inner {
  position: relative;
}

.visit-kicker {
  font-family: var(--valley);
  font-size: 18px;
  font-weight: 300;
  line-height: 0.87;
  letter-spacing: -0.72px;
  text-transform: uppercase;
}

.visit-title {
  margin-top: 45px;
  margin-left: 0;
}

.visit-lede {
  max-width: 352px;
  margin-top: 33px;
  font-family: var(--jakarta);
  font-size: 16px;
  font-weight: 500;
  line-height: 20.16px;
}

.visit-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1112px, 100%);
  min-height: 64px;
  margin-top: 104px;
  padding: 0 18px;
  border-radius: 14px;
  background: #f7f5f0;
  color: #2d271d;
}

.visit-steps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.visit-steps-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid #e2ded6;
  border-radius: 999px;
  background: #fff;
  font-family: var(--inter);
  font-size: 13px;
  font-weight: 700;
  line-height: 15.73px;
  text-decoration: none;
}

.visit-steps-list a .icon {
  color: #ae9870;
}

.visit-steps-list a:hover {
  border-color: var(--sand);
}

.visit-steps-time {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  color: #8b877c;
  font-family: var(--inter);
  font-size: 12px;
}

.visit-steps-time .icon {
  color: var(--dark);
}

.visit-body {
  padding: 109.4px 24px 108px;
  background: var(--cream);
}

.visit-form {
  width: min(848px, 100%);
  margin-left: max(0px, calc(50% - 436px));
}

.visit-banner {
  margin-bottom: 32px;
  padding: 14px 18px;
  border-radius: 7px;
  background: #f4dfd6;
  color: #7a3b22;
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 700;
}

.visit-section {
  scroll-margin-top: 24px;
}

.visit-section + .visit-section {
  margin-top: 78px;
}

.visit-section-head {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  color: var(--dark);
}

.visit-section-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eae7df;
  color: var(--dark);
}

.visit-section-head h2 {
  padding-top: 6px;
  font-family: var(--arimo);
  font-size: 24px;
  font-weight: 700;
  line-height: 27.6px;
}

.visit-section-head p {
  margin-top: 4px;
  font-family: var(--inter);
  font-size: 15px;
  line-height: 18.15px;
}

.visit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 755px;
}

.visit-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.visit-field-wide {
  grid-column: 1 / -1;
}

.visit-label {
  color: var(--dark);
  font-family: var(--inter);
  font-size: 12px;
  font-weight: 700;
  line-height: 14.52px;
  text-transform: uppercase;
}

.visit-field input:not([type="radio"]):not([type="checkbox"]),
.visit-field select,
.visit-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px;
  border: 1px solid var(--cream);
  border-radius: 7px;
  background: var(--white);
  color: var(--dark);
  font-family: var(--inter);
  font-size: 16px;
  line-height: 19.36px;
}

.visit-field textarea {
  min-height: 92px;
  resize: vertical;
}

.visit-field select {
  appearance: none;
  padding-right: 40px;
  background: var(--white) url("../images/athlete/icons/chevron-down.74a791362afd.svg") right 16px center / 15px 15px no-repeat;
}

.visit-field input:focus-visible,
.visit-field select:focus-visible,
.visit-field textarea:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 1px;
}

.visit-field.has-error input,
.visit-field.has-error select,
.visit-field.has-error textarea {
  border-color: #b5573a;
}

.visit-help {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--sand);
  font-family: var(--inter);
  font-size: 13px;
  line-height: 17.55px;
}

.visit-help .icon {
  margin-top: 2px;
}

.visit-error {
  color: #a5432b;
  font-family: var(--inter);
  font-size: 13px;
  font-weight: 700;
}

.visit-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.visit-tiles label {
  position: relative;
  display: grid;
  place-items: center;
  width: 160px;
  height: 50px;
  border: 1px solid var(--cream);
  border-radius: 7px;
  background: var(--white);
  color: var(--dark);
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 700;
  line-height: 16.94px;
  cursor: pointer;
}

.visit-tiles input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.visit-tiles label:has(input:checked) {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.visit-tiles label:has(input:focus-visible) {
  outline: 2px solid var(--sand);
  outline-offset: 2px;
}

.visit-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.visit-radios label,
.visit-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #2d271d;
  font-family: var(--inter);
  font-size: 14px;
  line-height: 16.94px;
  cursor: pointer;
}

.visit-radios input,
.visit-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--dark);
}

.visit-document {
  margin-top: 16px;
  border: 1px solid #e2ded6;
  border-radius: 7px;
  background: #fff;
}

.visit-document summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 39px;
  padding: 0 16px;
  color: #2d271d;
  font-family: var(--inter);
  font-size: 15px;
  font-weight: 700;
  line-height: 18.15px;
  list-style: none;
  cursor: pointer;
}

.visit-document summary::-webkit-details-marker {
  display: none;
}

.visit-document[open] summary > .icon:first-child,
.visit-document[open] .visit-caret {
  transform: rotate(90deg);
}

.visit-legal {
  max-height: 360px;
  overflow: auto;
  padding: 4px 16px 18px;
  color: #2d271d;
  font-family: var(--inter);
  font-size: 13px;
  line-height: 19px;
}

.visit-legal h3 {
  margin: 16px 0 6px;
  font-size: 13px;
}

.visit-legal p + p {
  margin-top: 8px;
}

.visit-note {
  margin-top: 12px;
  color: #8b877c;
  font-family: var(--inter);
  font-size: 13px;
  line-height: 18px;
}

.visit-section .visit-check {
  gap: 12px;
  margin-top: 21px;
  line-height: 20.3px;
}

.visit-section .visit-check input {
  margin-top: 0;
}

.visit-clause {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.visit-translation {
  color: #8b877c;
}

.visit-photos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 21px 0 0;
  padding: 16px;
  border: 1px solid #e2ded6;
  border-radius: 7px;
}

.visit-photos legend {
  float: left;
  width: 100%;
  padding: 0;
  color: #2d271d;
  font-family: var(--inter);
  font-size: 12px;
  font-weight: 700;
  line-height: 14.52px;
  text-transform: uppercase;
}

.visit-photos .visit-check {
  margin-top: 0;
}

.visit-photos.has-error,
.visit-check.has-error {
  color: #a5432b;
}

.visit-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 35px;
}

.visit-button {
  width: 100%;
}

.visit-cancel {
  color: #2d271d;
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 700;
}

.visit-card {
  width: 100%;
  padding: 44px;
  border: 1px solid #dedad2;
  border-radius: 5px;
  background: #f7f5f0;
  font-family: var(--arimo);
  color: #302d25;
}

.visit-card + .visit-card {
  margin-top: 20px;
}

.visit-card--note {
  margin-bottom: 40px;
  padding: 28px 32px;
}

.visit-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 27.6px;
}

.visit-card-title .icon {
  color: #b49d6e;
}

.visit-card-text {
  margin-top: 13px;
  color: #8e8a80;
  font-size: 16px;
  line-height: 24px;
}

.visit-grants {
  margin-top: 17px;
  border-top: 1px solid #dedad2;
}

.visit-grants li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  border-bottom: 1px solid #dedad2;
  font-size: 16px;
  font-weight: 700;
  line-height: 18.4px;
}

.visit-pill {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 23px;
  padding: 0 10px;
  border: 1px solid #dedad2;
  border-radius: 999px;
  color: #8e8a80;
  font-size: 11px;
  font-weight: 700;
  line-height: 12.65px;
  text-transform: uppercase;
}

.visit-pill.is-yes {
  border-color: var(--dark);
  background: var(--dark);
  color: #eae7df;
}

.visit-card .visit-document {
  margin-top: 20px;
  border-color: #dedad2;
}

.visit-card .visit-document summary {
  gap: 8px;
  min-height: 52px;
  font-family: var(--arimo);
  font-size: 16px;
}

.visit-caret {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
}

.visit-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.visit-change {
  color: #302d25;
  font-size: 16px;
  font-weight: 700;
  line-height: 34px;
}

.visit-answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 18px;
}

.visit-answers div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 0 18px;
  border-bottom: 1px solid #dedad2;
}

.visit-answers dt {
  color: #8e8a80;
  font-size: 11px;
  font-weight: 700;
  line-height: 13px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.visit-answers dd {
  font-size: 16px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.visit-home {
  min-height: 52px;
  padding-inline: 22px;
  margin-top: 34px;
  font-family: var(--arimo);
  font-size: 14px;
  font-weight: 700;
}

.visit-done {
  position: relative;
  min-height: 100vh;
  padding: 161px 24px 120px;
  overflow: hidden;
  background: #adadad;
}

.visit-done-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 72.3%;
  background: url("../images/athlete/photos/visit-runner.ebce43df3977.jpg") 50% 0 / cover no-repeat;
  filter: grayscale(1);
  -webkit-mask-image: linear-gradient(to right, transparent, #000);
  mask-image: linear-gradient(to right, transparent, #000);
}

.visit-done::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

.visit-done-inner {
  position: relative;
  z-index: 1;
  width: min(1108px, 100%);
  margin: 0 auto;
}

.visit-done-kicker {
  color: var(--dark);
  font-family: var(--arimo);
  font-size: 11px;
  font-weight: 700;
  line-height: 12.65px;
  letter-spacing: 1.76px;
  text-transform: uppercase;
}

.visit-done-title {
  margin-top: 12px;
  color: #eae7df;
  font-family: var(--arimo);
  font-size: 80px;
  font-weight: 700;
  line-height: 92px;
  letter-spacing: -1.6px;
}

.visit-done-lede {
  margin: 12px 0 60px;
  color: var(--dark);
  font-family: var(--arimo);
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 767px) {
  .visit-hero {
    min-height: 0;
    padding: 150px 0 40px;
  }

  .visit-hero-photo {
    background-position: 50% 10%;
    background-size: cover;
  }

  .visit-hero-inner {
    width: auto;
    padding: 0 24px;
  }

  .visit-title {
    margin-top: 24px;
    font-size: 48px;
    letter-spacing: -1.92px;
  }

  .visit-lede {
    margin-top: 20px;
  }

  .visit-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 40px;
    padding: 14px;
  }

  .visit-body {
    padding: 48px 24px 80px;
  }

  .visit-form {
    margin-left: 0;
  }

  .visit-fields {
    grid-template-columns: 1fr;
  }

  .visit-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-tiles label {
    width: auto;
  }

  .visit-card {
    padding: 28px 22px;
  }

  .visit-done {
    padding: 140px 20px 80px;
  }

  .visit-done-photo {
    width: 100%;
  }

  .visit-done-title {
    font-size: 48px;
    line-height: 56px;
  }

  .visit-done-lede {
    margin-bottom: 36px;
  }

  .visit-answers {
    grid-template-columns: 1fr;
  }
}

/* ---- report: /my/reports/… 95:170 (desktop), 137:887 (mobile) --------------------------- */

.page-report main {
  background: var(--white);
}

.report-head {
  padding: 189px 0 77px;
}

.report-kicker {
  font-family: var(--valley);
  font-size: 18px;
  font-weight: 300;
  line-height: 0.87;
  letter-spacing: -0.72px;
  text-transform: uppercase;
}

.report-name {
  margin: 28px 0 0 5px;
  font-family: var(--arimo);
  font-size: 80px;
  font-weight: 700;
  line-height: 96px;
}

.report-label {
  color: var(--grey);
  font-family: var(--arimo);
  font-size: 13px;
  font-weight: 700;
  line-height: 16.9px;
  text-transform: uppercase;
}

.report-label--gold {
  color: #a38b5d;
}

.report-text {
  margin-top: 18px;
  font-family: var(--arimo);
  font-size: 18px;
  line-height: 27px;
}

.report-top {
  display: grid;
  /* Figma 95:170: the photo is 524 of the 1440 frame; the text stays where it was. */
  grid-template-columns: 36.4% 1fr;
  min-height: 347.6px;
  background: #fff;
}

.report-top-photo {
  /* The archetype's "Archetypes Desktop 2" crop, toned in Figma. */
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 40px 58px;
  background: var(--photo, none) 50% 0 / cover no-repeat;
}

.report-top-photo.is-neutral {
  background: var(--dark);
}

.report-top-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
}

.report-top-photo.is-neutral::before {
  background:
    url("../images/athlete/icons/missing-light.452423cba6eb.svg") 50% 50% / 71px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
}

.report-score {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 26px;
}

.report-score-value,
.report-score-change {
  display: flex;
  align-items: flex-end;
  color: var(--dark);
  font-family: var(--valley);
  font-size: 64px;
  font-weight: 300;
  line-height: 58.88px;
  letter-spacing: -2.56px;
}

.report-score-value small,
.report-score-change small {
  margin: 0 0 5px 3px;
  color: var(--dark);
  font-family: var(--jakarta);
  font-size: 16px;
  font-weight: 500;
  line-height: 20.16px;
  letter-spacing: 0;
}

.report-score-change {
  color: #007c34;
}

.report-score-change small {
  max-width: 60px;
  margin-left: 10px;
}

.report-score-change .home-score-arrow {
  align-self: flex-start;
  width: 22px;
  height: 22px;
  margin: 6px 4px 0 0;
}

.report-score-change.is-down {
  color: var(--dark);
}

.report-top-body {
  padding: 46.7px 120px 52px 93px;
}

.report-archetype {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-family: var(--valley);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.87;
  letter-spacing: -2.56px;
}

.report-archetype small {
  margin-top: 13px;
  max-width: 40px;
  color: var(--muted);
  font-family: var(--jakarta);
  font-size: 16px;
  font-weight: 500;
  line-height: 20.16px;
  letter-spacing: 0;
}

.report-withheld {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--jakarta);
  font-size: 16px;
}

.report-opening {
  max-width: 692px;
  margin: 30px 0 30px 11px;
  font-family: var(--valley);
  font-size: 18px;
  font-weight: 300;
  line-height: 18px;
  letter-spacing: -0.72px;
}

.report-top-body .btn {
  margin-left: 11px;
}

.report-profile {
  display: grid;
  grid-template-columns: 70.3% 1fr;
  min-height: 306px;
}

.report-profile-main {
  position: relative;
  padding: 44px 44px 40px;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(90deg, rgba(32, 25, 14, 0.96), rgba(32, 25, 14, 0.33)), url("../images/athlete/photos/runner-banner.b9cc5a97f8a8.jpg") 0 30% / cover no-repeat;
  color: #f7f5ef;
}

.report-profile-title {
  margin-top: 12px;
  font-family: var(--inter);
  font-size: 52px;
  font-style: italic;
  font-weight: 700;
  line-height: 62.93px;
}

.report-profile-text {
  max-width: 630px;
  margin-top: 12px;
  color: var(--cream);
  font-family: var(--inter);
  font-size: 18px;
  line-height: 27px;
}

.report-profile-side {
  padding: 44px 42px 40px 44px;
  background: var(--light-brown);
}

.report-profile-side .report-label {
  color: var(--muted);
}

.report-profile-side .report-text {
  margin-top: 18px;
}

.report-body {
  padding-top: 78px;
}

.report-panel {
  margin-bottom: 40px;
  padding: 36px 44px 40px;
  border-radius: 16px;
  background: #f7f5f0;
}

.report-notes ul {
  margin-top: 14px;
  font-family: var(--arimo);
  font-size: 16px;
  line-height: 24px;
}

.report-notes li + li {
  margin-top: 6px;
}

.report-domains {
  margin-bottom: 28px;
}

.report-domains-title {
  margin-top: 9px;
  font-family: var(--inter);
  font-size: 25px;
  font-weight: 700;
  line-height: 30.26px;
}

.report-domain-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 27.5px;
}

.report-domain {
  display: flex;
  flex-direction: column;
  min-height: 371.6px;
  padding: 0 29.8px 26px;
  border-radius: 5px;
  background: #fff;
}

.report-domain-head {
  position: relative;
  height: 113px;
}

.report-domain-head .home-axis-mark {
  top: 34.8px;
  left: 3.7px;
}

.report-domain-label {
  position: absolute;
  top: 41.9px;
  left: 44.3px;
  font-family: var(--inter);
  font-size: 12.9px;
  font-weight: 700;
  line-height: 15.61px;
  text-transform: uppercase;
}

.report-domain-value {
  position: absolute;
  top: 31.1px;
  right: 0;
  display: flex;
  align-items: flex-end;
  color: #000;
  font-family: var(--valley);
  font-size: 56.4px;
  font-weight: 500;
  line-height: 67.68px;
}

.report-domain-value small {
  margin: 0 0 10.3px 2px;
  color: #918d81;
  font-family: var(--arimo);
  font-size: 13.82px;
  font-weight: 400;
  line-height: 15.9px;
}

.report-domain-track {
  position: absolute;
  top: 75.8px;
  left: 0;
  width: 63%;
  height: 5px;
  background: var(--cream);
}

.report-domain-track span {
  display: block;
  height: 100%;
  background: var(--dark);
}

.report-domain-text {
  padding: 0 7px;
  font-family: var(--arimo);
  font-size: 16.59px;
  line-height: 24.88px;
}

.report-domain-text + .report-domain-text {
  margin-top: 10px;
}

.report-chip {
  margin-top: auto;
  padding: 6px 8px;
  border-radius: 3px;
  background: var(--cream);
  color: var(--grey);
  font-family: var(--inter);
  font-size: 11.06px;
  line-height: 13.38px;
  text-align: center;
}

.report-chip + .report-chip {
  margin-top: 6px;
}

.report-progress {
  margin-bottom: 0;
}

.report-table {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  font-family: var(--inter);
}

.report-table th {
  padding-bottom: 14px;
  color: var(--grey);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  text-transform: uppercase;
}

.report-table td {
  height: 48px;
  border-top: 1px solid #dfdbd3;
  font-size: 16px;
}

.report-table td:first-child {
  width: 62%;
  font-size: 15px;
  font-weight: 700;
}

.report-table td:nth-child(2),
.report-table td:nth-child(3) {
  width: 16%;
}

.report-table td:last-child {
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.report-table tr.is-main td {
  height: 56px;
  font-size: 22px;
  font-weight: 700;
}

.report-table tr.is-main td:first-child {
  font-size: 18px;
}

.report-table .athlete-change-up {
  color: #56845c;
}

.report-measures {
  /* Figma 95:170: the "Archetypes Desktop 1" crop drawn 2082 x 1382 from (-340, -163) of the
     1440 frame, with its own white fade; the gold gradient (::before) goes over both. */
  --photo-box: -23.61vw -11.32vw / 144.58vw 95.97vw no-repeat;
  position: relative;
  margin-top: 82px;
  padding: 76px 0 70px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%) var(--photo-box),
    var(--photo, linear-gradient(var(--dark), var(--dark))) var(--photo-box),
    #fff;
}

.report-measures::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #ae9870 100%);
}

.report-measures-inner {
  position: relative;
  padding-left: 45px;
}

.report-measures-title {
  max-width: 480px;
  color: var(--cream);
  font-family: var(--valley);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.87;
  letter-spacing: -2.56px;
  text-transform: uppercase;
}

.report-measures-note {
  margin: 20px 0 0 4px;
  color: var(--light-brown);
  font-family: var(--arimo);
  font-size: 13px;
  font-weight: 700;
  line-height: 16.9px;
  text-transform: uppercase;
}

.report-rule {
  margin: 48px 0 72px;
  border: 0;
  border-top: 1px solid var(--cream);
}

.measure-tiles {
  display: grid;
  grid-template-columns: repeat(5, 220.9px);
  gap: 3.8px;
  margin-top: 68px;
}

.measure-tiles div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 180.7px;
  padding: 21.2px 23.6px 13px;
  border-radius: 5px;
  background: var(--cream);
  color: var(--dark);
}

.measure-tiles dt {
  max-width: 131px;
  font-family: var(--inter);
  font-size: 11.59px;
  font-weight: 700;
  line-height: 14.03px;
  text-transform: uppercase;
}

.measure-tiles dd {
  display: flex;
  align-items: flex-end;
  color: #000;
  font-family: var(--valley);
  font-size: 50.67px;
  font-weight: 500;
  line-height: 60.81px;
}

.measure-tiles small {
  margin: 0 0 6px 1px;
  color: #918d81;
  font-family: var(--arimo);
  font-size: 12.42px;
  font-weight: 400;
  line-height: 14.28px;
}

.measure-tiles--dark div {
  background: var(--dark);
  color: var(--cream);
}

.measure-tiles--dark dd,
.measure-tiles--dark small {
  color: var(--cream);
}

.report-plan {
  padding-top: 66px;
}

.report-timeline {
  position: relative;
  margin: 56px 0 0 57px;
}

.report-timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 60px;
  left: 14px;
  width: 2px;
  background: var(--dark);
}

.report-timeline li {
  position: relative;
  padding: 0 24px 46px 44px;
  font-family: var(--inter);
}

.report-timeline li::before {
  content: "✦";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dark);
  color: #f7f5ef;
  font-size: 13px;
}

.report-timeline h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 22.99px;
}

.report-timeline-text {
  margin-top: 9px;
  font-size: 17px;
  line-height: 24.65px;
}

.report-timeline-dose {
  margin-top: 9px;
  font-size: 15px;
  font-weight: 700;
  line-height: 21px;
}

.report-timeline-more {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.report-next {
  margin: 40px 42px 0;
  padding: 44px;
  border-radius: 9px;
  background: #3b2f21;
  color: var(--cream);
}

.report-next .report-text {
  font-family: var(--inter);
}

.report-foot {
  margin: 28px 42px 0;
  padding-bottom: 72px;
  color: var(--grey);
  font-family: var(--inter);
  font-size: 12px;
  line-height: 18px;
}

.report-foot p + p {
  margin-top: 10px;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 28px !important;
}

.report-actions .btn {
  min-height: 54px;
  padding-inline: 26.5px;
  color: #fff;
}

.report-back {
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1099px) {
  .measure-tiles {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .report-domain-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .report-head {
    width: auto;
    padding: 130px 24px 40px;
  }

  .report-name {
    margin: 16px 0 0;
    font-size: 48px;
    line-height: 56px;
  }

  .report-top,
  .report-profile {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-score {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  /* Figma 137:887: the "Archetypes Mobile 1" crop. */
  .report-top-photo {
    min-height: 348px;
    padding: 0 24px 32px;
    background-image: var(--photo-mobile, var(--photo, none));
  }

  /* On a phone the score wraps to two lines and reaches the middle, so the icon moves up. */
  .report-top-photo.is-neutral::before {
    background-position: 50% 64px, 0 0;
  }

  .report-top-body {
    padding: 32px 24px 40px;
  }

  .report-archetype {
    font-size: 48px;
    letter-spacing: -1.92px;
  }

  .report-opening,
  .report-top-body .btn {
    margin-left: 0;
  }

  .report-profile-main {
    padding: 36px 24px;
    border-radius: 0;
  }

  .report-profile-title {
    font-size: 40px;
    line-height: 48px;
  }

  .report-profile-side {
    padding: 36px 24px;
  }

  .report-body {
    width: auto;
    padding: 48px 20px 0;
  }

  .report-panel {
    padding: 28px 22px;
    border-radius: 5px;
  }

  .report-table td:first-child {
    width: auto;
  }

  .report-measures {
    margin-top: 48px;
    padding: 56px 0;
    background: var(--photo, linear-gradient(var(--dark), var(--dark))) 70% 0 / cover no-repeat;
  }

  .report-measures-inner {
    width: auto;
    padding: 0 20px;
  }

  .report-measures-title {
    font-size: 44px;
    letter-spacing: -1.76px;
  }

  .measure-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 32px;
  }

  .measure-tiles div {
    height: 150px;
  }

  .measure-tiles dd {
    font-size: 40px;
    line-height: 48px;
  }

  .report-timeline {
    margin-left: 0;
  }

  .report-next,
  .report-foot {
    margin-inline: 0;
  }

  .report-next {
    padding: 28px 22px;
  }
}

.outbox-text {
  margin: 16px 0 20px;
  white-space: pre-wrap;
  font-family: var(--inter);
  font-size: 14px;
  line-height: 21px;
}
