/* YoPiMat home: keep this visual system local so legal and editorial pages retain their layout. */
body.landing-body {
  --landing-ink: #071b3e;
  --landing-blue: #0a22bf;
  --landing-aqua: #32d5c3;
  --landing-gold: #ffc400;
  --landing-paper: #f7f9fc;
  --landing-muted: #4b5b70;
  --landing-line: #cbd5e3;
  margin: 0;
  background: var(--landing-paper);
  color: var(--landing-ink);
  font-family: "Avenir Next", "Trebuchet MS", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: clip;
}

.landing-page {
  background: var(--landing-paper);
  color: var(--landing-ink);
  overflow: clip;
}

.landing-page,
.landing-page *,
.landing-footer,
.landing-footer * {
  box-sizing: border-box;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-footer h2 {
  margin: 0;
  color: inherit;
  font-family: "Avenir Next", "Trebuchet MS", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.landing-page h1 {
  max-width: 920px;
  font-size: clamp(4.5rem, 10vw, 9.4rem);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: .97;
}

.landing-page h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: -.06em;
  line-height: 1.1;
}

.landing-page h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.landing-page p,
.landing-footer p {
  max-width: none;
  margin: 0;
  color: inherit;
}

.landing-page a,
.landing-footer a {
  color: inherit;
  text-underline-offset: .22em;
}

.landing-shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.landing-skip {
  position: absolute;
  z-index: 30;
  top: -5rem;
  left: 20px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--landing-ink);
}

.landing-skip:focus {
  top: 12px;
}

.landing-page a:focus-visible,
.landing-footer a:focus-visible,
.landing-skip:focus-visible {
  outline: 3px solid var(--landing-blue, #0a22bf);
  outline-offset: 4px;
}

.landing-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: max(840px, 96svh);
  flex-direction: column;
  overflow: hidden;
  background: var(--landing-ink);
  color: #fff;
}

.landing-hero-art,
.landing-hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.landing-hero-art {
  z-index: -2;
}

.landing-hero-art picture {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-hero-art img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: 60% 55%;
}

.landing-hero-shade {
  background:
    linear-gradient(180deg, rgba(4, 19, 49, .82) 0%, rgba(4, 19, 49, .04) 23%, rgba(4, 19, 49, .22) 70%, rgba(4, 19, 49, .85) 100%),
    linear-gradient(90deg, rgba(4, 19, 49, .96) 0%, rgba(7, 27, 62, .82) 30%, rgba(7, 27, 62, .24) 72%, rgba(7, 27, 62, .08) 100%);
}

.landing-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 102px;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 48px;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 750;
  letter-spacing: -.065em;
  line-height: 1;
  text-decoration: none;
}

.landing-brand span {
  border-bottom: 3px solid var(--landing-blue);
  padding-bottom: 3px;
}

.landing-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.5vw, 32px);
}

.landing-header nav a,
.landing-header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .9rem;
  text-decoration: none;
}

.landing-header nav a:hover,
.landing-hero-more:hover,
.landing-hero-bottom a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.landing-header nav .landing-language-switch {
  min-width: 44px;
  padding-inline: 8px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  font-weight: 650;
}

.landing-header-cta {
  min-width: 112px;
  padding-inline: 17px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  font-weight: 650;
}

.landing-header-cta:hover {
  background: rgba(255, 255, 255, .14);
}

.landing-hero a:focus-visible {
  outline-color: var(--landing-gold);
}

.landing-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(60px, 9vh, 112px) 90px;
}

.landing-kicker,
.landing-section-label {
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.5;
}

.landing-kicker {
  margin-bottom: 28px !important;
  color: var(--landing-aqua) !important;
}

.landing-page h1 em,
.landing-page h2 em {
  color: var(--landing-aqua);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.06em;
}

.landing-intro {
  max-width: 530px !important;
  margin-top: 30px !important;
  color: #eef4ff !important;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.landing-store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.landing-hero .landing-store-actions {
  margin-top: 28px;
}

.landing-store-link {
  display: flex;
  min-width: 176px;
  min-height: 58px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--landing-ink) !important;
  font-size: .73rem;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .16s ease, transform .16s ease;
}

.landing-store-link strong {
  font-size: 1rem;
  font-weight: 700;
}

.landing-store-link:hover {
  transform: translateY(-2px);
}

.landing-store-apple {
  background: var(--landing-gold);
}

.landing-store-apple:hover {
  background: #ffda48;
}

.landing-store-google {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .94);
}

