/* ============================================================
   GoNesting — Homepage
   Same palette as features.css: brand blue, with the blue→indigo
   gradient of the logo and primary button on icon badges. The only
   other colours are the Beta (cyan) and Pro (amber) pills from
   styles.css. Only index.html loads this file.
   ============================================================ */

:root {
  --h-rgb: 37 99 235;
  --h-grad: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
  --h-dark: linear-gradient(160deg, var(--gray-900) 0%, var(--blue-900) 100%);
}

/* ── Icons (sprite at the top of the page) ────────────────── */
.hm-i {
  width: 1.25rem; height: 1.25rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.hm-i.sm { width: 1rem; height: 1rem; }
.hm-i.xs { width: 0.8rem; height: 0.8rem; }
.hm-i.lg { width: 1.5rem; height: 1.5rem; }

/* ── Section shell ────────────────────────────────────────── */
.hm-sec {
  position: relative;
  padding-block: 5.5rem;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  scroll-margin-top: 4rem;
}
.hm-sec.tinted { background: var(--gray-50); }
@media (max-width: 767px) { .hm-sec { padding-block: 4rem; } }

.hm-head { max-width: 46rem; }
.hm-head.center { margin-inline: auto; text-align: center; }
.hm-title {
  margin-top: 0.875rem;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.028em;
  color: var(--gray-900);
  text-wrap: balance;
}
.hm-sub {
  margin-top: 0.875rem;
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--gray-600);
  text-wrap: pretty;
}
.hm-body { margin-top: 3rem; }
.hm-link {
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--blue-300);
  text-underline-offset: 3px;
}
.hm-link:hover { text-decoration-color: currentColor; }
.hm-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--gray-500);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hm-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(36rem 36rem at 100% -12%, rgb(59 130 246 / 0.16), transparent 70%),
    radial-gradient(26rem 26rem at -6% 108%, rgb(99 102 241 / 0.11), transparent 70%),
    linear-gradient(160deg, #ffffff 0%, var(--blue-50) 55%, #ffffff 100%);
}
.hm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--blue-100) 1px, transparent 1px),
    linear-gradient(to bottom, var(--blue-100) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, #000 25%, transparent 80%);
  pointer-events: none;
}
.hm-hero-grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding-block: 4rem 4.5rem;
}
@media (min-width: 1024px) {
  .hm-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 4rem; padding-block: 5.25rem 5.75rem; }
}
.hm-hero-title {
  margin-top: 1.25rem;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--gray-900);
}
.hm-grad-text {
  background: var(--h-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-hero-sub {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--gray-600);
  text-wrap: pretty;
}
.hm-hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
}
.hm-btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.45rem 1.1rem 0.45rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.hm-btn-watch:hover { border-color: var(--blue-300); background: var(--blue-50); transform: translateY(-1px); }
.hm-btn-watch-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: var(--h-grad);
  color: #ffffff;
}
.hm-btn-watch-icon .hm-i { width: 0.95rem; height: 0.95rem; stroke-width: 2.5; }
.hm-btn-watch-icon .hm-i.fill { width: 0.8rem; height: 0.8rem; fill: currentColor; stroke: none; margin-left: 2px; }

.hm-trust {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.hm-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray-600);
}
.hm-trust-tick {
  display: grid;
  place-items: center;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: var(--radius-full);
  background: var(--blue-100);
  color: var(--blue-700);
}
.hm-trust-tick .hm-i { width: 0.65rem; height: 0.65rem; stroke-width: 3.2; }

.hm-made-for {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--blue-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.hm-made-for-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hm-made-for ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hm-made-for li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem 0.25rem 0.3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-200);
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
}
.hm-made-for-icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  background: var(--blue-50);
  color: var(--blue-600);
}
.hm-made-for-icon .hm-i { width: 0.8rem; height: 0.8rem; }

/* Real nest card */
.hm-shot { position: relative; isolation: isolate; }
.hm-shot-card::before {
  content: '';
  position: absolute;
  inset: 1.75rem -0.75rem -0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  background: var(--h-grad);
  opacity: 0.14;
  transform: rotate(2.5deg);
  pointer-events: none;
  z-index: -1;
}
.hm-shot-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-2xl);
}
.hm-shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding: 0.125rem 0.25rem 0.875rem;
  margin-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
}
.hm-shot-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hm-real {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-200);
  background: var(--blue-50);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--blue-700);
}
.hm-real-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: var(--radius-full);
  background: var(--blue-500);
  animation: pulse-dot 2s infinite;
}
.hm-shot-canvas {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--gray-50);
}
.hm-shot-canvas img { display: block; width: 100%; height: 100%; }
.hm-shot-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.875rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.hm-stat { text-align: center; padding-inline: 0.25rem; }
.hm-stat + .hm-stat { border-left: 1px solid var(--border); }
.hm-stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hm-stat-value {
  display: block;
  margin-top: 0.125rem;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
}
.hm-stat-value.accent { color: var(--blue-600); }
.hm-shot-caption {
  position: relative;
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--gray-500);
  text-align: center;
}
.hm-shot-caption .hm-i { margin-top: 0.1rem; color: var(--blue-600); }

