.home-page {
  --home-hero-ink: #171916;
  --home-section-space: clamp(72px, 9vw, 138px);
}

.home-page .home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: max(620px, calc(100svh - 88px));
  margin: 0;
  color: var(--paper);
  background: var(--home-hero-ink);
}

.home-hero-layout {
  position: relative;
  z-index: 1;
  padding-block: 46px 82px;
}

.home-page .hero-copy {
  max-width: 600px;
  padding: 0;
}

.home-page .hero-copy h1 {
  margin: 0;
  font-size: clamp(54px, 7.25vw, 110px);
  line-height: .96;
  letter-spacing: -.064em;
}

.home-page .hero-copy h1 em {
  color: var(--editorial-accent);
  letter-spacing: -.058em;
}

.home-page .hero-desc {
  max-width: 37ch;
  margin: clamp(19px, 2.1vw, 28px) 0 0;
  color: #e8e7de;
  font-size: 16px;
  line-height: 1.62;
  text-wrap: pretty;
}

.home-page .hero-copy .button {
  margin: 23px 0 0;
}

.home-page .home-launch {
  gap: 0;
  margin-block: 18px 0;
  padding-block: 9px;
}

.home-launch-store {
  display: grid;
  grid-template-columns: 20px auto;
  align-items: center;
  gap: 8px;
  padding-right: 19px;
}

.home-launch-store + .home-launch-store {
  padding-inline: 19px 0;
  border-inline-start: 1px solid #e8e7de47;
}

.home-launch-store img {
  width: 100%;
  height: 23px;
  object-fit: contain;
}

.home-launch-apple {
  filter: invert(1);
  opacity: .91;
}

.home-launch-store > div {
  display: grid;
  gap: 3px;
}