.landing-store-google:hover {
  background: #fff;
}

.landing-hero-more {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  color: #fff;
  font-size: .92rem;
  text-decoration: none;
}

.landing-hero-more span,
.landing-hero-bottom a span {
  font-size: 1.15rem;
}

.landing-hero-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  font-size: .88rem;
}

.landing-hero-bottom a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.landing-manifesto {
  padding-block: clamp(76px, 10vw, 132px);
}

.landing-manifesto-grid {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) 2.3fr;
  gap: clamp(32px, 7vw, 92px);
}

.landing-section-label {
  color: var(--landing-blue) !important;
}

.landing-manifesto .landing-section-label {
  padding-top: 9px;
}

.landing-manifesto h2 {
  max-width: 860px;
}

.landing-manifesto h2 em,
.landing-session h2 em,
.landing-wellness h2 em {
  color: var(--landing-blue);
}

.landing-manifesto-grid > div > p {
  max-width: 650px;
  margin-top: 28px;
  color: var(--landing-muted);
  font-size: 1.1rem;
}

.landing-practice {
  scroll-margin-top: 24px;
  padding-top: 26px;
}

.landing-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 28px;
}

.landing-section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 3.5vw, 3rem);
}

.landing-section-heading > p {
  max-width: 360px;
  color: var(--landing-muted);
}

.landing-practice-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.landing-practice-panel {
  position: relative;
  min-height: 350px;
  padding: clamp(30px, 5vw, 70px) max(32px, calc((100vw - 1240px) / 2));
  overflow: hidden;
}

.landing-yoga {
  background: var(--landing-aqua);
  color: var(--landing-ink);
}

.landing-pilates {
  background: var(--landing-blue);
  color: #fff;
}

.landing-practice-panel h3 {
  position: relative;
  z-index: 1;
  isolation: isolate;
  font-size: clamp(4.6rem, 10vw, 8.6rem);
  font-weight: 550;
  letter-spacing: -.08em;
}

.landing-orbit {
  position: absolute;
  z-index: -1;
  top: -24px;
  right: -18px;
  width: clamp(120px, 15vw, 190px);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .24;
}

.landing-orbit::after {
  position: absolute;
  inset: 15px -17px -15px 17px;
  border: inherit;
  border-radius: inherit;
  content: "";
}

.landing-pilates .landing-orbit {
  border-radius: 50% 50% 8% 8%;
  transform: rotate(24deg);
}

.landing-practice-panel p {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid currentColor;
  font-size: 1rem;
}

.landing-duration {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) 1.2fr;
  gap: 50px;
  align-items: center;
  padding-block: 55px 74px;
}

.landing-duration-heading h3 {
  font-size: 1.35rem;
  letter-spacing: -.035em;
}

.landing-duration-heading p {
  margin-top: 8px;
  color: var(--landing-muted);
  font-size: .95rem;
}

.landing-duration-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-duration-list li {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  padding-inline: clamp(10px, 2vw, 25px);
  border-left: 1px solid var(--landing-line);
  color: var(--landing-ink);
}

.landing-duration-list strong {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 550;
  letter-spacing: -.07em;
  line-height: 1;
}

.landing-duration-list span {
  margin-top: 6px;
  color: var(--landing-muted);
  font-size: .82rem;
}

.landing-session {
  padding-block: clamp(76px, 9vw, 116px);
  background: #eaf0fb;
}

.landing-session-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(38px, 8vw, 110px);
}

.landing-session-heading h2 {
  margin-top: 24px;
}

.landing-session-copy {
  align-self: center;
}

.landing-session-copy > p {
  max-width: 530px;
  color: #34465f;
  font-size: 1.08rem;
}

.landing-session-copy > .landing-session-finish {
  margin-top: 24px;
  font-size: .95rem;
}

.landing-session-copy ul {
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid #b9c5d8;
  list-style: none;
}

.landing-session-copy li {
  min-height: 52px;
  padding-block: 14px;
  border-bottom: 1px solid #b9c5d8;
  color: var(--landing-ink);
}

.landing-guidance {
  padding-block: clamp(72px, 9vw, 112px);
  background: var(--landing-ink);
  color: #fff;
}