/* ── Dark strip ───────────────────────────────────────────── */
.hm-strip { background: var(--gray-900); border-bottom: 1px solid var(--gray-800); }
.hm-strip-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 1.25rem;
  padding-block: 1.125rem;
}
@media (min-width: 900px) {
  .hm-strip-list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}
.hm-strip-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--gray-300);
}
.hm-strip-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: rgb(59 130 246 / 0.16);
  color: var(--blue-300);
}
.hm-strip-icon .hm-i { width: 1rem; height: 1rem; }

/* ── How it works: tutorial player + the six steps ────────── */
.hm-learn-video { max-width: 60rem; margin-inline: auto; }

.hm-player {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 5.5rem;
  border-radius: var(--radius-xl);
  background: var(--gray-900);
  box-shadow: 0 32px 64px -32px rgb(15 23 42 / 0.6), 0 0 0 1px rgb(15 23 42 / 0.06);
}
.hm-player-frame { position: relative; aspect-ratio: 16 / 9; }
.hm-player-frame > iframe,
.hm-poster,
.hm-poster-img,
.hm-player-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hm-poster-img { object-fit: cover; display: none; }
.hm-player.has-video .hm-poster-img { display: block; }
.hm-player.has-video .hm-poster-art { display: none; }
.hm-player.has-video .hm-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(15 23 42 / 0.05) 40%, rgb(15 23 42 / 0.55) 100%);
}

/* Branded poster, shown until a YouTube ID is set */
.hm-poster-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(0.875rem, 3vw, 1.75rem);
  color: #ffffff;
  background:
    radial-gradient(28rem 20rem at 85% 10%, rgb(59 130 246 / 0.35), transparent 70%),
    radial-gradient(22rem 16rem at 0% 100%, rgb(99 102 241 / 0.28), transparent 70%),
    var(--h-dark);
}
.hm-poster-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.hm-poster-sheet {
  position: absolute;
  right: 6%;
  top: 24%;
  width: 30%;
  transform: rotate(-4deg);
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 639px) { .hm-poster-sheet { display: none; } }
.hm-poster-top,
.hm-poster-bottom { position: relative; }
.hm-poster-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.hm-poster-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 1.4vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.8);
}
.hm-poster-brand-text { white-space: nowrap; }
@media (max-width: 479px) { .hm-poster-brand-text { display: none; } }
.hm-poster-logo {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
  background: var(--h-grad);
  color: #ffffff;
}
.hm-poster-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.08);
  font-family: var(--font-mono);
  font-size: clamp(0.56rem, 1.3vw, 0.66rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-200);
  white-space: nowrap;
}
.hm-poster-kicker {
  font-family: var(--font-mono);
  font-size: clamp(0.58rem, 1.3vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-300);
}
.hm-poster-title {
  margin-top: 0.35rem;
  max-width: 62%;
  font-size: clamp(1rem, 2.6vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
}
.hm-poster-steps { list-style: none; display: none; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.875rem; }
@media (min-width: 640px) { .hm-poster-steps { display: flex; } }
.hm-poster-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem 0.15rem 0.2rem;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
}
.hm-poster-steps b {
  display: grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: var(--radius-full);
  background: var(--blue-500);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #ffffff;
}

.hm-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(3.25rem, 8vw, 4.75rem);
  height: clamp(3.25rem, 8vw, 4.75rem);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--blue-600);
  box-shadow: 0 0 0 10px rgb(255 255 255 / 0.12), 0 20px 40px -12px rgb(0 0 0 / 0.55);
  transform: translate(-50%, -50%);
  transition: transform var(--transition), box-shadow var(--transition);
  pointer-events: none;
  z-index: 1;
}
.hm-player:not(.has-video) .hm-play { top: 44%; }
.hm-play .hm-i { width: 38%; height: 38%; fill: currentColor; stroke: none; margin-left: 6%; }
.hm-player:not(.has-video) .hm-play { background: rgb(255 255 255 / 0.9); color: var(--gray-500); box-shadow: 0 0 0 10px rgb(255 255 255 / 0.06); }
.hm-player-hit { z-index: 2; background: transparent; cursor: pointer; }
.hm-player-hit:hover ~ .hm-play,
.hm-player-hit:focus-visible ~ .hm-play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgb(255 255 255 / 0.16), 0 24px 44px -12px rgb(0 0 0 / 0.6); }
.hm-player-hit:focus-visible { outline: 3px solid var(--blue-400); outline-offset: -3px; }
.hm-player.is-playing .hm-play,
.hm-player.is-playing .hm-poster,
.hm-player.is-playing .hm-player-hit { display: none; }

