/* Fit My Day: the homepage (home.html), for people who don't have the app yet. Fonts: css/fonts.css. */

:root {
  --bg: #0f0f10;
  --panel: #1b1b1d;
  --line: #2e2c29;
  --ink: #f6f5f1;
  --muted: #a09f97;
  --accent: #f2c230;
  --on: #161307;
  --display: "Barlow Condensed", sans-serif;
  --body: Barlow, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  margin: 0;
  letter-spacing: 0.01em;
}
.hl {
  background: var(--accent);
  color: var(--on);
  padding: 0 0.12em;
  white-space: nowrap;
  display: inline-block;
  margin-top: 0.06em;
}
.y {
  color: var(--accent);
}
.kick {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 17px;
}
.btn.store {
  background: var(--ink);
  color: #111;
}
.btn.store small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  opacity: 0.7;
}
.btn.store b {
  display: block;
  font-size: 19px;
  line-height: 1.1;
}
.btn.store svg {
  width: 26px;
  height: 26px;
}
.btn.ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
}
/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 72% 45%, rgba(242, 194, 48, 0.18), transparent 70%);
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(58px, 8vw, 108px);
  margin: 14px 0 18px;
}
.hero p.lead {
  font-size: 20px;
  color: rgba(246, 245, 241, 0.82);
  max-width: 520px;
  margin: 0 0 28px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}