.landing-guidance-grid {
  display: grid;
  grid-template-columns: .8fr 1.5fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.landing-language {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(14px, 3vw, 40px);
  border-left: 2px solid var(--landing-aqua);
}

.landing-language-title {
  color: var(--landing-aqua);
  font-size: clamp(3.3rem, 6vw, 5rem);
  font-weight: 550;
  letter-spacing: -.08em;
  line-height: .98;
}

.landing-language-caption {
  margin-top: 13px;
  color: #dbe5f8;
  font-size: .9rem;
}

.landing-guidance .landing-section-label {
  color: var(--landing-aqua) !important;
}

.landing-guidance h2 {
  max-width: 740px;
  margin-top: 22px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.landing-guidance-copy > p:last-child {
  max-width: 650px;
  margin-top: 24px;
  color: #dbe5f8;
  font-size: 1.05rem;
}

.landing-wellness {
  padding-block: clamp(74px, 9vw, 116px);
}

.landing-wellness-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(38px, 8vw, 110px);
  align-items: center;
}

.landing-wellness h2 {
  margin-top: 20px;
}

.landing-wellness-grid > div:last-child p {
  color: var(--landing-muted);
  font-size: 1.05rem;
}

.landing-wellness-grid > div:last-child p + p {
  margin-top: 20px;
  font-size: .92rem;
}

.landing-wellness a {
  color: var(--landing-blue);
  font-weight: 650;
}

.landing-download {
  padding-block: clamp(60px, 8vw, 98px);
  background: var(--landing-ink);
  color: #fff;
}

.landing-download .landing-section-label {
  color: var(--landing-aqua) !important;
}

.landing-download h2 {
  margin-top: 28px;
  font-size: clamp(5rem, 11vw, 10.5rem);
  letter-spacing: -.075em;
  line-height: .98;
}

.landing-download h2 em {
  color: var(--landing-aqua);
}

.landing-download-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 42px;
}

.landing-download-bottom > div:first-child {
  max-width: 500px;
}

.landing-safety-note {
  margin-top: 14px !important;
  color: #c4d0e3 !important;
  font-size: .85rem;
}

.landing-download .landing-store-actions {
  flex-shrink: 0;
}

.landing-download a:focus-visible {
  outline-color: var(--landing-gold);
}

.landing-footer {
  display: grid;
  grid-template-columns: minmax(230px, .8fr) 1.2fr;
  gap: 40px;
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  padding-block: 36px 54px;
  color: var(--landing-muted);
}

.landing-footer-brand .landing-brand {
  color: var(--landing-ink);
  font-size: 1.5rem;
}

.landing-footer-brand p {
  margin-top: 10px;
  font-size: .82rem;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 4px 20px;
  padding-top: 4px;
}

.landing-footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--landing-muted);
  font-size: .83rem;
  text-decoration: none;
}