.home-launch-store strong {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.home-launch-store span {
  color: #d6d6cf;
  font-size: 12px;
  line-height: 1.25;
}

.home-launch-store time {
  color: var(--paper);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.home-hero-visual {
  position: absolute;
  inset: 0 0 0 29%;
  isolation: isolate;
}

.home-hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 50%;
  filter: saturate(.94);
}

.home-hero-photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #171916c4, transparent 28%),
    linear-gradient(90deg, var(--home-hero-ink), #171916dc 12%, #17191660 32%, transparent 61%);
  pointer-events: none;
  content: "";
}

.home-hero-benefit {
  position: absolute;
  z-index: 1;
  right: max(38px, calc((100vw - 1320px) / 2 + 16px));
  bottom: clamp(42px, 7.5vh, 70px);
  color: var(--paper);
}

.home-benefit-lead {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  color: #e8e7de;
  font-size: clamp(13px, 1.13vw, 16px);
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 2px 12px #000a;
}

.home-benefit-lead::before {
  width: 18px;
  height: 1px;
  flex: none;
  background: var(--editorial-accent);
  content: "";
}

.home-hero-benefit strong {
  display: block;
  font-size: clamp(29px, 3.1vw, 43px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1.15;
  text-shadow: 0 2px 14px #0008;
}

.home-benefit-mark {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding-inline: .16em .18em;
  color: var(--ink);
  text-shadow: none;
}

.home-benefit-mark::before {
  position: absolute;
  z-index: -1;
  inset: .03em 0 .01em;
  background: var(--editorial-accent);
  clip-path: polygon(2% 8%, 100% 0, 98% 88%, 0 100%);
  content: "";
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero-photo img {
    transform-origin: 74% 46%;
    animation: home-photo-settle 950ms cubic-bezier(.22, 1, .36, 1) both;
  }

  .home-hero-benefit {
    animation: home-benefit-arrive 280ms cubic-bezier(.22, 1, .36, 1) 180ms backwards;
  }
}

@keyframes home-photo-settle {
  from { transform: scale(1.026) translateX(-.45%); }
  to { transform: none; }
}

@keyframes home-benefit-arrive {
  from { opacity: .38; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.home-practice {
  padding-block: clamp(62px, 7.2vw, 112px);
}

.home-practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-areas: '. visual' 'copy visual' 'demo visual' 'action visual' '. visual';
  grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: clamp(32px, 6vw, 90px);
  max-width: 1140px;
}

.home-practice-copy {
  grid-area: copy;
}

.home-practice-copy h2 {
  font-size: clamp(41px, 4.5vw, 66px);
  line-height: 1.01;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.home-practice-copy h2 em {
  display: block;
}

.home-practice-copy p,
.home-personal p {
  max-width: 43ch;
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.home-practice-copy p {
  margin: 16px 0 0;
}

.home-practice-action {
  grid-area: action;
  margin-top: 22px;
}

.home-practice-visual {
  grid-area: visual;
  align-self: center;
  min-width: 0;
}

.home-practice-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: var(--home-hero-ink);
  object-fit: cover;
}

.home-practice-demo {
  grid-area: demo;
  min-width: 0;
  margin-top: 24px;
  border: 1px solid #d9d9d1;
  border-radius: 11px;
  background: #fcfcfa;
}

.home-practice-plan,
.home-practice-screen {
  padding: clamp(13px, 2vw, 19px);
}

.home-practice-plan {
  border-radius: 11px 11px 0 0;
  background: #f6f5f2;
}

.home-practice-plan-label {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 550;
}

.home-practice-plan h3 {
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 700;
}

.home-practice-plan-meta {
  margin-top: 3px;
  font-size: 12px;
}

.home-practice-exercise {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 9px 10px;
  border: 1px solid #e0ded6;
  border-radius: 8px;
  background: #fff;
}

.home-practice-exercise img {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 7px;
}

.home-practice-demo h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

.home-practice-exercise p {
  margin-top: 3px;
  font-size: 12px;
}

.home-practice-screen {
  border-top: 1px solid #e4e2da;
}

.home-practice-screen h4 {
  margin-bottom: 7px;
}

.home-practice-comparison {
  min-width: 0;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.home-practice-comparison :is(th, td) {
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  vertical-align: middle;
  white-space: nowrap;
}

.home-practice-comparison tbody {
  border-top: 1px solid #d9e4d8;
  background: #e8f1e6;
}

.home-practice-load,
.home-practice-reps {
  display: inline-grid;
  min-width: 31px;
  height: 29px;
  place-items: center;
  border: 1px solid #c6cac0;
  border-radius: 7px;
  background: #f4f3ef;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.home-practice-load {
  font-size: 17px;
  font-weight: 700;
}

.home-manifesto {
  background: var(--home-hero-ink);
  color: var(--paper);
  padding-block: var(--home-section-space);
}

.home-manifesto-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-areas: 'title title' 'photo outcomes';
  align-items: center;
  column-gap: clamp(28px, 5.6vw, 80px);
  row-gap: clamp(28px, 3.5vw, 46px);
  max-width: 1140px;
}

.home-manifesto h2 {
  grid-area: title;
  font-size: clamp(38px, 4.9vw, 70px);
  line-height: 1.04;
}

.home-manifesto h2 em {
  display: block;
  color: var(--editorial-accent);
  text-wrap: balance;
}

.home-manifesto-photo {
  grid-area: photo;
  overflow: hidden;
  border-radius: 14px;
  background: var(--ink);
}

.home-manifesto-photo img {
  width: 100%;
  height: auto;
}

.home-manifesto-outcomes {
  grid-area: outcomes;
  display: grid;
  gap: 22px;
}

.home-manifesto-outcomes > div {
  border-top: 1px solid #534f47;
  padding-top: 18px;
}

.home-manifesto-outcomes h3 {
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.16;
}

.home-manifesto-outcomes p {
  max-width: 41ch;
  margin-top: 9px;
  color: #d6d6cf;
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

.home-personal {
  padding-block: clamp(40px, 5.5vw, 80px);
}

.home-personal-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
}

.home-personal h2 {
  font-size: clamp(31px, 3.5vw, 52px);
}

@media (max-width: 980px) {
  .home-personal-layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }

  .home-personal .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 840px) {
  .home-practice-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'copy' 'demo' 'visual' 'action';
    grid-template-rows: auto auto auto auto;
    gap: 22px;
    max-width: 540px;
  }

  .home-practice-demo,
  .home-practice-action {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .home-page .home-hero {
    min-height: 0;
  }

  .home-hero-layout {
    padding-block: 38px 20px;
  }

  .home-hero-visual {
    position: relative;
    inset: auto;
    min-height: clamp(380px, 62vw, 530px);
  }

  .home-hero-photo img {
    object-position: 67% 39%;
  }

  .home-hero-photo::after {
    background: linear-gradient(180deg, var(--home-hero-ink), transparent 22%);
  }

}

@media (min-width: 721px) and (max-width: 900px) {
  .home-hero-benefit {
    left: 32px;
    right: auto;
    bottom: 48px;
  }

  .home-hero-benefit strong {
    font-size: clamp(25px, 3.4vw, 30px);
  }
}

@media (max-width: 720px) {
  .home-page {
    --home-section-space: 58px;
  }

  .home-page .home-hero {
    min-height: calc(100svh - 72px);
    align-content: start;
  }

  .home-hero-layout {
    padding-block: 26px 12px;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(46px, 11.7vw, 72px);
  }

  .home-page .hero-desc {
    margin-top: 15px;
    font-size: 15px;
  }

  .home-hero-visual {
    min-height: 0;
  }

  .home-hero-photo {
    position: relative;
    inset: auto;
    display: block;
    height: clamp(294px, 87vw, 425px);
  }

  .home-hero-photo img {
    object-position: 50% 19%;
  }

  .home-hero-photo::after {
    background:
      linear-gradient(0deg, var(--home-hero-ink), transparent 25%),
      linear-gradient(180deg, var(--home-hero-ink), transparent 15%);
  }

  .home-hero-benefit {
    position: relative;
    inset: auto;
    margin: -16px 20px 24px;
  }

  .home-benefit-lead {
    margin-bottom: 6px;
  }

  .home-hero-benefit strong {
    font-size: clamp(24px, 6.45vw, 34px);
  }

  .home-manifesto-spread {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'title' 'photo' 'outcomes';
    gap: 25px;
    max-width: 540px;
  }

  .home-manifesto h2 {
    font-size: clamp(32px, 8.4vw, 48px);
  }

  .home-personal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .home-practice-copy p {
    margin-top: 14px;
  }

  .home-practice-copy h2 {
    font-size: clamp(35px, 9.5vw, 48px);
  }

  .home-personal-layout {
    gap: 14px;
  }

  .home-personal .button {
    grid-column: auto;
    margin-top: 4px;
  }
}

@media (max-width: 399px) {
  .home-launch-store {
    padding-right: 12px;
  }

  .home-launch-store + .home-launch-store {
    padding-left: 12px;
  }
}

@media (max-width: 359px) {
  .home-page .hero-copy h1 {
    font-size: clamp(38px, 13.2vw, 46px);
  }
}
