/* Follow Home without inheriting its catalog behavior. Important declarations
   bridge legacy important rules; every selector stays on this editorial page. */
html body.page-body.how-page .dashboard-main.page-main {
  display: block;
  width: min(1360px, calc(100% - 64px)) !important;
  max-width: none !important;
  min-height: 0;
  margin: 0 auto !important;
  padding: 28px 0 56px !important;
  overflow: visible;
}
html body.how-page .page-main > section + section { margin-top: 36px; }
html body.page-body.how-page:not(.products-page) .page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) !important;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  width: 100%;
  min-height: 0 !important;
  padding: 16px 0 20px !important;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
html body.how-page .page-intro::before,
html body.how-page .page-intro::after { display: none !important; }
html body.page-body.how-page:not(.products-page) .page-intro > div {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 100% !important;
  padding: 0 !important;
}
html body.page-body.how-page:not(.products-page) .page-intro .hero-kicker {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
html body.page-body.how-page:not(.products-page) .page-intro h1 {
  max-width: 100% !important;
  margin: 14px 0 0;
  font-size: 56px !important;
  font-weight: 900;
  line-height: 1.04 !important;
  letter-spacing: -1.7px;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
}
html body.page-body.how-page:not(.products-page) .page-intro p {
  max-width: 680px !important;
  margin: 18px 0 0;
  font-size: 17px !important;
  line-height: 1.5 !important;
}
html body.page-body.how-page:not(.products-page) .page-intro img {
  display: block !important;
  position: static !important;
  inset: auto !important;
  justify-self: center;
  width: 320px !important;
  height: 360px !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain;
  object-position: center;
  opacity: 1 !important;
  filter: none;
  transform: none;
  pointer-events: none;
}
html body.how-page .how-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
html body.how-page .how-intro-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--gp-accent);
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
html body.how-page :is(.feature-grid, .feature-card, .flow-explain, .flow-steps, .flow-steps > article) { min-width: 0; }
html body.how-page :is(.feature-grid, .feature-card, .flow-explain) { content-visibility: visible; contain: none; contain-intrinsic-size: none; }
html body.how-page .feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}
html body.how-page .feature-card,
html body.how-page .flow-steps > article {
  min-height: 0;
  border: 1px solid var(--gp-line) !important;
  border-radius: 15px;
  background: var(--gp-surface) !important;
  box-shadow: none !important;
  color: var(--gp-heading);
  overflow: visible;
}
html body.how-page .feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 12px;
  padding: 22px;
}
html body.how-page .feature-card::before,
html body.how-page .flow-steps > article::before { display: none; }
html body.how-page .feature-card > span {
  grid-row: auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 0 4px;
  border-radius: 12px;
  font-weight: 800;
}
html body.how-page .feature-card h2 { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -.3px; }
html body.how-page .feature-card p { margin: 0; font-size: 14px; line-height: 1.6; }
html body.how-page .flow-explain {
  display: grid;
  gap: 22px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  transform: none;
  overflow: visible;
}
html body.how-page .flow-explain .panel-heading { align-items: flex-start; margin: 0; }
html body.how-page .flow-explain .panel-heading h2 { font-size: 27px; line-height: 1.25; letter-spacing: -.7px; }
html body.how-page .flow-explain .panel-subtitle { max-width: 740px; margin-top: 8px; font-size: 14px; line-height: 1.6; }
html body.how-page .flow-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
html body.how-page .flow-steps > article { padding: 20px; }
html body.how-page .flow-steps > article > strong { display: block; min-height: 2.8em; font-size: 14px; line-height: 1.4; }
html body.how-page .flow-steps > article > span { display: block; margin-top: 10px; color: var(--gp-muted); font-size: 14px; line-height: 1.6; }
html body.how-page :is(.feature-card h2, .feature-card p, .flow-steps > article > strong, .flow-steps > article > span) { overflow-wrap: break-word; }
@media (max-width: 1099px) {
  html body.page-body.how-page:not(.products-page) .page-intro { grid-template-columns: minmax(0, 1fr) minmax(190px, 250px) !important; gap: 24px; }
  html body.page-body.how-page:not(.products-page) .page-intro h1 { font-size: 46px !important; letter-spacing: -1.3px; }
  html body.page-body.how-page:not(.products-page) .page-intro img { width: 250px !important; height: 290px !important; }
  html body.how-page .feature-grid,
  html body.how-page .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.how-page .flow-steps > article:last-child { grid-column: 1 / -1; }
  html body.how-page .flow-steps > article > strong { min-height: 0; }
}
@media (max-width: 760px) {
  html body.page-body.how-page .dashboard-main.page-main { width: calc(100% - 32px) !important; padding: 12px 0 40px !important; }
  html body.how-page .page-main > section + section { margin-top: 32px; }
  html body.page-body.how-page:not(.products-page) .page-intro { grid-template-columns: minmax(0, 1fr) !important; gap: 16px; padding: 8px 0 0 !important; }
  html body.page-body.how-page:not(.products-page) .page-intro h1 { font-size: 32px !important; line-height: 1.08 !important; letter-spacing: -.8px; }
  html body.page-body.how-page:not(.products-page) .page-intro p { max-width: 100% !important; margin-top: 16px; font-size: 16px !important; }
  html body.page-body.how-page:not(.products-page) .page-intro img { justify-self: end; width: 150px !important; height: 180px !important; margin: 0 10px 0 0 !important; }
  html body.how-page .how-intro-actions { gap: 10px; margin-top: 20px; }
  html body.how-page .how-intro-actions a { min-height: 44px; padding: 0 18px; font-size: 13px; }
  html body.how-page .feature-grid,
  html body.how-page .flow-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  html body.how-page .feature-card { grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 14px; padding: 20px 18px; }
  html body.how-page .feature-card > span { grid-row: 1 / 3; margin: 0; }
  html body.how-page .feature-card h2 { font-size: 16px; }
  html body.how-page .feature-card p { font-size: 13px; }
  html body.how-page .flow-explain { gap: 18px; }
  html body.how-page .flow-explain .panel-heading h2 { font-size: 22px; letter-spacing: -.4px; }
  html body.how-page .flow-explain .panel-subtitle { font-size: 13px; }
  html body.how-page .flow-steps > article { padding: 18px; }
  html body.how-page .flow-steps > article:last-child { grid-column: auto; }
  html body.how-page .flow-steps > article > span { margin-top: 7px; font-size: 13px; }
}