.hm-player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1rem;
  background: var(--gray-800);
  border-top: 1px solid rgb(255 255 255 / 0.06);
  font-size: 0.8rem;
  color: var(--gray-300);
}
.hm-player-bar a { color: var(--blue-300); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(147 197 253 / 0.4); text-underline-offset: 3px; }
.hm-player-bar a:hover { text-decoration-color: currentColor; }
.hm-player-bar-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.hm-player-bar .hm-i { color: var(--blue-300); }
.hm-yt-link[hidden] { display: none; }

.hm-steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 2.5rem;
  counter-reset: none;
}
@media (min-width: 640px)  { .hm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.hm-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  height: 100%;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.hm-step:hover { border-color: var(--blue-300); box-shadow: 0 18px 36px -26px rgb(var(--h-rgb) / 0.75); transform: translateY(-2px); }
.hm-step.is-current { border-color: var(--blue-400); box-shadow: 0 0 0 3px var(--blue-100), 0 18px 36px -26px rgb(var(--h-rgb) / 0.75); }
.hm-step-badge {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  background: var(--h-grad);
  color: #ffffff;
  box-shadow: 0 10px 20px -10px rgb(var(--h-rgb) / 0.85), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.hm-step-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.hm-step-kicker span { color: var(--gray-400); }
.hm-step-title { margin-top: 0.2rem; font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--gray-900); }
.hm-step-text { margin-top: 0.25rem; font-size: 0.87rem; line-height: 1.6; color: var(--gray-600); }
.hm-step-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.5rem 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-200);
  background: var(--blue-50);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--blue-700);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.hm-step-time:hover { background: var(--blue-100); border-color: var(--blue-300); }
.hm-step-time .hm-i { width: 0.55rem; height: 0.55rem; fill: currentColor; stroke: none; }

/* ── Feature bento ────────────────────────────────────────── */
.hm-bento { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px)  { .hm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .hm-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-tile.wide { grid-column: span 2; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hm-tile.wide { grid-column: span 2; }
}
.hm-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.hm-tile:hover,
.hm-tile:focus-visible {
  border-color: var(--blue-300);
  box-shadow: 0 20px 40px -28px rgb(var(--h-rgb) / 0.75);
  transform: translateY(-3px);
}
.hm-tile-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  background: var(--h-grad);
  color: #ffffff;
  box-shadow: 0 10px 20px -10px rgb(var(--h-rgb) / 0.85), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.hm-tile-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-900);
}
.hm-tile-title .feature-tag:first-of-type { margin-left: 0.35rem; }
.hm-tile-title .feature-tag + .feature-tag { margin-left: 0.15rem; }
.hm-tile-text { font-size: 0.88rem; line-height: 1.6; color: var(--gray-600); }
.hm-tile-more {
  margin-top: auto;
  padding-top: 0.375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-700);
}
.hm-tile-more .hm-i { transition: transform var(--transition); }
.hm-tile:hover .hm-tile-more .hm-i { transform: translateX(3px); }

.hm-tile.wide { gap: 1.25rem; }
@media (min-width: 768px) {
  .hm-tile.wide.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 1.75rem; }
  .hm-tile.wide.split .hm-tile-copy { display: flex; flex-direction: column; gap: 0.75rem; height: 100%; }
}
.hm-tile-copy { display: flex; flex-direction: column; gap: 0.75rem; }
.hm-tile-copy .hm-tile-more { margin-top: auto; }
.hm-tile-visual {
  padding: 0.875rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--blue-100);
  background: linear-gradient(160deg, var(--blue-50), #ffffff);
}
.hm-tile-visual svg { display: block; width: 100%; height: auto; color: var(--blue-600); }