.landing-footer-links a:hover {
  color: var(--landing-blue);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .landing-shell,
  .landing-footer {
    width: min(100% - 48px, 760px);
  }

  .landing-header {
    grid-template-columns: auto 1fr;
    gap: 8px 18px;
    padding-block: 13px;
  }

  .landing-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 23px;
  }

  .landing-header-cta {
    justify-self: end;
  }

  .landing-hero {
    min-height: max(860px, 98svh);
  }

  .landing-hero-art img {
    object-position: 58% center;
  }

  .landing-manifesto-grid {
    grid-template-columns: minmax(130px, .65fr) 2fr;
    gap: 36px;
  }

  .landing-practice-panel {
    padding-inline: 32px;
  }

  .landing-duration {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 640px) {
  .landing-shell,
  .landing-footer {
    width: calc(100% - 36px);
  }

  .landing-page h1 {
    font-size: clamp(3.65rem, 15vw, 5.5rem);
    letter-spacing: -.07em;
    line-height: 1;
  }

  .landing-page h2 {
    font-size: clamp(2.25rem, 8vw, 3.2rem);
  }

  .landing-header {
    grid-template-columns: 1fr auto;
    min-height: 112px;
    gap: 3px 12px;
  }

  .landing-brand {
    font-size: 1.55rem;
  }

  .landing-header nav {
    flex-wrap: wrap;
    gap: 3px 20px;
  }

  .landing-header nav a {
    font-size: .84rem;
  }

  .landing-header-cta {
    min-width: 102px;
    padding-inline: 13px;
    font-size: .84rem;
  }

  .landing-hero {
    min-height: max(840px, 100svh);
  }

  .landing-hero-art img {
    object-position: 64% center;
  }

  .landing-hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 19, 49, .92), rgba(7, 27, 62, .72) 46%, rgba(7, 27, 62, .45) 76%, rgba(4, 19, 49, .92)),
      linear-gradient(90deg, rgba(4, 19, 49, .34), rgba(4, 19, 49, .04));
  }

  .landing-hero-content {
    justify-content: flex-start;
    padding-block: 56px 108px;
  }

  .landing-kicker {
    max-width: 270px !important;
    margin-bottom: 22px !important;
    font-size: .75rem;
  }

  .landing-intro {
    max-width: 360px !important;
    margin-top: 23px !important;
    font-size: 1rem;
  }

  .landing-hero .landing-store-actions,
  .landing-download .landing-store-actions {
    width: 100%;
    max-width: 330px;
    flex-direction: column;
  }

  .landing-store-link {
    width: 100%;
    min-height: 54px;
    border-radius: 10px;
  }

  .landing-hero-more {
    margin-top: 8px;
  }

  .landing-hero-bottom {
    min-height: 62px;
    align-items: flex-start;
    padding-top: 9px;
    font-size: .78rem;
  }

  .landing-hero-bottom > span {
    max-width: 175px;
  }

  .landing-hero-bottom a {
    gap: 8px;
    font-size: .78rem;
  }

  .landing-manifesto {
    padding-block: 68px 76px;
  }

  .landing-manifesto-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .landing-manifesto-grid > div > p {
    margin-top: 23px;
    font-size: 1rem;
  }

  .landing-practice {
    padding-top: 0;
  }

  .landing-section-heading {
    display: block;
    padding-bottom: 22px;
  }

  .landing-section-heading h2 {
    margin-top: 13px;
  }

  .landing-section-heading > p {
    margin-top: 13px;
    font-size: .93rem;
  }

  .landing-practice-pair {
    grid-template-columns: 1fr;
  }

  .landing-practice-panel {
    min-height: 275px;
    padding: 28px 24px;
  }

  .landing-practice-panel h3 {
    font-size: clamp(4.7rem, 20vw, 6.2rem);
  }

  .landing-practice-panel p {
    max-width: 390px;
    margin-top: 13px;
    padding-top: 14px;
    font-size: .95rem;
  }

  .landing-duration {
    gap: 19px;
    padding-block: 34px 52px;
  }

  .landing-duration-heading h3 {
    font-size: 1.25rem;
  }

  .landing-duration-list li {
    min-height: 74px;
    padding-inline: 10px;
  }

  .landing-duration-list strong {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .landing-duration-list span {
    font-size: .73rem;
  }

  .landing-session {
    padding-block: 64px;
  }

  .landing-session-grid,
  .landing-guidance-grid,
  .landing-wellness-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .landing-session-heading h2 {
    margin-top: 17px;
  }

  .landing-session-copy > p,
  .landing-wellness-grid > div:last-child p {
    font-size: .98rem;
  }

  .landing-session-copy ul {
    margin-top: 20px;
  }

  .landing-guidance {
    padding-block: 60px;
  }

  .landing-guidance-grid {
    gap: 28px;
  }

  .landing-language {
    min-height: 0;
    padding-block: 8px 8px;
  }

  .landing-language-title {
    font-size: 4rem;
  }

  .landing-guidance h2 {
    margin-top: 17px;
    font-size: clamp(2.3rem, 8vw, 3.2rem);
  }

  .landing-guidance-copy > p:last-child {
    margin-top: 20px;
    font-size: .98rem;
  }

  .landing-wellness {
    padding-block: 64px;
  }

  .landing-wellness h2 {
    margin-top: 16px;
  }

  .landing-download {
    padding-block: 55px;
  }

  .landing-download h2 {
    margin-top: 20px;
    font-size: clamp(4.3rem, 17vw, 6.2rem);
  }

  .landing-download-bottom {
    display: block;
    margin-top: 30px;
  }

  .landing-download-bottom > div:first-child {
    font-size: .95rem;
  }

  .landing-download .landing-store-actions {
    margin-top: 25px;
  }

  .landing-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 29px 40px;
  }

  .landing-footer-links {
    justify-content: flex-start;
    gap: 2px 16px;
  }
}

@media (max-width: 360px) {
  .landing-shell,
  .landing-footer {
    width: calc(100% - 32px);
  }

  .landing-header nav {
    gap: 2px 16px;
  }

  .landing-hero-content {
    padding-top: 44px;
  }

  .landing-hero-bottom {
    gap: 8px;
  }

  .landing-hero-bottom > span,
  .landing-hero-bottom a {
    max-width: 50%;
    font-size: .73rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-store-link {
    transition: none;
  }

  .landing-store-link:hover {
    transform: none;
  }
}
