/*
 * Home and Features. Tokens and shared components live in style.css; this file
 * only lays the two pages out (prefixes: hm- home, ft- features, tour- player).
 * No inline styles anywhere: sizes that differ per use are modifier classes.
 */

/* ------------------------------------------------------------ shared bands */

.band {
  background: var(--bg-alt);
}
.band__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}
.hm-stack,
.ft-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}
.hm-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}
.hm-h2,
.ft-h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.hm-tick {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--success-tint);
  color: var(--success);
}
.hm-tick .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}
.hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------------------------------------------------ hero */

.hm-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-top: clamp(32px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.hm-hero__copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hm-hero__copy .display {
  text-wrap: balance;
}
.hm-hero__lead {
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  text-wrap: pretty;
}
.hm-hero__badge {
  font-size: 14px;
  font-weight: 700;
  padding: 7px 12px;
}
.hm-play {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hm-play .icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}
.hm-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  font-size: 14px;
  font-weight: 600;
}
.hm-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-checks .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  color: var(--success-dot);
}
.hm-hero__art {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.hm-collage {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1.02;
  border-radius: 32px;
  background: var(--primary-tint);
  overflow: hidden;
}
.hm-collage .phone {
  position: absolute;
}
.hm-collage__back {
  --phone-w: 40%;
  left: 8%;
  top: 12%;
  padding: 1.6%;
  transform: rotate(-4deg);
  box-shadow: var(--e3);
}
.hm-collage__front {
  --phone-w: 46%;
  right: 9%;
  top: 6%;
  padding: 1.8%;
  box-shadow: 0 30px 60px rgba(17, 20, 24, .22), 0 12px 28px rgba(17, 20, 24, .12);
}

/* ------------------------------------------------------------------ tour */

.hm-tour {
  padding-bottom: var(--section);
}
.hm-tour__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hm-tour__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
}
.hm-tour__head h2 {
  font-size: clamp(24px, 2.6vw, 32px);
}
.hm-tour__head p {
  font-size: 15px;
}
.tour {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.tour [hidden] {
  display: none !important;
}
.tour__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: clamp(16px, 2vw, 24px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--primary-tint);
}
.tour__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--primary-tint);
  cursor: pointer;
  font: inherit;
}
.tour__phones {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4%;
}
.tour__phone {
  display: block;
  width: 22%;
  aspect-ratio: 1206 / 1900;
  border-radius: 12% 12% 0 0 / 8% 8% 0 0;
  background: var(--text);
  padding: 1.3% 1.3% 0;
}
.tour__phone--side {
  width: 19%;
  transform: translateY(14%);
}
.tour__phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 10px 10px 0 0;
}
.tour__scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 24, .18);
}
.tour__play {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 88px);
  height: clamp(64px, 8vw, 88px);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(17, 20, 24, .24);
  transition: transform 150ms cubic-bezier(.2, .8, .2, 1);
}
.tour__play .icon {
  width: 40%;
  height: 40%;
  margin-left: 8%;
  fill: currentColor;
  stroke: none;
}
.tour__poster:hover .tour__play {
  transform: translate(-50%, -50%) scale(1.06);
}
.tour__tag {
  position: absolute;
  left: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 7px 12px 7px 10px;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
}
.tour__tag .icon {
  width: 16px;
  height: 16px;
}
.tour__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--text);
  object-fit: contain;
}
.tour__end {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: var(--text);
  color: #FFFFFF;
  text-align: center;
}
.tour__end-mark {
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary);
  align-items: center;
  justify-content: center;
}
.tour__end-title {
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
}
.tour__end-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.tour__again {
  background: transparent;
  border-color: #FFFFFF;
}
.tour__again:hover {
  background: rgba(255, 255, 255, .14);
}
.tour__again .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}
.tour__end-note {
  font-size: 14px;
  color: #FFFFFF;
}
.tour__transcript {
  border: 1px solid var(--border);
  border-radius: var(--r-small);
  background: var(--bg);
}
.tour__transcript summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 18px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.tour__transcript summary::-webkit-details-marker {
  display: none;
}
.tour__transcript summary span {
  flex: 1;
}
.tour__transcript[open] summary > .icon:last-child {
  transform: rotate(180deg);
}
.tour__transcript > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 18px 20px;
  max-width: 760px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 24px;
}

/* -------------------------------------------------------- counter (home) */