.trust span:before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}
.phones {
  position: relative;
  height: 640px;
}
.phone {
  position: absolute;
  width: 280px;
  border-radius: 44px;
  background: #000;
  border: 9px solid #1d1d20;
  overflow: hidden;
  box-shadow:
    0 0 0 2px #2c2c30,
    0 40px 90px rgba(0, 0, 0, 0.6);
}
.phone img {
  display: block;
  width: 100%;
}
.phones .p1 {
  left: 50%;
  top: 0;
  transform: translateX(-12%) rotate(3deg);
  z-index: 2;
}
.phones .p2 {
  left: 50%;
  top: 70px;
  transform: translateX(-95%) rotate(-5deg);
  opacity: 0.92;
}
.photo {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 210px;
  height: 150px;
  border-radius: 22px;
  overflow: hidden;
  z-index: 3;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 0 3px var(--accent);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* how */
section {
  padding: 72px 0;
}
.sh {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.sh h2 {
  font-size: clamp(40px, 5.4vw, 64px);
  margin-top: 10px;
}
.sh p {
  color: var(--muted);
  font-size: 18px;
  margin: 14px 0 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.step .pic {
  height: 190px;
  background: #111 center/cover;
}
.step .tx {
  padding: 20px 22px 24px;
}
.step .n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
}
.step h3 {
  font-size: 30px;
  margin: 6px 0 6px;
}
.step p {
  margin: 0;
  color: var(--muted);
}
/* features */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 36px 0;
}
.feat.flip .fx {
  order: 2;
}
.feat .fx h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 10px 0 14px;
}
.feat .fx p {
  color: rgba(246, 245, 241, 0.8);
  font-size: 18px;
  margin: 0 0 16px;
  max-width: 480px;
}
.feat ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}
.feat li {
  padding: 6px 0 6px 28px;
  position: relative;
}
.feat li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.feat .vis {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.feat .vis:before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--g, rgba(242, 194, 48, 0.22)), transparent 70%);
}
.feat .vis .phone {
  position: relative;
  width: 300px;
}
.new {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 9px 1px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on);
  font-size: 13px;
  letter-spacing: 0.1em;
  vertical-align: middle;
}
/* free band */
.free {
  background: var(--accent);
  color: var(--on);
  border-radius: 32px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.free h2 {
  font-size: clamp(56px, 8vw, 104px);
}
.free p {
  font-size: 20px;
  font-weight: 600;
  max-width: 640px;
  margin: 16px auto 0;
}
.free .cmp {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.free .cmp div {
  background: rgba(22, 19, 7, 0.08);
  border: 2px solid rgba(22, 19, 7, 0.15);
  border-radius: 18px;
  padding: 14px 22px;
  font-weight: 600;
}
.free .cmp b {
  display: block;
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
}
.free .cmp s {
  opacity: 0.55;
}
/* guides */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: block;
}
.card .im {
  aspect-ratio: 4/3;
  background: #111 center/cover;
}
.card .t {
  padding: 12px 14px 16px;
}
.card b {
  display: block;
  font-size: 17px;
}
.card small {
  color: var(--muted);
}
.more {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
/* final */
.final {
  text-align: center;
  padding: 90px 0 70px;
}
.final img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(242, 194, 48, 0.25);
}
.final h2 {
  font-size: clamp(52px, 7vw, 92px);
  margin: 22px 0 14px;
}
.final p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 28px;
}
.final .cta {
  justify-content: center;
}
.final .web {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}
.final .web a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) {
  .hero {
    padding: 28px 0 10px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .phones {
    height: 520px;
    margin-top: 10px;
  }
  .phone {
    width: 230px;
    border-radius: 38px;
    border-width: 8px;
  }
  .phones .p1 {
    transform: translateX(-42%) rotate(2deg);
  }
  .phones .p2 {
    display: none;
  }
  .photo {
    width: 150px;
    height: 108px;
    left: 0;
    right: auto;
    bottom: 40px;
    transform: rotate(-4deg);
  }
  .free .cmp {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .free .cmp div {
    flex: 1;
    padding: 12px 10px;
    font-size: 15px;
  }
  section {
    padding: 52px 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    display: grid;
    grid-template-columns: 120px 1fr;
  }
  .step .pic {
    height: auto;
    min-height: 130px;
  }
  .step .tx {
    padding: 16px;
  }
  .step h3 {
    font-size: 26px;
  }
  .feat,
  .feat.flip {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 0;
  }
  .feat.flip .fx {
    order: 0;
  }
  .feat .vis .phone {
    width: 250px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .free {
    padding: 42px 22px;
    border-radius: 26px;
  }
  .btn {
    height: 54px;
    padding: 0 18px;
  }
}

.step .pic.s1 {
  background-image: url(../img/welcome-home.webp);
}
.step .pic.s2 {
  background-image: url(../img/ex/goblet-squats.webp);
}
.step .pic.s3 {
  background-image: url(../img/welcome-gym.webp);
}
.card .im.gob {
  background-image: url(../img/ex/goblet-squats.webp);
}
.card .im.bench {
  background-image: url(../img/ex/barbell-bench-press.webp);
}
.card .im.dead {
  background-image: url(../img/ex/barbell-deadlift.webp);
}
.card .im.bsq {
  background-image: url(../img/ex/bodyweight-squats.webp);
}
.vis.g1 {
  --g: rgba(52, 199, 89, 0.2);
}
.vis.g2 {
  --g: rgba(108, 184, 255, 0.2);
}
.vis.g3 {
  --g: rgba(255, 90, 40, 0.28);
}
.vis.g4 {
  --g: rgba(180, 120, 255, 0.2);
}
.kick.dark {
  color: var(--on);
  opacity: 0.7;
}
section.feats {
  padding-top: 20px;
}

/* ---- Every picture whole: no phone covering another, photos shown square (as they were made) ---- */
.phones {
  height: 600px;
}
.phones .phone {
  width: 240px;
  opacity: 1;
}
.phones .p1 {
  left: auto;
  right: 0;
  top: 0;
  transform: rotate(2deg);
}
.phones .p2 {
  left: auto;
  right: 262px;
  top: 50px;
  transform: rotate(-3deg);
}
.step .pic {
  height: auto;
  aspect-ratio: 1 / 1;
}
.step .pic.s1 {
  background-image: url(../img/hero-split.webp);
}
.card .im {
  aspect-ratio: 1 / 1;
}
@media (max-width: 860px) {
  .phones {
    height: 520px;
  }
  .phones .p1 {
    width: 230px;
    right: 50%;
    transform: translateX(50%);
  }
  .step {
    grid-template-columns: 112px 1fr;
    align-items: center;
  }
  .step .pic {
    min-height: 0;
    margin: 12px 0 12px 12px;
    border-radius: 14px;
  }
}

/* ---- People of every age, body and background (img/people) ---- */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 14px;
  align-items: center;
}
.mosaic .col {
  display: grid;
  gap: 14px;
}
.mosaic .col:last-child {
  margin-top: 60px;
}
.mosaic .col img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.mosaic .phone {
  position: relative;
  width: 100%;
}
.step .pic.s1 {
  background-image: url(../img/people/07-shoulder-press.webp);
}
.step .pic.s2 {
  background-image: url(../img/people/08-bench-phone.webp);
}
.step .pic.s3 {
  background-image: url(../img/people/09-forearm-plank.webp);
}
.you {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.you figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.you img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}
.you figcaption {
  padding: 16px 20px 20px;
}
.you figcaption b {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}
.you figcaption span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
@media (max-width: 860px) {
  .mosaic {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
  }
  .mosaic .col {
    display: contents;
  }
  .mosaic .col img {
    border-radius: 14px;
  }
  .mosaic .phone {
    display: none;
  }
  .you {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .you figcaption {
    padding: 10px 12px 14px;
  }
  .you figcaption b {
    font-size: 20px;
  }
  .you figcaption span {
    font-size: 14px;
  }
}
/* Learn the moves: men and women */
.card .im.gbw {
  background-image: url(../img/ex-w/glute-bridges.webp);
}
.card .im.bsqw {
  background-image: url(../img/ex-w/bodyweight-squats.webp);
}

/* ---- Inside the app: a grid of features, each with a real screen (img/home/f) ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #1c1c1f, #141416);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tile.wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: flex-end;
}
.tile .tx {
  padding: 34px 34px 0;
}
.tile.wide .tx {
  flex: 1;
  align-self: center;
  padding: 40px;
}
.tile h3 {
  font-size: clamp(32px, 3.2vw, 46px);
  margin: 8px 0 10px;
}
.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.tile .shot {
  margin: 26px auto 0;
  width: 74%;
  flex: 1;
  min-height: 0;
  max-height: 380px;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
  border: 7px solid #2a2a2e;
  border-bottom: 0;
  box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.5);
}
.tile.wide .shot {
  width: 44%;
  max-height: 480px;
  margin: 40px 40px 0 0;
}
.tile .shot img {
  display: block;
  width: 100%;
}
/* each tile its own light */
.t-plan {
  background: radial-gradient(circle at 80% 100%, rgba(52, 199, 89, 0.22), transparent 60%), #151517;
}
.t-graph {
  background: radial-gradient(circle at 50% 100%, rgba(242, 194, 48, 0.2), transparent 65%), #151517;
}
.t-friends {
  background: radial-gradient(circle at 50% 100%, rgba(180, 120, 255, 0.22), transparent 65%), #151517;
}
.t-hiit {
  background: radial-gradient(circle at 50% 100%, rgba(255, 90, 40, 0.3), transparent 65%), #151517;
}
.t-guide {
  background: radial-gradient(circle at 50% 100%, rgba(108, 184, 255, 0.22), transparent 65%), #151517;
}
.t-make {
  background: radial-gradient(circle at 85% 100%, rgba(255, 138, 60, 0.22), transparent 60%), #151517;
}
.t-awards {
  background: radial-gradient(circle at 50% 100%, rgba(242, 194, 48, 0.25), transparent 65%), #151517;
}
.t-cal {
  background: radial-gradient(circle at 50% 100%, rgba(52, 199, 89, 0.18), transparent 65%), #151517;
}
.t-done {
  background: radial-gradient(circle at 50% 100%, rgba(242, 194, 48, 0.3), transparent 65%), #151517;
}
@media (max-width: 860px) {
  .bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tile,
  .tile.wide {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .tile .tx,
  .tile.wide .tx {
    padding: 26px 24px 0;
  }
  .tile h3 {
    font-size: 34px;
  }
  .tile .shot,
  .tile.wide .shot {
    width: 78%;
    max-height: 340px;
    margin: 22px auto 0;
  }
}
.t-done {
  background: radial-gradient(circle at 85% 100%, rgba(242, 194, 48, 0.3), transparent 60%), #151517;
}

/* ---- A real-looking iPhone: titanium edge, black bezel, Dynamic Island, status bar, side buttons ---- */
.iphone {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 430 / 880;
  padding: 3.4%;
  border-radius: 15% / 7.3%;
  background: #0b0b0c;
  box-shadow:
    0 0 0 1.5px #8a8a90,
    0 0 0 3.5px #3c3c41,
    0 0 0 4.5px #1a1a1c,
    0 40px 90px rgba(0, 0, 0, 0.55);
}
/* buttons on the sides */
.iphone::before,
.iphone::after {
  content: "";
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2c2c30, #6b6b72);
}
.iphone::before {
  left: -7px;
  top: 19%;
  height: 7%;
  box-shadow:
    0 7cqw 0 #4a4a50,
    0 22cqw 0 #4a4a50;
}
.iphone::after {
  right: -7px;
  top: 27%;
  height: 11%;
  background: linear-gradient(270deg, #2c2c30, #6b6b72);
}
.isc {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12.5% / 5.9%;
  background: #0f0f10;
  padding-top: 11.5%;
}
.isc img,
.isc video {
  display: block;
  width: 100%;
  height: auto;
}
.isb {
  position: absolute;
  inset: 0 0 auto;
  height: 11.5cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5cqw 7cqw 0 10cqw;
  color: #fff;
  font:
    600 4.1cqw/1 -apple-system,
    "SF Pro Text",
    Barlow,
    sans-serif;
  z-index: 2;
}
.isb .island {
  position: absolute;
  left: 50%;
  top: 2.6cqw;
  width: 29cqw;
  height: 8.4cqw;
  margin-left: -14.5cqw;
  border-radius: 99px;
  background: #000;
}
.isb .ico {
  display: flex;
  gap: 1.4cqw;
  align-items: center;
}
.isb svg {
  height: 3cqw;
  width: auto;
  fill: currentColor;
}
.isb svg:last-child {
  height: 3.1cqw;
}
/* in the hero */
.mosaic .iphone {
  max-width: 300px;
  margin: 0 auto;
}
.mosaic > .iphone {
  width: 100%;
}
/* in the tiles: the whole phone, sitting low */
.tile .shot {
  width: 62%;
  max-height: none;
  margin: 28px auto 34px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.tile.wide .shot {
  width: 36%;
  max-height: none;
  margin: 36px 56px 36px 0;
}
@media (max-width: 860px) {
  .tile .shot,
  .tile.wide .shot {
    width: 66%;
    margin: 22px auto 28px;
  }
  .mosaic > .iphone {
    display: none;
  }
}

/* Train. Learn. Teach. */
.tlt {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tlt > div {
  padding: 30px 28px;
  border-radius: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.tlt b {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on);
  font-family: var(--display);
  font-size: 24px;
}
.tlt h3 {
  font-size: 44px;
  margin: 16px 0 8px;
}
.tlt p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
@media (max-width: 860px) {
  .tlt {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tlt > div {
    padding: 22px;
  }
  .tlt h3 {
    font-size: 34px;
  }
}
img.im {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* hero: two even columns of photos, the phone exactly as tall as them, all edges lined up */
.mosaic {
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: stretch;
}
.mosaic .col:last-child {
  margin-top: 0;
}
.mosaic > .iphone {
  width: auto;
  max-width: none;
  height: 100%;
  justify-self: center;
  margin: 0;
}

/* looping workout videos (img/home/v): a square tile; "fit" shows the whole person over a soft blurred copy */
.vbox {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}
.vbox .vbg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}
.vbox video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}
.vbox.fit .vbg {
  inset: -12%;
  width: 124%;
  height: 124%;
  filter: blur(22px) brightness(0.7);
}
.vbox.fit video {
  object-fit: contain;
  object-position: 50% 50%;
}
.mosaic .col .vbox {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
@media (max-width: 860px) {
  .mosaic .col .vbox {
    border-radius: 14px;
  }
}
@media (max-width: 860px) {
  .mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mosaic > .iphone {
    display: none;
  }
}
/* videos where the person is low in the frame (on a bench or a mat): show the lower part so nobody is cut off */
.vbox.lo .vbg,
.vbox.lo video {
  object-position: 50% 88%;
}

/* hero: the words on top, then two rows of tall workout videos (the whole person, head to shoes): gym on top, home below */
.hero .wrap {
  grid-template-columns: 1fr;
  gap: 44px;
}
.htext {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  column-gap: 56px;
  align-items: end;
}
.htext .kick {
  grid-column: 1 / -1;
}
.htext h1 {
  grid-column: 1;
  grid-row: 2 / 5;
  margin-bottom: 0;
}
.htext .lead,
.htext .cta,
.htext .trust {
  grid-column: 2;
}
.wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.wlab {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.wall + .wlab {
  margin-top: 28px;
}
.wall .vbox {
  aspect-ratio: 540 / 908;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.wall .vbox .vbg,
.wall .vbox video {
  object-position: 50% 50%;
}
.vbox.tap {
  cursor: pointer;
}
@media (max-width: 860px) {
  .htext {
    grid-template-columns: 1fr;
  }
  .htext h1,
  .htext .lead,
  .htext .cta,
  .htext .trust {
    grid-column: 1;
    grid-row: auto;
  }
  .htext h1 {
    margin-bottom: 18px;
  }
  .hero .wrap {
    gap: 24px;
  }
  /* on phones: one row you swipe through */
  .wall {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    margin: 0 -20px;
    padding: 0 20px 8px;
    scrollbar-width: none;
  }
  .wall::-webkit-scrollbar {
    display: none;
  }
  .wall .vbox {
    flex: 0 0 44%;
    scroll-snap-align: start;
    border-radius: 16px;
  }
}

/* free workout tips: the email box (js/news.js adds the email to the list) */
.tips {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px 48px;
  border-radius: 28px;
  background: radial-gradient(circle at 90% 10%, rgba(242, 194, 48, 0.16), transparent 55%), var(--panel);
  border: 1px solid var(--line);
}
.tips h2 {
  font-size: clamp(38px, 4.4vw, 56px);
  margin: 12px 0 14px;
}
.tips p {
  margin: 0;
  color: var(--muted);
}
.tips form {
  display: flex;
  gap: 10px;
}
.tips input {
  flex: 1;
  min-width: 0;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}
.tips input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.tips .btn {
  justify-content: center;
  font-family: var(--body);
  border: 0;
  cursor: pointer;
  background: var(--accent);
  color: var(--on);
  font-weight: 700;
  white-space: nowrap;
}
.tips .tnote {
  margin-top: 12px;
  font-size: 14px;
}
.tips .tnote:empty {
  display: none;
}
.tips .tnote a {
  color: var(--ink);
  text-decoration: underline;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
@media (max-width: 860px) {
  .tips {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 22px;
  }
  .tips form {
    flex-direction: column;
  }
}

/* "Get the app" on a computer: the download buttons glow for a moment (js/home.js) */
.cta.pulse .btn.store {
  animation: getglow 1.6s ease-out 2;
}
@keyframes getglow {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 194, 48, 0.8);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(242, 194, 48, 0);
  }
}