.hm-tile.dark {
  border-color: transparent;
  background:
    radial-gradient(24rem 14rem at 100% 0%, rgb(59 130 246 / 0.3), transparent 70%),
    var(--h-dark);
  color: #ffffff;
}
.hm-tile.dark .hm-tile-title { color: #ffffff; font-size: 1.25rem; }
.hm-tile.dark .hm-tile-text { color: rgb(255 255 255 / 0.7); }
.hm-tile.dark .hm-tile-icon { background: rgb(255 255 255 / 0.12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); }
.hm-tile.dark .hm-tile-more {
  align-self: flex-start;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--blue-700);
  box-shadow: var(--shadow-md);
}
.hm-tile.dark:hover { box-shadow: 0 24px 44px -26px rgb(15 23 42 / 0.8); }
@media (min-width: 768px) {
  .hm-tile.dark { flex-direction: row; align-items: center; gap: 1.5rem; }
  .hm-tile.dark .hm-tile-copy { flex: 1; }
  .hm-tile.dark .hm-tile-more { align-self: center; margin-top: 0; flex: none; }
}

/* ── Savings calculator ───────────────────────────────────── */
.hm-calc { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .hm-calc { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.hm-calc-inputs {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .hm-calc-inputs { padding: 2rem; } }
.hm-calc-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hm-calc-group-title .hm-i { color: var(--blue-600); }
.hm-calc-group + .hm-calc-group { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px dashed var(--border); }
.hm-calc-row { margin-top: 1.25rem; }
.hm-calc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.625rem;
}
.hm-calc-label { font-size: 0.9rem; font-weight: 600; color: var(--gray-700); }
.hm-calc-value {
  flex: none;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-700);
}
.hm-range {
  --p: 50%;
  display: block;
  width: 100%;
  height: 0.4rem;
  -webkit-appearance: none;
          appearance: none;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--blue-500) 0 var(--p), var(--gray-200) var(--p) 100%);
  outline: none;
  cursor: pointer;
}
.hm-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: var(--blue-600);
  box-shadow: 0 0 0 1px var(--blue-300), var(--shadow-blue);
  transition: transform var(--transition);
}
.hm-range::-moz-range-thumb {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: var(--blue-600);
  box-shadow: 0 0 0 1px var(--blue-300), var(--shadow-blue);
}
.hm-range:hover::-webkit-slider-thumb { transform: scale(1.1); }
.hm-range:focus-visible { box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--blue-400); }
.hm-calc-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--gray-400);
}
.hm-calc-hint { margin-top: 0.4rem; font-size: 0.76rem; line-height: 1.5; color: var(--gray-500); }

.hm-calc-result {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(20rem 16rem at 100% 0%, rgb(59 130 246 / 0.32), transparent 70%),
    var(--h-dark);
  color: #ffffff;
}
@media (min-width: 640px) { .hm-calc-result { padding: 2rem; } }
.hm-calc-result-label { font-size: 0.875rem; color: rgb(255 255 255 / 0.65); }
.hm-calc-big {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-100));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-calc-period { margin-top: 0.4rem; font-size: 0.8rem; color: rgb(255 255 255 / 0.55); }
.hm-calc-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; margin-top: 1.25rem; }
.hm-calc-cell {
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.06);
}
.hm-calc-cell-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.55);
}
.hm-calc-cell-value { display: block; margin-top: 0.2rem; font-family: var(--font-mono); font-size: 1.1rem; font-weight: 800; color: #ffffff; white-space: nowrap; }
@media (max-width: 419px) {
  .hm-calc-cell { padding: 0.7rem 0.75rem; }
  .hm-calc-cell-value { font-size: 0.95rem; }
}
.hm-calc-cta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-700);
  transition: background var(--transition), transform var(--transition);
}
.hm-calc-cta:hover { background: var(--blue-50); transform: translateY(-1px); }
.hm-calc-bars { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.hm-calc-bar-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  color: rgb(255 255 255 / 0.65);
}
.hm-calc-bar-top b { font-family: var(--font-mono); font-weight: 700; color: #ffffff; }
.hm-calc-track { height: 0.625rem; border-radius: var(--radius-full); background: rgb(255 255 255 / 0.08); overflow: hidden; }
.hm-calc-fill {
  display: block;
  height: 100%;
  width: var(--w, 100%);
  border-radius: inherit;
  background: rgb(255 255 255 / 0.35);
  transition: width 0.35s ease-out;
}
.hm-calc-fill.after { background: linear-gradient(90deg, var(--blue-400), var(--blue-200)); }
@media (min-width: 1024px) { .hm-calc-cta { margin-top: auto; } .hm-calc-cells { margin-bottom: 1.5rem; } }

/* ── Machines ─────────────────────────────────────────────── */
.hm-machines { list-style: none; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px)  { .hm-machines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hm-machines { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hm-machine {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.hm-machine::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--h-grad);
  opacity: 0;
  transition: opacity var(--transition);
}
.hm-machine:hover { border-color: var(--blue-300); box-shadow: 0 20px 40px -28px rgb(var(--h-rgb) / 0.75); transform: translateY(-3px); }
.hm-machine:hover::before { opacity: 1; }
.hm-machine-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  border: 1px solid var(--blue-100);
  background: var(--blue-50);
  color: var(--blue-600);
}
.hm-machine-title { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); }
.hm-machine-text { font-size: 0.875rem; line-height: 1.6; color: var(--gray-600); }
.hm-machine-tips {
  list-style: none;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hm-machine-tips-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.hm-machine-tips li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.82rem; line-height: 1.5; color: var(--gray-700); }