/*
 * "A day at the counter". Narrow screens: each step is a card holding the top
 * of its screen; when the window is tall enough to show a whole card, the cards
 * pin under the header and each one slides over the last (CSS only). Wide
 * screens: a timeline, each step's caption and phone on alternate sides of it,
 * each step coming in once as it scrolls into view (enhanceShift in home.ts).
 */
.hm-shift {
  background: var(--primary-tint);
  /* A step waiting to come in sits off to its side; it must not widen the page. */
  overflow-x: clip;
}
.hm-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hm-step__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hm-step__when {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-hover);
}
.hm-step__when span + span {
  font-weight: 600;
  color: var(--text-2);
}
.hm-step__body {
  font-size: 15px;
  line-height: 23px;
  color: var(--text-2);
}
.hm-outcome {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--success-tint);
  color: var(--success);
  font-size: 13px;
  font-weight: 700;
}
.hm-outcome::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success-dot);
}
.hm-outcome--short {
  background: var(--warning-tint);
  color: var(--warning);
}
.hm-outcome--short::before {
  background: var(--warning-dot);
}
.hm-shift__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--bg);
  border-radius: var(--r-card);
}
.hm-shift__cta p {
  max-width: 560px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .hm-step {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px 20px 0;
    background: var(--bg);
    border-radius: var(--r-card);
    box-shadow: 0 -4px 16px rgba(17, 20, 24, .06), var(--e2);
  }
  .hm-step__n {
    display: none;
  }
  /* The top of the screen, cut off by the card's bottom edge. */
  .hm-step .phone {
    --phone-w: min(72%, 240px);
    height: 250px;
    align-self: center;
    margin-top: 16px;
    padding: 7px 7px 0;
    border-radius: 28px 28px 0 0;
    box-shadow: none;
    overflow: hidden;
  }
  .hm-step .phone img {
    border-radius: 22px 22px 0 0;
  }
}
/* Pinned only where a whole card fits below the header, so no text is ever covered unread. */
@media (max-width: 860px) and (min-height: 700px) {
  .hm-step {
    position: sticky;
    top: calc(var(--header-h) + 11px);
  }
  .hm-step:nth-child(2) {
    top: calc(var(--header-h) + 21px);
  }
  .hm-step:nth-child(3) {
    top: calc(var(--header-h) + 31px);
  }
  .hm-step:nth-child(4) {
    top: calc(var(--header-h) + 41px);
  }
  .hm-step:nth-child(5) {
    top: calc(var(--header-h) + 51px);
  }
  .hm-step:nth-child(6) {
    top: calc(var(--header-h) + 61px);
  }
}

@media (min-width: 861px) {
  /*
   * A timeline down the middle: the caption on one side of its dot, the phone
   * on the other, swapping sides from one step to the next.
   */
  .hm-steps {
    gap: 0;
  }
  .hm-step {
    --hm-phone-w: 250px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
    grid-template-areas: "card rail phone";
    align-items: center;
  }
  .hm-step:nth-child(even) {
    grid-template-areas: "phone rail card";
  }
  /* The line, drawn per step so it runs unbroken from the first dot to the last. */
  .hm-step::before {
    content: "";
    grid-area: rail;
    justify-self: center;
    align-self: stretch;
    width: 2px;
    background: var(--primary-line);
  }
  .hm-step:first-child::before {
    align-self: end;
    height: 50%;
  }
  .hm-step:last-child::before {
    align-self: start;
    height: 50%;
  }
  .hm-step__n {
    grid-area: rail;
    justify-self: center;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 0 0 6px var(--primary-tint);
  }
  .hm-step__card {
    grid-area: card;
    justify-self: end;
    width: min(100%, 460px);
    gap: 12px;
    padding: 26px 28px;
    background: var(--bg);
    border-radius: var(--r-card);
    box-shadow: var(--e2);
  }
  .hm-step:nth-child(even) .hm-step__card {
    justify-self: start;
  }
  .hm-step h3 {
    font-size: 24px;
    line-height: 30px;
  }
  .hm-step__body {
    font-size: 16px;
    line-height: 25px;
  }
  .hm-outcome {
    padding: 7px 12px;
    font-size: 14px;
  }
  .hm-step .phone {
    grid-area: phone;
    justify-self: center;
    margin: 32px 0;
    --phone-w: var(--hm-phone-w);
    /* Of the phone's own width; a % would be of the column's. */
    padding: calc(var(--hm-phone-w) * .035);
    box-shadow: 0 30px 60px rgba(17, 20, 24, .18), 0 12px 28px rgba(17, 20, 24, .10);
  }
}
/*
 * With script, a step still below the window waits (data-pending, set by
 * enhanceShift in home.ts) and comes in once: its caption and phone slide in
 * from their own sides toward the line, the phone a beat after the caption so
 * they don't compete, and its dot fills in. Short and done once (NN/g: 100 to
 * 400 ms, never repeated). Reduced motion and print never wait.
 */
