/* ==========================================================================
   vivce#1085 / #1121 — Launch homepage (templates/home-launch.php)
   Enqueued only on that template by lib/home-launch.php.

   Visual language = the rest of the site (critical-child.css, vivgb-grid-1.css):
     navy       #10566A  header / section titles / stat numbers
     navy deep  #0B3F4E  hero + band gradient end
     teal AA    #0D7377  button fills, links      (white text 5.62:1)
     teal deep  #0A5C5F  hover                    (white text 7.75:1)
     accent     #03AFB1  swoosh, icons, rules     (decorative only — never text)
     accent txt #7FE9EA  accent text on navy      (5.76:1 flat, 4.26:1 worst hero)
     pale       #C9EEEE  small text on navy       (4.90:1 worst hero)
     wash       #E6F4F4  chips, note              (teal text 4.98:1)
     ground     #F2F5F5  page                     (slate text 5.56:1)
   Photos: img/cme-banner.jpg (hero, same as the old hero), img/find-cme-bg.jpg
   (band), img/blue-shape.png (the swoosh), img/home/clinician.webp (band).
   Fonts: Montserrat (display) + Inter (body) — already loaded by the theme.
   ========================================================================== */

.hl {
  --hl-navy: var(--color-navy, #10566A);
  --hl-navy-deep: var(--color-navy-deep, #0B3F4E);
  --hl-teal: var(--color-teal, #0D7377);
  --hl-teal-deep: var(--color-teal-deep, #0A5C5F);
  --hl-accent: var(--color-accent, #03AFB1);
  --hl-accent-text: var(--color-accent-text, #7FE9EA);
  --hl-pale: var(--color-pale, #C9EEEE);
  --hl-wash: var(--color-wash, #E6F4F4);
  --hl-wash-line: var(--color-wash-line, #C9E6E4);
  --hl-ink: var(--color-black-10, #18191C);
  --hl-ink-2: var(--color-black-20, #2F3137);
  --hl-slate: var(--color-grey-40, #5E626E);
  --hl-line: var(--color-grey-90, #E3E4E7);
  --hl-ground: var(--color-bg, #F2F5F5);
  --hl-white: var(--color-white, #ffffff);
  --hl-display: "Montserrat", "Inter", sans-serif;
  --hl-text: "Inter", "Montserrat", sans-serif;
  --hl-wrap: 1224px;
  --hl-pad: clamp(16px, 4vw, 50px);
  --hl-radius: 12px;
  --hl-shadow: 0 0 54px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(16, 86, 106, 0.06);
  --hl-shadow-lift: 0 22px 44px -20px rgba(16, 86, 106, 0.38), 0 0 54px rgba(0, 0, 0, 0.07);
  --hl-overlap: 72px;

  font-family: var(--hl-text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--hl-ink);
  background: var(--hl-ground);
  overflow-x: clip;
}

/* critical-child.css sets `*` to Montserrat; a class selector wins. */
.hl *,
.hl *::before,
.hl *::after {
  font-family: inherit;
  box-sizing: border-box;
}

.hl h1,
.hl h2,
.hl h3,
.hl .hl-stat__n {
  font-family: var(--hl-display);
  color: var(--hl-ink);
  margin: 0;
  text-wrap: balance;
}

.hl p {
  margin: 0;
}

.hl a {
  color: inherit;
}

.hl a:focus-visible,
.hl button:focus-visible {
  outline: 3px solid var(--hl-teal);
  outline-offset: 3px;
}

.hl-wrap {
  width: 100%;
  max-width: calc(var(--hl-wrap) + var(--hl-pad) * 2);
  margin: 0 auto;
  padding: 0 var(--hl-pad);
}

.hl-section {
  padding: clamp(56px, 8vw, 100px) 0;
}

/* The swoosh: the site's own accent (img/blue-shape.png, as on the old hero
   and the library title). Inline-block so the stroke sits under the words. */
.hl .hl-swoosh {
  display: inline-block;
  font-weight: inherit;
  color: inherit;
  padding-bottom: 0.18em;
  background: url(../img/blue-shape.png) no-repeat left bottom;
  background-size: contain;
}

.hl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--hl-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-teal);
  margin-bottom: 18px;
}

.hl-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--hl-accent);
}

.hl-lede {
  color: var(--hl-slate);
  max-width: 34em;
}

/* --- Buttons ---------------------------------------------------------
   Selectors carry the `.hl` prefix so they beat `.hl a { color: inherit }`.
   The page does not use the theme's `.button` (critical-child paints it
   #03afb1, which fails AA with white text). */

.hl .hl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 4px;
  border: 1px solid var(--hl-teal);
  background: var(--hl-teal);
  color: var(--hl-white);
  font-family: var(--hl-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.hl .hl-btn:hover {
  background: var(--hl-teal-deep);
  border-color: var(--hl-teal-deep);
  color: var(--hl-white);
}

.hl-btn svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* On navy grounds the button is white with navy text (8.20:1). */
.hl .hl-btn--inverse {
  background: var(--hl-white);
  border-color: var(--hl-white);
  color: var(--hl-navy);
}

.hl .hl-btn--inverse:hover {
  background: var(--hl-wash);
  border-color: var(--hl-wash);
  color: var(--hl-navy-deep);
}

/* The site's small uppercase pill ("BROWSE ALL SPECIALTIES"), AA-safe fill. */
.hl .hl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 11px;
  border-radius: 4px;
  border: 1px solid var(--hl-teal);
  background: var(--hl-teal);
  color: var(--hl-white);
  font-family: var(--hl-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.hl .hl-pill:hover {
  background: var(--hl-teal-deep);
  border-color: var(--hl-teal-deep);
  color: var(--hl-white);
}

.hl .hl-pill--light {
  background: var(--hl-white);
  border-color: var(--hl-white);
  color: var(--hl-navy);
}

.hl .hl-pill--light:hover {
  background: var(--hl-wash);
  border-color: var(--hl-wash);
  color: var(--hl-navy-deep);
}

.hl .hl-link {
  color: var(--hl-teal);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.hl .hl-link:hover {
  color: var(--hl-teal-deep);
  text-decoration-thickness: 2px;
}

/* vivce#1561 — welcome bar, signed-in members only: the first row inside the hero,
   a translucent strip over the hero photo, right under the (absolute) theme header. */
.hl-member-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 36px;
  padding: 8px 8px 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--hl-radius);
  background: rgba(255, 255, 255, 0.07);
}

.hl-member-bar__link svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hl-member-bar__welcome {
  font-family: var(--hl-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--hl-white);
}

.hl .hl-member-bar__link {
  padding: 10px 14px 9px;
}

.hl-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}

.hl-cta__quiet {
  font-size: 16px;
  color: var(--hl-slate);
}

.hl-cta__fine {
  width: 100%;
  font-size: 14px;
  color: var(--hl-slate);
}

/* --- Hero: the site's photo + navy gradient, header sits on top ------ */

.hl-hero {
  position: relative;
  isolation: isolate;
  color: var(--hl-white);
  background: var(--hl-navy-deep) url(../img/cme-banner.jpg) no-repeat center;
  background-size: cover;
  padding: 44px 0 calc(var(--hl-overlap) + 48px);
}

.hl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(108deg, rgba(11, 63, 78, 0.95) 0%, rgba(16, 86, 106, 0.86) 52%, rgba(11, 63, 78, 0.93) 100%);
}

.hl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.hl-hero__grid > * {
  min-width: 0;
}

.hl-hero .hl-eyebrow {
  color: var(--hl-pale);
}

.hl-hero h1 {
  color: var(--hl-white);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-wrap: pretty; /* not balance: it strands "providers" on its own line */
}

.hl-hero h1 .hl-n {
  color: var(--hl-accent-text);
  font-variant-numeric: tabular-nums;
}

.hl-hero .hl-lede {
  margin-top: 22px;
  font-size: 19px;
  color: var(--hl-wash);
}

.hl-hero .hl-cta__quiet,
.hl-hero .hl-cta__fine {
  color: var(--hl-pale);
}

.hl .hl-hero .hl-link {
  color: var(--hl-white);
}

.hl-hero a:focus-visible {
  outline-color: var(--hl-accent-text);
}

/* --- Search preview: a slice of the real library, non-interactive ---- */

.hl-preview {
  position: relative;
  margin: 0;
  max-width: 100%;
  background: var(--hl-white);
  border-radius: 16px;
  box-shadow: 0 34px 70px -24px rgba(3, 26, 34, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  color: var(--hl-ink);
  font-size: 15px;
}

/* #1348: browser chrome — three window dots and a URL pill, same idea as
   .vl-panel__bar on /for-employers/, so the still reads as "the product". */
.hl-preview__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px 12px 18px;
  background: var(--hl-ground);
  border-bottom: 1px solid var(--hl-line);
}

.hl-preview__bar i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C8CAD0;
}

.hl-preview__url {
  flex: 1 1 0;
  min-width: 0;
  margin-left: 8px;
  padding: 7px 12px;
  border-radius: 250px;
  background: var(--hl-white);
  border: 1px solid var(--hl-line);
  font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--hl-slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hl-preview__bar .hl-preview__tag {
  flex: none;
  margin: 0 0 0 8px;
}

.hl-preview__head {
  padding: 18px 20px 16px;
}

.hl-preview__tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 250px;
  background: var(--hl-navy);
  color: var(--hl-white);
  font-family: var(--hl-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hl-preview__search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 5px 5px 5px 16px;
  border: 1px solid var(--hl-line);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: var(--hl-ink);
  font-size: 16px;
}

.hl-preview__search svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--hl-teal);
  stroke-width: 2;
  stroke-linecap: round;
}

.hl-preview__search .hl-preview__q {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hl-preview__search .hl-preview__go {
  flex: none;
  padding: 11px 16px;
  border-radius: 6px;
  background: var(--hl-teal);
  color: var(--hl-white);
  font-family: var(--hl-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}

.hl-preview__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px 12px;
  border-radius: 250px;
  background: var(--hl-wash);
  color: var(--hl-teal);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hl-chip b {
  font-weight: 600;
  color: var(--hl-teal-deep);
}

.hl-preview__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  border-top: 1px solid var(--hl-line);
  border-bottom: 1px solid var(--hl-line);
  background: var(--hl-ground);
  font-size: 13px;
  color: var(--hl-slate);
}

.hl-preview__meta b {
  color: var(--hl-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hl-preview__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* One row = one library card, condensed: provider, title, properties. */
.hl-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--hl-line);
}

.hl-row:first-child {
  border-top: 0;
}

.hl-row__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hl-row__provider {
  font-size: 13px;
  color: var(--hl-slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hl-row__title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  color: var(--hl-ink);
  overflow: hidden;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hl-row__props {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 2px;
  font-size: 13px;
  color: var(--hl-slate);
}

.hl-row__props b {
  color: var(--hl-ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.hl-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 250px;
  background: var(--hl-wash);
  color: var(--hl-teal-deep);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.hl-row__bm {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 18px;
}

.hl-row__bm svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--hl-accent);
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.hl-preview__lock {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 16px 20px;
  background: var(--hl-navy);
  color: var(--hl-white);
  font-size: 15px;
  line-height: 1.4;
}

.hl-preview__lock svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--hl-accent-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hl-preview__lock-text {
  flex: 1 1 200px;
  min-width: 0;
}

/* #1346: signed-in members get the same strip with the lock open. */
.hl-preview__lock--open {
  background: var(--hl-teal-deep);
}

/* --- Proof: one white plate over the hero seam, like the library's ---- */

.hl-proof {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--hl-overlap) * -1);
  padding: 0;
}

.hl-stats-card {
  background: var(--hl-white);
  border-radius: 16px;
  box-shadow: var(--hl-shadow);
  overflow: hidden;
}

.hl-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hl-stat {
  padding: 26px 22px;
  border-left: 1px solid var(--hl-line);
}

.hl-stat:nth-child(odd) {
  border-left: 0;
}

.hl-stat:nth-child(n + 3) {
  border-top: 1px solid var(--hl-line);
}

.hl-stat__n {
  display: block;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--hl-navy);
  font-variant-numeric: tabular-nums;
}

.hl-stat__l {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--hl-slate);
}

.hl-note {
  display: block;
  padding: 16px 22px 16px 26px;
  background: var(--hl-wash);
  border-top: 1px solid var(--hl-wash-line);
  box-shadow: inset 4px 0 0 var(--hl-accent);
  font-size: 15px;
  line-height: 1.5;
  color: var(--hl-ink-2);
}

.hl-note b {
  font-weight: 600;
  color: var(--hl-teal-deep);
}

/* --- Section headers: navy Montserrat title + one-line lede ---------- */

.hl-section h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--hl-navy);
}

.hl-section__intro {
  max-width: 44em;
  margin-top: 12px;
  font-size: 18px;
  color: var(--hl-ink-2);
}

/* --- How it works: the site's white cards, numbered because it is a sequence */

.hl-steps {
  list-style: none;
  counter-reset: hl-step;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.hl-step {
  counter-increment: hl-step;
  position: relative;
  padding: 32px 28px 30px;
  background: var(--hl-white);
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
}

.hl-step::before {
  content: counter(hl-step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--hl-teal);
  color: var(--hl-white);
  font-family: var(--hl-display);
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 0 6px var(--hl-wash);
}

.hl-step h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hl-navy);
}

.hl-step p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--hl-slate);
}

/* --- Filters --------------------------------------------------------- */

.hl-filters {
  background: var(--hl-white);
}

.hl-filters__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px 48px;
  margin-top: clamp(28px, 4vw, 40px);
}

.hl-filters__grid > * {
  min-width: 0;
}

.hl-filters h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-slate);
  margin-bottom: 14px;
}