.hm-machine-tips li .hm-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  border-radius: var(--radius-full);
  background: var(--blue-100);
  color: var(--blue-700);
}
.hm-machine-tips li .hm-tick .hm-i { width: 0.6rem; height: 0.6rem; stroke-width: 3.2; }
.hm-machine-tips .feature-tag { margin-left: 0.25rem; }

/* ── Pricing (cards come from styles.css) ─────────────────── */
@media (min-width: 1024px) { .pricing-grid.two-plans { grid-template-columns: repeat(2, 1fr); } }
.hm-pricing-grid { max-width: 52rem; margin-inline: auto; }
.hm-price-note { margin-top: 0.375rem; font-size: 0.825rem; color: var(--gray-500); }
.pricing-feature.is-off { color: var(--gray-400); }
.pricing-feature.is-off .pricing-check { background: var(--gray-100); color: var(--gray-400); }
.hm-pricing-more { margin-top: 1.75rem; text-align: center; font-size: 0.875rem; color: var(--gray-500); }

/* ── FAQ ──────────────────────────────────────────────────── */
.hm-faq { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .hm-faq { grid-template-columns: 19rem minmax(0, 1fr); gap: 4rem; align-items: start; }
  .hm-faq-intro { position: sticky; top: 6rem; }
}
.hm-faq-intro .hm-title { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.hm-faq-intro .hm-sub { font-size: 0.95rem; }
.hm-faq-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; }
@media (min-width: 1024px) { .hm-faq-nav { flex-direction: column; } }
.hm-faq-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem 0.45rem 0.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.hm-faq-nav a:hover { border-color: var(--blue-300); background: var(--blue-50); color: var(--blue-700); }
.hm-faq-nav-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--blue-50);
  color: var(--blue-600);
}
.hm-faq-nav-icon .hm-i { width: 0.9rem; height: 0.9rem; }
.hm-faq-count { margin-left: auto; padding-left: 0.5rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--gray-400); }
.hm-faq-help {
  margin-top: 1.5rem;
  padding: 1.125rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--blue-200);
  background: var(--blue-50);
}
.hm-faq-help-title { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); }
.hm-faq-help-text { margin-top: 0.25rem; font-size: 0.82rem; line-height: 1.55; color: var(--gray-600); }
.hm-faq-help-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.875rem; }
.hm-faq-help-actions .btn-secondary { padding: 0.4rem 0.8rem; font-size: 0.8rem; }

.hm-faq-group { scroll-margin-top: 6rem; }
.hm-faq-group + .hm-faq-group { margin-top: 2.25rem; }
.hm-faq-group-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.hm-faq-group-title .hm-faq-nav-icon { background: var(--h-grad); color: #ffffff; }
.hm-faq .faq-list { margin-top: 0; gap: 0.625rem; }
.hm-faq .faq-item { box-shadow: var(--shadow-xs); }
.hm-faq .faq-item.open { border-color: var(--blue-300); box-shadow: 0 16px 30px -24px rgb(var(--h-rgb) / 0.8); }
.hm-faq .faq-btn { padding: 1rem 1.25rem; font-size: 0.94rem; line-height: 1.45; }
.hm-faq .faq-btn:hover { background: var(--blue-50); }
.hm-faq .faq-body { padding: 0 1.25rem 1.25rem; color: var(--gray-600); }
@media (min-width: 640px) { .hm-faq .faq-body { padding-right: 3.5rem; } }

/* ── Motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hm-tile, .hm-machine, .hm-step, .hm-btn-watch, .hm-play, .hm-calc-cta, .hm-calc-fill { transition: none; }
  .hm-tile:hover, .hm-machine:hover, .hm-step:hover, .hm-btn-watch:hover, .hm-calc-cta:hover { transform: none; }
  .hm-real-dot { animation: none; }
}