@media screen and (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .hm-step__card,
  .hm-step .phone {
    transition: opacity 400ms cubic-bezier(.2, .8, .2, 1), transform 400ms cubic-bezier(.2, .8, .2,
      1);
  }
  .hm-step .phone {
    transition-delay: 100ms;
  }
  .hm-step__n {
    transition: background-color 300ms, color 300ms, box-shadow 300ms;
  }
  .hm-step[data-pending] .hm-step__card,
  .hm-step[data-pending] .phone {
    opacity: 0;
  }
  .hm-step[data-pending] .hm-step__card,
  .hm-step:nth-child(even)[data-pending] .phone {
    transform: translateX(-40px);
  }
  .hm-step[data-pending] .phone,
  .hm-step:nth-child(even)[data-pending] .hm-step__card {
    transform: translateX(40px);
  }
  .hm-step[data-pending] .hm-step__n {
    background: var(--bg);
    color: var(--primary-hover);
    box-shadow: inset 0 0 0 2px var(--primary), 0 0 0 6px var(--primary-tint);
  }
}
.hm-perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px 32px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}
.hm-perk {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 22px;
}
.hm-perk__icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--primary);
}

/* ------------------------------------------------------- offline (home) */

.hm-offline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: var(--section);
  padding-bottom: var(--section);
}
.hm-offline__copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hm-offline__copy p {
  max-width: 520px;
}
.hm-offline__mark {
  display: flex;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--warning-tint);
  color: var(--warning);
  align-items: center;
  justify-content: center;
}
.hm-offline__art {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hm-queue {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--e2);
}
.hm-queue__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--warning-tint);
  border: 1px solid var(--warning-line);
  border-radius: var(--r-control);
  color: var(--warning);
  font-size: 14px;
  font-weight: 700;
}
.hm-queue__bar .icon {
  flex: none;
  width: 18px;
  height: 18px;
}
.hm-queue li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--divider);
}
.hm-queue li:last-child {
  border-bottom: 0;
}
.hm-queue__dot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 800;
}
.hm-queue__dot .icon {
  width: 18px;
  height: 18px;
}
.hm-queue__dot--blue {
  background: #5480FF;
  color: #FFFFFF;
}
.hm-queue__dot--green {
  background: var(--success-tint);
  color: var(--success);
}
.hm-queue__what {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.hm-queue__what b {
  font-size: 15px;
}
.hm-queue__what span {
  font-size: 13px;
  color: var(--text-3);
}
.hm-queue__state {
  font-size: 13px;
  font-weight: 700;
  color: var(--warning);
}
.hm-queue__done {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--success-tint);
  border-radius: var(--r-small);
  color: var(--success);
  font-size: 15px;
  font-weight: 700;
}
.hm-queue__done .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

/* -------------------------------------------- owner / privacy (home) */

.hm-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hm-split--reverse {
  flex-wrap: wrap-reverse;
}
.hm-split__art {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.hm-split__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hm-split__copy--wide {
  flex: 1.3 1 480px;
}
.hm-tall {
  --phone-w: min(72%, 300px);
}
.hm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}
.hm-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-small);
}
.hm-card h3 {
  font-size: 17px;
}
.hm-card p {
  font-size: 15px;
  line-height: 22px;
}
.hm-card__icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}
.hm-privacy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: var(--section);
  padding-bottom: var(--section);
}
.hm-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hm-points li {
  display: flex;
  gap: 16px;
}
.hm-points h3 {
  font-size: 17px;
}
.hm-points p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 22px;
}
.hm-points__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-control);
  background: var(--primary-tint);
  color: var(--primary);
}
.hm-points__icon .icon {
  width: 22px;
  height: 22px;
}

/* ------------------------------------------------------- pricing teaser */