.hl-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hl-filters__more {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hl-line);
  font-size: 15px;
  color: var(--hl-slate);
}

/* --- Closing band: navy photo band with the clinician, then the CTA -- */

.hl-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--hl-white);
  background: var(--hl-navy) url(../img/find-cme-bg.jpg) no-repeat center;
  background-size: cover;
}

.hl-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(11, 63, 78, 0.9) 0%, rgba(16, 86, 106, 0.72) 60%, rgba(11, 63, 78, 0.55) 100%);
}

.hl-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.hl-band__copy {
  padding: clamp(56px, 7vw, 96px) 0 8px;
}

.hl-band h2 {
  color: var(--hl-white);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hl-band .hl-lede {
  color: var(--hl-wash);
  margin-top: 16px;
  font-size: 19px;
}

.hl-band .hl-cta__quiet,
.hl-band .hl-cta__fine {
  color: var(--hl-pale);
}

.hl .hl-band .hl-link {
  color: var(--hl-white);
}

.hl-band a:focus-visible {
  outline-color: var(--hl-accent-text);
}

.hl-band__photo {
  margin: 0;
  justify-self: center;
  align-self: end;
  line-height: 0;
}

.hl-band__photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 300px;
  filter: drop-shadow(0 18px 30px rgba(3, 26, 34, 0.45));
}

