/* abigwhy.com, the landing page only. styles.css keeps the tokens, the orb, the forms, the footer and the legal pages. */

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-5.3.0.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-italic-5.3.0.woff2') format('woff2');
}

/* A fallback sized to the serif, so the headline keeps its lines while the file loads. */
@font-face {
  font-family: 'Instrument Serif Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 88%;
  ascent-override: 92%;
  descent-override: 24%;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-5.3.0.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica Neue');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
}

:root {
  --serif: 'Instrument Serif', 'Instrument Serif Fallback', Georgia, serif;
  --sans: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --measure: 34em;
  --screen-w: 300px;
  --shadow: 0 40px 80px -30px rgba(32, 34, 43, 0.28), 0 2px 6px rgba(32, 34, 43, 0.06);
}

body.landing {
  font-family: var(--sans);
  overflow-x: clip;
}

body.landing h1,
body.landing h2,
body.landing h3 {
  font-family: var(--sans);
  letter-spacing: -0.015em;
}

body.landing .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-wrap: balance;
}

h1.display {
  font-size: clamp(44px, 5.4vw, 76px);
  margin: 0;
}

h1.display > span {
  display: block;
}

/* Keeps "you why." together instead of leaving "why." alone on a line. */
h1.display > span:last-child {
  max-width: 6.6em;
}

/* The reveal clips each line; this leaves room for the tails of g and y. */
h1.display .line-mask {
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

h2.display {
  font-size: clamp(38px, 6vw, 68px);
  margin: 0 0 16px;
  max-width: 12em;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  z-index: 20;
}

.skip:focus {
  top: 16px;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Header */
body.landing .top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ground);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

body.landing .top.is-stuck {
  border-bottom-color: var(--line);
}

body.landing .mark {
  font: 600 21px/1 var(--sans);
  letter-spacing: -0.015em;
}

body.landing .mark::before {
  content: none;
}

.mark-svg {
  display: block;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 17px/1 var(--sans);
  text-decoration: none;
}

.cta:focus-visible,
.pill:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.get {
  display: grid;
  justify-items: start;
  gap: 10px;
}

/* Apple's artwork, untouched: no animation, no hover effect, at least 40px tall, a quarter of its height clear on every side. */
.store-badge {
  display: block;
  margin-block: 13px;
}

.store-badge img {
  display: block;
}

.store-badge:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.fine {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 500 14px/1 var(--sans);
  text-decoration: none;
}

.nav-cta {
  opacity: 0;
  translate: 0 -6px;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    translate 0.3s ease;
}

.nav-cta.is-on {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

/* The mark, as discs */
.discs {
  position: relative;
  margin: 0 auto;
}

.discs svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.disc {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

/* Hero: what it is on the left, the app itself on the right. */
body.landing .hero {
  display: grid;
  gap: 40px;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 28px var(--gutter) 0;
}

.hero-text {
  display: grid;
  justify-items: start;
  gap: 20px;
}

body.landing .hero .lede {
  max-width: 30em;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 21px);
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  overflow: hidden;
  padding-top: 28px;
  margin-inline: calc(-1 * var(--gutter));
  max-height: 560px;
}

.hero-discs {
  position: absolute;
  top: 64px;
  left: 50%;
  width: 150%;
  max-width: 620px;
  translate: -50% 0;
}

.hero-screen {
  z-index: 1;
}

/* Banners inside the phone, clipped by its screen. Hidden until the script runs them: a banner
   that never moved would only cover the greeting. */
.hero-notif {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  right: 8px;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px -8px rgba(32, 34, 43, 0.3);
  font-size: 13.5px;
  visibility: hidden;
}

.hero-notif .nhead span {
  font-size: 12px;
}

/* The problem */
.problem {
  padding: 18vh var(--gutter) 14vh;
  display: grid;
  gap: 0.6em;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
}

.problem .big {
  font-family: var(--serif);
  font-size: clamp(34px, 6.6vw, 84px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.problem .big:first-child {
  color: var(--accent);
}

[data-words] .w {
  display: inline-block;
}

/* The dive */
.dive-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 0 var(--gutter);
  overflow: hidden;
}

.dive-fill {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--people);
  opacity: 0;
  pointer-events: none;
}

.dive-discs {
  width: min(70vw, 320px);
  position: relative;
  z-index: 1;
}

.dive-labels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.dive-label b {
  display: block;
  font: 500 13px/1.3 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.dive-label span {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  color: var(--ink);
}

.dive-copy {
  position: relative;
  z-index: 2;
  max-width: var(--measure);
}

.dive-copy p {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  margin: 0;
}

.dots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  gap: 8px;
}

.dots li {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s ease;
}

.dots li.is-on {
  background: var(--ink);
}

/* Screen cards: the app's own tokens, no bezel */
.screen {
  position: relative;
  width: var(--screen-w);
  height: calc(var(--screen-w) * 19.5 / 9);
  margin: 0 auto;
  border-radius: 44px;
  background: var(--ground);
  box-shadow:
    var(--shadow),
    0 0 0 1px var(--line);
  overflow: hidden;
  padding: 14px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 13px/1.4 var(--ui);
  color: var(--ink);
  text-align: left;
}

/* A real screenshot of the app in the card: the image is the whole screen. */
.screen.shot {
  padding: 0;
  display: block;
  background: #f6f1ea;
}

.screen.shot > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* A notification's title line, as iOS sets it above the body */
.ntitle {
  display: block;
  font-weight: 600;
}

/* The walk: a chat beside a route from top to bottom; on wide screens with motion, a road from left to right. */
.walk {
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 10vh var(--gutter) 6vh;
}

.walk-head p {
  max-width: 34em;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 20px);
}

.walk-route {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  margin-block: 56px 44px;
}

.road {
  position: relative;
  grid-column: 1;
  grid-row: 1;
}

.road::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 25px;
  border-left: 2px dashed var(--line);
}

