.object-home #help {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-block: clamp(30px, 5vw, 62px);
  background: #f0eff1;
  color: #37363e;
}

.home-help-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 290px);
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.object-home #help .home-help-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  color: inherit;
}

.home-help-intro p {
  max-width: 65ch;
  margin: 0;
  color: #575360;
}

.home-help-illustration {
  display: block;
  width: 100%;
  height: auto;
  filter: contrast(1.18);
  mix-blend-mode: multiply;
}

.home-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d7d3dc;
}

.home-help-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px clamp(14px, 2vw, 30px) 14px 0;
}

.home-help-card--development {
  padding: 24px 0 14px clamp(14px, 2vw, 30px);
  border-inline-start: 1px solid #d7d3dc;
}

.home-help-card .home-help-type {
  margin: 0 0 12px;
  font-size: 14px;
  color: #514d59;
}

.home-help-content {
  display: grid;
  grid-template-columns: minmax(105px, 40%) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 22px);
  align-items: start;
  margin-bottom: 18px;
}

.home-help-cover {
  display: block;
  width: 100%;
  max-height: 290px;
  object-fit: contain;
  object-position: top left;
  border-radius: 8px;
}

.object-home #help .home-help-card h3 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.15vw, 30px);
  line-height: 1.18;
  color: inherit;
}

.home-help-card p {
  margin: 0 0 12px;
  color: #57545e;
}

.home-help-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 430px);
  margin-top: auto;
}

.home-help-actions :is(button, a) {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #b7b4ba;
  border-radius: 8px;
  background: #fafafa;
  color: #45424b;
  text-align: center;
  text-decoration: none;
  font: 500 14px/1.3 "Segoe UI", Arial, sans-serif;
}

.home-help-actions :is(button, a):hover {
  background: #e9e7eb;
}

.home-help-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid #d7d3dc;
  border-radius: 16px;
  background: #faf9fb;
  color: #37363e;
  overflow: hidden;
}

.home-help-dialog::backdrop { background: rgb(37 35 44 / 58%); }

.home-help-dialog form {
  display: flex;
  justify-content: flex-end;
  padding: 12px 18px 0;
  margin: 0;
}

.home-help-dialog form button {
  padding: 8px 12px;
  border: 1px solid #b7b4ba;
  border-radius: 8px;
  background: #fff;
  color: #37363e;
}

.home-help-dialog-body {
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  padding: 12px clamp(16px, 4vw, 34px) 28px;
  text-align: left;
}

.home-help-dialog-body h3 { margin: 0 0 16px; }
.home-help-dialog-body h4 { margin: 18px 0 4px; }
.home-help-dialog-body p { margin: 0 0 12px; }
.home-help-dialog-body img { display: block; width: 100%; height: auto; }

.home-help-document-dialog {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scroll-padding-top: 62px;
}

.home-help-document-dialog form {
  position: sticky;
  top: 0;
  z-index: 1;
  gap: 10px;
  padding-bottom: 10px;
  background: #faf9fb;
}

.home-help-document-dialog .home-help-dialog-body {
  max-height: none;
  overflow: visible;
}

.home-help-document {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-help-document li {
  min-width: 0;
  border: 1px solid #d7d3dc;
  background: #fff;
}

.home-help-source {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #d7d3dc;
}

@media (max-width: 720px) {
  .home-help-intro { grid-template-columns: 1fr; gap: 12px; }
  .home-help-illustration { width: min(58%, 180px); }
  .home-help-grid { grid-template-columns: 1fr; }
  .home-help-card { padding: 18px 0; }
  .home-help-card--development { border-inline-start: 0; border-top: 1px solid #d7d3dc; }
}

@media (max-width: 480px) {
  .home-help-content, .home-help-actions { grid-template-columns: 1fr; }
  .home-help-cover { width: min(100%, 245px); }
}