.hm-founding {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--primary-line);
  border-radius: var(--r-small);
  font-size: 15px;
  line-height: 22px;
}
.hm-founding p {
  flex: 1 1 320px;
  min-width: 0;
}
.hm-founding__left {
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 800;
}
.hm-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.hm-plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}
.hm-plan h3 {
  font-size: 22px;
}
.hm-plan__amount {
  font-size: 40px;
  line-height: 44px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hm-plan__per {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2);
}
.hm-plan__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
}
.hm-plan__list li {
  display: flex;
  gap: 10px;
}
.hm-included {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hm-included__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}
.hm-included__head h3 {
  font-size: 22px;
}
.hm-plans-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

/* ------------------------------------------------------------------ faq */

.hm-faq {
  display: flex;
  flex-wrap: wrap;
  gap: 32px clamp(32px, 5vw, 72px);
  padding-top: var(--section);
  padding-bottom: var(--section);
}
.hm-faq__head {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hm-faq__list {
  flex: 2 1 480px;
  min-width: 0;
}
.hm-faq__list .faq summary {
  min-height: 64px;
  font-size: 17px;
}
.hm-faq__list .faq details > p {
  font-size: 16px;
  line-height: 25px;
  max-width: 640px;
}

/* -------------------------------------------------------- closing banner */

.hm-cta {
  padding: 0 var(--gutter) var(--section);
}
.hm-cta__box {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(36px, 5vw, 64px);
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 28px;
}
.hm-cta__copy {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hm-cta h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hm-cta p {
  font-size: 17px;
  line-height: 1.55;
}
.hm-cta .button--on-blue {
  color: var(--primary-hover);
}
.hm-cta__ghost {
  background: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF;
  box-shadow: none;
}
.hm-cta__ghost:hover {
  background: rgba(255, 255, 255, .14);
  color: #FFFFFF;
}

/* ------------------------------------------------------------- features */

.ft-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
.ft-title {
  max-width: 840px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.ft-hero .lead {
  max-width: 640px;
  font-size: clamp(17px, 1.6vw, 20px);
}
.ft-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.ft-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--control-border);
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.ft-chips a:hover {
  background: var(--bg-alt);
  color: var(--text);
}
.ft-chips a[aria-current="true"] {
  background: var(--primary-tint);
  border-color: var(--primary-line);
  color: var(--primary-hover);
}
.ft-tour {
  max-width: 1104px;
  padding-bottom: clamp(32px, 4vw, 56px);
}
.ft-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.ft-split--flip {
  flex-wrap: wrap-reverse;
}
.ft-copy {
  flex: 1.2 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ft-copy--narrow {
  max-width: 680px;
}
.ft-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
  font-size: 16px;
  line-height: 24px;
}
.ft-list li {
  display: flex;
  gap: 12px;
}
.ft-list .hm-tick {
  margin-top: 1px;
}
.ft-pair,
.ft-art {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
}
.ft-phone {
  --phone-w: min(46%, 240px);
}
.ft-phone--solo {
  --phone-w: min(72%, 300px);
}
.ft-phone--drop {
  margin-top: clamp(24px, 4vw, 48px);
}
.ft-note {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: var(--primary-tint);
  border-radius: var(--r-small);
  font-size: 15px;
  line-height: 22px;
}
.ft-note .icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--primary);
}
.ft-pro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--primary-tint);
  border: 1px solid var(--primary-line);
  border-radius: var(--r-small);
}
.ft-pro__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ft-pro__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 8px 16px;
  font-size: 15px;
  font-weight: 600;
}
.ft-roles,
.ft-more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.ft-role,
.ft-more__item {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-small);
}
.ft-role {
  flex-direction: column;
  align-items: flex-start;
  font-size: 15px;
  line-height: 22px;
}
.ft-more__item h3 {
  font-size: 17px;
}
.ft-more__item p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 22px;
}
.ft-more__icon {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--primary);
}

/* ----------------------------------------------------------------- phone */

@media (max-width: 520px) {
  .hm-actions .button {
    flex: 1 1 100%;
    white-space: normal;
  }
  .hm-queue__what span {
    overflow-wrap: anywhere;
  }
  .tour__end {
    gap: 10px;
  }
  .tour__end-actions .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }
  .tour__end-note {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tour__play,
  .faq summary .icon {
    transition: none;
  }
}