.road-fill {
  position: absolute;
  inset: 0 auto 0 25px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: 50% 0;
}

.stop {
  position: absolute;
  left: 0;
  width: 52px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.stop.home {
  top: -26px;
}

.stop.gym {
  bottom: -26px;
}

.walker {
  position: absolute;
  top: 0;
  left: 4px;
  width: 44px;
  height: 58px;
}

.walker svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.walk-window {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.walk-talk {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.say {
  max-width: 30em;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--surface);
  font-size: 16px;
  line-height: 1.4;
}

.say.ai {
  background: var(--accent-wash);
}

.say b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.walk-fine {
  max-width: 52em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

/* How it works */
.how-stage {
  display: grid;
  gap: 64px;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 6vh var(--gutter);
}

.beat {
  display: grid;
  gap: 24px;
}

.beat .copy {
  max-width: var(--measure);
}

.beat .copy p {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  margin: 0;
}

/* Notifications */
.notes {
  padding: 10vh var(--gutter);
  display: grid;
  gap: 40px;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
}

.notes-copy {
  max-width: var(--measure);
}

.notes-copy p {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  margin: 0;
}

.lock {
  width: min(100%, 420px);
  justify-self: center;
  border-radius: 36px;
  padding: 44px 16px 28px;
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(255, 185, 138, 0.55), transparent 60%),
    radial-gradient(90% 70% at 85% 90%, rgba(255, 138, 122, 0.5), transparent 60%), linear-gradient(170deg, #c7d3ff, #7f98fb 55%, #5b7cfa);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.lock-date {
  font: 500 16px/1.2 var(--ui);
  opacity: 0.9;
}

.lock-time {
  font: 200 76px/1 var(--ui);
  letter-spacing: -0.02em;
  margin: 2px 0 26px;
}

.stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.notif {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  color: var(--ink);
  text-align: left;
  font: 15px/1.3 var(--ui);
}

.notif img {
  border-radius: 9px;
  display: block;
}

.notif p {
  margin: 2px 0 0;
}

.nhead {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.nhead b {
  font-weight: 600;
}

.nhead span {
  font-size: 13px;
  color: var(--ink-soft);
}

@media (prefers-reduced-transparency: reduce) {
  .notif {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* The letter */
.letter-section {
  padding: 10vh var(--gutter);
  display: grid;
  gap: 40px;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
}

.letter-screen {
  justify-self: center;
}

.letter-copy {
  max-width: var(--measure);
}

.letter-copy p {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  margin: 0 0 12px;
}

/* Free and Plus */
.plans {
  display: grid;
  gap: 24px;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 10vh var(--gutter);
}

.plans-head p {
  max-width: 36em;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 20px);
}

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.4;
}

.compare th,
.compare td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th,
.compare thead td {
  border-top: 0;
  font-size: 18px;
  font-weight: 600;
}

.compare tbody th {
  font-weight: 500;
}

.compare .plus {
  background: var(--accent-wash);
}

.compare .both,
.compare .no {
  color: var(--ink-soft);
}

/* A red cross beside the words, so a missing feature reads at a glance; the words stay for screen readers. */
.compare .nope {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.compare .nope svg {
  flex: none;
}

.compare .both {
  text-align: center;
}

.prices {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.price-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
}

.price-card.best {
  background: var(--accent-wash);
}

.price-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 26px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.save {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.amount {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.2;
}

.amount b {
  color: var(--ink);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(32, 34, 43, 0.12);
  list-style: none;
  font-size: 15px;
  line-height: 1.35;
}

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

.terms {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 599.98px) {
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
  }

  .compare thead {
    display: none;
  }

  .compare tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    gap: 4px 12px;
  }

  .compare tbody tr:first-child {
    border-top: 0;
  }

  .compare tbody th {
    grid-column: 1 / -1;
    padding: 0;
    border: 0;
  }

  .compare tbody td {
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    font-size: 15px;
  }

  .compare td.both {
    grid-column: 1 / -1;
    padding: 0;
    text-align: left;
  }

  .compare td.no::before,
  .compare td.plus::before {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
  }

  .compare td.no::before {
    content: 'Free';
  }

  .compare td.plus::before {
    content: 'Plus';
  }
}

/* Trust: a dark panel, the one place the page changes ground. */
.trust {
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 6vh var(--gutter);
}

.vault {
  display: grid;
  gap: 44px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 32px;
  background: var(--ink);
  color: #f6f1ea;
}

body.landing .vault h2 {
  max-width: none;
  margin: 0;
}

.rows {
  display: grid;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.row {
  display: grid;
  align-content: start;
  gap: 8px;
}

.glyph {
  display: block;
  margin-bottom: 10px;
  overflow: visible;
}

.glyph .erased {
  opacity: 0.16;
}

.row b {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.row span {
  color: #c9c5be;
  font-size: 16px;
  line-height: 1.5;
}

.vault-foot {
  display: grid;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(246, 241, 234, 0.16);
}

.canon {
  max-width: 46em;
  margin: 0;
  color: #c9c5be;
  font-size: 14px;
  line-height: 1.55;
}

.vault-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.vault-foot a {
  padding-block: 4px;
  color: #f6f1ea;
  font-size: 15px;
  font-weight: 500;
  text-underline-offset: 3px;
}

.vault-foot a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
  }
}

/* Close */
.close {
  position: relative;
  padding: 10vh 20px 12vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  overflow: hidden;
}

.close-discs {
  width: min(44vw, 200px);
}

.close .lede {
  max-width: var(--measure);
  margin: 0;
  color: var(--ink-soft);
}

.close .get {
  justify-items: center;
}

.qr {
  display: none;
  gap: 8px;
  justify-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}

@media (hover: hover) and (min-width: 1024px) {
  .qr {
    display: grid;
  }
}

/* Wide screens: the hero side by side, whatever the motion setting. */
@media (min-width: 900px) {
  body.landing .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    min-height: calc(100svh - 60px);
    padding-block: 0;
  }

  .hero-visual {
    margin-inline: 0;
    max-height: none;
    overflow: visible;
    padding-block: 28px;
  }

  .hero-discs {
    width: 100%;
  }

  .rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }

  .notes,
  .letter-section {
    align-items: center;
    gap: 8vw;
  }

  .notes {
    grid-template-columns: 1fr auto;
  }

  .letter-section {
    grid-template-columns: minmax(0, 440px) 1fr;
  }

  .letter-screen {
    justify-self: start;
  }
}

/* Desktop with motion: the pinned stages. Reduced motion gets the stacked layout at any width. */
@media (min-width: 768px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .dive-stage {
    height: 100svh;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    padding: 0 6vw;
  }

  .dive-discs {
    width: min(44vmin, 420px);
    justify-self: center;
  }

  .dive-labels {
    position: relative;
    height: 10em;
  }

  .dive-label {
    position: absolute;
    top: 50%;
    left: 0;
    display: grid;
    gap: 6px;
    width: fit-content;
    padding: 16px 22px;
    border-radius: var(--radius);
    background: var(--ground);
    box-shadow: var(--shadow);
    translate: 0 -50%;
    opacity: 0;
  }

  .dive-copy {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center start;
    max-width: none;
    padding-inline: var(--edge);
    opacity: 0;
    z-index: 3;
  }

  .dive-copy h2 {
    color: var(--ink);
  }

  .dive-copy p {
    max-width: 30em;
    color: var(--ink);
  }

  .dots {
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 28px;
    translate: -50% 0;
    z-index: 4;
  }

  .dive-dots li {
    background: rgba(32, 34, 43, 0.18);
  }
}

/* The road from left to right: wide screens with a mouse and motion only. */
@media (min-width: 1024px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* The chat is only as tall as five or six messages and the stage is its own height, pinned just under
     the header, so the conversation starts right below the heading instead of a screen later. */
  .walk-stage {
    display: grid;
    gap: 30px;
    margin-top: 48px;
  }

  .walk-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: clamp(220px, calc(100svh - 400px), 400px) 92px;
    gap: 20px;
    margin: 0;
  }

  .walk-window {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    overflow: hidden;
  }

  /* The top fade only once older messages start moving out of the window. */
  .walk-window.lifted {
    mask-image: linear-gradient(to bottom, transparent, #000 48px);
  }

  .walk-talk {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 760px;
    margin-inline: auto;
  }

  .say {
    align-self: flex-start;
    max-width: 78%;
  }

  .say:not(.ai) {
    align-self: flex-end;
  }

  .road {
    grid-column: 1;
    grid-row: 2;
  }

  .road::before {
    inset: auto 0 2px 0;
    border-left: 0;
    border-top: 2px dashed var(--line);
  }

  .road-fill {
    inset: auto 0 2px 0;
    width: auto;
    height: 2px;
    transform: scaleX(0);
    transform-origin: 0 50%;
  }

  .stop {
    width: auto;
  }

  .stop.home {
    top: auto;
    bottom: -24px;
    left: 0;
  }

  .stop.gym {
    top: auto;
    right: 0;
    bottom: -24px;
    left: auto;
  }

  .walker {
    left: 0;
    width: 66px;
    height: 87px;
  }
}

/* How it works: each screen beside its words. */
@media (min-width: 900px) {
  .beat {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8vw;
  }
}

/* Phones: a tighter screen card */
@media (max-width: 767.98px) {
  :root {
    --screen-w: min(78vw, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta {
    transition: none;
  }
}
