/* ReBoost Hub home for HVAC: "the whiteboard that clears itself". The only whiteboard hero: light shop-wall concrete
   (#e9e7e2), ink text, ReBoost indigo (#4f3df0, headline line #3a2bd1) with a red marker swoosh under it and an
   indigo button. Layout: copy LEFT, a wall whiteboard RIGHT that runs to the right edge of the screen from 1100px, so it
   reads differently from every category hero (see the hero identity list in docs/playbooks/temp-page-from-design.md).
   Below the hero it is the same road-map system as hvac-support.css: phones stack the eight stops along a vertical road;
   from 1280px each stop is a full-width row and hvac-home.js draws the winding road from measured positions. */

.rb-home-page {
  --rb-bg: #f4f3ef;
  background: var(--rb-bg);
  color: #151a2c;
}
.hm-main { min-width: 0; }
.hm-main > footer { width: auto; margin: 0; padding-inline: 24px; }
.hm-main > footer .brand span { color: #151a2c; }
.hm :is(a, button, summary):focus-visible { outline: 3px solid #4f3df0; outline-offset: 3px; }

/* ---------------------------------------------------------------- shared */
.hm {
  --ink: #151a2c;
  --ink2: #3a4258;
  --muted: #636b82;
  --indigo: #4f3df0;
  --indigo-deep: #3a2bd1;
  --indigo-soft: #b3a9ff;
  --hi: #ffe45c;
  --go: #0e9f6e;
  --asphalt: #464b55;
  --road-edge: #f8f9fc;
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(ellipse 40% 30% at 0% 36%, rgba(79, 61, 240, .06), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 70%, rgba(255, 228, 92, .12), transparent 70%),
    linear-gradient(180deg, #f5f4f0 0%, #f9f8f5 40%, #f4f3ef 72%, #efeee9 100%);
}
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
:where(.hm) :where(h1, h2, h3, p, ul, ol, figure, blockquote, table) { margin: 0; padding: 0; }
:where(.hm) :where(ul, ol) { list-style: none; }
.hm img { display: block; max-width: none; }
.hm svg { display: block; overflow: visible; }
.hm h1, .hm h2, .hm h3, .hm-pin b, .hm-brand span, .hm-stat b, .hm-rank__big b {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hm h1 em, .hm h2 em { font-family: inherit; font-style: normal; letter-spacing: inherit; }
.hm-i { width: 22px; height: 22px; flex: 0 0 auto; }
.hm-cap { color: var(--muted); font-size: 12px; }
.hm-stack { display: grid; }
.hm-stack > * { grid-area: 1 / 1; }
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(180deg, #6352ff 0%, #4331e6 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset, 0 10px 24px rgba(79, 61, 240, .32);
  color: #fff;
  font: 700 16px/1.1 "DM Sans", sans-serif;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hm-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .32) inset, 0 14px 30px rgba(79, 61, 240, .42); }
.hm-btn .hm-i { width: 18px; height: 18px; }
.hm-btn--ghost { border-color: rgba(21, 26, 44, .28); background: rgba(255, 255, 255, .6); box-shadow: none; color: var(--ink); }
.hm-btn--ghost:hover { border-color: var(--ink); background: #fff; box-shadow: none; color: var(--ink); }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-link { display: inline-flex; align-items: center; gap: 6px; color: var(--indigo-deep); font-size: 15.5px; font-weight: 700; text-decoration: none; }
.hm-link:hover { text-decoration: underline; }
.hm-link .hm-i { width: 16px; height: 16px; }

.hm-hand { font-family: "Caveat", cursive; font-weight: 700; font-size: 30px; line-height: .95; color: #1d2033; }
.hm-hand u { color: var(--indigo-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hm-kicker { color: var(--indigo-deep); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.hm-checks { display: flex; flex-direction: column; gap: 9px; }
.hm-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.hm-checks svg { width: 20px; height: 20px; flex: 0 0 auto; }
.hm-ok { color: var(--go); }

/* Links to each stop's own page: real pill buttons. */
.hm-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid rgba(79, 61, 240, .28);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(21, 26, 44, .06);
  color: var(--indigo-deep);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.hm-links a .hm-i { width: 15px; height: 15px; }
.hm-links a:hover { border-color: var(--indigo); background: var(--indigo); color: #fff; transform: translateY(-1px); }

/* Dark cards (house style): navy with an indigo hairline. */
.hm-dark {
  border: 1px solid rgba(179, 169, 255, .2);
  border-radius: 16px;
  background: linear-gradient(160deg, #1d2140 0%, #151a33 55%, #0f1326 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 2px 4px rgba(13, 16, 34, .18), 0 16px 30px -8px rgba(13, 16, 34, .4), 0 36px 64px -20px rgba(13, 16, 34, .5);
  color: #eef0fa;
}
/* White cards: fine border + layered shadow. */
.hm-card {
  border: 1px solid rgba(21, 26, 44, .08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(21, 26, 44, .04), 0 16px 32px -10px rgba(21, 26, 44, .16);
}
.hm-dark, .hm-card { transition: transform .2s ease, box-shadow .2s ease; }
.hm-dark:hover, .hm-card:hover { transform: translateY(-2px); }

/* Self-playing demos: every state variant is in the HTML; JS only moves is-on. The HTML ships the final state. */
.hm [data-s] { transition: opacity .45s ease, transform .45s cubic-bezier(.22, .8, .24, 1); }
.hm [data-s]:not(.is-on) { opacity: 0; transform: translateY(8px); }

/* ---------------------------------------------------------------- hero */
.hm-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 48px;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(255, 255, 255, .7), transparent 70%),
    radial-gradient(circle at 12% 88%, rgba(79, 61, 240, .08), transparent 40%),
    repeating-linear-gradient(0deg, rgba(21, 26, 44, .018) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #ecebe6 0%, #e6e4de 100%);
}
.hm-hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
}
.hm-hero__copy { display: grid; gap: 18px; align-content: start; }
.hm-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.hm-brand svg { width: 34px; height: 34px; }
.hm-brand span { font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.hm-brand small { flex-basis: 100%; color: var(--indigo-deep); font-size: 14px; font-weight: 700; }
.hm h1 { margin: 0; color: var(--ink); font-size: clamp(31px, 7.6vw, 46px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.hm h1 em {
  display: block;
  width: fit-content;
  margin: 10px 0 0 -4px;
  padding: 0 4px 14px;
  color: var(--indigo-deep);
  /* A red dry-erase marker swoosh under the line (not a highlighter: that is the Websites hero). */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c60-6 150-8 294-3' fill='none' stroke='%23d93636' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 14px no-repeat;
}
.hm-hero__sub { color: var(--ink2); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.hm-signals { display: grid; gap: 9px; }
.hm-signals li { display: flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 700; }
.hm-signals .hm-ok { width: 22px; height: 22px; }

/* The whiteboard */
.hm-board { display: grid; gap: 8px; min-width: 0; }
.hm-board__frame {
  position: relative;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4f5f7 0%, #bcc2cb 30%, #eef0f3 55%, #a9b0ba 100%);
  box-shadow: 0 30px 50px -24px rgba(21, 26, 44, .45), 0 8px 16px -8px rgba(21, 26, 44, .25);
}
.hm-board__face {
  position: relative;
  min-height: 420px;
  padding: 44px 16px 22px;
  border-radius: 6px;
  background:
    radial-gradient(ellipse 30% 18% at 22% 30%, rgba(120, 130, 160, .07), transparent 70%),
    radial-gradient(ellipse 26% 14% at 76% 70%, rgba(120, 130, 160, .06), transparent 70%),
    linear-gradient(160deg, #ffffff 0%, #f6f7f5 60%, #eff1ee 100%);
  box-shadow: inset 0 0 0 1px rgba(21, 26, 44, .08), inset 0 2px 8px rgba(21, 26, 44, .06);
}
.hm-board__tag {
  position: absolute;
  z-index: 3;
  left: 26px;
  top: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}
.hm-board__tag span { transition: opacity .35s ease; }
.hm-board__frame[data-state="hub"] [data-hm-tag="mess"], .hm-board__frame:not([data-state="hub"]) [data-hm-tag="hub"] { opacity: 0; }
.hm-board__tray { position: absolute; left: 12%; right: 12%; bottom: -10px; display: flex; justify-content: center; gap: 14px; height: 12px; border-radius: 0 0 6px 6px; background: linear-gradient(180deg, #c4c9d1, #9aa1ac); }
.hm-board__tray i { width: 46px; height: 9px; margin-top: -4px; border-radius: 3px; background: #1d2033; }
.hm-board__tray i:nth-child(2) { background: var(--indigo); }
.hm-board__tray i:nth-child(3) { background: #e2474d; }
.hm-board__cap { color: rgba(21, 26, 44, .6); font-size: 12px; padding-top: 6px; }

.hm-mess { position: relative; display: grid; align-content: center; }
.hm-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.hm-note {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 74px;
  padding: 10px;
  background: var(--c);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 8px 14px -6px rgba(21, 26, 44, .35);
  font-family: "Caveat", cursive;
  font-weight: 700;
  transform: rotate(var(--r));
  transition: transform .6s cubic-bezier(.55, 0, .3, 1), opacity .5s ease;
}
.hm-note b { color: #1d2033; font-size: 21px; line-height: .95; }
.hm-note small { color: #4a4f66; font-size: 16px; line-height: 1; }
.hm-note--agency { border: 2px solid #1d2033; }
.hm-note--agency b { color: #c0262d; }
.hm-notes li:nth-child(1) { --i: 0; } .hm-notes li:nth-child(2) { --i: 1; } .hm-notes li:nth-child(3) { --i: 2; }
.hm-notes li:nth-child(4) { --i: 3; } .hm-notes li:nth-child(5) { --i: 4; } .hm-notes li:nth-child(6) { --i: 5; }
.hm-notes li:nth-child(7) { --i: 6; } .hm-notes li:nth-child(8) { --i: 7; } .hm-notes li:nth-child(9) { --i: 8; }
.hm-scribble { position: absolute; color: #c0262d; font: 700 23px/1 "Caveat", cursive; transition: opacity .5s ease; pointer-events: none; }
.hm-scribble--1 { right: 4px; top: -30px; transform: rotate(-4deg); }
.hm-scribble--2 { left: 4px; bottom: -22px; color: var(--indigo-deep); transform: rotate(2deg); }

.hm-hubwin {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  align-self: center;
  justify-self: center;
  width: min(100%, 400px);
  padding: 16px;
  border: 1px solid rgba(179, 169, 255, .25);
  border-radius: 16px;
  background: linear-gradient(160deg, #1d2140 0%, #151a33 60%, #0f1326 100%);
  box-shadow: 0 30px 50px -18px rgba(13, 16, 34, .55), 0 0 0 6px rgba(79, 61, 240, .12);
  color: #eef0fa;
  transition: opacity .5s ease, transform .6s cubic-bezier(.3, 1.4, .5, 1);
}
.hm-hubwin__top { display: flex; align-items: center; gap: 10px; }
.hm-hubwin__top svg { width: 30px; height: 30px; }
.hm-hubwin__top b { font: 700 18px/1 "Space Grotesk", sans-serif; }
.hm-hubwin__top span { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--hi); color: #1d2033; font-size: 12.5px; font-weight: 800; }
.hm-hubwin__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.hm-hubwin__list li { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 9px; background: rgba(255, 255, 255, .06); font-size: 13.5px; font-weight: 600; }
.hm-hubwin__list .hm-ok { width: 16px; height: 16px; flex: 0 0 auto; color: #34d399; }
.hm-hubwin__foot { padding: 9px 11px; border-radius: 9px; background: rgba(79, 61, 240, .25); font-size: 13.5px; font-weight: 700; }
.hm-hubwin__foot span { color: #c9c3ff; font-weight: 500; }

/* Board states (JS steps data-state; the HTML ships "hub"): mess = notes up, sweep = notes fly into the middle, hub. */
.hm-board__frame:not([data-state="mess"]) .hm-note { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(0deg) scale(.2); }
.hm-board__frame:not([data-state="mess"]) .hm-scribble { opacity: 0; }
.hm-board__frame[data-state="mess"] .hm-note { animation: hm-note-in .45s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i) * 170ms); }
.hm-board__frame[data-state="mess"] .hm-scribble { animation: hm-fade-in .4s ease both; animation-delay: 1.6s; }
.hm-board__frame:not([data-state="hub"]) .hm-hubwin { opacity: 0; transform: scale(.86); }
.hm-board__frame[data-state="hub"] .hm-hubwin { opacity: 1; transform: none; }
@keyframes hm-note-in { from { opacity: 0; transform: translateY(-18px) rotate(var(--r)) scale(1.15); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes hm-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------- platform intro */
.hm-platform { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; padding: 48px 16px 10px; text-align: center; justify-items: center; scroll-margin-top: 140px; }
.hm-platform h2 { font-size: clamp(28px, 6.6vw, 42px); line-height: 1.05; }
.hm-platform__note { padding: 5px 13px; border-radius: 999px; background: rgba(79, 61, 240, .09); color: var(--indigo-deep); font-size: 13.5px; font-weight: 700; }

/* ---------------------------------------------------------------- road + steps (phones first) */
.hm-course { position: relative; }
.hm .hm-road, .hm .hm-drive { display: none; }
.hm-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 20px; max-width: 780px; margin: 0 auto; padding: 34px 16px 34px 76px; }
.hm-step::before, .hm-finish::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 22px; background: var(--asphalt); box-shadow: 0 0 0 2.5px var(--road-edge), 0 0 0 3.5px #d3d8e2; }
.hm-step::after, .hm-finish::after { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; border-left: 2px dashed #fff; }
.hm-step > * { min-width: 0; }
.hm-pin { position: absolute; z-index: 1; left: 0; top: 20px; width: 62px; height: 78px; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)); }
.hm-pin svg { width: 100%; height: 100%; color: var(--pin); }
.hm-pin b { position: absolute; left: 0; right: 0; top: 8px; color: #fff; font-size: 36px; text-align: center; }
@keyframes hm-pin-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.hm-step.is-in .hm-pin, .hm:not(.hm-motion) .hm-pin { animation: hm-pin-bob 2.6s ease-in-out infinite; }
.hm-step:nth-of-type(even) .hm-pin { animation-delay: -1.3s; }
.hm h2 { font-size: clamp(26px, 6.4vw, 32px); line-height: 1.08; }
.hm-intro { display: grid; gap: 12px; align-content: start; }
.hm-aside { display: grid; gap: 16px; justify-items: start; }
.hm-sub { color: var(--ink2); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.hm-visual { display: grid; gap: 12px; min-width: 0; container-type: inline-size; }

/* Stop 1: monthly rank checks */
.hm-rank { display: grid; gap: 16px; max-width: 560px; padding: 18px; }
.hm-rank__q { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #fff; color: #636b82; font-size: 16px; }
.hm-rank__q span { color: var(--ink); font-weight: 600; }
.hm-rank__row { display: flex; align-items: center; gap: 18px; }
.hm-rank__big b { color: var(--hi); font-size: 78px; line-height: .9; }
.hm-rank__who { display: grid; gap: 8px; }
.hm-rank__who p:first-child { display: flex; align-items: center; gap: 9px; }
.hm-rank__who img { width: 34px; height: 34px; border-radius: 50%; }
.hm-rank__who b { font-size: 17px; }
.hm-rank__badge span { justify-self: start; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #d9dcf0; font-size: 13px; font-weight: 700; }
.hm-rank__badge span:last-child { background: var(--go); color: #fff; }
.hm-rank__months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hm-rank__months li { display: grid; gap: 2px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .07); font: 700 18px/1 "Space Grotesk", sans-serif; text-align: center; }
.hm-rank__months li small { color: #a7add0; font: 600 12px/1 "DM Sans", sans-serif; }
.hm .hm-rank__months li:not(.is-on) { opacity: .25; transform: none; }
.hm .hm-rank__months li:last-child.is-on { background: rgba(255, 228, 92, .18); box-shadow: 0 0 0 1px rgba(255, 228, 92, .5) inset; }

/* Stop 2: ad to lead */
.hm-lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: center; max-width: 640px; padding: 16px; }
.hm-ad { display: grid; gap: 8px; padding: 10px; border-radius: 12px; background: #f3f5f9; }
.hm-ad__head { display: flex; align-items: center; gap: 8px; }
.hm-ad__head img { width: 30px; height: 30px; border-radius: 50%; }
.hm-ad__head b { display: block; font-size: 13.5px; }
.hm-ad__head small { display: block; color: var(--muted); font-size: 11.5px; }
.hm-ad__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.hm-ad__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hm-ad__foot b { font-size: 14px; line-height: 1.2; }
.hm-ad__cta { flex: 0 0 auto; padding: 7px 12px; border-radius: 8px; background: #2f7cf6; color: #fff; font-size: 13px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.hm-lead[data-state="tap"] .hm-ad__cta { transform: scale(.92); box-shadow: 0 0 0 6px rgba(47, 124, 246, .25); }
.hm-lead__arrow { justify-self: center; color: #2f7cf6; transform: rotate(90deg); }
.hm-lead__card { display: grid; gap: 12px; padding: 14px; border-radius: 12px; background: #eef4ff; box-shadow: 0 0 0 1px rgba(47, 124, 246, .25) inset; }
.hm-lead__new { justify-self: start; padding: 3px 10px; border-radius: 999px; background: #2f7cf6; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hm-lead__name { display: flex; align-items: center; gap: 10px; }
.hm-lead__name b { display: block; font-size: 17px; }
.hm-lead__name small { display: block; color: var(--muted); font-size: 13px; }
.hm-av { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg, #6352ff, #3a2bd1); color: #fff; font: 700 14px/1 "Space Grotesk", sans-serif; }
.hm-lead__meta { display: grid; gap: 6px; }
.hm-lead__meta li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; background: #fff; font-size: 14px; font-weight: 700; }
.hm-lead__meta small { color: var(--muted); font-size: 13px; font-weight: 500; }

/* Stop 3 + 7: text threads */
.hm-thread, .hm-ask { display: grid; gap: 12px; max-width: 520px; padding: 18px; background: #f7f8fa; }
.hm-thread__call { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(21, 26, 44, .07); }
.hm-thread__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: #fde8ec; color: #e11d48; }
.hm-thread__icon svg { width: 20px; height: 20px; }
.hm-thread__call b { display: block; font-size: 15.5px; }
.hm-thread__call small { display: block; color: var(--muted); font-size: 13px; }
.hm-thread__msg { display: grid; gap: 4px; max-width: 86%; }
.hm-thread__msg p { padding: 10px 13px; border-radius: 16px 16px 16px 5px; background: #e9edf3; color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.hm-thread__msg small { color: var(--muted); font-size: 11.5px; }
.hm-thread__msg--out { justify-self: end; justify-items: end; }
.hm-thread__msg--out p { border-radius: 16px 16px 5px 16px; background: #ec4899; color: #fff; }
.hm-thread__inbox, .hm-ask__done { display: flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(21, 26, 44, .08); font-size: 13.5px; font-weight: 700; }
.hm-thread__inbox svg, .hm-ask__done svg { width: 18px; height: 18px; }
.hm-ask .hm-thread__msg--out p { background: #ff8a00; }
.hm-ask__card { display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(21, 26, 44, .07), 0 10px 20px -12px rgba(21, 26, 44, .3); }
.hm-ask__stars { color: #f5a300; font-size: 20px; letter-spacing: 2px; }
.hm-ask__card p:not(.hm-ask__stars) { font-size: 15px; line-height: 1.45; }
.hm-ask__card small { color: var(--muted); font-size: 12.5px; }

/* Stop 4: booking moves the card */
.hm-flow { display: grid; gap: 14px; max-width: 680px; padding: 18px; }
.hm-flow__toast span { display: flex; align-items: center; gap: 8px; justify-self: start; padding: 9px 13px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 14px; font-weight: 700; }
.hm-flow__toast span:last-child { background: rgba(14, 159, 110, .2); box-shadow: 0 0 0 1px rgba(52, 211, 153, .35) inset; }
.hm-flow__toast .hm-ok { width: 18px; height: 18px; color: #34d399; }
.hm-flow__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hm-flow__col { display: grid; align-content: start; gap: 8px; min-height: 124px; padding: 9px; border-radius: 11px; background: rgba(255, 255, 255, .05); }
.hm-flow__col > p { color: #a7add0; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hm-flow__col--go { background: rgba(242, 59, 69, .1); box-shadow: 0 0 0 1px rgba(242, 59, 69, .3) inset; }
.hm-flow__col--go > p { color: #ff8a90; }
.hm-flow__card { display: grid; gap: 3px; padding: 9px; border-radius: 9px; background: #fff; color: var(--ink); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .5); }
.hm-flow__card b { font-size: 14px; }
.hm-flow__card small { color: var(--muted); font-size: 12px; }

/* Stop 5: the tech's phone */
.hm-phone { display: grid; align-content: start; gap: 10px; width: min(100%, 320px); padding: 16px 14px 20px; border: 9px solid #1a1d29; border-radius: 34px; background: #f3f5f9; box-shadow: 0 0 0 2px #454a5c, 0 24px 44px -16px rgba(21, 26, 44, .45); }
.hm-phone__bar { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 4px; }
.hm-phone__bar b { font: 700 18px/1 "Space Grotesk", sans-serif; }
.hm-phone__bar span { padding: 3px 10px; border-radius: 999px; background: #fff3d6; color: #9a5b00; font-size: 12.5px; font-weight: 800; }
.hm-phone__job { display: grid; gap: 2px; padding: 11px 12px; border-left: 4px solid #f59e0b; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(21, 26, 44, .06); }
.hm-phone__job small { color: #9a5b00; font-size: 12px; font-weight: 800; }
.hm-phone__job b { font-size: 15px; }
.hm-phone__job span { color: var(--muted); font-size: 13px; }
.hm-phone__snap { position: relative; overflow: hidden; border-radius: 10px; background: linear-gradient(180deg, #cfe3f5 0%, #e6eef6 62%, #cddfbf 62%, #b9d1a6 100%); }
.hm-phone__snap img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hm-phone__snap span { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; font-weight: 700; }
.hm-phone__post { display: grid; gap: 5px; padding: 11px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(79, 61, 240, .2) inset; }
.hm-phone__post small { color: var(--indigo-deep); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hm-phone__post p { font-size: 14px; line-height: 1.4; }
.hm-phone__post span { justify-self: start; padding: 3px 9px; border-radius: 999px; background: #fff7d6; color: #7a5a00; font-size: 12px; font-weight: 800; }

/* Stop 6: invoice */
.hm-invoice { display: grid; gap: 14px; max-width: 460px; padding: 20px; }
.hm-invoice__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hm-invoice__head b { font: 700 19px/1 "Space Grotesk", sans-serif; }
.hm-invoice__head em { justify-self: end; padding: 5px 13px; border-radius: 999px; background: #eef1f6; color: var(--ink2); font-size: 13.5px; font-style: normal; font-weight: 800; }
.hm .hm-invoice__head em.hm-invoice__paid { background: var(--go); color: #fff; }
.hm-invoice__lines { display: grid; gap: 8px; }
.hm-invoice__lines li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed #dde2ea; font-size: 15px; }
.hm-invoice__total { border-bottom: 0 !important; font-weight: 800; font-size: 17px !important; }
.hm-invoice__books { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #ecfdf5; box-shadow: 0 0 0 1px rgba(14, 159, 110, .25) inset; font-size: 14.5px; font-weight: 700; }
.hm-invoice__books svg { width: 18px; height: 18px; }

/* Stop 8: maintenance plan */
.hm-plan { display: grid; gap: 14px; max-width: 520px; padding: 18px; }
.hm-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hm-plan__head b { font: 700 18px/1 "Space Grotesk", sans-serif; }
.hm-plan__head span { color: #a7add0; font-size: 13.5px; font-weight: 700; }
.hm-plan__line { display: grid; gap: 8px; }
.hm-plan__visit { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 11px; background: rgba(255, 255, 255, .06); }
.hm-plan__visit small { color: #a7add0; font-size: 12.5px; font-weight: 800; text-transform: uppercase; }
.hm-plan__visit b { font-size: 15px; }
.hm-plan__visit span { display: inline-flex; align-items: center; gap: 5px; color: #6ee7b7; font-size: 13px; font-weight: 700; }
.hm-plan__visit span svg { width: 16px; height: 16px; color: #34d399; }
.hm-plan__visit--next { background: rgba(8, 145, 178, .2); box-shadow: 0 0 0 1px rgba(34, 211, 238, .35) inset; }
.hm-plan__gap { display: flex; align-items: center; gap: 10px; padding-left: 34px; color: #a7add0; font-size: 13px; font-weight: 700; }
.hm-plan__gap i { width: 2px; height: 26px; border-left: 2px dashed rgba(167, 173, 208, .6); }

/* Finish band */
.hm-finish { position: relative; display: grid; gap: 16px; justify-items: start; max-width: 780px; margin: 0 auto; padding: 30px 16px 44px 76px; }
.hm-finish > * { position: relative; z-index: 2; }
.hm-finish__copy { display: grid; gap: 10px; }
.hm-finish__copy h2 { font-size: clamp(24px, 5.6vw, 30px); }
.hm-finish__copy p { color: var(--ink2); font-size: 15.5px; line-height: 1.45; }
.hm-hand--out { justify-self: end; transform: rotate(-5deg); }

/* ---------------------------------------------------------------- support promise */
.hm-support { position: relative; z-index: 3; display: grid; gap: 26px; padding: 52px 16px 56px; background: #fff; }
.hm-support__copy { display: grid; gap: 14px; align-content: start; justify-items: start; }
.hm-stat { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(160deg, #1d2140 0%, #0f1326 100%); color: #fff; box-shadow: 0 16px 30px -10px rgba(13, 16, 34, .45); }
.hm-stat b { color: var(--hi); font-size: 56px; line-height: 1; }
.hm-stat span { display: grid; font-size: 18px; font-weight: 700; line-height: 1.2; }
.hm-stat small { color: #b8bfd6; font-size: 13.5px; font-weight: 500; }
.hm-team { position: relative; overflow: hidden; align-self: center; border-radius: 18px; background: #dfe3ea; box-shadow: 0 2px 4px rgba(21, 26, 44, .05), 0 24px 44px -16px rgba(21, 26, 44, .35); }
.hm-team img { width: 100%; height: auto; aspect-ratio: 2000 / 729; object-fit: cover; }
.hm-team figcaption { padding: 12px 16px; background: #fff; color: var(--ink); font: 700 24px/1.1 "Caveat", cursive; }

/* ---------------------------------------------------------------- free offers + add-ons */
.hm-offers { position: relative; z-index: 3; display: grid; gap: 18px; padding: 8px 16px 52px; background: #fff; }
.hm-offer { position: relative; display: grid; gap: 12px; align-content: start; justify-items: start; padding: 24px; border-radius: 18px; }
.hm-offer h2 { font-size: clamp(23px, 5.4vw, 28px); line-height: 1.1; }
.hm-offer p:not(.hm-offer__tag) { font-size: 15.5px; line-height: 1.5; }
.hm-offer__tag { padding: 4px 12px; border-radius: 999px; background: var(--hi); color: #1d2033; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hm-offer--site { background: #f3f1ff; box-shadow: 0 0 0 1px rgba(79, 61, 240, .16) inset; }
.hm-offer--site p:not(.hm-offer__tag) { color: var(--ink2); }
.hm-offer--audit { background: linear-gradient(160deg, #1d2140 0%, #151a33 60%, #0f1326 100%); color: #eef0fa; box-shadow: 0 24px 44px -18px rgba(13, 16, 34, .5); }
.hm .hm-offer--audit h2 { color: #fff; }
.hm-offer--audit p:not(.hm-offer__tag) { color: #cdd2e6; }

.hm-addons { position: relative; z-index: 3; display: grid; gap: 12px; padding: 48px 16px; background: #f4f3ef; }
.hm-addons > h2, .hm-addons > .hm-sub { max-width: 1180px; width: 100%; margin: 0 auto; }
.hm-addons__list { display: grid; gap: 12px; width: 100%; max-width: 1180px; margin: 10px auto 0; }
.hm-addons__list a { display: grid; gap: 4px; height: 100%; padding: 18px 20px; border: 1px solid rgba(21, 26, 44, .09); border-radius: 14px; background: #fff; box-shadow: 0 10px 22px -14px rgba(21, 26, 44, .3); color: var(--ink); text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.hm-addons__list a:hover { border-color: var(--indigo); transform: translateY(-2px); }
.hm-addons__list b { font: 700 18px/1.2 "Space Grotesk", sans-serif; }
.hm-addons__list b::after { content: " \2192"; color: var(--indigo); }
.hm-addons__list span { color: var(--ink2); font-size: 14.5px; line-height: 1.45; }

/* ---------------------------------------------------------------- compare */
.hm-compare { position: relative; z-index: 3; display: grid; gap: 22px; padding: 52px 16px 56px; background: #fff; scroll-margin-top: 125px; }
.hm-compare__head { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; text-align: center; }
.hm-compare__head h2 { font-size: clamp(26px, 6vw, 38px); line-height: 1.08; }
.hm-compare__wrap { width: 100%; max-width: 1080px; margin: 0 auto; overflow-x: auto; border-radius: 16px; box-shadow: 0 0 0 1px rgba(21, 26, 44, .08), 0 20px 40px -20px rgba(21, 26, 44, .3); }
.hm-table { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; font-size: 16px; }
.hm-table th, .hm-table td { padding: 14px 16px; border-bottom: 1px solid #eceef3; text-align: left; vertical-align: top; line-height: 1.4; }
.hm-table thead th { background: #f4f5f8; color: var(--ink2); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hm-table tbody th { width: 22%; color: var(--ink); font-weight: 800; }
.hm-table td { color: var(--ink2); }
.hm .hm-table .hm-table__us { background: #f3f1ff; color: var(--ink); font-weight: 700; }
.hm .hm-table thead .hm-table__us { background: var(--indigo); color: #fff; }
.hm-table tbody tr:last-child > * { border-bottom: 0; }
.hm-compare__cap { max-width: 1080px; width: 100%; margin: 0 auto; }

/* ---------------------------------------------------------------- sample reviews (same design as the other road pages) */
.hm-reviews { position: relative; z-index: 3; display: grid; gap: 26px; padding: 48px 16px 56px; background: linear-gradient(180deg, #efeee9 0%, #f9f8f5 100%); }
.hm-reviews__head { display: grid; justify-items: center; gap: 10px; max-width: 760px; margin: 0 auto; text-align: center; }
.hm-reviews__label { padding: 4px 12px; border-radius: 999px; background: rgba(20, 27, 43, .06); color: var(--muted); font-size: 13px; font-weight: 600; }
.hm-reviews__grid { display: grid; gap: 18px; width: 100%; max-width: 1280px; margin: 0 auto; }
.hm-review { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); box-shadow: 0 16px 34px rgba(20, 27, 43, .1), 0 2px 6px rgba(20, 27, 43, .05), 0 0 0 1px rgba(20, 27, 43, .06); }
.hm-review::before { content: ""; position: absolute; inset: 0 22px auto; height: 3px; border-radius: 0 0 3px 3px; background: var(--av); opacity: .85; }
.hm-review::after { content: "\201C"; position: absolute; top: 6px; right: 18px; color: color-mix(in srgb, var(--av) 16%, transparent); font: 700 84px/1 Georgia, serif; pointer-events: none; }
.hm-review blockquote { flex: 1 1 auto; }
.hm-review blockquote p { color: var(--ink); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.hm-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(20, 27, 43, .08); }
.hm-review__av { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: var(--av); color: #fff; font: 700 15px/1 "Space Grotesk", sans-serif; }
.hm-review figcaption b { display: block; color: var(--ink); font-size: 16px; }
.hm-review figcaption small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }

/* ---------------------------------------------------------------- FAQ */
.hm-close { position: relative; z-index: 3; padding: 44px 16px 52px; background: linear-gradient(180deg, #151a33 0%, #0f1326 100%); color: #fff; scroll-margin-top: 125px; }
.hm-faq { display: grid; gap: 10px; max-width: 980px; margin: 0 auto; }
.hm-faq h2 { margin-bottom: 6px; color: #fff; font-size: clamp(24px, 5.4vw, 30px); }
.hm-faq details { border: 1px solid rgba(179, 169, 255, .18); border-radius: 10px; background: rgba(255, 255, 255, .04); }
.hm-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; color: #fff; font-size: 16px; font-weight: 700; list-style: none; cursor: pointer; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq .hm-plus { flex: 0 0 auto; width: 18px; height: 18px; color: var(--indigo-soft); transition: transform .25s ease; }
.hm-faq details[open] .hm-plus { transform: rotate(45deg); }
.hm-faq details p { padding: 0 16px 15px; color: #d3d8ea; font-size: 16px; line-height: 1.55; }

/* ---------------------------------------------------------------- get started */
.hm-get { position: relative; z-index: 3; display: grid; padding: 52px 16px 56px; background: #f9f8f5; }
.hm-plan-cta { display: grid; gap: 20px; width: 100%; max-width: 980px; margin: 0 auto; padding: 24px; border-radius: 18px; background: linear-gradient(160deg, #3a2bd1 0%, #2a1fa3 60%, #1a1466 100%); box-shadow: 0 24px 48px -16px rgba(26, 20, 102, .5); color: #eef0fa; }
.hm .hm-plan-cta h2 { color: #fff; font-size: clamp(24px, 5.4vw, 32px); line-height: 1.12; }
.hm-plan-cta__copy { display: grid; gap: 14px; }
.hm-plan-cta__list { display: grid; gap: 10px; }
.hm-plan-cta__list li { display: flex; align-items: flex-start; gap: 10px; color: #dcd9ff; font-size: 15.5px; line-height: 1.45; }
.hm-plan-cta__list b { color: #fff; }
.hm-plan-cta__list .hm-ok { width: 20px; height: 20px; margin-top: 2px; color: var(--hi); }
.hm-plan-cta .hm-btn { background: var(--hi); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); color: #1d2033; }
.hm-plan-cta .hm-btn:hover { color: #1d2033; }
.hm-plan-cta .hm-btn--ghost { border-color: rgba(255, 255, 255, .45); background: transparent; box-shadow: none; color: #fff; }
.hm-plan-cta .hm-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------------------------------------------------------------- motion */
.hm-motion .hm-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.22, .8, .24, 1), transform .6s cubic-bezier(.22, .8, .24, 1); }
.hm-motion .hm-reveal.is-in { opacity: 1; transform: none; }
.hm-motion .hm-pin { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), filter .4s ease; }
.hm-motion .hm-step:not(.is-in) .hm-pin { transform: translateY(-28px) scale(.8); filter: grayscale(1) opacity(.55); }

/* ---------------------------------------------------------------- container layouts for the widgets */
@container (min-width: 560px) {
  .hm-lead { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 18px; }
  .hm-lead__arrow { transform: none; }
}

/* ---------------------------------------------------------------- tablets */
@media (min-width: 640px) {
  .hm-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 14px; }
  .hm-note { min-height: 86px; padding: 12px; }
  .hm-note b { font-size: 24px; }
}
@media (min-width: 700px) {
  .hm-hero { padding-top: 40px; }
  .hm-finish { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 28px; }
  .hm-hand--out { grid-column: 1 / -1; }
  .hm-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: clamp(24px, 5vw, 64px); }
  .hm-addons__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-plan-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 30px; }
  .hm-plan-cta .hm-actions { flex-direction: column; }
  .hm-close { padding: 52px clamp(24px, 5vw, 64px) 60px; }
}
@media (min-width: 1000px) {
  .hm-support { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; column-gap: 48px; padding: 64px clamp(40px, 5vw, 96px); }
}
@media (min-width: 1100px) {
  .hm-reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  /* Copy LEFT, the whiteboard RIGHT running to the right edge of the screen. */
  .hm-hero { padding: 34px 0 56px; }
  .hm-hero__in { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); column-gap: clamp(28px, 3vw, 56px); align-items: center; width: auto; margin: 0 0 0 clamp(28px, 4vw, 96px); }
  .hm h1 { font-size: clamp(34px, 2.9vw, 52px); }
  .hm-hero__sub { max-width: 600px; font-size: clamp(16px, 1.05vw, 18.5px); }
  .hm-board__frame { padding: 14px 0 14px 14px; border-radius: 16px 0 0 16px; }
  .hm-board__face { min-height: 500px; padding: 60px clamp(24px, 3vw, 56px) 30px; border-radius: 6px 0 0 6px; }
  .hm-board__cap { padding-left: 4px; }
  .hm-hubwin { width: min(100%, 480px); padding: 20px; gap: 14px; }
  .hm-hubwin__top b { font-size: 21px; }
  .hm-hubwin__list li { padding: 10px 11px; font-size: 15px; }
  .hm-hubwin__foot { font-size: 15px; }
}

/* ---------------------------------------------------------------- desktop rows */
@media (min-width: 1280px) {
  .hm-platform { padding: 64px 16px 48px; }
  .hm-course { --edge: 92px; max-width: 1680px; margin: 0 auto; padding: 36px var(--edge) 0; }
  .hm .hm-road { position: absolute; left: 0; top: 0; z-index: 1; display: block; pointer-events: none; }
  .hm-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .hm-road__edge { stroke: var(--road-edge); stroke-width: 36; filter: drop-shadow(0 2px 3px rgba(20, 27, 43, .25)); }
  .hm-road__top { stroke: var(--asphalt); stroke-width: 30; }
  .hm-road__line { stroke: #fff; stroke-width: 2; stroke-dasharray: 12 10; stroke-linecap: butt !important; }
  .hm .hm-drive { position: absolute; z-index: 4; left: 0; top: 0; display: block; width: 140px; visibility: hidden; filter: drop-shadow(0 7px 5px rgba(20, 27, 43, .28)); pointer-events: none; will-change: transform; }
  .hm .hm-drive.is-placed { visibility: visible; }
  .hm-drive img { width: 100%; height: auto; }
  .hm-drive__right, .hm-drive.is-right .hm-drive__left { display: none !important; }
  .hm-drive.is-right .hm-drive__right { display: block !important; }

  .hm-step {
    z-index: 2;
    grid-template-columns: minmax(330px, .8fr) minmax(0, 1.2fr);
    grid-template-areas: "intro visual";
    align-items: center;
    column-gap: clamp(28px, 3vw, 56px);
    max-width: none;
    margin: 0;
    padding: 58px 36px 58px 104px;
  }
  .hm-intro { grid-area: intro; padding-top: 14px; }
  .hm-visual { grid-area: visual; justify-items: start; }
  .hm-step::before, .hm-step::after, .hm-finish::before, .hm-finish::after { content: none; }
  .hm-pin { left: 17px; top: 28px; width: 80px; height: 100px; }
  .hm-pin b { top: 12px; font-size: 42px; }
  .hm h2 { font-size: clamp(27px, 1.95vw, 34px); line-height: 1.06; }
  .hm-platform h2 { font-size: clamp(34px, 2.8vw, 46px); }

  .hm-finish {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: clamp(24px, 3vw, 48px);
    max-width: none;
    margin: 10px 0 0 104px;
    padding: 30px 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 36px rgba(20, 27, 43, .1), 0 0 0 1px rgba(20, 27, 43, .05);
  }
  .hm-finish__copy h2 { font-size: clamp(24px, 1.7vw, 30px); }
  .hm-hand--out { grid-column: auto; font-size: 34px; }
  .hm-course::after { content: ""; display: block; height: 96px; }

  .hm-reviews, .hm-compare { gap: 30px; padding: 64px clamp(40px, 5vw, 96px) 72px; }
  .hm-offers { padding: 8px clamp(40px, 5vw, 96px) 64px; }
  .hm-addons { padding: 56px clamp(40px, 5vw, 96px); }
  .hm-get { padding: 64px clamp(40px, 5vw, 96px) 72px; }
  .hm-close { padding: 60px clamp(40px, 5vw, 96px) 68px; }
}

@media (min-width: 1280px) and (max-width: 1799px) {
  /* With the side panel open the course is ~1150px wide: visuals get the full row under a two-column intro. */
  .hm-step { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "visual"; row-gap: 26px; }
  .hm-step .hm-intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 40px; align-items: start; }
  .hm-step .hm-intro > :is(.hm-kicker, h2, .hm-sub) { grid-column: 1; }
  .hm-step .hm-intro > .hm-aside { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .hm-finish { grid-template-columns: minmax(0, 1fr) auto; }
  .hm-hand--out { grid-column: 1 / -1; justify-self: end; }
}

/* Sticky header (74px) and, at 1180px and below, the 51px rail toggle: anchors land below them. */
.hm-step { scroll-margin-top: 96px; }
@media (min-width: 1181px) { .hm-platform, .hm-compare, .hm-close { scroll-margin-top: 90px; } }
@media (max-width: 1180px) { .hm-platform, .hm-compare, .hm-close, .hm-step { scroll-margin-top: 140px; } }
@media (max-width: 1099px) {
  .hm-scribble--1 { top: -34px; }
}
@media (max-width: 520px) {
  .hm-board__face { padding: 50px 10px 26px; }
  .hm-notes { gap: 10px 8px; }
  .hm-note { min-height: 66px; padding: 8px; }
  .hm-note b { font-size: 18px; }
  .hm-note small { font-size: 14px; }
  .hm-hubwin__list li { font-size: 12.5px; padding: 7px; }
  .hm-flow { padding: 14px; }
  .hm-flow__col { padding: 7px; }
  .hm-flow__card small { font-size: 11px; }
  .hm-rank__big b { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-btn, .hm-faq .hm-plus, .hm-dark, .hm-card, .hm [data-s], .hm-note, .hm-hubwin, .hm-scribble, .hm-board__tag span, .hm-links a, .hm-addons__list a, .hm-ad__cta { transition: none !important; }
  .hm-pin, .hm-note, .hm-scribble { animation: none !important; }
  .hm-motion .hm-reveal, .hm-motion .hm-pin { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hm-motion .hm-pin { filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)) !important; }
}