/* --- Other audiences ------------------------------------------------- */

.hl-others {
  padding: 28px 0;
  text-align: center;
  font-size: 15px;
  color: var(--hl-slate);
}

/* --- Motion: only when the visitor allows it ------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .hl-btn,
  .hl-pill,
  .hl-link {
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  }

  .hl .hl-btn:hover,
  .hl .hl-pill:hover {
    transform: translateY(-1px);
  }

  .hl-step {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .hl-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--hl-shadow-lift);
  }

  .hl-hero__copy > *,
  .hl-preview,
  .hl-stats-card {
    animation: hl-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hl-hero__copy > :nth-child(2) { animation-delay: 0.06s; }
  .hl-hero__copy > :nth-child(3) { animation-delay: 0.12s; }
  .hl-hero__copy > :nth-child(4) { animation-delay: 0.18s; }
  .hl-preview { animation-delay: 0.22s; animation-duration: 0.7s; }
  .hl-stats-card { animation-delay: 0.32s; }

  @keyframes hl-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* --- Layout breakpoints ---------------------------------------------- */

@media (min-width: 640px) {
  .hl-filters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The theme's header is absolute over the page from 769px up; the hero
   carries enough top padding to sit underneath it (top bar 40px + main
   header ≈ 85px) with the same breathing room the old hero had. */
@media (min-width: 769px) {
  .hl-hero {
    padding-top: clamp(168px, 14vw, 200px);
  }

  /* The welcome bar takes over part of that breathing room (#1561). */
  .hl-hero--member {
    padding-top: calc(clamp(168px, 14vw, 200px) - 36px);
  }
}

@media (min-width: 900px) {
  .hl-hero {
    padding-bottom: calc(var(--hl-overlap) + 72px);
  }

  .hl-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hl-stat {
    padding: 32px 28px;
    border-left: 1px solid var(--hl-line);
  }

  .hl-stat:first-child {
    border-left: 0;
  }

  .hl-stat:nth-child(n + 3) {
    border-top: 0;
  }

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

  /* connector between the numbered circles */
  .hl-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 56px;
    right: -28px;
    width: 28px;
    height: 2px;
    background: var(--hl-accent);
  }

  .hl-band__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
  }

  .hl-band__copy {
    padding: clamp(64px, 7vw, 104px) 0;
  }

  .hl-band__photo {
    justify-self: end;
    margin-top: -32px;
  }

  .hl-band__photo img {
    max-height: 440px;
  }
}

@media (min-width: 992px) {
  .hl-hero__grid {
    grid-template-columns: minmax(0, 13fr) minmax(0, 11fr);
    gap: 64px;
  }
}

@media (max-width: 480px) {
  .hl-row {
    padding: 14px 16px;
  }

  .hl-row__bm {
    display: none;
  }

  .hl-preview__head,
  .hl-preview__meta,
  .hl-preview__lock {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hl-preview__bar {
    padding: 10px 12px 10px 14px;
  }

  .hl .hl-btn {
    width: 100%;
    padding: 0 18px;
  }

  .hl-stat {
    padding: 20px 16px;
  }

  .hl-step {
    padding: 26px 20px 24px;
  }
}
